PageSourceSearch

https://samugiken.com/_next/static/chunks/7444-f7f6df08ce461606.js

js samugiken.com collected 2026-10-07 01:50:11 UTC 83,045 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7444],{69855:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(45929),r=n(75271),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(52095),c=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},12278:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(45929),r=n(75271),i={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"},a=n(52095),c=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},22499:function(e,t,n){var o=n(75271),r=n(88859),i=n(96516);t.Z=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.E_),a=n("empty");switch(t){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(a,"-small")});case"Table.filter":return null;default:return o.createElement(i.Z,null)}}},96516:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(75271),r=n(82187),i=n.n(r),a=n(88859),c=n(42018),l=n(84432),u=n(6180),s=n(38841),d=n(83509);let f=e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:a,textAlign:"center",["".concat(t,"-image")]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-footer")]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-image")]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,["".concat(t,"-image")]:{height:e.emptyImgHeightSM}}}}};var p=(0,s.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e;return f((0,d.mergeToken)(e,{emptyImgCls:"".concat(t,"-img"),emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()}))}),v=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let m=o.createElement(()=>{let[,e]=(0,u.ZP)(),[t]=(0,c.Z)("Empty"),n=new l.FastColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{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",fill:"#AEB8C2"}),o.createElement("path",{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",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{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",fill:"#F5F5F7"}),o.createElement("path",{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.51
15c-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",fill:"#DCE0E6"})),o.createElement("path",{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",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),g=o.createElement(()=>{let[,e]=(0,u.ZP)(),[t]=(0,c.Z)("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:a}=e,{borderColor:s,shadowColor:d,contentColor:f}=(0,o.useMemo)(()=>({borderColor:new l.FastColor(n).onBackground(a).toHexString(),shadowColor:new l.FastColor(r).onBackground(a).toHexString(),contentColor:new l.FastColor(i).onBackground(a).toHexString()}),[n,r,i,a]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:s},o.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"}),o.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",fill:f}))))},null),h=e=>{var t;let{className:n,rootClassName:r,prefixCls:l,image:u,description:s,children:d,imageStyle:f,style:h,classNames:b,styles:w}=e,E=v(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:y,direction:S,className:Z,style:C,classNames:x,styles:I,image:M}=(0,a.dj)("empty"),R=y("empty",l),[O,H,D]=p(R),[T]=(0,c.Z)("Empty"),z=void 0!==s?s:null==T?void 0:T.description,k=null!==(t=null!=u?u:M)&&void 0!==t?t:m,B=null;return B="string"==typeof k?o.createElement("img",{draggable:!1,alt:"string"==typeof z?z:"empty",src:k}):k,O(o.createElement("div",Object.assign({className:i()(H,D,R,Z,{["".concat(R,"-normal")]:k===g,["".concat(R,"-rtl")]:"rtl"===S},n,r,x.root,null==b?void 0:b.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},I.root),C),null==w?void 0:w.root),h)},E),o.createElement("div",{className:i()("".concat(R,"-image"),x.image,null==b?void 0:b.image),style:Object.assign(Object.assign(Object.assign({},f),I.image),null==w?void 0:w.image)},B),z&&o.createElement("div",{className:i()("".concat(R,"-description"),x.description,null==b?void 0:b.description),style:Object.assign(Object.assign({},I.description),null==w?void 0:w.description)},z),d&&o.createElement("div",{className:i()("".concat(R,"-footer"),x.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign({},I.footer),null==w?void 0:w.footer)},d)))};h.PRESENTED_IMAGE_DEFAULT=m,h.PRESENTED_IMAGE_SIMPLE=g;var b=h},52339:function(e,t){let n=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};t.Z=function(e,t){return e||n(t)}},21383:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(42446),r=n(47571),i=n(38841),a=n(83509),c=n(66857),l=n(16150);let u=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var s=e=>{let{antCls:t,componentCls:n}=e,r="".concat(n,"-item"),i="&".concat(t,"-slide-up-enter").concat(t,"-slide-up-enter-active"),a="&".concat(t,"-slide-up-appear").concat(t,"-slide-up-appear-active"),s="&".concat(t,"-slide-up-leave").concat(t,"-slide-up-leave-active"),d="".concat(n,"-dropdown-placement-"),f="".concat(r,"-option-selected");return[{["".concat(n,"-dropdown")]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,["\n          ".concat(i).c
1oncat(d,"bottomLeft,\n          ").concat(a).concat(d,"bottomLeft\n        ")]:{animationName:c.fJ},["\n          ".concat(i).concat(d,"topLeft,\n          ").concat(a).concat(d,"topLeft,\n          ").concat(i).concat(d,"topRight,\n          ").concat(a).concat(d,"topRight\n        ")]:{animationName:c.Qt},["".concat(s).concat(d,"bottomLeft")]:{animationName:c.Uw},["\n          ".concat(s).concat(d,"topLeft,\n          ").concat(s).concat(d,"topRight\n        ")]:{animationName:c.ly},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},u(e)),{cursor:"pointer",transition:"background ".concat(e.motionDurationSlow," ease"),borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},["&-active:not(".concat(r,"-option-disabled)")]:{backgroundColor:e.optionActiveBg},["&-selected:not(".concat(r,"-option-disabled)")]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,["".concat(r,"-option-state")]:{color:e.colorPrimary}},"&-disabled":{["&".concat(r,"-option-selected")]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},u(e)),{color:e.colorTextDisabled})}),["".concat(f,":has(+ ").concat(f,")")]:{borderEndStartRadius:0,borderEndEndRadius:0,["& + ".concat(f)]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,c.oN)(e,"slide-up"),(0,c.oN)(e,"slide-down"),(0,l.Fm)(e,"move-up"),(0,l.Fm)(e,"move-down")]},d=n(26956),f=n(84759);function p(e,t){let{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),c=t?"".concat(n,"-").concat(t):"";return{["".concat(n,"-single").concat(c)]:{fontSize:e.fontSize,height:e.controlHeight,["".concat(n,"-selector")]:Object.assign(Object.assign({},(0,o.Wf)(e,!0)),{display:"flex",borderRadius:i,flex:"1 1 auto",["".concat(n,"-selection-wrap:after")]:{lineHeight:(0,f.unit)(a)},["".concat(n,"-selection-search")]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},["\n          ".concat(n,"-selection-item,\n          ").concat(n,"-selection-placeholder\n        ")]:{display:"block",padding:0,lineHeight:(0,f.unit)(a),transition:"all ".concat(e.motionDurationSlow,", visibility 0s"),alignSelf:"center"},["".concat(n,"-selection-placeholder")]:{transition:"none",pointerEvents:"none"},[["&:after","".concat(n,"-selection-item:empty:after"),"".concat(n,"-selection-placeholder:empty:after")].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),["\n        &".concat(n,"-show-arrow ").concat(n,"-selection-item,\n        &").concat(n,"-show-arrow ").concat(n,"-selection-search,\n        &").concat(n,"-show-arrow ").concat(n,"-selection-placeholder\n      ")]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},["&".concat(n,"-open ").concat(n,"-selection-item")]:{color:e.colorTextPlaceholder},["&:not(".concat(n,"-customize-input)")]:{["".concat(n,"-selector")]:{width:"100%",height:"100%",alignItems:"center",padding:"0 ".concat((0,f.unit)(r)),["".concat(n,"-selection-search-input")]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:(0,f.unit)(a)}}},["&".concat(n,"-customize-input")]:{["".concat(n,"-selector")]:{"&:after":{display:"none"},["".concat(n,"-selection-search")]:{position:"static",width:"100%"},["".concat(n,"-selection-placeholder")]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:"0 ".concat((0,f.unit)(r)),"&:after":{display:"none"}}}}}}}let v=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(t.borderColor),background:e.selectorBg},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:t.hoverBorderHover},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:t.activeBorderColor,boxShadow:"0 0 0 ".concat((0,f.unit)(r)," ").concat(t.activeOutlineColor),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},m=(e,t)=>
1({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},v(e,t))}),g=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},v(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),m(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),m(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}),h=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{background:t.bg,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," transparent"),color:t.color},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{background:t.hoverBg},["".concat(n,"-focused& ").concat(n,"-selector")]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},b=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},h(e,t))}),w=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),b(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),b(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.colorBgContainer,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}})}),E=e=>({"&-borderless":{["".concat(e.componentCls,"-selector")]:{background:"transparent",border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," transparent")},["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)},["&".concat(e.componentCls,"-status-error")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorError}},["&".concat(e.componentCls,"-status-warning")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorWarning}}}}),y=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{borderWidth:"".concat((0,f.unit)(e.lineWidth)," 0"),borderStyle:"".concat(e.lineType," none"),borderColor:"transparent transparent ".concat(t.borderColor," transparent"),background:e.selectorBg,borderRadius:0},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.hoverBorderHover," transparent")},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.activeBorderColor," transparent"),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},S=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},y(e,t))}),Z=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},y(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),S(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),S(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})});var C=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},g(e)),w(e)),E(e)),Z(e))});let x=e=>{let{componentCls:t}=e;return{position:"relative",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),input:{cursor:"pointer"},["".concat(t,"-show-search&")]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},["".concat(t,"-disabled&")]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},I=e=>{let{componentCls:t}=e;return{["".concat(t,"-selection-search-input")]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},M=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e,a={["".concat(n,"-clear")]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",display:"inline-flex",cursor:"pointer",["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:Object.assign(Object.assign({},x(e)),I(e)),["".concat(n,"-selection-item")]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[">
1 ".concat(t,"-typography")]:{display:"inline"}}),["".concat(n,"-selection-placeholder")]:Object.assign(Object.assign({},o.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),["".concat(n,"-arrow")]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:"opacity ".concat(e.motionDurationSlow," ease"),[i]:{verticalAlign:"top",transition:"transform ".concat(e.motionDurationSlow),"> svg":{verticalAlign:"top"},["&:not(".concat(n,"-suffix)")]:{pointerEvents:"auto"}},["".concat(n,"-disabled &")]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),["".concat(n,"-selection-wrap")]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},["".concat(n,"-prefix")]:{flex:"none",marginInlineEnd:e.selectAffixPadding},["".concat(n,"-clear")]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:"color ".concat(e.motionDurationMid," ease, opacity ").concat(e.motionDurationSlow," ease"),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a}),["".concat(n,"-status")]:{"&-error, &-warning, &-success, &-validating":{["&".concat(n,"-has-feedback")]:{["".concat(n,"-clear")]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},R=e=>{let{componentCls:t}=e;return[{[t]:{["&".concat(t,"-in-form-item")]:{width:"100%"}}},M(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,a.mergeToken)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{["".concat(t,"-single").concat(t,"-sm")]:{["&:not(".concat(t,"-customize-input)")]:{["".concat(t,"-selector")]:{padding:"0 ".concat((0,f.unit)(n))},["&".concat(t,"-show-arrow ").concat(t,"-selection-search")]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},["\n            &".concat(t,"-show-arrow ").concat(t,"-selection-item,\n            &").concat(t,"-show-arrow ").concat(t,"-selection-placeholder\n          ")]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,a.mergeToken)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(0,d.ZP)(e),s(e),{["".concat(t,"-rtl")]:{direction:"rtl"}},(0,r.c)(e,{borderElCls:"".concat(t,"-selector"),focusElCls:"".concat(t,"-focused")})]};var O=(0,i.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,a.mergeToken)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[R(o),C(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:a,paddingXXS:c,controlPaddingHorizontal:l,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:v,colorFillSecondary:m,colorBgContainerDisabled:g,colorTextDisabled:h,colorPrimaryHover:b,colorPrimary:w,controlOutline:E}=e,y=2*c,S=2*o;return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(c/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:"".concat((r-t*n)/2,"px ").concat(l,"px"),optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:v,clearBg:v,singleItemHeightLG:a,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:Math.min(r-y,r-S),multipleItemHeightSM:Math.min(i-y,i-S),multipleItemHeightLG:Math.min(a-y,a-S),multipleSelectorBgDisabled:g,multipleItem
1ColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:w,activeOutlineColor:E,selectAffixPadding:c}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26956:function(e,t,n){n.d(t,{_z:function(){return l},gp:function(){return a}});var o=n(84759),r=n(42446),i=n(83509);let a=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(r).equal(),0),c=e.max(e.calc(a).sub(i).equal(),0);return{basePadding:a,containerPadding:c,itemHeight:(0,o.unit)(t),itemLineHeight:(0,o.unit)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},c=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e;return e.calc(n).sub(t).div(2).sub(o).equal()},l=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:c,multipleItemBorderColorDisabled:l,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{["".concat(t,"-selection-overflow")]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},["".concat(t,"-selection-item")]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:o,cursor:"default",transition:"font-size ".concat(i,", line-height ").concat(i,", height ").concat(i),marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),["".concat(t,"-disabled&")]:{color:c,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,r.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",["> ".concat(n)]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},u=(e,t)=>
1{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i="".concat(n,"-selection-overflow"),u=e.multipleSelectItemHeight,s=c(e),d=t?"".concat(n,"-").concat(t):"",f=a(e);return{["".concat(n,"-multiple").concat(d)]:Object.assign(Object.assign({},l(e)),{["".concat(n,"-selector")]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:f.basePadding,paddingBlock:f.containerPadding,borderRadius:e.borderRadius,["".concat(n,"-disabled&")]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"".concat((0,o.unit)(r)," 0"),lineHeight:(0,o.unit)(u),visibility:"hidden",content:'"\\a0"'}},["".concat(n,"-selection-item")]:{height:f.itemHeight,lineHeight:(0,o.unit)(f.itemLineHeight)},["".concat(n,"-selection-wrap")]:{alignSelf:"flex-start","&:after":{lineHeight:(0,o.unit)(u),marginBlock:r}},["".concat(n,"-prefix")]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(f.basePadding).equal()},["".concat(i,"-item + ").concat(i,"-item,\n        ").concat(n,"-prefix + ").concat(n,"-selection-wrap\n      ")]:{["".concat(n,"-selection-search")]:{marginInlineStart:0},["".concat(n,"-selection-placeholder")]:{insetInlineStart:0}},["".concat(i,"-item-suffix")]:{minHeight:f.itemHeight,marginBlock:r},["".concat(n,"-selection-search")]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s).equal(),"\n          &-input,\n          &-mirror\n        ":{height:u,fontFamily:e.fontFamily,lineHeight:(0,o.unit)(u),transition:"all ".concat(e.motionDurationSlow)},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},["".concat(n,"-selection-placeholder")]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(f.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow)}})}};function s(e,t){let{componentCls:n}=e,o=t?"".concat(n,"-").concat(t):"",r={["".concat(n,"-multiple").concat(o)]:{fontSize:e.fontSize,["".concat(n,"-selector")]:{["".concat(n,"-show-search&")]:{cursor:"text"}},["\n        &".concat(n,"-show-arrow ").concat(n,"-selector,\n        &").concat(n,"-allow-clear ").concat(n,"-selector\n      ")]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[u(e,t),r]}t.ZP=e=>{let{componentCls:t}=e,n=(0,i.mergeToken)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,i.mergeToken)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[s(e),s(n,"sm"),{["".concat(t,"-multiple").concat(t,"-sm")]:{["".concat(t,"-selection-placeholder")]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},["".concat(t,"-selection-search")]:{marginInlineStart:2}}},s(o,"lg")]}},67858:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n(75271),r=n(69855),i=n(97256),a=n(1923),c=n(12278),l=n(774),u=n(94032);function s(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:s,removeIcon:d,loading:f,multiple:p,hasFeedback:v,prefixCls:m,showSuffixIcon:g,feedbackIcon:h,showArrow:b,componentName:w}=e,E=null!=n?n:o.createElement(i.Z,null),y=e=>null!==t||v||b?o.createElement(o.Fragment,null,!1!==g&&e,v&&h):null,S=null;if(void 0!==t)S=y(t);else if(f)S=y(o.createElement(l.Z,{spin:!0}));else{let e="".concat(m,"-suffix");S=t=>{let{open:n,showSearch:r}=t;return n&&r?y(o.createElement(u.Z,{className:e})):y(o.createElement(c.Z,{className:e}))}}let Z=null;return Z=void 0!==s?s:p?o.createElement(r.Z,null):null,{clearIcon:E,suffixIcon:S,itemIcon:Z,removeIcon:void 0!==d?d:o.createElement(a.Z,null)}}},48872:function(e,t,n){var o=n(75271),r=n(53376);t.Z=function(e){return o.useMemo(()=>{if(e)return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return o.createElement(r.Z,{space:!0},e.apply(void 0,n))}},[e])}},93053:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return void 0!==t?t:null!==e}},38803:function(e,t,n){n.d(t,{ZP:function(){return l}});var o=n(50155),r=n(75271),i=n(18415),a=0,c=(0,i.Z)();function l(e){var t=r.useState(),n=(0,o.Z)(t,2),i=n[0],l=n[1];return r.useEffect(function(){var e;l("rc_select_".concat((c?(e=a,a+=1):e="TEST_OR_SSR",e)))},[]),e||i}},86169:function(e,t,n){n.d(t,{Ac:function(){return J},Xo:function(){return et},Wx:function(){return eo},ZP:function(){return eE},lk:function(){return y}});var o=n(45929),r=n(12686),i=n(75621),a=n(17816),c=n(50155),l=n(17039),u=n(79869),s=n(93954),d=n(4449),f=n(75271),p=n(82187),v=n.n(p),m=n(92076),g=n(21611),h=n(42684),b=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,r=e.children,i=e.onMouseDown,a=e.onClick,c="function"==typeof n?n(o):n;return f.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==c?c:f.createElement("span",{className:v()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))},w=function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,l=f.useMemo(function(){return"object"===(0,u.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:f.useMemo(function(){return!i&&!!o&&(!!n.length||!!a)&&!("combobox"===c&&""===a)},[o,i,n.length,a,c]),clearIcon:f.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:l},"\xd7")}},E=f.createContext(null);function y(){return f.useContext(E)}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);return f.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(14583),C=n(71305),x=n(15059),I=function(e,t,n){var o=(0,a.Z)((0,a.Z)({},e),n?t:{});return Object.keys(t).forEach(function(n){var r=t[n];"function"==typeof r&&(o[n]=function(){for(var t,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r.apply(void 0,i),null===(t=e[n])||void 0===t?void 0:t.call.apply(t,[e].concat(i))})}),o}
1,M=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],R=f.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.inputElement,i=e.autoFocus,c=e.autoComplete,u=e.editable,s=e.activeDescendantId,p=e.value,m=e.open,g=e.attrs,b=(0,l.Z)(e,M),w=r||f.createElement("input",null),E=w,y=E.ref,S=E.props;return(0,d.Kp)(!("maxLength"in w.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),w=f.cloneElement(w,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},I(b,S,!0)),{},{id:o,ref:(0,h.sQ)(t,y),autoComplete:c||"off",autoFocus:i,className:v()("".concat(n,"-selection-search-input"),null==S?void 0:S.className),role:"combobox","aria-expanded":m||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":m?s:void 0},g),{},{value:u?p:"",readOnly:!u,unselectable:u?null:"on",style:(0,a.Z)((0,a.Z)({},S.style),{},{opacity:u?null:0})}))});function O(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var H="undefined"!=typeof window&&window.document&&window.document.documentElement;function D(e){return["string","number"].includes((0,u.Z)(e))}function T(e){var t=void 0;return e&&(D(e.title)?t=e.title.toString():D(e.label)&&(t=e.label.toString())),t}function z(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var k=function(e){e.preventDefault(),e.stopPropagation()},B=function(e){var t,n,o=e.id,r=e.prefixCls,a=e.values,l=e.open,u=e.searchValue,s=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,g=e.mode,h=e.showSearch,w=e.autoFocus,E=e.autoComplete,y=e.activeDescendantId,S=e.tabIndex,Z=e.removeIcon,I=e.maxTagCount,M=e.maxTagTextLength,O=e.maxTagPlaceholder,D=void 0===O?function(e){return"+ ".concat(e.length," ...")}:O,B=e.tagRender,N=e.onToggleOpen,P=e.onRemove,L=e.onInputChange,j=e.onInputPaste,A=e.onInputKeyDown,W=e.onInputMouseDown,V=e.onInputCompositionStart,F=e.onInputCompositionEnd,_=e.onInputBlur,K=f.useRef(null),X=(0,f.useState)(0),Y=(0,c.Z)(X,2),q=Y[0],G=Y[1],U=(0,f.useState)(!1),Q=(0,c.Z)(U,2),$=Q[0],J=Q[1],ee="".concat(r,"-selection"),et=l||"multiple"===g&&!1===s||"tags"===g?u:"",en="tags"===g||"multiple"===g&&!1===s||h&&(l||$);t=function(){G(K.current.scrollWidth)},n=[et],H?f.useLayoutEffect(t,n):f.useEffect(t,n);var eo=function(e,t,n,o,r){return f.createElement("span",{title:T(e),className:v()("".concat(ee,"-item"),(0,i.Z)({},"".concat(ee,"-item-disabled"),n))},f.createElement("span",{className:"".concat(ee,"-item-content")},t),o&&f.createElement(b,{className:"".concat(ee,"-item-remove"),onMouseDown:k,onClick:r,customizeIcon:Z},"\xd7"))},er=function(e,t,n,o,r,i){return f.createElement("span",{onMouseDown:function(e){k(e),N(!l)}},B({label:t,value:e,disabled:n,closable:o,onClose:r,isMaxTag:!!i}))},ei=f.createElement("div",{className:"".concat(ee,"-search"),style:{width:q},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},f.createElement(R,{ref:d,open:l,prefixCls:r,id:o,inputElement:null,disabled:m,autoFocus:w,autoComplete:E,editable:en,activeDescendantId:y,value:et,onKeyDown:A,onMouseDown:W,onChange:L,onPaste:j,onCompositionStart:V,onCompositionEnd:F,onBlur:_,tabIndex:S,attrs:(0,C.Z)(e,!0)}),f.createElement("span",{ref:K,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},et,"\xa0")),ea=f.createElement(x.Z,{prefixCls:"".concat(ee,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!m&&!t,i=n;if("number"==typeof M&&("string"==typeof n||"number"==typeof n)){var a=String(i);a.length>M&&(i="".concat(a.slice(0,M),"..."))}var c=function(t){t&&t.stopPropagation(),P(e)};return"function"==typeof B?er(o,i,t,r,c):eo(e,i,t,r,c)},renderRest:function(e){if(!a.length)return null;var t="function"==typeof D?D(e):D;return"function"==typeof B?er(void 0,t,!1,!1,void 0,!0):eo({title:t},t,!1)},suffix:ei,itemKey:z,maxCount:I});return f.createElement("span",{className:"".concat(ee,"-wrap")},ea,!a.length&&!et&&f.createElement("span",{className:"".concat(ee,"-placeholder")},p))},N=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,v=e.placeholder,m=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,w=e.maxLength,E=e.onInputKeyDown,y=e.onInputMouseDown,S=e.onInputChange,Z=e.onInputPaste,x=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.onInputBlur,O=e.title,H=f.useState(!1),D=(0,c.Z)(H,2),z=D[0],k=D[1],B="combobox"===s,N=B||g,P=p[0],L=h||"";B&&b&&!z&&(L=b),f.useEffect(function(){B&&k(!1)},[B,b]);
1var j=("combobox"===s||!!d||!!g)&&!!L,A=void 0===O?T(P):O,W=f.useMemo(function(){return P?null:f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},v)},[P,j,v,n]);return f.createElement("span",{className:"".concat(n,"-selection-wrap")},f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement(R,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:i,autoFocus:a,autoComplete:l,editable:N,activeDescendantId:u,value:L,onKeyDown:E,onMouseDown:y,onChange:function(e){k(!0),S(e)},onPaste:Z,onCompositionStart:x,onCompositionEnd:I,onBlur:M,tabIndex:m,attrs:(0,C.Z)(e,!0),maxLength:B?w:void 0})),!B&&P?f.createElement("span",{className:"".concat(n,"-selection-item"),title:A,style:j?{visibility:"hidden"}:void 0},P.label):null,W)},P=f.forwardRef(function(e,t){var n=(0,f.useRef)(null),r=(0,f.useRef)(!1),i=e.prefixCls,a=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,d=e.disabled,p=e.prefix,v=e.autoClearSearchValue,m=e.onSearch,g=e.onSearchSubmit,h=e.onToggleOpen,b=e.onInputKeyDown,w=e.onInputBlur,E=e.domRef;f.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var y=S(0),C=(0,c.Z)(y,2),x=C[0],I=C[1],M=(0,f.useRef)(null),R=function(e){!1!==m(e,!0,r.current)&&h(!0)},O={inputRef:n,onInputKeyDown:function(e){var t=e.which,o=n.current instanceof HTMLTextAreaElement;!o&&a&&(t===Z.Z.UP||t===Z.Z.DOWN)&&e.preventDefault(),b&&b(e),t!==Z.Z.ENTER||"tags"!==l||r.current||a||null==g||g(e.target.value),o&&!a&&~[Z.Z.UP,Z.Z.DOWN,Z.Z.LEFT,Z.Z.RIGHT].indexOf(t)||!t||[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(t)||h(!0)},onInputMouseDown:function(){I(!0)},onInputChange:function(e){var t=e.target.value;if(s&&M.current&&/[\r\n]/.test(M.current)){var n=M.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,M.current)}M.current=null,R(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");M.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==l&&R(e.target.value)},onInputBlur:w},H="multiple"===l||"tags"===l?f.createElement(B,(0,o.Z)({},e,O)):f.createElement(N,(0,o.Z)({},e,O));return f.createElement("div",{ref:E,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=x();e.target===n.current||t||"combobox"===l&&d||e.preventDefault(),("combobox"===l||u&&t)&&a||(a&&!1!==v&&m("",!0,!1),h())}},p&&f.createElement("div",{className:"".concat(i,"-prefix")},p),H)}),L=n(21843),j=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],A=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},W=f.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),c=e.children,u=e.popupElement,s=e.animation,d=e.transitionName,p=e.dropdownStyle,m=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,w=e.dropdownMatchSelectWidth,E=e.dropdownRender,y=e.dropdownAlign,S=e.getPopupContainer,Z=e.empty,C=e.getTriggerDOMNode,x=e.onPopupVisibleChange,I=e.onPopupMouseEnter,M=(0,l.Z)(e,j),R="".concat(n,"-dropdown"),O=u;E&&(O=E(u));var H=f.useMemo(function(){return b||A(w)},[b,w]),D=s?"".concat(R,"-").concat(s):d,T="number"==typeof w,z=f.useMemo(function(){return T?null:!1===w?"minWidth":"width"},[w,T]),k=p;T&&(k=(0,a.Z)((0,a.Z)({},k),{},{width:w}));var B=f.useRef(null);return f.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=B.current)||void 0===e?void 0:e.popupElement}}}),f.createElement(L.Z,(0,o.Z)({},M,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:H,prefixCls:R,popupTransitionName:D,popup:f.createElement("div",{onMouseEnter:I},O),ref:B,stretch:z,popupAlign:y,popupVisible:r,getPopupContainer:S,popupClassName:v()(m,(0,i.Z)({},"".concat(R,"-empty"),Z)),popupStyle:k,getTriggerDOMNode:C,onPopupVisibleChange:x}),c)}),V=n(86897);function F(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function _(e){return void 0!==e&&!Number.isNaN(e)}function K(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,a=n.groupLabel,c=o||(t?"children":"label");return{label:c,value:r||"value",options:i||"options",groupLabel:a||c}}function X(e){var t=(0,a.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Y=function(e,t,n){if(!t||!t.length)return null;var o=!1,i=function e(t,n){var i=(0,V.Z)(n),a=i[0],c=i.slice(1);if(!a)return[t];var l=t.split(a);return o=o||l.length>1,l.reduce(function(t,n){return[].concat((0,r.Z)(t),(0,r.Z)(e(n,c)))}
1,[]).filter(Boolean)}(e,t);return o?void 0!==n?i.slice(0,n):i:null},q=f.createContext(null);function G(e){var t=e.visible,n=e.values;return t?f.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,u.Z)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var U=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],$=function(e){return"tags"===e||"multiple"===e},J=f.forwardRef(function(e,t){var n,u,d,p,y,Z,C,x=e.id,I=e.prefixCls,M=e.className,R=e.showSearch,O=e.tagRender,H=e.direction,D=e.omitDomProps,T=e.displayValues,z=e.onDisplayValuesChange,k=e.emptyOptions,B=e.notFoundContent,N=void 0===B?"Not Found":B,L=e.onClear,j=e.mode,A=e.disabled,V=e.loading,F=e.getInputElement,K=e.getRawInputElement,X=e.open,J=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ei=e.autoClearSearchValue,ea=e.onSearch,ec=e.onSearchSplit,el=e.tokenSeparators,eu=e.allowClear,es=e.prefix,ed=e.suffixIcon,ef=e.clearIcon,ep=e.OptionList,ev=e.animation,em=e.transitionName,eg=e.dropdownStyle,eh=e.dropdownClassName,eb=e.dropdownMatchSelectWidth,ew=e.dropdownRender,eE=e.dropdownAlign,ey=e.placement,eS=e.builtinPlacements,eZ=e.getPopupContainer,eC=e.showAction,ex=void 0===eC?[]:eC,eI=e.onFocus,eM=e.onBlur,eR=e.onKeyUp,eO=e.onKeyDown,eH=e.onMouseDown,eD=(0,l.Z)(e,U),eT=$(j),ez=(void 0!==R?R:eT)||"combobox"===j,ek=(0,a.Z)({},eD);Q.forEach(function(e){delete ek[e]}),null==D||D.forEach(function(e){delete ek[e]});var eB=f.useState(!1),eN=(0,c.Z)(eB,2),eP=eN[0],eL=eN[1];f.useEffect(function(){eL((0,g.Z)())},[]);var ej=f.useRef(null),eA=f.useRef(null),eW=f.useRef(null),eV=f.useRef(null),eF=f.useRef(null),e_=f.useRef(!1),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],i=f.useRef(null),a=function(){window.clearTimeout(i.current)};return f.useEffect(function(){return a},[]),[o,function(t,n){a(),i.current=window.setTimeout(function(){r(t),n&&n()},e)},a]}(),eX=(0,c.Z)(eK,3),eY=eX[0],eq=eX[1],eG=eX[2];f.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eF.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:ej.current||eA.current}});var eU=f.useMemo(function(){if("combobox"!==j)return er;var e,t=null===(e=T[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,j,T]),eQ="combobox"===j&&"function"==typeof F&&F()||null,e$="function"==typeof K&&K(),eJ=(0,h.x1)(eA,null==e$||null===(p=e$.props)||void 0===p?void 0:p.ref),e0=f.useState(!1),e1=(0,c.Z)(e0,2),e2=e1[0],e4=e1[1];(0,m.Z)(function(){e4(!0)},[]);var e5=(0,s.Z)(!1,{defaultValue:J,value:X}),e7=(0,c.Z)(e5,2),e6=e7[0],e9=e7[1],e3=!!e2&&e6,e8=!N&&k;(A||e8&&e3&&"combobox"===j)&&(e3=!1);var te=!e8&&e3,tt=f.useCallback(function(e){var t=void 0!==e?e:!e3;A||(e9(t),e3!==t&&(null==ee||ee(t)))},[A,e3,e9,ee]),tn=f.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),to=f.useContext(q)||{},tr=to.maxCount,ti=to.rawValues,ta=function(e,t,n){if(!(eT&&_(tr))||!((null==ti?void 0:ti.size)>=tr)){var o=!0,r=e;null==en||en(null);var i=Y(e,el,_(tr)?tr-ti.size:void 0),a=n?null:i;return"combobox"!==j&&a&&(r="",null==ec||ec(a),tt(!1),o=!1),ea&&eU!==r&&ea(r,{source:t?"typing":"effect"}),o}};f.useEffect(function(){e3||eT||"combobox"===j||ta("",!1,!1)},[e3]),f.useEffect(function(){e6&&A&&e9(!1),A&&!e_.current&&eq(!1)},[A]);
1var tc=S(),tl=(0,c.Z)(tc,2),tu=tl[0],ts=tl[1],td=f.useRef(!1),tf=f.useRef(!1),tp=[];f.useEffect(function(){return function(){tp.forEach(function(e){return clearTimeout(e)}),tp.splice(0,tp.length)}},[]);var tv=f.useState({}),tm=(0,c.Z)(tv,2)[1];e$&&(y=function(e){tt(e)}),n=function(){var e;return[ej.current,null===(e=eW.current)||void 0===e?void 0:e.getPopupElement()]},u=!!e$,(d=f.useRef(null)).current={open:te,triggerOpen:tt,customizedTrigger:u},f.useEffect(function(){function e(e){if(null===(t=d.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),d.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&d.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tg=f.useMemo(function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:N,open:e3,triggerOpen:te,id:x,showSearch:ez,multiple:eT,toggleOpen:tt})},[e,N,te,e3,x,ez,eT,tt]),th=!!ed||V;th&&(Z=f.createElement(b,{className:v()("".concat(I,"-arrow"),(0,i.Z)({},"".concat(I,"-arrow-loading"),V)),customizeIcon:ed,customizeIconProps:{loading:V,searchValue:eU,open:e3,focused:eY,showSearch:ez}}));var tb=w(I,function(){var e;null==L||L(),null===(e=eV.current)||void 0===e||e.focus(),z([],{type:"clear",values:T}),ta("",!1,!1)},T,eu,ef,A,eU,j),tw=tb.allowClear,tE=tb.clearIcon,ty=f.createElement(ep,{ref:eF}),tS=v()(I,M,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(I,"-focused"),eY),"".concat(I,"-multiple"),eT),"".concat(I,"-single"),!eT),"".concat(I,"-allow-clear"),eu),"".concat(I,"-show-arrow"),th),"".concat(I,"-disabled"),A),"".concat(I,"-loading"),V),"".concat(I,"-open"),e3),"".concat(I,"-customize-input"),eQ),"".concat(I,"-show-search"),ez)),tZ=f.createElement(W,{ref:eW,disabled:A,prefixCls:I,visible:te,popupElement:ty,animation:ev,transitionName:em,dropdownStyle:eg,dropdownClassName:eh,direction:H,dropdownMatchSelectWidth:eb,dropdownRender:ew,dropdownAlign:eE,placement:ey,builtinPlacements:eS,getPopupContainer:eZ,empty:k,getTriggerDOMNode:function(e){return eA.current||e},onPopupVisibleChange:y,onPopupMouseEnter:function(){tm({})}},e$?f.cloneElement(e$,{ref:eJ}):f.createElement(P,(0,o.Z)({},e,{domRef:eA,prefixCls:I,inputElement:eQ,ref:eV,id:x,prefix:es,showSearch:ez,autoClearSearchValue:ei,mode:j,activeDescendantId:eo,tagRender:O,values:T,open:e3,onToggleOpen:tt,activeValue:et,searchValue:eU,onSearch:ta,onSearchSubmit:function(e){e&&e.trim()&&ea(e,{source:"submit"})},onRemove:function(e){z(T.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:tn,onInputBlur:function(){td.current=!1}})));return C=e$?tZ:f.createElement("div",(0,o.Z)({className:tS},ek,{ref:ej,onMouseDown:function(e){var t,n=e.target,o=null===(t=eW.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tp.indexOf(r);-1!==t&&tp.splice(t,1),eG(),eP||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tp.push(r)}for(var i=arguments.length,a=Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];null==eH||eH.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=tu(),o=e.key,i="Enter"===o;if(i&&("combobox"!==j&&e.preventDefault(),e3||tt(!0)),ts(!!eU),"Backspace"===o&&!n&&eT&&!eU&&T.length){for(var a=(0,r.Z)(T),c=null,l=a.length-1;l>=0;l-=1){var u=a[l];if(!u.disabled){a.splice(l,1),c=u;break}}c&&z(a,{type:"remove",values:[c]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f<s;f++)d[f-1]=arguments[f];!e3||i&&td.current||(i&&(td.current=!0),null===(t=eF.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(d))),null==eO||eO.apply(void 0,[e].concat(d))},onKeyUp:function(e){for(var t,n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];e3&&(null===(t=eF.current)||void 0===t||t.onKeyUp.apply(t,[e].concat(o))),"Enter"===e.key&&(td.current=!1),null==eR||eR.apply(void 0,[e].concat(o))},onFocus:function(){eq(!0),!A&&(eI&&!tf.current&&eI.apply(void 0,arguments),ex.includes("focus")&&tt(!0)),tf.current=!0},onBlur:function(){e_.current=!0,eq(!1,function(){tf.current=!1,e_.current=!1,tt(!1)}),!A&&(eU&&("tags"===j?ea(eU,{source:"submit"}):"multiple"===j&&ea("",{source:"blur"})),eM&&eM.apply(void 0,arguments))}}),f.createElement(G,{visible:eY&&!e3,values:T}),tZ,Z,tw&&tE),f.createElement(E.Provider,{value:tg},C)}),ee=function(){return null};ee.isSelectOptGroup=!0;var et=ee,en=function(){return null};en.isSelectOption=!0;var eo=en,er=n(54596),ei=n(18051),ea=n(44749),ec=["disabled","title","children","style","className"];function el(e){return"string"==typeof e||"number"==typeof e}var eu=f.forwardRef(function(e,t){var n=y(),a=n.prefixCls,u=n.id,s=n.open,d=n.multiple,p=n.mode,m=n.searchValue,g=n.toggleOpen,h=n.notFoundContent,w=n.onPopupScroll,E=f.useContext(q),S=E.maxCount,x=E.flattenOptions,I=E.onActiveValue,M=E.defaultActiveFirstOption,R=E.onSelect,O=E.menuItemSelectedIcon,H=E.rawValues,D=E.fieldNames,T=E.virtual,z=E.direction,k=E.listHeight,B=E.listItemHeight,N=E.optionRender,P="".concat(a,"-item"),L=(0,er.Z)(function(){return x},[s,x],function(e,t){return t[0]&&e[1]!==t[1]}),j=f.useRef(null),A=f.useMemo(function(){return d&&_(S)&&(null==H?void 0:H.size)>=S},[d,S,null==H?void 0:H.size]),W=function(e){e.preventDefault()},V=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},F=f.useCallback(function(e){return"combobox"!==p&&H.has(e)},[p,(0,r.Z)(H).toString(),H.size]),K=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o<n;o+=1){var r=(e+o*t+n)%n,i=L[r]||{},a=i.group,c=i.data;if(!a&&!(null!=c&&c.disabled)&&(F(c.value)||!A))return r}return -1},X=f.useState(function(){return K(0)}),Y=(0,c.Z)(X,2),G=Y[0],U=Y[1],Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];U(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){I(null,-1,n);return}I(o.value,e,n)};(0,f.useEffect)(function(){Q(!1!==M?K(0):-1)},[L.length,m]);var $=f.useCallback(function(e){return"combobox"===p?String(e).toLowerCase()===m.toLowerCase():H.has(e)},[p,m,(0,r.Z)(H).toString(),H.size]);(0,f.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&s&&1===H.size){var e=Array.from(H)[0],t=L.findIndex(function(t){var n=t.data;return m?String(n.value).startsWith(m):n.value===e});-1!==t&&(Q(t),V(t))}});return s&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[s,m]);var J=function(e){void 0!==e&&R(e,{selected:!H.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case Z.Z.N:case Z.Z.P:case Z.Z.UP:case Z.Z.DOWN:var o=0;if(t===Z.Z.UP?o=-1:t===Z.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===Z.Z.N?o=1:t===Z.Z.P&&(o=-1)),0!==o){var r=K(G+o,o);V(r),Q(r,!0)}break;case Z.Z.TAB:case Z.Z.ENTER:var i,a=L[G];!a||null!=a&&null!==(i=a.data)&&void 0!==i&&i.disabled||A?J(void 0):J(a.value),s&&e.preventDefault();break;case Z.Z.ESC:g(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){V(e)}}}),0===L.length)return f.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(P,"-empty"),onMouseDown:W},h);var ee=Object.keys(D).map(function(e){return D[e]}),et=function(e){return e.label};function en(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var eo=function(e){var t=L[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,a=(0,C.Z)(n,!0),c=et(t);return t?f.createElement("div",(0,o.Z)({"aria-label":"string"!=typeof c||i?null:c},a,{key:e},en(t,e),{"aria-selected":$(r)}),r):null},eu={role:"listbox",id:"".concat(u,"_list")};return f.createElement(f.Fragment,null,T&&f.createElement("div",(0,o.Z)({},eu,{style:{height:0,width:0,overflow:"hidden"}}),eo(G-1),eo(G),eo(G+1)),f.createElement(ea.Z,{itemKey:"key",ref:j,data:L,height:k,itemHeight:B,fullHeight:!1,onMouseDown:W,onScroll:w,virtual:T,direction:z,innerProps:T?null:eu},function(e,t){var n=e.group,r=e.groupOption,a=e.data,c=e.label,u=e.value,s=a.key;if(n){var d,p=null!==(d=a.title)&&void 0!==d?d:el(c)?c.toString():void 0;return f.createElement("div",{className:v()(P,"".concat(P,"-group"),a.className),title:p},void 0!==c?c:s)}var m=a.disabled,g=a.title,h=(a.children,a.style),w=a.className,E=(0,l.Z)(a,ec),y=(0,ei.Z)(E,ee),S=F(u),Z=m||!S&&A,x="".concat(P,"-option"),I=v()(P,x,w,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),G===t&&!Z),"".concat(x,"-disabled"),Z),"".concat(x,"-selected"),S)),M=et(e),R=!O||"function"==typeof O||S,H="number"==typeof M?M:M||u,D=el(H)?H.toString():void 0;return void 0!==g&&(D=g),f.createElement("div",(0,o.Z)({},(0,C.Z)(y),T?{}:en(e,t),{"aria-selected":$(u),className:I,title:D,onMouseMove:function(){G===t||Z||Q(t)},onClick:function(){Z||J(u)},style:h}),f.createElement("div",{className:"".concat(x,"-content")},"function"==typeof N?N(e,{index:t}):H),f.isValidElement(O)||S,R&&f.createElement(b,{className:"".concat(P,"-option-state"),customizeIcon:O,customizeIconProps:{value:u,disabled:Z,isSelected:S}},S?"✓":null))}))}),es=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo(function(){var o=n.current,r=o.values,i=o.options,c=e.map(function(e){if(void 0===e.label){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label})}return e}),l=new Map,u=new Map;
1return c.forEach(function(e){l.set(e.value,e),u.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=l,n.current.options=u,c},[e,t]),f.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function ed(e,t){return O(e).join("").toUpperCase().includes(t)}var ef=n(38803),ep=n(81626),ev=["children","value"],em=["children"];function eg(e){var t=f.useRef();return t.current=e,f.useCallback(function(){return t.current.apply(t,arguments)},[])}var eh=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eb=["inputValue"],ew=f.forwardRef(function(e,t){var n,d=e.id,p=e.mode,v=e.prefixCls,m=e.backfill,g=e.fieldNames,h=e.inputValue,b=e.searchValue,w=e.onSearch,E=e.autoClearSearchValue,y=void 0===E||E,S=e.onSelect,Z=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,I=e.filterOption,M=e.filterSort,R=e.optionFilterProp,H=e.optionLabelProp,D=e.options,T=e.optionRender,z=e.children,k=e.defaultActiveFirstOption,B=e.menuItemSelectedIcon,N=e.virtual,P=e.direction,L=e.listHeight,j=void 0===L?200:L,A=e.listItemHeight,W=void 0===A?20:A,V=e.labelRender,_=e.value,Y=e.defaultValue,G=e.labelInValue,U=e.onChange,Q=e.maxCount,ee=(0,l.Z)(e,eh),et=(0,ef.ZP)(d),en=$(p),eo=!!(!D&&z),er=f.useMemo(function(){return(void 0!==I||"combobox"!==p)&&I},[I,p]),ei=f.useMemo(function(){return K(g,eo)},[JSON.stringify(g),eo]),ea=(0,s.Z)("",{value:void 0!==b?b:h,postState:function(e){return e||""}}),ec=(0,c.Z)(ea,2),el=ec[0],ew=ec[1],eE=f.useMemo(function(){var e=D;D||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ep.Z)(t).map(function(t,o){if(!f.isValidElement(t)||!t.type)return null;var r,i,c,u,s,d=t.type.isSelectOptGroup,p=t.key,v=t.props,m=v.children,g=(0,l.Z)(v,em);return n||!d?(r=t.key,c=(i=t.props).children,u=i.value,s=(0,l.Z)(i,ev),(0,a.Z)({key:r,value:void 0!==u?u:r,children:c},s)):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(m)})}).filter(function(e){return e})}(z));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=0;a<r.length;a+=1){var c=r[a];!c[ei.options]||i?(t.set(c[ei.value],c),o(n,c,ei.label),o(n,c,R),o(n,c,H)):e(c[ei.options],!0)}}(e),{options:e,valueOptions:t,labelOptions:n}},[D,z,ei,R,H]),ey=eE.valueOptions,eS=eE.labelOptions,eZ=eE.options,eC=f.useCallback(function(e){return O(e).map(function(e){e&&"object"===(0,u.Z)(e)?(o=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:o):t=e;var t,n,o,r,i,a,c,l=ey.get(t);return l&&(void 0===n&&(n=null==l?void 0:l[H||ei.label]),void 0===o&&(o=null!==(c=null==l?void 0:l.key)&&void 0!==c?c:t),r=null==l?void 0:l.disabled,i=null==l?void 0:l.title),{label:n,value:t,key:o,disabled:r,title:i}})},[ei,H,ey]),ex=(0,s.Z)(Y,{value:_}),eI=(0,c.Z)(ex,2),eM=eI[0],eR=eI[1],eO=es(f.useMemo(function(){var e,t,n=eC(en&&null===eM?[]:eM);return"combobox"!==p||(t=null===(e=n[0])||void 0===e?void 0:e.value)||0===t?n:[]},[eM,eC,p,en]),ey),eH=(0,c.Z)(eO,2),eD=eH[0],eT=eH[1],ez=f.useMemo(function(){if(!p&&1===eD.length){var e=eD[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return eD.map(function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t="function"==typeof V?V(e):e.label)&&void 0!==t?t:e.value})})},[p,eD,V]),ek=f.useMemo(function(){return new Set(eD.map(function(e){return e.value}))},[eD]);f.useEffect(function(){if("combobox"===p){var e,t=null===(e=eD[0])||void 0===e?void 0:e.value;ew(null!=t?String(t):"")}},[eD]);var eB=eg(function(e,t){var n=null!=t?t:e;return(0,i.Z)((0,i.Z)({},ei.value,e),ei.label,n)}),eN=(n=f.useMemo(function(){if("tags"!==p)return eZ;var e=(0,r.Z)(eZ);return(0,r.Z)(eD).sort(function(e,t){return e.value<t.value?-1:1}
1).forEach(function(t){var n=t.value;ey.has(n)||e.push(eB(n,t.label))}),e},[eB,eZ,ey,eD,p]),f.useMemo(function(){if(!el||!1===er)return n;var e=ei.options,t=ei.label,o=ei.value,r=[],c="function"==typeof er,l=el.toUpperCase(),u=c?er:function(n,r){return R?ed(r[R],l):r[e]?ed(r["children"!==t?t:"label"],l):ed(r[o],l)},s=c?function(e){return X(e)}:function(e){return e};return n.forEach(function(t){if(t[e]){if(u(el,s(t)))r.push(t);else{var n=t[e].filter(function(e){return u(el,s(e))});n.length&&r.push((0,a.Z)((0,a.Z)({},t),{},(0,i.Z)({},e,n)))}return}u(el,s(t))&&r.push(t)}),r},[n,er,R,el,ei])),eP=f.useMemo(function(){return"tags"!==p||!el||eN.some(function(e){return e[R||"value"]===el})||eN.some(function(e){return e[ei.value]===el})?eN:[eB(el)].concat((0,r.Z)(eN))},[eB,R,p,eN,el,ei]),eL=f.useMemo(function(){return M?function e(t){return(0,r.Z)(t).sort(function(e,t){return M(e,t,{searchValue:el})}).map(function(t){return Array.isArray(t.options)?(0,a.Z)((0,a.Z)({},t),{},{options:t.options.length>0?e(t.options):t.options}):t})}(eP):eP},[eP,M,el]),ej=f.useMemo(function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=K(n,!1),a=i.label,c=i.value,l=i.options,u=i.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&l in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:F(t,r.length),group:!0,data:t,label:i}),e(t[l],!0)}else{var s=t[c];r.push({key:F(t,r.length),groupOption:n,data:t,label:t[a],value:s})}})}(e,!1),r}(eL,{fieldNames:ei,childrenAsData:eo})},[eL,ei,eo]),eA=function(e){var t=eC(e);if(eR(t),U&&(t.length!==eD.length||t.some(function(e,t){var n;return(null===(n=eD[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=G?t:t.map(function(e){return e.value}),o=t.map(function(e){return X(eT(e.value))});U(en?n:n[0],en?o:o[0])}},eW=f.useState(null),eV=(0,c.Z)(eW,2),eF=eV[0],e_=eV[1],eK=f.useState(0),eX=(0,c.Z)(eK,2),eY=eX[0],eq=eX[1],eG=void 0!==k?k:"combobox"!==p,eU=f.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eq(t),m&&"combobox"===p&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&e_(String(e))},[m,p]),eQ=function(e,t,n){var o=function(){var t,n=eT(e);return[G?{label:null==n?void 0:n[ei.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,X(n)]};if(t&&S){var r=o(),i=(0,c.Z)(r,2);S(i[0],i[1])}else if(!t&&Z&&"clear"!==n){var a=o(),l=(0,c.Z)(a,2);Z(l[0],l[1])}},e$=eg(function(e,t){var n=!en||t.selected;eA(n?en?[].concat((0,r.Z)(eD),[e]):[e]:eD.filter(function(t){return t.value!==e})),eQ(e,n),"combobox"===p?e_(""):(!$||y)&&(ew(""),e_(""))}),eJ=f.useMemo(function(){var e=!1!==N&&!1!==x;return(0,a.Z)((0,a.Z)({},eE),{},{flattenOptions:ej,onActiveValue:eU,defaultActiveFirstOption:eG,onSelect:e$,menuItemSelectedIcon:B,rawValues:ek,fieldNames:ei,virtual:e,direction:P,listHeight:j,listItemHeight:W,childrenAsData:eo,maxCount:Q,optionRender:T})},[Q,eE,ej,eU,eG,e$,B,ek,ei,N,x,P,j,W,eo,T]);return f.createElement(q.Provider,{value:eJ},f.createElement(J,(0,o.Z)({},ee,{id:et,prefixCls:void 0===v?"rc-select":v,ref:t,omitDomProps:eb,mode:p,displayValues:ez,onDisplayValuesChange:function(e,t){eA(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eQ(e.value,!1,n)})},direction:P,searchValue:el,onSearch:function(e,t){if(ew(e),e_(null),"submit"===t.source){var n=(e||"").trim();n&&(eA(Array.from(new Set([].concat((0,r.Z)(ek),[n])))),eQ(n,!0),ew(""));return}"blur"!==t.source&&("combobox"===p&&eA(e),null==w||w(e))},autoClearSearchValue:y,onSearchSplit:function(e){var t=e;"tags"!==p&&(t=e.map(function(e){var t=eS.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,r.Z)(ek),(0,r.Z)(t))));eA(n),n.forEach(function(e){eQ(e,!0)})},dropdownMatchSelectWidth:x,OptionList:eu,emptyOptions:!ej.length,activeValue:eF,activeDescendantId:"".concat(et,"_list_").concat(eY)})))});ew.Option=eo,ew.OptGroup=et;var eE=ew},44749:function(e,t,n){n.d(t,{Z:function(){return k}});var o=n(45929),r=n(79869),i=n(17816),a=n(75621),c=n(50155),l=n(17039),u=n(82187),s=n.n(u),d=n(68050),f=n(22217),p=n(92076),v=n(75271),m=n(30967),g=v.forwardRef(function(e,t){var n=e.height,r=e.offsetY,c=e.offsetX,l=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,m=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,i.Z)((0,i.Z)({},b),{},(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({transform:"translateY(".concat(r,"px)")},m?"marginRight":"marginLeft",-c),"position","absolute"),"left",0),"right",0),"top",0))),v.createElement("div",{style:h},v.createElement(d.default,{onResize:function(e){e.offsetHeight&&f&&f()}},v.createElement("div",(0,o.Z)({style:b,className:s()((0,a.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},p),l,g)))});function h(e){var t=e.children,n=e.setRef,o=v.useCallback(function(e){n(e)},[]);return v.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(49975),w=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),E=function(e,t,n,o){var r=(0,v.useRef)(!1),i=(0,v.useRef)(null),a=(0,v.useRef)({top:e,bottom:t,left:n,right:o});return a.current.top=e,a.current.bottom=t,a.current.left=n,a.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&a.current.left||t>0&&a.current.right:t<0&&a.current.top||t>0&&a.current.bottom;return n&&o?(clearTimeout(i.current),r.current=!1):(!o||r.current)&&(clearTimeout(i.current),r.current=!0,i.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},y=n(30917),S=n(87660),Z=function(){function e(){(0,y.Z)(this,e),(0,a.Z)(this,"maps",void 0),(0,a.Z)(this,"id",0),(0,a.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,S.Z)(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function C(e){var t=parseFloat(e);return isNaN(t)?0:t}var x=14/15;function I(e){return Math.floor(Math.pow(e,.5))}function M(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var R=v.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,l=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,m=e.spinSize,g=e.containerSize,h=e.style,w=e.thumbStyle,E=e.showScrollBar,y=v.useState(!1),S=(0,c.Z)(y,2),Z=S[0],C=S[1],x=v.useState(null),I=(0,c.Z)(x,2),R=I[0],O=I[1],H=v.useState(null),D=(0,c.Z)(H,2),T=D[0],z=D[1],k=!o,B=v.useRef(),N=v.useRef(),P=v.useState(E),L=(0,c.Z)(P,2),j=L[0],A=L[1],W=v.useRef(),V=function(){!0!==E&&!1!==E&&(clearTimeout(W.current),A(!0),W.current=setTimeout(function(){A(!1)},3e3))},F=l-g||0,_=g-m||0,K=v.useMemo(function(){return 0===r||0===F?0:r/F*_},[r,F,_]),X=v.useRef({top:K,dragging:Z,pageY:R,startTop:T});X.current={top:K,dragging:Z,pageY:R,startTop:T};var Y=function(e){C(!0),O(M(e,p)),z(X.current.top),u(),e.stopPropagation(),e.preventDefault()};v.useEffect(function(){var e=function(e){e.preventDefault()},t=B.current,n=N.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",Y,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",Y)}},[]);var q=v.useRef();q.current=F;var G=v.useRef();G.current=_,v.useEffect(function(){if(Z){var e,t=function(t){var n=X.current,o=n.dragging,r=n.pageY,i=n.startTop;b.Z.cancel(e);var a=B.current.getBoundingClientRect(),c=g/(p?a.width:a.height);if(o){var l=(M(t,p)-r)*c,u=i;!k&&p?u-=l:u+=l;
1var s=q.current,d=G.current,v=Math.ceil((d?u/d:0)*s);v=Math.min(v=Math.max(v,0),s),e=(0,b.Z)(function(){f(v,p)})}},n=function(){C(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}},[Z]),v.useEffect(function(){return V(),function(){clearTimeout(W.current)}},[r]),v.useImperativeHandle(t,function(){return{delayHidden:V}});var U="".concat(n,"-scrollbar"),Q={position:"absolute",visibility:j?null:"hidden"},$={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return p?(Object.assign(Q,{height:8,left:0,right:0,bottom:0}),Object.assign($,(0,a.Z)({height:"100%",width:m},k?"left":"r
1ight",K))):(Object.assign(Q,(0,a.Z)({width:8,top:0,bottom:0},k?"right":"left",0)),Object.assign($,{width:"100%",height:m,top:K})),v.createElement("div",{ref:B,className:s()(U,(0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(U,"-horizontal"),p),"".concat(U,"-vertical"),!p),"".concat(U,"-visible"),j)),style:(0,i.Z)((0,i.Z)({},Q),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:V},v.createElement("div",{ref:N,className:s()("".concat(U,"-thumb"),(0,a.Z)({},"".concat(U,"-thumb-moving"),Z)),style:(0,i.Z)((0,i.Z)({},$),w),onMouseDown:Y}))});function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var H=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],D=[],T={overflowY:"auto",overflowAnchor:"none"},z=v.forwardRef(function(e,t){var n,u,y,S,z,k,B,N,P,L,j,A,W,V,F,_,K,X,Y,q,G,U,Q,$,J,ee,et,en,eo,er,ei,ea,ec,el,eu,es,ed,ef=e.prefixCls,ep=void 0===ef?"rc-virtual-list":ef,ev=e.className,em=e.height,eg=e.itemHeight,eh=e.fullHeight,eb=e.style,ew=e.data,eE=e.children,ey=e.itemKey,eS=e.virtual,eZ=e.direction,eC=e.scrollWidth,ex=e.component,eI=e.onScroll,eM=e.onVirtualScroll,eR=e.onVisibleChange,eO=e.innerProps,eH=e.extraRender,eD=e.styles,eT=e.showScrollBar,ez=void 0===eT?"optional":eT,ek=(0,l.Z)(e,H),eB=v.useCallback(function(e){return"function"==typeof ey?ey(e):null==e?void 0:e[ey]},[ey]),eN=function(e,t,n){var o=v.useState(0),r=(0,c.Z)(o,2),i=r[0],a=r[1],l=(0,v.useRef)(new Map),u=(0,v.useRef)(new Z),s=(0,v.useRef)(0);function d(){s.current+=1}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){var e=!1;l.current.forEach(function(t,n){if(t&&t.offsetParent){var o=t.offsetHeight,r=getComputedStyle(t),i=r.marginTop,a=r.marginBottom,c=o+C(i)+C(a);u.current.get(n)!==c&&(u.current.set(n,c),e=!0)}}),e&&a(function(e){return e+1})};if(e)t();else{s.current+=1;var n=s.current;Promise.resolve().then(function(){n===s.current&&t()})}}return(0,v.useEffect)(function(){return d},[]),[function(o,r){var i=e(o),a=l.current.get(i);r?(l.current.set(i,r),f()):l.current.delete(i),!a!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,i]}(eB,null,null),eP=(0,c.Z)(eN,4),eL=eP[0],ej=eP[1],eA=eP[2],eW=eP[3],eV=!!(!1!==eS&&em&&eg),eF=v.useMemo(function(){return Object.values(eA.maps).reduce(function(e,t){return e+t},0)},[eA.id,eA.maps]),e_=eV&&ew&&(Math.max(eg*ew.length,eF)>em||!!eC),eK="rtl"===eZ,eX=s()(ep,(0,a.Z)({},"".concat(ep,"-rtl"),eK),ev),eY=ew||D,eq=(0,v.useRef)(),eG=(0,v.useRef)(),eU=(0,v.useRef)(),eQ=(0,v.useState)(0),e$=(0,c.Z)(eQ,2),eJ=e$[0],e0=e$[1],e1=(0,v.useState)(0),e2=(0,c.Z)(e1,2),e4=e2[0],e5=e2[1],e7=(0,v.useState)(!1),e6=(0,c.Z)(e7,2),e9=e6[0],e3=e6[1],e8=function(){e3(!0)},te=function(){e3(!1)};function tt(e){e0(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(tE.current)||(n=Math.min(n,tE.current)),n=Math.max(n,0));return eq.current.scrollTop=o,o})}var tn=(0,v.useRef)({start:0,end:eY.length}),to=(0,v.useRef)(),tr=(n=v.useState(eY),y=(u=(0,c.Z)(n,2))[0],S=u[1],z=v.useState(null),B=(k=(0,c.Z)(z,2))[0],N=k[1],v.useEffect(function(){var e=function(e,t,n){var o,r,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(o=e,r=t):(o=t,r=e);var c={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):c}for(var u=null,s=1!==Math.abs(i-a),d=0;d<r.length;d+=1){var f=l(o[d]);if(f!==l(r[d])){u=d,s=s||f!==l(r[d+1]);break}}return null===u?null:{index:u,multiple:s}}(y||[],eY||[],eB);(null==e?void 0:e.index)!==void 0&&N(eY[e.index]),S(eY)},[eY]),[B]),ti=(0,c.Z)(tr,1)[0];to.current=ti;var ta=v.useMemo(function(){if(!eV)return{scrollHeight:void 0,start:0,end:eY.length-1,offset:void 0};if(!e_)return{scrollHeight:(null===(e=eG.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:eY.length-1,offset:void 0};for(var e,t,n,o,r=0,i=eY.length,a=0;a<i;a+=1){var c=eB(eY[a]),l=eA.get(c),u=r+(void 0===l?eg:l);u>=eJ&&void 0===t&&(t=a,n=r),u>eJ+em&&void 0===o&&(o=a),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(em/eg)),void 0===o&&(o=eY.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eY.length-1),offset:n}},[e_,eV,eJ,eY,eW,em]),tc=ta.scrollHeight,tl=ta.start,tu=ta.end,ts=ta.offset;tn.current.start=tl,tn.current.end=tu,v.useLayoutEffect(function(){var e=eA.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),o=eY[tl];if(o&&void 0===n&&eB(o)===t){var r=eA.get(t)-eg;tt(function(e){return e+r})}}eA.resetRecord()},[tc]);var td=v.useState({width:0,height:em}),tf=(0,c.Z)(td,2),tp=tf[0],tv=tf[1],tm=(0,v.useRef)(),tg=(0,v.useRef)(),th=v.useMemo(function(){return O(tp.width,eC)},[tp.width,eC]),tb=v.useMemo(function(){return O(tp.height,tc)},[tp.height,tc]),tw=tc-em,tE=(0,v.useRef)(tw);tE.current=tw;var ty=eJ<=0,tS=eJ>=tw,tZ=e4<=0,tC=e4>=eC,tx=E(ty,tS,tZ,tC),tI=function(){return{x:eK?-e4:e4,y:eJ}},tM=(0,v.useRef)(tI()),tR=(0,f.zX)(function(e){if(eM){var t=(0,i.Z)((0,i.Z)({},tI()),e);(tM.current.x!==t.x||tM.current.y!==t.y)&&(eM(t),tM.current=t)}});
1function tO(e,t){t?((0,m.flushSync)(function(){e5(e)}),tR()):tt(e)}var tH=function(e){var t=e,n=eC?eC-tp.width:0;return Math.min(t=Math.max(t,0),n)},tD=(0,f.zX)(function(e,t){t?((0,m.flushSync)(function(){e5(function(t){return tH(t+(eK?-e:e))})}),tR()):tt(function(t){return t+e})}),tT=(P=!!eC,L=(0,v.useRef)(0),j=(0,v.useRef)(null),A=(0,v.useRef)(null),W=(0,v.useRef)(!1),V=E(ty,tS,tZ,tC),F=(0,v.useRef)(null),_=(0,v.useRef)(null),[function(e){if(eV){b.Z.cancel(_.current),_.current=(0,b.Z)(function(){F.current=null},2);var t,n=e.deltaX,o=e.deltaY,r=e.shiftKey,i=n,a=o;("sx"===F.current||!F.current&&r&&o&&!n)&&(i=o,a=0,F.current="sx");var c=Math.abs(i),l=Math.abs(a);(null===F.current&&(F.current=P&&c>l?"x":"y"),"y"===F.current)?(t=a,b.Z.cancel(j.current),V(!1,t)||e._virtualHandled||(e._virtualHandled=!0,L.current+=t,A.current=t,w||e.preventDefault(),j.current=(0,b.Z)(function(){var e=W.current?10:1;tD(L.current*e,!1),L.current=0}))):(tD(i,!0),w||e.preventDefault())}},function(e){eV&&(W.current=e.detail===A.current)}]),tz=(0,c.Z)(tT,2),tk=tz[0],tB=tz[1];K=function(e,t,n,o){return!tx(e,t,n)&&(!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),tk({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},Y=(0,v.useRef)(!1),q=(0,v.useRef)(0),G=(0,v.useRef)(0),U=(0,v.useRef)(null),Q=(0,v.useRef)(null),$=function(e){if(Y.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=q.current-t,r=G.current-n,i=Math.abs(o)>Math.abs(r);i?q.current=t:G.current=n;var a=K(i,i?o:r,!1,e);a&&e.preventDefault(),clearInterval(Q.current),a&&(Q.current=setInterval(function(){i?o*=x:r*=x;var e=Math.floor(i?o:r);(!K(i,e,!0)||.1>=Math.abs(e))&&clearInterval(Q.current)},16))}},J=function(){Y.current=!1,X()},ee=function(e){X(),1!==e.touches.length||Y.current||(Y.current=!0,q.current=Math.ceil(e.touches[0].pageX),G.current=Math.ceil(e.touches[0].pageY),U.current=e.target,U.current.addEventListener("touchmove",$,{passive:!1}),U.current.addEventListener("touchend",J,{passive:!0}))},X=function(){U.current&&(U.current.removeEventListener("touchmove",$),U.current.removeEventListener("touchend",J))},(0,p.Z)(function(){return eV&&eq.current.addEventListener("touchstart",ee,{passive:!0}),function(){var e;null===(e=eq.current)||void 0===e||e.removeEventListener("touchstart",ee),X(),clearInterval(Q.current)}},[eV]),et=function(e){tt(function(t){return t+e})},v.useEffect(function(){var e=eq.current;if(e_&&e){var t,n,o=!1,r=function(){b.Z.cancel(t)},i=function e(){r(),t=(0,b.Z)(function(){et(n),e()})},a=function(){o=!1,r()},c=function(e){!e.target.draggable&&0===e.button&&(e._virtualHandled||(e._virtualHandled=!0,o=!0))},l=function(t){if(o){var a=M(t,!1),c=e.getBoundingClientRect(),l=c.top,u=c.bottom;a<=l?(n=-I(l-a),i()):a>=u?(n=I(a-u),i()):r()}};return e.addEventListener("mousedown",c),e.ownerDocument.addEventListener("mouseup",a),e.ownerDocument.addEventListener("mousemove",l),e.ownerDocument.addEventListener("dragend",a),function(){e.removeEventListener("mousedown",c),e.ownerDocument.removeEventListener("mouseup",a),e.ownerDocument.removeEventListener("mousemove",l),e.ownerDocument.removeEventListener("dragend",a),r()}}},[e_]),(0,p.Z)(function(){function e(e){var t=ty&&e.detail<0,n=tS&&e.detail>0;!eV||t||n||e.preventDefault()}var t=eq.current;return t.addEventListener("wheel",tk,{passive:!1}),t.addEventListener("DOMMouseScroll",tB,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",tk),t.removeEventListener("DOMMouseScroll",tB),t.removeEventListener("MozMousePixelScroll",e)}},[eV,ty,tS]),(0,p.Z)(function(){if(eC){var e=tH(e4);e5(e),tR({x:e})}},[tp.width,eC]);var tN=function(){var e,t;null===(e=tm.current)||void 0===e||e.delayHidden(),null===(t=tg.current)||void 0===t||t.delayHidden()},tP=(en=function(){return ej(!0)},eo=v.useRef(),er=v.useState(null),ea=(ei=(0,c.Z)(er,2))[0],ec=ei[1],(0,p.Z)(function(){if(ea&&ea.times<10){if(!eq.current){ec(function(e){return(0,i.Z)({},e)});return}en();var e=ea.targetAlign,t=ea.originAlign,n=ea.index,o=ea.offset,r=eq.current.clientHeight,a=!1,c=e,l=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eY.length-1,n),v=0;v<=p;v+=1){var m=eB(eY[v]);d=s;var g=eA.get(m);s=f=d+(void 0===g?eg:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var w=eB(eY[b]),E=eA.get(w);if(void 0===E){a=!0;break}if((h-=E)<=0)break}switch(u){case"top":l=d-o;break;case"bottom":l=f-r+o;break;default:var y=eq.current.scrollTop;d<y?c="top":f>y+r&&(c="bottom")}null!==l&&tt(l),l!==ea.lastTop&&(a=!0)}a&&ec((0,i.Z)((0,i.Z)({},ea),{},{times:ea.times+1,targetAlign:c,lastTop:l}))}},[ea,eq.current]),function(e){if(null==e){tN();return}if(b.Z.cancel(eo.current),"number"==typeof e)tt(e);else if(e&&"object"===(0,r.Z)(e)){var t,n=e.align;t="index"in e?e.index:eY.findIndex(function(t){return eB(t)===e.ke
1y});var o=e.offset;ec({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});v.useImperativeHandle(t,function(){return{nativeElement:eU.current,getScrollInfo:tI,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e5(tH(e.left)),tP(e.top)):tP(e)}}}),(0,p.Z)(function(){eR&&eR(eY.slice(tl,tu+1),eY)},[tl,tu,eY]);var tL=(el=v.useMemo(function(){return[new Map,[]]},[eY,eA.id,eg]),es=(eu=(0,c.Z)(el,2))[0],ed=eu[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=es.get(e),o=es.get(t);if(void 0===n||void 0===o)for(var r=eY.length,i=ed.length;i<r;i+=1){var a,c=eB(eY[i]);es.set(c,i);var l=null!==(a=eA.get(c))&&void 0!==a?a:eg;if(ed[i]=(ed[i-1]||0)+l,c===e&&(n=i),c===t&&(o=i),void 0!==n&&void 0!==o)break}return{top:ed[n-1]||0,bottom:ed[o]}}),tj=null==eH?void 0:eH({start:tl,end:tu,virtual:e_,offsetX:e4,offsetY:ts,rtl:eK,getSize:tL}),tA=eY.slice(tl,tu+1).map(function(e,t){var n=eE(e,tl+t,{style:{width:eC},offsetX:e4}),o=eB(e);return v.createElement(h,{key:o,setRef:function(t){return eL(e,t)}},n)}),tW=null;em&&(tW=(0,i.Z)((0,a.Z)({},void 0===eh||eh?"height":"maxHeight",em),T),eV&&(tW.overflowY="hidden",eC&&(tW.overflowX="hidden"),e9&&(tW.pointerEvents="none")));var tV={};return eK&&(tV.dir="rtl"),v.createElement("div",(0,o.Z)({ref:eU,style:(0,i.Z)((0,i.Z)({},eb),{},{position:"relative"}),className:eX},tV,ek),v.createElement(d.default,{onResize:function(e){tv({width:e.offsetWidth,height:e.offsetHeight})}},v.createElement(void 0===ex?"div":ex,{className:"".concat(ep,"-holder"),style:tW,ref:eq,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==eJ&&tt(t),null==eI||eI(e),tR()},onMouseEnter:tN},v.createElement(g,{prefixCls:ep,height:tc,offsetX:e4,offsetY:ts,scrollWidth:eC,onInnerResize:ej,ref:eG,innerProps:eO,rtl:eK,extra:tj},tA))),e_&&tc>em&&v.createElement(R,{ref:tm,prefixCls:ep,scrollOffset:eJ,scrollRange:tc,rtl:eK,onScroll:tO,onStartMove:e8,onStopMove:te,spinSize:tb,containerSize:tp.height,style:null==eD?void 0:eD.verticalScrollBar,thumbStyle:null==eD?void 0:eD.verticalScrollBarThumb,showScrollBar:ez}),e_&&eC>tp.width&&v.createElement(R,{ref:tg,prefixCls:ep,scrollOffset:e4,scrollRange:eC,rtl:eK,onScroll:tO,onStartMove:e8,onStopMove:te,spinSize:th,containerSize:tp.width,horizontal:!0,style:null==eD?void 0:eD.horizontalScrollBar,thumbStyle:null==eD?void 0:eD.horizontalScrollBarThumb,showScrollBar:ez}))});z.displayName="List";var k=z}}]);

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.