👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
21 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[2058],{8941:function(ee,E){"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"};E.Z=s},39669:function(ee,E,s){"use strict";var n=s(57),x=s(50959),Q=function(c,u){var m={};for(var y in c)Object.prototype.hasOwnProperty.call(c,y)&&u.indexOf(y)<0&&(m[y]=c[y]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,y=Object.getOwnPropertySymbols(c);j<y.length;j++)u.indexOf(y[j])<0&&Object.prototype.propertyIsEnumerable.call(c,y[j])&&(m[y[j]]=c[y[j]]);return m};const te={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},K=x.forwardRef((c,u)=>{const m=U=>{const{keyCode:I}=U;I===n.Z.ENTER&&U.preventDefault()},y=U=>{const{keyCode:I}=U,{onClick:Y}=c;I===n.Z.ENTER&&Y&&Y()},{style:j,noStyle:ne,disabled:G}=c,v=Q(c,["style","noStyle","disabled"]);let Z={};return ne||(Z=Object.assign({},te)),G&&(Z.pointerEvents="none"),Z=Object.assign(Object.assign({},Z),j),x.createElement("div",Object.assign({role:"button",tabIndex:0,ref:u},v,{onKeyDown:m,onKeyUp:y,style:Z}))});E.Z=K},3970:function(ee,E,s){"use strict";s.d(E,{N:function(){return n}});const n=x=>({color:x.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${x.motionDurationSlow}`,"&:focus, &:hover":{color:x.colorLinkHover},"&:active":{color:x.colorLinkActive}})},52058:function(ee,E,s){"use strict";s.d(E,{Z:function(){return Rt}});var n=s(50959),x=s(87132),Q=s(8221),te=s(38126),K=s(8941),c=s(38782),u=function(o,r){return n.createElement(c.Z,(0,te.Z)({},o,{ref:r,icon:K.Z}))},m=n.forwardRef(u),y=s(84875),j=s.n(y),ne=s(874),G=s.n(ne),v=s(12682),Z=s(13763),U=s(77189),I=s(65589),Y=s(87017),Te=s(12602),je=s(5449),Le=s(39669),Re=s(31594),Fe=s(45449),Ee=s(32618),Ve={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"},Xe=Ve,Ge=function(o,r){return n.createElement(c.Z,(0,te.Z)({},o,{ref:r,icon:Xe}))},Je=n.forwardRef(Ge),Ie=s(57),Qe=s(94914),Ye=s(15714),Pe=s(3970),qe=s(81501),_e=s(81548),et=s(60076);const tt=(e,o,r,t)=>{const{titleMarginBottom:i,fontWeightStrong:p}=t;return{marginBottom:i,color:r,fontWeight:p,fontSize:e,lineHeight:o}},nt=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}
`]=tt(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),r},ot=e=>{const{componentCls:o}=e;return{"a&, a":Object.assign(Object.assign({},(0,Pe.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"}}})}},rt=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:_e.gold[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}}),it=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,et.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"}}}},lt=e=>({"&-copy-success":{[`
&,
&:hover,
&:focus`]:{color:e.colorSuccess}}}),st=()=>({[`
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"}}),at=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"}},nt(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}}}),rt(e)),ot(e)),{[`
${o}-expand,
${o}-edit,
${o}-copy
`]:Object.assign(Object.assign({},(0,Pe.N)(e)),{marginInlineStart:e.marginXXS})}),it(e)),lt(e)),st()),{"&-rtl":{direction:"rtl"}})}},ct=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var De=(0,qe.I$)("Typography",e=>[at(e)],ct),dt=e=>{const{prefixCls:o,"aria-label":r,className:t,style:i,direction:p,maxLength:P,autoSize:N=!0,value:b,onSave:S,onCancel:f,onEnd:z,component:A,enterIcon:M=n.createElement(Je,null)}=e,h=n.useRef(null),O=n.useRef(!1),B=n.useRef(),[oe,J]=n.useState(b);n.useEffect(()=>{J(b)},[b]),n.useEffect(()=>{if(h.current&&h.current.resizableTextArea){const{textArea:R}=h.current.resizableTextArea;R.focus();const{length:w}=R.value;R.setSelectionRange(w,w)}},[]);const d=R=>{let{target:w}=R;J(w.value.replace(/[\n\r]/g,""))},L=()=>{O.current=!0},H=()=>{O.current=!1},D=R=>{let{keyCode:w}=R;O.current||(B.current=w)},se=()=>{S(oe.trim())},q=R=>{let{keyCode:w,ctrlKey:ue,altKey:fe,metaKey:re,shiftKey:ae}=R;B.current===w&&!O.current&&!ue&&!fe&&!re&&!ae&&(w===Ie.Z.ENTER?(se(),z==null||z()):w===Ie.Z.ESC&&f())},g=()=>{se()},C=A?`${o}-${A}`:"",[F,k]=De(o),_=j()(o,`${o}-edit-content`,{[`${o}-rtl`]:p==="rtl"},t,C,k);return F(n.createElement("div",{className:_,style:i},n.createElement(Ye.Z,{ref:h,maxLength:P,value:oe,onChange:d,onKeyDown:D,onKeyUp:q,onCompositionStart:L,onCompositionEnd:H,onBlur:g,"aria-label":r,rows:1,autoSize:N}),M!==null?(0,Qe.Tm)(M,{className:`${o}-edit-content-confirm`}):null))},ut=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<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r},$e=n.forwardRef((e,o)=>{const{prefixCls:r,component:t="article",className:i,rootClassName:p,setContentRef:P,children:N,direction:b,style:S}=e,f=ut(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:z,direction:A,typography:M}=n.useContext(Re.E_),h=b!=null?b:A;let O=o;P&&(O=(0,Te.sQ)(o,P));const B=z("typography",r),[oe,J]=De(B),d=j()(B,M==null?void 0:M.className,{[`${B}-rtl`]:h==="rtl"},i,p,J),L=Object.assign(Object.assign({},M==null?void 0:M.style),S);return oe(n.createElement(t,Object.assign({className:d,style:L,ref:O},f),N))});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 ft=(e,o)=>{const r=n.useRef(!1);n.useEffect(()=>{r.current?e():r.current=!0},o)};function Ne(e){const o=typeof e;return o==="string"||o==="number"}function pt(e){let o=0;return e.forEach(r=>{Ne(r)?o+=String(r).length:o+=1}),o}function Se(e,o){let r=0;const t=[];for(let i=0;i<e.length;i+=1){if(r===o)return t;const p=e[i],N=Ne(p)?String(p).length:1,b=r+N;if(b>o){const S=o-r;return t.push(String(p).slice(0,S)),t}t.push(p),r=b}return e}const gt=0,pe=1,Me=2,Oe=3,Ce=4;var mt=e=>{let{enabledMeasure:o,children:r,text:t,width:i,fontSize:p,rows:P,onEllipsis:N}=e;const[[b,S,f],z]=n.useState([0,0,0]),[A,M]=n.useState(0),[h,O]=n.useState(gt),[B,oe]=n.useState(0),J=n.useRef(null),d=n.useRef(null),L=n.useMemo(()=>(0,Z.Z)(t),[t]),H=n.useMemo(()=>pt(L),[L]),D=n.useMemo(()=>!o||h!==Oe?A&&h!==Ce&&o?r(Se(L,A),A<H):r(L,!1):r(Se(L,S),S<H),[o,h,r,L,S,H]);(0,U.Z)(()=>{o&&i&&p&&H&&(O(pe),z([0,Math.ceil(H/2),H]))},[o,i,p,t,H,P]),(0,U.Z)(()=>{var C;h===pe&&oe(((C=J.current)===null||C===void 0?void 0:C.offsetHeight)||0)},[h]),(0,U.Z)(()=>{var C,F;if(B){if(h===pe){const k=((C=d.current)===null||C===void 0?void 0:C.offsetHeight)||0,_=P*B;k<=_?(O(Ce),N(!1)):O(Me)}else if(h===Me)if(b!==f){const k=((F=d.current)===null||F===void 0?void 0:F.offsetHeight)||0,_=P*B;let R=b,w=f;b===f-1?w=b:k<=_?R=S:w=S;const ue=Math.ceil((R+w)/2);z([R,ue,w])}else O(Oe),M(S),N(!0)}},[h,b,f,P,B]);const se={width:i,whiteSpace:"normal",margin:0,padding:0},q=(C,F,k)=>n.createElement("span",{"aria-hidden":!0,ref:F,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.ceil(p/2)*2},k)},C),g=(C,F)=>{const k=Se(L,C);return q(r(k,!0),F,se)};return n.createElement(n.Fragment,null,D,o&&h!==Oe&&h!==Ce&&n.createElement(n.Fragment,null,q("lg",J,{wordBreak:"keep-all",whiteSpace:"nowrap"}),h===pe?q(r(L,!1),d,se):g(S,d)))},yt=e=>{let{enabledEllipsis:o,isEllipsis:r,children:t,tooltipProps:i}=e;return!(i!=null&&i.title)||!o?t:n.createElement(Ee.Z,Object.assign({open:r?void 0:!1},i),t)},vt=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<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};function bt(e,o){let{mark:r,code:t,underline:i,delete:p,strong:P,keyboard:N,italic:b}=e,S=o;function f(z,A){A&&(S=n.createElement(z,{},S))}return f("strong",P),f("u",i),f("del",p),f("code",t),f("mark",r),f("kbd",N),f("i",b),S}function ge(e,o,r){return e===!0||e===void 0?o:e||r&&o}function Be(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}const ht="...";var me=n.forwardRef((e,o)=>{var r,t,i;const{prefixCls:p,className:P,style:N,type:b,disabled:S,children:f,ellipsis:z,editable:A,copyable:M,component:h,title:O}=e,B=vt(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:oe,direction:J}=n.useContext(Re.E_),[d]=(0,Fe.Z)("Text"),L=n.useRef(null),H=n.useRef(null),D=oe("typography",p),se=(0,Y.Z)(B,["mark","code","delete","underline","strong","keyboard","italic"]),[q,g]=xe(A),[C,F]=(0,I.Z)(!1,{value:g.editing}),{triggerType:k=["icon"]}=g,_=l=>{var a;l&&((a=g.onStart)===null||a===void 0||a.call(g)),F(l)};ft(()=>{var l;C||(l=H.current)===null||l===void 0||l.focus()},[C]);const R=l=>{l==null||l.preventDefault(),_(!0)},w=l=>{var a;(a=g.onChange)===null||a===void 0||a.call(g,l),_(!1)},ue=()=>{var l;(l=g.onCancel)===null||l===void 0||l.call(g),_(!1)},[fe,re]=xe(M),[ae,Ze]=n.useState(!1),we=n.useRef(null),ze={};re.format&&(ze.format=re.format);const Ae=()=>{we.current&&clearTimeout(we.current)},It=l=>{var a;l==null||l.preventDefault(),l==null||l.stopPropagation(),G()(re.text||String(f)||"",ze),Ze(!0),Ae(),we.current=setTimeout(()=>{Ze(!1)},3e3),(a=re.onCopy)===null||a===void 0||a.call(re,l)};n.useEffect(()=>Ae,[]);const[He,Pt]=n.useState(!1),[ke,Dt]=n.useState(!1),[$t,Nt]=n.useState(!1),[We,Mt]=n.useState(!1),[Ke,Bt]=n.useState(!1),[Zt,zt]=n.useState(!0),[ie,T]=xe(z,{expandable:!1}),V=ie&&!$t,{rows:ce=1}=T,ye=n.useMemo(()=>!V||T.suffix!==void 0||T.onEllipsis||T.expandable||q||fe,[V,T,q,fe]);(0,U.Z)(()=>{ie&&!ye&&(Pt((0,je.G)("webkitLineClamp")),Dt((0,je.G)("textOverflow")))},[ye,ie]);const X=n.useMemo(()=>ye?!1:ce===1?ke:He,[ye,ke,He]),Ue=V&&(X?Ke:We),At=V&&ce===1&&X,ve=V&&ce>1&&X,Ht=l=>{var a;Nt(!0),(a=T.onExpand)===null||a===void 0||a.call(T,l)},[kt,Wt]=n.useState(0),[Kt,Ut]=n.useState(0),Ft=(l,a)=>{let{offsetWidth:$}=l;var W;Wt($),Ut(parseInt((W=window.getComputedStyle)===null||W===void 0?void 0:W.call(window,a).fontSize,10)||0)},Vt=l=>{var a;Mt(l),We!==l&&((a=T.onEllipsis)===null||a===void 0||a.call(T,l))};n.useEffect(()=>{const l=L.current;if(ie&&X&&l){const a=ve?l.offsetHeight<l.scrollHeight:l.offsetWidth<l.scrollWidth;Ke!==a&&Bt(a)}},[ie,X,f,ve,Zt]),n.useEffect(()=>{const l=L.current;if(typeof IntersectionObserver=="undefined"||!l||!X||!V)return;const a=new IntersectionObserver(()=>{zt(!!l.offsetParent)});return a.observe(l),()=>{a.disconnect()}},[X,V]);let le={};T.tooltip===!0?le={title:(r=g.text)!==null&&r!==void 0?r:f}:n.isValidElement(T.tooltip)?le={title:T.tooltip}:typeof T.tooltip=="object"?le=Object.assign({title:(t=g.text)!==null&&t!==void 0?t:f},T.tooltip):le={title:T.tooltip};const be=n.useMemo(()=>{const l=a=>["string","number"].includes(typeof a);if(!(!ie||X)){if(l(g.text))return g.text;if(l(f))return f;if(l(O))return O;if(l(le.title))return le.title}},[ie,X,O,le.title,Ue]);if(C)return n.createElement(dt,{value:(i=g.text)!==null&&i!==void 0?i:typeof f=="string"?f:"",onSave:w,onCancel:ue,onEnd:g.onEnd,prefixCls:D,className:P,style:N,direction:J,component:h,maxLength:g.maxLength,autoSize:g.autoSize,enterIcon:g.enterIcon});const Xt=()=>{const{expandable:l,symbol:a}=T;if(!l)return null;let $;return a?$=a:$=d==null?void 0:d.expand,n.createElement("a",{key:"expand",className:`${D}-expand`,onClick:Ht,"aria-label":d==null?void 0:d.expand},$)},Gt=()=>{if(!q)return;const{icon:l,tooltip:a}=g,$=(0,Z.Z)(a)[0]||(d==null?void 0:d.edit),W=typeof $=="string"?$:"";return k.includes("icon")?n.createElement(Ee.Z,{key:"edit",title:a===!1?"":$},n.createElement(Le.Z,{ref:H,className:`${D}-edit`,onClick:R,"aria-label":W},l||n.createElement(m,{role:"button"}))):null},Jt=()=>{if(!fe)return;const{tooltips:l,icon:a}=re,$=Be(l),W=Be(a),he=ae?ge($[1],d==null?void 0:d.copied):ge($[0],d==null?void 0:d.copy),qt=ae?d==null?void 0:d.copied:d==null?void 0:d.copy,_t=typeof he=="string"?he:qt;return n.createElement(Ee.Z,{key:"copy",title:he},n.createElement(Le.Z,{className:j()(`${D}-copy`,ae&&`${D}-copy-success`),onClick:It,"aria-label":_t},ae?ge(W[1],n.createElement(x.Z,null),!0):ge(W[0],n.createElement(Q.Z,null),!0)))},Qt=l=>[l&&Xt(),Gt(),Jt()],Yt=l=>[l&&n.createElement("span",{"aria-hidden":!0,key:"ellipsis"},ht),T.suffix,Qt(l)];return n.createElement(v.Z,{onResize:Ft,disabled:!V||X},l=>n.createElement(yt,{tooltipProps:le,enabledEllipsis:V,isEllipsis:Ue},n.createElement($e,Object.assign({className:j()({[`${D}-${b}`]:b,[`${D}-disabled`]:S,[`${D}-ellipsis`]:ie,[`${D}-single-line`]:V&&ce===1,[`${D}-ellipsis-single-line`]:At,[`${D}-ellipsis-multiple-line`]:ve},P),prefixCls:p,style:Object.assign(Object.assign({},N),{WebkitLineClamp:ve?ce:void 0}),component:h,ref:(0,Te.sQ)(l,L,o),direction:J,onClick:k.includes("text")?R:void 0,"aria-label":be==null?void 0:be.toString(),title:O},se),n.createElement(mt,{enabledMeasure:V&&!X,text:f,rows:ce,width:kt,fontSize:Kt,onEllipsis:Vt},(a,$)=>{let W=a;return a.length&&$&&be&&(W=n.createElement("span",{key:"show-content","aria-hidden":!0},W)),bt(e,n.createElement(n.Fragment,null,W,Yt($)))}))))}),Et=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<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r},xt=n.forwardRef((e,o)=>{var{ellipsis:r,rel:t}=e,i=Et(e,["ellipsis","rel"]);const p=Object.assign(Object.assign({},i),{rel:t===void 0&&i.target==="_blank"?"noopener noreferrer":t});return delete p.navigate,n.createElement(me,Object.assign({},p,{ref:o,ellipsis:!!r,component:"a"}))}),St=n.forwardRef((e,o)=>n.createElement(me,Object.assign({ref:o},e,{component:"div"}))),Ot=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<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const Ct=(e,o)=>{var{ellipsis:r}=e,t=Ot(e,["ellipsis"]);const i=n.useMemo(()=>r&&typeof r=="object"?(0,Y.Z)(r,["expandable","rows"]):r,[r]);return n.createElement(me,Object.assign({ref:o},t,{ellipsis:i,component:"span"}))};var wt=n.forwardRef(Ct),Tt=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<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const jt=[1,2,3,4,5];var Lt=n.forwardRef((e,o)=>{const{level:r=1}=e,t=Tt(e,["level"]);let i;return jt.includes(r)?i=`h${r}`:i="h1",n.createElement(me,Object.assign({ref:o},t,{component:i}))});const de=$e;de.Text=wt,de.Link=xt,de.Title=Lt,de.Paragraph=St;var Rt=de},874:function(ee,E,s){"use strict";var n=s(16935),x={"text/plain":"Text","text/html":"Url",default:"Text"},Q="Copy to clipboard: #{key}, Enter";function te(c){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return c.replace(/#{\s*key\s*}/g,u)}function K(c,u){var m,y,j,ne,G,v,Z=!1;u||(u={}),m=u.debug||!1;try{j=n(),ne=document.createRange(),G=document.getSelection(),v=document.createElement("span"),v.textContent=c,v.ariaHidden="true",v.style.all="unset",v.style.position="fixed",v.style.top=0,v.style.clip="rect(0, 0, 0, 0)",v.style.whiteSpace="pre",v.style.webkitUserSelect="text",v.style.MozUserSelect="text",v.style.msUserSelect="text",v.style.userSelect="text",v.addEventListener("copy",function(I){if(I.stopPropagation(),u.format)if(I.preventDefault(),typeof I.clipboardData=="undefined"){m&&console.warn("unable to use e.clipboardData"),m&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Y=x[u.format]||x.default;window.clipboardData.setData(Y,c)}else I.clipboardData.clearData(),I.clipboardData.setData(u.format,c);u.onCopy&&(I.preventDefault(),u.onCopy(I.clipboardData))}),document.body.appendChild(v),ne.selectNodeContents(v),G.addRange(ne);var U=document.execCommand("copy");if(!U)throw new Error("copy command was unsuccessful");Z=!0}catch(I){m&&console.error("unable to copy using execCommand: ",I),m&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",c),u.onCopy&&u.onCopy(window.clipboardData),Z=!0}catch(Y){m&&console.error("unable to copy using clipboardData: ",Y),m&&console.error("falling back to prompt"),y=te("message"in u?u.message:Q),window.prompt(y,c)}}finally{G&&(typeof G.removeRange=="function"?G.removeRange(ne):G.removeAllRanges()),v&&document.body.removeChild(v),j()}return Z}ee.exports=K},5449:function(ee,E,s){"use strict";s.d(E,{G:function(){return te}});var n=s(63490),x=function(c){if((0,n.Z)()&&window.document.documentElement){var u=Array.isArray(c)?c:[c],m=window.document.documentElement;return u.some(function(y){return y in m.style})}return!1},Q=function(c,u){if(!x(c))return!1;var m=document.createElement("div"),y=m.style[c];return m.style[c]=u,m.style[c]!==y};function te(K,c){return!Array.isArray(K)&&c!==void 0?Q(K,c):x(K)}},16935:function(ee){ee.exports=function(){var E=document.getSelection();if(!E.rangeCount)return function(){};for(var s=document.activeElement,n=[],x=0;x<E.rangeCount;x++)n.push(E.getRangeAt(x));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null;break}return E.removeAllRanges(),function(){E.type==="Caret"&&E.removeAllRanges(),E.rangeCount||n.forEach(function(Q){E.addRange(Q)}),s&&s.focus()}}}}]);