1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,752753,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},65695,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"}},633157,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"}},232028,e=>{"use strict";e.i(389912);var t=e.i(491807),o=e.i(752753),r=e.i(986388);function l(){return(l=Object.assign.bind()).apply(this,arguments)}let n=t.forwardRef((e,n)=>t.createElement(r.default,l({},e,{ref:n,icon:o.default})));e.s(["default",0,n])},611994,e=>{"use strict";e.i(389912);var t=e.i(491807),o=e.i(65695),r=e.i(986388);function l(){return(l=Object.assign.bind()).apply(this,arguments)}let n=t.forwardRef((e,n)=>t.createElement(r.default,l({},e,{ref:n,icon:o.default})));e.s(["default",0,n])},517188,e=>{"use strict";e.i(389912);var t=e.i(491807),o=e.i(633157),r=e.i(986388);function l(){return(l=Object.assign.bind()).apply(this,arguments)}let n=t.forwardRef((e,n)=>t.createElement(r.default,l({},e,{ref:n,icon:o.default})));e.s(["default",0,n])},888194,e=>{"use strict";var t=e.i(491807),o=e.i(139052);e.i(944284);var r=e.i(174820),l=e.i(7284),n=e.i(227699),a=e.i(37765),i=e.i(4266),s=e.i(496805),c=e.i(515260),d=e.i(648222);let u=t.createContext({});e.i(789276);var m=e.i(649176),f=e.i(18179),p=e.i(709155),g=e.i(824132);let b=(0,p.genStyleHooks)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:o}=e,r=(0,g.mergeToken)(e,{avatarBg:o,avatarColor:t});return[(e=>{let{antCls:t,componentCls:o,iconCls:r,avatarBg:l,avatarColor:n,containerSize:a,containerSizeLG:i,containerSizeSM:s,textFontSize:c,textFontSizeLG:d,textFontSizeSM:u,iconFontSize:p,iconFontSizeLG:g,iconFontSizeSM:b,borderRadius:$,borderRadiusLG:h,borderRadiusSM:v,lineWidth:C,lineType:y}=e,S=(e,t,l,n)=>({width:e,height:e,borderRadius:"50%",fontSize:t,[`&${o}-square`]:{borderRadius:n},[`&${o}-icon`]:{fontSize:l,[`> ${r}`]:{margin:0}}});return{[o]:{...(0,f.resetComponent)(e),position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:n,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:l,border:`${(0,m.unit)(C)} ${y} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"},...S(a,c,p,$),"&-lg":{...S(i,d,g,h)},"&-sm":{...S(s,u,b,v)},"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}}}})(r),(e=>{let{componentCls:t,groupBorderColor:o,groupOverlapping:r,groupSpace:l}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:o},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:l}}}})(r)]},e=>{let{controlHeight:t,controlHeightLG:o,controlHeightSM:r,fontSize:l,fontSizeLG:n,fontSizeXL:a,fontSizeHeading3:i,marginXS:s,marginXXS:c,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:o,containerSizeSM:r,textFontSize:l,textFontSizeLG:l,textFontSizeSM:l,iconFontSize:Math.round((n+a)/2),iconFontSizeLG:i,iconFontSizeSM:l,groupSpace:c,groupOverlapping:-s,groupBorderColor:d}}),$=t.forwardRef((e,m)=>{let f,{prefixCls:p,shape:g,size:$,src:h,srcSet:v,icon:C,className:y,rootClassName:S,style:x,alt:k,draggable:E,children:w,crossOrigin:N,gap:R=4,onError:T,...z}=e,[I,D]=t.useState(1),[M,B]=t.useState(!1),[H,F]=t.useState(!0),P=t.useRef(null),O=t.useRef(null),L=(0,r.composeRef)(m,P),{getPrefixCls:W,className:A,style:j}=(0,i.useComponentConfig)("avatar"),K=t.useContext(u),q=()=>{if(!O.current||!P.current)return;let e=O.current.offsetWidth,t=P.current.offsetWidth;0!==e&&0!==t&&2*R<t&&D(t-2*R<e?(t-2*R)/e:1)};t.useEffect(()=>{B(!0)},[]),t.useEffect(()=>{F(!0),D(1)}
1,[h]),t.useEffect(q,[R]);let G=(0,c.default)(e=>$??K?.size??e??"medium"),V=Object.keys((0,n.isPlainObject)(G)&&G||{}).some(e=>a.responsiveArray.includes(e)),Z=(0,d.default)(V),X=t.useMemo(()=>{if(!(0,n.isPlainObject)(G))return{};let e=G[a.responsiveArray.find(e=>Z[e])];return e?{width:e,height:e,fontSize:e&&(C||w)?e/2:18}:{}},[Z,G,C,w]),_=W("avatar",p),U=(0,s.default)(_),[Y,J]=b(_,U),Q=(0,l.clsx)({[`${_}-lg`]:"large"===G,[`${_}-sm`]:"small"===G}),ee=t.isValidElement(h),et=g||K?.shape||"circle",eo=(0,l.clsx)(_,Q,A,`${_}-${et}`,{[`${_}-image`]:ee||h&&H,[`${_}-icon`]:!!C},J,U,y,S,Y),er=(0,n.isNumber)(G)?{width:G,height:G,fontSize:C?G/2:18}:{};if("string"==typeof h&&H)f=t.createElement("img",{src:h,draggable:E,srcSet:v,onError:()=>{!1!==T?.()&&F(!1)},alt:k,crossOrigin:N});else if(ee)f=h;else if(C)f=C;else if(M||1!==I){let e=`scale(${I})`;f=t.createElement(o.default,{onResize:q},t.createElement("span",{className:`${_}-string`,ref:O,style:{msTransform:e,WebkitTransform:e,transform:e}},w))}else f=t.createElement("span",{className:`${_}-string`,style:{opacity:0},ref:O},w);return t.createElement("span",{...z,style:{...er,...X,...j,...x},className:eo,ref:L},f)});var h=e.i(224214),v=e.i(54464),C=e.i(455765);let y=e=>{let{size:o,shape:r}=t.useContext(u),l=t.useMemo(()=>({size:e.size||o,shape:e.shape||r}),[e.size,e.shape,o,r]);return t.createElement(u.Provider,{value:l},e.children)},S=t.forwardRef((e,o)=>{let{getPrefixCls:r,direction:n}=t.useContext(i.ConfigContext),{prefixCls:a,className:c,rootClassName:d,style:u,maxCount:m,maxStyle:f,size:p,shape:g,maxPopoverPlacement:S,maxPopoverTrigger:x,children:k,max:E}=e,w=r("avatar",a),N=`${w}-group`,R=(0,s.default)(w),[T,z]=b(w,R),I=(0,l.clsx)(N,{[`${N}-rtl`]:"rtl"===n},z,R,c,d,T),D=(0,h.toArray)(k).map((e,t)=>(0,v.cloneElement)(e,{key:`avatar-key-${t}`})),M=t.useRef(null);t.useImperativeHandle(o,()=>({nativeElement:M.current}));let B=E?.count||m,H=D.length;if(B&&B<H){let e=D.slice(0,B),o=D.slice(B,H),r=E?.style||f,n=E?.popover?.trigger||x||"hover",a=E?.popover?.placement||S||"top",i={content:o,...E?.popover,placement:a,trigger:n,rootClassName:(0,l.clsx)(`${N}-popover`,E?.popover?.rootClassName)};return e.push(t.createElement(C.default,{key:"avatar-popover-key",destroyOnHidden:!0,...i},t.createElement($,{style:r},`+${H-B}`))),t.createElement(y,{shape:g,size:p},t.createElement("div",{ref:M,className:I,style:u},e))}return t.createElement(y,{shape:g,size:p},t.createElement("div",{ref:M,className:I,style:u},D))});$.Group=S,e.s(["default",0,$],888194)},244458,e=>{"use strict";var t=e.i(491807),o=e.i(206163),r=e.i(7284),l=e.i(77133),n=e.i(337218),a=e.i(227699),i=e.i(54464),s=e.i(4266);let c=e=>{let o,{prefixCls:l,value:n,current:a,offset:i=0}=e;return i&&(o={position:"absolute",top:`${i}00%`,left:0}),t.createElement("span",{style:o,className:(0,r.clsx)(`${l}-only-unit`,{current:a})},n)},d=e=>{let o,r,{prefixCls:l,count:n,value:a}=e,i=Number(a),s=Math.abs(n),[d,u]=t.useState(i),[m,f]=t.useState(s),p=()=>{u(i),f(s)};if(t.useEffect(()=>{let e=setTimeout(p,1e3);return()=>clearTimeout(e)},[i]),d===i||Number.isNaN(i)||Number.isNaN(d))o=[t.createElement(c,{...e,key:i,current:!0})],r={transition:"none"};else{o=[];let l=i+10,n=[];for(let e=i;e<=l;e+=1)n.push(e);let a=m<s?1:-1,u=n.findIndex(e=>e%10===d);o=(a<0?n.slice(0,u+1):n.slice(u)).map((o,r)=>t.createElement(c,{...e,key:o,value:o%10,offset:a<0?r-u:r,current:r===u})),r={transform:`translateY(${-function(e,t,o){let r=e,l=0;for(;(r+10)%10!==t;)r+=o,l+=o;return l}(d,i,a)}00%)`}}return t.createElement("span",{className:`${l}-only`,style:r,onTransitionEnd:p},o)},u=t.forwardRef((e,o)=>{let{prefixCls:l,count:n,className:a,motionClassName:c,style:u,title:m,show:f,component:p="sup",children:g,...b}=e,{getPrefixCls:$}=t.useContext(s.ConfigContext),h=$("scroll-number",l),v={...b,"data-show":f,style:u,className:(0,r.clsx)(h,a,c),title:m},C=n;if(n&&Number(n)%1==0){let e=String(n).split("");C=t.createElement("bdi",null,e.map((o,r)=>t.createElement(d,{prefixCls:h,count:Number(n),value:o,key:e.length-r})))}return(u?.borderColor&&(v.style={...u,boxShadow:`0 0 0 1px ${u.borderColor} inset`}),g)?(0,i.cloneElement)(g,e=>({className:(0,r.clsx)(`${h}-custom-component`,e?.className,c)})):t.createElement(p,{...v,ref:o},C)});e.i(789276);
1var m=e.i(103796),f=e.i(649176),p=e.i(18179),g=e.i(736938),b=e.i(709155),$=e.i(824132);let h=new m.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),v=new m.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),C=new m.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),y=new m.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),S=new m.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),x=new m.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),k=e=>{let{fontHeight:t,lineWidth:o,marginXS:r,colorBorderBg:l}=e,n=e.colorTextLightSolid,a=e.colorError,i=e.colorErrorHover;return(0,$.mergeToken)(e,{badgeFontHeight:t,badgeShadowSize:o,badgeTextColor:n,badgeColor:a,badgeColorHover:i,badgeShadowColor:l,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},E=e=>{let{fontSize:t,lineHeight:o,fontSizeSM:r,lineWidth:l,paddingXS:n}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*o)-2*l,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2,paddingInline:n}},w=(0,b.genStyleHooks)("Badge",e=>(e=>{let{componentCls:t,iconCls:o,antCls:r,badgeShadowSize:l,textFontSize:n,textFontSizeSM:a,statusSize:i,dotSize:s,textFontWeight:c,indicatorHeight:d,indicatorHeightSM:u,marginXS:m,calc:b}=e,$=`${r}-scroll-number`,k=(0,g.genPresetColor)(e,(e,{darkColor:o})=>({[`&${t} ${t}-color-${e}`]:{background:o,[`&:not(${t}-count)`]:{color:o},"a:hover &":{background:o}}}));return{[t]:{...(0,p.resetComponent)(e),position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:c,fontSize:n,lineHeight:(0,f.unit)(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:b(d).div(2).equal(),boxShadow:`0 0 0 ${(0,f.unit)(l)} ${e.badgeShadowColor}`,transition:`background-color ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:u,height:u,fontSize:a,lineHeight:(0,f.unit)(u),borderRadius:b(u).div(2).equal()},[`${t}-multiple-words`]:{paddingInline:e.paddingInline,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:s,minWidth:s,height:s,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,f.unit)(l)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${$}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${o}-spin`]:{animationName:x,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:i,height:i,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfoTextHover,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:l,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:h,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:m,color:e.colorText,fontSize:e.fontSize}},...k,[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:C,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:y,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:S,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${$}
1-custom-component, ${t}-count`]:{transform:"none"},[`${$}-custom-component, ${$}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[$]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${$}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${$}-only-unit`]:{height:d,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${$}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${$}-custom-component`]:{transform:"translate(-50%, -50%)"}}}}})(k(e)),E),N=t.forwardRef((e,c)=>{let{prefixCls:d,scrollNumberPrefixCls:m,children:f,status:p,text:g,color:b,count:$=null,overflowCount:h=99,dot:v=!1,size:C="medium",title:y,offset:S,style:x,className:k,rootClassName:E,classNames:N,styles:R,showZero:T=!1,...z}=e,{getPrefixCls:I,direction:D,className:M,style:B,classNames:H,styles:F}=(0,s.useComponentConfig)("badge"),P=I("badge",d),[O,L]=w(P),W={...e,overflowCount:h,size:C,dot:v,showZero:T},A=$>h?`${h}+`:$,j="0"===A||0===A||"0"===g||0===g,K=null===$||j&&!T,q=((0,a.isNonNullable)(p)||(0,a.isNonNullable)(b))&&K,G=(0,a.isNonNullable)(p)||!j,V=!!(!f&&q&&(g||G||!K)),Z=(0,t.useMemo)(()=>{if(!S)return;let e=Number.parseInt(S[0],10);return{marginTop:S[1],insetInlineEnd:-e}},[S]),X=(0,t.useMemo)(()=>({...Z,...B,...x}),[Z,x,B]),_=V?"root":"indicator",U=(0,n.useSemanticRootStyle)(B,_),Y=(0,n.useSemanticRootStyle)(x,_),[J,Q]=(0,n.useMergeSemantic)([H,N],[F,U,R,Y],{props:W}),ee=v&&!j,et=ee?"":A,eo=(0,t.useMemo)(()=>(!(0,a.isReactRenderable)(et)&&!(0,a.isReactRenderable)(g)||j&&!T)&&!ee,[et,j,T,ee,g]),er=(0,t.useRef)($);eo||(er.current=$);let el=er.current,en=(0,t.useRef)(et);eo||(en.current=et);let ea=en.current,ei=(0,t.useRef)(ee);eo||(ei.current=ee);let es=(0,a.isString)(el)||(0,a.isNumber)(el)?el:void 0,ec=null===y||!1===y?void 0:y??es,ed=!eo&&(0===g?T:!!g&&!0!==g),eu=ed?t.createElement("span",{className:`${P}-status-text`},g):null,em=(0,a.isPlainObject)(el)?(0,i.cloneElement)(el,e=>({style:{...X,...e.style}})):void 0,ef=(0,l.isPresetColor)(b,!1),ep=(0,r.clsx)(J.indicator,{[`${P}-status-dot`]:q,[`${P}-status-${p}`]:!!p,[`${P}-color-${b}`]:ef}),eg={};b&&!ef&&(eg.color=b,eg.background=b);let eb=(0,r.clsx)(P,{[`${P}-status`]:q,[`${P}-not-a-wrapper`]:!f,[`${P}-rtl`]:"rtl"===D},k,E,M,J.root,O,L);if(V){let e=Q.root?.color;return t.createElement("span",{ref:c,...z,className:eb,style:{...Z,...Q.root}},t.createElement("span",{className:ep,style:{...Q.indicator,...eg}}),ed&&t.createElement("span",{style:{color:e},className:`${P}-status-text`},g))}return t.createElement("span",{ref:c,...z,className:eb,style:Q.root},f,t.createElement(o.default,{visible:!eo,motionName:`${P}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:e})=>{let o=I("scroll-number",m),l=ei.current,n=(0,r.clsx)(J.indicator,{[`${P}-dot`]:l,[`${P}-count`]:!l,[`${P}-count-sm`]:"small"===C,[`${P}-multiple-words`]:!l&&ea&&ea.toString().length>1,[`${P}-status-${p}`]:!!p,[`${P}-color-${b}`]:ef}),a={...Z,...Q.indicator};return b&&!ef&&((a=a||{}).background=b),t.createElement(u,{prefixCls:o,show:!eo,motionClassName:e,className:n,count:ea,title:ec,style:a,key:"scrollNumber"},em)}),eu)}),R=(0,b.genStyleHooks)(["Badge","Ribbon"],e=>(e=>{let{antCls:t,badgeFontHeight:o,marginXS:r,badgeRibbonOffset:l,calc:n}=e,a=`${t}-ribbon`,i=`${t}-ribbon-wrapper`,s=(0,g.genPresetColor)(e,(e,{darkColor:t})=>({[`&${a}-color-${e}`]:{background:t,color:t}}));return{[i]:{position:"relative"},[a]:{...(0,p.resetComponent)(e),position:"absolute",top:r,padding:`0 ${(0,f.unit)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,f.unit)(o),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-content`]:{color:e.badgeTextColor},[`${a}-corner`]:{position:"absolute",top:"100%",width:l,height:l,color:"currentcolor",border:`${(0,f.unit)(n(l).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter},...s,[`&${a}-placement-end`]:{insetInlineEnd:n(l).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:n(l).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}}}})(k(e)),E);N.Ribbon=t.forwardRef((e,o)=>{let{className:a,prefixCls:i,style:c,color:d,children:u,text:m,placement:f="end",rootClassName:p,styles:g,classNames:b}=e,{getPrefixCls:$,direction:h,className:v,style:C,classNames:y,styles:S}=(0,s.useComponentConfig)("ribbon"),x=$("ribbon",i),k=`${x}-wrapper`,[E,w]=R(x,k),N={...e,placement:f}
1,T=(0,n.useSemanticRootStyle)(C,"indicator"),z=(0,n.useSemanticRootStyle)(c,"indicator"),[I,D]=(0,n.useMergeSemantic)([y,b],[S,T,g,z],{props:N}),M=(0,l.isPresetColor)(d,!1),B=(0,r.clsx)(x,`${x}-placement-${f}`,{[`${x}-rtl`]:"rtl"===h,[`${x}-color-${d}`]:M},a,v,I.indicator),H={},F={};d&&!M&&(H.background=d,F.color=d);let P=t.useRef(null);return t.useImperativeHandle(o,()=>({nativeElement:P.current})),t.createElement("div",{ref:P,className:(0,r.clsx)(k,p,E,w,I.root),style:D.root},u,t.createElement("div",{className:(0,r.clsx)(B,E),style:{...H,...D.indicator}},t.createElement("span",{className:(0,r.clsx)(`${x}-content`,I.content),style:D.content},m),t.createElement("div",{className:`${x}-corner`,style:F})))}),e.s(["default",0,N],244458)},297317,e=>{"use strict";var t=e.i(491807),o=e.i(517188),r=e.i(27486),l=e.i(137852),n=e.i(220933),a=e.i(7284);let i=t.default.forwardRef(function(e,o){let{disabled:r,prefixCls:n,character:i,characterRender:s,index:c,count:d,value:u,allowHalf:m,focused:f,onHover:p,onClick:g}=e,b=c+1,$=new Set([n]);0===u&&0===c&&f?$.add(`${n}-focused`):m&&u+.5>=b&&u<b?($.add(`${n}-half`),$.add(`${n}-active`),f&&$.add(`${n}-focused`)):(b<=u?$.add(`${n}-full`):$.add(`${n}-zero`),b===u&&f&&$.add(`${n}-focused`));let h="function"==typeof i?i(e):i,v=t.default.createElement("li",{className:(0,a.clsx)(Array.from($)),ref:o},t.default.createElement("div",{onClick:r?null:e=>{g(e,c)},onKeyDown:r?null:e=>{e.keyCode===l.default.ENTER&&g(e,c)},onMouseMove:r?null:e=>{p(e,c)},role:"radio","aria-checked":u>c?"true":"false","aria-posinset":c+1,"aria-setsize":d,tabIndex:r?-1:0},t.default.createElement("div",{className:`${n}-first`},h),t.default.createElement("div",{className:`${n}-second`},h)));return s&&(v=s(v,e)),v});function s(){return(s=Object.assign.bind()).apply(this,arguments)}let c=t.default.forwardRef(function(e,o){let c,{prefixCls:d="rc-rate",className:u,defaultValue:m,value:f,count:p=5,allowHalf:g=!1,allowClear:b=!0,keyboard:$=!0,character:h="â
",characterRender:v,disabled:C,direction:y="ltr",tabIndex:S=0,autoFocus:x,onHoverChange:k,onChange:E,onFocus:w,onBlur:N,onKeyDown:R,onMouseLeave:T,...z}=e,[I,D]=(c=t.useRef({}),[function(e){return c.current[e]},function(e){return t=>{c.current[e]=t}}]),M=t.default.useRef(null),B=()=>{C||M.current?.focus()};t.default.useImperativeHandle(o,()=>({focus:B,blur:()=>{C||M.current?.blur()}}));let[H,F]=(0,r.default)(m||0,f),[P,O]=(0,r.default)(null),L=(e,t)=>{let o="rtl"===y,r=e+1;if(g){let l,n,a,i=I(e),s=(l=function(e){let t,o,r=e.ownerDocument,{body:l}=r,n=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,o=a.top,{left:t-=n.clientLeft||l.clientLeft||0,top:o-=n.clientTop||l.clientTop||0}}(i),a=(n=i.ownerDocument).defaultView||n.parentWindow,l.left+=function(e){let t=e.pageXOffset,o="scrollLeft";if("number"!=typeof t){let r=e.document;"number"!=typeof(t=r.documentElement[o])&&(t=r.body[o])}return t}(a),l.left),c=i.clientWidth;o&&t-s>c/2?r-=.5:!o&&t-s<c/2&&(r-=.5)}return r},W=e=>{F(e),E?.(e)},[A,j]=t.default.useState(!1),[K,q]=t.default.useState(null),G=(e,t)=>{let o=L(t,e.pageX);o!==P&&(q(o),O(null)),k?.(o)},V=e=>{C||(q(null),O(null),k?.(void 0)),e&&T?.(e)},Z=(e,t)=>{let o=L(t,e.pageX),r=!1;b&&(r=o===H),V(),W(r?0:o),O(r?o:null)};t.default.useEffect(()=>{x&&!C&&B()},[]);let X=Array(p).fill(0).map((e,o)=>t.default.createElement(i,{ref:D(o),index:o,count:p,disabled:C,prefixCls:`${d}-star`,allowHalf:g,value:null===K?H:K,onClick:Z,onHover:G,key:e||o,character:h,characterRender:v,focused:A})),_=(0,a.clsx)(d,u,{[`${d}-disabled`]:C,[`${d}-rtl`]:"rtl"===y});return t.default.createElement("ul",s({className:_,onMouseLeave:V,tabIndex:C?-1:S,onFocus:C?null:()=>{j(!0),w?.()},onBlur:C?null:()=>{j(!1),N?.()},onKeyDown:C?null:e=>{let{keyCode:t}=e,o="rtl"===y,r=g?.5:1;$&&(t===l.default.RIGHT&&H<p&&!o?(W(H+r),e.preventDefault()):t===l.default.LEFT&&H>0&&!o||t===l.default.RIGHT&&H>0&&o?(W(H-r),e.preventDefault()):t===l.default.LEFT&&H<p&&o&&(W(H+r),e.preventDefault())),R?.(e)},ref:M},(0,n.default)(z,{aria:!0,data:!0,attr:!0})),X)});var d=e.i(227699),u=e.i(4266),m=e.i(623453),f=e.i(515260),p=e.i(725595);e.i(789276);
1var g=e.i(649176),b=e.i(18179),$=e.i(709155),h=e.i(824132);let v=(0,$.genStyleHooks)("Rate",e=>(e=>{let{componentCls:t}=e;return{[t]:{...(0,b.resetComponent)(e),display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none","&-small":{fontSize:e.starSizeSM},"&-large":{fontSize:e.starSizeLG},[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}},...(e=>{let{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,g.unit)(e.lineWidthFocus)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}})(e),...{[`&-rtl${e.componentCls}`]:{direction:"rtl"}}}}})((0,h.mergeToken)(e,{})),e=>({lineWidthFocus:0===e.lineWidthFocus?0:e.lineWidth,starColor:e.yellow6,starSize:.625*e.controlHeight,starSizeSM:.625*e.controlHeightSM,starSizeLG:.625*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent})),C=t.forwardRef((e,r)=>{let{prefixCls:l,className:n,rootClassName:i,style:s,tooltips:g,character:b=t.createElement(o.default,null),disabled:$,size:h,...C}=e,{getPrefixCls:y,direction:S,className:x,style:k}=(0,u.useComponentConfig)("rate"),E=y("rate",l),[w,N]=v(E),R={...k,...s},T=t.useContext(m.default),z=(0,f.default)(e=>h??e);return t.createElement(c,{ref:r,character:b,characterRender:(e,{index:o=0})=>{if(!g)return e;let r=g[o];return(0,d.isPlainObject)(r)?t.createElement(p.default,{...r},e):t.createElement(p.default,{title:r},e)},disabled:$??T,...C,className:(0,a.clsx)({[`${E}-large`]:"large"===z,[`${E}-small`]:"small"===z},n,i,w,N,x),style:R,prefixCls:E,direction:S})});e.s(["default",0,C],297317)},386650,e=>{"use strict";var t=e.i(491807);e.i(944284);var o=e.i(313655),r=e.i(54464),l=e.i(729460),n=e.i(7284),a=e.i(337218),i=e.i(227699),s=e.i(4266),c=e.i(244442);let d=e=>{let o,{value:r,formatter:l,precision:n,decimalSeparator:a,groupSeparator:s="",prefixCls:c,className:d,style:u}=e;if((0,i.isFunction)(l))o=l(r);else{let e=String(r),l=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(l&&"-"!==e){let e=l[1],r=l[2]||"0",d=l[4]||"";r=r.replace(/\B(?=(\d{3})+(?!\d))/g,s),(0,i.isNumber)(n)&&(d=d.padEnd(n,"0").slice(0,n>0?n:0)),d&&(d=`${a}${d}`),o=[t.createElement("span",{key:"int",className:`${c}-content-value-int`},e,r),d&&t.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},d)]}else o=e}return t.createElement("span",{className:d,style:u},o)};var u=e.i(18179),m=e.i(709155),f=e.i(824132);let p=(0,m.genStyleHooks)("Statistic",e=>(e=>{let{componentCls:t,marginXXS:o,padding:r,colorTextDescription:l,titleFontSize:n,colorTextHeading:a,contentFontSize:i,fontFamily:s}=e;return{[t]:{...(0,u.resetComponent)(e),[`${t}-header`]:{paddingBottom:o,[`${t}-title`]:{color:l,fontSize:n}},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:i,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:o},[`${t}-content-suffix`]:{marginInlineStart:o}}}}})((0,f.mergeToken)(e,{})),e=>{let{fontSizeHeading3:t,fontSize:o}=e;return{titleFontSize:o,contentFontSize:t}}),g=t.forwardRef((e,o)=>{let{prefixCls:r,className:u,rootClassName:m,style:f,valueStyle:g,value:b=0,title:$,valueRender:h,prefix:v,suffix:C,loading:y=!1,formatter:S,precision:x,decimalSeparator:k=".",groupSeparator:E=",",onMouseEnter:w,onMouseLeave:N,styles:R,classNames:T,...z}=e,{getPrefixCls:I,direction:D,className:M,style:B,classNames:H,styles:F}=(0,s.useComponentConfig)("statistic"),P=I("statistic",r),[O,L]=p(P),W={...e,decimalSeparator:k,groupSeparator:E,loading:y,value:b},A=(0,a.useSemanticRootStyle)(B),j=(0,a.useSemanticRootStyle)(f),[K,q]=(0,a.useMergeSemantic)([H,T],[F,A,R,j],{props:W}),G=(0,n.clsx)(P,{[`${P}-rtl`]:"rtl"===D},M,u,m,K.root,O,L),V=(0,n.clsx)(`${P}-header`,K.header),Z=(0,n.clsx)(`${P}-title`,K.title),X=(0,n.clsx)(`${P}-content`,K.content),_=(0,n.clsx)(`${P}-content-value`,K.value),U=(0,n.clsx)(`${P}-content-prefix`,K.prefix),Y=(0,n.clsx)(`${P}-content-suffix`,K.suffix),J=t.createElement(d,{decimalSeparator:k,groupSeparator:E,prefixCls:P,formatter:S,precision:x,value:b,className:_,style:q.value}),Q=t.useRef(null);t.useImperativeHandle(o,()=>({nativeElement:Q.current}));let ee=(0,l.pickAttrs)(z,{aria:!0,data:!0});return t.createElement("div",{...ee,className:G,style:q.root,ref:Q,onMouseEnter:w,onMouseLeave:N},$&&t.createElement("div",{className:V,style:q.header},t.createElement("div",{className:Z,style:q.title},$)),t.createElement(c.default,{paragraph:!1,loading:y,className:`${P}-skeleton`,active:!0},t.createElement("div",{className:X,style:{...g,...q.content}},v&&t.createElement("span",{className:U,style:q.prefix},v),(0,i.isFunction)(h)?h(J):J,C&&t.createElement("span",{className:Y,style:q.suffix},C))))}),b=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],$=1e3/60,h=e=>{let{value:l,format:n="HH:mm:ss",onChange:a,onFinish:i,type:s,...c}=e,d="countdown"===s,[u,m]=t.useState(null),f=(0,o.useEvent)(()=>{let e=Date.now(),t=new Date(l).getTime();m({});let o=d?t-e:e-t;return a?.(o),!d||!(t<e)||(i?.(),!1)});return t.useEffect(()=>{let e;return e=window.setInterval(()=>{f()||window.clearInterval(e)},$),()=>{window.clearInterval(e)}},[l,d]),t.useEffect(()=>{m({})},[]),t.createElement(g,{...c,value:l,valueRender:e=>(0,r.cloneElement)(e,{title:void 0}),formatter:(e,t)=>u?function(e,t,o){let r,l,n,a,i,s,{format:c=""}=t,d=new Date(e).getTime(),u=Date.now();return r=o?Math.max(d-u,0):Math.max(u-d,0),l=/\[[^\]]*]/g,n=(c.match(l)||[]).map(e=>e.slice(1,-1)),a=c.replace(l,"[]"),i=b.reduce((e,[t,o])=>{if(e.includes(t)){let l=Math.floor(r/o);return r-=l*o,e.replace(RegExp(`${t}+`,"g"),e=>{let t=e.length;return l.toString().padStart(t,"0")})}return e},a),s=0,i.replace(l,()=>{let e=n[s];return s+=1,e})}(e,{...t,format:n},d):"-"})},v=t.memo(e=>t.createElement(h,{...e,type:"countdown"}));g.Timer=h,g.Countdown=v,e.s(["default",0,g],386650)},681715,e=>{"use strict";var t=e.i(491807);e.i(944284);var o=e.i(924477),r=e.i(7284),l=e.i(782976),n=e.i(337218),a=e.i(227699),i=e.i(54464),s=e.i(350451),c=e.i(4266),d=e.i(623453);e.i(789276);
1var u=e.i(649176),m=e.i(243932),f=e.i(787076),p=e.i(89792),g=e.i(18179),b=e.i(709155),$=e.i(824132);let h=e=>{let{lineWidth:t,fontSizeIcon:o,calc:r}=e,l=e.fontSizeSM;return(0,$.mergeToken)(e,{tagFontSize:l,tagLineHeight:(0,u.unit)(r(e.lineHeightSM).mul(l).equal()),tagIconSize:r(o).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},v=e=>{let t=(0,p.isBright)(new f.AggregationColor(e.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new m.FastColor(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},C=(0,b.genStyleHooks)("Tag",e=>(e=>{let{paddingXXS:t,lineWidth:o,tagPaddingHorizontal:r,componentCls:l,calc:n}=e,a=n(r).sub(o).equal(),i=n(t).sub(o).equal();return{[l]:{...(0,g.resetComponent)(e),display:"inline-block",height:"auto",paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",backgroundColor:e.defaultBg,border:`${(0,u.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive},"&-disabled":{cursor:"not-allowed",[`&:not(${l}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${l}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${l}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:e.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${e.iconCls} + span, > span + ${e.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:a}},[`&${e.componentCls}-solid`]:{borderColor:"transparent",color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${l}-default`]:{color:e.solidTextColor}},[`${l}-filled`]:{borderColor:"transparent",backgroundColor:e.tagBorderlessBg},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",backgroundColor:e.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${l}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${l}-solid, &${l}-filled`]:{color:e.colorTextDisabled,[`${l}-close-icon`]:{color:e.colorTextDisabled}},[`${l}-close-icon`]:{cursor:"not-allowed",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}})(h(e)),v),y=t.forwardRef((e,o)=>{let{prefixCls:l,style:n,className:a,checked:i,children:s,icon:u,onChange:m,onClick:f,onKeyDown:p,disabled:g,...b}=e,{getPrefixCls:$,tag:h}=t.useContext(c.ConfigContext),v=t.useContext(d.default),y=g??v,S=$("tag",l),[x,k]=C(S),E=(0,r.clsx)(S,`${S}-checkable`,{[`${S}-checkable-checked`]:i,[`${S}-checkable-disabled`]:y},h?.className,a,x,k);return t.createElement("span",{...b,ref:o,role:"checkbox","aria-checked":i,"aria-disabled":y||void 0,tabIndex:y?-1:0,style:{...n,...h?.style},className:E,onClick:e=>{y||(m?.(!i),f?.(e))},onKeyDown:e=>{p?.(e),e.defaultPrevented||y||" "===e.key&&(e.preventDefault(),m?.(!i))}},u,t.createElement("span",null,s))});var S=e.i(520569),x=e.i(729460),k=e.i(29034),E=e.i(496805);let w=t.default.forwardRef((e,o)=>{let{id:l,prefixCls:i,rootClassName:s,className:d,style:u,classNames:m,styles:f,disabled:p,options:g,value:b,defaultValue:$,onChange:h,multiple:v,...w}=e,{getPrefixCls:N,direction:R,className:T,style:z,classNames:I,styles:D}=(0,c.useComponentConfig)("tag"),M=N("tag",i),B=`${M}
vendor: 4,857 bytes, line 1
1-checkable-group`,H=(0,E.default)(M),[F,P]=C(M,H),O=(0,n.useSemanticRootStyle)(z),L=(0,n.useSemanticRootStyle)(u),[W,A]=(0,n.useMergeSemantic)([I,m],[D,O,f,L],{props:e}),j=(0,t.useMemo)(()=>Array.isArray(g)?g.map(e=>(0,a.isPlainObject)(e)?e:{value:e,label:e}):[],[g]),[K,q]=(0,k.useControlledState)($,b),G=t.default.useRef(null);(0,t.useImperativeHandle)(o,()=>({nativeElement:G.current}));let V=(0,x.pickAttrs)(w,{aria:!0,data:!0});return t.default.createElement("div",{...V,className:(0,r.clsx)(B,T,s,{[`${B}-disabled`]:p,[`${B}-rtl`]:"rtl"===R},F,P,d,W.root),style:A.root,id:l,ref:G},j.map(e=>t.default.createElement(y,{key:e.value,className:(0,r.clsx)(`${B}-item`,W.item,e.className),style:{...A.item,...e.style},checked:v?(K||[]).includes(e.value):K===e.value,onChange:t=>((e,t)=>{let o=null;if(v){let r=K||[];o=e?[].concat((0,S.default)(r),[t.value]):r.filter(e=>e!==t.value)}else o=e?t.value:null;q(o),h?.(o)})(t,e),disabled:p},e.label)))});var N=e.i(77133),R=e.i(736938);let T=(0,b.genSubStyleComponent)(["Tag","preset"],e=>{let t;return t=h(e),(0,R.genPresetColor)(t,(e,{textColor:o,lightBorderColor:r,lightColor:l,darkColor:n})=>({[`${t.componentCls}${t.componentCls}-${e}:not(${t.componentCls}-disabled)`]:{[`&${t.componentCls}-outlined`]:{backgroundColor:l,borderColor:r,color:o},[`&${t.componentCls}-solid`]:{backgroundColor:n,borderColor:n,color:t.colorTextLightSolid},[`&${t.componentCls}-filled`]:{backgroundColor:l,color:o}}}))},v),z=(e,t,o)=>{let r="string"!=typeof o?o:o.charAt(0).toUpperCase()+o.slice(1);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${r}Bg`],borderColor:e[`color${r}Border`],color:e[`color${o}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${o}`],borderColor:e[`color${o}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${r}Bg`],color:e[`color${o}`]}}}},I=(0,b.genSubStyleComponent)(["Tag","status"],e=>{let t=h(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},v),D=t.forwardRef((e,u)=>{let{prefixCls:f,className:p,rootClassName:g,style:b,children:$,icon:h,color:v,variant:y,onClose:S,bordered:x,disabled:k,href:E,target:w,styles:R,classNames:z,...D}=e,{getPrefixCls:M,direction:B,className:H,variant:F,style:P,classNames:O,styles:L}=(0,c.useComponentConfig)("tag"),[W,A,j,K,q]=function(e,o){let{color:r,variant:l,bordered:n}=e;return t.useMemo(()=>{let e,t=r?.endsWith("-inverse");e=l||(t?"solid":!1===n?"filled":o||"filled");let a=t?r?.replace("-inverse",""):r;void 0===a&&"solid"===e&&(a="default");let i=(0,N.isPresetColor)(a),s=(0,N.isPresetStatusColor)(a),c={};if(!i&&!s&&a)if("solid"===e)c.backgroundColor=r;else{let t=new m.FastColor(a).toHsl();t.l=.95,c.backgroundColor=new m.FastColor(t).toHexString(),c.color=r,"outlined"===e&&(c.borderColor=r)}return[e,a,i,s,c]},[r,l,n,o])}(e,F),G=j||K,V=t.useContext(d.default),Z=k??V,{tag:X}=t.useContext(c.ConfigContext),[_,U]=t.useState(!0),Y=(0,o.omit)(D,["closeIcon","closable"]),J={...e,color:A,variant:W,disabled:Z},Q=(0,n.useSemanticRootStyle)(P),ee=(0,n.useSemanticRootStyle)(b),[et,eo]=(0,n.useMergeSemantic)([O,z],[L,Q,R,ee],{props:J}),er=t.useMemo(()=>{let e=eo.root;return Z||(e={...q,...e}),e},[eo.root,q,Z]),el=M("tag",f),[en,ea]=C(el),ei=(0,r.clsx)(el,H,et.root,`${el}-${W}`,{[`${el}-${A}`]:G,[`${el}-hidden`]:!_,[`${el}-rtl`]:"rtl"===B,[`${el}-disabled`]:Z},p,g,en,ea),es=e=>{Z||(e.stopPropagation(),S?.(e),e.defaultPrevented||(E&&e.preventDefault(),U(!1)))},ec=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.currentTarget.click())},[,ed]=(0,l.useClosable)((0,l.pickClosable)(e),(0,l.pickClosable)(X),{closable:!1,closeIconRender:e=>{let o=t.createElement("span",{role:"button",tabIndex:Z?-1:0,"aria-disabled":Z||void 0,className:(0,r.clsx)(`${el}-close-icon`,et.close),onClick:es,onKeyDown:ec,style:eo.close},e);return(0,i.replaceElement)(e,o,e=>({onClick:t=>{e?.onClick?.(t),es(t)},onKeyDown:t=>{e?.onKeyDown?.(t),t.defaultPrevented||ec(t)},role:"button",tabIndex:Z?-1:0,"aria-disabled":Z||void 0,className:(0,r.clsx)(e?.className,`${el}-close-icon`,et.close),style:{...eo.close,...e?.style}}))}}),eu=(0,a.isFunction)(D.onClick)||$&&"a"===$.type,em=(0,i.cloneElement)(h,{className:(0,r.clsx)(t.isValidElement(h)?h.props?.className:void 0,et.icon),style:eo.icon}),ef=em?t.createElement(t.Fragment,null,em,$&&t.createElement("span",{className:et.content,style:eo.content},$)):$,ep=t.createElement(E?"a":"span",{...Y,ref:u,className:ei,style:er,href:Z?void 0:E,target:w,onClick:Z?void 0:Y.onClick,...E&&Z?{"aria-disabled":!0}:{}},ef,ed,j&&t.createElement(T,{key:"preset",prefixCls:el}),K&&t.createElement(I,{key:"status",prefixCls:el}));return eu?t.createElement(s.default,{component:"Tag"},ep):ep});D.CheckableTag=y,D.CheckableTagGroup=w,e.s(["default",0,D],681715)}]);
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.