PageSourceSearch

https://pastecode.io/_next/static/chunks/1n5lxh10zfnl2.js

js pastecode.io collected 2026-10-02 03:01:45 UTC 24,387 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a028b3-f752-7f70-824a-8c7a25e86f1b")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,976569,524056,e=>{"use strict";var o=e.i(380447),t=e.i(999161),l=e.i(712410),r=e.i(197649),n=e.i(816524),a=e.i(833347),i=e.i(33257);let c=a.blue.primary;function s(e){return(0,i.default)(e)[0]}var d=e.i(176444);let u={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},p=e=>{let{icon:o,className:l,onClick:r,style:n,primaryColor:a,secondaryColor:i,...c}=e,p=t.useRef(null),m=u;if(a&&(m={primaryColor:a,secondaryColor:i||s(a)}),(0,d.useInsertStyles)(p),(0,d.warning)((0,d.isIconDefinition)(o),`icon should be icon definiton, but got ${o}`),!(0,d.isIconDefinition)(o))return null;let f=o;return f&&"function"==typeof f.icon&&(f={...f,icon:f.icon(m.primaryColor,m.secondaryColor)}),(0,d.generate)(f.icon,`svg-${f.name}`,{className:l,onClick:r,style:n,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...c,ref:p})};function m(e){return e?Array.isArray(e)?e:[e]:[]}function f(e){let[o,t]=m(e);return p.setTwoToneColors({primaryColor:o,secondaryColor:t})}function g(){return(g=Object.assign.bind()).apply(this,arguments)}p.displayName="IconReact",p.getTwoToneColors=function(){return{...u}},p.setTwoToneColors=function({primaryColor:e,secondaryColor:o}){u.primaryColor=e,u.secondaryColor=o||s(e),u.calculated=!!o},f(c);let b=t.forwardRef((e,o)=>{let{className:l,icon:a,spin:i,rotate:c,tabIndex:s,onClick:d,twoToneColor:u,...f}=e,{prefixCls:b="anticon",rootClassName:C}=t.useContext(n.default),h=(0,r.clsx)(C,b,{[`${b}-${a.name}`]:!!a.name,[`${b}-spin`]:!!i||"loading"===a.name},l),v=s;void 0===v&&d&&(v=-1);let y=c?{msTransform:`rotate(${c}deg)`,transform:`rotate(${c}deg)`}:void 0,[$,x]=m(u);return t.createElement("span",g({role:"img","aria-label":a.name},f,{ref:o,tabIndex:v,onClick:d,className:h}),t.createElement(p,{icon:a,primaryColor:$,secondaryColor:x,style:y}))});function C(){return(C=Object.assign.bind()).apply(this,arguments)}b.getTwoToneColor=function(){let e=p.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},b.setTwoToneColor=f,e.s(["default",0,b],524056);let h=t.forwardRef((e,o)=>t.createElement(b,C({},e,{ref:o,icon:l.default})));var v=e.i(57756);function y(){return(y=Object.assign.bind()).apply(this,arguments)}let $=t.forwardRef((e,o)=>t.createElement(b,y({},e,{ref:o,icon:v.default})));var x=e.i(165995),k=e.i(485356),k=k,w=e.i(257663),S=e.i(648554);let T="text/plain";e.s(["CustomCopyTheClipboard",0,({text:e,title:l,style:r,fetchText:n})=>{let[a,i]=(0,t.useState)("idle"),c=(0,t.useRef)(void 0);(0,t.useEffect)(()=>()=>clearTimeout(c.current),[]);let s=e=>{i(e),clearTimeout(c.current),c.current=setTimeout(()=>i("idle"),"copied"===e?500:2500)},d=async()=>{if("loading"!==a){i("loading");try{let e=n(),o="u"<typeof ClipboardItem?e.then(e=>navigator.clipboard.writeText(e)):navigator.clipboard.write([new ClipboardItem({[T]:e.then(e=>new Blob([e],{type:T}))})]);await o,s("copied")}
1catch(e){(0,S.logApiError)("copy-to-clipboard",e,{message:"the text could not be fetched or the clipboard refused it, so nothing was copied"}),s("failed")}}},u=async()=>{if(n)return d();if(e)try{await navigator.clipboard.writeText(e),s("copied")}catch(e){(0,S.logApiError)("copy-to-clipboard",e,{message:"the clipboard refused the copy, so nothing was copied"}),s("failed")}};return(0,o.jsx)(w.Tooltip,{title:"failed"===a?"Copy failed, try again":l,children:(0,o.jsx)("span",{onClick:u,style:{cursor:"loading"===a?"progress":"pointer"},children:"loading"===a?(0,o.jsx)(k.default,{style:r}):"copied"===a?(0,o.jsx)(h,{twoToneColor:"#07bc0c",style:r}):"failed"===a?(0,o.jsx)($,{twoToneColor:"#e74c3c",style:r}):(0,o.jsx)(x.CopyOutlined,{style:r})})})}],976569)},712410,(e,o,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:function(e,o){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:o}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"}},57756,(e,o,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:function(e,o){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:o}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:e}}]}},name:"close-circle",theme:"twotone"}},886223,(e,o,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"}},53558,(e,o,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},730227,e=>{"use strict";var o=e.i(999161),t=e.i(886223),l=e.i(480885);function r(){return(r=Object.assign.bind()).apply(this,arguments)}
1let n=o.forwardRef((e,n)=>o.createElement(l.default,r({},e,{ref:n,icon:t.default})));e.s(["CodeOutlined",0,n],730227)},165995,e=>{"use strict";var o=e.i(614138);e.s(["CopyOutlined",()=>o.default])},298288,e=>{"use strict";var o=e.i(999161),t=e.i(53558),l=e.i(480885);function r(){return(r=Object.assign.bind()).apply(this,arguments)}let n=o.forwardRef((e,n)=>o.createElement(l.default,r({},e,{ref:n,icon:t.default})));e.s(["FileTextOutlined",0,n],298288)},475217,e=>{"use strict";var o=e.i(999161),t=e.i(456069),l=e.i(951325),r=e.i(437008),n=e.i(103071),a=e.i(765361),i=e.i(683897);e.i(200565);var c=e.i(361067),s=e.i(134987),d=e.i(197649),u=e.i(485610),p=e.i(730208),m=e.i(913719);e.i(890025);var f=e.i(30526),g=e.i(451777),b=e.i(19506);let C=(e,o,t)=>({background:e,[`${t}-icon`]:{color:o}}),h=(0,b.genStyleHooks)("Alert",e=>[(e=>{let{componentCls:o,motionDurationSlow:t,marginXS:l,marginSM:r,fontSize:n,fontSizeLG:a,lineHeight:i,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:u,colorTextHeading:p,withDescriptionPadding:m,defaultPadding:b,lineWidth:C,lineType:h,colorSuccessBorder:v,colorWarningBorder:y,colorErrorBorder:$,colorInfoBorder:x}=e;return{[o]:{...(0,g.resetComponent)(e),position:"relative",display:"flex",alignItems:"center",padding:b,wordWrap:"break-word",borderRadius:c,borderWidth:(0,f.unit)(C),borderStyle:h,[`&${o}-success`]:{borderColor:v},[`&${o}-info`]:{borderColor:x},[`&${o}-warning`]:{borderColor:y},[`&${o}-error`]:{borderColor:$},[`&${o}-filled`]:{borderColor:"transparent"},[`&${o}-rtl`]:{direction:"rtl"},[`${o}-section`]:{flex:1,minWidth:0},[`${o}-icon`]:{marginInlineEnd:l,lineHeight:0},"&-description":{display:"none",fontSize:n,lineHeight:i},"&-title":{color:p},[`&${o}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${t} ${s}`).join(", ")},[`&${o}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${o}-with-description`]:{alignItems:"flex-start",padding:m,[`${o}-icon`]:{marginInlineEnd:r,fontSize:d,lineHeight:0},[`${o}-title`]:{display:"block",marginBottom:l,color:p,fontSize:a},[`${o}-description`]:{display:"block",color:u}},[`&${o}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:o,colorSuccess:t,colorSuccessBg:l,colorWarning:r,colorWarningBg:n,colorError:a,colorErrorBg:i,colorInfo:c,colorInfoBg:s}=e;return{[o]:{"&-success":C(l,t,o),"&-info":C(s,c,o),"&-warning":C(n,r,o),"&-error":{...C(i,a,o),[`${o}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:o,iconCls:t,motionDurationMid:l,marginXS:r,fontSizeIcon:n,colorIcon:a,colorIconHover:i}=e;return{[o]:{[`${o}-actions`]:{marginInlineStart:r},[`${o}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:n,lineHeight:(0,f.unit)(n),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,g.genFocusStyle)(e),[`${t}-close`]:{color:a,transition:`color ${l}`,"&:hover":{color:i}}},"&-close-text":{color:a,transition:`color ${l}`,"&:hover":{color:i}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),v=e=>{let{icon:r,type:i,className:c,style:s,successIcon:d,infoIcon:u,warningIcon:p,errorIcon:m}=e,f={success:d??o.createElement(t.default,null),info:u??o.createElement(a.default,null),error:m??o.createElement(l.default,null),warning:p??o.createElement(n.default,null)};return o.createElement("span",{className:c,style:s},r??f[i])},y=e=>{let{isClosable:t,prefixCls:l,closeIcon:n,handleClose:a,ariaProps:i,className:c,style:s}=e,u=!0===n||void 0===n?o.createElement(r.default,null):n;return t?o.createElement("button",{type:"button",onClick:a,className:(0,d.clsx)(`${l}-close-icon`,c),tabIndex:0,style:s,...i},u):null},$=o.forwardRef((e,t)=>{let{description:l,prefixCls:r,message:n,title:a,banner:f,className:g,rootClassName:b,style:C,onMouseEnter:$,onMouseLeave:x,onClick:k,afterClose:w,showIcon:S,closable:T,closeText:E,closeIcon:I,action:N,id:M,styles:z,classNames:B,...D}
1=e,H=a??n,[P,R]=o.useState(!1),j=o.useRef(null);o.useImperativeHandle(t,()=>({nativeElement:j.current}));let{getPrefixCls:O,direction:A,variant:L,closable:F,closeIcon:V,className:_,style:W,classNames:K,styles:q,successIcon:G,infoIcon:U,warningIcon:X,errorIcon:J}=(0,m.useComponentConfig)("alert"),Q=O("alert",r),[Y,Z]=h(Q),{onClose:ee,afterClose:eo}=(0,p.isPlainObject)(T)?T:{},et=o=>{R(!0),(ee??e.onClose)?.(o)},el=o.useMemo(()=>void 0!==e.type?e.type:f?"warning":"info",[e.type,f]),er=e.variant??L??"outlined",en=o.useMemo(()=>!!(0,p.isPlainObject)(T)&&!!T.closeIcon||!!E||("boolean"==typeof T?T:!!(!1!==I&&(0,p.isNonNullable)(I))||!!F),[E,I,T,F]),ea=!!f&&void 0===S||S,ei={...e,prefixCls:Q,variant:er,type:el,showIcon:ea,closable:en},ec=(0,u.useSemanticRootStyle)(W),es=(0,u.useSemanticRootStyle)(C),[ed,eu]=(0,u.useMergeSemantic)([K,B],[q,ec,z,es],{props:ei}),ep=(0,d.clsx)(Q,`${Q}-${el}`,`${Q}-${er}`,{[`${Q}-with-description`]:!!l,[`${Q}-no-icon`]:!ea,[`${Q}-banner`]:!!f,[`${Q}-rtl`]:"rtl"===A},_,g,b,ed.root,Z,Y),em=(0,s.pickAttrs)(D,{aria:!0,data:!0}),ef=o.useMemo(()=>(0,p.isPlainObject)(T)&&T.closeIcon?T.closeIcon:E||(void 0!==I?I:(0,p.isPlainObject)(F)&&F.closeIcon?F.closeIcon:V),[I,T,F,E,V]),eg=o.useMemo(()=>{let e=T??F;return(0,p.isPlainObject)(e)?(0,s.pickAttrs)(e,{data:!0,aria:!0}):{}},[T,F]);return o.createElement(i.default,{visible:!P,motionName:`${Q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:eo??w},({className:t,style:r},n)=>o.createElement("div",{id:M,ref:(0,c.composeRef)(j,n),"data-show":!P,className:(0,d.clsx)(ep,t),style:{...eu.root,...r},onMouseEnter:$,onMouseLeave:x,onClick:k,role:"alert",...em},ea?o.createElement(v,{className:(0,d.clsx)(`${Q}-icon`,ed.icon),style:eu.icon,description:l,icon:e.icon,prefixCls:Q,type:el,successIcon:G,infoIcon:U,warningIcon:X,errorIcon:J}):null,o.createElement("div",{className:(0,d.clsx)(`${Q}-section`,ed.section),style:eu.section},H?o.createElement("div",{className:(0,d.clsx)(`${Q}-title`,ed.title),style:eu.title},H):null,l?o.createElement("div",{className:(0,d.clsx)(`${Q}-description`,ed.description),style:eu.description},l):null),N?o.createElement("div",{className:(0,d.clsx)(`${Q}-actions`,ed.actions),style:eu.actions},N):null,o.createElement(y,{className:ed.close,style:eu.close,isClosable:en,prefixCls:Q,closeIcon:ef,handleClose:et,ariaProps:eg})))});var x=e.i(437075),k=e.i(588284),w=e.i(372741),S=e.i(130628),T=e.i(430379),E=e.i(893916);let I=function(e){function t(){var e,o,l;return(0,x.default)(this,t),o=t,l=arguments,o=(0,w.default)(o),(e=(0,T.default)(this,(0,S.default)()?Reflect.construct(o,l||[],(0,w.default)(this).constructor):o.apply(this,l))).state={error:void 0,info:{}},e}
1return(0,E.default)(t,e),(0,k.default)(t,[{key:"componentDidCatch",value:function(e,o){this.setState({error:e,info:o})}},{key:"render",value:function(){let{message:e,title:t,description:l,id:r,children:n}=this.props,{error:a,info:i}=this.state,c=t??e,s=i?.componentStack||null,d=(0,p.isNonNullable)(c)?c:a?.toString(),u=(0,p.isNonNullable)(l)?l:s;return a?o.createElement($,{id:r,type:"error",title:d,description:o.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},u)}):n}}])}(o.PureComponent);$.ErrorBoundary=I,e.s(["Alert",0,$],475217)},971452,e=>{"use strict";var o=e.i(999161);e.i(200565);var t=e.i(536396),l=e.i(197649),r=e.i(202312),n=e.i(485610),a=e.i(730208),i=e.i(330740),c=e.i(534079),s=e.i(913719),d=e.i(426325);e.i(890025);var u=e.i(30526),p=e.i(145241),m=e.i(125064),f=e.i(190983),g=e.i(451777),b=e.i(19506),C=e.i(726312);let h=e=>{let{lineWidth:o,fontSizeIcon:t,calc:l}=e,r=e.fontSizeSM;return(0,C.mergeToken)(e,{tagFontSize:r,tagLineHeight:(0,u.unit)(l(e.lineHeightSM).mul(r).equal()),tagIconSize:l(t).sub(l(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},v=e=>{let o=(0,f.isBright)(new m.AggregationColor(e.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new p.FastColor(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:o}},y=(0,b.genStyleHooks)("Tag",e=>(e=>{let{paddingXXS:o,lineWidth:t,tagPaddingHorizontal:l,componentCls:r,calc:n}=e,a=n(l).sub(t).equal(),i=n(o).sub(t).equal();return{[r]:{...(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",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-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(${r}-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(${r}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${r}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${r}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:e.paddingXS}},"&-hidden":{display:"none"},"> svg":{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,[`&${r}-default`]:{color:e.solidTextColor}},[`${r}-filled`]:{borderColor:"transparent",backgroundColor:e.tagBorderlessBg},[`&${r}-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}},[`&${r}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${r}-solid, &${r}-filled`]:{color:e.colorTextDisabled,[`${r}-close-icon`]:{color:e.colorTextDisabled}},[`${r}-close-icon`]:{cursor:"not-allowed",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}})(h(e)),v),$=o.forwardRef((e,t)=>{let{prefixCls:r,style:n,className:a,checked:i,children:c,icon:u,onChange:p,onClick:m,onKeyDown:f,disabled:g,...b}=e,{getPrefixCls:C,tag:h}=o.useContext(s.ConfigContext),v=o.useContext(d.default),$=g??v,x=C("tag",r),[k,w]=y(x),S=(0,l.clsx)(x,`${x}-checkable`,{[`${x}-checkable-checked`]:i,[`${x}-checkable-disabled`]:$},h?.className,a,k,w);return o.createElement("span",{...b,ref:t,role:"checkbox","aria-checked":i,"aria-disabled":$||void 0,tabIndex:$?-1:0,style:{...n,...h?.style},className:S,onClick:e=>{$||(p?.(!i),m?.(e))},onKeyDown:e=>{f?.(e),e.defaultPrevented||$||" "===e.key&&(e.preventDefault(),p?.(!i))}},u,o.createElement("span",null,c))});var x=e.i(151688),k=e.i(134987),w=e.i(196248),S=e.i(17670);let T=o.default.forwardRef((e,t)=>
1{let{id:r,prefixCls:i,rootClassName:c,className:d,style:u,classNames:p,styles:m,disabled:f,options:g,value:b,defaultValue:C,onChange:h,multiple:v,...T}=e,{getPrefixCls:E,direction:I,className:N,style:M,classNames:z,styles:B}=(0,s.useComponentConfig)("tag"),D=E("tag",i),H=`${D}-checkable-group`,P=(0,S.default)(D),[R,j]=y(D,P),O=(0,n.useSemanticRootStyle)(M),A=(0,n.useSemanticRootStyle)(u),[L,F]=(0,n.useMergeSemantic)([z,p],[B,O,m,A],{props:e}),V=(0,o.useMemo)(()=>Array.isArray(g)?g.map(e=>(0,a.isPlainObject)(e)?e:{value:e,label:e}):[],[g]),[_,W]=(0,w.useControlledState)(C,b),K=o.default.useRef(null);(0,o.useImperativeHandle)(t,()=>({nativeElement:K.current}));let q=(0,k.pickAttrs)(T,{aria:!0,data:!0});return o.default.createElement("div",{...q,className:(0,l.clsx)(H,N,c,{[`${H}-disabled`]:f,[`${H}-rtl`]:"rtl"===I},R,j,d,L.root),style:F.root,id:r,ref:K},V.map(e=>o.default.createElement($,{key:e.value,className:(0,l.clsx)(`${H}-item`,L.item,e.className),style:{...F.item,...e.style},checked:v?(_||[]).includes(e.value):_===e.value,onChange:o=>((e,o)=>{let t=null;if(v){let l=_||[];t=e?[].concat((0,x.default)(l),[o.value]):l.filter(e=>e!==o.value)}else t=e?o.value:null;W(t),h?.(t)})(o,e),disabled:f},e.label)))});var E=e.i(577755),I=e.i(909375);let N=(0,b.genSubStyleComponent)(["Tag","preset"],e=>{let o;return o=h(e),(0,I.genPresetColor)(o,(e,{textColor:t,lightBorderColor:l,lightColor:r,darkColor:n})=>({[`${o.componentCls}${o.componentCls}-${e}:not(${o.componentCls}-disabled)`]:{[`&${o.componentCls}-outlined`]:{backgroundColor:r,borderColor:l,color:t},[`&${o.componentCls}-solid`]:{backgroundColor:n,borderColor:n,color:o.colorTextLightSolid},[`&${o.componentCls}-filled`]:{backgroundColor:r,color:t}}}))},v),M=(e,o,t)=>{let l="string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1);return{[`${e.componentCls}${e.componentCls}-${o}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${l}Bg`],borderColor:e[`color${l}Border`],color:e[`color${t}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${t}`],borderColor:e[`color${t}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${l}Bg`],color:e[`color${t}`]}}}},z=(0,b.genSubStyleComponent)(["Tag","status"],e=>{let o=h(e);return[M(o,"success","Success"),M(o,"processing","Info"),M(o,"error","Error"),M(o,"warning","Warning")]},v),B=o.forwardRef((e,u)=>{let{prefixCls:m,className:f,rootClassName:g,style:b,children:C,icon:h,color:v,variant:$,onClose:x,bordered:k,disabled:w,href:S,target:T,styles:I,classNames:M,...B}=e,{getPrefixCls:D,direction:H,className:P,variant:R,style:j,classNames:O,styles:A}=(0,s.useComponentConfig)("tag"),[L,F,V,_,W]=function(e,t){let{color:l,variant:r,bordered:n}=e;return o.useMemo(()=>{let e,o=l?.endsWith("-inverse");e=r||(o?"solid":!1===n?"filled":t||"filled");let a=o?l?.replace("-inverse",""):l;void 0===a&&"solid"===e&&(a="default");let i=(0,E.isPresetColor)(a),c=(0,E.isPresetStatusColor)(a),s={};if(!i&&!c&&a)if("solid"===e)s.backgroundColor=l;else{let o=new p.FastColor(a).toHsl();o.l=.95,s.backgroundColor=new p.FastColor(o).toHexString(),s.color=l,"outlined"===e&&(s.borderColor=l)}return[e,a,i,c,s]},[l,r,n,t])}(e,R),K=V||_,q=o.useContext(d.default),G=w??q,{tag:U}=o.useContext(s.ConfigContext),[X,J]=o.useState(!0),Q=(0,t.omit)(B,["closeIcon","closable"]),Y={...e,color:F,variant:L,disabled:G},[Z,ee]=(0,n.useMergeSemantic)([O,M],[A,I],{props:Y}),eo=o.useMemo(()=>{let e={...ee.root,...j,...b};return G||(e={...W,...e}),e},[ee.root,j,b,W,G]),et=D("tag",m),[el,er]=y(et),en=(0,l.clsx)(et,P,Z.root,`${et}-${L}`,{[`${et}-${F}`]:K,[`${et}-hidden`]:!X,[`${et}-rtl`]:"rtl"===H,[`${et}-disabled`]:G},f,g,el,er),ea=e=>{G||(e.stopPropagation(),x?.(e),e.defaultPrevented||(S&&e.preventDefault(),J(!1)))},ei=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.currentTarget.click())},[,ec]=(0,r.useClosable)((0,r.pickClosable)(e),(0,r.pickClosable)(U),{closable:!1,closeIconRender:e=>{let t=o.createElement("span",{role:"button",tabIndex:G?-1:0,"aria-disabled":G||void 0,className:(0,l.clsx)(`${et}-close-icon`,Z.close),onClick:ea,onKeyDown:ei,style:ee.close},e);return(0,i.replaceElement)(e,t,e=>({onClick:o=>{e?.onClick?.(o),ea(o)},onKeyDown:o=>{e?.onKeyDown?.(o),o.defaultPrevented||ei(o)},role:"button",tabIndex:G?-1:0,"aria-disabled":G||void 0,className:(0,l.clsx)(e?.className,`${et}-close-icon`,Z.close),style:{...ee.close,...e?.style}}))}}),es=(0,a.isFunction)(B.onClick)||C&&"a"===C.type,ed=(0,i.cloneElement)(h,{className:(0,l.clsx)(o.isValidElement(h)?h.props?.className:void 0,Z.icon),style:ee.icon}),eu=ed?o.createElement(o.Fragment,null,ed,C&&o.createElement("span",{className:Z.content,style:ee.content},C)):C,ep=o.createElement(S?"a":"span",{...Q,ref:u,className:en,style:eo,href:G?void 0:S,target:T,onClick:G?void 0:Q.onClick,...S&&G?{"aria-disabled":!0}:{}},eu,ec,V&&o.createElement(N,{key:"preset",prefixCls:et}),_&&o.createElement(z,{key:"status",prefixCls:et}));return es?o.createElement(c.default,{component:"Tag"},ep):ep});B.CheckableTag=$,B.CheckableTagGroup=T,e.s(["Tag",0,B],971452)},257663,e=>{"use strict";var o=e.i(574803);e.s(["Tooltip",()=>o.default])}]);
2
3//# chunkId=01a028b3-f752-7f70-824a-8c7a25e86f1b

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.