987.da89eddd.async.js 120 KB

1234567891011121314151617181920
  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[987],{57254:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return X}});var b=o(28991),w=o(67294),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Y=L,v=o(30076),E=function(g,Ce){return w.createElement(v.Z,(0,b.Z)((0,b.Z)({},g),{},{ref:Ce,icon:Y}))};E.displayName="DownOutlined";var X=w.forwardRef(E)},76570:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return X}});var b=o(28991),w=o(67294),L={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"},Y=L,v=o(30076),E=function(g,Ce){return w.createElement(v.Z,(0,b.Z)((0,b.Z)({},g),{},{ref:Ce,icon:Y}))};E.displayName="SearchOutlined";var X=w.forwardRef(E)},3482:function(){},47323:function(){},33603:function(gt,Se,o){"use strict";o.d(Se,{mL:function(){return g},q0:function(){return I}});var b=o(93355),w=function(){return{height:0,opacity:0}},L=function(W){var f=W.scrollHeight;return{height:f,opacity:1}},Y=function(W){return{height:W?W.offsetHeight:0}},v=function(W,f){return(f==null?void 0:f.deadline)===!0||f.propertyName==="height"},E={motionName:"ant-motion-collapse",onAppearStart:w,onEnterStart:w,onAppearActive:L,onEnterActive:L,onLeaveStart:Y,onLeaveActive:w,onAppearEnd:v,onEnterEnd:v,onLeaveEnd:v,motionDeadline:500},X=(0,b.b)("bottomLeft","bottomRight","topLeft","topRight"),I=function(W){return W!==void 0&&(W==="topLeft"||W==="topRight")?"slide-down":"slide-up"},g=function(W,f,$e){return $e!==void 0?$e:"".concat(W,"-").concat(f)};Se.ZP=E},9708:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return E},F:function(){return X}});var b=o(96156),w=o(94184),L=o.n(w),Y=o(93355),v=(0,Y.b)("warning","error","");function E(I,g,Ce){var W;return L()((W={},(0,b.Z)(W,"".concat(I,"-status-success"),g==="success"),(0,b.Z)(W,"".concat(I,"-status-warning"),g==="warning"),(0,b.Z)(W,"".concat(I,"-status-error"),g==="error"),(0,b.Z)(W,"".concat(I,"-status-validating"),g==="validating"),(0,b.Z)(W,"".concat(I,"-has-feedback"),Ce),W))}var X=function(g,Ce){return Ce||g}},88258:function(gt,Se,o){"use strict";var b=o(67294),w=o(53124),L=o(14277),Y=function(E){return b.createElement(w.C,null,function(X){var I=X.getPrefixCls,g=I("empty");switch(E){case"Table":case"List":return b.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(g,"-small")});default:return b.createElement(L.Z,null)}})};Se.Z=Y},14277:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return nt}});var b=o(96156),w=o(22122),L=o(94184),Y=o.n(L),v=o(67294),E=o(53124),X=o(42051),I=function(){var Ye=v.useContext(E.E_),pt=Ye.getPrefixCls,we=pt("empty-img-default");return v.createElement("svg",{className:we,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(24 31.67)"},v.createElement("ellipse",{className:"".concat(we,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),v.createElement("path",{className:"".concat(we,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),v.createElement("path",{className:"".concat(we,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),v.createElement("path",{className:"".concat(we,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),v.createElement("path",{className:"".concat(we,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),v.createElement("path",{className:"".concat(we,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),v.createElement("g",{className:"".concat(we,"-g"),transform:"translate(149.65 15.383)"},v.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),v.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},g=I,Ce=function(){var Ye=v.useContext(E.E_),pt=Ye.getPrefixCls,we=pt("empty-img-simple");return v.createElement("svg",{className:we,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},v.createElement("ellipse",{className:"".concat(we,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),v.createElement("g",{className:"".concat(we,"-g"),fillRule:"nonzero"},v.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),v.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(we,"-path")}))))},W=Ce,f=function(je,Ye){var pt={};for(var we in je)Object.prototype.hasOwnProperty.call(je,we)&&Ye.indexOf(we)<0&&(pt[we]=je[we]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,we=Object.getOwnPropertySymbols(je);st<we.length;st++)Ye.indexOf(we[st])<0&&Object.prototype.propertyIsEnumerable.call(je,we[st])&&(pt[we[st]]=je[we[st]]);return pt},$e=v.createElement(g,null),ot=v.createElement(W,null),z=function(Ye){var pt=Ye.className,we=Ye.prefixCls,st=Ye.image,mt=st===void 0?$e:st,Ot=Ye.description,at=Ye.children,yt=Ye.imageStyle,Pt=f(Ye,["className","prefixCls","image","description","children","imageStyle"]),ye=v.useContext(E.E_),Qe=ye.getPrefixCls,Xe=ye.direction;return v.createElement(X.Z,{componentName:"Empty"},function(y){var C,R=Qe("empty",we),S=typeof Ot!="undefined"?Ot:y.description,B=typeof S=="string"?S:"empty",ie=null;return typeof mt=="string"?ie=v.createElement("img",{alt:B,src:mt}):ie=mt,v.createElement("div",(0,w.Z)({className:Y()(R,(C={},(0,b.Z)(C,"".concat(R,"-normal"),mt===ot),(0,b.Z)(C,"".concat(R,"-rtl"),Xe==="rtl"),C),pt)},Pt),v.createElement("div",{className:"".concat(R,"-image"),style:yt},ie),S&&v.createElement("div",{className:"".concat(R,"-description")},S),at&&v.createElement("div",{className:"".concat(R,"-footer")},at))})};z.PRESENTED_IMAGE_DEFAULT=$e,z.PRESENTED_IMAGE_SIMPLE=ot;var nt=z},13254:function(gt,Se,o){"use strict";var b=o(38663),w=o.n(b),L=o(3482),Y=o.n(L)},65223:function(gt,Se,o){"use strict";o.d(Se,{aM:function(){return I},Ux:function(){return g}});var b=o(22122),w=o(51273),L=o(67294),Y=L.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),v=null,E=function(W){var f=omit(W,["prefixCls"]);return React.createElement(RcFormProvider,_extends({},f))},X=L.createContext({prefixCls:""}),I=L.createContext({}),g=function(W){var f=W.children,$e=W.status,ot=W.override,z=(0,L.useContext)(I),nt=(0,L.useMemo)(function(){var je=(0,b.Z)({},z);return ot&&delete je.isFormItemInput,$e&&(delete je.status,delete je.hasFeedback,delete je.feedbackIcon),je},[$e,ot,z]);return L.createElement(I.Provider,{value:nt},f)}},76647:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return Cr}});var b=o(96156),w=o(22122),L=o(94184),Y=o.n(L),v=o(85061),E=o(28991),X=o(28481),I=o(81253),g=o(90484),Ce=o(21770),W=o(80334),f=o(67294),$e=o(8410),ot=o(31131),z=o(15105),nt=o(42550),je=f.createContext(null);function Ye(){return f.useContext(je)}function pt(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,i=f.useState(!1),M=(0,X.Z)(i,2),p=M[0],N=M[1],T=f.useRef(null),$=function(){window.clearTimeout(T.current)};f.useEffect(function(){return $},[]);var _=function(se,fe){$(),T.current=window.setTimeout(function(){N(se),fe&&fe()},l)};return[p,_,$]}function we(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,i=f.useRef(null),M=f.useRef(null);f.useEffect(function(){return function(){window.clearTimeout(M.current)}},[]);function p(N){(N||i.current===null)&&(i.current=N),window.clearTimeout(M.current),M.current=window.setTimeout(function(){i.current=null},l)}return[function(){return i.current},p]}function st(l,i,M,p){var N=f.useRef(null);N.current={open:i,triggerOpen:M,customizedTrigger:p},f.useEffect(function(){function T($){var _;if(!((_=N.current)!==null&&_!==void 0&&_.customizedTrigger)){var Q=$.target;Q.shadowRoot&&$.composed&&(Q=$.composedPath()[0]||Q),N.current.open&&l().filter(function(se){return se}).every(function(se){return!se.contains(Q)&&se!==Q})&&N.current.triggerOpen(!1)}}return window.addEventListener("mousedown",T),function(){return window.removeEventListener("mousedown",T)}},[])}var mt=o(64217),Ot=o(19214),at=function(i){var M=i.className,p=i.customizeIcon,N=i.customizeIconProps,T=i.onMouseDown,$=i.onClick,_=i.children,Q;return typeof p=="function"?Q=p(N):Q=p,f.createElement("span",{className:M,onMouseDown:function(fe){fe.preventDefault(),T&&T(fe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:$,"aria-hidden":!0},Q!==void 0?Q:f.createElement("span",{className:Y()(M.split(/\s+/).map(function(se){return"".concat(se,"-icon")}))},_))},yt=at,Pt=function(i,M){var p,N,T=i.prefixCls,$=i.id,_=i.inputElement,Q=i.disabled,se=i.tabIndex,fe=i.autoFocus,K=i.autoComplete,ee=i.editable,F=i.activeDescendantId,ve=i.value,Ae=i.maxLength,He=i.onKeyDown,Me=i.onMouseDown,e=i.onChange,r=i.onPaste,n=i.onCompositionStart,a=i.onCompositionEnd,u=i.open,c=i.attrs,t=_||f.createElement("input",null),d=t,s=d.ref,m=d.props,Z=m.onKeyDown,A=m.onChange,P=m.onMouseDown,x=m.onCompositionStart,O=m.onCompositionEnd,H=m.style;return(0,W.Kp)(!("maxLength"in t.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),t=f.cloneElement(t,(0,E.Z)((0,E.Z)((0,E.Z)({type:"search"},m),{},{id:$,ref:(0,nt.sQ)(M,s),disabled:Q,tabIndex:se,autoComplete:K||"off",autoFocus:fe,className:Y()("".concat(T,"-selection-search-input"),(p=t)===null||p===void 0||(N=p.props)===null||N===void 0?void 0:N.className),role:"combobox","aria-expanded":u,"aria-haspopup":"listbox","aria-owns":"".concat($,"_list"),"aria-autocomplete":"list","aria-controls":"".concat($,"_list"),"aria-activedescendant":F},c),{},{value:ee?ve:"",maxLength:Ae,readOnly:!ee,unselectable:ee?null:"on",style:(0,E.Z)((0,E.Z)({},H),{},{opacity:ee?null:0}),onKeyDown:function(j){He(j),Z&&Z(j)},onMouseDown:function(j){Me(j),P&&P(j)},onChange:function(j){e(j),A&&A(j)},onCompositionStart:function(j){n(j),x&&x(j)},onCompositionEnd:function(j){a(j),O&&O(j)},onPaste:r})),t},ye=f.forwardRef(Pt);ye.displayName="Input";var Qe=ye;function Xe(l){return Array.isArray(l)?l:l!==void 0?[l]:[]}var y=typeof window!="undefined"&&window.document&&window.document.documentElement,C=y;function R(l){return l!=null}function S(l){return["string","number"].includes((0,g.Z)(l))}function B(l){var i=void 0;return l&&(S(l.title)?i=l.title.toString():S(l.label)&&(i=l.label.toString())),i}function ie(l,i){C?f.useLayoutEffect(l,i):f.useEffect(l,i)}function Pe(l){var i;return(i=l.key)!==null&&i!==void 0?i:l.value}var Fe=function(i){i.preventDefault(),i.stopPropagation()},Ne=function(i){var M=i.id,p=i.prefixCls,N=i.values,T=i.open,$=i.searchValue,_=i.autoClearSearchValue,Q=i.inputRef,se=i.placeholder,fe=i.disabled,K=i.mode,ee=i.showSearch,F=i.autoFocus,ve=i.autoComplete,Ae=i.activeDescendantId,He=i.tabIndex,Me=i.removeIcon,e=i.maxTagCount,r=i.maxTagTextLength,n=i.maxTagPlaceholder,a=n===void 0?function(Ke){return"+ ".concat(Ke.length," ...")}:n,u=i.tagRender,c=i.onToggleOpen,t=i.onRemove,d=i.onInputChange,s=i.onInputPaste,m=i.onInputKeyDown,Z=i.onInputMouseDown,A=i.onInputCompositionStart,P=i.onInputCompositionEnd,x=f.useRef(null),O=(0,f.useState)(0),H=(0,X.Z)(O,2),te=H[0],j=H[1],xe=(0,f.useState)(!1),Ve=(0,X.Z)(xe,2),rt=Ve[0],We=Ve[1],ce="".concat(p,"-selection"),ne=T||K==="multiple"&&_===!1||K==="tags"?$:"",he=K==="tags"||K==="multiple"&&_===!1||ee&&(T||rt);ie(function(){j(x.current.scrollWidth)},[ne]);function Te(Ke,Ue,tt,ze,ht){return f.createElement("span",{className:Y()("".concat(ce,"-item"),(0,b.Z)({},"".concat(ce,"-item-disabled"),tt)),title:B(Ke)},f.createElement("span",{className:"".concat(ce,"-item-content")},Ue),ze&&f.createElement(yt,{className:"".concat(ce,"-item-remove"),onMouseDown:Fe,onClick:ht,customizeIcon:Me},"\xD7"))}function Ee(Ke,Ue,tt,ze,ht){var At=function(_e){Fe(_e),c(!T)};return f.createElement("span",{onMouseDown:At},u({label:Ue,value:Ke,disabled:tt,closable:ze,onClose:ht}))}function pe(Ke){var Ue=Ke.disabled,tt=Ke.label,ze=Ke.value,ht=!fe&&!Ue,At=tt;if(typeof r=="number"&&(typeof tt=="string"||typeof tt=="number")){var dt=String(At);dt.length>r&&(At="".concat(dt.slice(0,r),"..."))}var _e=function(Ut){Ut&&Ut.stopPropagation(),t(Ke)};return typeof u=="function"?Ee(ze,At,Ue,ht,_e):Te(Ke,At,Ue,ht,_e)}function et(Ke){var Ue=typeof a=="function"?a(Ke):a;return Te({title:Ue},Ue,!1)}var it=f.createElement("div",{className:"".concat(ce,"-search"),style:{width:te},onFocus:function(){We(!0)},onBlur:function(){We(!1)}},f.createElement(Qe,{ref:Q,open:T,prefixCls:p,id:M,inputElement:null,disabled:fe,autoFocus:F,autoComplete:ve,editable:he,activeDescendantId:Ae,value:ne,onKeyDown:m,onMouseDown:Z,onChange:d,onPaste:s,onCompositionStart:A,onCompositionEnd:P,tabIndex:He,attrs:(0,mt.Z)(i,!0)}),f.createElement("span",{ref:x,className:"".concat(ce,"-search-mirror"),"aria-hidden":!0},ne,"\xA0")),Rt=f.createElement(Ot.Z,{prefixCls:"".concat(ce,"-overflow"),data:N,renderItem:pe,renderRest:et,suffix:it,itemKey:Pe,maxCount:e});return f.createElement(f.Fragment,null,Rt,!N.length&&!ne&&f.createElement("span",{className:"".concat(ce,"-placeholder")},se))},ct=Ne,Ct=function(i){var M=i.inputElement,p=i.prefixCls,N=i.id,T=i.inputRef,$=i.disabled,_=i.autoFocus,Q=i.autoComplete,se=i.activeDescendantId,fe=i.mode,K=i.open,ee=i.values,F=i.placeholder,ve=i.tabIndex,Ae=i.showSearch,He=i.searchValue,Me=i.activeValue,e=i.maxLength,r=i.onInputKeyDown,n=i.onInputMouseDown,a=i.onInputChange,u=i.onInputPaste,c=i.onInputCompositionStart,t=i.onInputCompositionEnd,d=f.useState(!1),s=(0,X.Z)(d,2),m=s[0],Z=s[1],A=fe==="combobox",P=A||Ae,x=ee[0],O=He||"";A&&Me&&!m&&(O=Me),f.useEffect(function(){A&&Z(!1)},[A,Me]);var H=fe!=="combobox"&&!K&&!Ae?!1:!!O,te=B(x),j=function(){if(x)return null;var Ve=H?{visibility:"hidden"}:void 0;return f.createElement("span",{className:"".concat(p,"-selection-placeholder"),style:Ve},F)};return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(p,"-selection-search")},f.createElement(Qe,{ref:T,prefixCls:p,id:N,open:K,inputElement:M,disabled:$,autoFocus:_,autoComplete:Q,editable:P,activeDescendantId:se,value:O,onKeyDown:r,onMouseDown:n,onChange:function(Ve){Z(!0),a(Ve)},onPaste:u,onCompositionStart:c,onCompositionEnd:t,tabIndex:ve,attrs:(0,mt.Z)(i,!0),maxLength:A?e:void 0})),!A&&x&&!H&&f.createElement("span",{className:"".concat(p,"-selection-item"),title:te},x.label),j())},Be=Ct;function Dt(l){return![z.Z.ESC,z.Z.SHIFT,z.Z.BACKSPACE,z.Z.TAB,z.Z.WIN_KEY,z.Z.ALT,z.Z.META,z.Z.WIN_KEY_RIGHT,z.Z.CTRL,z.Z.SEMICOLON,z.Z.EQUALS,z.Z.CAPS_LOCK,z.Z.CONTEXT_MENU,z.Z.F1,z.Z.F2,z.Z.F3,z.Z.F4,z.Z.F5,z.Z.F6,z.Z.F7,z.Z.F8,z.Z.F9,z.Z.F10,z.Z.F11,z.Z.F12].includes(l)}var Lt=function(i,M){var p=(0,f.useRef)(null),N=(0,f.useRef)(!1),T=i.prefixCls,$=i.open,_=i.mode,Q=i.showSearch,se=i.tokenWithEnter,fe=i.autoClearSearchValue,K=i.onSearch,ee=i.onSearchSubmit,F=i.onToggleOpen,ve=i.onInputKeyDown,Ae=i.domRef;f.useImperativeHandle(M,function(){return{focus:function(){p.current.focus()},blur:function(){p.current.blur()}}});var He=we(0),Me=(0,X.Z)(He,2),e=Me[0],r=Me[1],n=function(H){var te=H.which;(te===z.Z.UP||te===z.Z.DOWN)&&H.preventDefault(),ve&&ve(H),te===z.Z.ENTER&&_==="tags"&&!N.current&&!$&&(ee==null||ee(H.target.value)),Dt(te)&&F(!0)},a=function(){r(!0)},u=(0,f.useRef)(null),c=function(H){K(H,!0,N.current)!==!1&&F(!0)},t=function(){N.current=!0},d=function(H){N.current=!1,_!=="combobox"&&c(H.target.value)},s=function(H){var te=H.target.value;if(se&&u.current&&/[\r\n]/.test(u.current)){var j=u.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");te=te.replace(j,u.current)}u.current=null,c(te)},m=function(H){var te=H.clipboardData,j=te.getData("text");u.current=j},Z=function(H){var te=H.target;if(te!==p.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){p.current.focus()}):p.current.focus()}},A=function(H){var te=e();H.target!==p.current&&!te&&_!=="combobox"&&H.preventDefault(),(_!=="combobox"&&(!Q||!te)||!$)&&($&&fe!==!1&&K("",!0,!1),F())},P={inputRef:p,onInputKeyDown:n,onInputMouseDown:a,onInputChange:s,onInputPaste:m,onInputCompositionStart:t,onInputCompositionEnd:d},x=_==="multiple"||_==="tags"?f.createElement(ct,(0,w.Z)({},i,P)):f.createElement(Be,(0,w.Z)({},i,P));return f.createElement("div",{ref:Ae,className:"".concat(T,"-selector"),onClick:Z,onMouseDown:A},x)},Bt=f.forwardRef(Lt);Bt.displayName="Selector";var V=Bt,me=o(77787),k=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],h=function(i){var M=i===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:M,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:M,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:M,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:M,adjustY:1}}}},re=function(i,M){var p=i.prefixCls,N=i.disabled,T=i.visible,$=i.children,_=i.popupElement,Q=i.containerWidth,se=i.animation,fe=i.transitionName,K=i.dropdownStyle,ee=i.dropdownClassName,F=i.direction,ve=F===void 0?"ltr":F,Ae=i.placement,He=i.dropdownMatchSelectWidth,Me=i.dropdownRender,e=i.dropdownAlign,r=i.getPopupContainer,n=i.empty,a=i.getTriggerDOMNode,u=i.onPopupVisibleChange,c=i.onPopupMouseEnter,t=(0,I.Z)(i,k),d="".concat(p,"-dropdown"),s=_;Me&&(s=Me(_));var m=f.useMemo(function(){return h(He)},[He]),Z=se?"".concat(d,"-").concat(se):fe,A=f.useRef(null);f.useImperativeHandle(M,function(){return{getPopupElement:function(){return A.current}}});var P=(0,E.Z)({minWidth:Q},K);return typeof He=="number"?P.width=He:He&&(P.width=Q),f.createElement(me.Z,(0,w.Z)({},t,{showAction:u?["click"]:[],hideAction:u?["click"]:[],popupPlacement:Ae||(ve==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:m,prefixCls:d,popupTransitionName:Z,popup:f.createElement("div",{ref:A,onMouseEnter:c},s),popupAlign:e,popupVisible:T,getPopupContainer:r,popupClassName:Y()(ee,(0,b.Z)({},"".concat(d,"-empty"),n)),popupStyle:P,getTriggerDOMNode:a,onPopupVisibleChange:u}),$)},U=f.forwardRef(re);U.displayName="SelectTrigger";var J=U,D=o(99809);function G(l,i){var M=l.key,p;return"value"in l&&(p=l.value),M!=null?M:p!==void 0?p:"rc-index-key-".concat(i)}function q(l,i){var M=l||{},p=M.label,N=M.value,T=M.options;return{label:p||(i?"children":"label"),value:N||"value",options:T||"options"}}function ue(l){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=i.fieldNames,p=i.childrenAsData,N=[],T=q(M,!1),$=T.label,_=T.value,Q=T.options;function se(fe,K){fe.forEach(function(ee){var F=ee[$];if(K||!(Q in ee)){var ve=ee[_];N.push({key:G(ee,N.length),groupOption:K,data:ee,label:F,value:ve})}else{var Ae=F;Ae===void 0&&p&&(Ae=ee.label),N.push({key:G(ee,N.length),group:!0,data:ee,label:Ae}),se(ee[Q],!0)}})}return se(l,!1),N}function oe(l){var i=(0,E.Z)({},l);return"props"in i||Object.defineProperty(i,"props",{get:function(){return(0,W.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),i}}),i}function Ie(l,i){if(!i||!i.length)return null;var M=!1;function p(T,$){var _=(0,D.Z)($),Q=_[0],se=_.slice(1);if(!Q)return[T];var fe=T.split(Q);return M=M||fe.length>1,fe.reduce(function(K,ee){return[].concat((0,v.Z)(K),(0,v.Z)(p(ee,se)))},[]).filter(function(K){return K})}var N=p(l,i);return M?N:null}var ke=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Je=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function ft(l){return l==="tags"||l==="multiple"}var bt=f.forwardRef(function(l,i){var M,p,N=l.id,T=l.prefixCls,$=l.className,_=l.showSearch,Q=l.tagRender,se=l.direction,fe=l.omitDomProps,K=l.displayValues,ee=l.onDisplayValuesChange,F=l.emptyOptions,ve=l.notFoundContent,Ae=ve===void 0?"Not Found":ve,He=l.onClear,Me=l.mode,e=l.disabled,r=l.loading,n=l.getInputElement,a=l.getRawInputElement,u=l.open,c=l.defaultOpen,t=l.onDropdownVisibleChange,d=l.activeValue,s=l.onActiveValueChange,m=l.activeDescendantId,Z=l.searchValue,A=l.autoClearSearchValue,P=l.onSearch,x=l.onSearchSplit,O=l.tokenSeparators,H=l.allowClear,te=l.showArrow,j=l.inputIcon,xe=l.clearIcon,Ve=l.OptionList,rt=l.animation,We=l.transitionName,ce=l.dropdownStyle,ne=l.dropdownClassName,he=l.dropdownMatchSelectWidth,Te=l.dropdownRender,Ee=l.dropdownAlign,pe=l.placement,et=l.getPopupContainer,it=l.showAction,Rt=it===void 0?[]:it,Ke=l.onFocus,Ue=l.onBlur,tt=l.onKeyUp,ze=l.onKeyDown,ht=l.onMouseDown,At=(0,I.Z)(l,ke),dt=ft(Me),_e=(_!==void 0?_:dt)||Me==="combobox",Wt=(0,E.Z)({},At);Je.forEach(function(De){delete Wt[De]}),fe==null||fe.forEach(function(De){delete Wt[De]});var Ut=f.useState(!1),Kt=(0,X.Z)(Ut,2),Pn=Kt[0],Kn=Kt[1];f.useEffect(function(){Kn((0,ot.Z)())},[]);var $t=f.useRef(null),nn=f.useRef(null),xn=f.useRef(null),rn=f.useRef(null),_t=f.useRef(null),St=pt(),Qt=(0,X.Z)(St,3),Cn=Qt[0],on=Qt[1],vr=Qt[2];f.useImperativeHandle(i,function(){var De,be;return{focus:(De=rn.current)===null||De===void 0?void 0:De.focus,blur:(be=rn.current)===null||be===void 0?void 0:be.blur,scrollTo:function(an){var It;return(It=_t.current)===null||It===void 0?void 0:It.scrollTo(an)}}});var bn=f.useMemo(function(){var De;if(Me!=="combobox")return Z;var be=(De=K[0])===null||De===void 0?void 0:De.value;return typeof be=="string"||typeof be=="number"?String(be):""},[Z,Me,K]),gr=Me==="combobox"&&typeof n=="function"&&n()||null,Dn=typeof a=="function"&&a(),yr=(0,nt.x1)(nn,Dn==null||(M=Dn.props)===null||M===void 0?void 0:M.ref),Er=(0,Ce.Z)(void 0,{defaultValue:c,value:u}),ir=(0,X.Z)(Er,2),pr=ir[0],mr=ir[1],Tt=pr,Sr=!Ae&&F;(e||Sr&&Tt&&Me==="combobox")&&(Tt=!1);var qn=Sr?!1:Tt,de=f.useCallback(function(De){var be=De!==void 0?De:!Tt;e||(mr(be),Tt!==be&&(t==null||t(be)))},[e,Tt,mr,t]),Re=f.useMemo(function(){return(O||[]).some(function(De){return[`
  2. `,`\r
  3. `].includes(De)})},[O]),ge=function(be,jt,an){var It=!0,fn=be;s==null||s(null);var In=an?null:Ie(be,O);return Me!=="combobox"&&In&&(fn="",x==null||x(In),de(!1),It=!1),P&&bn!==fn&&P(fn,{source:jt?"typing":"effect"}),It},Le=function(be){!be||!be.trim()||P(be,{source:"submit"})};f.useEffect(function(){!Tt&&!dt&&Me!=="combobox"&&ge("",!1,!1)},[Tt]),f.useEffect(function(){pr&&e&&mr(!1),e&&on(!1)},[e]);var lt=we(),vt=(0,X.Z)(lt,2),$n=vt[0],Nn=vt[1],ur=function(be){var jt=$n(),an=be.which;if(an===z.Z.ENTER&&(Me!=="combobox"&&be.preventDefault(),Tt||de(!0)),Nn(!!bn),an===z.Z.BACKSPACE&&!jt&&dt&&!bn&&K.length){for(var It=(0,v.Z)(K),fn=null,In=It.length-1;In>=0;In-=1){var hr=It[In];if(!hr.disabled){It.splice(In,1),fn=hr;break}}fn&&ee(It,{type:"remove",values:[fn]})}for(var tr=arguments.length,fr=new Array(tr>1?tr-1:0),nr=1;nr<tr;nr++)fr[nr-1]=arguments[nr];if(Tt&&_t.current){var Dr;(Dr=_t.current).onKeyDown.apply(Dr,[be].concat(fr))}ze==null||ze.apply(void 0,[be].concat(fr))},zt=function(be){for(var jt=arguments.length,an=new Array(jt>1?jt-1:0),It=1;It<jt;It++)an[It-1]=arguments[It];if(Tt&&_t.current){var fn;(fn=_t.current).onKeyUp.apply(fn,[be].concat(an))}tt==null||tt.apply(void 0,[be].concat(an))},er=function(be){var jt=K.filter(function(an){return an!==be});ee(jt,{type:"remove",values:[be]})},cr=f.useRef(!1),br=function(){on(!0),e||(Ke&&!cr.current&&Ke.apply(void 0,arguments),Rt.includes("focus")&&de(!0)),cr.current=!0},Mr=function(){on(!1,function(){cr.current=!1,de(!1)}),!e&&(bn&&(Me==="tags"?P(bn,{source:"submit"}):Me==="multiple"&&P("",{source:"blur"})),Ue&&Ue.apply(void 0,arguments))},An=[];f.useEffect(function(){return function(){An.forEach(function(De){return clearTimeout(De)}),An.splice(0,An.length)}},[]);var jn=function(be){var jt,an=be.target,It=(jt=xn.current)===null||jt===void 0?void 0:jt.getPopupElement();if(It&&It.contains(an)){var fn=setTimeout(function(){var fr=An.indexOf(fn);if(fr!==-1&&An.splice(fr,1),vr(),!Pn&&!It.contains(document.activeElement)){var nr;(nr=rn.current)===null||nr===void 0||nr.focus()}});An.push(fn)}for(var In=arguments.length,hr=new Array(In>1?In-1:0),tr=1;tr<In;tr++)hr[tr-1]=arguments[tr];ht==null||ht.apply(void 0,[be].concat(hr))},Nr=f.useState(null),Rr=(0,X.Z)(Nr,2),Or=Rr[0],Ar=Rr[1],Lr=f.useState({}),Vr=(0,X.Z)(Lr,2),Hr=Vr[1];function Fr(){Hr({})}(0,$e.Z)(function(){if(qn){var De,be=Math.ceil((De=$t.current)===null||De===void 0?void 0:De.offsetWidth);Or!==be&&!Number.isNaN(be)&&Ar(be)}},[qn]);var Pr;Dn&&(Pr=function(be){de(be)}),st(function(){var De;return[$t.current,(De=xn.current)===null||De===void 0?void 0:De.getPopupElement()]},qn,de,!!Dn);var Wr=f.useMemo(function(){return(0,E.Z)((0,E.Z)({},l),{},{notFoundContent:Ae,open:Tt,triggerOpen:qn,id:N,showSearch:_e,multiple:dt,toggleOpen:de})},[l,Ae,qn,Tt,N,_e,dt,de]),xr=te!==void 0?te:r||!dt&&Me!=="combobox",Ir;xr&&(Ir=f.createElement(yt,{className:Y()("".concat(T,"-arrow"),(0,b.Z)({},"".concat(T,"-arrow-loading"),r)),customizeIcon:j,customizeIconProps:{loading:r,searchValue:bn,open:Tt,focused:Cn,showSearch:_e}}));var Zr,Ur=function(){var be;He==null||He(),(be=rn.current)===null||be===void 0||be.focus(),ee([],{type:"clear",values:K}),ge("",!1,!1)};!e&&H&&(K.length||bn)&&!(Me==="combobox"&&bn==="")&&(Zr=f.createElement(yt,{className:"".concat(T,"-clear"),onMouseDown:Ur,customizeIcon:xe},"\xD7"));var zr=f.createElement(Ve,{ref:_t}),Br=Y()(T,$,(p={},(0,b.Z)(p,"".concat(T,"-focused"),Cn),(0,b.Z)(p,"".concat(T,"-multiple"),dt),(0,b.Z)(p,"".concat(T,"-single"),!dt),(0,b.Z)(p,"".concat(T,"-allow-clear"),H),(0,b.Z)(p,"".concat(T,"-show-arrow"),xr),(0,b.Z)(p,"".concat(T,"-disabled"),e),(0,b.Z)(p,"".concat(T,"-loading"),r),(0,b.Z)(p,"".concat(T,"-open"),Tt),(0,b.Z)(p,"".concat(T,"-customize-input"),gr),(0,b.Z)(p,"".concat(T,"-show-search"),_e),p)),Tr=f.createElement(J,{ref:xn,disabled:e,prefixCls:T,visible:qn,popupElement:zr,containerWidth:Or,animation:rt,transitionName:We,dropdownStyle:ce,dropdownClassName:ne,direction:se,dropdownMatchSelectWidth:he,dropdownRender:Te,dropdownAlign:Ee,placement:pe,getPopupContainer:et,empty:F,getTriggerDOMNode:function(){return nn.current},onPopupVisibleChange:Pr,onPopupMouseEnter:Fr},Dn?f.cloneElement(Dn,{ref:yr}):f.createElement(V,(0,w.Z)({},l,{domRef:nn,prefixCls:T,inputElement:gr,ref:rn,id:N,showSearch:_e,autoClearSearchValue:A,mode:Me,activeDescendantId:m,tagRender:Q,values:K,open:Tt,onToggleOpen:de,activeValue:d,searchValue:bn,onSearch:ge,onSearchSubmit:Le,onRemove:er,tokenWithEnter:Re}))),wr;return Dn?wr=Tr:wr=f.createElement("div",(0,w.Z)({className:Br},Wt,{ref:$t,onMouseDown:jn,onKeyDown:ur,onKeyUp:zt,onFocus:br,onBlur:Mr}),Cn&&!Tt&&f.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(K.map(function(De){var be=De.label,jt=De.value;return["number","string"].includes((0,g.Z)(be))?be:jt}).join(", "))),Tr,Ir,Zr),f.createElement(je.Provider,{value:Wr},wr)}),wt=bt,Zt=function(l,i){var M=f.useRef({values:new Map,options:new Map}),p=f.useMemo(function(){var T=M.current,$=T.values,_=T.options,Q=l.map(function(K){if(K.label===void 0){var ee;return(0,E.Z)((0,E.Z)({},K),{},{label:(ee=$.get(K.value))===null||ee===void 0?void 0:ee.label})}return K}),se=new Map,fe=new Map;return Q.forEach(function(K){se.set(K.value,K),fe.set(K.value,i.get(K.value)||_.get(K.value))}),M.current.values=se,M.current.options=fe,Q},[l,i]),N=f.useCallback(function(T){return i.get(T)||M.current.options.get(T)},[i]);return[p,N]};function un(l,i){return Xe(l).join("").toUpperCase().includes(i)}var xt=function(l,i,M,p,N){return f.useMemo(function(){if(!M||p===!1)return l;var T=i.options,$=i.label,_=i.value,Q=[],se=typeof p=="function",fe=M.toUpperCase(),K=se?p:function(F,ve){return N?un(ve[N],fe):ve[T]?un(ve[$!=="children"?$:"label"],fe):un(ve[_],fe)},ee=se?function(F){return oe(F)}:function(F){return F};return l.forEach(function(F){if(F[T]){var ve=K(M,ee(F));if(ve)Q.push(F);else{var Ae=F[T].filter(function(He){return K(M,ee(He))});Ae.length&&Q.push((0,E.Z)((0,E.Z)({},F),{},(0,b.Z)({},T,Ae)))}return}K(M,ee(F))&&Q.push(F)}),Q},[l,p,N,M,i])},ln=o(98924),dn=0,Yt=(0,ln.Z)();function Nt(){var l;return Yt?(l=dn,dn+=1):l="TEST_OR_SSR",l}function Ln(l){var i=f.useState(),M=(0,X.Z)(i,2),p=M[0],N=M[1];return f.useEffect(function(){N("rc_select_".concat(Nt()))},[]),l||p}var Jt=o(50344),vn=["children","value"],qt=["children"];function kt(l){var i=l,M=i.key,p=i.props,N=p.children,T=p.value,$=(0,I.Z)(p,vn);return(0,E.Z)({key:M,value:T!==void 0?T:M,children:N},$)}function wn(l){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Jt.Z)(l).map(function(M,p){if(!f.isValidElement(M)||!M.type)return null;var N=M,T=N.type.isSelectOptGroup,$=N.key,_=N.props,Q=_.children,se=(0,I.Z)(_,qt);return i||!T?kt(M):(0,E.Z)((0,E.Z)({key:"__RC_SELECT_GRP__".concat($===null?p:$,"__"),label:$},se),{},{options:wn(Q)})}).filter(function(M){return M})}function ut(l,i,M,p,N){return f.useMemo(function(){var T=l,$=!l;$&&(T=wn(i));var _=new Map,Q=new Map,se=function(ee,F,ve){ve&&typeof ve=="string"&&ee.set(F[ve],F)};function fe(K){for(var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=0;F<K.length;F+=1){var ve=K[F];!ve[M.options]||ee?(_.set(ve[M.value],ve),se(Q,ve,M.label),se(Q,ve,p),se(Q,ve,N)):fe(ve[M.options],!0)}}return fe(T),{options:T,valueOptions:_,labelOptions:Q}},[l,i,M,p,N])}function Mt(l){var i=f.useRef();i.current=l;var M=f.useCallback(function(){return i.current.apply(i,arguments)},[]);return M}var Vn=function(){return null};Vn.isSelectOptGroup=!0;var sn=Vn,Et=function(){return null};Et.isSelectOption=!0;var Mn=Et,pn=o(98423),Hn=o(56982),Fn=o(7606);function le(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Wn=f.createContext(null),Xt=Wn,Yn=["disabled","title","children","style","className"];function mn(l){return typeof l=="string"||typeof l=="number"}var Un=function(i,M){var p=Ye(),N=p.prefixCls,T=p.id,$=p.open,_=p.multiple,Q=p.mode,se=p.searchValue,fe=p.toggleOpen,K=p.notFoundContent,ee=p.onPopupScroll,F=f.useContext(Xt),ve=F.flattenOptions,Ae=F.onActiveValue,He=F.defaultActiveFirstOption,Me=F.onSelect,e=F.menuItemSelectedIcon,r=F.rawValues,n=F.fieldNames,a=F.virtual,u=F.listHeight,c=F.listItemHeight,t="".concat(N,"-item"),d=(0,Hn.Z)(function(){return ve},[$,ve],function(ce,ne){return ne[0]&&ce[1]!==ne[1]}),s=f.useRef(null),m=function(ne){ne.preventDefault()},Z=function(ne){s.current&&s.current.scrollTo(typeof ne=="number"?{index:ne}:ne)},A=function(ne){for(var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Te=d.length,Ee=0;Ee<Te;Ee+=1){var pe=(ne+Ee*he+Te)%Te,et=d[pe],it=et.group,Rt=et.data;if(!it&&!Rt.disabled)return pe}return-1},P=f.useState(function(){return A(0)}),x=(0,X.Z)(P,2),O=x[0],H=x[1],te=function(ne){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;H(ne);var Te={source:he?"keyboard":"mouse"},Ee=d[ne];if(!Ee){Ae(null,-1,Te);return}Ae(Ee.value,ne,Te)};(0,f.useEffect)(function(){te(He!==!1?A(0):-1)},[d.length,se]);var j=f.useCallback(function(ce){return r.has(ce)&&Q!=="combobox"},[Q,(0,v.Z)(r).toString(),r.size]);(0,f.useEffect)(function(){var ce=setTimeout(function(){if(!_&&$&&r.size===1){var he=Array.from(r)[0],Te=d.findIndex(function(Ee){var pe=Ee.data;return pe.value===he});Te!==-1&&(te(Te),Z(Te))}});if($){var ne;(ne=s.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(ce)}},[$,se]);var xe=function(ne){ne!==void 0&&Me(ne,{selected:!r.has(ne)}),_||fe(!1)};if(f.useImperativeHandle(M,function(){return{onKeyDown:function(ne){var he=ne.which,Te=ne.ctrlKey;switch(he){case z.Z.N:case z.Z.P:case z.Z.UP:case z.Z.DOWN:{var Ee=0;if(he===z.Z.UP?Ee=-1:he===z.Z.DOWN?Ee=1:le()&&Te&&(he===z.Z.N?Ee=1:he===z.Z.P&&(Ee=-1)),Ee!==0){var pe=A(O+Ee,Ee);Z(pe),te(pe,!0)}break}case z.Z.ENTER:{var et=d[O];et&&!et.data.disabled?xe(et.value):xe(void 0),$&&ne.preventDefault();break}case z.Z.ESC:fe(!1),$&&ne.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ne){Z(ne)}}}),d.length===0)return f.createElement("div",{role:"listbox",id:"".concat(T,"_list"),className:"".concat(t,"-empty"),onMouseDown:m},K);var Ve=Object.keys(n).map(function(ce){return n[ce]}),rt=function(ne){return ne.label},We=function(ne){var he=d[ne];if(!he)return null;var Te=he.data||{},Ee=Te.value,pe=he.group,et=(0,mt.Z)(Te,!0),it=rt(he);return he?f.createElement("div",(0,w.Z)({"aria-label":typeof it=="string"&&!pe?it:null},et,{key:ne,role:pe?"presentation":"option",id:"".concat(T,"_list_").concat(ne),"aria-selected":j(Ee)}),Ee):null};return f.createElement(f.Fragment,null,f.createElement("div",{role:"listbox",id:"".concat(T,"_list"),style:{height:0,width:0,overflow:"hidden"}},We(O-1),We(O),We(O+1)),f.createElement(Fn.Z,{itemKey:"key",ref:s,data:d,height:u,itemHeight:c,fullHeight:!1,onMouseDown:m,onScroll:ee,virtual:a},function(ce,ne){var he,Te=ce.group,Ee=ce.groupOption,pe=ce.data,et=ce.label,it=ce.value,Rt=pe.key;if(Te){var Ke,Ue=(Ke=pe.title)!==null&&Ke!==void 0?Ke:mn(et)?et.toString():void 0;return f.createElement("div",{className:Y()(t,"".concat(t,"-group")),title:Ue},et!==void 0?et:Rt)}var tt=pe.disabled,ze=pe.title,ht=pe.children,At=pe.style,dt=pe.className,_e=(0,I.Z)(pe,Yn),Wt=(0,pn.Z)(_e,Ve),Ut=j(it),Kt="".concat(t,"-option"),Pn=Y()(t,Kt,dt,(he={},(0,b.Z)(he,"".concat(Kt,"-grouped"),Ee),(0,b.Z)(he,"".concat(Kt,"-active"),O===ne&&!tt),(0,b.Z)(he,"".concat(Kt,"-disabled"),tt),(0,b.Z)(he,"".concat(Kt,"-selected"),Ut),he)),Kn=rt(ce),$t=!e||typeof e=="function"||Ut,nn=typeof Kn=="number"?Kn:Kn||it,xn=mn(nn)?nn.toString():void 0;return ze!==void 0&&(xn=ze),f.createElement("div",(0,w.Z)({},(0,mt.Z)(Wt),{"aria-selected":Ut,className:Pn,title:xn,onMouseMove:function(){O===ne||tt||te(ne)},onClick:function(){tt||xe(it)},style:At}),f.createElement("div",{className:"".concat(Kt,"-content")},nn),f.isValidElement(e)||Ut,$t&&f.createElement(yt,{className:"".concat(t,"-option-state"),customizeIcon:e,customizeIconProps:{isSelected:Ut}},Ut?"\u2713":null))}))},zn=f.forwardRef(Un);zn.displayName="OptionList";var hn=zn;function Xn(l){var i=l.mode,M=l.options,p=l.children,N=l.backfill,T=l.allowClear,$=l.placeholder,_=l.getInputElement,Q=l.showSearch,se=l.onSearch,fe=l.defaultOpen,K=l.autoFocus,ee=l.labelInValue,F=l.value,ve=l.inputValue,Ae=l.optionLabelProp,He=isMultiple(i),Me=Q!==void 0?Q:He||i==="combobox",e=M||convertChildrenToData(p);if(warning(i!=="tags"||e.every(function(u){return!u.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),i==="tags"||i==="combobox"){var r=e.some(function(u){return u.options?u.options.some(function(c){return typeof("value"in c?c.value:c.key)=="number"}):typeof("value"in u?u.value:u.key)=="number"});warning(!r,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(i!=="combobox"||!Ae,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(i==="combobox"||!N,"`backfill` only works with `combobox` mode."),warning(i==="combobox"||!_,"`getInputElement` only work with `combobox` mode."),noteOnce(i!=="combobox"||!_||!T||!$,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),se&&!Me&&i!=="combobox"&&i!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!fe||K,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),F!=null){var n=toArray(F);warning(!ee||n.every(function(u){return _typeof(u)==="object"&&("key"in u||"value"in u)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!He||Array.isArray(F),"`value` should be array when `mode` is `multiple` or `tags`")}if(p){var a=null;toNodeArray(p).some(function(u){if(!React.isValidElement(u)||!u.type)return!1;var c=u,t=c.type;if(t.isSelectOption)return!1;if(t.isSelectOptGroup){var d=toNodeArray(u.props.children).every(function(s){return!React.isValidElement(s)||!u.type||s.type.isSelectOption?!0:(a=s.type,!1)});return!d}return a=t,!0}),a&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(a.displayName||a.name||a,"`.")),warning(ve===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function en(l,i){if(l){var M=function p(N){for(var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$=0;$<N.length;$++){var _=N[$];if(_[i==null?void 0:i.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!T&&Array.isArray(_[i==null?void 0:i.options])&&p(_[i==null?void 0:i.options],!0))break}};M(l)}}var Vt=null,gn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Zn=["inputValue"];function cn(l){return!l||(0,g.Z)(l)!=="object"}var tn=f.forwardRef(function(l,i){var M=l.id,p=l.mode,N=l.prefixCls,T=N===void 0?"rc-select":N,$=l.backfill,_=l.fieldNames,Q=l.inputValue,se=l.searchValue,fe=l.onSearch,K=l.autoClearSearchValue,ee=K===void 0?!0:K,F=l.onSelect,ve=l.onDeselect,Ae=l.dropdownMatchSelectWidth,He=Ae===void 0?!0:Ae,Me=l.filterOption,e=l.filterSort,r=l.optionFilterProp,n=l.optionLabelProp,a=l.options,u=l.children,c=l.defaultActiveFirstOption,t=l.menuItemSelectedIcon,d=l.virtual,s=l.listHeight,m=s===void 0?200:s,Z=l.listItemHeight,A=Z===void 0?20:Z,P=l.value,x=l.defaultValue,O=l.labelInValue,H=l.onChange,te=(0,I.Z)(l,gn),j=Ln(M),xe=ft(p),Ve=!!(!a&&u),rt=f.useMemo(function(){return Me===void 0&&p==="combobox"?!1:Me},[Me,p]),We=f.useMemo(function(){return q(_,Ve)},[JSON.stringify(_),Ve]),ce=(0,Ce.Z)("",{value:se!==void 0?se:Q,postState:function(Re){return Re||""}}),ne=(0,X.Z)(ce,2),he=ne[0],Te=ne[1],Ee=ut(a,u,We,r,n),pe=Ee.valueOptions,et=Ee.labelOptions,it=Ee.options,Rt=f.useCallback(function(de){var Re=Xe(de);return Re.map(function(ge){var Le,lt,vt,$n,Nn;if(cn(ge))Le=ge;else{var ur;vt=ge.key,lt=ge.label,Le=(ur=ge.value)!==null&&ur!==void 0?ur:vt}var zt=pe.get(Le);if(zt){var er;if(lt===void 0&&(lt=zt==null?void 0:zt[n||We.label]),vt===void 0&&(vt=(er=zt==null?void 0:zt.key)!==null&&er!==void 0?er:Le),$n=zt==null?void 0:zt.disabled,Nn=zt==null?void 0:zt.title,!1)var cr}return{label:lt,value:Le,key:vt,disabled:$n,title:Nn}})},[We,n,pe]),Ke=(0,Ce.Z)(x,{value:P}),Ue=(0,X.Z)(Ke,2),tt=Ue[0],ze=Ue[1],ht=f.useMemo(function(){var de,Re=Rt(tt);return p==="combobox"&&!((de=Re[0])!==null&&de!==void 0&&de.value)?[]:Re},[tt,Rt,p]),At=Zt(ht,pe),dt=(0,X.Z)(At,2),_e=dt[0],Wt=dt[1],Ut=f.useMemo(function(){if(!p&&_e.length===1){var de=_e[0];if(de.value===null&&(de.label===null||de.label===void 0))return[]}return _e.map(function(Re){var ge;return(0,E.Z)((0,E.Z)({},Re),{},{label:(ge=Re.label)!==null&&ge!==void 0?ge:Re.value})})},[p,_e]),Kt=f.useMemo(function(){return new Set(_e.map(function(de){return de.value}))},[_e]);f.useEffect(function(){if(p==="combobox"){var de,Re=(de=_e[0])===null||de===void 0?void 0:de.value;Te(R(Re)?String(Re):"")}},[_e]);var Pn=Mt(function(de,Re){var ge,Le=Re!=null?Re:de;return ge={},(0,b.Z)(ge,We.value,de),(0,b.Z)(ge,We.label,Le),ge}),Kn=f.useMemo(function(){if(p!=="tags")return it;var de=(0,v.Z)(it),Re=function(Le){return pe.has(Le)};return(0,v.Z)(_e).sort(function(ge,Le){return ge.value<Le.value?-1:1}).forEach(function(ge){var Le=ge.value;Re(Le)||de.push(Pn(Le,ge.label))}),de},[Pn,it,pe,_e,p]),$t=xt(Kn,We,he,rt,r),nn=f.useMemo(function(){return p!=="tags"||!he||$t.some(function(de){return de[r||"value"]===he})?$t:[Pn(he)].concat((0,v.Z)($t))},[Pn,r,p,$t,he]),xn=f.useMemo(function(){return e?(0,v.Z)(nn).sort(function(de,Re){return e(de,Re)}):nn},[nn,e]),rn=f.useMemo(function(){return ue(xn,{fieldNames:We,childrenAsData:Ve})},[xn,We,Ve]),_t=function(Re){var ge=Rt(Re);if(ze(ge),H&&(ge.length!==_e.length||ge.some(function(vt,$n){var Nn;return((Nn=_e[$n])===null||Nn===void 0?void 0:Nn.value)!==(vt==null?void 0:vt.value)}))){var Le=O?ge:ge.map(function(vt){return vt.value}),lt=ge.map(function(vt){return oe(Wt(vt.value))});H(xe?Le:Le[0],xe?lt:lt[0])}},St=f.useState(null),Qt=(0,X.Z)(St,2),Cn=Qt[0],on=Qt[1],vr=f.useState(0),bn=(0,X.Z)(vr,2),gr=bn[0],Dn=bn[1],yr=c!==void 0?c:p!=="combobox",Er=f.useCallback(function(de,Re){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Le=ge.source,lt=Le===void 0?"keyboard":Le;Dn(Re),$&&p==="combobox"&&de!==null&&lt==="keyboard"&&on(String(de))},[$,p]),ir=function(Re,ge,Le){var lt=function(){var An,jn=Wt(Re);return[O?{label:jn==null?void 0:jn[We.label],value:Re,key:(An=jn==null?void 0:jn.key)!==null&&An!==void 0?An:Re}:Re,oe(jn)]};if(ge&&F){var vt=lt(),$n=(0,X.Z)(vt,2),Nn=$n[0],ur=$n[1];F(Nn,ur)}else if(!ge&&ve&&Le!=="clear"){var zt=lt(),er=(0,X.Z)(zt,2),cr=er[0],br=er[1];ve(cr,br)}},pr=Mt(function(de,Re){var ge,Le=xe?Re.selected:!0;Le?ge=xe?[].concat((0,v.Z)(_e),[de]):[de]:ge=_e.filter(function(lt){return lt.value!==de}),_t(ge),ir(de,Le),p==="combobox"?on(""):(!ft||ee)&&(Te(""),on(""))}),mr=function(Re,ge){_t(Re);var Le=ge.type,lt=ge.values;(Le==="remove"||Le==="clear")&&lt.forEach(function(vt){ir(vt.value,!1,Le)})},Tt=function(Re,ge){if(Te(Re),on(null),ge.source==="submit"){var Le=(Re||"").trim();if(Le){var lt=Array.from(new Set([].concat((0,v.Z)(Kt),[Le])));_t(lt),ir(Le,!0),Te("")}return}ge.source!=="blur"&&(p==="combobox"&&_t(Re),fe==null||fe(Re))},Sr=function(Re){var ge=Re;p!=="tags"&&(ge=Re.map(function(lt){var vt=et.get(lt);return vt==null?void 0:vt.value}).filter(function(lt){return lt!==void 0}));var Le=Array.from(new Set([].concat((0,v.Z)(Kt),(0,v.Z)(ge))));_t(Le),Le.forEach(function(lt){ir(lt,!0)})},qn=f.useMemo(function(){var de=d!==!1&&He!==!1;return(0,E.Z)((0,E.Z)({},Ee),{},{flattenOptions:rn,onActiveValue:Er,defaultActiveFirstOption:yr,onSelect:pr,menuItemSelectedIcon:t,rawValues:Kt,fieldNames:We,virtual:de,listHeight:m,listItemHeight:A,childrenAsData:Ve})},[Ee,rn,Er,yr,pr,t,Kt,We,d,He,m,A,Ve]);return f.createElement(Xt.Provider,{value:qn},f.createElement(wt,(0,w.Z)({},te,{id:j,prefixCls:T,ref:i,omitDomProps:Zn,mode:p,displayValues:Ut,onDisplayValuesChange:mr,searchValue:he,onSearch:Tt,autoClearSearchValue:ee,onSearchSplit:Sr,dropdownMatchSelectWidth:He,OptionList:hn,emptyOptions:!rn.length,activeValue:Cn,activeDescendantId:"".concat(j,"_list_").concat(gr)})))}),Ht=tn;Ht.Option=Mn,Ht.OptGroup=sn;var Gn=Ht,yn=Gn,Bn=o(53124),_n=o(88258),kn=o(98866),rr=o(97647),Qn=o(65223),Tn=o(33603),Rn=o(9708),En={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"},or=En,On=o(30076),Sn=function(i,M){return f.createElement(On.Z,(0,E.Z)((0,E.Z)({},i),{},{ref:M,icon:or}))};Sn.displayName="CheckOutlined";var Oe=f.forwardRef(Sn),qe=o(43061),ae=o(54549),Ze=o(57254),Ge=o(7085),Ft=o(76570);function Gt(l){var i=l.suffixIcon,M=l.clearIcon,p=l.menuItemSelectedIcon,N=l.removeIcon,T=l.loading,$=l.multiple,_=l.hasFeedback,Q=l.prefixCls,se=l.showArrow,fe=l.feedbackIcon,K=M!=null?M:f.createElement(qe.Z,null),ee=function(e){return f.createElement(f.Fragment,null,se!==!1&&e,_&&fe)},F=null;if(i!==void 0)F=ee(i);else if(T)F=ee(f.createElement(Ge.Z,{spin:!0}));else{var ve="".concat(Q,"-suffix");F=function(e){var r=e.open,n=e.showSearch;return ee(r&&n?f.createElement(Ft.Z,{className:ve}):f.createElement(Ze.Z,{className:ve}))}}var Ae=null;p!==void 0?Ae=p:$?Ae=f.createElement(Oe,null):Ae=null;var He=null;return N!==void 0?He=N:He=f.createElement(ae.Z,null),{clearIcon:K,suffixIcon:F,itemIcon:Ae,removeIcon:He}}var lr=o(4173),dr=function(l,i){var M={};for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&i.indexOf(p)<0&&(M[p]=l[p]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,p=Object.getOwnPropertySymbols(l);N<p.length;N++)i.indexOf(p[N])<0&&Object.prototype.propertyIsEnumerable.call(l,p[N])&&(M[p[N]]=l[p[N]]);return M},ar="SECRET_COMBOBOX_MODE_DO_NOT_USE",Jn=function(i,M){var p,N=i.prefixCls,T=i.bordered,$=T===void 0?!0:T,_=i.className,Q=i.getPopupContainer,se=i.dropdownClassName,fe=i.popupClassName,K=i.listHeight,ee=K===void 0?256:K,F=i.placement,ve=i.listItemHeight,Ae=ve===void 0?24:ve,He=i.size,Me=i.disabled,e=i.notFoundContent,r=i.status,n=i.showArrow,a=dr(i,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),u=f.useContext(Bn.E_),c=u.getPopupContainer,t=u.getPrefixCls,d=u.renderEmpty,s=u.direction,m=u.virtual,Z=u.dropdownMatchSelectWidth,A=f.useContext(rr.Z),P=t("select",N),x=t(),O=(0,lr.ri)(P,s),H=O.compactSize,te=O.compactItemClassnames,j=f.useMemo(function(){var Wt=a.mode;if(Wt!=="combobox")return Wt===ar?"combobox":Wt},[a.mode]),xe=j==="multiple"||j==="tags",Ve=n!==void 0?n:a.loading||!(xe||j==="combobox"),rt=(0,f.useContext)(Qn.aM),We=rt.status,ce=rt.hasFeedback,ne=rt.isFormItemInput,he=rt.feedbackIcon,Te=(0,Rn.F)(We,r),Ee;e!==void 0?Ee=e:j==="combobox"?Ee=null:Ee=(d||_n.Z)("Select");var pe=Gt((0,w.Z)((0,w.Z)({},a),{multiple:xe,hasFeedback:ce,feedbackIcon:he,showArrow:Ve,prefixCls:P})),et=pe.suffixIcon,it=pe.itemIcon,Rt=pe.removeIcon,Ke=pe.clearIcon,Ue=(0,pn.Z)(a,["suffixIcon","itemIcon"]),tt=Y()(fe||se,(0,b.Z)({},"".concat(P,"-dropdown-").concat(s),s==="rtl")),ze=H||He||A,ht=f.useContext(kn.Z),At=Me!=null?Me:ht,dt=Y()((p={},(0,b.Z)(p,"".concat(P,"-lg"),ze==="large"),(0,b.Z)(p,"".concat(P,"-sm"),ze==="small"),(0,b.Z)(p,"".concat(P,"-rtl"),s==="rtl"),(0,b.Z)(p,"".concat(P,"-borderless"),!$),(0,b.Z)(p,"".concat(P,"-in-form-item"),ne),p),(0,Rn.Z)(P,Te,ce),te,_),_e=function(){return F!==void 0?F:s==="rtl"?"bottomRight":"bottomLeft"};return f.createElement(yn,(0,w.Z)({ref:M,virtual:m,dropdownMatchSelectWidth:Z},Ue,{transitionName:(0,Tn.mL)(x,(0,Tn.q0)(F),a.transitionName),listHeight:ee,listItemHeight:Ae,mode:j,prefixCls:P,placement:_e(),direction:s,inputIcon:et,menuItemSelectedIcon:it,removeIcon:Rt,clearIcon:Ke,notFoundContent:Ee,className:dt,getPopupContainer:Q||c,dropdownClassName:tt,showArrow:ce||n,disabled:At}))},sr=f.forwardRef(Jn);sr.SECRET_COMBOBOX_MODE_DO_NOT_USE=ar,sr.Option=Mn,sr.OptGroup=sn;var Cr=sr},43358:function(gt,Se,o){"use strict";var b=o(38663),w=o.n(b),L=o(47323),Y=o.n(L),v=o(13254)},19214:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return R}});var b=o(22122),w=o(28991),L=o(28481),Y=o(81253),v=o(67294),E=o(94184),X=o.n(E),I=o(48717),g=o(8410),Ce=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],W=void 0;function f(S,B){var ie=S.prefixCls,Pe=S.invalidate,Fe=S.item,Ne=S.renderItem,ct=S.responsive,Ct=S.responsiveDisabled,Be=S.registerSize,Dt=S.itemKey,Lt=S.className,Bt=S.style,V=S.children,me=S.display,k=S.order,h=S.component,re=h===void 0?"div":h,U=(0,Y.Z)(S,Ce),J=ct&&!me;function D(Ie){Be(Dt,Ie)}v.useEffect(function(){return function(){D(null)}},[]);var G=Ne&&Fe!==W?Ne(Fe):V,q;Pe||(q={opacity:J?0:1,height:J?0:W,overflowY:J?"hidden":W,order:ct?k:W,pointerEvents:J?"none":W,position:J?"absolute":W});var ue={};J&&(ue["aria-hidden"]=!0);var oe=v.createElement(re,(0,b.Z)({className:X()(!Pe&&ie,Lt),style:(0,w.Z)((0,w.Z)({},q),Bt)},ue,U,{ref:B}),G);return ct&&(oe=v.createElement(I.Z,{onResize:function(ke){var Je=ke.offsetWidth;D(Je)},disabled:Ct},oe)),oe}var $e=v.forwardRef(f);$e.displayName="Item";var ot=$e,z=o(75164),nt=o(30470);function je(){var S=(0,nt.Z)({}),B=(0,L.Z)(S,2),ie=B[1],Pe=(0,v.useRef)([]),Fe=0,Ne=0;function ct(Ct){var Be=Fe;Fe+=1,Pe.current.length<Be+1&&(Pe.current[Be]=Ct);var Dt=Pe.current[Be];function Lt(Bt){Pe.current[Be]=typeof Bt=="function"?Bt(Pe.current[Be]):Bt,z.Z.cancel(Ne),Ne=(0,z.Z)(function(){ie({},!0)})}return[Dt,Lt]}return ct}var Ye=["component"],pt=["className"],we=["className"],st=function(B,ie){var Pe=v.useContext(yt);if(!Pe){var Fe=B.component,Ne=Fe===void 0?"div":Fe,ct=(0,Y.Z)(B,Ye);return v.createElement(Ne,(0,b.Z)({},ct,{ref:ie}))}var Ct=Pe.className,Be=(0,Y.Z)(Pe,pt),Dt=B.className,Lt=(0,Y.Z)(B,we);return v.createElement(yt.Provider,{value:null},v.createElement(ot,(0,b.Z)({ref:ie,className:X()(Ct,Dt)},Be,Lt)))},mt=v.forwardRef(st);mt.displayName="RawItem";var Ot=mt,at=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],yt=v.createContext(null),Pt="responsive",ye="invalidate";function Qe(S){return"+ ".concat(S.length," ...")}function Xe(S,B){var ie=S.prefixCls,Pe=ie===void 0?"rc-overflow":ie,Fe=S.data,Ne=Fe===void 0?[]:Fe,ct=S.renderItem,Ct=S.renderRawItem,Be=S.itemKey,Dt=S.itemWidth,Lt=Dt===void 0?10:Dt,Bt=S.ssr,V=S.style,me=S.className,k=S.maxCount,h=S.renderRest,re=S.renderRawRest,U=S.suffix,J=S.component,D=J===void 0?"div":J,G=S.itemComponent,q=S.onVisibleChange,ue=(0,Y.Z)(S,at),oe=je(),Ie=Bt==="full",ke=oe(null),Je=(0,L.Z)(ke,2),ft=Je[0],bt=Je[1],wt=ft||0,Zt=oe(new Map),un=(0,L.Z)(Zt,2),xt=un[0],ln=un[1],dn=oe(0),Yt=(0,L.Z)(dn,2),Nt=Yt[0],Ln=Yt[1],Jt=oe(0),vn=(0,L.Z)(Jt,2),qt=vn[0],kt=vn[1],wn=oe(0),ut=(0,L.Z)(wn,2),Mt=ut[0],Vn=ut[1],sn=(0,v.useState)(null),Et=(0,L.Z)(sn,2),Mn=Et[0],pn=Et[1],Hn=(0,v.useState)(null),Fn=(0,L.Z)(Hn,2),le=Fn[0],Wn=Fn[1],Xt=v.useMemo(function(){return le===null&&Ie?Number.MAX_SAFE_INTEGER:le||0},[le,ft]),Yn=(0,v.useState)(!1),mn=(0,L.Z)(Yn,2),Un=mn[0],zn=mn[1],hn="".concat(Pe,"-item"),Xn=Math.max(Nt,qt),en=k===Pt,Vt=Ne.length&&en,gn=k===ye,Zn=Vt||typeof k=="number"&&Ne.length>k,cn=(0,v.useMemo)(function(){var ae=Ne;return Vt?ft===null&&Ie?ae=Ne:ae=Ne.slice(0,Math.min(Ne.length,wt/Lt)):typeof k=="number"&&(ae=Ne.slice(0,k)),ae},[Ne,Lt,ft,k,Vt]),tn=(0,v.useMemo)(function(){return Vt?Ne.slice(Xt+1):Ne.slice(cn.length)},[Ne,cn,Vt,Xt]),Ht=(0,v.useCallback)(function(ae,Ze){var Ge;return typeof Be=="function"?Be(ae):(Ge=Be&&(ae==null?void 0:ae[Be]))!==null&&Ge!==void 0?Ge:Ze},[Be]),Gn=(0,v.useCallback)(ct||function(ae){return ae},[ct]);function yn(ae,Ze,Ge){le===ae&&(Ze===void 0||Ze===Mn)||(Wn(ae),Ge||(zn(ae<Ne.length-1),q==null||q(ae)),Ze!==void 0&&pn(Ze))}function Bn(ae,Ze){bt(Ze.clientWidth)}function _n(ae,Ze){ln(function(Ge){var Ft=new Map(Ge);return Ze===null?Ft.delete(ae):Ft.set(ae,Ze),Ft})}function kn(ae,Ze){kt(Ze),Ln(qt)}function rr(ae,Ze){Vn(Ze)}function Qn(ae){return xt.get(Ht(cn[ae],ae))}(0,g.Z)(function(){if(wt&&Xn&&cn){var ae=Mt,Ze=cn.length,Ge=Ze-1;if(!Ze){yn(0,null);return}for(var Ft=0;Ft<Ze;Ft+=1){var Gt=Qn(Ft);if(Ie&&(Gt=Gt||0),Gt===void 0){yn(Ft-1,void 0,!0);break}if(ae+=Gt,Ge===0&&ae<=wt||Ft===Ge-1&&ae+Qn(Ge)<=wt){yn(Ge,null);break}else if(ae+Xn>wt){yn(Ft-1,ae-Gt-Mt+qt);break}}U&&Qn(0)+Mt>wt&&pn(null)}},[wt,xt,qt,Mt,Ht,cn]);var Tn=Un&&!!tn.length,Rn={};Mn!==null&&Vt&&(Rn={position:"absolute",left:Mn,top:0});var En={prefixCls:hn,responsive:Vt,component:G,invalidate:gn},or=Ct?function(ae,Ze){var Ge=Ht(ae,Ze);return v.createElement(yt.Provider,{key:Ge,value:(0,w.Z)((0,w.Z)({},En),{},{order:Ze,item:ae,itemKey:Ge,registerSize:_n,display:Ze<=Xt})},Ct(ae,Ze))}:function(ae,Ze){var Ge=Ht(ae,Ze);return v.createElement(ot,(0,b.Z)({},En,{order:Ze,key:Ge,item:ae,renderItem:Gn,itemKey:Ge,registerSize:_n,display:Ze<=Xt}))},On,Sn={order:Tn?Xt:Number.MAX_SAFE_INTEGER,className:"".concat(hn,"-rest"),registerSize:kn,display:Tn};if(re)re&&(On=v.createElement(yt.Provider,{value:(0,w.Z)((0,w.Z)({},En),Sn)},re(tn)));else{var Oe=h||Qe;On=v.createElement(ot,(0,b.Z)({},En,Sn),typeof Oe=="function"?Oe(tn):Oe)}var qe=v.createElement(D,(0,b.Z)({className:X()(!gn&&Pe,me),style:V,ref:B},ue),cn.map(or),Zn?On:null,U&&v.createElement(ot,(0,b.Z)({},En,{responsive:en,responsiveDisabled:!Vt,order:Xt,className:"".concat(hn,"-suffix"),registerSize:rr,display:!0,style:Rn}),U));return en&&(qe=v.createElement(I.Z,{onResize:Bn,disabled:!Vt},qe)),qe}var y=v.forwardRef(Xe);y.displayName="Overflow",y.Item=Ot,y.RESPONSIVE=Pt,y.INVALIDATE=ye;var C=y,R=C},48717:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return Pt}});var b=o(22122),w=o(67294),L=o(50344),Y=o(80334),v=o(28991),E=o(42550),X=o(34203),I=o(91033),g=new Map;function Ce(ye){ye.forEach(function(Qe){var Xe,y=Qe.target;(Xe=g.get(y))===null||Xe===void 0||Xe.forEach(function(C){return C(y)})})}var W=new I.Z(Ce),f=null,$e=null;function ot(ye,Qe){g.has(ye)||(g.set(ye,new Set),W.observe(ye)),g.get(ye).add(Qe)}function z(ye,Qe){g.has(ye)&&(g.get(ye).delete(Qe),g.get(ye).size||(W.unobserve(ye),g.delete(ye)))}var nt=o(6610),je=o(5991),Ye=o(10379),pt=o(44144),we=function(ye){(0,Ye.Z)(Xe,ye);var Qe=(0,pt.Z)(Xe);function Xe(){return(0,nt.Z)(this,Xe),Qe.apply(this,arguments)}return(0,je.Z)(Xe,[{key:"render",value:function(){return this.props.children}}]),Xe}(w.Component),st=w.createContext(null);function mt(ye){var Qe=ye.children,Xe=ye.onBatchResize,y=w.useRef(0),C=w.useRef([]),R=w.useContext(st),S=w.useCallback(function(B,ie,Pe){y.current+=1;var Fe=y.current;C.current.push({size:B,element:ie,data:Pe}),Promise.resolve().then(function(){Fe===y.current&&(Xe==null||Xe(C.current),C.current=[])}),R==null||R(B,ie,Pe)},[Xe,R]);return w.createElement(st.Provider,{value:S},Qe)}function Ot(ye){var Qe=ye.children,Xe=ye.disabled,y=w.useRef(null),C=w.useRef(null),R=w.useContext(st),S=typeof Qe=="function",B=S?Qe(y):Qe,ie=w.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Pe=!S&&w.isValidElement(B)&&(0,E.Yr)(B),Fe=Pe?B.ref:null,Ne=w.useMemo(function(){return(0,E.sQ)(Fe,y)},[Fe,y]),ct=w.useRef(ye);ct.current=ye;var Ct=w.useCallback(function(Be){var Dt=ct.current,Lt=Dt.onResize,Bt=Dt.data,V=Be.getBoundingClientRect(),me=V.width,k=V.height,h=Be.offsetWidth,re=Be.offsetHeight,U=Math.floor(me),J=Math.floor(k);if(ie.current.width!==U||ie.current.height!==J||ie.current.offsetWidth!==h||ie.current.offsetHeight!==re){var D={width:U,height:J,offsetWidth:h,offsetHeight:re};ie.current=D;var G=h===Math.round(me)?me:h,q=re===Math.round(k)?k:re,ue=(0,v.Z)((0,v.Z)({},D),{},{offsetWidth:G,offsetHeight:q});R==null||R(ue,Be,Bt),Lt&&Promise.resolve().then(function(){Lt(ue,Be)})}},[]);return w.useEffect(function(){var Be=(0,X.Z)(y.current)||(0,X.Z)(C.current);return Be&&!Xe&&ot(Be,Ct),function(){return z(Be,Ct)}},[y.current,Xe]),w.createElement(we,{ref:C},Pe?w.cloneElement(B,{ref:Ne}):B)}var at="rc-observer-key";function yt(ye){var Qe=ye.children,Xe=typeof Qe=="function"?[Qe]:(0,L.Z)(Qe);return Xe.map(function(y,C){var R=(y==null?void 0:y.key)||"".concat(at,"-").concat(C);return w.createElement(Ot,(0,b.Z)({},ye,{key:R}),y)})}yt.Collection=mt;var Pt=yt},77787:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return Me}});var b=o(28991),w=o(22122),L=o(6610),Y=o(5991),v=o(63349),E=o(10379),X=o(44144),I=o(96156),g=o(67294),Ce=o(73935),W=o(75164),f=o(94999),$e=o(34203),ot=o(42550),z=o(64019),nt=o(98924),je=(0,g.forwardRef)(function(e,r){var n=e.didUpdate,a=e.getContainer,u=e.children,c=(0,g.useRef)(),t=(0,g.useRef)();(0,g.useImperativeHandle)(r,function(){return{}});var d=(0,g.useRef)(!1);return!d.current&&(0,nt.Z)()&&(t.current=a(),c.current=t.current.parentNode,d.current=!0),(0,g.useEffect)(function(){n==null||n(e)}),(0,g.useEffect)(function(){return t.current.parentNode===null&&c.current!==null&&c.current.appendChild(t.current),function(){var s,m;(s=t.current)===null||s===void 0||(m=s.parentNode)===null||m===void 0||m.removeChild(t.current)}},[]),t.current?Ce.createPortal(u,t.current):null}),Ye=je,pt=o(94184),we=o.n(pt);function st(e,r,n){return n?e[0]===r[0]:e[0]===r[0]&&e[1]===r[1]}function mt(e,r,n){var a=e[r]||{};return(0,b.Z)((0,b.Z)({},a),n)}function Ot(e,r,n,a){for(var u=n.points,c=Object.keys(e),t=0;t<c.length;t+=1){var d=c[t];if(st(e[d].points,u,a))return"".concat(r,"-placement-").concat(d)}return""}var at=o(28481),yt=o(81253),Pt=o(31131),ye=o(63441);function Qe(e){var r=e.prefixCls,n=e.motion,a=e.animation,u=e.transitionName;return n||(a?{motionName:"".concat(r,"-").concat(a)}:u?{motionName:u}:null)}function Xe(e){var r=e.prefixCls,n=e.visible,a=e.zIndex,u=e.mask,c=e.maskMotion,t=e.maskAnimation,d=e.maskTransitionName;if(!u)return null;var s={};return(c||d||t)&&(s=(0,b.Z)({motionAppear:!0},Qe({motion:c,prefixCls:r,transitionName:d,animation:t}))),g.createElement(ye.Z,(0,w.Z)({},s,{visible:n,removeOnLeave:!0}),function(m){var Z=m.className;return g.createElement("div",{style:{zIndex:a},className:we()("".concat(r,"-mask"),Z)})})}var y=o(90484);function C(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,a)}return n}function R(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?C(Object(n),!0).forEach(function(a){B(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function S(e){return S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},S(e)}function B(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var ie,Pe={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Fe(){if(ie!==void 0)return ie;ie="";var e=document.createElement("p").style,r="Transform";for(var n in Pe)n+r in e&&(ie=n);return ie}function Ne(){return Fe()?"".concat(Fe(),"TransitionProperty"):"transitionProperty"}function ct(){return Fe()?"".concat(Fe(),"Transform"):"transform"}function Ct(e,r){var n=Ne();n&&(e.style[n]=r,n!=="transitionProperty"&&(e.style.transitionProperty=r))}function Be(e,r){var n=ct();n&&(e.style[n]=r,n!=="transform"&&(e.style.transform=r))}function Dt(e){return e.style.transitionProperty||e.style[Ne()]}function Lt(e){var r=window.getComputedStyle(e,null),n=r.getPropertyValue("transform")||r.getPropertyValue(ct());if(n&&n!=="none"){var a=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(a[12]||a[4],0),y:parseFloat(a[13]||a[5],0)}}return{x:0,y:0}}var Bt=/matrix\((.*)\)/,V=/matrix3d\((.*)\)/;function me(e,r){var n=window.getComputedStyle(e,null),a=n.getPropertyValue("transform")||n.getPropertyValue(ct());if(a&&a!=="none"){var u,c=a.match(Bt);if(c)c=c[1],u=c.split(",").map(function(d){return parseFloat(d,10)}),u[4]=r.x,u[5]=r.y,Be(e,"matrix(".concat(u.join(","),")"));else{var t=a.match(V)[1];u=t.split(",").map(function(d){return parseFloat(d,10)}),u[12]=r.x,u[13]=r.y,Be(e,"matrix3d(".concat(u.join(","),")"))}}else Be(e,"translateX(".concat(r.x,"px) translateY(").concat(r.y,"px) translateZ(0)"))}var k=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,h;function re(e){var r=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=r}function U(e,r,n){var a=n;if(S(r)==="object"){for(var u in r)r.hasOwnProperty(u)&&U(e,u,r[u]);return}if(typeof a!="undefined"){typeof a=="number"&&(a="".concat(a,"px")),e.style[r]=a;return}return h(e,r)}function J(e){var r,n,a,u=e.ownerDocument,c=u.body,t=u&&u.documentElement;return r=e.getBoundingClientRect(),n=Math.floor(r.left),a=Math.floor(r.top),n-=t.clientLeft||c.clientLeft||0,a-=t.clientTop||c.clientTop||0,{left:n,top:a}}function D(e,r){var n=e["page".concat(r?"Y":"X","Offset")],a="scroll".concat(r?"Top":"Left");if(typeof n!="number"){var u=e.document;n=u.documentElement[a],typeof n!="number"&&(n=u.body[a])}return n}function G(e){return D(e)}function q(e){return D(e,!0)}function ue(e){var r=J(e),n=e.ownerDocument,a=n.defaultView||n.parentWindow;return r.left+=G(a),r.top+=q(a),r}function oe(e){return e!=null&&e==e.window}function Ie(e){return oe(e)?e.document:e.nodeType===9?e:e.ownerDocument}function ke(e,r,n){var a=n,u="",c=Ie(e);return a=a||c.defaultView.getComputedStyle(e,null),a&&(u=a.getPropertyValue(r)||a[r]),u}var Je=new RegExp("^(".concat(k,")(?!px)[a-z%]+$"),"i"),ft=/^(top|right|bottom|left)$/,bt="currentStyle",wt="runtimeStyle",Zt="left",un="px";function xt(e,r){var n=e[bt]&&e[bt][r];if(Je.test(n)&&!ft.test(r)){var a=e.style,u=a[Zt],c=e[wt][Zt];e[wt][Zt]=e[bt][Zt],a[Zt]=r==="fontSize"?"1em":n||0,n=a.pixelLeft+un,a[Zt]=u,e[wt][Zt]=c}return n===""?"auto":n}typeof window!="undefined"&&(h=window.getComputedStyle?ke:xt);function ln(e,r){return e==="left"?r.useCssRight?"right":e:r.useCssBottom?"bottom":e}function dn(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function Yt(e,r,n){U(e,"position")==="static"&&(e.style.position="relative");var a=-999,u=-999,c=ln("left",n),t=ln("top",n),d=dn(c),s=dn(t);c!=="left"&&(a=999),t!=="top"&&(u=999);var m="",Z=ue(e);("left"in r||"top"in r)&&(m=Dt(e)||"",Ct(e,"none")),"left"in r&&(e.style[d]="",e.style[c]="".concat(a,"px")),"top"in r&&(e.style[s]="",e.style[t]="".concat(u,"px")),re(e);var A=ue(e),P={};for(var x in r)if(r.hasOwnProperty(x)){var O=ln(x,n),H=x==="left"?a:u,te=Z[x]-A[x];O===x?P[O]=H+te:P[O]=H-te}U(e,P),re(e),("left"in r||"top"in r)&&Ct(e,m);var j={};for(var xe in r)if(r.hasOwnProperty(xe)){var Ve=ln(xe,n),rt=r[xe]-Z[xe];xe===Ve?j[Ve]=P[Ve]+rt:j[Ve]=P[Ve]-rt}U(e,j)}function Nt(e,r){var n=ue(e),a=Lt(e),u={x:a.x,y:a.y};"left"in r&&(u.x=a.x+r.left-n.left),"top"in r&&(u.y=a.y+r.top-n.top),me(e,u)}function Ln(e,r,n){if(n.ignoreShake){var a=ue(e),u=a.left.toFixed(0),c=a.top.toFixed(0),t=r.left.toFixed(0),d=r.top.toFixed(0);if(u===t&&c===d)return}n.useCssRight||n.useCssBottom?Yt(e,r,n):n.useCssTransform&&ct()in document.body.style?Nt(e,r):Yt(e,r,n)}function Jt(e,r){for(var n=0;n<e.length;n++)r(e[n])}function vn(e){return h(e,"boxSizing")==="border-box"}var qt=["margin","border","padding"],kt=-1,wn=2,ut=1,Mt=0;function Vn(e,r,n){var a={},u=e.style,c;for(c in r)r.hasOwnProperty(c)&&(a[c]=u[c],u[c]=r[c]);n.call(e);for(c in r)r.hasOwnProperty(c)&&(u[c]=a[c])}function sn(e,r,n){var a=0,u,c,t;for(c=0;c<r.length;c++)if(u=r[c],u)for(t=0;t<n.length;t++){var d=void 0;u==="border"?d="".concat(u).concat(n[t],"Width"):d=u+n[t],a+=parseFloat(h(e,d))||0}return a}var Et={getParent:function(r){var n=r;do n.nodeType===11&&n.host?n=n.host:n=n.parentNode;while(n&&n.nodeType!==1&&n.nodeType!==9);return n}};Jt(["Width","Height"],function(e){Et["doc".concat(e)]=function(r){var n=r.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Et["viewport".concat(e)](n))},Et["viewport".concat(e)]=function(r){var n="client".concat(e),a=r.document,u=a.body,c=a.documentElement,t=c[n];return a.compatMode==="CSS1Compat"&&t||u&&u[n]||t}});function Mn(e,r,n){var a=n;if(oe(e))return r==="width"?Et.viewportWidth(e):Et.viewportHeight(e);if(e.nodeType===9)return r==="width"?Et.docWidth(e):Et.docHeight(e);var u=r==="width"?["Left","Right"]:["Top","Bottom"],c=Math.floor(r==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),t=vn(e),d=0;(c==null||c<=0)&&(c=void 0,d=h(e,r),(d==null||Number(d)<0)&&(d=e.style[r]||0),d=Math.floor(parseFloat(d))||0),a===void 0&&(a=t?ut:kt);var s=c!==void 0||t,m=c||d;return a===kt?s?m-sn(e,["border","padding"],u):d:s?a===ut?m:m+(a===wn?-sn(e,["border"],u):sn(e,["margin"],u)):d+sn(e,qt.slice(a),u)}var pn={position:"absolute",visibility:"hidden",display:"block"};function Hn(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var a,u=r[0];return u.offsetWidth!==0?a=Mn.apply(void 0,r):Vn(u,pn,function(){a=Mn.apply(void 0,r)}),a}Jt(["width","height"],function(e){var r=e.charAt(0).toUpperCase()+e.slice(1);Et["outer".concat(r)]=function(a,u){return a&&Hn(a,e,u?Mt:ut)};var n=e==="width"?["Left","Right"]:["Top","Bottom"];Et[e]=function(a,u){var c=u;if(c!==void 0){if(a){var t=vn(a);return t&&(c+=sn(a,["padding","border"],n)),U(a,e,c)}return}return a&&Hn(a,e,kt)}});function Fn(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);return e}var le={getWindow:function(r){if(r&&r.document&&r.setTimeout)return r;var n=r.ownerDocument||r;return n.defaultView||n.parentWindow},getDocument:Ie,offset:function(r,n,a){if(typeof n!="undefined")Ln(r,n,a||{});else return ue(r)},isWindow:oe,each:Jt,css:U,clone:function(r){var n,a={};for(n in r)r.hasOwnProperty(n)&&(a[n]=r[n]);var u=r.overflow;if(u)for(n in r)r.hasOwnProperty(n)&&(a.overflow[n]=r.overflow[n]);return a},mix:Fn,getWindowScrollLeft:function(r){return G(r)},getWindowScrollTop:function(r){return q(r)},merge:function(){for(var r={},n=0;n<arguments.length;n++)le.mix(r,n<0||arguments.length<=n?void 0:arguments[n]);return r},viewportWidth:0,viewportHeight:0};Fn(le,Et);var Wn=le.getParent;function Xt(e){if(le.isWindow(e)||e.nodeType===9)return null;var r=le.getDocument(e),n=r.body,a,u=le.css(e,"position"),c=u==="fixed"||u==="absolute";if(!c)return e.nodeName.toLowerCase()==="html"?null:Wn(e);for(a=Wn(e);a&&a!==n&&a.nodeType!==9;a=Wn(a))if(u=le.css(a,"position"),u!=="static")return a;return null}var Yn=le.getParent;function mn(e){if(le.isWindow(e)||e.nodeType===9)return!1;var r=le.getDocument(e),n=r.body,a=null;for(a=Yn(e);a&&a!==n&&a!==r;a=Yn(a)){var u=le.css(a,"position");if(u==="fixed")return!0}return!1}function Un(e,r){for(var n={left:0,right:Infinity,top:0,bottom:Infinity},a=Xt(e),u=le.getDocument(e),c=u.defaultView||u.parentWindow,t=u.body,d=u.documentElement;a;){if((navigator.userAgent.indexOf("MSIE")===-1||a.clientWidth!==0)&&a!==t&&a!==d&&le.css(a,"overflow")!=="visible"){var s=le.offset(a);s.left+=a.clientLeft,s.top+=a.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+a.clientWidth),n.bottom=Math.min(n.bottom,s.top+a.clientHeight),n.left=Math.max(n.left,s.left)}else if(a===t||a===d)break;a=Xt(a)}var m=null;if(!le.isWindow(e)&&e.nodeType!==9){m=e.style.position;var Z=le.css(e,"position");Z==="absolute"&&(e.style.position="fixed")}var A=le.getWindowScrollLeft(c),P=le.getWindowScrollTop(c),x=le.viewportWidth(c),O=le.viewportHeight(c),H=d.scrollWidth,te=d.scrollHeight,j=window.getComputedStyle(t);if(j.overflowX==="hidden"&&(H=c.innerWidth),j.overflowY==="hidden"&&(te=c.innerHeight),e.style&&(e.style.position=m),r||mn(e))n.left=Math.max(n.left,A),n.top=Math.max(n.top,P),n.right=Math.min(n.right,A+x),n.bottom=Math.min(n.bottom,P+O);else{var xe=Math.max(H,A+x);n.right=Math.min(n.right,xe);var Ve=Math.max(te,P+O);n.bottom=Math.min(n.bottom,Ve)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function zn(e,r,n,a){var u=le.clone(e),c={width:r.width,height:r.height};return a.adjustX&&u.left<n.left&&(u.left=n.left),a.resizeWidth&&u.left>=n.left&&u.left+c.width>n.right&&(c.width-=u.left+c.width-n.right),a.adjustX&&u.left+c.width>n.right&&(u.left=Math.max(n.right-c.width,n.left)),a.adjustY&&u.top<n.top&&(u.top=n.top),a.resizeHeight&&u.top>=n.top&&u.top+c.height>n.bottom&&(c.height-=u.top+c.height-n.bottom),a.adjustY&&u.top+c.height>n.bottom&&(u.top=Math.max(n.bottom-c.height,n.top)),le.mix(u,c)}function hn(e){var r,n,a;if(!le.isWindow(e)&&e.nodeType!==9)r=le.offset(e),n=le.outerWidth(e),a=le.outerHeight(e);else{var u=le.getWindow(e);r={left:le.getWindowScrollLeft(u),top:le.getWindowScrollTop(u)},n=le.viewportWidth(u),a=le.viewportHeight(u)}return r.width=n,r.height=a,r}function Xn(e,r){var n=r.charAt(0),a=r.charAt(1),u=e.width,c=e.height,t=e.left,d=e.top;return n==="c"?d+=c/2:n==="b"&&(d+=c),a==="c"?t+=u/2:a==="r"&&(t+=u),{left:t,top:d}}function en(e,r,n,a,u){var c=Xn(r,n[1]),t=Xn(e,n[0]),d=[t.left-c.left,t.top-c.top];return{left:Math.round(e.left-d[0]+a[0]-u[0]),top:Math.round(e.top-d[1]+a[1]-u[1])}}function Vt(e,r,n){return e.left<n.left||e.left+r.width>n.right}function gn(e,r,n){return e.top<n.top||e.top+r.height>n.bottom}function Zn(e,r,n){return e.left>n.right||e.left+r.width<n.left}function cn(e,r,n){return e.top>n.bottom||e.top+r.height<n.top}function tn(e,r,n){var a=[];return le.each(e,function(u){a.push(u.replace(r,function(c){return n[c]}))}),a}function Ht(e,r){return e[r]=-e[r],e}function Gn(e,r){var n;return/%$/.test(e)?n=parseInt(e.substring(0,e.length-1),10)/100*r:n=parseInt(e,10),n||0}function yn(e,r){e[0]=Gn(e[0],r.width),e[1]=Gn(e[1],r.height)}function Bn(e,r,n,a){var u=n.points,c=n.offset||[0,0],t=n.targetOffset||[0,0],d=n.overflow,s=n.source||e;c=[].concat(c),t=[].concat(t),d=d||{};var m={},Z=0,A=!!(d&&d.alwaysByViewport),P=Un(s,A),x=hn(s);yn(c,x),yn(t,r);var O=en(x,r,u,c,t),H=le.merge(x,O);if(P&&(d.adjustX||d.adjustY)&&a){if(d.adjustX&&Vt(O,x,P)){var te=tn(u,/[lr]/gi,{l:"r",r:"l"}),j=Ht(c,0),xe=Ht(t,0),Ve=en(x,r,te,j,xe);Zn(Ve,x,P)||(Z=1,u=te,c=j,t=xe)}if(d.adjustY&&gn(O,x,P)){var rt=tn(u,/[tb]/gi,{t:"b",b:"t"}),We=Ht(c,1),ce=Ht(t,1),ne=en(x,r,rt,We,ce);cn(ne,x,P)||(Z=1,u=rt,c=We,t=ce)}Z&&(O=en(x,r,u,c,t),le.mix(H,O));var he=Vt(O,x,P),Te=gn(O,x,P);if(he||Te){var Ee=u;he&&(Ee=tn(u,/[lr]/gi,{l:"r",r:"l"})),Te&&(Ee=tn(u,/[tb]/gi,{t:"b",b:"t"})),u=Ee,c=n.offset||[0,0],t=n.targetOffset||[0,0]}m.adjustX=d.adjustX&&he,m.adjustY=d.adjustY&&Te,(m.adjustX||m.adjustY)&&(H=zn(O,x,P,m))}return H.width!==x.width&&le.css(s,"width",le.width(s)+H.width-x.width),H.height!==x.height&&le.css(s,"height",le.height(s)+H.height-x.height),le.offset(s,{left:H.left,top:H.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:u,offset:c,targetOffset:t,overflow:m}}function _n(e,r){var n=Un(e,r),a=hn(e);return!n||a.left+a.width<=n.left||a.top+a.height<=n.top||a.left>=n.right||a.top>=n.bottom}function kn(e,r,n){var a=n.target||r,u=hn(a),c=!_n(a,n.overflow&&n.overflow.alwaysByViewport);return Bn(e,u,n,c)}kn.__getOffsetParent=Xt,kn.__getVisibleRectForElement=Un;function rr(e,r,n){var a,u,c=le.getDocument(e),t=c.defaultView||c.parentWindow,d=le.getWindowScrollLeft(t),s=le.getWindowScrollTop(t),m=le.viewportWidth(t),Z=le.viewportHeight(t);"pageX"in r?a=r.pageX:a=d+r.clientX,"pageY"in r?u=r.pageY:u=s+r.clientY;var A={left:a,top:u,width:0,height:0},P=a>=0&&a<=d+m&&u>=0&&u<=s+Z,x=[n.points[0],"cc"];return Bn(e,A,R(R({},n),{},{points:x}),P)}var Qn=null,Tn=o(80334);function Rn(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=new Set;function u(c,t){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=a.has(c);if((0,Tn.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(c===t)return!0;if(n&&d>1)return!1;a.add(c);var m=d+1;if(Array.isArray(c)){if(!Array.isArray(t)||c.length!==t.length)return!1;for(var Z=0;Z<c.length;Z++)if(!u(c[Z],t[Z],m))return!1;return!0}if(c&&t&&(0,y.Z)(c)==="object"&&(0,y.Z)(t)==="object"){var A=Object.keys(c);return A.length!==Object.keys(t).length?!1:A.every(function(P){return u(c[P],t[P],m)})}return!1}return u(e,r)}var En=Rn,or=o(5110),On=o(8410),Sn=function(e,r){var n=g.useRef(!1),a=g.useRef(null);function u(){window.clearTimeout(a.current)}function c(t){if(u(),!n.current||t===!0){if(e(t)===!1)return;n.current=!0,a.current=window.setTimeout(function(){n.current=!1},r)}else a.current=window.setTimeout(function(){n.current=!1,c()},r)}return[c,function(){n.current=!1,u()}]},Oe=o(91033);function qe(e,r){return e===r?!0:!e||!r?!1:"pageX"in r&&"pageY"in r?e.pageX===r.pageX&&e.pageY===r.pageY:"clientX"in r&&"clientY"in r?e.clientX===r.clientX&&e.clientY===r.clientY:!1}function ae(e,r){e!==document.activeElement&&(0,f.Z)(r,e)&&typeof e.focus=="function"&&e.focus()}function Ze(e,r){var n=null,a=null;function u(t){var d=(0,at.Z)(t,1),s=d[0].target;if(!!document.documentElement.contains(s)){var m=s.getBoundingClientRect(),Z=m.width,A=m.height,P=Math.floor(Z),x=Math.floor(A);(n!==P||a!==x)&&Promise.resolve().then(function(){r({width:P,height:x})}),n=P,a=x}}var c=new Oe.Z(u);return e&&c.observe(e),function(){c.disconnect()}}function Ge(e){return typeof e!="function"?null:e()}function Ft(e){return(0,y.Z)(e)!=="object"||!e?null:e}var Gt=function(r,n){var a=r.children,u=r.disabled,c=r.target,t=r.align,d=r.onAlign,s=r.monitorWindowResize,m=r.monitorBufferTime,Z=m===void 0?0:m,A=g.useRef({}),P=g.useRef(),x=g.Children.only(a),O=g.useRef({});O.current.disabled=u,O.current.target=c,O.current.align=t,O.current.onAlign=d;var H=Sn(function(){var pe=O.current,et=pe.disabled,it=pe.target,Rt=pe.align,Ke=pe.onAlign,Ue=P.current;if(!et&&it&&Ue){var tt,ze=Ge(it),ht=Ft(it);A.current.element=ze,A.current.point=ht,A.current.align=Rt;var At=document,dt=At.activeElement;return ze&&(0,or.Z)(ze)?tt=kn(Ue,ze,Rt):ht&&(tt=rr(Ue,ht,Rt)),ae(dt,Ue),Ke&&tt&&Ke(Ue,tt),!0}return!1},Z),te=(0,at.Z)(H,2),j=te[0],xe=te[1],Ve=g.useState(),rt=(0,at.Z)(Ve,2),We=rt[0],ce=rt[1],ne=g.useState(),he=(0,at.Z)(ne,2),Te=he[0],Ee=he[1];return(0,On.Z)(function(){ce(Ge(c)),Ee(Ft(c))}),g.useEffect(function(){(A.current.element!==We||!qe(A.current.point,Te)||!En(A.current.align,t))&&j()}),g.useEffect(function(){var pe=Ze(P.current,j);return pe},[P.current]),g.useEffect(function(){var pe=Ze(We,j);return pe},[We]),g.useEffect(function(){u?xe():j()},[u]),g.useEffect(function(){if(s){var pe=(0,z.Z)(window,"resize",j);return pe.remove}},[s]),g.useEffect(function(){return function(){xe()}},[]),g.useImperativeHandle(n,function(){return{forceAlign:function(){return j(!0)}}}),g.isValidElement(x)&&(x=g.cloneElement(x,{ref:(0,ot.sQ)(x.ref,P)})),x},lr=g.forwardRef(Gt);lr.displayName="Align";var dr=lr,ar=dr,Jn=o(55507),sr=o(92137),Cr=o(30470),l=["measure","alignPre","align",null,"motion"],i=function(e,r){var n=(0,Cr.Z)(null),a=(0,at.Z)(n,2),u=a[0],c=a[1],t=(0,g.useRef)();function d(Z){c(Z,!0)}function s(){W.Z.cancel(t.current)}function m(Z){s(),t.current=(0,W.Z)(function(){d(function(A){switch(u){case"align":return"motion";case"motion":return"stable";default:}return A}),Z==null||Z()})}return(0,g.useEffect)(function(){d("measure")},[e]),(0,g.useEffect)(function(){switch(u){case"measure":r();break;default:}u&&(t.current=(0,W.Z)((0,sr.Z)((0,Jn.Z)().mark(function Z(){var A,P;return(0,Jn.Z)().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:A=l.indexOf(u),P=l[A+1],P&&A!==-1&&d(P);case 3:case"end":return O.stop()}},Z)}))))},[u]),(0,g.useEffect)(function(){return function(){s()}},[]),[u,m]},M=function(e){var r=g.useState({width:0,height:0}),n=(0,at.Z)(r,2),a=n[0],u=n[1];function c(d){var s=d.offsetWidth,m=d.offsetHeight,Z=d.getBoundingClientRect(),A=Z.width,P=Z.height;Math.abs(s-A)<1&&Math.abs(m-P)<1&&(s=A,m=P),u({width:s,height:m})}var t=g.useMemo(function(){var d={};if(e){var s=a.width,m=a.height;e.indexOf("height")!==-1&&m?d.height=m:e.indexOf("minHeight")!==-1&&m&&(d.minHeight=m),e.indexOf("width")!==-1&&s?d.width=s:e.indexOf("minWidth")!==-1&&s&&(d.minWidth=s)}return d},[e,a]);return[t,c]},p=g.forwardRef(function(e,r){var n=e.visible,a=e.prefixCls,u=e.className,c=e.style,t=e.children,d=e.zIndex,s=e.stretch,m=e.destroyPopupOnHide,Z=e.forceRender,A=e.align,P=e.point,x=e.getRootDomNode,O=e.getClassNameFromAlign,H=e.onAlign,te=e.onMouseEnter,j=e.onMouseLeave,xe=e.onMouseDown,Ve=e.onTouchStart,rt=e.onClick,We=(0,g.useRef)(),ce=(0,g.useRef)(),ne=(0,g.useState)(),he=(0,at.Z)(ne,2),Te=he[0],Ee=he[1],pe=M(s),et=(0,at.Z)(pe,2),it=et[0],Rt=et[1];function Ke(){s&&Rt(x())}var Ue=i(n,Ke),tt=(0,at.Z)(Ue,2),ze=tt[0],ht=tt[1],At=(0,g.useState)(0),dt=(0,at.Z)(At,2),_e=dt[0],Wt=dt[1],Ut=(0,g.useRef)();(0,On.Z)(function(){ze==="alignPre"&&Wt(0)},[ze]);function Kt(){return P||x}function Pn(){var St;(St=We.current)===null||St===void 0||St.forceAlign()}function Kn(St,Qt){var Cn=O(Qt);Te!==Cn&&Ee(Cn),Wt(function(on){return on+1}),ze==="align"&&(H==null||H(St,Qt))}(0,On.Z)(function(){ze==="align"&&(_e<3?Pn():ht(function(){var St;(St=Ut.current)===null||St===void 0||St.call(Ut)}))},[_e]);var $t=(0,b.Z)({},Qe(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(St){var Qt=$t[St];$t[St]=function(Cn,on){return ht(),Qt==null?void 0:Qt(Cn,on)}});function nn(){return new Promise(function(St){Ut.current=St})}g.useEffect(function(){!$t.motionName&&ze==="motion"&&ht()},[$t.motionName,ze]),g.useImperativeHandle(r,function(){return{forceAlign:Pn,getElement:function(){return ce.current}}});var xn=(0,b.Z)((0,b.Z)({},it),{},{zIndex:d,opacity:ze==="motion"||ze==="stable"||!n?void 0:0,pointerEvents:!n&&ze!=="stable"?"none":void 0},c),rn=!0;A!=null&&A.points&&(ze==="align"||ze==="stable")&&(rn=!1);var _t=t;return g.Children.count(t)>1&&(_t=g.createElement("div",{className:"".concat(a,"-content")},t)),g.createElement(ye.Z,(0,w.Z)({visible:n,ref:ce,leavedClassName:"".concat(a,"-hidden")},$t,{onAppearPrepare:nn,onEnterPrepare:nn,removeOnLeave:m,forceRender:Z}),function(St,Qt){var Cn=St.className,on=St.style,vr=we()(a,u,Te,Cn);return g.createElement(ar,{target:Kt(),key:"popup",ref:We,monitorWindowResize:!0,disabled:rn,align:A,onAlign:Kn},g.createElement("div",{ref:Qt,className:vr,onMouseEnter:te,onMouseLeave:j,onMouseDownCapture:xe,onTouchStartCapture:Ve,onClick:rt,style:(0,b.Z)((0,b.Z)({},on),xn)},_t))})});p.displayName="PopupInner";var N=p,T=g.forwardRef(function(e,r){var n=e.prefixCls,a=e.visible,u=e.zIndex,c=e.children,t=e.mobile;t=t===void 0?{}:t;var d=t.popupClassName,s=t.popupStyle,m=t.popupMotion,Z=m===void 0?{}:m,A=t.popupRender,P=e.onClick,x=g.useRef();g.useImperativeHandle(r,function(){return{forceAlign:function(){},getElement:function(){return x.current}}});var O=(0,b.Z)({zIndex:u},s),H=c;return g.Children.count(c)>1&&(H=g.createElement("div",{className:"".concat(n,"-content")},c)),A&&(H=A(H)),g.createElement(ye.Z,(0,w.Z)({visible:a,ref:x,removeOnLeave:!0},Z),function(te,j){var xe=te.className,Ve=te.style,rt=we()(n,d,xe);return g.createElement("div",{ref:j,className:rt,onClick:P,style:(0,b.Z)((0,b.Z)({},Ve),O)},H)})});T.displayName="MobilePopupInner";var $=T,_=["visible","mobile"],Q=g.forwardRef(function(e,r){var n=e.visible,a=e.mobile,u=(0,yt.Z)(e,_),c=(0,g.useState)(n),t=(0,at.Z)(c,2),d=t[0],s=t[1],m=(0,g.useState)(!1),Z=(0,at.Z)(m,2),A=Z[0],P=Z[1],x=(0,b.Z)((0,b.Z)({},u),{},{visible:d});(0,g.useEffect)(function(){s(n),n&&a&&P((0,Pt.Z)())},[n,a]);var O=A?g.createElement($,(0,w.Z)({},x,{mobile:a,ref:r})):g.createElement(N,(0,w.Z)({},x,{ref:r}));return g.createElement("div",null,g.createElement(Xe,x),O)});Q.displayName="Popup";var se=Q,fe=g.createContext(null),K=fe;function ee(){}function F(){return""}function ve(e){return e?e.ownerDocument:window.document}var Ae=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function He(e){var r=function(n){(0,E.Z)(u,n);var a=(0,X.Z)(u);function u(c){var t;(0,L.Z)(this,u),t=a.call(this,c),(0,I.Z)((0,v.Z)(t),"popupRef",g.createRef()),(0,I.Z)((0,v.Z)(t),"triggerRef",g.createRef()),(0,I.Z)((0,v.Z)(t),"portalContainer",void 0),(0,I.Z)((0,v.Z)(t),"attachId",void 0),(0,I.Z)((0,v.Z)(t),"clickOutsideHandler",void 0),(0,I.Z)((0,v.Z)(t),"touchOutsideHandler",void 0),(0,I.Z)((0,v.Z)(t),"contextMenuOutsideHandler1",void 0),(0,I.Z)((0,v.Z)(t),"contextMenuOutsideHandler2",void 0),(0,I.Z)((0,v.Z)(t),"mouseDownTimeout",void 0),(0,I.Z)((0,v.Z)(t),"focusTime",void 0),(0,I.Z)((0,v.Z)(t),"preClickTime",void 0),(0,I.Z)((0,v.Z)(t),"preTouchTime",void 0),(0,I.Z)((0,v.Z)(t),"delayTimer",void 0),(0,I.Z)((0,v.Z)(t),"hasPopupMouseDown",void 0),(0,I.Z)((0,v.Z)(t),"onMouseEnter",function(s){var m=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",s),t.delaySetPopupVisible(!0,m,m?null:s)}),(0,I.Z)((0,v.Z)(t),"onMouseMove",function(s){t.fireEvents("onMouseMove",s),t.setPoint(s)}),(0,I.Z)((0,v.Z)(t),"onMouseLeave",function(s){t.fireEvents("onMouseLeave",s),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)}),(0,I.Z)((0,v.Z)(t),"onPopupMouseEnter",function(){t.clearDelayTimer()}),(0,I.Z)((0,v.Z)(t),"onPopupMouseLeave",function(s){var m;s.relatedTarget&&!s.relatedTarget.setTimeout&&(0,f.Z)((m=t.popupRef.current)===null||m===void 0?void 0:m.getElement(),s.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)}),(0,I.Z)((0,v.Z)(t),"onFocus",function(s){t.fireEvents("onFocus",s),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))}),(0,I.Z)((0,v.Z)(t),"onMouseDown",function(s){t.fireEvents("onMouseDown",s),t.preClickTime=Date.now()}),(0,I.Z)((0,v.Z)(t),"onTouchStart",function(s){t.fireEvents("onTouchStart",s),t.preTouchTime=Date.now()}),(0,I.Z)((0,v.Z)(t),"onBlur",function(s){t.fireEvents("onBlur",s),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)}),(0,I.Z)((0,v.Z)(t),"onContextMenu",function(s){s.preventDefault(),t.fireEvents("onContextMenu",s),t.setPopupVisible(!0,s)}),(0,I.Z)((0,v.Z)(t),"onContextMenuClose",function(){t.isContextMenuToShow()&&t.close()}),(0,I.Z)((0,v.Z)(t),"onClick",function(s){if(t.fireEvents("onClick",s),t.focusTime){var m;if(t.preClickTime&&t.preTouchTime?m=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?m=t.preClickTime:t.preTouchTime&&(m=t.preTouchTime),Math.abs(m-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&s&&s.preventDefault&&s.preventDefault();var Z=!t.state.popupVisible;(t.isClickToHide()&&!Z||Z&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,s)}),(0,I.Z)((0,v.Z)(t),"onPopupMouseDown",function(){if(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout(function(){t.hasPopupMouseDown=!1},0),t.context){var s;(s=t.context).onPopupMouseDown.apply(s,arguments)}}),(0,I.Z)((0,v.Z)(t),"onDocumentClick",function(s){if(!(t.props.mask&&!t.props.maskClosable)){var m=s.target,Z=t.getRootDomNode(),A=t.getPopupDomNode();(!(0,f.Z)(Z,m)||t.isContextMenuOnly())&&!(0,f.Z)(A,m)&&!t.hasPopupMouseDown&&t.close()}}),(0,I.Z)((0,v.Z)(t),"getRootDomNode",function(){var s=t.props.getTriggerDOMNode;if(s)return s(t.triggerRef.current);try{var m=(0,$e.Z)(t.triggerRef.current);if(m)return m}catch(Z){}return Ce.findDOMNode((0,v.Z)(t))}),(0,I.Z)((0,v.Z)(t),"getPopupClassNameFromAlign",function(s){var m=[],Z=t.props,A=Z.popupPlacement,P=Z.builtinPlacements,x=Z.prefixCls,O=Z.alignPoint,H=Z.getPopupClassNameFromAlign;return A&&P&&m.push(Ot(P,x,s,O)),H&&m.push(H(s)),m.join(" ")}),(0,I.Z)((0,v.Z)(t),"getComponent",function(){var s=t.props,m=s.prefixCls,Z=s.destroyPopupOnHide,A=s.popupClassName,P=s.onPopupAlign,x=s.popupMotion,O=s.popupAnimation,H=s.popupTransitionName,te=s.popupStyle,j=s.mask,xe=s.maskAnimation,Ve=s.maskTransitionName,rt=s.maskMotion,We=s.zIndex,ce=s.popup,ne=s.stretch,he=s.alignPoint,Te=s.mobile,Ee=s.forceRender,pe=s.onPopupClick,et=t.state,it=et.popupVisible,Rt=et.point,Ke=t.getPopupAlign(),Ue={};return t.isMouseEnterToShow()&&(Ue.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(Ue.onMouseLeave=t.onPopupMouseLeave),Ue.onMouseDown=t.onPopupMouseDown,Ue.onTouchStart=t.onPopupMouseDown,g.createElement(se,(0,w.Z)({prefixCls:m,destroyPopupOnHide:Z,visible:it,point:he&&Rt,className:A,align:Ke,onAlign:P,animation:O,getClassNameFromAlign:t.getPopupClassNameFromAlign},Ue,{stretch:ne,getRootDomNode:t.getRootDomNode,style:te,mask:j,zIndex:We,transitionName:H,maskAnimation:xe,maskTransitionName:Ve,maskMotion:rt,ref:t.popupRef,motion:x,mobile:Te,forceRender:Ee,onClick:pe}),typeof ce=="function"?ce():ce)}),(0,I.Z)((0,v.Z)(t),"attachParent",function(s){W.Z.cancel(t.attachId);var m=t.props,Z=m.getPopupContainer,A=m.getDocument,P=t.getRootDomNode(),x;Z?(P||Z.length===0)&&(x=Z(P)):x=A(t.getRootDomNode()).body,x?x.appendChild(s):t.attachId=(0,W.Z)(function(){t.attachParent(s)})}),(0,I.Z)((0,v.Z)(t),"getContainer",function(){if(!t.portalContainer){var s=t.props.getDocument,m=s(t.getRootDomNode()).createElement("div");m.style.position="absolute",m.style.top="0",m.style.left="0",m.style.width="100%",t.portalContainer=m}return t.attachParent(t.portalContainer),t.portalContainer}),(0,I.Z)((0,v.Z)(t),"setPoint",function(s){var m=t.props.alignPoint;!m||!s||t.setState({point:{pageX:s.pageX,pageY:s.pageY}})}),(0,I.Z)((0,v.Z)(t),"handlePortalUpdate",function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)}),(0,I.Z)((0,v.Z)(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown});var d;return"popupVisible"in c?d=!!c.popupVisible:d=!!c.defaultPopupVisible,t.state={prevPopupVisible:d,popupVisible:d},Ae.forEach(function(s){t["fire".concat(s)]=function(m){t.fireEvents(s,m)}}),t}return(0,Y.Z)(u,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var t=this.props,d=this.state;if(d.popupVisible){var s;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(s=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,z.Z)(s,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(s=s||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,z.Z)(s,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(s=s||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,z.Z)(s,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,z.Z)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),W.Z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var t;return((t=this.popupRef.current)===null||t===void 0?void 0:t.getElement())||null}},{key:"getPopupAlign",value:function(){var t=this.props,d=t.popupPlacement,s=t.popupAlign,m=t.builtinPlacements;return d&&m?mt(m,d,s):s}},{key:"setPopupVisible",value:function(t,d){var s=this.props.alignPoint,m=this.state.popupVisible;this.clearDelayTimer(),m!==t&&("popupVisible"in this.props||this.setState({popupVisible:t,prevPopupVisible:m}),this.props.onPopupVisibleChange(t)),s&&d&&t&&this.setPoint(d)}},{key:"delaySetPopupVisible",value:function(t,d,s){var m=this,Z=d*1e3;if(this.clearDelayTimer(),Z){var A=s?{pageX:s.pageX,pageY:s.pageY}:null;this.delayTimer=window.setTimeout(function(){m.setPopupVisible(t,A),m.clearDelayTimer()},Z)}else this.setPopupVisible(t,s)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(t){var d=this.props.children.props,s=this.props;return d[t]&&s[t]?this["fire".concat(t)]:d[t]||s[t]}},{key:"isClickToShow",value:function(){var t=this.props,d=t.action,s=t.showAction;return d.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var t=this.props.action;return t==="contextMenu"||t.length===1&&t[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var t=this.props,d=t.action,s=t.showAction;return d.indexOf("contextMenu")!==-1||s.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var t=this.props,d=t.action,s=t.hideAction;return d.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var t=this.props,d=t.action,s=t.showAction;return d.indexOf("hover")!==-1||s.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var t=this.props,d=t.action,s=t.hideAction;return d.indexOf("hover")!==-1||s.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var t=this.props,d=t.action,s=t.showAction;return d.indexOf("focus")!==-1||s.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var t=this.props,d=t.action,s=t.hideAction;return d.indexOf("focus")!==-1||s.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var t;(t=this.popupRef.current)===null||t===void 0||t.forceAlign()}}},{key:"fireEvents",value:function(t,d){var s=this.props.children.props[t];s&&s(d);var m=this.props[t];m&&m(d)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,d=this.props,s=d.children,m=d.forceRender,Z=d.alignPoint,A=d.className,P=d.autoDestroy,x=g.Children.only(s),O={key:"trigger"};this.isContextMenuToShow()?O.onContextMenu=this.onContextMenu:O.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(O.onClick=this.onClick,O.onMouseDown=this.onMouseDown,O.onTouchStart=this.onTouchStart):(O.onClick=this.createTwoChains("onClick"),O.onMouseDown=this.createTwoChains("onMouseDown"),O.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(O.onMouseEnter=this.onMouseEnter,Z&&(O.onMouseMove=this.onMouseMove)):O.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?O.onMouseLeave=this.onMouseLeave:O.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(O.onFocus=this.onFocus,O.onBlur=this.onBlur):(O.onFocus=this.createTwoChains("onFocus"),O.onBlur=this.createTwoChains("onBlur"));var H=we()(x&&x.props&&x.props.className,A);H&&(O.className=H);var te=(0,b.Z)({},O);(0,ot.Yr)(x)&&(te.ref=(0,ot.sQ)(this.triggerRef,x.ref));var j=g.cloneElement(x,te),xe;return(t||this.popupRef.current||m)&&(xe=g.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&P&&(xe=null),g.createElement(K.Provider,{value:this.triggerContextValue},j,xe)}}],[{key:"getDerivedStateFromProps",value:function(t,d){var s=t.popupVisible,m={};return s!==void 0&&d.popupVisible!==s&&(m.popupVisible=s,m.prevPopupVisible=d.popupVisible),m}}]),u}(g.Component);return(0,I.Z)(r,"contextType",K),(0,I.Z)(r,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:F,getDocument:ve,onPopupVisibleChange:ee,afterPopupVisibleChange:ee,onPopupAlign:ee,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),r}var Me=He(Ye)},64019:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return w}});var b=o(73935);function w(L,Y,v,E){var X=b.unstable_batchedUpdates?function(g){b.unstable_batchedUpdates(v,g)}:v;return L.addEventListener&&L.addEventListener(Y,X,E),{remove:function(){L.removeEventListener&&L.removeEventListener(Y,X,E)}}}},5110:function(gt,Se){"use strict";Se.Z=function(o){if(!o)return!1;if(o instanceof HTMLElement&&o.offsetParent)return!0;if(o instanceof SVGGraphicsElement&&o.getBBox){var b=o.getBBox(),w=b.width,L=b.height;if(w||L)return!0}if(o instanceof HTMLElement&&o.getBoundingClientRect){var Y=o.getBoundingClientRect(),v=Y.width,E=Y.height;if(v||E)return!0}return!1}},15105:function(gt,Se){"use strict";var o={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(w){var L=w.keyCode;if(w.altKey&&!w.ctrlKey||w.metaKey||L>=o.F1&&L<=o.F12)return!1;switch(L){case o.ALT:case o.CAPS_LOCK:case o.CONTEXT_MENU:case o.CTRL:case o.DOWN:case o.END:case o.ESC:case o.HOME:case o.INSERT:case o.LEFT:case o.MAC_FF_META:case o.META:case o.NUMLOCK:case o.NUM_CENTER:case o.PAGE_DOWN:case o.PAGE_UP:case o.PAUSE:case o.PRINT_SCREEN:case o.RIGHT:case o.SHIFT:case o.UP:case o.WIN_KEY:case o.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(w){if(w>=o.ZERO&&w<=o.NINE||w>=o.NUM_ZERO&&w<=o.NUM_MULTIPLY||w>=o.A&&w<=o.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&w===0)return!0;switch(w){case o.SPACE:case o.QUESTION_MARK:case o.NUM_PLUS:case o.NUM_MINUS:case o.NUM_PERIOD:case o.NUM_DIVISION:case o.SEMICOLON:case o.DASH:case o.EQUALS:case o.COMMA:case o.PERIOD:case o.SLASH:case o.APOSTROPHE:case o.SINGLE_QUOTE:case o.OPEN_SQUARE_BRACKET:case o.BACKSLASH:case o.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Se.Z=o},66680:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return w}});var b=o(67294);function w(L){var Y=b.useRef();Y.current=L;var v=b.useCallback(function(){for(var E,X=arguments.length,I=new Array(X),g=0;g<X;g++)I[g]=arguments[g];return(E=Y.current)===null||E===void 0?void 0:E.call.apply(E,[Y].concat(I))},[]);return v}},8410:function(gt,Se,o){"use strict";o.d(Se,{o:function(){return Y}});var b=o(67294),w=o(98924),L=(0,w.Z)()?b.useLayoutEffect:b.useEffect;Se.Z=L;var Y=function(E,X){var I=b.useRef(!0);L(function(){if(!I.current)return E()},X),L(function(){return I.current=!1,function(){I.current=!0}},[])}},21770:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return E}});var b=o(28481),w=o(66680),L=o(8410),Y=o(30470);function v(X){return X!==void 0}function E(X,I){var g=I||{},Ce=g.defaultValue,W=g.value,f=g.onChange,$e=g.postState,ot=(0,Y.Z)(function(){return v(W)?W:v(Ce)?typeof Ce=="function"?Ce():Ce:typeof X=="function"?X():X}),z=(0,b.Z)(ot,2),nt=z[0],je=z[1],Ye=W!==void 0?W:nt,pt=$e?$e(Ye):Ye,we=(0,w.Z)(f),st=(0,Y.Z)([Ye]),mt=(0,b.Z)(st,2),Ot=mt[0],at=mt[1];(0,L.o)(function(){var Pt=Ot[0];nt!==Pt&&we(nt,Pt)},[Ot]),(0,L.o)(function(){v(W)||je(W)},[W]);var yt=(0,w.Z)(function(Pt,ye){je(Pt,ye),at([Ye],ye)});return[pt,yt]}},31131:function(gt,Se){"use strict";Se.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var o=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(o)||/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(o==null?void 0:o.substr(0,4))}},64217:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return I}});var b=o(28991),w=`accept acceptCharset accessKey action allowFullScreen allowTransparency
  4. alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
  5. charSet checked classID className colSpan cols content contentEditable contextMenu
  6. controls coords crossOrigin data dateTime default defer dir disabled download draggable
  7. encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
  8. headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
  9. is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
  10. mediaGroup method min minLength multiple muted name noValidate nonce open
  11. optimum pattern placeholder poster preload radioGroup readOnly rel required
  12. reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
  13. shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
  14. summary tabIndex target title type useMap value width wmode wrap`,L=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
  15. onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
  16. onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
  17. onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
  18. onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
  19. onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
  20. onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Y="".concat(w," ").concat(L).split(/[\s\n]+/),v="aria-",E="data-";function X(g,Ce){return g.indexOf(Ce)===0}function I(g){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W;Ce===!1?W={aria:!0,data:!0,attr:!0}:Ce===!0?W={aria:!0}:W=(0,b.Z)({},Ce);var f={};return Object.keys(g).forEach(function($e){(W.aria&&($e==="role"||X($e,v))||W.data&&X($e,E)||W.attr&&Y.includes($e))&&(f[$e]=g[$e])}),f}},7606:function(gt,Se,o){"use strict";o.d(Se,{Z:function(){return Bt}});var b=o(22122),w=o(96156),L=o(28991),Y=o(28481),v=o(81253),E=o(67294),X=o(94184),I=o.n(X),g=o(48717),Ce=E.forwardRef(function(V,me){var k=V.height,h=V.offset,re=V.children,U=V.prefixCls,J=V.onInnerResize,D=V.innerProps,G={},q={display:"flex",flexDirection:"column"};return h!==void 0&&(G={height:k,position:"relative",overflow:"hidden"},q=(0,L.Z)((0,L.Z)({},q),{},{transform:"translateY(".concat(h,"px)"),position:"absolute",left:0,right:0,top:0})),E.createElement("div",{style:G},E.createElement(g.Z,{onResize:function(oe){var Ie=oe.offsetHeight;Ie&&J&&J()}},E.createElement("div",(0,b.Z)({style:q,className:I()((0,w.Z)({},"".concat(U,"-holder-inner"),U)),ref:me},D),re)))});Ce.displayName="Filler";var W=Ce,f=o(6610),$e=o(5991),ot=o(10379),z=o(44144),nt=o(75164),je=20;function Ye(V){return"touches"in V?V.touches[0].pageY:V.pageY}var pt=function(V){(0,ot.Z)(k,V);var me=(0,z.Z)(k);function k(){var h;(0,f.Z)(this,k);for(var re=arguments.length,U=new Array(re),J=0;J<re;J++)U[J]=arguments[J];return h=me.call.apply(me,[this].concat(U)),h.moveRaf=null,h.scrollbarRef=E.createRef(),h.thumbRef=E.createRef(),h.visibleTimeout=null,h.state={dragging:!1,pageY:null,startTop:null,visible:!1},h.delayHidden=function(){clearTimeout(h.visibleTimeout),h.setState({visible:!0}),h.visibleTimeout=setTimeout(function(){h.setState({visible:!1})},2e3)},h.onScrollbarTouchStart=function(D){D.preventDefault()},h.onContainerMouseDown=function(D){D.stopPropagation(),D.preventDefault()},h.patchEvents=function(){window.addEventListener("mousemove",h.onMouseMove),window.addEventListener("mouseup",h.onMouseUp),h.thumbRef.current.addEventListener("touchmove",h.onMouseMove),h.thumbRef.current.addEventListener("touchend",h.onMouseUp)},h.removeEvents=function(){var D;window.removeEventListener("mousemove",h.onMouseMove),window.removeEventListener("mouseup",h.onMouseUp),(D=h.scrollbarRef.current)===null||D===void 0||D.removeEventListener("touchstart",h.onScrollbarTouchStart),h.thumbRef.current&&(h.thumbRef.current.removeEventListener("touchstart",h.onMouseDown),h.thumbRef.current.removeEventListener("touchmove",h.onMouseMove),h.thumbRef.current.removeEventListener("touchend",h.onMouseUp)),nt.Z.cancel(h.moveRaf)},h.onMouseDown=function(D){var G=h.props.onStartMove;h.setState({dragging:!0,pageY:Ye(D),startTop:h.getTop()}),G(),h.patchEvents(),D.stopPropagation(),D.preventDefault()},h.onMouseMove=function(D){var G=h.state,q=G.dragging,ue=G.pageY,oe=G.startTop,Ie=h.props.onScroll;if(nt.Z.cancel(h.moveRaf),q){var ke=Ye(D)-ue,Je=oe+ke,ft=h.getEnableScrollRange(),bt=h.getEnableHeightRange(),wt=bt?Je/bt:0,Zt=Math.ceil(wt*ft);h.moveRaf=(0,nt.Z)(function(){Ie(Zt)})}},h.onMouseUp=function(){var D=h.props.onStopMove;h.setState({dragging:!1}),D(),h.removeEvents()},h.getSpinHeight=function(){var D=h.props,G=D.height,q=D.count,ue=G/q*10;return ue=Math.max(ue,je),ue=Math.min(ue,G/2),Math.floor(ue)},h.getEnableScrollRange=function(){var D=h.props,G=D.scrollHeight,q=D.height;return G-q||0},h.getEnableHeightRange=function(){var D=h.props.height,G=h.getSpinHeight();return D-G||0},h.getTop=function(){var D=h.props.scrollTop,G=h.getEnableScrollRange(),q=h.getEnableHeightRange();if(D===0||G===0)return 0;var ue=D/G;return ue*q},h.showScroll=function(){var D=h.props,G=D.height,q=D.scrollHeight;return q>G},h}return(0,$e.Z)(k,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(re){re.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var re=this.state,U=re.dragging,J=re.visible,D=this.props.prefixCls,G=this.getSpinHeight(),q=this.getTop(),ue=this.showScroll(),oe=ue&&J;return E.createElement("div",{ref:this.scrollbarRef,className:I()("".concat(D,"-scrollbar"),(0,w.Z)({},"".concat(D,"-scrollbar-show"),ue)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:oe?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},E.createElement("div",{ref:this.thumbRef,className:I()("".concat(D,"-scrollbar-thumb"),(0,w.Z)({},"".concat(D,"-scrollbar-thumb-moving"),U)),style:{width:"100%",height:G,top:q,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),k}(E.Component);function we(V){var me=V.children,k=V.setRef,h=E.useCallback(function(re){k(re)},[]);return E.cloneElement(me,{ref:h})}function st(V,me,k,h,re,U){var J=U.getKey;return V.slice(me,k+1).map(function(D,G){var q=me+G,ue=re(D,q,{}),oe=J(D);return E.createElement(we,{key:oe,setRef:function(ke){return h(D,ke)}},ue)})}var mt=o(34203),Ot=function(){function V(){(0,f.Z)(this,V),this.maps=void 0,this.maps=Object.create(null)}return(0,$e.Z)(V,[{key:"set",value:function(k,h){this.maps[k]=h}},{key:"get",value:function(k){return this.maps[k]}}]),V}(),at=Ot;function yt(V,me,k){var h=E.useState(0),re=(0,Y.Z)(h,2),U=re[0],J=re[1],D=(0,E.useRef)(new Map),G=(0,E.useRef)(new at),q=(0,E.useRef)();function ue(){nt.Z.cancel(q.current)}function oe(){ue(),q.current=(0,nt.Z)(function(){D.current.forEach(function(ke,Je){if(ke&&ke.offsetParent){var ft=(0,mt.Z)(ke),bt=ft.offsetHeight;G.current.get(Je)!==bt&&G.current.set(Je,ft.offsetHeight)}}),J(function(ke){return ke+1})})}function Ie(ke,Je){var ft=V(ke),bt=D.current.get(ft);Je?(D.current.set(ft,Je),oe()):D.current.delete(ft),!bt!=!Je&&(Je?me==null||me(ke):k==null||k(ke))}return(0,E.useEffect)(function(){return ue},[]),[Ie,oe,G.current,U]}var Pt=o(90484);function ye(V,me,k,h,re,U,J,D){var G=E.useRef();return function(q){if(q==null){D();return}if(nt.Z.cancel(G.current),typeof q=="number")J(q);else if(q&&(0,Pt.Z)(q)==="object"){var ue,oe=q.align;"index"in q?ue=q.index:ue=me.findIndex(function(ft){return re(ft)===q.key});var Ie=q.offset,ke=Ie===void 0?0:Ie,Je=function ft(bt,wt){if(!(bt<0||!V.current)){var Zt=V.current.clientHeight,un=!1,xt=wt;if(Zt){for(var ln=wt||oe,dn=0,Yt=0,Nt=0,Ln=Math.min(me.length,ue),Jt=0;Jt<=Ln;Jt+=1){var vn=re(me[Jt]);Yt=dn;var qt=k.get(vn);Nt=Yt+(qt===void 0?h:qt),dn=Nt,Jt===ue&&qt===void 0&&(un=!0)}var kt=null;switch(ln){case"top":kt=Yt-ke;break;case"bottom":kt=Nt-Zt+ke;break;default:{var wn=V.current.scrollTop,ut=wn+Zt;Yt<wn?xt="top":Nt>ut&&(xt="bottom")}}kt!==null&&kt!==V.current.scrollTop&&J(kt)}G.current=(0,nt.Z)(function(){un&&U(),ft(bt-1,xt)},2)}};Je(3)}}}function Qe(V,me,k,h){var re=k-V,U=me-k,J=Math.min(re,U)*2;if(h<=J){var D=Math.floor(h/2);return h%2?k+D+1:k-D}return re>U?k-(h-U):k+(h-re)}function Xe(V,me,k){var h=V.length,re=me.length,U,J;if(h===0&&re===0)return null;h<re?(U=V,J=me):(U=me,J=V);var D={__EMPTY_ITEM__:!0};function G(Je){return Je!==void 0?k(Je):D}for(var q=null,ue=Math.abs(h-re)!==1,oe=0;oe<J.length;oe+=1){var Ie=G(U[oe]),ke=G(J[oe]);if(Ie!==ke){q=oe,ue=ue||Ie!==G(J[oe+1]);break}}return q===null?null:{index:q,multiple:ue}}function y(V,me,k){var h=E.useState(V),re=(0,Y.Z)(h,2),U=re[0],J=re[1],D=E.useState(null),G=(0,Y.Z)(D,2),q=G[0],ue=G[1];return E.useEffect(function(){var oe=Xe(U||[],V||[],me);(oe==null?void 0:oe.index)!==void 0&&(k==null||k(oe.index),ue(V[oe.index])),J(V)},[V]),[q]}var C=(typeof navigator=="undefined"?"undefined":(0,Pt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),R=C,S=function(V,me){var k=(0,E.useRef)(!1),h=(0,E.useRef)(null);function re(){clearTimeout(h.current),k.current=!0,h.current=setTimeout(function(){k.current=!1},50)}var U=(0,E.useRef)({top:V,bottom:me});return U.current.top=V,U.current.bottom=me,function(J){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=J<0&&U.current.top||J>0&&U.current.bottom;return D&&G?(clearTimeout(h.current),k.current=!1):(!G||k.current)&&re(),!k.current&&G}};function B(V,me,k,h){var re=(0,E.useRef)(0),U=(0,E.useRef)(null),J=(0,E.useRef)(null),D=(0,E.useRef)(!1),G=S(me,k);function q(oe){if(!!V){nt.Z.cancel(U.current);var Ie=oe.deltaY;re.current+=Ie,J.current=Ie,!G(Ie)&&(R||oe.preventDefault(),U.current=(0,nt.Z)(function(){var ke=D.current?10:1;h(re.current*ke),re.current=0}))}}function ue(oe){!V||(D.current=oe.detail===J.current)}return[q,ue]}var ie=o(8410),Pe=14/15;function Fe(V,me,k){var h=(0,E.useRef)(!1),re=(0,E.useRef)(0),U=(0,E.useRef)(null),J=(0,E.useRef)(null),D,G=function(Ie){if(h.current){var ke=Math.ceil(Ie.touches[0].pageY),Je=re.current-ke;re.current=ke,k(Je)&&Ie.preventDefault(),clearInterval(J.current),J.current=setInterval(function(){Je*=Pe,(!k(Je,!0)||Math.abs(Je)<=.1)&&clearInterval(J.current)},16)}},q=function(){h.current=!1,D()},ue=function(Ie){D(),Ie.touches.length===1&&!h.current&&(h.current=!0,re.current=Math.ceil(Ie.touches[0].pageY),U.current=Ie.target,U.current.addEventListener("touchmove",G),U.current.addEventListener("touchend",q))};D=function(){U.current&&(U.current.removeEventListener("touchmove",G),U.current.removeEventListener("touchend",q))},(0,ie.Z)(function(){return V&&me.current.addEventListener("touchstart",ue),function(){var oe;(oe=me.current)===null||oe===void 0||oe.removeEventListener("touchstart",ue),D(),clearInterval(J.current)}},[V])}var Ne=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],ct=[],Ct={overflowY:"auto",overflowAnchor:"none"};function Be(V,me){var k=V.prefixCls,h=k===void 0?"rc-virtual-list":k,re=V.className,U=V.height,J=V.itemHeight,D=V.fullHeight,G=D===void 0?!0:D,q=V.style,ue=V.data,oe=V.children,Ie=V.itemKey,ke=V.virtual,Je=V.component,ft=Je===void 0?"div":Je,bt=V.onScroll,wt=V.onVisibleChange,Zt=V.innerProps,un=(0,v.Z)(V,Ne),xt=!!(ke!==!1&&U&&J),ln=xt&&ue&&J*ue.length>U,dn=(0,E.useState)(0),Yt=(0,Y.Z)(dn,2),Nt=Yt[0],Ln=Yt[1],Jt=(0,E.useState)(!1),vn=(0,Y.Z)(Jt,2),qt=vn[0],kt=vn[1],wn=I()(h,re),ut=ue||ct,Mt=(0,E.useRef)(),Vn=(0,E.useRef)(),sn=(0,E.useRef)(),Et=E.useCallback(function(Oe){return typeof Ie=="function"?Ie(Oe):Oe==null?void 0:Oe[Ie]},[Ie]),Mn={getKey:Et};function pn(Oe){Ln(function(qe){var ae;typeof Oe=="function"?ae=Oe(qe):ae=Oe;var Ze=Gn(ae);return Mt.current.scrollTop=Ze,Ze})}var Hn=(0,E.useRef)({start:0,end:ut.length}),Fn=(0,E.useRef)(),le=y(ut,Et),Wn=(0,Y.Z)(le,1),Xt=Wn[0];Fn.current=Xt;var Yn=yt(Et,null,null),mn=(0,Y.Z)(Yn,4),Un=mn[0],zn=mn[1],hn=mn[2],Xn=mn[3],en=E.useMemo(function(){if(!xt)return{scrollHeight:void 0,start:0,end:ut.length-1,offset:void 0};if(!ln){var Oe;return{scrollHeight:((Oe=Vn.current)===null||Oe===void 0?void 0:Oe.offsetHeight)||0,start:0,end:ut.length-1,offset:void 0}}for(var qe=0,ae,Ze,Ge,Ft=ut.length,Gt=0;Gt<Ft;Gt+=1){var lr=ut[Gt],dr=Et(lr),ar=hn.get(dr),Jn=qe+(ar===void 0?J:ar);Jn>=Nt&&ae===void 0&&(ae=Gt,Ze=qe),Jn>Nt+U&&Ge===void 0&&(Ge=Gt),qe=Jn}return ae===void 0&&(ae=0,Ze=0,Ge=Math.ceil(U/J)),Ge===void 0&&(Ge=ut.length-1),Ge=Math.min(Ge+1,ut.length),{scrollHeight:qe,start:ae,end:Ge,offset:Ze}},[ln,xt,Nt,ut,Xn,U]),Vt=en.scrollHeight,gn=en.start,Zn=en.end,cn=en.offset;Hn.current.start=gn,Hn.current.end=Zn;var tn=Vt-U,Ht=(0,E.useRef)(tn);Ht.current=tn;function Gn(Oe){var qe=Oe;return Number.isNaN(Ht.current)||(qe=Math.min(qe,Ht.current)),qe=Math.max(qe,0),qe}var yn=Nt<=0,Bn=Nt>=tn,_n=S(yn,Bn);function kn(Oe){var qe=Oe;pn(qe)}function rr(Oe){var qe=Oe.currentTarget.scrollTop;qe!==Nt&&pn(qe),bt==null||bt(Oe)}var Qn=B(xt,yn,Bn,function(Oe){pn(function(qe){var ae=qe+Oe;return ae})}),Tn=(0,Y.Z)(Qn,2),Rn=Tn[0],En=Tn[1];Fe(xt,Mt,function(Oe,qe){return _n(Oe,qe)?!1:(Rn({preventDefault:function(){},deltaY:Oe}),!0)}),(0,ie.Z)(function(){function Oe(qe){xt&&qe.preventDefault()}return Mt.current.addEventListener("wheel",Rn),Mt.current.addEventListener("DOMMouseScroll",En),Mt.current.addEventListener("MozMousePixelScroll",Oe),function(){Mt.current&&(Mt.current.removeEventListener("wheel",Rn),Mt.current.removeEventListener("DOMMouseScroll",En),Mt.current.removeEventListener("MozMousePixelScroll",Oe))}},[xt]);var or=ye(Mt,ut,hn,J,Et,zn,pn,function(){var Oe;(Oe=sn.current)===null||Oe===void 0||Oe.delayHidden()});E.useImperativeHandle(me,function(){return{scrollTo:or}}),(0,ie.Z)(function(){if(wt){var Oe=ut.slice(gn,Zn+1);wt(Oe,ut)}},[gn,Zn,ut]);var On=st(ut,gn,Zn,Un,oe,Mn),Sn=null;return U&&(Sn=(0,L.Z)((0,w.Z)({},G?"height":"maxHeight",U),Ct),xt&&(Sn.overflowY="hidden",qt&&(Sn.pointerEvents="none"))),E.createElement("div",(0,b.Z)({style:(0,L.Z)((0,L.Z)({},q),{},{position:"relative"}),className:wn},un),E.createElement(ft,{className:"".concat(h,"-holder"),style:Sn,ref:Mt,onScroll:rr},E.createElement(W,{prefixCls:h,height:Vt,offset:cn,onInnerResize:zn,ref:Vn,innerProps:Zt},On)),xt&&E.createElement(pt,{ref:sn,prefixCls:h,scrollTop:Nt,height:U,scrollHeight:Vt,count:ut.length,onScroll:kn,onStartMove:function(){kt(!0)},onStopMove:function(){kt(!1)}}))}var Dt=E.forwardRef(Be);Dt.displayName="List";var Lt=Dt,Bt=Lt},91033:function(gt,Se,o){"use strict";var b=function(){if(typeof Map!="undefined")return Map;function y(C,R){var S=-1;return C.some(function(B,ie){return B[0]===R?(S=ie,!0):!1}),S}return function(){function C(){this.__entries__=[]}return Object.defineProperty(C.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),C.prototype.get=function(R){var S=y(this.__entries__,R),B=this.__entries__[S];return B&&B[1]},C.prototype.set=function(R,S){var B=y(this.__entries__,R);~B?this.__entries__[B][1]=S:this.__entries__.push([R,S])},C.prototype.delete=function(R){var S=this.__entries__,B=y(S,R);~B&&S.splice(B,1)},C.prototype.has=function(R){return!!~y(this.__entries__,R)},C.prototype.clear=function(){this.__entries__.splice(0)},C.prototype.forEach=function(R,S){S===void 0&&(S=null);for(var B=0,ie=this.__entries__;B<ie.length;B++){var Pe=ie[B];R.call(S,Pe[1],Pe[0])}},C}()}(),w=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,L=function(){return typeof o.g!="undefined"&&o.g.Math===Math?o.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Y=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(L):function(y){return setTimeout(function(){return y(Date.now())},1e3/60)}}(),v=2;function E(y,C){var R=!1,S=!1,B=0;function ie(){R&&(R=!1,y()),S&&Fe()}function Pe(){Y(ie)}function Fe(){var Ne=Date.now();if(R){if(Ne-B<v)return;S=!0}else R=!0,S=!1,setTimeout(Pe,C);B=Ne}return Fe}var X=20,I=["top","right","bottom","left","width","height","size","weight"],g=typeof MutationObserver!="undefined",Ce=function(){function y(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=E(this.refresh.bind(this),X)}return y.prototype.addObserver=function(C){~this.observers_.indexOf(C)||this.observers_.push(C),this.connected_||this.connect_()},y.prototype.removeObserver=function(C){var R=this.observers_,S=R.indexOf(C);~S&&R.splice(S,1),!R.length&&this.connected_&&this.disconnect_()},y.prototype.refresh=function(){var C=this.updateObservers_();C&&this.refresh()},y.prototype.updateObservers_=function(){var C=this.observers_.filter(function(R){return R.gatherActive(),R.hasActive()});return C.forEach(function(R){return R.broadcastActive()}),C.length>0},y.prototype.connect_=function(){!w||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),g?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},y.prototype.disconnect_=function(){!w||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},y.prototype.onTransitionEnd_=function(C){var R=C.propertyName,S=R===void 0?"":R,B=I.some(function(ie){return!!~S.indexOf(ie)});B&&this.refresh()},y.getInstance=function(){return this.instance_||(this.instance_=new y),this.instance_},y.instance_=null,y}(),W=function(y,C){for(var R=0,S=Object.keys(C);R<S.length;R++){var B=S[R];Object.defineProperty(y,B,{value:C[B],enumerable:!1,writable:!1,configurable:!0})}return y},f=function(y){var C=y&&y.ownerDocument&&y.ownerDocument.defaultView;return C||L},$e=Ot(0,0,0,0);function ot(y){return parseFloat(y)||0}function z(y){for(var C=[],R=1;R<arguments.length;R++)C[R-1]=arguments[R];return C.reduce(function(S,B){var ie=y["border-"+B+"-width"];return S+ot(ie)},0)}function nt(y){for(var C=["top","right","bottom","left"],R={},S=0,B=C;S<B.length;S++){var ie=B[S],Pe=y["padding-"+ie];R[ie]=ot(Pe)}return R}function je(y){var C=y.getBBox();return Ot(0,0,C.width,C.height)}function Ye(y){var C=y.clientWidth,R=y.clientHeight;if(!C&&!R)return $e;var S=f(y).getComputedStyle(y),B=nt(S),ie=B.left+B.right,Pe=B.top+B.bottom,Fe=ot(S.width),Ne=ot(S.height);if(S.boxSizing==="border-box"&&(Math.round(Fe+ie)!==C&&(Fe-=z(S,"left","right")+ie),Math.round(Ne+Pe)!==R&&(Ne-=z(S,"top","bottom")+Pe)),!we(y)){var ct=Math.round(Fe+ie)-C,Ct=Math.round(Ne+Pe)-R;Math.abs(ct)!==1&&(Fe-=ct),Math.abs(Ct)!==1&&(Ne-=Ct)}return Ot(B.left,B.top,Fe,Ne)}var pt=function(){return typeof SVGGraphicsElement!="undefined"?function(y){return y instanceof f(y).SVGGraphicsElement}:function(y){return y instanceof f(y).SVGElement&&typeof y.getBBox=="function"}}();function we(y){return y===f(y).document.documentElement}function st(y){return w?pt(y)?je(y):Ye(y):$e}function mt(y){var C=y.x,R=y.y,S=y.width,B=y.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,Pe=Object.create(ie.prototype);return W(Pe,{x:C,y:R,width:S,height:B,top:R,right:C+S,bottom:B+R,left:C}),Pe}function Ot(y,C,R,S){return{x:y,y:C,width:R,height:S}}var at=function(){function y(C){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ot(0,0,0,0),this.target=C}return y.prototype.isActive=function(){var C=st(this.target);return this.contentRect_=C,C.width!==this.broadcastWidth||C.height!==this.broadcastHeight},y.prototype.broadcastRect=function(){var C=this.contentRect_;return this.broadcastWidth=C.width,this.broadcastHeight=C.height,C},y}(),yt=function(){function y(C,R){var S=mt(R);W(this,{target:C,contentRect:S})}return y}(),Pt=function(){function y(C,R,S){if(this.activeObservations_=[],this.observations_=new b,typeof C!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=C,this.controller_=R,this.callbackCtx_=S}return y.prototype.observe=function(C){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(C instanceof f(C).Element))throw new TypeError('parameter 1 is not of type "Element".');var R=this.observations_;R.has(C)||(R.set(C,new at(C)),this.controller_.addObserver(this),this.controller_.refresh())}},y.prototype.unobserve=function(C){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(C instanceof f(C).Element))throw new TypeError('parameter 1 is not of type "Element".');var R=this.observations_;!R.has(C)||(R.delete(C),R.size||this.controller_.removeObserver(this))}},y.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},y.prototype.gatherActive=function(){var C=this;this.clearActive(),this.observations_.forEach(function(R){R.isActive()&&C.activeObservations_.push(R)})},y.prototype.broadcastActive=function(){if(!!this.hasActive()){var C=this.callbackCtx_,R=this.activeObservations_.map(function(S){return new yt(S.target,S.broadcastRect())});this.callback_.call(C,R,C),this.clearActive()}},y.prototype.clearActive=function(){this.activeObservations_.splice(0)},y.prototype.hasActive=function(){return this.activeObservations_.length>0},y}(),ye=typeof WeakMap!="undefined"?new WeakMap:new b,Qe=function(){function y(C){if(!(this instanceof y))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var R=Ce.getInstance(),S=new Pt(C,R,this);ye.set(this,S)}return y}();["observe","unobserve","disconnect"].forEach(function(y){Qe.prototype[y]=function(){var C;return(C=ye.get(this))[y].apply(C,arguments)}});var Xe=function(){return typeof L.ResizeObserver!="undefined"?L.ResizeObserver:Qe}();Se.Z=Xe}}]);