UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

24 lines 1.54 MB
/*! For license information please see antd.min.js.LICENSE.txt */ ((e,t)=>{"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("dayjs")):"function"==typeof define&&define.amd?define(["react","react-dom","dayjs"],t):"object"==typeof exports?exports.antd=t(require("react"),require("react-dom"),require("dayjs")):e.antd=t(e.React,e.ReactDOM,e.dayjs)})(this,function(t,n,r){return a={154:function(e,t,n){n(9145),e.exports=n(8399)},193:function(e,t,n){n.d(t,{OF:function(){return l},Or:function(){return c},bf:function(){return s}});var r=n(5442),t=n(4277),o=n(2874),a=n(9612),i=n(9790);let{genStyleHooks:l,genComponentStyleHook:c,genSubStyleComponent:s}=(0,t.L_)({usePrefix:()=>{var{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(o.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{var[e,t,n,r,o]=(0,i.Ay)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{var e=(0,r.useContext)(o.QO).csp;return null!=e?e:{}},getResetStyles:(e,t)=>{var e=(0,a.av)(e);return[e,{"&":e},(0,a.jz)(null!=(e=null==t?void 0:t.prefix.iconPrefixCls)?e:o.pM)]},getCommonStyle:a.vj,getCompUnitless:()=>i.Is})},247:function(e,t,n){n.r(t),n.d(t,{default:function(){return s},prepareComponentToken:function(){return c}});var o=n(9612),t=n(193),a=n(5748),i=n(1014);let l=(e,t,n,r)=>{var{titleMarginBottom:r,fontWeightStrong:o}=r;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}},r=e=>{var t,{componentCls:n,titleMarginTop:r}=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"},"\n div&,\n p\n ":{marginBottom:"1em"}},(t=>{let n={};return[1,2,3,4,5].forEach(e=>{n[` h${e}&, div&-h${e}, div&-h${e} > textarea, h${e} `]=l(t["fontSizeHeading"+e],t["lineHeightHeading"+e],t.colorTextHeading,t)}),n})(e)),{[` & + h1${n}, & + h2${n}, & + h3${n}, & + h4${n}, & + h5${n} `]:{marginTop:r},"\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:r}}}),{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.bK[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}}),(t=(r=e).componentCls,{"a&, a":Object.assign(Object.assign({},(0,o.Y1)(r)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:r.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:r.colorTextDisabled},"&:active":{pointerEvents:"none"}}})})),{[` ${n}-expand, ${n}-collapse, ${n}-edit, ${n}-copy `]:Object.assign(Object.assign({},(0,o.Y1)(e)),{marginInlineStart:e.marginXXS})}),(e=>{var{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,i.unit)(n)})`},[t+"-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"}}}})(e)),{[e.componentCls+"-copy-success"]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[e.componentCls+"-copy-icon-only"]:{marginInlineStart:0}}),{"\n a&-ellipsis,\n span&-ellipsis\n ":{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"}})}},c=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var s=(0,t.OF)("Typography",e=>[r(e)],c)},250:function(e,t,n){var a=n(1014),i=n(8940),l=n(9612);t.A=e=>{var{prefixCls:t,componentCls:n}=e,r=n+"-menu-item",o=` &${r}-expand ${r}-expand-icon, ${r}-loading-icon `;return[(0,i.getStyle)(t+"-checkbox",e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[n+"-menu"]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,a.unit)(e.lineWidth)} ${e.lineType} `+e.colorSplit},"&-item":Object.assign(Object.assign({},l.L9),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:"all "+e.motionDurationMid,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]}},267:function(e,t,n){n.d(t,{Ob:function(){return i},fx:function(){return a},zv:function(){return o}});var t=n(5442),r=n.n(t);function o(e){return e&&r().isValidElement(e)&&e.type===r().Fragment}let a=(e,t,n)=>r().isValidElement(e)?r().cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function i(e,t){return a(e,e,t)}},436:function(e,t,n){n.d(t,{A:function(){return i}});var r=n(3145);var o=n(3893),a=n(7800);function i(e){return(e=>{if(Array.isArray(e))return(0,r.A)(e)})(e)||(0,o.A)(e)||(0,a.A)(e)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}},445:function(e){e.exports=(()=>{function e(t){return function(e){this[t]=+e}}function n(e){return(e=m[e])&&(e.indexOf?e:e.s.concat(e.f))}function t(e,t){var n,r=m.meridiem;if(r){for(var o=1;o<=24;o+=1)if(-1<e.indexOf(r(o,0,t))){n=12<o;break}}else n=e===(t?"pm":"PM");return n}var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},c=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,o=/\d\d/,a=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,m={},s=function(e){return(e=+e)+(68<e?1900:2e3)},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){var t;(this.zone||(this.zone={})).offset=!e||"Z"===e||0===(t=60*(e=e.match(/([+-]|\d\d)/g))[1]+(+e[2]||0))?0:"+"===e[0]?-t:t}],p={A:[i,function(e){this.afternoon=t(e,!1)}],a:[i,function(e){this.afternoon=t(e,!0)}],Q:[r,function(e){this.month=3*(e-1)+1}],S:[r,function(e){this.milliseconds=100*+e}],SS:[o,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[a,e("seconds")],ss:[a,e("seconds")],m:[a,e("minutes")],mm:[a,e("minutes")],H:[a,e("hours")],h:[a,e("hours")],HH:[a,e("hours")],hh:[a,e("hours")],D:[a,e("day")],DD:[o,e("day")],Do:[i,function(e){var t=m.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[a,e("week")],ww:[o,e("week")],M:[a,e("month")],MM:[o,e("month")],MMM:[i,function(e){var t=n("months"),t=(n("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],MMMM:[i,function(e){e=n("months").indexOf(e)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,e("year")],YY:[o,function(e){this.year=s(e)}],YYYY:[/\d{4}/,e("year")],Z:u,ZZ:u};function S(e){for(var t=e,o=m&&m.formats,u=(e=t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,t,n){var r=n&&n.toUpperCase();return t||o[n]||l[n]||o[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(c),d=u.length,n=0;n<d;n+=1){var r=u[n],a=p[r],i=a&&a[0],a=a&&a[1];u[n]=a?{regex:i,parser:a}:r.replace(/^\[|\]$/g,"")}return function(e){for(var t,n,r,o={},a=0,i=0;a<d;a+=1){var l,c,s=u[a];"string"==typeof s?i+=s.length:(c=s.regex,s=s.parser,l=e.slice(i),c=c.exec(l)[0],s.call(o,c),e=e.replace(c,""))}return void 0!==(r=(t=o).afternoon)&&(n=t.hours,r?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon),o}}return function(e,t,p){p.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var e=t.prototype,f=e.parse;e.parse=function(e){var t=e.date,n=e.utc,r=e.args,o=(this.$u=n,r[1]);if("string"==typeof o){var a=!0===r[2],i=!0===r[3],l=a||i,c=r[2];i&&(c=r[2]),m=this.$locale(),!a&&c&&(m=p.Ls[c]),this.$d=((e,t,n,r)=>{try{if(-1<["x","X"].indexOf(t))return new Date(("X"===t?1e3:1)*e);var o=S(t)(e),a=o.year,i=o.month,l=o.day,c=o.hours,s=o.minutes,u=o.seconds,d=o.milliseconds,p=o.zone,f=o.week,m=new Date,g=l||(a||i?1:m.getDate()),h=a||m.getFullYear(),v=0;a&&!i||(v=0<i?i-1:m.getMonth());var b,y=c||0,C=s||0,x=u||0,w=d||0;return p?new Date(Date.UTC(h,v,g,y,C,x,w+60*p.offset*1e3)):n?new Date(Date.UTC(h,v,g,y,C,x,w)):(b=new Date(h,v,g,y,C,x,w),b=f?r(b).week(f).toDate():b)}catch(e){return new Date("")}})(t,o,n,p),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),l&&t!=this.format(o)&&(this.$d=new Date("")),m={}}else if(o instanceof Array)for(var s=o.length,u=1;u<=s;u+=1){r[1]=o[u-1];var d=p.apply(this,r);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}u===s&&(this.$d=new Date(""))}else f.call(this,e)}}})()},488:function(e,t,n){n.d(t,{A:function(){return d},h:function(){return r}});var c=n(2284),i=n(9379),s=n(436),l=n(7695),u=n(6300);function d(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,u.A)(e,t.slice(0,-1))?e:function e(t,n,r,o){var a;return n.length?(a=(n=(0,l.A)(n))[0],n=n.slice(1),t=t||"number"!=typeof a?Array.isArray(t)?(0,s.A)(t):(0,i.A)({},t):[],o&&void 0===r&&1===n.length?delete t[a][n[0]]:t[a]=e(t[a],n,r,o),t):r}(e,t,n,r)}function p(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var l=p(t[0]);return t.forEach(function(i){!function t(n,e){var r,o=new Set(e),e=(0,u.A)(i,n),a=Array.isArray(e);a||(r=e,"object"===(0,c.A)(r)&&null!==r&&Object.getPrototypeOf(r)===Object.prototype)?o.has(e)||(o.add(e),r=(0,u.A)(l,n),a?l=d(l,n,[]):r&&"object"===(0,c.A)(r)||(l=d(l,n,p(e))),f(e).forEach(function(e){t([].concat((0,s.A)(n),[e]),o)})):l=d(l,n,e)}([])}),l}},651:function(e,t){t.A={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},754:function(w,e,t){t.d(e,{aF:function(){return me},Kq:function(){return A},Ay:function(){return ge}});var _=t(4467),K=t(9379),V=t(5544),n=t(2284),e=t(6942),S=t.n(e),k=t(6588),v=t(8719),q=t(5442),s=t(3986),E=["children"],b=q.createContext({});function A(e){var t=e.children,e=(0,s.A)(e,E);return q.createElement(b.Provider,{value:e},t)}var i=t(3029),r=t(2901),l=t(5501),u=t(9426),O=(e=>{(0,l.A)(n,e);var t=(0,u.A)(n);function n(){return(0,i.A)(this,n),t.apply(this,arguments)}return(0,r.A)(n,[{key:"render",value:function(){return this.props.children}}]),n})(q.Component),re=t(1470),X=t(1233),G=t(6956);var Y="none",U="appear",Q="enter",Z="leave",d="none",J="prepare",ee="start",te="active",p="end",ne="prepared",e=t(998);function I(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}o=(0,e.A)(),a="undefined"!=typeof window?window:{},f={animationend:I("Animation","AnimationEnd"),transitionend:I("Transition","TransitionEnd")},o&&("AnimationEvent"in a||delete f.animationend.animation,"TransitionEvent"in a||delete f.transitionend.transition);var N=f,M={},c=((0,e.A)()&&(M=document.createElement("div").style),{});function j(e){if(c[e])return c[e];var t=N[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var a=n[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in M)return c[e]=t[a],c[e]}return""}var o=j("animationend"),a=j("transitionend"),f=!(!o||!a),P=o||"animationend",R=a||"transitionend";function $(e,t){return e?"object"===(0,n.A)(e)?e[t.replace(/-\w/g,function(e){return e[1].toUpperCase()})]:"".concat(e,"-").concat(t):null}var oe=function(t){var n=(0,q.useRef)();function r(e){e&&(e.removeEventListener(R,t),e.removeEventListener(P,t))}return q.useEffect(function(){return function(){r(n.current)}},[]),[function(e){n.current&&n.current!==e&&r(n.current),e&&e!==n.current&&(e.addEventListener(R,t),e.addEventListener(P,t),n.current=e)},r]},ae=(0,e.A)()?q.useLayoutEffect:q.useEffect,T=t(5371),z=function(){var o=q.useRef(null);function a(){T.A.cancel(o.current)}return q.useEffect(function(){return function(){a()}},[]),[function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2,r=(a(),(0,T.A)(function(){n<=1?t({isCanceled:function(){return r!==o.current}}):e(t,n-1)}));o.current=r},a]},B=[J,ee,te,p],H=[J,ne],ie=!1,le=!0;function ce(e){return e===te||e===p}var se=function(e,t,o){var n=(0,X.A)(d),n=(0,V.A)(n,2),a=n[0],i=n[1],n=z(),n=(0,V.A)(n,2),l=n[0],r=n[1];var c=t?H:B;return ae(function(){var e,n,r;a!==d&&a!==p&&(e=c.indexOf(a),n=c[e+1],(r=o(a))===ie?i(n,!0):n&&l(function(e){function t(){e.isCanceled()||i(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))},[e,a]),q.useEffect(function(){return function(){r()}},[]),[function(){i(J,!0)},a]};function D(n,r,a,e){var t,o,i=e.motionEnter,l=void 0===i||i,i=e.motionAppear,c=void 0===i||i,i=e.motionLeave,s=void 0===i||i,u=e.motionDeadline,d=e.motionLeaveImmediately,p=e.onAppearPrepare,f=e.onEnterPrepare,m=e.onLeavePrepare,g=e.onAppearStart,h=e.onEnterStart,z=e.onLeaveStart,B=e.onAppearActive,H=e.onEnterActive,D=e.onLeaveActive,v=e.onAppearEnd,b=e.onEnterEnd,y=e.onLeaveEnd,C=e.onVisibleChanged,i=(0,X.A)(),e=(0,V.A)(i,2),x=e[0],L=e[1],e=(i=Y,e=q.useReducer(function(e){return e+1},0),t=(0,V.A)(e,2)[1],o=q.useRef(i),[(0,G.A)(function(){return o.current}),(0,G.A)(function(e){o.current="function"==typeof e?e(o.current):e,t()})]),i=(0,V.A)(e,2),w=i[0],S=i[1],e=(0,X.A)(null),i=(0,V.A)(e,2),e=i[0],k=i[1],E=w(),A=(0,q.useRef)(!1),O=(0,q.useRef)(null);var I=(0,q.useRef)(!1);function N(){S(Y),k(null,!0)}function M(e){switch(e){case U:return(0,_.A)((0,_.A)((0,_.A)({},J,p),ee,g),te,B);case Q:return(0,_.A)((0,_.A)((0,_.A)({},J,f),ee,h),te,H);case Z:return(0,_.A)((0,_.A)((0,_.A)({},J,m),ee,z),te,D);default:return{}}}var j=(0,re._q)(function(e){var t,n,r,o=w();o!==Y&&(t=a(),!e||e.deadline||e.target===t)&&(n=I.current,o===U&&n?r=null==v?void 0:v(t,e):o===Q&&n?r=null==b?void 0:b(t,e):o===Z&&n&&(r=null==y?void 0:y(t,e)),n&&!1!==r)&&N()}),i=oe(j),F=(0,V.A)(i,1)[0],P=q.useMemo(function(){return M(E)},[E]),i=se(E,!n,function(e){return e===J?(e=P[J])?e(a()):ie:(R in P&&k((null==(e=P[R])?void 0:e.call(P,a(),null))||null),R===te&&E!==Y&&(F(a()),0<u)&&(clearTimeout(O.current),O.current=setTimeout(function(){j({deadline:!0})},u)),R===ne&&N(),le)}),i=(0,V.A)(i,2),W=i[0],R=i[1],i=ce(R),$=(I.current=i,(0,q.useRef)(null)),T=(ae(function(){var e,t;A.current&&$.current===r||(L(r),t=A.current,A.current=!0,!t&&r&&c&&(e=U),t&&r&&l&&(e=Q),t=M(e=t&&!r&&s||!t&&d&&!r&&s?Z:e),e&&(n||t[J])?(S(e),W()):S(Y),$.current=r)},[r]),(0,q.useEffect)(function(){(E===U&&!c||E===Q&&!l||E===Z&&!s)&&S(Y)},[c,l,s]),(0,q.useEffect)(function(){return function(){A.current=!1,clearTimeout(O.current)}},[]),q.useRef(!1)),i=((0,q.useEffect)(function(){x&&(T.current=!0),void 0!==x&&E===Y&&((T.current||x)&&null!=C&&C(x),T.current=!0)},[x,E]),e);return P[J]&&R===ee&&(i=(0,K.A)({transition:"none"},i)),[E,R,i,null!=x?x:r]}y=o=f,"object"===(0,n.A)(o)&&(y=o.transitionSupport),(o=q.forwardRef(function(e,t){var n=e.visible,n=void 0===n||n,r=e.removeOnLeave,r=void 0===r||r,o=e.forceRender,a=e.children,i=e.motionName,l=e.leavedClassName,c=e.eventProps,s=q.useContext(b).motion,s=(s=s,!(!e.motionName||!y||!1===s)),u=(0,q.useRef)(),d=(0,q.useRef)();var p,s=D(s,n,function(){try{return u.current instanceof HTMLElement?u.current:(0,k.Ay)(d.current)}catch(e){return null}},e),e=(0,V.A)(s,4),s=e[0],f=e[1],m=e[2],e=e[3],g=q.useRef(e),h=(e&&(g.current=!0),q.useCallback(function(e){u.current=e,(0,v.Xf)(t,e)},[t])),c=(0,K.A)((0,K.A)({},c),{},{visible:n});return e=a?s===Y?e?a((0,K.A)({},c),h):!r&&g.current&&l?a((0,K.A)((0,K.A)({},c),{},{className:l}),h):o||!r&&!l?a((0,K.A)((0,K.A)({},c),{},{style:{display:"none"}}),h):null:(f===J?p="prepare":ce(f)?p="active":f===ee&&(p="start"),n=$(i,"".concat(s,"-").concat(p)),a((0,K.A)((0,K.A)({},c),{},{className:S()($(i,s),(0,_.A)((0,_.A)({},n,n&&p),i,"string"==typeof i)),style:m}),h)):null,q.isValidElement(e)&&(0,v.f3)(e)&&((0,v.A9)(e)||(e=q.cloneElement(e,{ref:h}))),q.createElement(O,{ref:d},e)})).displayName="CSSMotion";var y,L=o,F=t(8168),W=t(9417),m="add",g="keep",h="remove",C="removed";function ue(e){e=e&&"object"===(0,n.A)(e)&&"key"in e?e:{key:e};return(0,K.A)((0,K.A)({},e),{},{key:String(e.key)})}function x(e){return(0<arguments.length&&void 0!==e?e:[]).map(ue)}var de=["component","children","onVisibleChanged","onAllRemoved"],pe=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var me=function(e,t){var c=1<arguments.length&&void 0!==t?t:L,t=(e=>{(0,l.A)(a,e);var o=(0,u.A)(a);function a(){var e;(0,i.A)(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=o.call.apply(o,[this].concat(n)),(0,_.A)((0,W.A)(e),"state",{keyEntities:[]}),(0,_.A)((0,W.A)(e),"removeKey",function(t){e.setState(function(e){return{keyEntities:e.keyEntities.map(function(e){return e.key!==t?e:(0,K.A)((0,K.A)({},e),{},{status:C})})}},function(){0===e.state.keyEntities.filter(function(e){return e.status!==C}).length&&e.props.onAllRemoved&&e.props.onAllRemoved()})}),e}return(0,r.A)(a,[{key:"render",value:function(){var o=this,e=this.state.keyEntities,t=this.props,n=t.component,a=t.children,i=t.onVisibleChanged,r=(0,s.A)(t,de),t=n||q.Fragment,l={};return fe.forEach(function(e){l[e]=r[e],delete r[e]}),delete r.keys,q.createElement(t,r,e.map(function(e,n){var t=e.status,r=(0,s.A)(e,pe);return q.createElement(c,(0,F.A)({},l,{key:r.key,visible:t===m||t===g,eventProps:r,onVisibleChanged:function(e){null!=i&&i(e,{key:r.key}),e||o.removeKey(r.key)}}),function(e,t){return a((0,K.A)((0,K.A)({},e),{},{index:n}),t)})}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var e=e.keys,n=t.keyEntities,t=x(e);return{keyEntities:function(e,t){var e=0<arguments.length&&void 0!==e?e:[],t=1<arguments.length&&void 0!==t?t:[],o=[],a=0,i=t.length,e=x(e),l=x(t),n=(e.forEach(function(e){for(var t=!1,n=a;n<i;n+=1){var r=l[n];if(r.key===e.key){a<n&&(o=o.concat(l.slice(a,n).map(function(e){return(0,K.A)((0,K.A)({},e),{},{status:m})})),a=n),o.push((0,K.A)((0,K.A)({},r),{},{status:g})),a+=1,t=!0;break}}t||o.push((0,K.A)((0,K.A)({},e),{},{status:h}))}),a<i&&(o=o.concat(l.slice(a).map(function(e){return(0,K.A)((0,K.A)({},e),{},{status:m})}))),{});return o.forEach(function(e){e=e.key;n[e]=(n[e]||0)+1}),Object.keys(n).filter(function(e){return 1<n[e]}).forEach(function(t){(o=o.filter(function(e){return e.key!==t||e.status!==h})).forEach(function(e){e.key===t&&(e.status=g)})}),o}(n,t).filter(function(t){var e=n.find(function(e){e=e.key;return t.key===e});return!e||e.status!==C||t.status!==h})}}}]),a})(q.Component);return(0,_.A)(t,"defaultProps",{component:"div"}),t}(f),ge=L},802:function(e,t,n){n.r(t),n.d(t,{default:function(){return a},prepareComponentToken:function(){return o}});var p=n(1014),f=n(9612),d=n(9977),t=n(193),m=n(4277),r=e=>0===e?0:e-Math.sqrt(Math.pow(e,2)/2),g=n(8173),h=e=>{var{componentCls:e,floatButtonSize:t,motionDurationSlow:n,motionEaseInOutCirc:r,calc:o}=e,a=new p.Keyframes("antFloatButtonMoveTopIn",{"0%":{transform:`translate3d(0, ${(0,p.unit)(t)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new p.Keyframes("antFloatButtonMoveTopOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,p.unit)(t)}, 0)`,transformOrigin:"0 0",opacity:0}}),l=new p.Keyframes("antFloatButtonMoveRightIn",{"0%":{transform:`translate3d(${(0,p.unit)(o(t).mul(-1).equal())}, 0, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new p.Keyframes("antFloatButtonMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(${(0,p.unit)(o(t).mul(-1).equal())}, 0, 0)`,transformOrigin:"0 0",opacity:0}}),s=new p.Keyframes("antFloatButtonMoveBottomIn",{"0%":{transform:`translate3d(0, ${(0,p.unit)(o(t).mul(-1).equal())}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),o=new p.Keyframes("antFloatButtonMoveBottomOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,p.unit)(o(t).mul(-1).equal())}, 0)`,transformOrigin:"0 0",opacity:0}}),u=new p.Keyframes("antFloatButtonMoveLeftIn",{"0%":{transform:`translate3d(${(0,p.unit)(t)}, 0, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),t=new p.Keyframes("antFloatButtonMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(${(0,p.unit)(t)}, 0, 0)`,transformOrigin:"0 0",opacity:0}}),e=e+"-group";return[{[e]:{[`&${e}-top ${e}-wrap`]:(0,g.b)(e+"-wrap",a,i,n,!0),[`&${e}-bottom ${e}-wrap`]:(0,g.b)(e+"-wrap",s,o,n,!0),[`&${e}-left ${e}-wrap`]:(0,g.b)(e+"-wrap",u,t,n,!0),[`&${e}-right ${e}-wrap`]:(0,g.b)(e+"-wrap",l,c,n,!0)}},{[e+"-wrap"]:{[`&${e}-wrap-enter, &${e}-wrap-appear`]:{opacity:0,animationTimingFunction:r},[`&${e}-wrap-leave`]:{opacity:1,animationTimingFunction:r}}}]};let o=e=>({dotOffsetInCircle:r(e.controlHeightLG/2),dotOffsetInSquare:r(e.borderRadiusLG)});var a=(0,t.OF)("FloatButton",e=>{var{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:a,fontSize:i,fontSizeIcon:l,controlItemBgHover:c,paddingXXS:s,calc:u}=e,n=(0,m.oX)(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:c,floatButtonFontSize:i,floatButtonIconSize:u(l).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:a,floatButtonBodySize:u(r).sub(u(s).mul(2)).equal(),floatButtonBodyPadding:s,badgeOffset:u(s).mul(1.5).equal()});return[(e=>{var{antCls:t,componentCls:n,floatButtonSize:r,margin:o,borderRadiusLG:a,borderRadiusSM:i,badgeOffset:l,floatButtonBodyPadding:c,zIndexPopupBase:s,calc:u}=e,d=n+"-group";return{[d]:Object.assign(Object.assign({},(0,f.dF)(e)),{zIndex:s,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",border:"none",position:"fixed",height:"auto",boxShadow:"none",minWidth:r,minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,borderRadius:a,[d+"-wrap"]:{zIndex:-1,display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"},[`&${d}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[d+`-top > ${d}-wrap`]:{flexDirection:"column",top:"auto",bottom:u(r).add(o).equal(),"&::after":{content:'""',position:"absolute",width:"100%",height:o,bottom:u(o).mul(-1).equal()}},[d+`-bottom > ${d}-wrap`]:{flexDirection:"column",top:u(r).add(o).equal(),bottom:"auto","&::after":{content:'""',position:"absolute",width:"100%",height:o,top:u(o).mul(-1).equal()}},[d+`-right > ${d}-wrap`]:{flexDirection:"row",left:{_skip_check_:!0,value:u(r).add(o).equal()},right:{_skip_check_:!0,value:"auto"},"&::after":{content:'""',position:"absolute",width:o,height:"100%",left:{_skip_check_:!0,value:u(o).mul(-1).equal()}}},[d+`-left > ${d}-wrap`]:{flexDirection:"row",left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:u(r).add(o).equal()},"&::after":{content:'""',position:"absolute",width:o,height:"100%",right:{_skip_check_:!0,value:u(o).mul(-1).equal()}}},[d+"-circle"]:{gap:o,[d+"-wrap"]:{gap:o}},[d+"-square"]:{[n+"-square"]:{padding:0,borderRadius:0,[`&${d}-trigger`]:{borderRadius:a},"&:first-child":{borderStartStartRadius:a,borderStartEndRadius:a},"&:last-child":{borderEndStartRadius:a,borderEndEndRadius:a},"&:not(:last-child)":{borderBottom:`${(0,p.unit)(e.lineWidth)} ${e.lineType} `+e.colorSplit},[t+"-badge"]:{[t+"-badge-count"]:{top:u(u(c).add(l)).mul(-1).equal(),insetInlineEnd:u(u(c).add(l)).mul(-1).equal()}}},[d+"-wrap"]:{borderRadius:a,boxShadow:e.boxShadowSecondary,[n+"-square"]:{boxShadow:"none",borderRadius:0,padding:c,[n+"-body"]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:i}}}},[d+`-top > ${d}-wrap, ${d}-bottom > ${d}-wrap`]:{[`> ${n}-square`]:{"&:first-child":{borderStartStartRadius:a,borderStartEndRadius:a},"&:last-child":{borderEndStartRadius:a,borderEndEndRadius:a},"&:not(:last-child)":{borderBottom:`${(0,p.unit)(e.lineWidth)} ${e.lineType} `+e.colorSplit}}},[d+`-left > ${d}-wrap, ${d}-right > ${d}-wrap`]:{[`> ${n}-square`]:{"&:first-child":{borderStartStartRadius:a,borderEndStartRadius:a},"&:last-child":{borderStartEndRadius:a,borderEndEndRadius:a},"&:not(:last-child)":{borderInlineEnd:`${(0,p.unit)(e.lineWidth)} ${e.lineType} `+e.colorSplit}}},[d+"-circle-shadow"]:{boxShadow:"none"},[d+"-square-shadow"]:{boxShadow:e.boxShadowSecondary,[n+"-square"]:{boxShadow:"none",padding:c,[n+"-body"]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:i}}}}})(n),(e=>{var{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:o,floatButtonSize:a,borderRadiusLG:i,badgeOffset:l,dotOffsetInSquare:c,dotOffsetInCircle:s,zIndexPopupBase:u,calc:d}=e;return{[n]:Object.assign(Object.assign({},(0,f.dF)(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:u,display:"block",width:a,height:a,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[t+"-badge"]:{width:"100%",height:"100%",[t+"-badge-count"]:{transform:"translate(0, 0)",transformOrigin:"center",top:d(l).mul(-1).equal(),insetInlineEnd:d(l).mul(-1).equal()}},[n+"-body"]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:"all "+e.motionDurationMid,[n+"-content"]:{overflow:"hidden",textAlign:"center",minHeight:a,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:(0,p.unit)(d(r).div(2).equal())+" "+(0,p.unit)(r),[n+"-icon"]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[n+"-rtl"]:{direction:"rtl"},[n+"-circle"]:{height:a,borderRadius:"50%",[t+"-badge"]:{[t+"-badge-dot"]:{top:s,insetInlineEnd:s}},[n+"-body"]:{borderRadius:"50%"}},[n+"-square"]:{height:"auto",minHeight:a,borderRadius:i,[t+"-badge"]:{[t+"-badge-dot"]:{top:c,insetInlineEnd:c}},[n+"-body"]:{height:"auto",borderRadius:i}},[n+"-default"]:{backgroundColor:e.floatButtonBackgroundColor,transition:"background-color "+e.motionDurationMid,[n+"-body"]:{backgroundColor:e.floatButtonBackgroundColor,transition:"background-color "+e.motionDurationMid,"&:hover":{backgroundColor:e.colorFillContent},[n+"-content"]:{[n+"-icon"]:{color:e.colorText},[n+"-description"]:{display:"flex",alignItems:"center",lineHeight:(0,p.unit)(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[n+"-primary"]:{backgroundColor:e.colorPrimary,[n+"-body"]:{backgroundColor:e.colorPrimary,transition:"background-color "+e.motionDurationMid,"&:hover":{backgroundColor:e.colorPrimaryHover},[n+"-content"]:{[n+"-icon"]:{color:e.colorTextLightSolid},[n+"-description"]:{display:"flex",alignItems:"center",lineHeight:(0,p.unit)(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}})(n),(0,d.p9)(e),h(n)]},o)},816:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(2284);function o(e){e=((e,t)=>{if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string");return"symbol"==(0,r.A)(e)?e:e+""}},923:function(e,t,n){n.r(t),n.d(t,{default:function(){return r.A}});var r=n(6313)},970:function(e,t,n){n.r(t),n.d(t,{prepareComponentToken:function(){return r}});var g=n(9612),n=n(193);let h={position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"},r=e=>{var t=e.splitBarSize||2,n=e.resizeSpinnerSize||20;return{splitBarSize:t,splitTriggerSize:e.splitTriggerSize||6,splitBarDraggableSize:null!=(t=e.splitBarDraggableSize)?t:n,resizeSpinnerSize:n}};t.default=(0,n.OF)("Splitter",e=>[(e=>{var{componentCls:t,colorFill:n,splitBarDraggableSize:r,splitBarSize:o,splitTriggerSize:a,controlItemBgHover:i,controlItemBgActive:l,controlItemBgActiveHover:c,prefixCls:s}=e,u=t+"-bar",d=t+"-mask",p=t+"-panel",f=e.calc(a).div(2).equal(),s=s+"-bar-preview-offset",m={position:"absolute",background:e.colorPrimary,opacity:.2,pointerEvents:"none",transition:"none",zIndex:1,display:"none"};return{[t]:Object.assign(Object.assign(Object.assign({},(0,g.dF)(e)),{display:"flex",width:"100%",height:"100%",alignItems:"stretch",["> "+u]:{flex:"none",position:"relative",userSelect:"none",[u+"-dragger"]:Object.assign(Object.assign({},h),{zIndex:1,"&::before":Object.assign({content:'""',background:i},h),"&::after":Object.assign({content:'""',background:n},h),[`&:hover:not(${u}-dragger-active)`]:{"&::before":{background:l}},"&-active":{zIndex:2,"&::before":{background:c}},[`&-disabled${u}-dragger`]:{zIndex:0,"&, &:hover, &-active":{cursor:"default","&::before":{background:i}},"&::after":{display:"none"}}}),[u+"-collapse-bar"]:Object.assign(Object.assign({},h),{zIndex:e.zIndexPopupBase,background:i,fontSize:e.fontSizeSM,borderRadius:e.borderRadiusXS,color:e.colorText,cursor:"pointer",opacity:0,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{background:l},"&:active":{background:c}}),"&:hover, &:active":{[u+"-collapse-bar"]:{opacity:1}}},[d]:{position:"fixed",zIndex:e.zIndexPopupBase,inset:0,"&-horizontal":{cursor:"col-resize"},"&-vertical":{cursor:"row-resize"}},"&-horizontal":{flexDirection:"row",["> "+u]:{width:0,[u+"-preview"]:Object.assign(Object.assign({height:"100%",width:o},m),{[`&${u}-preview-active`]:{display:"block",transform:`translateX(var(--${s}))`}}),[u+"-dragger"]:{cursor:"col-resize",height:"100%",width:a,"&::before":{height:"100%",width:o},"&::after":{height:r,width:o}},[u+"-collapse-bar"]:{width:e.fontSizeSM,height:e.controlHeightSM,"&-start":{left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:f},transform:"translateY(-50%)"},"&-end":{left:{_skip_check_:!0,value:f},right:{_skip_check_:!0,value:"auto"},transform:"translateY(-50%)"}}}},"&-vertical":{flexDirection:"column",["> "+u]:{height:0,[u+"-preview"]:Object.assign(Object.assign({height:o,width:"100%"},m),{[`&${u}-preview-active`]:{display:"block",transform:`translateY(var(--${s}))`}}),[u+"-dragger"]:{cursor:"row-resize",width:"100%",height:a,"&::before":{width:"100%",height:o},"&::after":{width:r,height:o}},[u+"-collapse-bar"]:{height:e.fontSizeSM,width:e.controlHeightSM,"&-start":{top:"auto",bottom:f,transform:"translateX(-50%)"},"&-end":{top:f,bottom:"auto",transform:"translateX(-50%)"}}}},[p]:{overflow:"auto",padding:"0 1px",scrollbarWidth:"thin",boxSizing:"border-box","&-hidden":{padding:0,overflow:"hidden"},[`&:has(${t}:only-child)`]:{overflow:"hidden"}}}),(e=>{e=e.componentCls;return{[`&-rtl${e}-horizontal`]:{[`> ${e}-bar`]:{[e+"-bar-collapse-previous"]:{insetInlineEnd:0,insetInlineStart:"unset"},[e+"-bar-collapse-next"]:{insetInlineEnd:"unset",insetInlineStart:0}}},[`&-rtl${e}-vertical`]:{[`> ${e}-bar`]:{[e+"-bar-collapse-previous"]:{insetInlineEnd:"50%",insetInlineStart:"unset"},[e+"-bar-collapse-next"]:{insetInlineEnd:"50%",insetInlineStart:"unset"}}}}})(e))}})(e)],r)},981:function(e,t,n){n.d(t,{o:function(){return i}});function r(e,t){var n=o.useRef(!0);a(function(){return e(n.current)},t),a(function(){return n.current=!1,function(){n.current=!0}},[])}var o=n(5442),a=(0,n(998).A)()?o.useLayoutEffect:o.useEffect,i=function(t,e){r(function(e){if(!e)return t()},e)};t.A=r},998:function(e,t,n){function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:function(){return r}})},1014:function(e,t,n){let r;r="undefined"!=typeof window&&window.antdCssinjs?window.antdCssinjs:void 0!==n.g&&n.g.antdCssinjs?n.g.antdCssinjs:n(7384),e.exports=r},1053:function(e,t,n){n=n(5442);t.A=(0,n.createContext)({})},1057:function(e,t,n){n.d(t,{A:function(){return r}});var r="5.24.5"},1217:function(e,t,n){var r=n(5442),n=n.n(r);t.A=n().createContext(void 0)},1229:function(e,t,n){var c=n(2398);t.A=e=>{var e=(0,c.A)(e),t=e.map(e=>e.size),e=e.map(e=>e.lineHeight),n=t[1],r=t[0],o=t[2],a=e[1],i=e[0],l=e[2];return{fontSizeSM:r,fontSize:n,fontSizeLG:o,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:a,lineHeightLG:l,lineHeightSM:i,fontHeight:Math.round(a*n),fontHeightLG:Math.round(l*o),fontHeightSM:Math.round(i*r),lineHeightHeading1:e[6],lineHeightHeading2:e[5],lineHeightHeading3:e[4],lineHeightHeading4:e[3],lineHeightHeading5:e[2]}}},1233:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(5544),a=n(5442);function r(e){var n=a.useRef(!1),e=a.useState(e),e=(0,o.A)(e,2),t=e[0],r=e[1];return a.useEffect(function(){return n.current=!1,function(){n.current=!0}},[]),[t,function(e,t){t&&n.current||r(e)}]}},1328:function(e,t,n){n.r(t),n.d(t,{prepareComponentToken:function(){return l}});var o=n(1014),a=n(9612),r=n(193),i=n(4277);let l=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS});t.default=(0,r.OF)("Breadcrumb",e=>(e=>{var{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},(0,a.dF)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:"color "+e.motionDurationMid,padding:"0 "+(0,o.unit)(e.paddingXXS),borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,a.K8)(e)),"li:last-child":{color:e.lastItemColor},[t+"-separator"]:{marginInline:e.separatorMargin,color:e.separatorColor},[t+"-link"]:{[` > ${n} + span, > ${n} + a `]:{marginInlineStart:e.marginXXS}},[t+"-overlay-link"]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:"0 "+(0,o.unit)(e.paddingXXS),marginInline:r(e.marginXXS).mul(-1).equal(),["> "+n]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})((0,i.oX)(e,{})),l)},1362:function(e,t,n){n.r(t),n.d(t,{default:function(){return s},prepareComponentToken:function(){return c}});var O=n(1014),I=n(9612),t=n(193),r=n(4277);let o=e=>({left:"translateX(-100%)",right:"translateX(100%)",top:"translateY(-100%)",bottom:"translateY(100%)"})[e],a=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),i=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all "+t}}},a({opacity:e},{opacity:1}));var l=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[t+"-mask-motion"]:i(0,n),[t+"-panel-motion"]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-"+t]:(e=t,t=n,[i(.7,t),a({transform:o(e)},{transform:"none"})])}),{})}}};let c=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding});var s=(0,t.OF)("Drawer",e=>{e=(0,r.oX)(e,{});return[(e=>{var{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:l,paddingXS:c,padding:s,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:m,colorSplit:g,marginXS:h,colorIcon:v,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:C,colorText:x,fontWeightStrong:w,footerPaddingBlock:S,footerPaddingInline:k,calc:E}=e,A=n+"-content-wrapper";return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[n+"-mask"]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[A]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:"all "+i,"&-hidden":{display:"none"}},["&-left > "+A]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > "+A]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > "+A]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > "+A]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[n+"-content"]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[n+"-header"]:{display:"flex",flex:0,alignItems:"center",padding:(0,O.unit)(s)+" "+(0,O.unit)(u),fontSize:d,lineHeight:p,borderBottom:(0,O.unit)(f)+` ${m} `+g,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[n+"-extra"]:{flex:"none"},[n+"-close"]:Object.assign({display:"inline-flex",width:E(d).add(c).equal(),height:E(d).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:v,fontWeight:w,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all "+l,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:C}},(0,I.K8)(e)),[n+"-title"]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[n+"-body"]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[n+"-body-skeleton"]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[n+"-footer"]:{flexShrink:0,padding:(0,O.unit)(S)+" "+(0,O.unit)(k),borderTop:(0,O.unit)(f)+` ${m} `+g},"&-rtl":{direction:"rtl"}}}})(e),l(e)]},c)},1441:function(e,t,n){function o(r){var o="",a=Object.keys(r);return a.forEach(function(e,t){var n=r[e];e=i(e),l(e)&&"number"==typeof n&&(n+="px"),o+=!0===n?e:!1===n?"not "+e:"("+e+": "+n+")",t<a.length-1&&(o+=" and ")}),o}var i=n(8028),l=function(e){return/[height|width]$/.test(e)};e.exports=function(n){var r="";return"string"==typeof n?n:n instanceof Array?(n.forEach(function(e,t){r+=o(e),t<n.length-1&&(r+=", ")}),r):o(n)}},1464:function(e,t,n){n.r(t),n.d(t,{prepareComponentToken:function(){return a}});var b=n(1014),y=n(9612),r=n(193),o=n(4277);let a=e=>{var{controlHeight:e,controlHeightLG:t,controlHeightSM:n,fontSize:r,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:i,marginXS:l,marginXXS:c,colorBorderBg:s}=e;return{containerSize:e,containerSizeLG:t,containerSizeSM:n,textFontSize:Math.round((o+a)/2),textFontSizeLG:i,textFontSizeSM:r,groupSpace:c,groupOverlapping:-l,groupBorderColor:s}};t.default=(0,r.OF)("Avatar",e=>{var{colorTextLightSolid:t,colorTextPlaceholder:n}=e,e=(0,o.oX)(e,{avatarBg:n,avatarColor:t});return[(e=>{let{antCls:t,componentCls:r,iconCls:o,avatarBg:n,avatarColor:a,containerSize:i,containerSizeLG:l,containerSizeSM:c,textFontSize:s,textFontSizeLG:u,textFontSizeSM:d,borderRadius:p,borderRadiusLG:f,borderRadiusSM:m,lineWidth:g,lineType:h}=e;var v=(e,t,n)=>({width:e,height:e,borderRadius:"50%",[`&${r}-square`]:{borderRadius:n},[`&${r}-icon`]:{fontSize:t,["> "+o]:{margin:0}}});return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:n,border:(0,b.unit)(g)+` ${h} transparent`,"&-image":{background:"transparent"},[t+"-image-img"]:{display:"block"}}),v(i,s,p)),{"&-lg":Object.assign({},v(l,u,f)),"&-sm":Object.assign({},v(c,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}})(e),(e=>{var{componentCls:e,groupBorderColor:t,groupOverlapping:n,groupSpace:r}=e;return{[e+"-group"]:{display:"inline-flex",[e]:{borderColor:t},"> *:not(:first-child)":{marginInlineStart:n}},[e+"-group-popover"]:{[e+" + "+e]:{marginInlineStart:r}}}})(e)]},a)},1470:function(e,t,n){n.d(t,{Jt:function(){return a.A},_q:function(){return r.A},hZ:function(){return i.A},vz:function(){return o.A}});var r=n(6956),o=n(2533),a=(n(8719),n(6300)),i=n(488);n(8210)},1505:function(e,t,n){n.r(t),n.d(t,{default:function(){return a},genActiveStyle:function(){return j}});var k=n(1014),E=n(5289),t=n(193),r=n(4277);let f=(e,t)=>({backgroundImage:`conic-gradient(${t} 25%, transparent 25% 50%, ${t} 50% 75%, transparent 75% 100%)`,backgroundSize:e+" "+e});var A=(e,t)=>{var{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:o,lineWidth:a,colorFillSecondary:i}=e;return{[n+"-color-block"]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:o,flex:"none"},f("50%",e.colorFillSecondary)),{[n+"-color-block-inner"]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${(0,k.unit)(a)} `+i,borderRadius:"inherit"}})}},O=e=>{var{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:o,colorPickerAlphaInputWidth:a,marginXXS:i,paddingXXS:l,controlHeightSM:c,marginXS:s,fontSizeIcon:u,paddingXS:d,colorTextPlaceholder:p,colorPickerInputNumberHandleWidth:f,lineWidth:m}=e;return{[t+"-input-container"]:{display:"flex",[t+`-steppers${n}-input-number`]:{fontSize:r,lineHeight:o,[n+"-input-number-input"]:{paddingInlineStart:l,paddingInlineEnd:0},[n+"-input-number-handler-wrap"]:{width:f}},[t+`-steppers${t}-alpha-input`]:{flex:"0 0 "+(0,k.unit)(a),marginInlineStart:i},[t+`-format-select${n}-select`]:{marginInlineEnd:s,width:"auto","&-single":{[n+"-select-selector"]:{padding:0,border:0},[n+"-select-arrow"]:{insetInlineEnd:0},[n+"-select-selection-item"]:{paddingInlineEnd:e.calc(u).add(i).equal(),fontSize:r,lineHeight:(0,k.unit)(c)},[n+"-select-item-option-content"]:{fontSize:r,lineHeight:o},[n+"-select-dropdown"]:{[n+"-select-item"]:{minHeight:"auto"}}}},[t+"-input"]:{gap:i,alignItems:"center",flex:1,width:0,[t+`-hsb-input,${t}-rgb-input`]:{display:"flex",gap:i,alignItems:"center"},[t+"-steppers"]:{flex:1},[t+`-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:"0 "+(0,k.unit)(d),[n+"-input"]:{fontSize:r,textTransform:"uppercase",lineHeight:(0,k.unit)(e.calc(c).sub(e.calc(m).mul(2)).equal())},[n+"-input-prefix"]:{color:p}}}}}},I=e=>{var{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:o,marginSM:a,colorBgElevated:i,colorFillSecondary:l,lineWidthBold:c,colorPickerHandlerSize:s}=e;return{userSelect:"none",[t+"-select"]:{[t+"-palette"]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[t+"-saturation"]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:a},[t+"-handler"]:{width:s,height:s,border:(0,k.unit)(c)+" solid "+i,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:o+", 0 0 0 1px "+l}}},N=e=>{var{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:o,colorPickerPresetColorSize:a,fontSizeSM:i,colorText:l,lineHeightSM:c,lineWidth:s,borderRadius:u,colorFill:d,colorWhite:p,marginXXS:f,paddingXS:m,fontHeightSM:g}=e;return{[t+"-presets"]:{[n+`-collapse-item > ${n}-collapse-header`]:{padding:0,[n+"-collapse-expand-icon"]:{height:g,color:r,paddingInlineEnd:o}},[n+"-collapse"]:{display:"flex",flexDirection:"column",gap:f},[n+`-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:(0,k.unit)(m)+" 0"},"&-label":{fontSize:i,color:l,lineHeight:c},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(f).mul(1.5).equal(),[t+"-presets-color"]:{position:"relative",cursor:"pointer",width:a,height:a,"&::before":{content:'""',pointerEvents:"none",width:e.calc(a).add(e.calc(s).mul(4)).equal(),height:e.calc(a).add(e.calc(s).mul(4)).equal(),position:"absolute",top:e.calc(s).mul(-2).equal(),insetInlineStart:e.calc(s).mul(-2).equal(),borderRadius:u,border:(0,k.unit)(s)+" solid transparent",transition:`border-color ${e.motionDurationMid} `+e.motionEaseInBack},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(a).div(13).mul(5).equal(),height:e.calc(a).div(13).mul(8).equal(),border:(0,k.unit)(e.lineWidthBold)+" solid "+e.colorWhite,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity `+e.motionDurationFast},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:p,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} `+e.motionDurationFast},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:i,color:r}}}},M=e=>{var{componentCls:t,colorPickerInsetShadow:n,colorBgElevated:r,colorFillSecondary:o,lineWidthBold:a,colorPickerHandlerSizeSM:i,colorPickerSliderHeight:l,marginSM:c,marginXS:s}=e,u=e.calc(i).sub(e.calc(a).mul(2).equal()).equal(),d=e.calc(i).add(e.calc(a).mul(2).equal()).equal(),p={"&:after":{transform:"scale(1)",boxShadow:n+", 0 0 0 1px "+e.colorPrimaryActive}};return{[t+"-slider"]:[f((0,k.unit)(l),e.colorFillSecondary),{margin:0,padding:0,height:l,borderRadius:e.calc(l).div(2).equal(),"&-rail":{height:l,borderRadius:e.calc(l).div(2).equal(),boxShadow:n},[`& ${t}-slider-handle`]:{width:u,height:u,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:d,height:d,borderRadius:"100%"},"&:after":{width:i,height:i,border:(0,k.unit)(a)+" solid "+r,boxShadow:n+", 0 0 0 1px "+o,outline:"none",insetInlineStart:e.calc(a).mul(-1).equal(),top:e.calc(a).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":p}}],[t+"-slider-container"]:{display:"flex",gap:c,marginBottom:c,[t+"-slider-group"]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[t+"-gradient-slider"]:{marginBottom:s,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":p}}}};let j=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${(0,k.unit)(e.controlOutlineWidth)} `+n,outline:0}),P=(e,t,n)=>{var{componentCls:r,borderRadiusSM:o,lineWidth:a,colorSplit:i,colorBorder:l,red6:c}=e;return{[r+"-clear"]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:(0,k.unit)(a)+" solid "+i,position:"relative",overflow:"hidden",cursor:"inherit",transition:"all "+e.motionDurationFast},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(a).mul(-1).equal(),top:e.calc(a).mul(-1).equal(),disp