(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5030],{57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={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"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={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"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},9957:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={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"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},49867:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},45030:function(e,t,n){"use strict";n.d(t,{Z:function(){return eb}});var r=n(67294),l=n(86548),o=n(93967),i=n.n(o),a=n(9220),c=n(50344),s=n(8410),u=n(21770),d=n(98423),p=n(42550),f=n(79370),m=n(15105),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let b={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},y=r.forwardRef((e,t)=>{let{style:n,noStyle:l,disabled:o,tabIndex:i=0}=e,a=g(e,["style","noStyle","disabled","tabIndex"]),c={};return l||(c=Object.assign({},b)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),r.createElement("div",Object.assign({role:"button",tabIndex:i,ref:t},a,{onKeyDown:e=>{let{keyCode:t}=e;t===m.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:r}=e;n===m.Z.ENTER&&r&&r()},style:c}))});var v=n(53124),h=n(10110),x=n(83062),O=n(9957),E=n(96159),w=n(22913),S=n(49867),j=n(83559),k=n(84898),C=n(25446);let R=(e,t,n,r)=>{let{titleMarginBottom:l,fontWeightStrong:o}=r;return{marginBottom:l,color:n,fontWeight:o,fontSize:e,lineHeight:t}},$=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[`
      h${n}&,
      div&-h${n},
      div&-h${n} > textarea,
      h${n}
    `]=R(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},Z=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,S.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},D=e=>({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:k.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"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}}),T=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,C.bf)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},I=e=>({[`${e.componentCls}-copy-success`]:{[`
    &,
    &:hover,
    &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),H=()=>({[`
  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"}}),P=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
        div&,
        p
      `]:{marginBottom:"1em"}},$(e)),{[`
      & + h1${t},
      & + h2${t},
      & + h3${t},
      & + h4${t},
      & + h5${t}
      `]:{marginTop:n},[`
      div,
      ul,
      li,
      p,
      h1,
      h2,
      h3,
      h4,
      h5`]:{[`
        + h1,
        + h2,
        + h3,
        + h4,
        + h5
        `]:{marginTop:n}}}),D(e)),Z(e)),{[`
        ${t}-expand,
        ${t}-collapse,
        ${t}-edit,
        ${t}-copy
      `]:Object.assign(Object.assign({},(0,S.N)(e)),{marginInlineStart:e.marginXXS})}),T(e)),I(e)),H()),{"&-rtl":{direction:"rtl"}})}};var z=(0,j.I$)("Typography",e=>[P(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),M=e=>{let{prefixCls:t,"aria-label":n,className:l,style:o,direction:a,maxLength:c,autoSize:s=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:g,enterIcon:b=r.createElement(O.Z,null)}=e,y=r.useRef(null),v=r.useRef(!1),h=r.useRef(),[x,S]=r.useState(u);r.useEffect(()=>{S(u)},[u]),r.useEffect(()=>{var e;if(null===(e=y.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=y.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let j=()=>{d(x.trim())},k=g?`${t}-${g}`:"",[C,R,$]=z(t),Z=i()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},l,k,R,$);return C(r.createElement("div",{className:Z,style:o},r.createElement(w.Z,{ref:y,maxLength:c,value:x,onChange:e=>{let{target:t}=e;S(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;v.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:l,shiftKey:o}=e;h.current!==t||v.current||n||r||l||o||(t===m.Z.ENTER?(j(),null==f||f()):t===m.Z.ESC&&p())},onCompositionStart:()=>{v.current=!0},onCompositionEnd:()=>{v.current=!1},onBlur:()=>{j()},"aria-label":n,rows:1,autoSize:s}),null!==b?(0,E.Tm)(b,{className:`${t}-edit-content-confirm`}):null))},N=n(20640),B=n.n(N),L=n(56790),A=e=>{let{copyConfig:t,children:n}=e,[l,o]=r.useState(!1),[i,a]=r.useState(!1),c=r.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),r.useEffect(()=>s,[]);let d=(0,L.zX)(e=>{var r,l,i,d;return r=void 0,l=void 0,i=void 0,d=function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let l="function"==typeof t.text?yield t.text():t.text;B()(l||String(n)||"",u),a(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw a(!1),e}},new(i||(i=Promise))(function(e,t){function n(e){try{a(d.next(e))}catch(e){t(e)}}function o(e){try{a(d.throw(e))}catch(e){t(e)}}function a(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,o)}a((d=d.apply(r,l||[])).next())})});return{copied:l,copyLoading:i,onClick:d}};function W(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var F=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},U=(e,t)=>{let n=r.useRef(!1);r.useEffect(()=>{n.current?e():n.current=!0},t)},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let _=r.forwardRef((e,t)=>{let{prefixCls:n,component:l="article",className:o,rootClassName:a,setContentRef:c,children:s,direction:u,style:d}=e,f=V(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,typography:b}=r.useContext(v.E_),y=t;c&&(y=(0,p.sQ)(t,c));let h=m("typography",n),[x,O,E]=z(h),w=i()(h,null==b?void 0:b.className,{[`${h}-rtl`]:"rtl"===(null!=u?u:g)},o,a,O,E),S=Object.assign(Object.assign({},null==b?void 0:b.style),d);return x(r.createElement(l,Object.assign({className:w,style:S,ref:y},f),s))});var X=n(63606),q=n(57132),K=n(50888);function G(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function Q(e,t,n){return!0===e||void 0===e?t:e||n&&t}var J=e=>{let{prefixCls:t,copied:n,locale:l,iconOnly:o,tooltips:a,icon:c,loading:s,tabIndex:u,onCopy:d}=e,p=G(a),f=G(c),{copied:m,copy:g}=null!=l?l:{},b=n?Q(p[1],m):Q(p[0],g),v=n?m:g;return r.createElement(x.Z,{key:"copy",title:b},r.createElement(y,{className:i()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:v,tabIndex:u},n?Q(f[1],r.createElement(X.Z,null),!0):Q(f[0],s?r.createElement(K.Z,null):r.createElement(q.Z,null),!0)))},Y=n(74902);let ee=r.forwardRef((e,t)=>{let{style:n,children:l}=e,o=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},l)});function et(e){let t=typeof e;return"string"===t||"number"===t}function en(e,t){let n=0,r=[];for(let l=0;l<e.length;l+=1){if(n===t)return r;let o=e[l],i=et(o),a=i?String(o).length:1,c=n+a;if(c>t){let e=t-n;return r.push(String(o).slice(0,e)),r}r.push(o),n=c}return e}let er={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function el(e){let{enableMeasure:t,width:n,text:l,children:o,rows:i,expanded:a,miscDeps:u,onEllipsis:d}=e,p=r.useMemo(()=>(0,c.Z)(l),[l]),f=r.useMemo(()=>{let e;return e=0,p.forEach(t=>{et(t)?e+=String(t).length:e+=1}),e},[l]),m=r.useMemo(()=>o(p,!1),[l]),[g,b]=r.useState(null),y=r.useRef(null),v=r.useRef(null),h=r.useRef(null),x=r.useRef(null),O=r.useRef(null),[E,w]=r.useState(!1),[S,j]=r.useState(0),[k,C]=r.useState(0),[R,$]=r.useState(null);(0,s.Z)(()=>{t&&n&&f?j(1):j(0)},[n,l,i,t,p]),(0,s.Z)(()=>{var e,t,n,r;if(1===S){j(2);let e=v.current&&getComputedStyle(v.current).whiteSpace;$(e)}else if(2===S){let l=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());j(l?3:4),b(l?[0,f]:null),w(l);let o=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0,a=1===i?0:(null===(n=x.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(r=O.current)||void 0===r?void 0:r.getHeight())||0,s=Math.max(o,a+c);C(s+1),d(l)}},[S]);let Z=g?Math.ceil((g[0]+g[1])/2):0;(0,s.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let r=(null===(e=y.current)||void 0===e?void 0:e.getHeight())||0,l=r>k,o=Z;n-t==1&&(o=l?t:n),l?b([t,o]):b([o,n])}},[g,Z]);let D=r.useMemo(()=>{if(!t)return o(p,!1);if(3!==S||!g||g[0]!==g[1]){let e=o(p,!1);return 4!==S&&0!==S?r.createElement("span",{style:Object.assign(Object.assign({},er),{WebkitLineClamp:i})},e):e}return o(a?p:en(p,g[0]),E)},[a,S,g,p].concat((0,Y.Z)(u))),T={width:n,margin:0,padding:0,whiteSpace:"nowrap"===R?"normal":"inherit"};return r.createElement(r.Fragment,null,D,2===S&&r.createElement(r.Fragment,null,r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:i}),ref:h},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:i-1}),ref:x},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:1}),ref:O},o([],!0))),3===S&&g&&g[0]!==g[1]&&r.createElement(ee,{style:Object.assign(Object.assign({},T),{top:400}),ref:y},o(en(p,Z),!0)),1===S&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}var eo=e=>{let{enableEllipsis:t,isEllipsis:n,children:l,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?r.createElement(x.Z,Object.assign({open:!!n&&void 0},o),l):l},ei=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let ea=r.forwardRef((e,t)=>{var n,o,m;let{prefixCls:g,className:b,style:O,type:E,disabled:w,children:S,ellipsis:j,editable:k,copyable:C,component:R,title:$}=e,Z=ei(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:D,direction:T}=r.useContext(v.E_),[I]=(0,h.Z)("Text"),H=r.useRef(null),P=r.useRef(null),z=D("typography",g),N=(0,d.Z)(Z,["mark","code","delete","underline","strong","keyboard","italic"]),[B,L]=W(k),[V,X]=(0,u.Z)(!1,{value:L.editing}),{triggerType:q=["icon"]}=L,K=e=>{var t;e&&(null===(t=L.onStart)||void 0===t||t.call(L)),X(e)},G=F(V);U(()=>{var e;!V&&G&&(null===(e=P.current)||void 0===e||e.focus())},[V]);let Q=e=>{null==e||e.preventDefault(),K(!0)},[Y,ee]=W(C),{copied:et,copyLoading:en,onClick:er}=A({copyConfig:ee,children:S}),[ea,ec]=r.useState(!1),[es,eu]=r.useState(!1),[ed,ep]=r.useState(!1),[ef,em]=r.useState(!1),[eg,eb]=r.useState(!0),[ey,ev]=W(j,{expandable:!1,symbol:e=>e?null==I?void 0:I.collapse:null==I?void 0:I.expand}),[eh,ex]=(0,u.Z)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=r.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||B||Y),[eO,ev,B,Y]);(0,s.Z)(()=>{ey&&!ew&&(ec((0,f.G)("webkitLineClamp")),eu((0,f.G)("textOverflow")))},[ew,ey]);let[eS,ej]=r.useState(eO),ek=r.useMemo(()=>!ew&&(1===eE?es:ea),[ew,es,ea]);(0,s.Z)(()=>{ej(ek&&eO)},[ek,eO]);let eC=eO&&(eS?ef:ed),eR=eO&&1===eE&&eS,e$=eO&&eE>1&&eS,eZ=(e,t)=>{var n;ex(t.expanded),null===(n=ev.onExpand)||void 0===n||n.call(ev,e,t)},[eD,eT]=r.useState(0),eI=e=>{var t;ep(e),ed!==e&&(null===(t=ev.onEllipsis)||void 0===t||t.call(ev,e))};r.useEffect(()=>{let e=H.current;if(ey&&eS&&e){let t=function(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),!(n.left<=r.left)||!(r.right<=n.right)||!(n.top<=r.top)||!(r.bottom<=n.bottom)}(e);ef!==t&&em(t)}},[ey,eS,S,e$,eg,eD]),r.useEffect(()=>{let e=H.current;if("undefined"==typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eH={};eH=!0===ev.tooltip?{title:null!==(n=L.text)&&void 0!==n?n:S}:r.isValidElement(ev.tooltip)?{title:ev.tooltip}:"object"==typeof ev.tooltip?Object.assign({title:null!==(o=L.text)&&void 0!==o?o:S},ev.tooltip):{title:ev.tooltip};let eP=r.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ey||eS?void 0:e(L.text)?L.text:e(S)?S:e($)?$:e(eH.title)?eH.title:void 0},[ey,eS,$,eH.title,eC]);if(V)return r.createElement(M,{value:null!==(m=L.text)&&void 0!==m?m:"string"==typeof S?S:"",onSave:e=>{var t;null===(t=L.onChange)||void 0===t||t.call(L,e),K(!1)},onCancel:()=>{var e;null===(e=L.onCancel)||void 0===e||e.call(L),K(!1)},onEnd:L.onEnd,prefixCls:z,className:b,style:O,direction:T,component:R,maxLength:L.maxLength,autoSize:L.autoSize,enterIcon:L.enterIcon});let ez=()=>{let{expandable:e,symbol:t}=ev;return e?r.createElement(y,{key:"expand",className:`${z}-${eh?"collapse":"expand"}`,onClick:e=>eZ(e,{expanded:!eh}),"aria-label":eh?I.collapse:null==I?void 0:I.expand},"function"==typeof t?t(eh):t):null},eM=()=>{if(!B)return;let{icon:e,tooltip:t,tabIndex:n}=L,o=(0,c.Z)(t)[0]||(null==I?void 0:I.edit);return q.includes("icon")?r.createElement(x.Z,{key:"edit",title:!1===t?"":o},r.createElement(y,{ref:P,className:`${z}-edit`,onClick:Q,"aria-label":"string"==typeof o?o:"",tabIndex:n},e||r.createElement(l.Z,{role:"button"}))):null},eN=()=>Y?r.createElement(J,Object.assign({key:"copy"},ee,{prefixCls:z,copied:et,locale:I,onCopy:er,loading:en,iconOnly:null==S})):null,eB=e=>[e&&ez(),eM(),eN()],eL=e=>[e&&!eh&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,eB(e)];return r.createElement(a.Z,{onResize:e=>{let{offsetWidth:t}=e;eT(t)},disabled:!eO},n=>r.createElement(eo,{tooltipProps:eH,enableEllipsis:eO,isEllipsis:eC},r.createElement(_,Object.assign({className:i()({[`${z}-${E}`]:E,[`${z}-disabled`]:w,[`${z}-ellipsis`]:ey,[`${z}-ellipsis-single-line`]:eR,[`${z}-ellipsis-multiple-line`]:e$},b),prefixCls:g,style:Object.assign(Object.assign({},O),{WebkitLineClamp:e$?eE:void 0}),component:R,ref:(0,p.sQ)(n,H,t),direction:T,onClick:q.includes("text")?Q:void 0,"aria-label":null==eP?void 0:eP.toString(),title:$},N),r.createElement(el,{enableMeasure:eO&&!eS,text:S,rows:eE,width:eD,onEllipsis:eI,expanded:eh,miscDeps:[et,eh,en,B,Y]},(t,n)=>(function(e,t){let{mark:n,code:l,underline:o,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",a),d("u",o),d("del",i),d("code",l),d("mark",n),d("kbd",c),d("i",s),u})(e,r.createElement(r.Fragment,null,t.length>0&&n&&!eh&&eP?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var ec=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let es=r.forwardRef((e,t)=>{var{ellipsis:n,rel:l}=e,o=ec(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===l&&"_blank"===o.target?"noopener noreferrer":l});return delete i.navigate,r.createElement(ea,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eu=r.forwardRef((e,t)=>r.createElement(ea,Object.assign({ref:t},e,{component:"div"})));var ed=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},ep=r.forwardRef((e,t)=>{var{ellipsis:n}=e,l=ed(e,["ellipsis"]);let o=r.useMemo(()=>n&&"object"==typeof n?(0,d.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(ea,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))}),ef=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let em=[1,2,3,4,5],eg=r.forwardRef((e,t)=>{let n;let{level:l=1}=e,o=ef(e,["level"]);return n=em.includes(l)?`h${l}`:"h1",r.createElement(ea,Object.assign({ref:t},o,{component:n}))});_.Text=ep,_.Link=es,_.Title=eg,_.Paragraph=eu;var eb=_},20640:function(e,t,n){"use strict";var r=n(11742),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,a,c,s,u,d,p=!1;t||(t={}),i=t.debug||!1;try{if(c=r(),s=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=l[t.format]||l.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(r){i&&console.error("unable to copy using execCommand: ",r),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){i&&console.error("unable to copy using clipboardData: ",r),i&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=n.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(98924),l=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function i(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);