(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,735049,e=>{"use strict";var t=e.i(654310),n=function(e){if((0,t.default)()&&window.document.documentElement){var n=Array.isArray(e)?e:[e],l=window.document.documentElement;return n.some(function(e){return e in l.style})}return!1},l=function(e,t){if(!n(e))return!1;var l=document.createElement("div"),r=l.style[e];return l.style[e]=t,l.style[e]!==r};function r(e,t){return Array.isArray(e)||void 0===t?n(e):l(e,t)}e.s(["isStyleSupport",()=>r])},464571,e=>{"use strict";var t=e.i(920228);e.s(["Button",()=>t.default])},401361,e=>{"use strict";e.i(247167);var t=e.i(931067),n=e.i(271645);let 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"};var r=e.i(9583),a=n.forwardRef(function(e,a){return n.createElement(r.default,(0,t.default)({},e,{ref:a,icon:l}))});e.s(["default",0,a],401361)},486794,(e,t,n)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],l=0;l<e.rangeCount;l++)n.push(e.getRangeAt(l));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},844343,(e,t,n)=>{"use strict";var l=e.r(486794),r={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(e,t){var n,a,o,i,c,s,u,d,p=!1;t||(t={}),o=t.debug||!1;try{if(c=l(),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){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,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(l){o&&console.error("unable to copy using execCommand: ",l),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(l){o&&console.error("unable to copy using clipboardData: ",l),o&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",i=n.replace(/#{\s*key\s*}/g,a),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},913987,155125,306267,485417,613897,661812,e=>{"use strict";var t=e.i(271645);e.i(247167);var n=e.i(931067);let l={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"};var r=e.i(9583),a=t.forwardRef(function(e,a){return t.createElement(r.default,(0,n.default)({},e,{ref:a,icon:l}))}),o=e.i(343794),i=e.i(404948),c=e.i(763731),s=e.i(635432),u=e.i(183293),d=e.i(246422);e.i(765846);var p=e.i(896091);let f=(0,d.genStyleHooks)("Typography",e=>{let t,{componentCls:n,titleMarginTop:l}=e;return{[n]: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,[`&${n}-secondary`]:{color:e.colorTextDescription},[`&${n}-success`]:{color:e.colorSuccessText},[`&${n}-warning`]:{color:e.colorWarningText},[`&${n}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
        div&,
        p
      `]:{marginBottom:"1em"}},(t={},[1,2,3,4,5].forEach(n=>{t[`
      h${n}&,
      div&-h${n},
      div&-h${n} > textarea,
      h${n}
    `]=((e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:a}=l;return{marginBottom:r,color:n,fontWeight:a,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t)),{[`
      & + h1${n},
      & + h2${n},
      & + h3${n},
      & + h4${n},
      & + h5${n}
      `]:{marginTop:l},[`
      div,
      ul,
      li,
      p,
      h1,
      h2,
      h3,
      h4,
      h5`]:{[`
        + h1,
        + h2,
        + h3,
        + h4,
        + h5
        `]:{marginTop:l}}}),{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:p.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"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}}),(e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,u.operationUnit)(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}})(e)),{[`
        ${n}-expand,
        ${n}-collapse,
        ${n}-edit,
        ${n}-copy
      `]:Object.assign(Object.assign({},(0,u.operationUnit)(e)),{marginInlineStart:e.marginXXS})}),(e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}})(e)),{[`${e.componentCls}-copy-success`]:{[`
    &,
    &:hover,
    &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),{[`
  a&-ellipsis,
  span&-ellipsis
  `]:{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"}}),{"&-rtl":{direction:"rtl"}})}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}));e.s(["default",0,e=>{let{prefixCls:n,"aria-label":l,className:r,style:u,direction:d,maxLength:p,autoSize:m=!0,value:g,onSave:b,onCancel:y,onEnd:v,component:h,enterIcon:x=t.createElement(a,null)}=e,O=t.useRef(null),E=t.useRef(!1),w=t.useRef(null),[S,j]=t.useState(g);t.useEffect(()=>{j(g)},[g]),t.useEffect(()=>{var e;if(null==(e=O.current)?void 0:e.resizableTextArea){let{textArea:e}=O.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let C=()=>{b(S.trim())},[k,R,$]=f(n),T=(0,o.default)(n,`${n}-edit-content`,{[`${n}-rtl`]:"rtl"===d,[`${n}-${h}`]:!!h},r,R,$);return k(t.createElement("div",{className:T,style:u},t.createElement(s.default,{ref:O,maxLength:p,value:S,onChange:({target:e})=>{j(e.value.replace(/[\n\r]/g,""))},onKeyDown:({keyCode:e})=>{E.current||(w.current=e)},onKeyUp:({keyCode:e,ctrlKey:t,altKey:n,metaKey:l,shiftKey:r})=>{w.current!==e||E.current||t||n||l||r||(e===i.default.ENTER?(C(),null==v||v()):e===i.default.ESC&&y())},onCompositionStart:()=>{E.current=!0},onCompositionEnd:()=>{E.current=!1},onBlur:()=>{C()},"aria-label":l,rows:1,autoSize:m}),null!==x?(0,c.cloneElement)(x,{className:`${n}-edit-content-confirm`}):null))}],913987);var m=e.i(844343),g=e.i(175066);function b(e,n){return t.useMemo(()=>{let t=!!e;return[t,Object.assign(Object.assign({},n),t&&"object"==typeof e?e:null)]},[e])}e.s(["default",0,({copyConfig:e,children:n})=>{let[l,r]=t.useState(!1),[a,o]=t.useState(!1),i=t.useRef(null),c=()=>{i.current&&clearTimeout(i.current)},s={};e.format&&(s.format=e.format),t.useEffect(()=>c,[]);let u=(0,g.default)(t=>{var l,a,u,d;return l=void 0,a=void 0,u=void 0,d=function*(){var l;null==t||t.preventDefault(),null==t||t.stopPropagation(),o(!0);try{let a="function"==typeof e.text?yield e.text():e.text;(0,m.default)(a||((e,t=!1)=>t&&null==e?[]:Array.isArray(e)?e:[e])(n,!0).join("")||"",s),o(!1),r(!0),c(),i.current=setTimeout(()=>{r(!1)},3e3),null==(l=e.onCopy)||l.call(e,t)}catch(e){throw o(!1),e}},new(u||(u=Promise))(function(e,t){function n(e){try{o(d.next(e))}catch(e){t(e)}}function r(e){try{o(d.throw(e))}catch(e){t(e)}}function o(t){var l;t.done?e(t.value):((l=t.value)instanceof u?l:new u(function(e){e(l)})).then(n,r)}o((d=d.apply(l,a||[])).next())})});return{copied:l,copyLoading:a,onClick:u}}],155125),e.s(["default",()=>b],306267),e.s(["default",0,e=>{let n=(0,t.useRef)(void 0);return(0,t.useEffect)(()=>{n.current=e}),n.current}],485417),e.s(["default",0,(e,n,l)=>(0,t.useMemo)(()=>!0===e?{title:null!=n?n:l}:(0,t.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=n?n:l},e):{title:e},[e,n,l])],613897);var y=e.i(611935),v=e.i(242064),h=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let x=t.forwardRef((e,n)=>{let{prefixCls:l,component:r="article",className:a,rootClassName:i,setContentRef:c,children:s,direction:u,style:d}=e,p=h(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,className:b,style:x}=(0,v.useComponentConfig)("typography"),O=c?(0,y.composeRef)(n,c):n,E=m("typography",l),[w,S,j]=f(E),C=(0,o.default)(E,b,{[`${E}-rtl`]:"rtl"===(null!=u?u:g)},a,i,S,j),k=Object.assign(Object.assign({},x),d);return w(t.createElement(r,Object.assign({className:C,style:k,ref:O},p),s))});e.s(["default",0,x],661812)},190144,e=>{"use strict";e.i(247167);var t=e.i(931067),n=e.i(271645);let l={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"};var r=e.i(9583),a=n.forwardRef(function(e,a){return n.createElement(r.default,(0,t.default)({},e,{ref:a,icon:l}))});e.s(["default",0,a],190144)},898586,335771,e=>{"use strict";e.i(247167);var t=e.i(271645),n=e.i(8211),l=e.i(401361),r=e.i(343794),a=e.i(430073),o=e.i(876556),i=e.i(174428),c=e.i(914949),s=e.i(529681),u=e.i(611935),d=e.i(735049),p=e.i(242064),f=e.i(929447),m=e.i(491816),g=e.i(913987),b=e.i(155125),y=e.i(306267),v=e.i(485417),h=e.i(613897),x=e.i(661812),O=e.i(121229),E=e.i(190144),w=e.i(739295);function S(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 C=e=>["string","number"].includes(typeof e),k=({prefixCls:e,copied:n,locale:l,iconOnly:a,tooltips:o,icon:i,tabIndex:c,onCopy:s,loading:u})=>{let d=S(o),p=S(i),{copied:f,copy:g}=null!=l?l:{},b=n?f:g,y=j(d[+!!n],b),v="string"==typeof y?y:b;return t.createElement(m.default,{title:y},t.createElement("button",{type:"button",className:(0,r.default)(`${e}-copy`,{[`${e}-copy-success`]:n,[`${e}-copy-icon-only`]:a}),onClick:s,"aria-label":v,tabIndex:c},n?j(p[1],t.createElement(O.default,null),!0):j(p[0],u?t.createElement(w.default,null):t.createElement(E.default,null),!0)))},R=t.forwardRef(({style:e,children:n},l)=>{let r=t.useRef(null);return t.useImperativeHandle(l,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),t.createElement("span",{"aria-hidden":!0,ref:r,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},e)},n)});function $(e,t){let n=0,l=[];for(let r=0;r<e.length;r+=1){if(n===t)return l;let a=e[r],o=n+(C(a)?String(a).length:1);if(o>t){let e=t-n;return l.push(String(a).slice(0,e)),l}l.push(a),n=o}return e}let T={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function I(e){let{enableMeasure:l,width:r,text:a,children:c,rows:s,expanded:u,miscDeps:d,onEllipsis:p}=e,f=t.useMemo(()=>(0,o.default)(a),[a]),m=t.useMemo(()=>f.reduce((e,t)=>e+(C(t)?String(t).length:1),0),[a]),g=t.useMemo(()=>c(f,!1),[a]),[b,y]=t.useState(null),v=t.useRef(null),h=t.useRef(null),x=t.useRef(null),O=t.useRef(null),E=t.useRef(null),[w,S]=t.useState(!1),[j,k]=t.useState(0),[I,D]=t.useState(0),[P,B]=t.useState(null);(0,i.default)(()=>{l&&r&&m?k(1):k(0)},[r,a,s,l,f]),(0,i.default)(()=>{var e,t,n,l;if(1===j)k(2),B(h.current&&getComputedStyle(h.current).whiteSpace);else if(2===j){let r=!!(null==(e=x.current)?void 0:e.isExceed());k(r?3:4),y(r?[0,m]:null),S(r),D(Math.max((null==(t=x.current)?void 0:t.getHeight())||0,(1===s?0:(null==(n=O.current)?void 0:n.getHeight())||0)+((null==(l=E.current)?void 0:l.getHeight())||0))+1),p(r)}},[j]);let H=b?Math.ceil((b[0]+b[1])/2):0;(0,i.default)(()=>{var e;let[t,n]=b||[0,0];if(t!==n){let l=((null==(e=v.current)?void 0:e.getHeight())||0)>I,r=H;n-t==1&&(r=l?t:n),y(l?[t,r]:[r,n])}},[b,H]);let M=t.useMemo(()=>{if(!l)return c(f,!1);if(3!==j||!b||b[0]!==b[1]){let e=c(f,!1);return[4,0].includes(j)?e:t.createElement("span",{style:Object.assign(Object.assign({},T),{WebkitLineClamp:s})},e)}return c(u?f:$(f,b[0]),w)},[u,j,b,f].concat((0,n.default)(d))),z={width:r,margin:0,padding:0,whiteSpace:"nowrap"===P?"normal":"inherit"};return t.createElement(t.Fragment,null,M,2===j&&t.createElement(t.Fragment,null,t.createElement(R,{style:Object.assign(Object.assign(Object.assign({},z),T),{WebkitLineClamp:s}),ref:x},g),t.createElement(R,{style:Object.assign(Object.assign(Object.assign({},z),T),{WebkitLineClamp:s-1}),ref:O},g),t.createElement(R,{style:Object.assign(Object.assign(Object.assign({},z),T),{WebkitLineClamp:1}),ref:E},c([],!0))),3===j&&b&&b[0]!==b[1]&&t.createElement(R,{style:Object.assign(Object.assign({},z),{top:400}),ref:v},c($(f,H),!0)),1===j&&t.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}let D=({enableEllipsis:e,isEllipsis:n,children:l,tooltipProps:r})=>(null==r?void 0:r.title)&&e?t.createElement(m.default,Object.assign({open:!!n&&void 0},r),l):l;var P=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let B=["delete","mark","code","underline","strong","keyboard","italic"],H=t.forwardRef((e,O)=>{var E;let{prefixCls:w,className:S,style:j,type:R,disabled:$,children:T,ellipsis:H,editable:M,copyable:z,component:A,title:L}=e,W=P(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:N,direction:U}=t.useContext(p.ConfigContext),[F]=(0,f.default)("Text"),q=t.useRef(null),V=t.useRef(null),X=N("typography",w),K=(0,s.default)(W,B),[_,G]=(0,y.default)(M),[J,Q]=(0,c.default)(!1,{value:G.editing}),{triggerType:Y=["icon"]}=G,Z=e=>{var t;e&&(null==(t=G.onStart)||t.call(G)),Q(e)},ee=(0,v.default)(J);(0,i.default)(()=>{var e;!J&&ee&&(null==(e=V.current)||e.focus())},[J]);let et=e=>{null==e||e.preventDefault(),Z(!0)},[en,el]=(0,y.default)(z),{copied:er,copyLoading:ea,onClick:eo}=(0,b.default)({copyConfig:el,children:T}),[ei,ec]=t.useState(!1),[es,eu]=t.useState(!1),[ed,ep]=t.useState(!1),[ef,em]=t.useState(!1),[eg,eb]=t.useState(!0),[ey,ev]=(0,y.default)(H,{expandable:!1,symbol:e=>e?null==F?void 0:F.collapse:null==F?void 0:F.expand}),[eh,ex]=(0,c.default)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=t.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||_||en),[eO,ev,_,en]);(0,i.default)(()=>{ey&&!ew&&(ec((0,d.isStyleSupport)("webkitLineClamp")),eu((0,d.isStyleSupport)("textOverflow")))},[ew,ey]);let[eS,ej]=t.useState(eO),eC=t.useMemo(()=>!ew&&(1===eE?es:ei),[ew,es,ei]);(0,i.default)(()=>{ej(eC&&eO)},[eC,eO]);let ek=eO&&(eS?ef:ed),eR=eO&&1===eE&&eS,e$=eO&&eE>1&&eS,[eT,eI]=t.useState(0),eD=e=>{var t;ep(e),ed!==e&&(null==(t=ev.onEllipsis)||t.call(ev,e))};t.useEffect(()=>{let e=q.current;if(ey&&eS&&e){let t,n,l,r=(t=document.createElement("em"),e.appendChild(t),n=e.getBoundingClientRect(),l=t.getBoundingClientRect(),e.removeChild(t),n.left>l.left||l.right>n.right||n.top>l.top||l.bottom>n.bottom);ef!==r&&em(r)}},[ey,eS,T,e$,eg,eT]),t.useEffect(()=>{let e=q.current;if("u"<typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eP=(0,h.default)(ev.tooltip,G.text,T),eB=t.useMemo(()=>{if(ey&&!eS)return[G.text,T,L,eP.title].find(C)},[ey,eS,L,eP.title,ek]);return J?t.createElement(g.default,{value:null!=(E=G.text)?E:"string"==typeof T?T:"",onSave:e=>{var t;null==(t=G.onChange)||t.call(G,e),Z(!1)},onCancel:()=>{var e;null==(e=G.onCancel)||e.call(G),Z(!1)},onEnd:G.onEnd,prefixCls:X,className:S,style:j,direction:U,component:A,maxLength:G.maxLength,autoSize:G.autoSize,enterIcon:G.enterIcon}):t.createElement(a.default,{onResize:({offsetWidth:e})=>{eI(e)},disabled:!eO},a=>t.createElement(D,{tooltipProps:eP,enableEllipsis:eO,isEllipsis:ek},t.createElement(x.default,Object.assign({className:(0,r.default)({[`${X}-${R}`]:R,[`${X}-disabled`]:$,[`${X}-ellipsis`]:ey,[`${X}-ellipsis-single-line`]:eR,[`${X}-ellipsis-multiple-line`]:e$},S),prefixCls:w,style:Object.assign(Object.assign({},j),{WebkitLineClamp:e$?eE:void 0}),component:A,ref:(0,u.composeRef)(a,q,O),direction:U,onClick:Y.includes("text")?et:void 0,"aria-label":null==eB?void 0:eB.toString(),title:L},K),t.createElement(I,{enableMeasure:eO&&!eS,text:T,rows:eE,width:eT,onEllipsis:eD,expanded:eh,miscDeps:[er,eh,ea,_,en,F].concat((0,n.default)(B.map(t=>e[t])))},(n,r)=>{let a;return function({mark:e,code:n,underline:l,delete:r,strong:a,keyboard:o,italic:i},c){let s=c;function u(e,n){n&&(s=t.createElement(e,{},s))}return u("strong",a),u("u",l),u("del",r),u("code",n),u("mark",e),u("kbd",o),u("i",i),s}(e,t.createElement(t.Fragment,null,n.length>0&&r&&!eh&&eB?t.createElement("span",{key:"show-content","aria-hidden":!0},n):n,[(a=r)&&!eh&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,[a&&(()=>{let{expandable:e,symbol:n}=ev;return e?t.createElement("button",{type:"button",key:"expand",className:`${X}-${eh?"collapse":"expand"}`,onClick:e=>{var t,n;ex((t={expanded:!eh}).expanded),null==(n=ev.onExpand)||n.call(ev,e,t)},"aria-label":eh?F.collapse:null==F?void 0:F.expand},"function"==typeof n?n(eh):n):null})(),(()=>{if(!_)return;let{icon:e,tooltip:n,tabIndex:r}=G,a=(0,o.default)(n)[0]||(null==F?void 0:F.edit),i="string"==typeof a?a:"";return Y.includes("icon")?t.createElement(m.default,{key:"edit",title:!1===n?"":a},t.createElement("button",{type:"button",ref:V,className:`${X}-edit`,onClick:et,"aria-label":i,tabIndex:r},e||t.createElement(l.default,{role:"button"}))):null})(),en?t.createElement(k,Object.assign({key:"copy"},el,{prefixCls:X,copied:er,locale:F,onCopy:eo,loading:ea,iconOnly:null==T})):null]]))}))))});var M=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let z=t.forwardRef((e,n)=>{let{ellipsis:l,rel:r,children:a,navigate:o}=e,i=M(e,["ellipsis","rel","children","navigate"]),c=Object.assign(Object.assign({},i),{rel:void 0===r&&"_blank"===i.target?"noopener noreferrer":r});return t.createElement(H,Object.assign({},c,{ref:n,ellipsis:!!l,component:"a"}),a)});var A=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let L=t.forwardRef((e,n)=>{let{children:l}=e,r=A(e,["children"]);return t.createElement(H,Object.assign({ref:n},r,{component:"div"}),l)});var W=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let N=t.forwardRef((e,n)=>{let{ellipsis:l,children:r}=e,a=W(e,["ellipsis","children"]),o=t.useMemo(()=>l&&"object"==typeof l?(0,s.default)(l,["expandable","rows"]):l,[l]);return t.createElement(H,Object.assign({ref:n},a,{ellipsis:o,component:"span"}),r)});var U=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let F=[1,2,3,4,5],q=t.forwardRef((e,n)=>{let{level:l=1,children:r}=e,a=U(e,["level","children"]),o=F.includes(l)?`h${l}`:"h1";return t.createElement(H,Object.assign({ref:n},a,{component:o}),r)});e.s(["default",0,q],335771);let V=x.default;V.Text=N,V.Link=z,V.Title=q,V.Paragraph=L,e.s(["Typography",0,V],898586)}]);