(self.webpackChunk=self.webpackChunk||[]).push([[451],{48820:function(oe,b){"use strict";var s={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"};b.Z=s},27363:function(oe,b){"use strict";var s={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"};b.Z=s},34952:function(oe,b,s){"use strict";var t=s(15105),H=s(67294),re=function(y,g){var w={};for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&g.indexOf(v)<0&&(w[v]=y[v]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,v=Object.getOwnPropertySymbols(y);Z<v.length;Z++)g.indexOf(v[Z])<0&&Object.prototype.propertyIsEnumerable.call(y,v[Z])&&(w[v[Z]]=y[v[Z]]);return w};const le={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},ce=H.forwardRef((y,g)=>{const w=q=>{const{keyCode:x}=q;x===t.Z.ENTER&&q.preventDefault()},v=q=>{const{keyCode:x}=q,{onClick:J}=y;x===t.Z.ENTER&&J&&J()},{style:Z,noStyle:Y,disabled:K}=y,m=re(y,["style","noStyle","disabled"]);let P={};return Y||(P=Object.assign({},le)),K&&(P.pointerEvents="none"),P=Object.assign(Object.assign({},P),Z),H.createElement("div",Object.assign({role:"button",tabIndex:0,ref:g},m,{onKeyDown:w,onKeyUp:v,style:P}))});b.Z=ce},59451:function(oe,b,s){"use strict";s.d(b,{Z:function(){return At}});var t=s(67294),H=s(56141),re=s(27363),le=s(18746),ce=function(o,r){return t.createElement(le.Z,(0,H.Z)({},o,{ref:r,icon:re.Z}))},y=t.forwardRef(ce),g=y,w=s(93967),v=s.n(w),Z=s(20640),Y=s.n(Z),K=s(9220),m=s(50344),P=s(8410),q=s(21770),x=s(98423),J=s(42550),je=s(79370),Re=s(34952),Ie=s(53124),Xe=s(10110),xe=s(83062),Je={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"},Ge=Je,Qe=function(o,r){return t.createElement(le.Z,(0,H.Z)({},o,{ref:r,icon:Ge}))},Ye=t.forwardRef(Qe),qe=Ye,Pe=s(15105),_e=s(96159),et=s(83712),De=s(49867),tt=s(91945),nt=s(78589),ot=s(54548);const rt=(e,o,r,n)=>{const{titleMarginBottom:l,fontWeightStrong:c}=n;return{marginBottom:l,color:r,fontWeight:c,fontSize:e,lineHeight:o}},lt=e=>{const o=[1,2,3,4,5],r={};return o.forEach(n=>{r[`
      h${n}&,
      div&-h${n},
      div&-h${n} > textarea,
      h${n}
    `]=rt(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),r},it=e=>{const{componentCls:o}=e;return{"a&, a":Object.assign(Object.assign({},(0,De.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},st=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:nt.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}}),at=e=>{const{componentCls:o,paddingSM:r}=e,n=r;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,ot.bf)(n)})`},[`${o}-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"}}}},ct=e=>({[`${e.componentCls}-copy-success`]:{[`
    &,
    &:hover,
    &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),dt=()=>({[`
  a&-ellipsis,
  span&-ellipsis
  `]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{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"}}),ut=e=>{const{componentCls:o,titleMarginTop:r}=e;return{[o]: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,[`&${o}-secondary`]:{color:e.colorTextDescription},[`&${o}-success`]:{color:e.colorSuccess},[`&${o}-warning`]:{color:e.colorWarning},[`&${o}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
        div&,
        p
      `]:{marginBottom:"1em"}},lt(e)),{[`
      & + h1${o},
      & + h2${o},
      & + h3${o},
      & + h4${o},
      & + h5${o}
      `]:{marginTop:r},[`
      div,
      ul,
      li,
      p,
      h1,
      h2,
      h3,
      h4,
      h5`]:{[`
        + h1,
        + h2,
        + h3,
        + h4,
        + h5
        `]:{marginTop:r}}}),st(e)),it(e)),{[`
        ${o}-expand,
        ${o}-edit,
        ${o}-copy
      `]:Object.assign(Object.assign({},(0,De.N)(e)),{marginInlineStart:e.marginXXS})}),at(e)),ct(e)),dt()),{"&-rtl":{direction:"rtl"}})}},ft=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var Le=(0,tt.I$)("Typography",e=>[ut(e)],ft),pt=e=>{const{prefixCls:o,"aria-label":r,className:n,style:l,direction:c,maxLength:D,autoSize:L=!0,value:f,onSave:E,onCancel:d,onEnd:p,component:O,enterIcon:T=t.createElement(qe,null)}=e,j=t.useRef(null),R=t.useRef(!1),B=t.useRef(),[I,k]=t.useState(f);t.useEffect(()=>{k(f)},[f]),t.useEffect(()=>{if(j.current&&j.current.resizableTextArea){const{textArea:A}=j.current.resizableTextArea;A.focus();const{length:$}=A.value;A.setSelectionRange($,$)}},[]);const C=A=>{let{target:$}=A;k($.value.replace(/[\n\r]/g,""))},G=()=>{R.current=!0},V=()=>{R.current=!1},M=A=>{let{keyCode:$}=A;R.current||(B.current=$)},Q=()=>{E(I.trim())},S=A=>{let{keyCode:$,ctrlKey:ie,altKey:ee,metaKey:ye,shiftKey:ve}=A;B.current===$&&!R.current&&!ie&&!ee&&!ye&&!ve&&($===Pe.Z.ENTER?(Q(),p==null||p()):$===Pe.Z.ESC&&d())},u=()=>{Q()},N=O?`${o}-${O}`:"",[_,z,W]=Le(o),se=v()(o,`${o}-edit-content`,{[`${o}-rtl`]:c==="rtl"},n,N,z,W);return _(t.createElement("div",{className:se,style:l},t.createElement(et.Z,{ref:j,maxLength:D,value:I,onChange:C,onKeyDown:M,onKeyUp:S,onCompositionStart:G,onCompositionEnd:V,onBlur:u,"aria-label":r,rows:1,autoSize:L}),T!==null?(0,_e.Tm)(T,{className:`${o}-edit-content-confirm`}):null))};function Oe(e,o){return t.useMemo(()=>{const r=!!e;return[r,Object.assign(Object.assign({},o),r&&typeof e=="object"?e:null)]},[e])}var gt=(e,o)=>{const r=t.useRef(!1);t.useEffect(()=>{r.current?e():r.current=!0},o)},mt=function(e,o){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r},Me=t.forwardRef((e,o)=>{const{prefixCls:r,component:n="article",className:l,rootClassName:c,setContentRef:D,children:L,direction:f,style:E}=e,d=mt(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:O,typography:T}=t.useContext(Ie.E_),j=f!=null?f:O;let R=o;D&&(R=(0,J.sQ)(o,D));const B=p("typography",r),[I,k,C]=Le(B),G=v()(B,T==null?void 0:T.className,{[`${B}-rtl`]:j==="rtl"},l,c,k,C),V=Object.assign(Object.assign({},T==null?void 0:T.style),E);return I(t.createElement(n,Object.assign({className:G,style:V,ref:R},d),L))}),yt=s(35918),vt=s(48820),bt=function(o,r){return t.createElement(le.Z,(0,H.Z)({},o,{ref:r,icon:vt.Z}))},Et=t.forwardRef(bt),ht=Et;function Ne(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function fe(e,o,r){return e===!0||e===void 0?o:e||r&&o}function xt(e){const{prefixCls:o,copied:r,locale:n={},onCopy:l,iconOnly:c,tooltips:D,icon:L}=e,f=Ne(D),E=Ne(L),{copied:d,copy:p}=n,O=r?fe(f[1],d):fe(f[0],p),j=typeof O=="string"?O:r?d:p;return t.createElement(xe.Z,{key:"copy",title:O},t.createElement(Re.Z,{className:v()(`${o}-copy`,{[`${o}-copy-success`]:r,[`${o}-copy-icon-only`]:c}),onClick:l,"aria-label":j},r?fe(E[1],t.createElement(yt.Z,null),!0):fe(E[0],t.createElement(ht,null),!0)))}var Ot=s(75177);const pe=t.forwardRef((e,o)=>{let{style:r,children:n}=e;const l=t.useRef(null);return t.useImperativeHandle(o,()=>({isExceed:()=>{const c=l.current;return c.scrollHeight>c.clientHeight},getHeight:()=>l.current.clientHeight})),t.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)"},r)},n)});function $e(e){const o=typeof e;return o==="string"||o==="number"}function Ct(e){let o=0;return e.forEach(r=>{$e(r)?o+=String(r).length:o+=1}),o}function He(e,o){let r=0;const n=[];for(let l=0;l<e.length;l+=1){if(r===o)return n;const c=e[l],L=$e(c)?String(c).length:1,f=r+L;if(f>o){const E=o-r;return n.push(String(c).slice(0,E)),n}n.push(c),r=f}return e}const Ce=0,Se=1,we=2,Ze=3,ge={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function St(e){const{enableMeasure:o,width:r,text:n,children:l,rows:c,miscDeps:D,onEllipsis:L}=e,f=t.useMemo(()=>(0,m.Z)(n),[n]),E=t.useMemo(()=>Ct(f),[n]),d=t.useMemo(()=>l(f,!1,!1),[n]),[p,O]=t.useState(null),T=t.useRef(null),j=t.useRef(null),R=t.useRef(null),B=t.useRef(null),[I,k]=t.useState(Ce),[C,G]=t.useState(0);(0,P.Z)(()=>{k(o&&r&&E?Se:Ce)},[r,n,c,o,f]),(0,P.Z)(()=>{var S,u,N,_;if(I===Se){const z=!!(!((S=j.current)===null||S===void 0)&&S.isExceed());k(z?we:Ze),O(z?[0,E]:null);const W=((u=j.current)===null||u===void 0?void 0:u.getHeight())||0,se=c===1?0:((N=R.current)===null||N===void 0?void 0:N.getHeight())||0,A=((_=B.current)===null||_===void 0?void 0:_.getHeight())||0,$=se+A,ie=Math.max(W,$);G(ie+1),L(z)}},[I]);const V=p?Math.ceil((p[0]+p[1])/2):0;(0,P.Z)(()=>{var S;const[u,N]=p||[0,0];if(u!==N){const z=(((S=T.current)===null||S===void 0?void 0:S.getHeight())||0)>C;let W=V;N-u===1&&(W=z?u:N),O(z?[u,W]:[W,N])}},[p,V]);const M=t.useMemo(()=>{if(I!==we||!p||p[0]!==p[1]){const S=l(f,!1,!1);return I!==Ze&&I!==Ce?t.createElement("span",{style:Object.assign(Object.assign({},ge),{WebkitLineClamp:c})},S):S}return l(He(f,p[0]),!0,!0)},[I,p,f].concat((0,Ot.Z)(D))),Q={width:r,whiteSpace:"normal",margin:0,padding:0};return t.createElement(t.Fragment,null,M,I===Se&&t.createElement(t.Fragment,null,t.createElement(pe,{style:Object.assign(Object.assign(Object.assign({},Q),ge),{WebkitLineClamp:c}),ref:j},d),t.createElement(pe,{style:Object.assign(Object.assign(Object.assign({},Q),ge),{WebkitLineClamp:c-1}),ref:R},d),t.createElement(pe,{style:Object.assign(Object.assign(Object.assign({},Q),ge),{WebkitLineClamp:1}),ref:B},l([],!0,!0))),I===we&&p&&p[0]!==p[1]&&t.createElement(pe,{style:Object.assign(Object.assign({},Q),{top:400}),ref:T},l(He(f,V),!0,!0)))}var wt=e=>{let{enableEllipsis:o,isEllipsis:r,children:n,tooltipProps:l}=e;return!(l!=null&&l.title)||!o?n:t.createElement(xe.Z,Object.assign({open:r?void 0:!1},l),n)},Tt=function(e,o){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};function jt(e,o){let{mark:r,code:n,underline:l,delete:c,strong:D,keyboard:L,italic:f}=e,E=o;function d(p,O){O&&(E=t.createElement(p,{},E))}return d("strong",D),d("u",l),d("del",c),d("code",n),d("mark",r),d("kbd",L),d("i",f),E}const Rt="...";var me=t.forwardRef((e,o)=>{var r,n,l;const{prefixCls:c,className:D,style:L,type:f,disabled:E,children:d,ellipsis:p,editable:O,copyable:T,component:j,title:R}=e,B=Tt(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:I,direction:k}=t.useContext(Ie.E_),[C]=(0,Xe.Z)("Text"),G=t.useRef(null),V=t.useRef(null),M=I("typography",c),Q=(0,x.Z)(B,["mark","code","delete","underline","strong","keyboard","italic"]),[S,u]=Oe(O),[N,_]=(0,q.Z)(!1,{value:u.editing}),{triggerType:z=["icon"]}=u,W=i=>{var a;i&&((a=u.onStart)===null||a===void 0||a.call(u)),_(i)};gt(()=>{var i;N||(i=V.current)===null||i===void 0||i.focus()},[N]);const se=i=>{i==null||i.preventDefault(),W(!0)},A=i=>{var a;(a=u.onChange)===null||a===void 0||a.call(u,i),W(!1)},$=()=>{var i;(i=u.onCancel)===null||i===void 0||i.call(u),W(!1)},[ie,ee]=Oe(T),[ye,ve]=t.useState(!1),Te=t.useRef(null),Ae={};ee.format&&(Ae.format=ee.format);const Be=()=>{Te.current&&clearTimeout(Te.current)},Bt=i=>{var a;i==null||i.preventDefault(),i==null||i.stopPropagation(),Y()(ee.text||String(d)||"",Ae),ve(!0),Be(),Te.current=setTimeout(()=>{ve(!1)},3e3),(a=ee.onCopy)===null||a===void 0||a.call(ee,i)};t.useEffect(()=>Be,[]);const[ke,kt]=t.useState(!1),[ze,zt]=t.useState(!1),[We,Wt]=t.useState(!1),[Ue,Ut]=t.useState(!1),[Ke,Kt]=t.useState(!1),[Vt,Ft]=t.useState(!0),[te,h]=Oe(p,{expandable:!1}),U=te&&!We,{rows:ae=1}=h,be=t.useMemo(()=>!U||h.suffix!==void 0||h.onEllipsis||h.expandable||S||ie,[U,h,S,ie]);(0,P.Z)(()=>{te&&!be&&(kt((0,je.G)("webkitLineClamp")),zt((0,je.G)("textOverflow")))},[be,te]);const F=t.useMemo(()=>be?!1:ae===1?ze:ke,[be,ze,ke]),Ve=U&&(F?Ke:Ue),Xt=U&&ae===1&&F,Ee=U&&ae>1&&F,Jt=i=>{var a;Wt(!0),(a=h.onExpand)===null||a===void 0||a.call(h,i)},[Fe,Gt]=t.useState(0),Qt=i=>{let{offsetWidth:a}=i;Gt(a)},Yt=i=>{var a;Ut(i),Ue!==i&&((a=h.onEllipsis)===null||a===void 0||a.call(h,i))};t.useEffect(()=>{const i=G.current;if(te&&F&&i){const a=Ee?i.offsetHeight<i.scrollHeight:i.offsetWidth<i.scrollWidth;Ke!==a&&Kt(a)}},[te,F,d,Ee,Vt,Fe]),t.useEffect(()=>{const i=G.current;if(typeof IntersectionObserver=="undefined"||!i||!F||!U)return;const a=new IntersectionObserver(()=>{Ft(!!i.offsetParent)});return a.observe(i),()=>{a.disconnect()}},[F,U]);let ne={};h.tooltip===!0?ne={title:(r=u.text)!==null&&r!==void 0?r:d}:t.isValidElement(h.tooltip)?ne={title:h.tooltip}:typeof h.tooltip=="object"?ne=Object.assign({title:(n=u.text)!==null&&n!==void 0?n:d},h.tooltip):ne={title:h.tooltip};const he=t.useMemo(()=>{const i=a=>["string","number"].includes(typeof a);if(!(!te||F)){if(i(u.text))return u.text;if(i(d))return d;if(i(R))return R;if(i(ne.title))return ne.title}},[te,F,R,ne.title,Ve]);if(N)return t.createElement(pt,{value:(l=u.text)!==null&&l!==void 0?l:typeof d=="string"?d:"",onSave:A,onCancel:$,onEnd:u.onEnd,prefixCls:M,className:D,style:L,direction:k,component:j,maxLength:u.maxLength,autoSize:u.autoSize,enterIcon:u.enterIcon});const qt=()=>{const{expandable:i,symbol:a}=h;if(!i)return null;let X;return a?X=a:X=C==null?void 0:C.expand,t.createElement("a",{key:"expand",className:`${M}-expand`,onClick:Jt,"aria-label":C==null?void 0:C.expand},X)},_t=()=>{if(!S)return;const{icon:i,tooltip:a}=u,X=(0,m.Z)(a)[0]||(C==null?void 0:C.edit),ue=typeof X=="string"?X:"";return z.includes("icon")?t.createElement(xe.Z,{key:"edit",title:a===!1?"":X},t.createElement(Re.Z,{ref:V,className:`${M}-edit`,onClick:se,"aria-label":ue},i||t.createElement(g,{role:"button"}))):null},en=()=>ie?t.createElement(xt,Object.assign({key:"copy"},ee,{prefixCls:M,copied:ye,locale:C,onCopy:Bt,iconOnly:d==null})):null,tn=i=>[i&&qt(),_t(),en()],nn=i=>[i&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Rt),h.suffix,tn(i)];return t.createElement(K.Z,{onResize:Qt,disabled:!U},i=>t.createElement(wt,{tooltipProps:ne,enableEllipsis:U,isEllipsis:Ve},t.createElement(Me,Object.assign({className:v()({[`${M}-${f}`]:f,[`${M}-disabled`]:E,[`${M}-ellipsis`]:te,[`${M}-single-line`]:U&&ae===1,[`${M}-ellipsis-single-line`]:Xt,[`${M}-ellipsis-multiple-line`]:Ee},D),prefixCls:c,style:Object.assign(Object.assign({},L),{WebkitLineClamp:Ee?ae:void 0}),component:j,ref:(0,J.sQ)(i,G,o),direction:k,onClick:z.includes("text")?se:void 0,"aria-label":he==null?void 0:he.toString(),title:R},Q),t.createElement(St,{enableMeasure:U&&!F,text:d,rows:ae,width:Fe,onEllipsis:Yt,miscDeps:[ye,We]},(a,X)=>{let ue=a;return a.length&&X&&he&&(ue=t.createElement("span",{key:"show-content","aria-hidden":!0},ue)),jt(e,t.createElement(t.Fragment,null,ue,nn(X)))}))))}),It=function(e,o){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r},Pt=t.forwardRef((e,o)=>{var{ellipsis:r,rel:n}=e,l=It(e,["ellipsis","rel"]);const c=Object.assign(Object.assign({},l),{rel:n===void 0&&l.target==="_blank"?"noopener noreferrer":n});return delete c.navigate,t.createElement(me,Object.assign({},c,{ref:o,ellipsis:!!r,component:"a"}))}),Dt=t.forwardRef((e,o)=>t.createElement(me,Object.assign({ref:o},e,{component:"div"}))),Lt=function(e,o){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};const Mt=(e,o)=>{var{ellipsis:r}=e,n=Lt(e,["ellipsis"]);const l=t.useMemo(()=>r&&typeof r=="object"?(0,x.Z)(r,["expandable","rows"]):r,[r]);return t.createElement(me,Object.assign({ref:o},n,{ellipsis:l,component:"span"}))};var Nt=t.forwardRef(Mt),$t=function(e,o){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};const Ht=[1,2,3,4,5];var Zt=t.forwardRef((e,o)=>{const{level:r=1}=e,n=$t(e,["level"]);let l;return Ht.includes(r)?l=`h${r}`:l="h1",t.createElement(me,Object.assign({ref:o},n,{component:l}))});const de=Me;de.Text=Nt,de.Link=Pt,de.Title=Zt,de.Paragraph=Dt;var At=de},20640:function(oe,b,s){"use strict";var t=s(11742),H={"text/plain":"Text","text/html":"Url",default:"Text"},re="Copy to clipboard: #{key}, Enter";function le(y){var g=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return y.replace(/#{\s*key\s*}/g,g)}function ce(y,g){var w,v,Z,Y,K,m,P=!1;g||(g={}),w=g.debug||!1;try{Z=t(),Y=document.createRange(),K=document.getSelection(),m=document.createElement("span"),m.textContent=y,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(x){if(x.stopPropagation(),g.format)if(x.preventDefault(),typeof x.clipboardData=="undefined"){w&&console.warn("unable to use e.clipboardData"),w&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var J=H[g.format]||H.default;window.clipboardData.setData(J,y)}else x.clipboardData.clearData(),x.clipboardData.setData(g.format,y);g.onCopy&&(x.preventDefault(),g.onCopy(x.clipboardData))}),document.body.appendChild(m),Y.selectNodeContents(m),K.addRange(Y);var q=document.execCommand("copy");if(!q)throw new Error("copy command was unsuccessful");P=!0}catch(x){w&&console.error("unable to copy using execCommand: ",x),w&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(g.format||"text",y),g.onCopy&&g.onCopy(window.clipboardData),P=!0}catch(J){w&&console.error("unable to copy using clipboardData: ",J),w&&console.error("falling back to prompt"),v=le("message"in g?g.message:re),window.prompt(v,y)}}finally{K&&(typeof K.removeRange=="function"?K.removeRange(Y):K.removeAllRanges()),m&&document.body.removeChild(m),Z()}return P}oe.exports=ce},11742:function(oe){oe.exports=function(){var b=document.getSelection();if(!b.rangeCount)return function(){};for(var s=document.activeElement,t=[],H=0;H<b.rangeCount;H++)t.push(b.getRangeAt(H));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null;break}return b.removeAllRanges(),function(){b.type==="Caret"&&b.removeAllRanges(),b.rangeCount||t.forEach(function(re){b.addRange(re)}),s&&s.focus()}}}}]);
