1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3275],{83275:(e,t,n)=>{let r;n.d(t,{A:()=>eH});var a=n(26510),l=n(10741);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};var o=n(96360);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let c=a.forwardRef((e,t)=>a.createElement(o.A,s({},e,{ref:t,icon:i})));var u=n(32700),d=n(80739),p=n(70080),m=n(53978),f=n(64779),g=n(97810),h=n(13603);let b=e=>{if((0,h.A)()&&window.document.documentElement){let t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1};function x(e,t){if(!Array.isArray(e)&&void 0!==t){if(!b(e))return!1;let n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}return b(e)}var y=n(84632),v=n(65668),w=n(32224);let $={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let S=a.forwardRef((e,t)=>a.createElement(o.A,E({},e,{ref:t,icon:$})));var k=n(81581),A=n(83681),C=n(87731),R=n(10063),z=n(66588),T=n(84146),H=n(17654);let I=` 2 min-height:0 !important; 3 max-height:none !important; 4 height:0 !important; 5 visibility:hidden !important; 6 overflow:hidden !important; 7 position:absolute !important; 8 z-index:-1000 !important; 9 top:0 !important; 10 right:0 !important; 11 pointer-events: none !important; 12`,M=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],O={};function B(){return(B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let L=a.forwardRef((e,t)=>{let{prefixCls:n,defaultValue:l,value:i,autoSize:o,onResize:s,className:c,style:d,disabled:m,onChange:g,onInternalAutoSize:h,...b}=e,[x,y]=(0,T.A)(l,i),v=a.useRef();a.useImperativeHandle(t,()=>({textArea:v.current}));let[w,$]=a.useMemo(()=>o&&"object"==typeof o?[o.minRows,o.maxRows]:[],[o]),E=!!o,[S,k]=a.useState(2),[A,C]=a.useState(),R=()=>{k(0)};(0,p.A)(()=>{E&&R()},[i,w,$,E]),(0,p.A)(()=>{if(0===S)k(1);else if(1===S){let e=function(e,t=!1,n=null,a=null){let l,i,o;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),r.setAttribute("name","hiddenTextarea"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");let{paddingSize:s,borderSize:c,boxSizing:u,sizingStyle:d}=function(e,t=!1){let n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&O[n])return O[n];let r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),l=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),o={sizingStyle:M.map(e=>`${e}:${r.getPropertyValue(e)}`).join(";"),paddingSize:l,borderSize:i,boxSizing:a};return t&&n&&(O[n]=o),o}(e,t);r.setAttribute("style",`${d};${I}`),r.value=e.value||e.placeholder||"";let p=r.scrollHeight;if("border-box"===u?p+=c:"content-box"===u&&(p-=s),null!==n||null!==a){r.value=" ";let e=r.scrollHeight-s;null!==n&&(i=e*n,"border-box"===u&&(i=i+s+c),p=Math.max(i,p)),null!==a&&(o=e*a,"border-box"===u&&(
12o=o+s+c),l=p>o?"":"hidden",p=Math.min(o,p))}let m={height:p,overflowY:l,resize:"none"};return i&&(m.minHeight=i),o&&(m.maxHeight=o),m}(v.current,!1,w,$);k(2),C(e)}},[S]);let z=a.useRef(),L=()=>{H.A.cancel(z.current)};a.useEffect(()=>L,[]);let F={...d,...E?A:null};return(0===S||1===S)&&(F.overflowY="hidden",F.overflowX="hidden"),a.createElement(u.Ay,{onResize:e=>{2===S&&(s?.(e),o&&(L(),z.current=(0,H.A)(()=>{R()})))},disabled:!(o||s)},a.createElement("textarea",B({},b,{ref:v,style:F,className:(0,f.$)(n,c,{[`${n}-disabled`]:m}),disabled:m,value:x??"",onChange:e=>{y(e.target.value),g?.(e)}})))});function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let N=a.forwardRef(({defaultValue:e,value:t,onFocus:n,onBlur:r,onChange:l,allowClear:i,maxLength:o,onCompositionStart:s,onCompositionEnd:c,suffix:u,prefixCls:d="rc-textarea",showCount:p,count:m,className:g,style:h,disabled:b,hidden:x,classNames:y,styles:v,onResize:w,onClear:$,onPressEnter:E,readOnly:S,autoSize:k,onKeyDown:A,...H},I)=>{let M,[O,B]=(0,T.A)(e,t),N=null==O?"":String(O),[W,D]=a.useState(!1),P=a.useRef(!1),[j,V]=a.useState(null),q=(0,a.useRef)(null),X=(0,a.useRef)(null),K=()=>X.current?.textArea,_=()=>{K().focus()};(0,a.useImperativeHandle)(I,()=>({resizableTextArea:X.current,focus:_,blur:()=>{K().blur()},nativeElement:q.current?.nativeElement||K()})),(0,a.useEffect)(()=>{D(e=>!b&&e)},[b]);let[Q,Y]=a.useState(null);a.useEffect(()=>{Q&&K().setSelectionRange(...Q)},[Q]);let G=(0,R.A)(m,p),U=G.max??o,J=Number(U)>0,Z=G.strategy(N),ee=!!U&&Z>U,et=(e,t)=>{let n=t;!P.current&&G.exceedFormatter&&G.max&&G.strategy(t)>G.max&&(n=G.exceedFormatter(t,{max:G.max}),t!==n&&Y([K().selectionStart||0,K().selectionEnd||0])),B(n),(0,z.gS)(e.currentTarget,e,l,n)},en=u;G.show&&(M=G.showFormatter?G.showFormatter({value:N,count:Z,maxLength:U}):`${Z}${J?` / ${U}`:""}`,en=a.createElement(a.Fragment,null,en,a.createElement("span",{className:(0,f.$)(`${d}-data-count`,y?.count),style:v?.count},M)));let er=!k&&!p&&!i;return a.createElement(C.a,{ref:q,value:N,allowClear:i,handleReset:e=>{B(""),_(),(0,z.gS)(K(),e,l)},suffix:en,prefixCls:d,classNames:{...y,affixWrapper:(0,f.$)(y?.affixWrapper,{[`${d}-show-count`]:p,[`${d}-textarea-allow-clear`]:i})},disabled:b,focused:W,className:(0,f.$)(g,ee&&`${d}-out-of-range`),style:{...h,...j&&!er?{height:"auto"}:{}},dataAttrs:{affixWrapper:{"data-count":"string"==typeof M?M:void 0}},hidden:x,readOnly:S,onClear:$},a.createElement(L,F({},H,{autoSize:k,maxLength:o,onKeyDown:e=>{"Enter"===e.key&&E&&!e.nativeEvent.isComposing&&E(e),A?.(e)},onChange:e=>{et(e,e.target.value)},onFocus:e=>{D(!0),n?.(e)},onBlur:e=>{D(!1),r?.(e)},onCompositionStart:e=>{P.current=!0,s?.(e)},onCompositionEnd:e=>{P.current=!1,et(e,e.currentTarget.value),c?.(e)},className:(0,f.$)(y?.textarea),style:{resize:h?.resize,...v?.textarea},disabled:b,prefixCls:d,onResize:e=>{w?.(e),K()?.style.height&&V(!0)},ref:X,readOnly:S})))});var W=n(1032),D=n(88458),P=n(37073),j=n(41576),V=n(51445),q=n(8066),X=n(12230),K=n(64711),_=n(50400),Q=n(12472),Y=n(86237),G=n(62505),U=n(71101),J=n(82440);
12let Z=(0,G.OF)(["Input","TextArea"],e=>(e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` 13 &-allow-clear > ${t}, 14 &-affix-wrapper${r}-has-feedback ${t} 15 `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}})((0,U.oX)(e,(0,J.C)(e))),J.b,{resetFont:!1}),ee=(0,a.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,size:l,disabled:i,status:o,allowClear:s,classNames:c,rootClassName:u,className:d,style:p,styles:m,variant:g,showCount:h,onMouseDown:b,onResize:x,...v}=e,{getPrefixCls:w,direction:$,allowClear:E,autoComplete:S,className:k,style:A,classNames:C,styles:R}=(0,y.TP)("textArea"),z=a.useContext(j.A),{status:T,hasFeedback:H,feedbackIcon:I}=a.useContext(X.$W),M=(0,P.v)(T,o),[O,B]=(0,D.AV)([C,c],[R,m],{props:e}),L=a.useRef(null);a.useImperativeHandle(t,()=>({resizableTextArea:L.current?.resizableTextArea,focus:e=>{(0,Q.F4)(L.current?.resizableTextArea?.textArea,e)},blur:()=>L.current?.blur(),nativeElement:L.current?.nativeElement||null}));let F=w("input",n),G=(0,V.A)(F),[U,J]=(0,Y.MG)(F,u);Z(F,G);let{compactSize:ee,compactItemClassnames:et}=(0,_.RQ)(F,$),en=(0,q.A)(e=>l??ee??e),[er,ea]=(0,K.A)("textArea",g,r),el=(0,W.A)(s??E),[ei,eo]=a.useState(!1),[es,ec]=a.useState(!1);return a.createElement(N,{autoComplete:S,...v,style:{...B.root,...A,...p},styles:B,disabled:i??z,allowClear:el,className:(0,f.$)(J,G,d,u,et,k,O.root,{[`${F}-textarea-affix-wrapper-resize-dirty`]:es}),classNames:{...O,textarea:(0,f.$)({[`${F}-sm`]:"small"===en,[`${F}-lg`]:"large"===en},U,O.textarea,ei&&`${F}-mouse-active`),variant:(0,f.$)({[`${F}-${er}`]:ea},(0,P.L)(F,M)),affixWrapper:(0,f.$)(`${F}-textarea-affix-wrapper`,{[`${F}-affix-wrapper-rtl`]:"rtl"===$,[`${F}-affix-wrapper-sm`]:"small"===en,[`${F}-affix-wrapper-lg`]:"large"===en,[`${F}-textarea-show-count`]:h||e.count?.show},U)},prefixCls:F,suffix:H&&a.createElement("span",{className:`${F}-textarea-suffix`},I),showCount:h,ref:L,onResize:e=>{if(x?.(e),ei&&"function"==typeof getComputedStyle){let e=L.current?.nativeElement?.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&ec(!0)}},onMouseDown:e=>{eo(!0),b?.(e);let t=()=>{eo(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}})});var et=n(21338),en=n(82999);let er=(0,G.OF)("Typography",e=>{let t,{componentCls:n,titleMarginTop:r}=e;return{[n]:{color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${n}-secondary, &${n}-link${n}-secondary`]:{color:e.colorTextDescription},[`&${n}-success, &${n}-link${n}-success`]:{color:e.colorSuccessText},[`&${n}-warning, &${n}-link${n}-warning`]:{color:e.colorWarningText},[`&${n}-danger, &${n}-link${n}-danger`]:{color:e.colorErrorText,[`&${n}-link:active, &${n}-link:focus`]:{color:e.colorErrorTextActive},[`&${n}-link:hover`]:{color:e.colorErrorTextHover}},[`&${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"div&, p":{marginBottom:"1em"},...(t={}
15,[1,2,3,4,5].forEach(n=>{t[` 16 h${n}&, 17 div&-h${n}, 18 div&-h${n} > textarea, 19 h${n} 20 `]=((e,t,n,r)=>{let{titleMarginBottom:a,fontWeightStrong:l}=r;return{marginBottom:a,color:n,fontWeight:l,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t),[`& + h1${n}, & + h2${n}, & + h3${n}, & + h4${n}, & + h5${n}`]:{marginTop:r},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:r}},...{code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:en.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}},...(e=>{let{componentCls:t}=e,n=`${t}-link`;return{[`&${n}`]:{...(0,et.Y1)(e),userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none",[`${t}-actions`]:{pointerEvents:"auto"}}}}}})(e),[`${n}-actions`]:{display:"inline"},[` 21 ${n}-expand, 22 ${n}-collapse, 23 ${n}-edit, 24 ${n}-copy 25 `]:{...(0,et.Y1)(e),marginInlineStart:e.marginXXS},...(e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}})(e),...{[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}},...{"a&-ellipsis, span&-ellipsis":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}},"&-rtl":{direction:"rtl"}}}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),ea=e=>{let{prefixCls:t,"aria-label":n,className:r,style:l,direction:i,maxLength:o,autoSize:s=!0,value:c,onSave:u,onCancel:d,onEnd:p,component:m,enterIcon:g=a.createElement(S,null)}=e,h=a.useRef(null),b=a.useRef(!1),x=a.useRef(null),[y,v]=a.useState(c);a.useEffect(()=>{v(c)},[c]),a.useEffect(()=>{if(h.current?.resizableTextArea){let{textArea:e}=h.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let w=()=>{u(y.trim())},[$,E]=er(t),C=(0,f.$)(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i,[`${t}-${m}`]:!!m},r,$,E);return a.createElement("div",{className:C,style:l},a.createElement(ee,{ref:h,maxLength:o,value:y,onChange:({target:e})=>{v(e.value.replace(/[\n\r]/g,""))},onKeyDown:({keyCode:e})=>{b.current||(x.current=e)},onKeyUp:({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:a})=>{x.current!==e||b.current||t||n||r||a||(e===k.A.ENTER?(w(),p?.()):e===k.A.ESC&&d())},onCompositionStart:()=>{b.current=!0},onCompositionEnd:()=>{b.current=!1},onBlur:()=>{w()},"aria-label":n,rows:1,autoSize:s}),null!==g?(0,A.Ob)(g,{className:`${t}-edit-content-confirm`}):null)},el=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([e],{type:"text/plain"})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function ei(e,t){if("string"!=typeof e)return!1;let n=t?.format==="text/html";return!!(await el(e,n)||((e,t)=>{let n=!1,r=r=>{r.stopPropagation(),r.preventDefault(),r.clipboardData?.clearData(),r.clipboardData?.setData("text/plain",e),t&&r.clipboardData?.setData("text/html",e),n=!0};try{return document.addEventListener("copy",r,{capture:!0}),document.execCommand("copy"),n}catch{return!1}finally{document.removeEventListener("copy",r,{capture:!0})}})(e,n))}let eo=(e,t={})=>!(0,g.R)(e)&&t?.skipEmpty?[]:Array.isArray(e)?e:[e];function es(e,t){return a.useMemo(()=>{let n=!!e;return[n,{...t,...n&&"object"==typeof e?e:null}]},[e])}let ec=a.forwardRef((e,t)=>
25{let{prefixCls:n,component:r="article",className:l,rootClassName:i,children:o,direction:s,style:c,...u}=e,{getPrefixCls:d,direction:p,className:m,style:g}=(0,y.TP)("typography"),h=d("typography",n),[b,x]=er(h),v=(0,f.$)(h,m,{[`${h}-rtl`]:"rtl"===(s??p)},l,i,b,x),w={...g,...c};return a.createElement(r,{className:v,style:w,ref:t,...u},o)});var eu=n(66633);let ed={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let em=a.forwardRef((e,t)=>a.createElement(o.A,ep({},e,{ref:t,icon:ed})));var ef=n(31039);let eg=e=>!1===e?[!1,!1]:eo(e);function eh(e,t,n){return!0===e||void 0===e?t:e||n&&t}let eb=e=>["string","number"].includes(typeof e),ex=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:l,tooltips:i,icon:o,tabIndex:s,onCopy:c,loading:u}=e,d=eg(i),p=eg(o),{copied:m,copy:g}=r??{},h=n?m:g,b=eh(d[+!!n],h),x="string"==typeof b?b:h;return a.createElement(w.A,{title:b},a.createElement("button",{type:"button",className:(0,f.$)(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:l}),onClick:c,"aria-label":x,tabIndex:s},n?eh(p[1],a.createElement(eu.A,null),!0):eh(p[0],u?a.createElement(ef.A,null):a.createElement(em,null),!0)))},ey=a.forwardRef(({style:e,children:t},n)=>{let r=a.useRef(null);return a.useImperativeHandle(n,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),a.createElement("span",{"aria-hidden":!0,ref:r,style:{position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)",...e}},t)});function ev(e,t){let n=0,r=[];for(let a=0;a<e.length;a+=1){if(n===t)return r;let l=e[a],i=n+(eb(l)?String(l).length:1);if(i>t){let e=t-n;return r.push(String(l).slice(0,e)),r}r.push(l),n=i}return e}let ew={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function e$(e){let{enableMeasure:t,width:n,text:r,children:i,rows:o,expanded:s,miscDeps:c,onEllipsis:u}=e,m=a.useMemo(()=>(0,d.toArray)(r),[r]),f=a.useMemo(()=>m.reduce((e,t)=>e+(eb(t)?String(t).length:1),0),[r]),g=a.useMemo(()=>i(m,!1),[r]),[h,b]=a.useState(null),x=a.useRef(null),y=a.useRef(null),v=a.useRef(null),w=a.useRef(null),$=a.useRef(null),[E,S]=a.useState(!1),[k,A]=a.useState(0),[C,R]=a.useState(0),[z,T]=a.useState(null);(0,p.A)(()=>{t&&n&&f?A(1):A(0)},[n,r,o,t,m]),(0,p.A)(()=>{if(1===k)A(2),T(y.current&&getComputedStyle(y.current).whiteSpace);else if(2===k){let e=!!v.current?.isExceed();A(e?3:4),b(e?[0,f]:null),S(e),R(Math.max(v.current?.getHeight()||0,(1===o?0:w.current?.getHeight()||0)+($.current?.getHeight()||0))+1),u(e)}},[k]);let H=h?Math.ceil((h[0]+h[1])/2):0;(0,p.A)(()=>{let[e,t]=h||[0,0];if(e!==t){let n=(x.current?.getHeight()||0)>C,r=H;t-e==1&&(r=n?e:t),b(n?[e,r]:[r,t])}},[h,H]);let I=a.useMemo(()=>{if(!t)return i(m,!1);if(3!==k||!h||h[0]!==h[1]){let e=i(m,!1);return[4,0].includes(k)?e:a.createElement("span",{style:{...ew,WebkitLineClamp:o}},e)}return i(s?m:ev(m,h[0]),E)},[s,k,h,m].concat((0,l.A)(c))),M={width:n,margin:0,padding:0,whiteSpace:"nowrap"===z?"normal":"inherit"};return a.createElement(a.Fragment,null,I,2===k&&a.createElement(a.Fragment,null,a.createElement(ey,{style:{...M,...ew,WebkitLineClamp:o},ref:v},g),a.createElement(ey,{style:{...M,...ew,WebkitLineClamp:o-1},ref:w},g),a.createElement(ey,{style:{...M,...ew,WebkitLineClamp:1},ref:$},i([],!0))),3===k&&h&&h[0]!==h[1]&&a.createElement(ey,{style:{...M,top:400},ref:x},i(ev(m,H),!0)),1===k&&a.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}let eE=({enableEllipsis:e,isEllipsis:t,open:n,children:r,tooltipProps:l})=>l?.title&&e?a.createElement(w.A,{open:n&&t,...l},r):r,eS=["delete","mark","code","underline","strong","keyboard","italic"],ek=a.forwardRef((e,t)=>
25{let n,r,i,{prefixCls:o,className:s,style:h,type:b,disabled:$,children:E,ellipsis:S,editable:k,copyable:A,component:C,title:R,onMouseEnter:z,onMouseLeave:T,...H}=e,{getPrefixCls:I,direction:M}=a.useContext(y.QO),[O]=(0,v.A)("Text"),B=a.useRef(null),L=a.useRef(null),F=I("typography",o),N=(0,d.omit)(H,eS),[W,D]=es(k),[P,j]=(0,d.useControlledState)(!1,D.editing),{triggerType:V=["icon"]}=D,q=e=>{e&&D.onStart?.(),j(e)},X=(n=(0,a.useRef)(void 0),(0,a.useEffect)(()=>{n.current=P}),n.current);(0,p.A)(()=>{!P&&X&&L.current?.focus()},[P]);let K=e=>{e?.preventDefault(),q(!0)},[_,Q]=es(A),{copied:Y,copyLoading:G,onClick:U}=(({copyConfig:e,children:t})=>{let[n,r]=a.useState(!1),[l,i]=a.useState(!1),o=a.useRef(null),s=()=>{o.current&&clearTimeout(o.current)},c={};return e.format&&(c.format=e.format),a.useEffect(()=>s,[]),{copied:n,copyLoading:l,onClick:(0,d.useEvent)(async n=>{n?.preventDefault(),n?.stopPropagation(),i(!0);try{let a="function"==typeof e.text?await e.text():e.text;await ei(a||eo(t,{skipEmpty:!0}).join("")||"",c),i(!1),r(!0),s(),o.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(n)}catch(e){throw i(!1),e}})}})({copyConfig:Q,children:E}),[J,Z]=a.useState(!1),[ee,et]=a.useState(!1),[en,er]=a.useState(!1),[el,eu]=a.useState(!1),[ed,ep]=a.useState(!0),[em,ef]=es(S,{expandable:!1,symbol:e=>e?O?.collapse:O?.expand}),[eg,eh]=(0,d.useControlledState)(ef.defaultExpanded||!1,ef.expanded),ey=em&&(!eg||"collapsible"===ef.expandable),{rows:ev=1}=ef,ew=a.useMemo(()=>ey&&(void 0!==ef.suffix||ef.onEllipsis||ef.expandable||W||_),[ey,ef,W,_]);(0,p.A)(()=>{em&&!ew&&(Z(x("webkitLineClamp")),et(x("textOverflow")))},[ew,em]);let[ek,eA]=a.useState(ey),eC=a.useMemo(()=>!ew&&(1===ev?ee:J),[ew,ee,J]);(0,p.A)(()=>{eA(eC&&ey)},[eC,ey]);let eR=(r=ef.tooltip,i=D.text,(0,a.useMemo)(()=>!0===r?{title:i??E}:(0,a.isValidElement)(r)?{title:r}:(0,g.Qd)(r)?{title:i??E,...r}:{title:r},[r,i,E])),ez=ek&&!!eR.title,eT=ey&&(ek?ez&&el:en),eH=ey&&1===ev&&ek,eI=ey&&ev>1&&ek,[eM,eO]=a.useState(0),[eB,eL]=a.useState(!1),[eF,eN]=a.useState(!1),eW=e=>{er(e),en!==e&&ef.onEllipsis?.(e)};a.useEffect(()=>{let e=B.current;if(em&&ez&&e){let t,n,r,a=(t=document.createElement("em"),e.appendChild(t),n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom);el!==a&&eu(a)}},[em,ez,E,eI,ed,eM]),a.useEffect(()=>{let e=B.current;if("u"<typeof IntersectionObserver||!e||!ez||!ey)return;let t=new IntersectionObserver(()=>{ep(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ez,ey]);let eD=a.useMemo(()=>{if(em&&!ek)return[D.text,E,R,eR.title].find(eb)},[em,ek,R,eR.title,eT]);return P?a.createElement(ea,{value:D.text??("string"==typeof E?E:""),onSave:e=>{D.onChange?.(e),q(!1)},onCancel:()=>{D.onCancel?.(),q(!1)},onEnd:D.onEnd,prefixCls:F,className:s,style:h,direction:M,component:C,maxLength:D.maxLength,autoSize:D.autoSize,enterIcon:D.enterIcon}):a.createElement(u.Ay,{onResize:({offsetWidth:e})=>{eO(e)},disabled:!ey},n=>a.createElement(eE,{tooltipProps:eR,enableEllipsis:ey,isEllipsis:eT,open:eF&&!eB},a.createElement(ec,{onMouseEnter:e=>{eN(!0),z?.(e)},onMouseLeave:e=>{eN(!1),T?.(e)},className:(0,f.$)({[`${F}-${b}`]:b,[`${F}-disabled`]:$,[`${F}-ellipsis`]:em,[`${F}-ellipsis-single-line`]:eH,[`${F}-ellipsis-multiple-line`]:eI,[`${F}-link`]:"a"===C},s),prefixCls:o,style:{...h,WebkitLineClamp:eI?ev:void 0},component:C,ref:(0,m.K4)(n,B,t),direction:M,onClick:V.includes("text")?K:void 0,"aria-label":eD?.toString(),title:R,...N},a.createElement(e$,{enableMeasure:ey&&!ek,text:E,rows:ev,width:eM,onEllipsis:eW,expanded:eg,miscDeps:[Y,eg,G,W,_,O].concat((0,l.A)(eS.map(t=>e[t])))},(t,n)=>{var r;let l,i,o;return function({mark:e,code:t,underline:n,delete:r,strong:l,keyboard:i,italic:o},s){let c=s;function u(e,t){t&&(c=a.createElement(e,{},c))}return u("strong",l),u("u",n),u("del",r),u("code",t),u("mark",e),u("kbd",i),u("i",o),c}(e,a.createElement(a.Fragment,null,t.length>0&&n&&!eg&&eD?a.createElement("span",{key:"show-content","aria-hidden":!0},t):t,[(r=n)&&!eg&&a.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ef.suffix,(l=r&&(()=>
25{let{expandable:e,symbol:t}=ef;return e?a.createElement("button",{type:"button",key:"expand",className:`${F}-${eg?"collapse":"expand"}`,onClick:e=>{var t;eh((t={expanded:!eg}).expanded),ef.onExpand?.(e,t)},"aria-label":eg?O.collapse:O?.expand},"function"==typeof t?t(eg):t):null})(),i=(()=>{if(!W)return;let{icon:e,tooltip:t,tabIndex:n}=D,r=(0,d.toArray)(t)[0]||O?.edit,l="string"==typeof r?r:"";return V.includes("icon")?a.createElement(w.A,{key:"edit",title:!1===t?"":r},a.createElement("button",{type:"button",ref:L,className:`${F}-edit`,onClick:K,"aria-label":l,tabIndex:n},e||a.createElement(c,{role:"button"}))):null})(),o=_?a.createElement(ex,{key:"copy",...Q,prefixCls:F,copied:Y,locale:O,onCopy:U,loading:G,iconOnly:!(0,g.R)(E)}):null,l||i||o?a.createElement("span",{key:"operations",className:`${F}-actions`,onMouseEnter:()=>eL(!0),onMouseLeave:()=>eL(!1)},l,i,o):null)]))}))))}),eA=a.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:l,navigate:i,...o}=e,s={...o,rel:void 0===r&&"_blank"===o.target?"noopener noreferrer":r};return a.createElement(ek,{...s,ref:t,ellipsis:!!n,component:"a"},l)}),eC=a.forwardRef((e,t)=>{let{children:n,...r}=e;return a.createElement(ek,{ref:t,...r,component:"div"},n)}),eR=a.forwardRef((e,t)=>{let{ellipsis:n,children:r,...l}=e,i=a.useMemo(()=>(0,g.Qd)(n)?(0,d.omit)(n,["expandable","rows"]):n,[n]);return a.createElement(ek,{ref:t,...l,ellipsis:i,component:"span"},r)}),ez=[1,2,3,4,5],eT=a.forwardRef((e,t)=>{let{level:n=1,children:r,...l}=e,i=ez.includes(n)?`h${n}`:"h1";return a.createElement(ek,{ref:t,...l,component:i},r)});ec.Text=eR,ec.Link=eA,ec.Title=eT,ec.Paragraph=eC;let eH=ec}}]);
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.