(self.webpackChunk=self.webpackChunk||[]).push([[88671],{88671:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var o=n(67294),r=n(60068),l=n(87462),i={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"},a=n(44327),c=function(e,t){return o.createElement(a.Z,(0,l.Z)({},e,{ref:t,icon:i}))};var s=o.forwardRef(c),u={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"},d=function(e,t){return o.createElement(a.Z,(0,l.Z)({},e,{ref:t,icon:u}))};var p=o.forwardRef(d),f=n(94184),m=n.n(f),g=n(20640),b=n.n(g),y=n(48555),v=n(37419),h=n(14075),x=n(5663),w=n(10366),O=n(17799),E=n(70526),S=function(e){if((0,E.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};function k(e,t){return Array.isArray(e)||void 0===t?S(e):function(e,t){if(!S(e))return!1;var n=document.createElement("div"),o=n.style[e];return n.style[e]=t,n.style[e]!==o}(e,t)}var C=n(92389),j=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const{style:n,noStyle:r,disabled:l}=e,i=j(e,["style","noStyle","disabled"]);let a={};return r||(a=Object.assign({},$)),l&&(a.pointerEvents="none"),a=Object.assign(Object.assign({},a),n),o.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},i,{onKeyDown:e=>{const{keyCode:t}=e;t===C.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{const{keyCode:n}=t,{onClick:o}=e;n===C.Z.ENTER&&o&&o()},style:a}))})),D=n(53124),T=n(10110),z=n(83062),Z={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=function(e,t){return o.createElement(a.Z,(0,l.Z)({},e,{ref:t,icon:Z}))};var M=o.forwardRef(I),P=n(96159),H=n(96330),N=n(49867),B=n(67968),A=n(16397);const L=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n h${n}&,\n div&-h${n},\n div&-h${n} > textarea,\n h${n}\n `]=((e,t,n,o)=>{const{titleMarginBottom:r,fontWeightStrong:l}=o;return{marginBottom:r,color:n,fontWeight:l,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},W=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,N.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"}}})}},F=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:A.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}}),K=e=>{const{componentCls:t,paddingSM:n}=e,o=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-o,marginBottom:`calc(1em - ${o}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},U=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),V=e=>{const{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"},"\n div&,\n p\n ":{marginBottom:"1em"}},L(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${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}}}),F(e)),W(e)),{[`\n ${t}-expand,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},(0,N.N)(e)),{marginInlineStart:e.marginXXS})}),K(e)),U(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}};var X=(0,B.Z)("Typography",(e=>[V(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})));var _=e=>{const{prefixCls:t,"aria-label":n,className:r,style:l,direction:i,maxLength:a,autoSize:c=!0,value:s,onSave:u,onCancel:d,onEnd:p,component:f,enterIcon:g=o.createElement(M,null)}=e,b=o.useRef(null),y=o.useRef(!1),v=o.useRef(),[h,x]=o.useState(s);o.useEffect((()=>{x(s)}),[s]),o.useEffect((()=>{if(b.current&&b.current.resizableTextArea){const{textArea:e}=b.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const w=()=>{u(h.trim())},O=f?`${t}-${f}`:"",[E,S]=X(t),k=m()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i},r,O,S);return E(o.createElement("div",{className:k,style:l},o.createElement(H.Z,{ref:b,maxLength:a,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:o,metaKey:r,shiftKey:l}=e;v.current!==t||y.current||n||o||r||l||(t===C.Z.ENTER?(w(),null==p||p()):t===C.Z.ESC&&d())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{w()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,P.Tm)(g,{className:`${t}-edit-content-confirm`}):null))},q=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,component:r="article",className:l,rootClassName:i,setContentRef:a,children:c,direction:s,style:u}=e,d=q(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:f,typography:g}=o.useContext(D.E_),b=null!=s?s:f;let y=t;a&&(y=(0,O.sQ)(t,a));const v=p("typography",n),[h,x]=X(v),w=m()(v,null==g?void 0:g.className,{[`${v}-rtl`]:"rtl"===b},l,i,x),E=Object.assign(Object.assign({},null==g?void 0:g.style),u);return h(o.createElement(r,Object.assign({className:w,style:E,ref:y},d),c))}));var G=Q;function J(e,t){return o.useMemo((()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]}),[e])}var Y=(e,t)=>{const n=o.useRef(!1);o.useEffect((()=>{n.current?e():n.current=!0}),t)};function ee(e){const t=typeof e;return"string"===t||"number"===t}function te(e,t){let n=0;const o=[];for(let r=0;rt){const e=t-n;return o.push(String(l).slice(0,e)),o}o.push(l),n=i}return e}var ne=e=>{let{enabledMeasure:t,children:n,text:r,width:l,fontSize:i,rows:a,onEllipsis:c}=e;const[[s,u,d],p]=o.useState([0,0,0]),[f,m]=o.useState(0),[g,b]=o.useState(0),[y,x]=o.useState(0),w=o.useRef(null),O=o.useRef(null),E=o.useMemo((()=>(0,v.Z)(r)),[r]),S=o.useMemo((()=>function(e){let t=0;return e.forEach((e=>{ee(e)?t+=String(e).length:t+=1})),t}(E)),[E]),k=o.useMemo((()=>t&&3===g?n(te(E,u),u{t&&l&&i&&S&&(b(1),p([0,Math.ceil(S/2),S]))}),[t,l,i,r,S,a]),(0,h.Z)((()=>{var e;1===g&&x((null===(e=w.current)||void 0===e?void 0:e.offsetHeight)||0)}),[g]),(0,h.Z)((()=>{var e,t;if(y)if(1===g){((null===(e=O.current)||void 0===e?void 0:e.offsetHeight)||0)<=a*y?(b(4),c(!1)):b(2)}else if(2===g)if(s!==d){const e=(null===(t=O.current)||void 0===t?void 0:t.offsetHeight)||0;let n=s,o=d;s===d-1?o=s:e<=a*y?n=u:o=u;const r=Math.ceil((n+o)/2);p([n,r,o])}else b(3),m(u),c(!0)}),[g,s,d,a,y]);const C={width:l,whiteSpace:"normal",margin:0,padding:0},j=(e,t,n)=>o.createElement("span",{"aria-hidden":!0,ref:t,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:2*Math.floor(i/2)},n)},e);return o.createElement(o.Fragment,null,k,t&&3!==g&&4!==g&&o.createElement(o.Fragment,null,j("lg",w,{wordBreak:"keep-all",whiteSpace:"nowrap"}),1===g?j(n(E,!1),O,C):((e,t)=>{const o=te(E,e);return j(n(o,!0),t,C)})(u,O)))};var oe=e=>{let{enabledEllipsis:t,isEllipsis:n,children:r,tooltipProps:l}=e;return(null==l?void 0:l.title)&&t?o.createElement(z.Z,Object.assign({open:!!n&&void 0},l),r):r},re=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var n,l,i;const{prefixCls:a,className:c,style:u,type:d,disabled:f,children:g,ellipsis:E,editable:S,copyable:C,component:j,title:$}=e,Z=re(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:I,direction:M}=o.useContext(D.E_),[P]=(0,T.Z)("Text"),H=o.useRef(null),N=o.useRef(null),B=I("typography",a),A=(0,w.Z)(Z,["mark","code","delete","underline","strong","keyboard","italic"]),[L,W]=J(S),[F,K]=(0,x.Z)(!1,{value:W.editing}),{triggerType:U=["icon"]}=W,V=e=>{var t;e&&(null===(t=W.onStart)||void 0===t||t.call(W)),K(e)};Y((()=>{var e;F||null===(e=N.current)||void 0===e||e.focus()}),[F]);const X=e=>{null==e||e.preventDefault(),V(!0)},q=e=>{var t;null===(t=W.onChange)||void 0===t||t.call(W,e),V(!1)},Q=()=>{var e;null===(e=W.onCancel)||void 0===e||e.call(W),V(!1)},[ee,te]=J(C),[ae,ce]=o.useState(!1),se=o.useRef(null),ue={};te.format&&(ue.format=te.format);const de=()=>{se.current&&clearTimeout(se.current)},pe=e=>{var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),b()(te.text||String(g)||"",ue),ce(!0),de(),se.current=setTimeout((()=>{ce(!1)}),3e3),null===(t=te.onCopy)||void 0===t||t.call(te,e)};o.useEffect((()=>de),[]);const[fe,me]=o.useState(!1),[ge,be]=o.useState(!1),[ye,ve]=o.useState(!1),[he,xe]=o.useState(!1),[we,Oe]=o.useState(!1),[Ee,Se]=o.useState(!0),[ke,Ce]=J(E,{expandable:!1}),je=ke&&!ye,{rows:$e=1}=Ce,Re=o.useMemo((()=>!je||void 0!==Ce.suffix||Ce.onEllipsis||Ce.expandable||L||ee),[je,Ce,L,ee]);(0,h.Z)((()=>{ke&&!Re&&(me(k("webkitLineClamp")),be(k("textOverflow")))}),[Re,ke]);const De=o.useMemo((()=>!Re&&(1===$e?ge:fe)),[Re,ge,fe]),Te=je&&(De?we:he),ze=je&&1===$e&&De,Ze=je&&$e>1&&De,Ie=e=>{var t;ve(!0),null===(t=Ce.onExpand)||void 0===t||t.call(Ce,e)},[Me,Pe]=o.useState(0),[He,Ne]=o.useState(0),Be=e=>{var t;xe(e),he!==e&&(null===(t=Ce.onEllipsis)||void 0===t||t.call(Ce,e))};o.useEffect((()=>{const e=H.current;if(ke&&De&&e){const t=Ze?e.offsetHeight{const e=H.current;if("undefined"==typeof IntersectionObserver||!e||!De||!je)return;const t=new IntersectionObserver((()=>{Se(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[De,je]);let Ae={};Ae=!0===Ce.tooltip?{title:null!==(n=W.text)&&void 0!==n?n:g}:o.isValidElement(Ce.tooltip)?{title:Ce.tooltip}:"object"==typeof Ce.tooltip?Object.assign({title:null!==(l=W.text)&&void 0!==l?l:g},Ce.tooltip):{title:Ce.tooltip};const Le=o.useMemo((()=>{const e=e=>["string","number"].includes(typeof e);if(ke&&!De)return e(W.text)?W.text:e(g)?g:e($)?$:e(Ae.title)?Ae.title:void 0}),[ke,De,$,Ae.title,Te]);if(F)return o.createElement(_,{value:null!==(i=W.text)&&void 0!==i?i:"string"==typeof g?g:"",onSave:q,onCancel:Q,onEnd:W.onEnd,prefixCls:B,className:c,style:u,direction:M,component:j,maxLength:W.maxLength,autoSize:W.autoSize,enterIcon:W.enterIcon});const We=()=>{const{expandable:e,symbol:t}=Ce;if(!e)return null;let n;return n=t||(null==P?void 0:P.expand),o.createElement("a",{key:"expand",className:`${B}-expand`,onClick:Ie,"aria-label":null==P?void 0:P.expand},n)},Fe=()=>{if(!L)return;const{icon:e,tooltip:t}=W,n=(0,v.Z)(t)[0]||(null==P?void 0:P.edit),r="string"==typeof n?n:"";return U.includes("icon")?o.createElement(z.Z,{key:"edit",title:!1===t?"":n},o.createElement(R,{ref:N,className:`${B}-edit`,onClick:X,"aria-label":r},e||o.createElement(p,{role:"button"}))):null},Ke=()=>{if(!ee)return;const{tooltips:e,icon:t}=te,n=ie(e),l=ie(t),i=ae?le(n[1],null==P?void 0:P.copied):le(n[0],null==P?void 0:P.copy),a=ae?null==P?void 0:P.copied:null==P?void 0:P.copy,c="string"==typeof i?i:a;return o.createElement(z.Z,{key:"copy",title:i},o.createElement(R,{className:m()(`${B}-copy`,ae&&`${B}-copy-success`),onClick:pe,"aria-label":c},ae?le(l[1],o.createElement(r.Z,null),!0):le(l[0],o.createElement(s,null),!0)))};return o.createElement(y.Z,{onResize:(e,t)=>{let{offsetWidth:n}=e;var o;Pe(n),Ne(parseInt(null===(o=window.getComputedStyle)||void 0===o?void 0:o.call(window,t).fontSize,10)||0)},disabled:!je||De},(n=>o.createElement(oe,{tooltipProps:Ae,enabledEllipsis:je,isEllipsis:Te},o.createElement(G,Object.assign({className:m()({[`${B}-${d}`]:d,[`${B}-disabled`]:f,[`${B}-ellipsis`]:ke,[`${B}-single-line`]:je&&1===$e,[`${B}-ellipsis-single-line`]:ze,[`${B}-ellipsis-multiple-line`]:Ze},c),prefixCls:a,style:Object.assign(Object.assign({},u),{WebkitLineClamp:Ze?$e:void 0}),component:j,ref:(0,O.sQ)(n,H,t),direction:M,onClick:U.includes("text")?X:void 0,"aria-label":null==Le?void 0:Le.toString(),title:$},A),o.createElement(ne,{enabledMeasure:je&&!De,text:g,rows:$e,width:Me,fontSize:He,onEllipsis:Be},((t,n)=>{let r=t;t.length&&n&&Le&&(r=o.createElement("span",{key:"show-content","aria-hidden":!0},r));const l=function(e,t){let{mark:n,code:r,underline:l,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=o.createElement(e,{},u))}return d("strong",a),d("u",l),d("del",i),d("code",r),d("mark",n),d("kbd",c),d("i",s),u}(e,o.createElement(o.Fragment,null,r,(e=>{return[e&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),Ce.suffix,(t=e,[t&&We(),Fe(),Ke()])];var t})(n)));return l}))))))})),ce=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var{ellipsis:n,rel:r}=e,l=ce(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},l),{rel:void 0===r&&"_blank"===l.target?"noopener noreferrer":r});return delete i.navigate,o.createElement(ae,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}));var ue=o.forwardRef(((e,t)=>o.createElement(ae,Object.assign({ref:t},e,{component:"div"})))),de=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var{ellipsis:n}=e,r=de(e,["ellipsis"]);const l=o.useMemo((()=>n&&"object"==typeof n?(0,w.Z)(n,["expandable","rows"]):n),[n]);return o.createElement(ae,Object.assign({ref:t},r,{ellipsis:l,component:"span"}))};var fe=o.forwardRef(pe),me=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const{level:n=1}=e,r=me(e,["level"]);let l;return l=ge.includes(n)?`h${n}`:"h1",o.createElement(ae,Object.assign({ref:t},r,{component:l}))}));const ye=G;ye.Text=fe,ye.Link=se,ye.Title=be,ye.Paragraph=ue;var ve=ye},20640:function(e,t,n){"use strict";var o=n(11742),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,l,i,a,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(i=o(),a=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(o){if(o.stopPropagation(),t.format)if(o.preventDefault(),void 0===o.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,e)}else o.clipboardData.clearData(),o.clipboardData.setData(t.format,e);t.onCopy&&(o.preventDefault(),t.onCopy(o.clipboardData))})),document.body.appendChild(s),a.selectNodeContents(s),c.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),l=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(a):c.removeAllRanges()),s&&document.body.removeChild(s),i()}return u}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],o=0;o