1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,389564,827209,e=>{"use strict";e.i(201455);var t=e.i(471611),n=e.i(205698);let l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};var r=e.i(942901),a=n.forwardRef(function(e,a){return n.createElement(r.default,(0,t.default)({},e,{ref:a,icon:l}))});e.s(["default",0,a],389564);let o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};var i=n.forwardRef(function(e,l){return n.createElement(r.default,(0,t.default)({},e,{ref:l,icon:o}))});e.s(["default",0,i],827209)},401130,e=>{"use strict";var t=e.i(205698);e.s(["useForceUpdate",0,()=>t.default.useReducer(e=>e+1,0)])},18954,64131,420486,e=>{"use strict";e.i(201455);var t=e.i(471611),n=e.i(205698);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(942901),a=n.forwardRef(function(e,a){return n.createElement(r.default,(0,t.default)({},e,{ref:a,icon:l}))});e.s(["default",0,a],18954);let o={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 i=n.forwardRef(function(e,l){return n.createElement(r.default,(0,t.default)({},e,{ref:l,icon:o}))}),c=e.i(264458),s=e.i(718121),u=e.i(679908),d=e.i(349562),p=e.i(828398),f=e.i(573856);e.i(37374);var m=e.i(612308);let g=(0,f.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"},[` 2 div&, 3 p 4 `]:{marginBottom:"1em"}},(t={},[1,2,3,4,5].forEach(n=>{t[` 5 h${n}&, 6 div&-h${n}, 7 div&-h${n} > textarea, 8 h${n} 9 `]=((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)),{[` 10 & + h1${n}, 11 & + h2${n}, 12 & + h3${n}, 13 & + h4${n}, 14 & + h5${n} 15 `]:{marginTop:l},[` 16 div, 17 ul, 18 li, 19 p, 20 h1, 21 h2, 22 h3, 23 h4, 24 h5`]:{[` 25 + h1, 26 + h2, 27 + h3, 28 + h4, 29 + h5 30 `]:{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:m.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,p.operationUnit)(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}})(e)),{[` 31 ${n}-expand, 32 ${n}-collapse, 33 ${n}-edit, 34 ${n}-copy 35 `]:Object.assign(Object.assign({},(0,p.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`]:{[` 36 &, 37 &:hover, 38 &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),{[` 39 a&-ellipsis, 40 span&-ellipsis 41 `]:{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,g],64131),e.s(["default",0,e=>{let{prefixCls:t,"aria-label":l,className:r,style:a,direction:o,maxLength:p,autoSize:f=!0,value:m,onSave:b,onCancel:y,onEnd:v,component:h,enterIcon:x=n.createElement(i,null)}=e,O=n.useRef(null),E=n.useRef(!1),w=n.useRef(null),[S,j]=n.useState(m);n.useEffect(()=>{j(m)},[m]),n.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,$]=g(t),T=(0,c.default)(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===o,[`${t}-${h}`]:!!h},r,R,$);return k(n.createElement("div",{className:T,style:a},n.createElement(d.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===s.default.ENTER?(C(),null==v||v()):e===s.default.ESC&&y())},onCompositionStart:()=>{E.current=!0},onCompositionEnd:()=>{E.current=!1},onBlur:()=>{C()},"aria-label":l,rows:1,autoSize:f}),null!==x?(0,u.cloneElement)(x,{className:`${t}-edit-content-confirm`}):null))}
41],420486)},121583,(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()}}},26012,(e,t,n)=>{"use strict";var l=e.r(121583),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}},923288,e=>{"use strict";e.s(["default",0,(e,t=!1)=>t&&null==e?[]:Array.isArray(e)?e:[e]])},274497,e=>{"use strict";e.i(201455);var t=e.i(205698),n=e.i(385762),l=e.i(18954),r=e.i(264458),a=e.i(630053),o=e.i(755047),i=e.i(524576),c=e.i(329937),s=e.i(464695),u=e.i(286517),d=e.i(680081),p=e.i(810970),f=e.i(360496),m=e.i(349337),g=e.i(420486),b=e.i(26012),y=e.i(790082),v=e.i(923288);function h(e,n){return t.useMemo(()=>{let t=!!e;return[t,Object.assign(Object.assign({},n),t&&"object"==typeof e?e:null)]},[e])}var x=e.i(64131),O=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 E=t.forwardRef((e,n)=>{let{prefixCls:l,component:a="article",className:o,rootClassName:i,setContentRef:c,children:s,direction:d,style:f}=e,m=O(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:g,direction:b,className:y,style:v}=(0,p.useComponentConfig)("typography"),h=c?(0,u.composeRef)(n,c):n,E=g("typography",l),[w,S,j]=(0,x.default)(E),C=(0,r.default)(E,y,{[`${E}-rtl`]:"rtl"===(null!=d?d:b)},o,i,S,j),k=Object.assign(Object.assign({},v),f);return w(t.createElement(a,Object.assign({className:C,style:k,ref:h},m),s))});var w=e.i(223386),S=e.i(471611);let j={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 C=e.i(942901),k=t.forwardRef(function(e,n){return t.createElement(C.default,(0,S.default)({},e,{ref:n,icon:j}))}),R=e.i(922137);function $(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function T(e,t,n){return!0===e||void 0===e?t:e||n&&t}let I=e=>["string","number"].includes(typeof e),D=({prefixCls:e,copied:n,locale:l,iconOnly:a,tooltips:o,icon:i,tabIndex:c,onCopy:s,loading:u})=>{let d=$(o),p=$(i),{copied:f,copy:g}=null!=l?l:{},b=n?f:g,y=T(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?T(p[1],t.createElement(w.default,null),!0):T(p[0],u?t.createElement(R.default,null):t.createElement(k,null),!0)))},B=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 H(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+(I(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 M={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function P(e){let{enableMeasure:l,width:r,text:a,children:c,rows:s,exp
41anded:u,miscDeps:d,onEllipsis:p}=e,f=t.useMemo(()=>(0,o.default)(a),[a]),m=t.useMemo(()=>f.reduce((e,t)=>e+(I(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,C]=t.useState(0),[k,R]=t.useState(0),[$,T]=t.useState(null);(0,i.default)(()=>{l&&r&&m?C(1):C(0)},[r,a,s,l,f]),(0,i.default)(()=>{var e,t,n,l;if(1===j)C(2),T(h.current&&getComputedStyle(h.current).whiteSpace);else if(2===j){let r=!!(null==(e=x.current)?void 0:e.isExceed());C(r?3:4),y(r?[0,m]:null),S(r),R(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 D=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)>k,r=D;n-t==1&&(r=l?t:n),y(l?[t,r]:[r,n])}},[b,D]);let P=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({},M),{WebkitLineClamp:s})},e)}return c(u?f:H(f,b[0]),w)},[u,j,b,f].concat((0,n.default)(d))),z={width:r,margin:0,padding:0,whiteSpace:"nowrap"===$?"normal":"inherit"};return t.createElement(t.Fragment,null,P,2===j&&t.createElement(t.Fragment,null,t.createElement(B,{style:Object.assign(Object.assign(Object.assign({},z),M),{WebkitLineClamp:s}),ref:x},g),t.createElement(B,{style:Object.assign(Object.assign(Object.assign({},z),M),{WebkitLineClamp:s-1}),ref:O},g),t.createElement(B,{style:Object.assign(Object.assign(Object.assign({},z),M),{WebkitLineClamp:1}),ref:E},c([],!0))),3===j&&b&&b[0]!==b[1]&&t.createElement(B,{style:Object.assign(Object.assign({},z),{top:400}),ref:v},c(H(f,D),!0)),1===j&&t.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}let z=({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 L=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 A=["delete","mark","code","underline","strong","keyboard","italic"],W=t.forwardRef((e,x)=>{var O;let w,S,j,{prefixCls:C,className:k,style:R,type:$,disabled:T,children:B,ellipsis:H,editable:M,copyable:W,component:N,title:U}=e,F=L(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:q,direction:V}=t.useContext(p.ConfigContext),[X]=(0,f.default)("Text"),K=t.useRef(null),_=t.useRef(null),G=q("typography",C),J=(0,s.default)(F,A),[Q,Y]=h(M),[Z,ee]=(0,c.default)(!1,{value:Y.editing}),{triggerType:et=["icon"]}=Y,en=e=>{var t;e&&(null==(t=Y.onStart)||t.call(Y)),ee(e)},el=(w=(0,t.useRef)(void 0),(0,t.useEffect)(()=>{w.current=Z}),w.current);(0,i.default)(()=>{var e;!Z&&el&&(null==(e=_.current)||e.focus())},[Z]);let er=e=>{null==e||e.preventDefault(),en(!0)},[ea,eo]=h(W),{copied:ei,copyLoading:ec,onClick:es}=(({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,y.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,b.default)(a||(0,v.default)(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}})({copyConfig:eo,children:B}),[eu,ed]=t.useState(!1),[ep,ef]=t.useState(!1),[em,eg]=t.useState(!1),[eb,ey]=t.useState(!1),[ev,eh]=t.useState(!0),[ex,eO]=h(H,{expandable:!1,symbol:e=>e?null==X?void 0:X.collapse:null==X?void 0:X.expand}),[eE,ew]=(0,c.default)(eO.defaultExpanded||!1,{value:eO.expanded}),eS=ex&&(!eE||"collapsible"===eO.expandable),{rows:ej=1}=eO,eC=t.useMemo(()=>
41eS&&(void 0!==eO.suffix||eO.onEllipsis||eO.expandable||Q||ea),[eS,eO,Q,ea]);(0,i.default)(()=>{ex&&!eC&&(ed((0,d.isStyleSupport)("webkitLineClamp")),ef((0,d.isStyleSupport)("textOverflow")))},[eC,ex]);let[ek,eR]=t.useState(eS),e$=t.useMemo(()=>!eC&&(1===ej?ep:eu),[eC,ep,eu]);(0,i.default)(()=>{eR(e$&&eS)},[e$,eS]);let eT=eS&&(ek?eb:em),eI=eS&&1===ej&&ek,eD=eS&&ej>1&&ek,[eB,eH]=t.useState(0),eM=e=>{var t;eg(e),em!==e&&(null==(t=eO.onEllipsis)||t.call(eO,e))};t.useEffect(()=>{let e=K.current;if(ex&&ek&&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);eb!==r&&ey(r)}},[ex,ek,B,eD,ev,eB]),t.useEffect(()=>{let e=K.current;if("u"<typeof IntersectionObserver||!e||!ek||!eS)return;let t=new IntersectionObserver(()=>{eh(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ek,eS]);let eP=(S=eO.tooltip,j=Y.text,(0,t.useMemo)(()=>!0===S?{title:null!=j?j:B}:(0,t.isValidElement)(S)?{title:S}:"object"==typeof S?Object.assign({title:null!=j?j:B},S):{title:S},[S,j,B])),ez=t.useMemo(()=>{if(ex&&!ek)return[Y.text,B,U,eP.title].find(I)},[ex,ek,U,eP.title,eT]);return Z?t.createElement(g.default,{value:null!=(O=Y.text)?O:"string"==typeof B?B:"",onSave:e=>{var t;null==(t=Y.onChange)||t.call(Y,e),en(!1)},onCancel:()=>{var e;null==(e=Y.onCancel)||e.call(Y),en(!1)},onEnd:Y.onEnd,prefixCls:G,className:k,style:R,direction:V,component:N,maxLength:Y.maxLength,autoSize:Y.autoSize,enterIcon:Y.enterIcon}):t.createElement(a.default,{onResize:({offsetWidth:e})=>{eH(e)},disabled:!eS},a=>t.createElement(z,{tooltipProps:eP,enableEllipsis:eS,isEllipsis:eT},t.createElement(E,Object.assign({className:(0,r.default)({[`${G}-${$}`]:$,[`${G}-disabled`]:T,[`${G}-ellipsis`]:ex,[`${G}-ellipsis-single-line`]:eI,[`${G}-ellipsis-multiple-line`]:eD},k),prefixCls:C,style:Object.assign(Object.assign({},R),{WebkitLineClamp:eD?ej:void 0}),component:N,ref:(0,u.composeRef)(a,K,x),direction:V,onClick:et.includes("text")?er:void 0,"aria-label":null==ez?void 0:ez.toString(),title:U},J),t.createElement(P,{enableMeasure:eS&&!ek,text:B,rows:ej,width:eB,onEllipsis:eM,expanded:eE,miscDeps:[ei,eE,ec,Q,ea,X].concat((0,n.default)(A.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&&!eE&&ez?t.createElement("span",{key:"show-content","aria-hidden":!0},n):n,[(a=r)&&!eE&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),eO.suffix,[a&&(()=>{let{expandable:e,symbol:n}=eO;return e?t.createElement("button",{type:"button",key:"expand",className:`${G}-${eE?"collapse":"expand"}`,onClick:e=>{var t,n;ew((t={expanded:!eE}).expanded),null==(n=eO.onExpand)||n.call(eO,e,t)},"aria-label":eE?X.collapse:null==X?void 0:X.expand},"function"==typeof n?n(eE):n):null})(),(()=>{if(!Q)return;let{icon:e,tooltip:n,tabIndex:r}=Y,a=(0,o.default)(n)[0]||(null==X?void 0:X.edit),i="string"==typeof a?a:"";return et.includes("icon")?t.createElement(m.default,{key:"edit",title:!1===n?"":a},t.createElement("button",{type:"button",ref:_,className:`${G}-edit`,onClick:er,"aria-label":i,tabIndex:r},e||t.createElement(l.default,{role:"button"}))):null})(),ea?t.createElement(D,Object.assign({key:"copy"},eo,{prefixCls:G,copied:ei,locale:X,onCopy:es,loading:ec,iconOnly:null==B})):null]]))}))))});var N=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 U=t.forwardRef((e,n)=>{let{ellipsis:l,rel:r,children:a,navigate:o}=e,i=N(e,["ellipsis","rel","children","navigate"]),c=Object.assign(Object.assign({},i),{rel:void 0===r&&"_blank"===i.target?"noopener noreferrer":r});return t.createElement(W,Object.assign({},c,{ref:n,ellipsis:!!l,component:"a"}),a)});var F=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};
41let q=t.forwardRef((e,n)=>{let{children:l}=e,r=F(e,["children"]);return t.createElement(W,Object.assign({ref:n},r,{component:"div"}),l)});var V=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{ellipsis:l,children:r}=e,a=V(e,["ellipsis","children"]),o=t.useMemo(()=>l&&"object"==typeof l?(0,s.default)(l,["expandable","rows"]):l,[l]);return t.createElement(W,Object.assign({ref:n},a,{ellipsis:o,component:"span"}),r)});var K=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 _=[1,2,3,4,5],G=t.forwardRef((e,n)=>{let{level:l=1,children:r}=e,a=K(e,["level","children"]),o=_.includes(l)?`h${l}`:"h1";return t.createElement(W,Object.assign({ref:n},a,{component:o}),r)});E.Text=X,E.Link=U,E.Title=G,E.Paragraph=q,e.s(["default",0,E],274497)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.