1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2897],{72897:function(e,n,t){"use strict";t.r(n),t.d(n,{BaseSelect:function(){return ne},OptGroup:function(){return me},Option:function(){return ge},default:function(){return Sn},useBaseProps:function(){return w}});var o=t(22122),r=t(85061),a=t(96156),i=t(28991),u=t(28481),l=t(2949),c=t(90484),s=t(21770),f=t(80334),p=t(67294),d=t(94184),v=t.n(d),m=t(8410),h=t(31131),g=t(15105),b=t(42550),y=p.createContext(null);function w(){return p.useContext(y)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=p.useRef(null),t=p.useRef(null);function o(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}return p.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},o]}var S=t(64217),C=t(76016),Z=function(e){var n,t=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,i=e.onClick,u=e.children;return n="function"===typeof o?o(r):o,p.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==n?n:p.createElement("span",{className:v()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},u))},M=function(e,n){var t,o,r=e.prefixCls,a=e.id,u=e.inputElement,l=e.disabled,c=e.tabIndex,s=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,y=e.maxLength,w=e.onKeyDown,E=e.onMouseDown,S=e.onChange,C=e.onPaste,Z=e.onCompositionStart,M=e.onCompositionEnd,O=e.open,x=e.attrs,D=u||p.createElement("input",null),R=D,k=R.ref,P=R.props,T=P.onKeyDown,I=P.onChange,N=P.onMouseDown,j=P.onCompositionStart,A=P.onCompositionEnd,L=P.style;return(0,f.Kp)(!("maxLength"in D.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),D=p.cloneElement(D,(0,i.Z)((0,i.Z)((0,i.Z)({type:"search"},P),{},{id:a,ref:(0,b.sQ)(n,k),disabled:l,tabIndex:c,autoComplete:d||"off",autoFocus:s,className:v()("".concat(r,"-selection-search-input"),null===(t=D)||void 0===t||null===(o=t.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":O,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},x),{},{value:m?g:"",maxLength:y,readOnly:!m,unselectable:m?null:"on",style:(0,i.Z)((0,i.Z)({},L),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),T&&T(e)},onMouseDown:function(e){E(e),N&&N(e)},onChange:function(e){S(e),I&&I(e)},onCompositionStart:function(e){Z(e),j&&j(e)},onCompositionEnd:function(e){M(e),A&&A(e)},onPaste:C}))},O=p.forwardRef(M);O.displayName="Input";var x=O;function D(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var R="undefined"!==typeof window&&window.document&&window.document.documentElement;function k(e){return["string","number"].includes((0,c.Z)(e))}function P(e){var n=void 0;return e&&(k(e.title)?n=e.title.toString():k(e.label)&&(n=e.label.toString())),n}function T(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var I=function(e){e.preventDefault(),e.stopPropagation()},N=function(e){var n,t,o=e.id,r=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,f=e.inputRef,d=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,y=e.autoComplete,w=e.activeDescendantId,E=e.tabIndex,M=e.removeIcon,O=e.maxTagCount,D=e.maxTagTextLength,k=e.maxTagPlaceholder,N=void 0===k?function(e){return"+ ".concat(e.length," ...")}:k,j=e.tagRender,A=e.onToggleOpen,L=e.onRemove,V=e.onInputChange,F=e.onInputPaste,H=e.onInputKeyDown,_=e.onInputMouseDown,K=e.onInputCompositionStart,z=e.onInputCompositionEnd,U=p.useRef(null),W=(0,p.useState)(0),Y=(0,u.Z)(W,2),B=Y[0],q=Y[1],G=(0,p.useState)(!1),X=(0,u.Z)(G,2),$=X[0],Q=X[1],J="".concat(r,"-selection"),ee=l||"multiple"===h&&!1===s||"tags"===h?c:"",ne="tags"===h||"multiple"===h&&!1===s||g&&(l||$);function te(e,n,t,o,r){return p.createElement("span",{className:v()("".concat(J,"-item"),(0,a.Z)({},"".concat(J,"-item-disabled"),t)),title:P(e)},p.createElement("span",{className:"".concat(J,"-item-content")},n),o&&p.createElement(Z,{className:"".concat(J,"-item-remove"),onMouseDown:I,onClick:r,customizeIcon:M},"\xd7"))}n=function(){q(U.current.scrollWidth)},t=[ee],R?p.useLayoutEffect(n,t):p.useEffect(n,t);var oe=p.createElement("div",{className:"".concat(J,"-search"),style:{width:B},onFocus:function(){Q(!0)},onBlur:function(){Q(!1)}},p.createElement(x,{ref:f,open:l,prefixCls:r,id:o,inputElement:null,disabled:m,autoFocus:b,autoComplete:y,editable:ne,activeDescendantId:w,value:ee,onKeyDown:H,onMouseDown:_,onChange:V,onPaste:F,onCompositionStart:K,onCompositionEnd:z,tabIndex:E,attrs:(0,S.Z)(e,!0)}),p.createElement("span",{ref:U,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),re=p.createElement(C.Z,{prefixCls:"".concat(J,"-overflow"),data:i,renderItem:function(e){var n=e.disabled,t=e.label,o=e.value,r=!m&&!n,a=t;if("number"===typeof D&&("string"===typeof t||"number"===typeof t)){var i=String(a);i.length>D&&(a="".concat(i.slice(0,D),"..."))}var u=function(n){n&&n.stopPropagation(),L(e)};return"function"===typeof j?function(e,n,t,o,r){return p.createElement("span",{onMouseDown:function(e){I(e),A(!l)}},j({label:n,value:e,disabled:t,closable:o,onClose:r}))}(o,a,n,r,u):te(e,a,n,r,u)},renderRest:function(e){var n="function"===typeof N?N(e):N;return te({title:n},n,!1)},suffix:oe,itemKey:T,maxCount:O});return p.createElement(p.Fragment,null,re,!i.length&&!ee&&p.createElement("span",{className:"".concat(J,"-placeholder")},d))},j=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,v=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,C=e.onInputChange,Z=e.onInputPaste,M=e.onInputCompositionStart,O=e.onInputCompositionEnd,D=p.useState(!1),R=(0,u.Z)(D,2),k=R[0],T=R[1],I="combobox"===s,N=I||h,j=d[0],A=g||"";I&&b&&!k&&(A=b),p.useEffect((function(){I&&T(!1)}),[I,b]);
1var L=!("combobox"!==s&&!f&&!h)&&!!A,V=P(j);return p.createElement(p.Fragment,null,p.createElement("span",{className:"".concat(t,"-selection-search")},p.createElement(x,{ref:r,prefixCls:t,id:o,open:f,inputElement:n,disabled:a,autoFocus:i,autoComplete:l,editable:N,activeDescendantId:c,value:A,onKeyDown:w,onMouseDown:E,onChange:function(e){T(!0),C(e)},onPaste:Z,onCompositionStart:M,onCompositionEnd:O,tabIndex:m,attrs:(0,S.Z)(e,!0),maxLength:I?y:void 0})),!I&&j&&!L&&p.createElement("span",{className:"".concat(t,"-selection-item"),title:V},j.label),function(){if(j)return null;var e=L?{visibility:"hidden"}:void 0;return p.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:e},v)}())};var A=function(e,n){var t=(0,p.useRef)(null),r=(0,p.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,d=e.onSearchSubmit,v=e.onToggleOpen,m=e.onInputKeyDown,h=e.domRef;p.useImperativeHandle(n,(function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}}));var b=E(0),y=(0,u.Z)(b,2),w=y[0],S=y[1],C=(0,p.useRef)(null),Z=function(e){!1!==f(e,!0,r.current)&&v(!0)},M={inputRef:t,onInputKeyDown:function(e){var n,t=e.which;t!==g.Z.UP&&t!==g.Z.DOWN||e.preventDefault(),m&&m(e),t!==g.Z.ENTER||"tags"!==l||r.current||i||null===d||void 0===d||d(e.target.value),n=t,[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(n)||v(!0)},onInputMouseDown:function(){S(!0)},onInputChange:function(e){var n=e.target.value;if(s&&C.current&&/[\r\n]/.test(C.current)){var t=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,C.current)}C.current=null,Z(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");C.current=n},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==l&&Z(e.target.value)}},O="multiple"===l||"tags"===l?p.createElement(N,(0,o.Z)({},e,M)):p.createElement(j,(0,o.Z)({},e,M));return p.createElement("div",{ref:h,className:"".concat(a,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=w();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||c&&n)&&i||(i&&f("",!0,!1),v())}},O)},L=p.forwardRef(A);L.displayName="Selector";var V=L,F=t(44761),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],_=function(e,n){var t=e.prefixCls,r=(e.disabled,e.visible),u=e.children,c=e.popupElement,s=e.containerWidth,f=e.animation,d=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=void 0===g?"ltr":g,y=e.placement,w=e.dropdownMatchSelectWidth,E=e.dropdownRender,S=e.dropdownAlign,C=e.getPopupContainer,Z=e.empty,M=e.getTriggerDOMNode,O=e.onPopupVisibleChange,x=e.onPopupMouseEnter,D=(0,l.Z)(e,H),R="".concat(t,"-dropdown"),k=c;E&&(k=E(c));var P=p.useMemo((function(){return function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}}}}(w)}),[w]),T=f?"".concat(R,"-").concat(f):d,I=p.useRef(null);p.useImperativeHandle(n,(function(){return{getPopupElement:function(){return I.current}}}));var N=(0,i.Z)({minWidth:s},m);return"number"===typeof w?N.width=w:w&&(N.width=s),p.createElement(F.Z,(0,o.Z)({},D,{showAction:O?["click"]:[],hideAction:O?["click"]:[],popupPlacement:y||("rtl"===b?"bottomRight":"bottomLeft"),builtinPlacements:P,prefixCls:R,popupTransitionName:T,popup:p.createElement("div",{ref:I,onMouseEnter:x},k),popupAlign:S,popupVisible:r,getPopupContainer:C,popupClassName:v()(h,(0,a.Z)({},"".concat(R,"-empty"),Z)),popupStyle:N,getTriggerDOMNode:M,onPopupVisibleChange:O}),u)},K=p.forwardRef(_);K.displayName="SelectTrigger";var z=K,U=t(59968),W=t(96410),Y=t(82961),B=t(28970);function q(e,n){var t,o=e.key;return"value"in e&&(t=e.value),null!==o&&void 0!==o?o:void 0!==t?t:"rc-index-key-".concat(n)}function G(e,n){var t=e||{};return{label:t.label||(n?"children":"label"),value:t.value||"value",options:t.options||"options"}}function X(e){var n=(0,i.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}function $(e,n){if(!n||!n.length)return null;var t=!1;var o=function e(n,o){var a,i=(a=o,(0,U.Z)(a)||(0,W.Z)(a)||(0,Y.Z)(a)||(0,B.Z)()),u=i[0],l=i.slice(1);if(!u)return[n];var c=n.split(u);return t=t||c.length>1,c.reduce((function(n,t){return[].concat((0,r.Z)(n),(0,r.Z)(e(t,l)))}),[]).filter((function(e){return e}))}
1(e,n);return t?o:null}var Q=["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"],J=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function ee(e){return"tags"===e||"multiple"===e}var ne=p.forwardRef((function(e,n){var t,f,d=e.id,w=e.prefixCls,S=e.className,C=e.showSearch,M=e.tagRender,O=e.direction,x=e.omitDomProps,D=e.displayValues,R=e.onDisplayValuesChange,k=e.emptyOptions,P=e.notFoundContent,T=void 0===P?"Not Found":P,I=e.onClear,N=e.mode,j=e.disabled,A=e.loading,L=e.getInputElement,F=e.getRawInputElement,H=e.open,_=e.defaultOpen,K=e.onDropdownVisibleChange,U=e.activeValue,W=e.onActiveValueChange,Y=e.activeDescendantId,B=e.searchValue,q=e.autoClearSearchValue,G=e.onSearch,X=e.onSearchSplit,ne=e.tokenSeparators,te=e.allowClear,oe=e.showArrow,re=e.inputIcon,ae=e.clearIcon,ie=e.OptionList,ue=e.animation,le=e.transitionName,ce=e.dropdownStyle,se=e.dropdownClassName,fe=e.dropdownMatchSelectWidth,pe=e.dropdownRender,de=e.dropdownAlign,ve=e.placement,me=e.getPopupContainer,he=e.showAction,ge=void 0===he?[]:he,be=e.onFocus,ye=e.onBlur,we=e.onKeyUp,Ee=e.onKeyDown,Se=e.onMouseDown,Ce=(0,l.Z)(e,Q),Ze=ee(N),Me=(void 0!==C?C:Ze)||"combobox"===N,Oe=(0,i.Z)({},Ce);J.forEach((function(e){delete Oe[e]})),null===x||void 0===x||x.forEach((function(e){delete Oe[e]}));var xe=p.useState(!1),De=(0,u.Z)(xe,2),Re=De[0],ke=De[1];p.useEffect((function(){ke((0,h.Z)())}),[]);var Pe=p.useRef(null),Te=p.useRef(null),Ie=p.useRef(null),Ne=p.useRef(null),je=p.useRef(null),Ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=p.useState(!1),t=(0,u.Z)(n,2),o=t[0],r=t[1],a=p.useRef(null),i=function(){window.clearTimeout(a.current)};return p.useEffect((function(){return i}),[]),[o,function(n,t){i(),a.current=window.setTimeout((function(){r(n),t&&t()}),e)},i]}(),Le=(0,u.Z)(Ae,3),Ve=Le[0],Fe=Le[1],He=Le[2];p.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=Ne.current)||void 0===e?void 0:e.focus,blur:null===(n=Ne.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=je.current)||void 0===n?void 0:n.scrollTo(e)}}}));var _e=p.useMemo((function(){var e;if("combobox"!==N)return B;var n=null===(e=D[0])||void 0===e?void 0:e.value;return"string"===typeof n||"number"===typeof n?String(n):""}),[B,N,D]),Ke="combobox"===N&&"function"===typeof L&&L()||null,ze="function"===typeof F&&F(),Ue=(0,b.x1)(Te,null===ze||void 0===ze||null===(t=ze.props)||void 0===t?void 0:t.ref),We=(0,s.Z)(void 0,{defaultValue:_,value:H}),Ye=(0,u.Z)(We,2),Be=Ye[0],qe=Ye[1],Ge=Be,Xe=!T&&k;(j||Xe&&Ge&&"combobox"===N)&&(Ge=!1);var $e=!Xe&&Ge,Qe=p.useCallback((function(e){var n=void 0!==e?e:!Ge;j||(qe(n),Ge!==n&&(null===K||void 0===K||K(n)))}),[j,Ge,qe,K]),Je=p.useMemo((function(){return(ne||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ne]),en=function(e,n,t){var o=!0,r=e;null===W||void 0===W||W(null);var a=t?null:$(e,ne);return"combobox"!==N&&a&&(r="",null===X||void 0===X||X(a),Qe(!1),o=!1),G&&_e!==r&&G(r,{source:n?"typing":"effect"}),o};p.useEffect((function(){Ge||Ze||"combobox"===N||en("",!1,!1)}),[Ge]),p.useEffect((function(){Be&&j&&qe(!1),j&&Fe(!1)}),[j]);var nn=E(),tn=(0,u.Z)(nn,2),on=tn[0],rn=tn[1],an=p.useRef(!1),un=[];p.useEffect((function(){return function(){un.forEach((function(e){return clearTimeout(e)})),un.splice(0,un.length)}}),[]);var ln,cn=p.useState(null),sn=(0,u.Z)(cn,2),fn=sn[0],pn=sn[1],dn=p.useState({}),vn=(0,u.Z)(dn,2)[1];(0,m.Z)((function(){if($e){var e,n=Math.ceil(null===(e=Pe.current)||void 0===e?void 0:e.offsetWidth);fn===n||Number.isNaN(n)||pn(n)}}),[$e]),ze&&(ln=function(e){Qe(e)}),function(e,n,t,o){var r=p.useRef(null);r.current={open:n,triggerOpen:t,customizedTrigger:o},p.useEffect((function(){function n(n){var t;if(null===(t=r.current)||void 0===t||!t.customizedTrigger){var o=n.target;
1o.shadowRoot&&n.composed&&(o=n.composedPath()[0]||o),r.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(o)&&e!==o}))&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[Pe.current,null===(e=Ie.current)||void 0===e?void 0:e.getPopupElement()]}),$e,Qe,!!ze);var mn,hn,gn=p.useMemo((function(){return(0,i.Z)((0,i.Z)({},e),{},{notFoundContent:T,open:Ge,triggerOpen:$e,id:d,showSearch:Me,multiple:Ze,toggleOpen:Qe})}),[e,T,$e,Ge,d,Me,Ze,Qe]),bn=void 0!==oe?oe:A||!Ze&&"combobox"!==N;bn&&(mn=p.createElement(Z,{className:v()("".concat(w,"-arrow"),(0,a.Z)({},"".concat(w,"-arrow-loading"),A)),customizeIcon:re,customizeIconProps:{loading:A,searchValue:_e,open:Ge,focused:Ve,showSearch:Me}}));j||!te||!D.length&&!_e||"combobox"===N&&""===_e||(hn=p.createElement(Z,{className:"".concat(w,"-clear"),onMouseDown:function(){null===I||void 0===I||I(),R([],{type:"clear",values:D}),en("",!1,!1)},customizeIcon:ae},"\xd7"));var yn,wn=p.createElement(ie,{ref:je}),En=v()(w,S,(f={},(0,a.Z)(f,"".concat(w,"-focused"),Ve),(0,a.Z)(f,"".concat(w,"-multiple"),Ze),(0,a.Z)(f,"".concat(w,"-single"),!Ze),(0,a.Z)(f,"".concat(w,"-allow-clear"),te),(0,a.Z)(f,"".concat(w,"-show-arrow"),bn),(0,a.Z)(f,"".concat(w,"-disabled"),j),(0,a.Z)(f,"".concat(w,"-loading"),A),(0,a.Z)(f,"".concat(w,"-open"),Ge),(0,a.Z)(f,"".concat(w,"-customize-input"),Ke),(0,a.Z)(f,"".concat(w,"-show-search"),Me),f)),Sn=p.createElement(z,{ref:Ie,disabled:j,prefixCls:w,visible:$e,popupElement:wn,containerWidth:fn,animation:ue,transitionName:le,dropdownStyle:ce,dropdownClassName:se,direction:O,dropdownMatchSelectWidth:fe,dropdownRender:pe,dropdownAlign:de,placement:ve,getPopupContainer:me,empty:k,getTriggerDOMNode:function(){return Te.current},onPopupVisibleChange:ln,onPopupMouseEnter:function(){vn({})}},ze?p.cloneElement(ze,{ref:Ue}):p.createElement(V,(0,o.Z)({},e,{domRef:Te,prefixCls:w,inputElement:Ke,ref:Ne,id:d,showSearch:Me,autoClearSearchValue:q,mode:N,activeDescendantId:Y,tagRender:M,values:D,open:Ge,onToggleOpen:Qe,activeValue:U,searchValue:_e,onSearch:en,onSearchSubmit:function(e){e&&e.trim()&&G(e,{source:"submit"})},onRemove:function(e){var n=D.filter((function(n){return n!==e}));R(n,{type:"remove",values:[e]})},tokenWithEnter:Je})));return yn=ze?Sn:p.createElement("div",(0,o.Z)({className:En},Oe,{ref:Pe,onMouseDown:function(e){var n,t=e.target,o=null===(n=Ie.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout((function(){var e,n=un.indexOf(r);-1!==n&&un.splice(n,1),He(),Re||o.contains(document.activeElement)||null===(e=Ne.current)||void 0===e||e.focus()}));un.push(r)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u<a;u++)i[u-1]=arguments[u];null===Se||void 0===Se||Se.apply(void 0,[e].concat(i))},onKeyDown:function(e){var n,t=on(),o=e.which;if(o===g.Z.ENTER&&("combobox"!==N&&e.preventDefault(),Ge||Qe(!0)),rn(!!_e),o===g.Z.BACKSPACE&&!t&&Ze&&!_e&&D.length){for(var a=(0,r.Z)(D),i=null,u=a.length-1;u>=0;u-=1){var l=a[u];if(!l.disabled){a.splice(u,1),i=l;break}}i&&R(a,{type:"remove",values:[i]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f<c;f++)s[f-1]=arguments[f];Ge&&je.current&&(n=je.current).onKeyDown.apply(n,[e].concat(s)),null===Ee||void 0===Ee||Ee.apply(void 0,[e].concat(s))},onKeyUp:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];var r;Ge&&je.current&&(r=je.current).onKeyUp.apply(r,[e].concat(t)),null===we||void 0===we||we.apply(void 0,[e].concat(t))},onFocus:function(){Fe(!0),j||(be&&!an.current&&be.apply(void 0,arguments),ge.includes("focus")&&Qe(!0)),an.current=!0},onBlur:function(){Fe(!1,(function(){an.current=!1,Qe(!1)})),j||(_e&&("tags"===N?G(_e,{source:"submit"}):"multiple"===N&&G("",{source:"blur"})),ye&&ye.apply(void 0,arguments))}}),Ve&&!Ge&&p.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(D.map((function(e){var n=e.label,t=e.value;return["number","string"].includes((0,c.Z)(n))?n:t})).join(", "))),Sn,mn,hn),p.createElement(y.Provider,{value:gn},yn)}));function te(e,n){return D(e).join("").toUpperCase().includes(n)}var oe=t(98924),re=0,ae=(0,oe.Z)();function ie(e){var n=p.useState(),t=(0,u.Z)(n,2),o=t[0],r=t[1];return p.useEffect((function(){r("rc_select_".concat(function(){var e;return ae?(e=re,re+=1):e="TEST_OR_SSR",e}()))}),[]),e||o}var ue=t(50344),le=["children","value"],ce=["children"];function se(e){var n=e,t=n.key,o=n.props,r=o.children,a=o.value,u=(0,l.Z)(o,le);return(0,i.Z)({key:t,value:void 0!==a?a:t,children:r},u)}function fe(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ue.Z)(e).map((function(e,t){if(!p.isValidElement(e)||!e.type)return null;var o=e,r=o.type.isSelectOptGroup,a=o.key,u=o.props,c=u.children,s=(0,l.Z)(u,ce);return n||!r?se(e):(0,i.Z)((0,i.Z)({key:"__RC_SELECT_GRP__".concat(null===a?t:a,"__"),label:a},s),{},{options:fe(c)})})).filter((function(e){return e}))}function pe(e,n,t,o,r){return p.useMemo((function(){var a=e;!e&&(a=fe(n));var i=new Map,u=new Map,l=function(e,n,t){t&&"string"===typeof t&&e.set(n[t],n)};return function e(n){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<n.length;c+=1){var s=n[c];!s[t.options]||a?(i.set(s[t.value],s),l(u,s,t.label),l(u,s,o),l(u,s,r)):e(s[t.options],!0)}}(a),{options:a,valueOptions:i,labelOptions:u}}),[e,n,t,o,r])}function de(e){var n=p.useRef();return n.current=e,p.useCallback((function(){return n.current.apply(n,arguments)}),[])}var ve=function(){return null};ve.isSelectOptGroup=!0;var me=ve,he=function(){return null};he.isSelectOption=!0;var ge=he,be=t(98423),ye=t(56982),we=t(13509);function Ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ee(Object(t),!0).forEach((function(n){Ce(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Ce(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Ze=p.forwardRef((function(e,n){var t=e.height,o=e.offset,r=e.children,a=e.prefixCls,i=e.onInnerResize,u={},l={display:"flex",flexDirection:"column"};return void 0!==o&&(u={height:t,position:"relative",overflow:"hidden"},l=Se(Se({},l),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),p.createElement("div",{style:u},p.createElement(we.Z,{onResize:function(e){e.offsetHeight&&i&&i()}},p.createElement("div",{style:l,className:v()(Ce({},"".concat(a,"-holder-inner"),a)),ref:n},r)))}));Ze.displayName="Filler";var Me=Ze,Oe=function(e){return+setTimeout(e,16)},xe=function(e){return clearTimeout(e)};function De(e){return Oe(e)}function Re(e){return(Re="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Pe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Te(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ie(e,n){return(Ie=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Ne(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Ae(e);if(n){var r=Ae(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return je(this,t)}}function je(e,n){if(n&&("object"===Re(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ae(e){return(Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}"undefined"!==typeof window&&"requestAnimationFrame"in window&&(Oe=function(e){return window.requestAnimationFrame(e)},xe=function(e){return window.cancelAnimationFrame(e)}),De.cancel=xe;function Le(e){return"touches"in e?e.touches[0].pageY:e.pageY}var Ve=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ie(e,n)}(a,e);var n,t,o,r=Ne(a);function a(){var e;Pe(this,a);for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return(e=r.call.apply(r,[this].concat(t))).moveRaf=null,e.scrollbarRef=p.createRef(),e.thumbRef=p.createRef(),e.visibleTimeout=null,e.state={dragging:!1,pageY:null,startTop:null,visible:!1},e.delayHidden=function(){clearTimeout(e.visibleTimeout),e.setState({visible:!0}),e.visibleTimeout=setTimeout((function(){e.setState({visible:!1})}),2e3)},e.onScrollbarTouchStart=function(e){e.preventDefault()},e.onContainerMouseDown=function(e){e.stopPropagation(),e.preventDefault()},e.patchEvents=function(){window.addEventListener("mousemove",e.onMouseMove),window.addEventListener("mouseup",e.onMouseUp),e.thumbRef.current.addEventListener("touchmove",e.onMouseMove),e.thumbRef.current.addEventListener("touchend",e.onMouseUp)},e.removeEvents=function(){window.removeEventListener("mousemove",e.onMouseMove),window.removeEventListener("mouseup",e.onMouseUp),e.scrollbarRef.current.removeEventListener("touchstart",e.onScrollbarTouchStart),e.thumbRef.current.removeEventListener("touchstart",e.onMouseDown),e.thumbRef.current.removeEventListener("touchmove",e.onMouseMove),e.thumbRef.current.removeEventListener("touchend",e.onMouseUp),De.cancel(e.moveRaf)},e.onMouseDown=function(n){var t=e.props.onStartMove;e.setState({dragging:!0,pageY:Le(n),startTop:e.getTop()}),t(),e.patchEvents(),n.stopPropagation(),n.preventDefault()},e.onMouseMove=function(n){var t=e.state,o=t.dragging,r=t.pageY,a=t.startTop,i=e.props.onScroll;if(De.cancel(e.moveRaf),o){var u=a+(Le(n)-r),l=e.getEnableScrollRange(),c=e.getEnableHeightRange(),s=c?u/c:0,f=Math.ceil(s*l);e.moveRaf=De((function(){i(f)}))}},e.onMouseUp=function(){var n=e.props.onStopMove;e.setState({dragging:!1}),n(),e.removeEvents()},e.getSpinHeight=function(){var n=e.props,t=n.height,o=t/n.count*10;return o=Math.max(o,20),o=Math.min(o,t/2),Math.floor(o)},e.getEnableScrollRange=function(){var n=e.props;return n.scrollHeight-n.height||0},e.getEnableHeightRange=function(){return e.props.height-e.getSpinHeight()||0},e.getTop=function(){var n=e.props.scrollTop,t=e.getEnableScrollRange(),o=e.getEnableHeightRange();return 0===n||0===t?0:n/t*o},e.showScroll=function(){var n=e.props,t=n.height;return n.scrollHeight>t},e}return n=a,(t=[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,n=e.dragging,t=e.visible,o=this.props.prefixCls,r=this.getSpinHeight(),a=this.getTop(),i=this.showScroll(),u=i&&t;return p.createElement("div",{ref:this.scrollbarRef,className:v()("".concat(o,"-scrollbar"),ke({},"".concat(o,"-scrollbar-show"),i)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:u?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},p.createElement("div",{ref:this.thumbRef,className:v()("".concat(o,"-scrollbar-thumb"),ke({},"".concat(o,"-scrollbar-thumb-moving"),n)),style:{width:"100%",height:r,top:a,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&Te(n.prototype,t),o&&Te(n,o),a}(p.Component);function Fe(e){var n=e.children,t=e.setRef,o=p.useCallback((function(e){t(e)}),[]);return p.cloneElement(n,{ref:o})}
1var He=t(73935);function _e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Ke=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.maps=void 0,this.maps=Object.create(null)}var n,t,o;return n=e,(t=[{key:"set",value:function(e,n){this.maps[e]=n}},{key:"get",value:function(e){return this.maps[e]}}])&&_e(n.prototype,t),o&&_e(n,o),e}();function ze(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,r,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(l){u=!0,r=l}finally{try{i||null==t.return||t.return()}finally{if(u)throw r}}return a}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return Ue(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ue(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function We(e,n,t){var o=ze(p.useState(0),2),r=o[0],a=o[1],i=(0,p.useRef)(new Map),u=(0,p.useRef)(new Ke),l=(0,p.useRef)(0);function c(){l.current+=1;var e=l.current;Promise.resolve().then((function(){e===l.current&&(i.current.forEach((function(e,n){if(e&&e.offsetParent){var t=(r=e)instanceof HTMLElement?r:He.findDOMNode(r),o=t.offsetHeight;u.current.get(n)!==o&&u.current.set(n,t.offsetHeight)}var r})),a((function(e){return e+1})))}))}return[function(o,r){var a=e(o),u=i.current.get(a);r?(i.current.set(a,r),c()):i.current.delete(a),!u!==!r&&(r?null===n||void 0===n||n(o):null===t||void 0===t||t(o))},c,u.current,r]}function Ye(e){return(Ye="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,r,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(l){u=!0,r=l}finally{try{i||null==t.return||t.return()}finally{if(u)throw r}}return a}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return qe(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return qe(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qe(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function Ge(e,n,t){var o=Be(p.useState(e),2),r=o[0],a=o[1],i=Be(p.useState(null),2),u=i[0],l=i[1];return p.useEffect((function(){var o=function(e,n,t){var o,r,a=e.length,i=n.length;if(0===a&&0===i)return null;a<i?(o=e,r=n):(o=n,r=e);var u={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?t(e):u}for(var c=null,s=1!==Math.abs(a-i),f=0;f<r.length;f+=1){var p=l(o[f]);if(p!==l(r[f])){c=f,s=s||p!==l(r[f+1]);break}}return null===c?null:{index:c,multiple:s}}(r||[],e||[],n);void 0!==(null===o||void 0===o?void 0:o.index)&&(null===t||void 0===t||t(o.index),l(e[o.index])),a(e)}),[e]),[u]}function Xe(e){return(Xe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var $e="object"===("undefined"===typeof navigator?"undefined":Xe(navigator))&&/Firefox/i.test(navigator.userAgent),Qe=function(e,n){var t=(0,p.useRef)(!1),o=(0,p.useRef)(null);function r(){clearTimeout(o.current),t.current=!0,o.current=setTimeout((function(){t.current=!1}),50)}var a=(0,p.useRef)({top:e,bottom:n});return a.current.top=e,a.current.bottom=n,function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&a.current.top||e>0&&a.current.bottom;return n&&i?(clearTimeout(o.current),t.current=!1):i&&!t.current||r(),!t.current&&i}};var Je=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function en(){return(en=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function nn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function tn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?nn(Object(t),!0).forEach((function(n){on(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function on(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function rn(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,r,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(l){u=!0,r=l}finally{try{i||null==t.return||t.return()}finally{if(u)throw r}}return a}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return an(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return an(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function un(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var ln=[],cn={overflowY:"auto",overflowAnchor:"none"};function sn(e,n){var t=e.prefixCls,o=void 0===t?"rc-virtual-list":t,r=e.className,a=e.height,i=e.itemHeight,u=e.fullHeight,l=void 0===u||u,c=e.style,s=e.data,f=e.children,d=e.itemKey,m=e.virtual,h=e.component,g=void 0===h?"div":h,b=e.onScroll,y=e.onVisibleChange,w=un(e,Je),E=!(!1===m||!a||!i),S=E&&s&&i*s.length>a,C=rn((0,p.useState)(0),2),Z=C[0],M=C[1],O=rn((0,p.useState)(!1),2),x=O[0],D=O[1],R=v()(o,r),k=s||ln,P=(0,p.useRef)(),T=(0,p.useRef)(),I=(0,p.useRef)(),N=p.useCallback((function(e){return"function"===typeof d?d(e):null===e||void 0===e?void 0:e[d]}),[d]),j={getKey:N};function A(e){M((function(n){var t=function(e){var n=e;Number.isNaN($.current)||(n=Math.min(n,$.current));return n=Math.max(n,0)}("function"===typeof e?e(n):e);return P.current.scrollTop=t,t}))}var L=(0,p.useRef)({start:0,end:k.length}),V=(0,p.useRef)(),F=rn(Ge(k,N),1)[0];V.current=F;var H=rn(We(N,null,null),4),_=H[0],K=H[1],z=H[2],U=H[3],W=p.useMemo((function(){if(!E)return{scrollHeight:void 0,start:0,end:k.length-1,offset:void 0};var e;if(!S)return{scrollHeight:(null===(e=T.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:k.length-1,offset:void 0};for(var n,t,o,r=0,u=k.length,l=0;l<u;l+=1){var c=k[l],s=N(c),f=z.get(s),p=r+(void 0===f?i:f);p>=Z&&void 0===n&&(n=l,t=r),p>Z+a&&void 0===o&&(o=l),r=p}return void 0===n&&(n=0,t=0),void 0===o&&(o=k.length-1),{scrollHeight:r,start:n,end:o=Math.min(o+1,k.length),offset:t}}),[S,E,Z,k,U,a]),Y=W.scrollHeight,B=W.start,q=W.end,G=W.offset;L.current.start=B,L.current.end=q;var X=Y-a,$=(0,p.useRef)(X);$.current=X;var Q=Z<=0,J=Z>=X,ee=Qe(Q,J);var ne=rn(function(e,n,t,o){var r=(0,p.useRef)(0),a=(0,p.useRef)(null),i=(0,p.useRef)(null),u=(0,p.useRef)(!1),l=Qe(n,t);return[function(n){if(e){De.cancel(a.current);var t=n.deltaY;r.current+=t,i.current=t,l(t)||($e||n.preventDefault(),a.current=De((function(){var e=u.current?10:1;o(r.current*e),r.current=0})))}},function(n){e&&(u.current=n.detail===i.current)}]}(E,Q,J,(function(e){A((function(n){return n+e}))})),2),te=ne[0],oe=ne[1];!function(e,n,t){var o,r=(0,p.useRef)(!1),a=(0,p.useRef)(0),i=(0,p.useRef)(null),u=(0,p.useRef)(null),l=function(e){if(r.current){var n=Math.ceil(e.touches[0].pageY),o=a.current-n;a.current=n,t(o)&&e.preventDefault(),clearInterval(u.current),u.current=setInterval((function(){(!t(o*=.9333333333333333,!0)||Math.abs(o)<=.1)&&clearInterval(u.current)}),16)}},c=function(){r.current=!1,o()},s=function(e){o(),1!==e.touches.length||r.current||(r.current=!0,a.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",l),i.current.addEventListener("touchend",c))};o=function(){i.current&&(i.current.removeEventListener("touchmove",l),i.current.removeEventListener("touchend",c))},p.useLayoutEffect((function(){return e&&n.current.addEventListener("touchstart",s),function(){n.current.removeEventListener("touchstart",s),o(),clearInterval(u.current)}}),[e])}(E,P,(function(e,n){return!ee(e,n)&&(te({preventDefault:function(){},deltaY:e}),!0)})),(0,p.useLayoutEffect)((function(){function e(e){E&&e.preventDefault()}return P.current.addEventListener("wheel",te),P.current.addEventListener("DOMMouseScroll",oe),P.current.addEventListener("MozMousePixelScroll",e),function(){P.current.removeEventListener("wheel",te),P.current.removeEventListener("DOMMouseScroll",oe),P.current.removeEventListener("MozMousePixelScroll",e)}}),[E]);var re=function(e,n,t,o,r,a,i,u){var l=p.useRef();return function(c){if(null!==c&&void 0!==c){if(De.cancel(l.current),"number"===typeof c)i(c);else if(c&&"object"===Ye(c)){var s,f=c.align;s="index"in c?c.index:n.findIndex((function(e){return r(e)===c.key}));var p=c.offset,d=void 0===p?0:p;!function u(c,p){if(!(c<0)&&e.current){var v=e.current.clientHeight,m=!1,h=p;if(v){for(var g=p||f,b=0,y=0,w=0,E=Math.min(n.length,s),S=0;S<=E;S+=1){var C=r(n[S]);y=b;var Z=t.get(C);b=w=y+(void 0===Z?o:Z),S===s&&void 0===Z&&(m=!0)}var M=null;switch(g){case"top":M=y-d;break;case"bottom":M=w-v+d;break;default:var O=e.current.scrollTop;y<O?h="top":w>O+v&&(h="bottom")}null!==M&&M!==e.current.scrollTop&&i(M)}l.current=De((function(){m&&a(),u(c-1,h)}))}}(3)}}else u()}}(P,k,z,i,N,K,A,(function(){var e;null===(e=I.current)||void 0===e||e.delayHidden()}));p.useImperativeHandle(n,(function(){return{scrollTo:re}})),(0,p.useLayoutEffect)((function(){if(y){var e=k.slice(B,q+1);y(e,k)}}),[B,q,k]);var ae=function(e,n,t,o,r,a){var i=a.getKey;return e.slice(n,t+1).map((function(e,t){var a=r(e,n+t,{}),u=i(e);return p.createElement(Fe,{key:u,setRef:function(n){return o(e,n)}},a)}))}(k,B,q,_,f,j),ie=null;return a&&(ie=tn(on({},l?"height":"maxHeight",a),cn),E&&(ie.overflowY="hidden",x&&(ie.pointerEvents="none"))),p.createElement("div",en({style:tn(tn({},c),{},{position:"relative"}),className:R},w),p.createElement(g,{className:"".concat(o,"-holder"),style:ie,ref:P,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==Z&&A(n),null===b||void 0===b||b(e)}},p.createElement(Me,{prefixCls:o,height:Y,offset:G,onInnerResize:K,ref:T},ae)),E&&p.createElement(Ve,{ref:I,prefixCls:o,scrollTop:Z,height:a,scrollHeight:Y,count:k.length,onScroll:function(e){A(e)},onStartMove:function(){D(!0)},onStopMove:function(){D(!1)}}))}var fn=p.forwardRef(sn);fn.displayName="List";var pn=fn;var dn=p.createContext(null),vn=["disabled","title","children","style","className"];function mn(e){return"string"===typeof e||"number"===typeof e}var hn=function(e,n){var t=w(),i=t.prefixCls,c=t.id,s=t.open,f=t.multiple,d=t.mode,m=t.searchValue,h=t.toggleOpen,b=t.notFoundContent,y=t.onPopupScroll,E=p.useContext(dn),C=E.flattenOptions,M=E.onActiveValue,O=E.defaultActiveFirstOption,x=E.onSelect,D=E.menuItemSelectedIcon,R=E.rawValues,k=E.fieldNames,P=E.virtual,T=E.listHeight,I=E.listItemHeight,N="".concat(i,"-item"),j=(0,ye.Z)((function(){return C}),[s,C],(function(e,n){return n[0]&&e[1]!==n[1]})),A=p.useRef(null),L=function(e){e.preventDefault()},V=function(e){A.current&&A.current.scrollTo("number"===typeof e?{index:e}:e)},F=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=j.length,o=0;o<t;o+=1){var r=(e+o*n+t)%t,a=j[r],i=a.group,u=a.data;if(!i&&!u.disabled)return r}return-1},H=p.useState((function(){return F(0)})),_=(0,u.Z)(H,2),K=_[0],z=_[1],U=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];z(e);var t={source:n?"keyboard":"mouse"},o=j[e];o?M(o.value,e,t):M(null,-1,t)};(0,p.useEffect)((function(){U(!1!==O?F(0):-1)}),[j.length,m]);var W=p.useCallback((function(e){return R.has(e)&&"combobox"!==d}),[d,(0,r.Z)(R).toString(),R.size]);(0,p.useEffect)((function(){var e,n=setTimeout((function(){if(!f&&s&&1===R.size){var e=Array.from(R)[0],n=j.findIndex((function(n){return n.data.value===e}));
1-1!==n&&(U(n),V(n))}}));s&&(null===(e=A.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[s,m]);var Y=function(e){void 0!==e&&x(e,{selected:!R.has(e)}),f||h(!1)};if(p.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var o=0;if(n===g.Z.UP?o=-1:n===g.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===g.Z.N?o=1:n===g.Z.P&&(o=-1)),0!==o){var r=F(K+o,o);V(r),U(r,!0)}break;case g.Z.ENTER:var a=j[K];a&&!a.data.disabled?Y(a.value):Y(void 0),s&&e.preventDefault();break;case g.Z.ESC:h(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){V(e)}}})),0===j.length)return p.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(N,"-empty"),onMouseDown:L},b);var B=Object.keys(k).map((function(e){return k[e]})),q=function(e){return e.label},G=function(e){var n=j[e];if(!n)return null;var t=n.data||{},r=t.value,a=n.group,i=(0,S.Z)(t,!0),u=q(n);return n?p.createElement("div",(0,o.Z)({"aria-label":"string"!==typeof u||a?null:u},i,{key:e,role:a?"presentation":"option",id:"".concat(c,"_list_").concat(e),"aria-selected":W(r)}),r):null};return p.createElement(p.Fragment,null,p.createElement("div",{role:"listbox",id:"".concat(c,"_list"),style:{height:0,width:0,overflow:"hidden"}},G(K-1),G(K),G(K+1)),p.createElement(pn,{itemKey:"key",ref:A,data:j,height:T,itemHeight:I,fullHeight:!1,onMouseDown:L,onScroll:y,virtual:P},(function(e,n){var t,r=e.group,i=e.groupOption,u=e.data,c=e.label,s=e.value,f=u.key;if(r){var d,m=null!==(d=u.title)&&void 0!==d?d:mn(c)?c.toString():void 0;return p.createElement("div",{className:v()(N,"".concat(N,"-group")),title:m},void 0!==c?c:f)}var h=u.disabled,g=u.title,b=(u.children,u.style),y=u.className,w=(0,l.Z)(u,vn),E=(0,be.Z)(w,B),C=W(s),M="".concat(N,"-option"),O=v()(N,M,y,(t={},(0,a.Z)(t,"".concat(M,"-grouped"),i),(0,a.Z)(t,"".concat(M,"-active"),K===n&&!h),(0,a.Z)(t,"".concat(M,"-disabled"),h),(0,a.Z)(t,"".concat(M,"-selected"),C),t)),x=q(e),R=!D||"function"===typeof D||C,k="number"===typeof x?x:x||s,P=mn(k)?k.toString():void 0;return void 0!==g&&(P=g),p.createElement("div",(0,o.Z)({},(0,S.Z)(E),{"aria-selected":C,className:O,title:P,onMouseMove:function(){K===n||h||U(n)},onClick:function(){h||Y(s)},style:b}),p.createElement("div",{className:"".concat(M,"-content")},k),p.isValidElement(D)||C,R&&p.createElement(Z,{className:"".concat(N,"-option-state"),customizeIcon:D,customizeIconProps:{isSelected:C}},C?"\u2713":null))})))},gn=p.forwardRef(hn);gn.displayName="OptionList";var bn=gn;var yn=["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"],wn=["inputValue"];var En=p.forwardRef((function(e,n){var t=e.id,f=e.mode,d=e.prefixCls,v=void 0===d?"rc-select":d,m=e.backfill,h=e.fieldNames,g=e.inputValue,b=e.searchValue,y=e.onSearch,w=e.autoClearSearchValue,E=void 0===w||w,S=e.onSelect,C=e.onDeselect,Z=e.dropdownMatchSelectWidth,M=void 0===Z||Z,O=e.filterOption,x=e.filterSort,R=e.optionFilterProp,k=e.optionLabelProp,P=e.options,T=e.children,I=e.defaultActiveFirstOption,N=e.menuItemSelectedIcon,j=e.virtual,A=e.listHeight,L=void 0===A?200:A,V=e.listItemHeight,F=void 0===V?20:V,H=e.value,_=e.defaultValue,K=e.labelInValue,z=e.onChange,U=(0,l.Z)(e,yn),W=ie(t),Y=ee(f),B=!(P||!T),$=p.useMemo((function(){return(void 0!==O||"combobox"!==f)&&O}),[O,f]),Q=p.useMemo((function(){return G(h,B)}),[JSON.stringify(h),B]),J=(0,s.Z)("",{value:void 0!==b?b:g,postState:function(e){return e||""}}),oe=(0,u.Z)(J,2),re=oe[0],ae=oe[1],ue=pe(P,T,Q,R,k),le=ue.valueOptions,ce=ue.labelOptions,se=ue.options,fe=p.useCallback((function(e){return D(e).map((function(e){var n,t,o,r,a,i;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?n=e:(o=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:o);var u,l=le.get(n);l&&(void 0===t&&(t=null===l||void 0===l?void 0:l[k||Q.label]),void 0===o&&(o=null!==(u=null===l||void 0===l?void 0:l.key)&&void 0!==u?u:n),r=null===l||void 0===l?void 0:l.disabled,a=null===l||void 0===l?void 0:l.title);return{label:t,value:n,key:o,disabled:r,title:a}}))}),[Q,k,le]),ve=(0,s.Z)(_,{value:H}),me=(0,u.Z)(ve,2),he=me[0],ge=me[1],be=function(e,n){var t=p.useRef({values:new Map,options:new Map});return[p.useMemo((function(){var o=t.current,r=o.values,a=o.options,u=e.map((function(e){var n;return void 0===e.label?(0,i.Z)((0,i.Z)({},e),{},{label:null===(n=r.get(e.value))||void 0===n?void 0:n.label}):e})),l=new Map,c=new Map;return u.forEach((function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||a.get(e.value))})),t.current.values=l,t.current.options=c,u}),[e,n]),p.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(p.useMemo((function(){var e,n=fe(he);return"combobox"!==f||null!==(e=n[0])&&void 0!==e&&e.value?n:[]}),[he,fe,f]),le),ye=(0,u.Z)(be,2),we=ye[0],Ee=ye[1],Se=p.useMemo((function(){if(!f&&1===we.length){var e=we[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return we.map((function(e){var n;return(0,i.Z)((0,i.Z)({},e),{},{label:null!==(n=e.label)&&void 0!==n?n:e.value})}))}),[f,we]),Ce=p.useMemo((function(){return new Set(we.map((function(e){return e.value})))}),[we]);p.useEffect((function(){if("combobox"===f){var e,n=null===(e=we[0])||void 0===e?void 0:e.value;ae(function(e){return void 0!==e&&null!==e}(n)?String(n):"")}}),[we]);var Ze=de((function(e,n){var t,o=null!==n&&void 0!==n?n:e;return t={},(0,a.Z)(t,Q.value,e),(0,a.Z)(t,Q.label,o),t})),Me=function(e,n,t,o,r){return p.useMemo((function(){if(!t||!1===o)return e;var u=n.options,l=n.label,c=n.value,s=[],f="function"===typeof o,p=t.toUpperCase(),d=f?o:function(e,n){return r?te(n[r],p):n[u]?te(n["children"!==l?l:"label"],p):te(n[c],p)},v=f?function(e){return X(e)}:function(e){return e};return e.forEach((function(e){if(e[u])if(d(t,v(e)))s.push(e);else{var n=e[u].filter((function(e){return d(t,v(e))}));n.length&&s.push((0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},u,n)))}else d(t,v(e))&&s.push(e)})),s}),[e,o,r,t,n])}(p.useMemo((function(){if("tags"!==f)return se;var e=(0,r.Z)(se);return(0,r.Z)(we).sort((function(e,n){return e.value<n.value?-1:1}
1)).forEach((function(n){var t=n.value;(function(e){return le.has(e)})(t)||e.push(Ze(t,n.label))})),e}),[Ze,se,le,we,f]),Q,re,$,R),Oe=p.useMemo((function(){return"tags"!==f||!re||Me.some((function(e){return e[R||"value"]===re}))?Me:[Ze(re)].concat((0,r.Z)(Me))}),[Ze,R,f,Me,re]),xe=p.useMemo((function(){return x?(0,r.Z)(Oe).sort((function(e,n){return x(e,n)})):Oe}),[Oe,x]),De=p.useMemo((function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],a=G(t,!1),i=a.label,u=a.value,l=a.options;function c(e,n){e.forEach((function(e){var t=e[i];if(n||!(l in e)){var a=e[u];r.push({key:q(e,r.length),groupOption:n,data:e,label:t,value:a})}else{var s=t;void 0===s&&o&&(s=e.label),r.push({key:q(e,r.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),r}(xe,{fieldNames:Q,childrenAsData:B})}),[xe,Q,B]),Re=function(e){var n=fe(e);if(ge(n),z&&(n.length!==we.length||n.some((function(e,n){var t;return(null===(t=we[n])||void 0===t?void 0:t.value)!==(null===e||void 0===e?void 0:e.value)})))){var t=K?n:n.map((function(e){return e.value})),o=n.map((function(e){return X(Ee(e.value))}));z(Y?t:t[0],Y?o:o[0])}},ke=p.useState(null),Pe=(0,u.Z)(ke,2),Te=Pe[0],Ie=Pe[1],Ne=p.use
1State(0),je=(0,u.Z)(Ne,2),Ae=je[0],Le=je[1],Ve=void 0!==I?I:"combobox"!==f,Fe=p.useCallback((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source,r=void 0===o?"keyboard":o;Le(n),m&&"combobox"===f&&null!==e&&"keyboard"===r&&Ie(String(e))}),[m,f]),He=function(e,n,t){var o=function(){var n,t=Ee(e);return[K?{label:null===t||void 0===t?void 0:t[Q.label],value:e,key:null!==(n=null===t||void 0===t?void 0:t.key)&&void 0!==n?n:e}:e,X(t)]};if(n&&S){var r=o(),a=(0,u.Z)(r,2),i=a[0],l=a[1];S(i,l)}else if(!n&&C&&"clear"!==t){var c=o(),s=(0,u.Z)(c,2),f=s[0],p=s[1];C(f,p)}},_e=de((function(e,n){var t,o=!Y||n.selected;t=o?Y?[].concat((0,r.Z)(we),[e]):[e]:we.filter((function(n){return n.value!==e})),Re(t),He(e,o),"combobox"===f?Ie(""):ee&&!E||(ae(""),Ie(""))})),Ke=p.useMemo((function(){var e=!1!==j&&!1!==M;return(0,i.Z)((0,i.Z)({},ue),{},{flattenOptions:De,onActiveValue:Fe,defaultActiveFirstOption:Ve,onSelect:_e,menuItemSelectedIcon:N,rawValues:Ce,fieldNames:Q,virtual:e,listHeight:L,listItemHeight:F,childrenAsData:B})}),[ue,De,Fe,Ve,_e,N,Ce,Q,j,M,L,F,B]);return p.createElement(dn.Provider,{value:Ke},p.createElement(ne,(0,o.Z)({},U,{id:W,prefixCls:v,ref:n,omitDomProps:wn,mode:f,displayValues:Se,onDisplayValuesChange:function(e,n){Re(e);var t=n.type,o=n.values;"remove"!==t&&"clear"!==t||o.forEach((function(e){He(e.value,!1,t)}))},searchValue:re,onSearch:function(e,n){if(ae(e),Ie(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===f&&Re(e),null===y||void 0===y||y(e));else{var t=(e||"").trim();if(t){var o=Array.from(new Set([].concat((0,r.Z)(Ce),[t])));Re(o),He(t,!0),ae("")}}},autoClearSearchValue:E,onSearchSplit:function(e){var n=e;"tags"!==f&&(n=e.map((function(e){var n=ce.get(e);return null===n||void 0===n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,r.Z)(Ce),(0,r.Z)(n))));Re(t),t.forEach((function(e){He(e,!0)}))},dropdownMatchSelectWidth:M,OptionList:bn,emptyOptions:!De.length,activeValue:Te,activeDescendantId:"".concat(W,"_list_").concat(Ae)})))}));En.Option=ge,En.OptGroup=me;var Sn=En},31131:function(e,n){"use strict";n.Z=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))}},64217:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(92486),r="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spell
1Check src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),a="aria-",i="data-";function u(e,n){return 0===e.indexOf(n)}function l(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n=!1===t?{aria:!0,data:!0,attr:!0}:!0===t?{aria:!0}:(0,o.Z)({},t);var l={};return Object.keys(e).forEach((function(t){(n.aria&&("role"===t||u(t,a))||n.data&&u(t,i)||n.attr&&r.includes(t))&&(l[t]=e[t])})),l}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.