(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19272],{40519:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(66674),o=n(787),l=n(47082),a=n(54772),i=n(65414),c=n.n(i),s=n(79963),u=n(68255),d=n(68216),p=n(35164),f=n(75853),m=n(85032),g=n(71799),b=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},y=(0,u.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:l,title:i,children:u,footer:y}=e,v=b(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:h}=a.useContext(d.E_),x=h(),O=t||h("modal"),E=(0,p.Z)(x),[w,j,S]=(0,g.ZP)(O,E),C="".concat(O,"-confirm"),k={};return k=l?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(f.O,Object.assign({},e,{prefixCls:O,confirmPrefixCls:C,rootPrefixCls:x,content:u}))}:{closable:null==o||o,title:i,footer:null!==y&&a.createElement(m.$,Object.assign({},e)),children:u},w(a.createElement(s.s,Object.assign({prefixCls:O,className:c()(j,"".concat(O,"-pure-panel"),l&&C,l&&"".concat(C,"-").concat(l),n,S,E)},v,{closeIcon:(0,m.b)(O,r),closable:o},k)))}),v=n(98777);function h(e){return(0,r.ZP)((0,r.uW)(e))}let x=l.Z;x.useModal=v.Z,x.info=function(e){return(0,r.ZP)((0,r.cw)(e))},x.success=function(e){return(0,r.ZP)((0,r.vq)(e))},x.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},x.warning=h,x.warn=h,x.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},x.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},x.config=r.ai,x._InternalPanelDoNotUseOrYouWillBeFired=y;var O=x},55728:function(e,t,n){"use strict";n.d(t,{default:function(){return eh}});var r=n(54772),o=n(79353),l={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"},a=n(55790),i=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:l}))}),c=n(65414),s=n.n(c),u=n(77504),d=n(49685),p=n(76484),f=n(41988),m=n(10934),g=n(56094),b=n(3541),y=n(68216),v=n(36272),h=n(98784),x={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"},O=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:x}))}),E=n(36611),w=n(85511),j=n(79594),S=n(15510),C=n(74593),k=n(78587),Z=n(43501);let R=(e,t,n,r)=>{let{titleMarginBottom:o,fontWeightStrong:l}=r;return{marginBottom:o,color:n,fontWeight:l,fontSize:e,lineHeight:t}},P=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t["\n h".concat(n,"&,\n div&-h").concat(n,",\n div&-h").concat(n," > textarea,\n h").concat(n,"\n ")]=R(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)}),t},I=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,S.Nd)(e)),{["&[disabled], &".concat(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 - ".concat((0,Z.bf)(n),")")},["".concat(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"}}}},M=e=>({["".concat(e.componentCls,"-copy-success")]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},["".concat(e.componentCls,"-copy-icon-only")]:{marginInlineStart:0}}),H=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{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"}}),z=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,["&".concat(t,"-secondary")]:{color:e.colorTextDescription},["&".concat(t,"-success")]:{color:e.colorSuccess},["&".concat(t,"-warning")]:{color:e.colorWarning},["&".concat(t,"-danger")]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},["&".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},P(e)),{["\n & + h1".concat(t,",\n & + h2").concat(t,",\n & + h3").concat(t,",\n & + h4").concat(t,",\n & + h5").concat(t,"\n ")]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),D(e)),I(e)),{["\n ".concat(t,"-expand,\n ").concat(t,"-collapse,\n ").concat(t,"-edit,\n ").concat(t,"-copy\n ")]:Object.assign(Object.assign({},(0,S.Nd)(e)),{marginInlineStart:e.marginXXS})}),T(e)),M(e)),H()),{"&-rtl":{direction:"rtl"}})}};var A=(0,C.I$)("Typography",e=>[z(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),B=e=>{let{prefixCls:t,"aria-label":n,className:o,style:l,direction:a,maxLength:i,autoSize:c=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=r.createElement(O,null)}=e,b=r.useRef(null),y=r.useRef(!1),v=r.useRef(),[h,x]=r.useState(u);r.useEffect(()=>{x(u)},[u]),r.useEffect(()=>{var e;if(null===(e=b.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let S=()=>{d(h.trim())},[C,k,Z]=A(t),R=s()(t,"".concat(t,"-edit-content"),{["".concat(t,"-rtl")]:"rtl"===a,["".concat(t,"-").concat(m)]:!!m},o,k,Z);return C(r.createElement("div",{className:R,style:l},r.createElement(j.Z,{ref:b,maxLength:i,value:h,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(v.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:o,shiftKey:l}=e;v.current!==t||y.current||n||r||o||l||(t===E.Z.ENTER?(S(),null==f||f()):t===E.Z.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{S()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,w.Tm)(g,{className:"".concat(t,"-edit-content-confirm")}):null))},N=n(48440),W=n.n(N),L=n(20462),F=e=>{let{copyConfig:t,children:n}=e,[o,l]=r.useState(!1),[a,i]=r.useState(!1),c=r.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};return t.format&&(u.format=t.format),r.useEffect(()=>s,[]),{copied:o,copyLoading:a,onClick:(0,L.Z)(e=>{var r,o,a,d;return r=void 0,o=void 0,a=void 0,d=function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),i(!0);try{let o="function"==typeof t.text?yield t.text():t.text;W()(o||(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&null==e?[]:Array.isArray(e)?e:[e]})(n,!0).join("")||"",u),i(!1),l(!0),s(),c.current=setTimeout(()=>{l(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw i(!1),e}},new(a||(a=Promise))(function(e,t){function n(e){try{i(d.next(e))}catch(e){t(e)}}function l(e){try{i(d.throw(e))}catch(e){t(e)}}function i(t){var r;t.done?e(t.value):((r=t.value)instanceof a?r:new a(function(e){e(r)})).then(n,l)}i((d=d.apply(r,o||[])).next())})})}};function _(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var U=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},V=(e,t,n)=>(0,r.useMemo)(()=>!0===e?{title:null!=t?t:n}:(0,r.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:n},e):{title:e},[e,t,n]),q=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let X=r.forwardRef((e,t)=>{let{prefixCls:n,component:o="article",className:l,rootClassName:a,setContentRef:i,children:c,direction:u,style:d}=e,p=q(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:b}=r.useContext(y.E_),v=i?(0,g.sQ)(t,i):t,h=f("typography",n),[x,O,E]=A(h),w=s()(h,null==b?void 0:b.className,{["".concat(h,"-rtl")]:"rtl"===(null!=u?u:m)},l,a,O,E),j=Object.assign(Object.assign({},null==b?void 0:b.style),d);return x(r.createElement(o,Object.assign({className:w,style:j,ref:v},p),c))});var G=n(29522),Q={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"},K=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:Q}))}),$=n(30373);function Y(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function J(e,t,n){return!0===e||void 0===e?t:e||n&&t}let ee=e=>["string","number"].includes(typeof e);var et=e=>{let{prefixCls:t,copied:n,locale:o,iconOnly:l,tooltips:a,icon:i,tabIndex:c,onCopy:u,loading:d}=e,p=Y(a),f=Y(i),{copied:m,copy:g}=null!=o?o:{},b=n?m:g,y=J(p[n?1:0],b),v="string"==typeof y?y:b;return r.createElement(h.Z,{title:y},r.createElement("button",{type:"button",className:s()("".concat(t,"-copy"),{["".concat(t,"-copy-success")]:n,["".concat(t,"-copy-icon-only")]:l}),onClick:u,"aria-label":v,tabIndex:c},n?J(f[1],r.createElement(G.Z,null),!0):J(f[0],d?r.createElement($.Z,null):r.createElement(K,null),!0)))},en=n(3565);let er=r.forwardRef((e,t)=>{let{style:n,children:o}=e,l=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=l.current;return e.scrollHeight>e.clientHeight},getHeight:()=>l.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:l,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},o)}),eo=e=>e.reduce((e,t)=>e+(ee(t)?String(t).length:1),0);function el(e,t){let n=0,r=[];for(let o=0;ot){let e=t-n;return r.push(String(l).slice(0,e)),r}r.push(l),n=a}return e}let ea={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ei(e){let{enableMeasure:t,width:n,text:o,children:l,rows:a,expanded:i,miscDeps:c,onEllipsis:s}=e,u=r.useMemo(()=>(0,d.Z)(o),[o]),f=r.useMemo(()=>eo(u),[o]),m=r.useMemo(()=>l(u,!1),[o]),[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),[j,S]=r.useState(0),[C,k]=r.useState(0),[Z,R]=r.useState(null);(0,p.Z)(()=>{t&&n&&f?S(1):S(0)},[n,o,a,t,u]),(0,p.Z)(()=>{var e,t,n,r;if(1===j)S(2),R(v.current&&getComputedStyle(v.current).whiteSpace);else if(2===j){let o=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());S(o?3:4),b(o?[0,f]:null),w(o);let l=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0;k(Math.max(l,(1===a?0:(null===(n=x.current)||void 0===n?void 0:n.getHeight())||0)+((null===(r=O.current)||void 0===r?void 0:r.getHeight())||0))+1),s(o)}},[j]);let P=g?Math.ceil((g[0]+g[1])/2):0;(0,p.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)>C,o=P;n-t==1&&(o=r?t:n),b(r?[t,o]:[o,n])}},[g,P]);let I=r.useMemo(()=>{if(!t)return l(u,!1);if(3!==j||!g||g[0]!==g[1]){let e=l(u,!1);return[4,0].includes(j)?e:r.createElement("span",{style:Object.assign(Object.assign({},ea),{WebkitLineClamp:a})},e)}return l(i?u:el(u,g[0]),E)},[i,j,g,u].concat((0,en.Z)(c))),D={width:n,margin:0,padding:0,whiteSpace:"nowrap"===Z?"normal":"inherit"};return r.createElement(r.Fragment,null,I,2===j&&r.createElement(r.Fragment,null,r.createElement(er,{style:Object.assign(Object.assign(Object.assign({},D),ea),{WebkitLineClamp:a}),ref:h},m),r.createElement(er,{style:Object.assign(Object.assign(Object.assign({},D),ea),{WebkitLineClamp:a-1}),ref:x},m),r.createElement(er,{style:Object.assign(Object.assign(Object.assign({},D),ea),{WebkitLineClamp:1}),ref:O},l([],!0))),3===j&&g&&g[0]!==g[1]&&r.createElement(er,{style:Object.assign(Object.assign({},D),{top:400}),ref:y},l(el(u,P),!0)),1===j&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}var ec=e=>{let{enableEllipsis:t,isEllipsis:n,children:o,tooltipProps:l}=e;return(null==l?void 0:l.title)&&t?r.createElement(h.Z,Object.assign({open:!!n&&void 0},l),o):o},es=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eu=r.forwardRef((e,t)=>{var n;let{prefixCls:o,className:l,style:a,type:c,disabled:x,children:O,ellipsis:E,editable:w,copyable:j,component:S,title:C}=e,k=es(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:Z,direction:R}=r.useContext(y.E_),[P]=(0,v.Z)("Text"),I=r.useRef(null),D=r.useRef(null),T=Z("typography",o),M=(0,m.Z)(k,["mark","code","delete","underline","strong","keyboard","italic"]),[H,z]=_(w),[A,N]=(0,f.Z)(!1,{value:z.editing}),{triggerType:W=["icon"]}=z,L=e=>{var t;e&&(null===(t=z.onStart)||void 0===t||t.call(z)),N(e)},q=U(A);(0,p.Z)(()=>{var e;!A&&q&&(null===(e=D.current)||void 0===e||e.focus())},[A]);let G=e=>{null==e||e.preventDefault(),L(!0)},[Q,K]=_(j),{copied:$,copyLoading:Y,onClick:J}=F({copyConfig:K,children:O}),[en,er]=r.useState(!1),[eo,el]=r.useState(!1),[ea,eu]=r.useState(!1),[ed,ep]=r.useState(!1),[ef,em]=r.useState(!0),[eg,eb]=_(E,{expandable:!1,symbol:e=>e?null==P?void 0:P.collapse:null==P?void 0:P.expand}),[ey,ev]=(0,f.Z)(eb.defaultExpanded||!1,{value:eb.expanded}),eh=eg&&(!ey||"collapsible"===eb.expandable),{rows:ex=1}=eb,eO=r.useMemo(()=>eh&&(void 0!==eb.suffix||eb.onEllipsis||eb.expandable||H||Q),[eh,eb,H,Q]);(0,p.Z)(()=>{eg&&!eO&&(er((0,b.G)("webkitLineClamp")),el((0,b.G)("textOverflow")))},[eO,eg]);let[eE,ew]=r.useState(eh),ej=r.useMemo(()=>!eO&&(1===ex?eo:en),[eO,eo,en]);(0,p.Z)(()=>{ew(ej&&eh)},[ej,eh]);let eS=eh&&(eE?ed:ea),eC=eh&&1===ex&&eE,ek=eh&&ex>1&&eE,eZ=(e,t)=>{var n;ev(t.expanded),null===(n=eb.onExpand)||void 0===n||n.call(eb,e,t)},[eR,eP]=r.useState(0),eI=e=>{var t;eu(e),ea!==e&&(null===(t=eb.onEllipsis)||void 0===t||t.call(eb,e))};r.useEffect(()=>{let e=I.current;if(eg&&eE&&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);ed!==t&&ep(t)}},[eg,eE,O,ek,ef,eR]),r.useEffect(()=>{let e=I.current;if("undefined"==typeof IntersectionObserver||!e||!eE||!eh)return;let t=new IntersectionObserver(()=>{em(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eE,eh]);let eD=V(eb.tooltip,z.text,O),eT=r.useMemo(()=>{if(eg&&!eE)return[z.text,O,C,eD.title].find(ee)},[eg,eE,C,eD.title,eS]);if(A)return r.createElement(B,{value:null!==(n=z.text)&&void 0!==n?n:"string"==typeof O?O:"",onSave:e=>{var t;null===(t=z.onChange)||void 0===t||t.call(z,e),L(!1)},onCancel:()=>{var e;null===(e=z.onCancel)||void 0===e||e.call(z),L(!1)},onEnd:z.onEnd,prefixCls:T,className:l,style:a,direction:R,component:S,maxLength:z.maxLength,autoSize:z.autoSize,enterIcon:z.enterIcon});let eM=()=>{let{expandable:e,symbol:t}=eb;return e?r.createElement("button",{type:"button",key:"expand",className:"".concat(T,"-").concat(ey?"collapse":"expand"),onClick:e=>eZ(e,{expanded:!ey}),"aria-label":ey?P.collapse:null==P?void 0:P.expand},"function"==typeof t?t(ey):t):null},eH=()=>{if(!H)return;let{icon:e,tooltip:t,tabIndex:n}=z,o=(0,d.Z)(t)[0]||(null==P?void 0:P.edit),l="string"==typeof o?o:"";return W.includes("icon")?r.createElement(h.Z,{key:"edit",title:!1===t?"":o},r.createElement("button",{type:"button",ref:D,className:"".concat(T,"-edit"),onClick:G,"aria-label":l,tabIndex:n},e||r.createElement(i,{role:"button"}))):null},ez=()=>Q?r.createElement(et,Object.assign({key:"copy"},K,{prefixCls:T,copied:$,locale:P,onCopy:J,loading:Y,iconOnly:null==O})):null,eA=e=>[e&&eM(),eH(),ez()],eB=e=>[e&&!ey&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),eb.suffix,eA(e)];return r.createElement(u.Z,{onResize:e=>{let{offsetWidth:t}=e;eP(t)},disabled:!eh},n=>r.createElement(ec,{tooltipProps:eD,enableEllipsis:eh,isEllipsis:eS},r.createElement(X,Object.assign({className:s()({["".concat(T,"-").concat(c)]:c,["".concat(T,"-disabled")]:x,["".concat(T,"-ellipsis")]:eg,["".concat(T,"-ellipsis-single-line")]:eC,["".concat(T,"-ellipsis-multiple-line")]:ek},l),prefixCls:o,style:Object.assign(Object.assign({},a),{WebkitLineClamp:ek?ex:void 0}),component:S,ref:(0,g.sQ)(n,I,t),direction:R,onClick:W.includes("text")?G:void 0,"aria-label":null==eT?void 0:eT.toString(),title:C},M),r.createElement(ei,{enableMeasure:eh&&!eE,text:O,rows:ex,width:eR,onEllipsis:eI,expanded:ey,miscDeps:[$,ey,Y,H,Q]},(t,n)=>(function(e,t){let{mark:n,code:o,underline:l,delete:a,strong:i,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",i),d("u",l),d("del",a),d("code",o),d("mark",n),d("kbd",c),d("i",s),u})(e,r.createElement(r.Fragment,null,t.length>0&&n&&!ey&&eT?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eB(n)))))))});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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ep=r.forwardRef((e,t)=>{var{ellipsis:n,rel:o}=e,l=ed(e,["ellipsis","rel"]);let a=Object.assign(Object.assign({},l),{rel:void 0===o&&"_blank"===l.target?"noopener noreferrer":o});return delete a.navigate,r.createElement(eu,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))}),ef=r.forwardRef((e,t)=>r.createElement(eu,Object.assign({ref:t},e,{component:"div"})));var em=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eg=r.forwardRef((e,t)=>{var{ellipsis:n}=e,o=em(e,["ellipsis"]);let l=r.useMemo(()=>n&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(eu,Object.assign({ref:t},o,{ellipsis:l,component:"span"}))}),eb=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ey=[1,2,3,4,5],ev=r.forwardRef((e,t)=>{let{level:n=1}=e,o=eb(e,["level"]),l=ey.includes(n)?"h".concat(n):"h1";return r.createElement(eu,Object.assign({ref:t},o,{component:l}))});X.Text=eg,X.Link=ep,X.Title=ev,X.Paragraph=ef;var eh=X},48440:function(e,t,n){"use strict";var r=n(68030),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,l,a,i,c,s,u,d,p=!1;t||(t={}),a=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){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.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){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",l=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",i=n.replace(/#{\s*key\s*}/g,l),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},3541:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(37809),o=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},l=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?o(e):l(e,t)}},68030:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r