-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvendors~p__ClientList~p__L0Data~p__L0Data__Valencia~p__Welcome~p__extData.6f86d04d.async.js
1 lines (1 loc) · 19.7 KB
/
vendors~p__ClientList~p__L0Data~p__L0Data__Valencia~p__Welcome~p__extData.6f86d04d.async.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+QRC":function(U,w,i){"use strict";var p=i("E9nw"),g={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function J(M){var E=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return M.replace(/#{\s*key\s*}/g,E)}function k(M,E){var D,_,G,Q,V,b,H=!1;E||(E={}),D=E.debug||!1;try{G=p(),Q=document.createRange(),V=document.getSelection(),b=document.createElement("span"),b.textContent=M,b.style.all="unset",b.style.position="fixed",b.style.top=0,b.style.clip="rect(0, 0, 0, 0)",b.style.whiteSpace="pre",b.style.webkitUserSelect="text",b.style.MozUserSelect="text",b.style.msUserSelect="text",b.style.userSelect="text",b.addEventListener("copy",function(B){if(B.stopPropagation(),E.format)if(B.preventDefault(),typeof B.clipboardData=="undefined"){D&&console.warn("unable to use e.clipboardData"),D&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Y=g[E.format]||g.default;window.clipboardData.setData(Y,M)}else B.clipboardData.clearData(),B.clipboardData.setData(E.format,M);E.onCopy&&(B.preventDefault(),E.onCopy(B.clipboardData))}),document.body.appendChild(b),Q.selectNodeContents(b),V.addRange(Q);var q=document.execCommand("copy");if(!q)throw new Error("copy command was unsuccessful");H=!0}catch(B){D&&console.error("unable to copy using execCommand: ",B),D&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(E.format||"text",M),E.onCopy&&E.onCopy(window.clipboardData),H=!0}catch(Y){D&&console.error("unable to copy using clipboardData: ",Y),D&&console.error("falling back to prompt"),_=J("message"in E?E.message:l),window.prompt(_,M)}}finally{V&&(typeof V.removeRange=="function"?V.removeRange(Q):V.removeAllRanges()),b&&document.body.removeChild(b),G()}return H}U.exports=k},"/qDX":function(U,w,i){},"14J3":function(U,w,i){"use strict";var p=i("cIOH"),g=i.n(p),l=i("1GLa")},BMrR:function(U,w,i){"use strict";var p=i("qrJ5");w.a=p.a},E9nw:function(U,w){U.exports=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var p=document.activeElement,g=[],l=0;l<i.rangeCount;l++)g.push(i.getRangeAt(l));switch(p.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":p.blur();break;default:p=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||g.forEach(function(J){i.addRange(J)}),p&&p.focus()}}},jCWc:function(U,w,i){"use strict";var p=i("cIOH"),g=i.n(p),l=i("1GLa")},kPKH:function(U,w,i){"use strict";var p=i("/kpp");w.a=p.a},lfch:function(U,w,i){"use strict";var p=i("VTBJ"),g=i("q1tI"),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"},J=l,k=i("6VBw"),M=function(_,G){return g.createElement(k.a,Object(p.a)(Object(p.a)({},_),{},{ref:G,icon:J}))};M.displayName="CopyOutlined";var E=w.a=g.forwardRef(M)},tU7J:function(U,w,i){"use strict";var p=i("cIOH"),g=i.n(p),l=i("/qDX"),J=i.n(l),k=i("5Dmo"),M=i("5NDa")},wFql:function(U,w,i){"use strict";var p=i("wx14"),g=i("rePB"),l=i("q1tI"),J=i("TSYQ"),k=i.n(J),M=i("c+Xe"),E=i("H84U"),D=i("uaoM"),_=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},G=function(r,a){var e=r.prefixCls,t=r.component,o=t===void 0?"article":t,s=r.className,d=r["aria-label"],c=r.setContentRef,u=r.children,v=_(r,["prefixCls","component","className","aria-label","setContentRef","children"]),f=a;return c&&(Object(D.a)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),f=Object(M.a)(a,c)),l.createElement(E.a,null,function(h){var C=h.getPrefixCls,I=h.direction,R=o,x=C("typography",e),z=k()(x,Object(g.a)({},"".concat(x,"-rtl"),I==="rtl"),s);return l.createElement(R,Object(p.a)({className:z,"aria-label":d,ref:f},v),u)})},Q=l.forwardRef(G);Q.displayName="Typography";var V=Q,b=V,H=i("U8pU"),q=i("bT9E"),B=i("KQm4"),Y=i("1OyB"),Ce=i("vuIU"),xe=i("Ji7U"),Se=i("LK+K"),re=i("Zm9Q"),je=i("+QRC"),Te=i.n(je),ee=i("VTBJ"),Pe={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"},De=Pe,ve=i("6VBw"),ye=function(r,a){return l.createElement(ve.a,Object(ee.a)(Object(ee.a)({},r),{},{ref:a,icon:De}))};ye.displayName="EditOutlined";var Re=l.forwardRef(ye),Ne=i("bRQS"),Le=i("lfch"),we=i("t23M"),Me=i("wEI+"),Ie=i("YMnH"),he=i("gDlH"),ae=i("oHiP"),me=i("R3zJ"),ie=i("3S7+"),Ae=i("ODXe"),ge=i("4IlW"),Ue={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"},Be=Ue,Ee=function(r,a){return l.createElement(ve.a,Object(ee.a)(Object(ee.a)({},r),{},{ref:a,icon:Be}))};Ee.displayName="EnterOutlined";var Ke=l.forwardRef(Ee),He=i("whJP"),ze=function(r){var a=r.prefixCls,e=r["aria-label"],t=r.className,o=r.style,s=r.direction,d=r.maxLength,c=r.autoSize,u=c===void 0?!0:c,v=r.value,f=r.onSave,h=r.onCancel,C=r.onEnd,I=l.useRef(),R=l.useRef(!1),x=l.useRef(),z=l.useState(v),W=Object(Ae.a)(z,2),N=W[0],X=W[1];l.useEffect(function(){X(v)},[v]),l.useEffect(function(){if(I.current&&I.current.resizableTextArea){var O=I.current.resizableTextArea.textArea;O.focus();var j=O.value.length;O.setSelectionRange(j,j)}},[]);var y=function(j){var P=j.target;X(P.value.replace(/[\n\r]/g,""))},m=function(){R.current=!0},L=function(){R.current=!1},T=function(j){var P=j.keyCode;R.current||(x.current=P)},A=function(){f(N.trim())},$=function(j){var P=j.keyCode,de=j.ctrlKey,pe=j.altKey,ue=j.metaKey,fe=j.shiftKey;x.current===P&&!R.current&&!de&&!pe&&!ue&&!fe&&(P===ge.a.ENTER?(A(),C==null||C()):P===ge.a.ESC&&h())},K=function(){A()},F=k()(a,"".concat(a,"-edit-content"),Object(g.a)({},"".concat(a,"-rtl"),s==="rtl"),t);return l.createElement("div",{className:F,style:o},l.createElement(He.a,{ref:I,maxLength:d,value:N,onChange:y,onKeyDown:T,onKeyUp:$,onCompositionStart:m,onCompositionEnd:L,onBlur:K,"aria-label":e,autoSize:u}),l.createElement(Ke,{className:"".concat(a,"-edit-content-confirm")}))},ke=ze,oe=i("i8i4"),We=1,$e=3,Fe=8,S,le={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function se(n){if(!n)return 0;var r=n.match(/^\d*(\.\d*)?/);return r?Number(r[0]):0}function Je(n){var r=Array.prototype.slice.apply(n);return r.map(function(a){return"".concat(a,": ").concat(n.getPropertyValue(a),";")}).join("")}function Ve(n){var r=[];return n.forEach(function(a){var e=r[r.length-1];typeof a=="string"&&typeof e=="string"?r[r.length-1]+=a:r.push(a)}),r}function be(n,r){n.setAttribute("aria-hidden","true");var a=window.getComputedStyle(r),e=Je(a);n.setAttribute("style",e),n.style.position="fixed",n.style.left="0",n.style.height="auto",n.style.minHeight="auto",n.style.maxHeight="auto",n.style.top="-999999px",n.style.zIndex="-1000",n.style.textOverflow="clip",n.style.whiteSpace="normal",n.style.webkitLineClamp="none"}function Qe(n){var r=document.createElement("div");be(r,n),r.appendChild(document.createTextNode("text")),document.body.appendChild(r);var a=r.offsetHeight,e=se(window.getComputedStyle(n).lineHeight);return document.body.removeChild(r),a>e?a:e}var Xe=function(n,r,a,e,t){S||(S=document.createElement("div"),S.setAttribute("aria-hidden","true")),S.parentNode||document.body.appendChild(S);var o=r.rows,s=r.suffix,d=s===void 0?"":s,c=window.getComputedStyle(n),u=Qe(n),v=Math.floor(u)*(o+1)+se(c.paddingTop)+se(c.paddingBottom);be(S,n);var f=Ve(Object(re.a)(a));Object(oe.render)(l.createElement("div",{style:le},l.createElement("span",{style:le},f,d),l.createElement("span",{style:le},e)),S);function h(){return Math.ceil(S.getBoundingClientRect().height)<v}if(h())return Object(oe.unmountComponentAtNode)(S),{content:a,text:S.innerHTML,ellipsis:!1};var C=Array.prototype.slice.apply(S.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(function(y){var m=y.nodeType;return m!==Fe}),I=Array.prototype.slice.apply(S.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Object(oe.unmountComponentAtNode)(S);var R=[];S.innerHTML="";var x=document.createElement("span");S.appendChild(x);var z=document.createTextNode(t+d);x.appendChild(z),I.forEach(function(y){S.appendChild(y)});function W(y){x.insertBefore(y,z)}function N(y,m){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:m.length,A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,$=Math.floor((L+T)/2),K=m.slice(0,$);if(y.textContent=K,L>=T-1)for(var F=T;F>=L;F-=1){var O=m.slice(0,F);if(y.textContent=O,h()||!O)return F===m.length?{finished:!1,reactNode:m}:{finished:!0,reactNode:O}}return h()?N(y,m,$,T,$):N(y,m,L,$,A)}function X(y,m){var L=y.nodeType;if(L===We)return W(y),h()?{finished:!1,reactNode:f[m]}:(x.removeChild(y),{finished:!0,reactNode:null});if(L===$e){var T=y.textContent||"",A=document.createTextNode(T);return W(A),N(A,T)}return{finished:!1,reactNode:null}}return C.some(function(y,m){var L=X(y,m),T=L.finished,A=L.reactNode;return A&&R.push(A),T}),{content:R,text:S.innerHTML,ellipsis:!0}},_e=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},Ge=Object(me.c)("webkitLineClamp"),Ye=Object(me.c)("textOverflow");function Ze(n,r){var a=n.mark,e=n.code,t=n.underline,o=n.delete,s=n.strong,d=n.keyboard,c=n.italic,u=r;function v(f,h){!f||(u=l.createElement(h,{},u))}return v(s,"strong"),v(t,"u"),v(o,"del"),v(e,"code"),v(a,"mark"),v(d,"kbd"),v(c,"i"),u}function te(n,r,a){return n===!0||n===void 0?r:n||a&&r}var Oe="...",ce=function(n){Object(xe.a)(a,n);var r=Object(Se.a)(a);function a(){var e;return Object(Y.a)(this,a),e=r.apply(this,arguments),e.contentRef=l.createRef(),e.state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.getPrefixCls=function(){var t=e.props.prefixCls,o=e.context.getPrefixCls;return o("typography",t)},e.onExpandClick=function(t){var o,s=e.getEllipsis(),d=s.onExpand;e.setState({expanded:!0}),(o=d)===null||o===void 0||o(t)},e.onEditClick=function(t){t.preventDefault(),e.triggerEdit(!0)},e.onEditChange=function(t){var o=e.getEditable(),s=o.onChange;s==null||s(t),e.triggerEdit(!1)},e.onEditCancel=function(){var t,o;(o=(t=e.getEditable()).onCancel)===null||o===void 0||o.call(t),e.triggerEdit(!1)},e.onCopyClick=function(t){t.preventDefault();var o=e.props,s=o.children,d=o.copyable,c=Object(p.a)({},Object(H.a)(d)==="object"?d:null);c.text===void 0&&(c.text=String(s)),Te()(c.text||""),e.setState({copied:!0},function(){c.onCopy&&c.onCopy(),e.copyId=window.setTimeout(function(){e.setState({copied:!1})},3e3)})},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var o=e.getEditable(),s=o.onStart;t&&s&&s(),e.setState({edit:t},function(){!t&&e.editIcon&&e.editIcon.focus()})},e.resizeOnNextFrame=function(){ae.a.cancel(e.rafId),e.rafId=Object(ae.a)(function(){e.syncEllipsis()})},e}return Object(Ce.a)(a,[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(t){var o=this.props.children,s=this.getEllipsis(),d=this.getEllipsis(t);(o!==t.children||s.rows!==d.rows)&&this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),ae.a.cancel(this.rafId)}},{key:"getEditable",value:function(t){var o=this.state.edit,s=t||this.props,d=s.editable;return d?Object(p.a)({editing:o},Object(H.a)(d)==="object"?d:null):{editing:o}}},{key:"getEllipsis",value:function(t){var o=t||this.props,s=o.ellipsis;return s?Object(p.a)({rows:1,expandable:!1},Object(H.a)(s)==="object"?s:null):{}}},{key:"canUseCSSEllipsis",value:function(){var t=this.state.clientRendered,o=this.props,s=o.editable,d=o.copyable,c=this.getEllipsis(),u=c.rows,v=c.expandable,f=c.suffix,h=c.onEllipsis,C=c.tooltip;return f||C||s||d||v||!t||h?!1:u===1?Ye:Ge}},{key:"syncEllipsis",value:function(){var t=this.state,o=t.ellipsisText,s=t.isEllipsis,d=t.expanded,c=this.getEllipsis(),u=c.rows,v=c.suffix,f=c.onEllipsis,h=this.props.children;if(!(!u||u<0||!this.contentRef.current||d)&&!this.canUseCSSEllipsis()){Object(D.a)(Object(re.a)(h).every(function(z){return typeof z=="string"}),"Typography","`ellipsis` should use string as children only.");var C=Xe(this.contentRef.current,{rows:u,suffix:v},h,this.renderOperations(!0),Oe),I=C.content,R=C.text,x=C.ellipsis;(o!==R||s!==x)&&(this.setState({ellipsisText:R,ellipsisContent:I,isEllipsis:x}),s!==x&&f&&f(x))}}},{key:"renderExpand",value:function(t){var o=this.getEllipsis(),s=o.expandable,d=o.symbol,c=this.state,u=c.expanded,v=c.isEllipsis;if(!s||!t&&(u||!v))return null;var f;return d?f=d:f=this.expandStr,l.createElement("a",{key:"expand",className:"".concat(this.getPrefixCls(),"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},f)}},{key:"renderEdit",value:function(){var t=this.props.editable;if(!!t){var o=t.icon,s=t.tooltip,d=Object(re.a)(s)[0]||this.editStr,c=typeof d=="string"?d:"";return l.createElement(ie.a,{key:"edit",title:s===!1?"":d},l.createElement(he.a,{ref:this.setEditRef,className:"".concat(this.getPrefixCls(),"-edit"),onClick:this.onEditClick,"aria-label":c},o||l.createElement(Re,{role:"button"})))}}},{key:"renderCopy",value:function(){var t=this.state.copied,o=this.props.copyable;if(!!o){var s=this.getPrefixCls(),d=o.tooltips,c=o.icon,u=Array.isArray(d)?d:[d],v=Array.isArray(c)?c:[c],f=t?te(u[1],this.copiedStr):te(u[0],this.copyStr),h=t?this.copiedStr:this.copyStr,C=typeof f=="string"?f:h;return l.createElement(ie.a,{key:"copy",title:f},l.createElement(he.a,{className:k()("".concat(s,"-copy"),t&&"".concat(s,"-copy-success")),onClick:this.onCopyClick,"aria-label":C},t?te(v[1],l.createElement(Ne.a,null),!0):te(v[0],l.createElement(Le.a,null),!0)))}}},{key:"renderEditInput",value:function(){var t=this.props,o=t.children,s=t.className,d=t.style,c=this.context.direction,u=this.getEditable(),v=u.maxLength,f=u.autoSize,h=u.onEnd;return l.createElement(ke,{value:typeof o=="string"?o:"",onSave:this.onEditChange,onCancel:this.onEditCancel,onEnd:h,prefixCls:this.getPrefixCls(),className:s,style:d,direction:c,maxLength:v,autoSize:f})}},{key:"renderOperations",value:function(t){return[this.renderExpand(t),this.renderEdit(),this.renderCopy()].filter(function(o){return o})}},{key:"renderContent",value:function(){var t=this,o=this.state,s=o.ellipsisContent,d=o.isEllipsis,c=o.expanded,u=this.props,v=u.component,f=u.children,h=u.className,C=u.type,I=u.disabled,R=u.style,x=_e(u,["component","children","className","type","disabled","style"]),z=this.context.direction,W=this.getEllipsis(),N=W.rows,X=W.suffix,y=W.tooltip,m=this.getPrefixCls(),L=Object(q.a)(x,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","italic"].concat(Object(B.a)(Me.a))),T=this.canUseCSSEllipsis(),A=N===1&&T,$=N&&N>1&&T,K=f;if(N&&d&&!c&&!T){var F=x.title,O=F||"";!F&&(typeof f=="string"||typeof f=="number")&&(O=String(f)),O=O.slice(String(s||"").length),K=l.createElement(l.Fragment,null,s,l.createElement("span",{title:O,"aria-hidden":"true"},Oe),X),y&&(K=l.createElement(ie.a,{title:y===!0?f:y},l.createElement("span",null,K)))}else K=l.createElement(l.Fragment,null,f,X);return K=Ze(this.props,K),l.createElement(Ie.a,{componentName:"Text"},function(j){var P,de=j.edit,pe=j.copy,ue=j.copied,fe=j.expand;return t.editStr=de,t.copyStr=pe,t.copiedStr=ue,t.expandStr=fe,l.createElement(we.a,{onResize:t.resizeOnNextFrame,disabled:T},l.createElement(b,Object(p.a)({className:k()((P={},Object(g.a)(P,"".concat(m,"-").concat(C),C),Object(g.a)(P,"".concat(m,"-disabled"),I),Object(g.a)(P,"".concat(m,"-ellipsis"),N),Object(g.a)(P,"".concat(m,"-single-line"),N===1),Object(g.a)(P,"".concat(m,"-ellipsis-single-line"),A),Object(g.a)(P,"".concat(m,"-ellipsis-multiple-line"),$),P),h),style:Object(p.a)(Object(p.a)({},R),{WebkitLineClamp:$?N:void 0}),component:v,ref:t.contentRef,direction:z},L),K,t.renderOperations()))})}},{key:"render",value:function(){var t=this.getEditable(),o=t.editing;return o?this.renderEditInput():this.renderContent()}}],[{key:"getDerivedStateFromProps",value:function(t){var o=t.children,s=t.editable;return Object(D.a)(!s||typeof o=="string","Typography","When `editable` is enabled, the `children` should use string."),{}}}]),a}(l.Component);ce.contextType=E.b,ce.defaultProps={children:""};var ne=ce,qe=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},et=function(r){var a=r.ellipsis,e=qe(r,["ellipsis"]),t=l.useMemo(function(){return a&&Object(H.a)(a)==="object"?Object(q.a)(a,["expandable","rows"]):a},[a]);return Object(D.a)(Object(H.a)(a)!=="object"||!a||!("expandable"in a)&&!("rows"in a),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props."),l.createElement(ne,Object(p.a)({},e,{ellipsis:t,component:"span"}))},tt=et,nt=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},rt=function(r,a){var e=r.ellipsis,t=r.rel,o=nt(r,["ellipsis","rel"]);Object(D.a)(Object(H.a)(e)!=="object","Typography.Link","`ellipsis` only supports boolean value.");var s=l.useRef(null);l.useImperativeHandle(a,function(){var c;return(c=s.current)===null||c===void 0?void 0:c.contentRef.current});var d=Object(p.a)(Object(p.a)({},o),{rel:t===void 0&&o.target==="_blank"?"noopener noreferrer":t});return delete d.navigate,l.createElement(ne,Object(p.a)({},d,{ref:s,ellipsis:!!e,component:"a"}))},at=l.forwardRef(rt),it=i("CWQg"),ot=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},lt=Object(it.b)(1,2,3,4,5),st=function(r){var a=r.level,e=a===void 0?1:a,t=ot(r,["level"]),o;return lt.indexOf(e)!==-1?o="h".concat(e):(Object(D.a)(!1,"Typography.Title","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."),o="h1"),l.createElement(ne,Object(p.a)({},t,{component:o}))},ct=st,dt=function(r){return l.createElement(ne,Object(p.a)({},r,{component:"div"}))},pt=dt,Z=b;Z.Text=tt,Z.Link=at,Z.Title=ct,Z.Paragraph=pt;var ut=w.a=Z}}]);