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