You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
36 KiB
1 line
36 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[63642,36381,58012],{87169:function(e,n,t){t.d(n,{Z:function(){return c}});var o=t(72308),r=t(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=t(7657),l=function(e,n){return r.createElement(i.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var c=r.forwardRef(l)},12893:function(e,n,t){t.d(n,{Z:function(){return c}});var o=t(72308),r=t(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},i=t(7657),l=function(e,n){return r.createElement(i.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var c=r.forwardRef(l)},32134:function(e,n,t){t.d(n,{Z:function(){return c}});var o=t(72308),r=t(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},i=t(7657),l=function(e,n){return r.createElement(i.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var c=r.forwardRef(l)},27666:function(e,n,t){var o=t(80702),r=t(16089);n.Z=function(e){let n;const t=t=>()=>{n=null,e.apply(void 0,(0,o.Z)(t))},a=function(){if(null==n){for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];n=(0,r.Z)(t(o))}};return a.cancel=()=>{r.Z.cancel(n),n=null},a}},81228:function(e,n,t){t.d(n,{Z:function(){return O}});var o=t(96949),r=t(55090),a=t(77205),i=t(2019),l=t(59301),c=t(92310),s=t.n(c),d=t(29301),p=t(2738),u=t(27666),g=t(36355),f=t(83116),m=t(37613);const h=e=>{const{componentCls:n}=e;return{[n]:{position:"fixed",zIndex:e.zIndexPopup}}};var b=(0,f.Z)("Affix",(e=>{const n=(0,m.TS)(e,{zIndexPopup:e.zIndexBase+10});return[h(n)]}));function v(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function y(e,n,t){if(void 0!==t&&n.top>e.top-t)return t+n.top}function x(e,n,t){if(void 0!==t&&n.bottom<e.bottom+t){return t+(window.innerHeight-n.bottom)}}const $=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function C(){return"undefined"!=typeof window?window:null}var S;!function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"}(S||(S={}));let k=function(e){(0,a.Z)(t,e);var n=(0,i.Z)(t);function t(){var e;return(0,o.Z)(this,t),(e=n.apply(this,arguments)).state={status:S.None,lastAffix:!1,prevTarget:null},e.placeholderNodeRef=(0,l.createRef)(),e.fixedNodeRef=(0,l.createRef)(),e.addListeners=()=>{const n=e.getTargetFunc(),t=null==n?void 0:n(),{prevTarget:o}=e.state;o!==t&&($.forEach((n=>{null==o||o.removeEventListener(n,e.lazyUpdatePosition),null==t||t.addEventListener(n,e.lazyUpdatePosition)})),e.updatePosition(),e.setState({prevTarget:t}))},e.removeListeners=()=>{e.timer&&(clearTimeout(e.timer),e.timer=null);const{prevTarget:n}=e.state,t=e.getTargetFunc(),o=null==t?void 0:t();$.forEach((t=>{null==o||o.removeEventListener(t,e.lazyUpdatePosition),null==n||n.removeEventListener(t,e.lazyUpdatePosition)})),e.updatePosition.cancel(),e.lazyUpdatePosition.cancel()},e.getOffsetTop=()=>{const{offsetBottom:n,offsetTop:t}=e.props;return void 0===n&&void 0===t?0:t},e.getOffsetBottom=()=>e.props.offsetBottom,e.measure=()=>{const{status:n,lastAffix:t}=e.state,{onChange:o}=e.props,r=e.getTargetFunc();if(n!==S.Prepare||!e.fixedNodeRef.current||!e.placeholderNodeRef.current||!r)return;const a=e.getOffsetTop(),i=e.getOffsetBottom(),l=r();if(l){const n={status:S.None},r=v(e.placeholderNodeRef.current);if(0===r.top&&0===r.left&&0===r.width&&0===r.height)return;const c=v(l),s=y(r,c,a),d=x(r,c,i);void 0!==s?(n.affixStyle={position:"fixed",top:s,width:r.width,height:r.height},n.placeholderStyle={width:r.width,height:r.height}):void 0!==d&&(n.affixStyle={position:"fixed",bottom:d,width:r.width,height:r.height},n.placeholderStyle={width:r.width,height:r.height}),n.lastAffix=!!n.affixStyle,o&&t!==n.lastAffix&&o(n.lastAffix),e.setState(n)}},e.prepareMeasure=()=>{e.setState({status:S.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e.updatePosition=(0,u.Z)((()=>{e.prepareMeasure()})),e.lazyUpdatePosition=(0,u.Z)((()=>{const n=e.getTargetFunc(),{affixStyle:t}=e.state;if(n&&t){const o=e.getOffsetTop(),r=e.getOffsetBottom(),a=n();if(a&&e.placeholderNodeRef.current){const n=v(a),i=v(e.placeholderNodeRef.current),l=y(i,n,o),c=x(i,n,r);if(void 0!==l&&t.top===l||void 0!==c&&t.bottom===c)return}}e.prepareMeasure()})),e}return(0,r.Z)(t,[{key:"getTargetFunc",value:function(){const{getTargetContainer:e}=this.context,{target:n}=this.props;return void 0!==n?n:null!=e?e:C}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(e){this.addListeners(),e.offsetTop===this.props.offsetTop&&e.offsetBottom===this.props.offsetBottom||this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:e,placeholderStyle:n}=this.state,{affixPrefixCls:t,rootClassName:o,children:r}=this.props,a=s()(e&&o,{[t]:!!e});let i=(0,p.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return l.createElement(d.Z,{onResize:this.updatePosition},l.createElement("div",Object.assign({},i,{ref:this.placeholderNodeRef}),e&&l.createElement("div",{style:n,"aria-hidden":"true"}),l.createElement("div",{className:a,ref:this.fixedNodeRef,style:e},l.createElement(d.Z,{onResize:this.updatePosition},r))))}}]),t}(l.Component);k.contextType=g.E_;var O=(0,l.forwardRef)(((e,n)=>{const{prefixCls:t,rootClassName:o}=e,{getPrefixCls:r}=(0,l.useContext)(g.E_),a=r("affix",t),[i,c]=b(a),d=Object.assign(Object.assign({},e),{affixPrefixCls:a,rootClassName:s()(o,c)});return i(l.createElement(k,Object.assign({},d,{ref:n})))}))},66104:function(e,n,t){t.d(n,{Z:function(){return N}});var o=t(92310),r=t.n(o),a=t(11592),i=t(26112),l=t(59301),c=t(92343),s=t(36355),d=t(84105),p=t(91857);const u=e=>{let{children:n}=e;const{getPrefixCls:t}=l.useContext(s.E_),o=t("breadcrumb");return l.createElement("li",{className:`${o}-separator`,"aria-hidden":"true"},""===n?n:n||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var g=u,f=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};function m(e,n,t,o){if(null==t)return null;const{className:a,onClick:c}=n,s=f(n,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==o?l.createElement("a",Object.assign({},d,{className:r()(`${e}-link`,a),href:o}),t):l.createElement("span",Object.assign({},d,{className:r()(`${e}-link`,a)}),t)}function h(e,n){return(t,o,r,a,i)=>{if(n)return n(t,o,r,a);const l=function(e,n){if(void 0===e.title||null===e.title)return null;const t=Object.keys(n).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${t})`,"g"),((e,t)=>n[t]||e))}(t,o);return m(e,t,l,i)}}var b=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};const v=e=>{const{prefixCls:n,separator:t="/",children:o,menu:r,overlay:a,dropdownProps:i,href:c}=e;const s=(e=>{if(r||a){const t=Object.assign({},i);if(r){const e=r||{},{items:n}=e,o=b(e,["items"]);t.menu=Object.assign(Object.assign({},o),{items:null==n?void 0:n.map(((e,n)=>{var{key:t,title:o,label:r,path:a}=e,i=b(e,["key","title","label","path"]);let s=null!=r?r:o;return a&&(s=l.createElement("a",{href:`${c}${a}`},s)),Object.assign(Object.assign({},i),{key:null!=t?t:n,label:s})}))})}else a&&(t.overlay=a);return l.createElement(p.Z,Object.assign({placement:"bottom"},t),l.createElement("span",{className:`${n}-overlay-link`},e,l.createElement(d.Z,null)))}return e})(o);return null!=s?l.createElement(l.Fragment,null,l.createElement("li",null,s),t&&l.createElement(g,null,t)):null},y=e=>{const{prefixCls:n,children:t,href:o}=e,r=b(e,["prefixCls","children","href"]),{getPrefixCls:a}=l.useContext(s.E_),i=a("breadcrumb",n);return l.createElement(v,Object.assign({},r,{prefixCls:i}),m(i,r,t,o))};y.__ANT_BREADCRUMB_ITEM=!0;var x=y,$=t(17313),C=t(83116),S=t(37613);const k=e=>{const{componentCls:n,iconCls:t}=e;return{[n]:Object.assign(Object.assign({},(0,$.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[t]:{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 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,$.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${n}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${n}-link`]:{[`\n > ${t} + span,\n > ${t} + a\n `]:{marginInlineStart:e.marginXXS}},[`${n}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${t}`]:{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"}})}};var O=(0,C.Z)("Breadcrumb",(e=>{const n=(0,S.TS)(e,{});return[k(n)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),I=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};function w(e){const{breadcrumbName:n,children:t}=e,o=I(e,["breadcrumbName","children"]),r=Object.assign({title:n},o);return t&&(r.menu={items:t.map((e=>{var{breadcrumbName:n}=e,t=I(e,["breadcrumbName"]);return Object.assign(Object.assign({},t),{title:n})}))}),r}var E=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};const P=e=>{const{prefixCls:n,separator:t="/",style:o,className:d,rootClassName:p,routes:u,items:f,children:m,itemRender:b,params:y={}}=e,x=E(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:$,direction:C,breadcrumb:S}=l.useContext(s.E_);let k;const I=$("breadcrumb",n),[P,N]=O(I),j=function(e,n){return(0,l.useMemo)((()=>e||(n?n.map(w):null)),[e,n])}(f,u);const Z=h(I,b);if(j&&j.length>0){const e=[],n=f||u;k=j.map(((o,r)=>{const{path:a,key:c,type:s,menu:d,overlay:p,onClick:u,className:f,separator:m,dropdownProps:h}=o,b=((e,n)=>{if(void 0===n)return n;let t=(n||"").replace(/^\//,"");return Object.keys(e).forEach((n=>{t=t.replace(`:${n}`,e[n])})),t})(y,a);void 0!==b&&e.push(b);const x=null!=c?c:r;if("separator"===s)return l.createElement(g,{key:x},m);const $={},C=r===j.length-1;d?$.menu=d:p&&($.overlay=p);let{href:S}=o;return e.length&&void 0!==b&&(S=`#/${e.join("/")}`),l.createElement(v,Object.assign({key:x},$,(0,i.Z)(o,{data:!0,aria:!0}),{className:f,dropdownProps:h,href:S,separator:C?"":t,onClick:u,prefixCls:I}),Z(o,y,n,e,S))}))}else if(m){const e=(0,a.Z)(m).length;k=(0,a.Z)(m).map(((n,o)=>{if(!n)return n;const r=o===e-1;return(0,c.Tm)(n,{separator:r?"":t,key:o})}))}const M=r()(I,null==S?void 0:S.className,{[`${I}-rtl`]:"rtl"===C},d,p,N),T=Object.assign(Object.assign({},null==S?void 0:S.style),o);return P(l.createElement("nav",Object.assign({className:M,style:T},x),l.createElement("ol",null,k)))};P.Item=x,P.Separator=g;var N=P},36381:function(e,n,t){t.d(n,{Z:function(){return F}});var o=t(38819),r=t(92310),a=t.n(r),i=t(72308),l=t(80702),c=t(52487),s=t(62853),d=t(18929),p=t(48736),u=t(59301),g=t(74416),f=t(11592),m=t(49618),h=t(77900),b=t(10228),v=u.forwardRef((function(e,n){var t=e.prefixCls,o=e.forceRender,r=e.className,i=e.style,l=e.children,s=e.isActive,d=e.role,p=u.useState(s||o),g=(0,c.Z)(p,2),f=g[0],h=g[1];return u.useEffect((function(){(o||s)&&h(!0)}),[o,s]),f?u.createElement("div",{ref:n,className:a()("".concat(t,"-content"),(0,m.Z)((0,m.Z)({},"".concat(t,"-content-active"),s),"".concat(t,"-content-inactive"),!s),r),style:i,role:d},u.createElement("div",{className:"".concat(t,"-content-box")},l)):null}));v.displayName="PanelContent";var y=v,x=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],$=u.forwardRef((function(e,n){var t=e.showArrow,o=void 0===t||t,r=e.headerClass,l=e.isActive,c=e.onItemClick,s=e.forceRender,d=e.className,p=e.prefixCls,f=e.collapsible,v=e.accordion,$=e.panelKey,C=e.extra,S=e.header,k=e.expandIcon,O=e.openMotion,I=e.destroyInactivePanel,w=e.children,E=(0,g.Z)(e,x),P="disabled"===f,N="header"===f,j="icon"===f,Z=null!=C&&"boolean"!=typeof C,M=function(){null==c||c($)},T="function"==typeof k?k(e):u.createElement("i",{className:"arrow"});T&&(T=u.createElement("div",{className:"".concat(p,"-expand-icon"),onClick:["header","icon"].includes(f)?M:void 0},T));var z=a()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(p,"-item"),!0),"".concat(p,"-item-active"),l),"".concat(p,"-item-disabled"),P),d),R={className:a()(r,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(p,"-header"),!0),"".concat(p,"-header-collapsible-only"),N),"".concat(p,"-icon-collapsible-only"),j)),"aria-expanded":l,"aria-disabled":P,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==b.Z.ENTER&&e.which!==b.Z.ENTER||M()}};return N||j||(R.onClick=M,R.role=v?"tab":"button",R.tabIndex=P?-1:0),u.createElement("div",(0,i.Z)({},E,{ref:n,className:z}),u.createElement("div",R,o&&T,u.createElement("span",{className:"".concat(p,"-header-text"),onClick:"header"===f?M:void 0},S),Z&&u.createElement("div",{className:"".concat(p,"-extra")},C)),u.createElement(h.default,(0,i.Z)({visible:l,leavedClassName:"".concat(p,"-content-hidden")},O,{forceRender:s,removeOnLeave:I}),(function(e,n){var t=e.className,o=e.style;return u.createElement(y,{ref:n,prefixCls:p,className:t,style:o,isActive:l,forceRender:s,role:v?"tabpanel":void 0},w)})))})),C=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];var S=function(e,n,t){return Array.isArray(e)?function(e,n){var t=n.prefixCls,o=n.accordion,r=n.collapsible,a=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,s=n.openMotion,d=n.expandIcon;return e.map((function(e,n){var p=e.children,f=e.label,m=e.key,h=e.collapsible,b=e.onItemClick,v=e.destroyInactivePanel,y=(0,g.Z)(e,C),x=String(null!=m?m:n),S=null!=h?h:r,k=null!=v?v:a,O=!1;return O=o?c[0]===x:c.indexOf(x)>-1,u.createElement($,(0,i.Z)({},y,{prefixCls:t,key:x,panelKey:x,isActive:O,accordion:o,openMotion:s,expandIcon:d,header:f,collapsible:S,onItemClick:function(e){"disabled"!==S&&(l(e),null==b||b(e))},destroyInactivePanel:k}),p)}))}(e,t):(0,f.Z)(n).map((function(e,n){return function(e,n,t){if(!e)return null;var o=t.prefixCls,r=t.accordion,a=t.collapsible,i=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,s=t.openMotion,d=t.expandIcon,p=e.key||String(n),g=e.props,f=g.header,m=g.headerClass,h=g.destroyInactivePanel,b=g.collapsible,v=g.onItemClick,y=!1;y=r?c[0]===p:c.indexOf(p)>-1;var x=null!=b?b:a,$={key:p,panelKey:p,header:f,headerClass:m,isActive:y,prefixCls:o,destroyInactivePanel:null!=h?h:i,openMotion:s,accordion:r,children:e.props.children,onItemClick:function(e){"disabled"!==x&&(l(e),null==v||v(e))},expandIcon:d,collapsible:x};return"string"==typeof e.type?e:(Object.keys($).forEach((function(e){void 0===$[e]&&delete $[e]})),u.cloneElement(e,$))}(e,n,t)}))},k=t(26112);function O(e){var n=e;if(!Array.isArray(n)){var t=(0,s.Z)(n);n="number"===t||"string"===t?[n]:[]}return n.map((function(e){return String(e)}))}var I=u.forwardRef((function(e,n){var t=e.prefixCls,o=void 0===t?"rc-collapse":t,r=e.destroyInactivePanel,s=void 0!==r&&r,g=e.style,f=e.accordion,m=e.className,h=e.children,b=e.collapsible,v=e.openMotion,y=e.expandIcon,x=e.activeKey,$=e.defaultActiveKey,C=e.onChange,I=e.items,w=a()(o,m),E=(0,d.Z)([],{value:x,onChange:function(e){return null==C?void 0:C(e)},defaultValue:$,postState:O}),P=(0,c.Z)(E,2),N=P[0],j=P[1];(0,p.ZP)(!h,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Z=S(I,h,{prefixCls:o,accordion:f,openMotion:v,expandIcon:y,collapsible:b,destroyInactivePanel:s,onItemClick:function(e){return j((function(){return f?N[0]===e?[]:[e]:N.indexOf(e)>-1?N.filter((function(n){return n!==e})):[].concat((0,l.Z)(N),[e])}))},activeKey:N});return u.createElement("div",(0,i.Z)({ref:n,className:w,style:g,role:f?"tablist":void 0},(0,k.Z)(e,{aria:!0,data:!0})),Z)})),w=Object.assign(I,{Panel:$}),E=w,P=(w.Panel,t(2738)),N=t(62892),j=t(92343),Z=t(36355),M=t(19716);var T=u.forwardRef(((e,n)=>{const{getPrefixCls:t}=u.useContext(Z.E_),{prefixCls:o,className:r,showArrow:i=!0}=e,l=t("collapse",o),c=a()({[`${l}-no-arrow`]:!i},r);return u.createElement(E.Panel,Object.assign({ref:n},e,{prefixCls:l,className:c}))})),z=t(17313),R=t(8378),B=t(83116),H=t(37613);const A=e=>{const{componentCls:n,contentBg:t,padding:o,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:c,lineWidth:s,lineType:d,colorBorder:p,colorText:u,colorTextHeading:g,colorTextDisabled:f,fontSize:m,fontSizeLG:h,lineHeight:b,marginSM:v,paddingSM:y,paddingLG:x,paddingXS:$,motionDurationSlow:C,fontSizeIcon:S,contentPadding:k}=e,O=`${s}px ${d} ${p}`;return{[n]:Object.assign(Object.assign({},(0,z.Wf)(e)),{backgroundColor:r,border:O,borderBottom:0,borderRadius:`${c}px`,"&-rtl":{direction:"rtl"},[`& > ${n}-item`]:{borderBottom:O,"&:last-child":{[`\n &,\n & > ${n}-header`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`> ${n}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:g,lineHeight:b,cursor:"pointer",transition:`all ${C}, visibility 0s`,[`> ${n}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${n}-expand-icon`]:{height:m*b,display:"flex",alignItems:"center",paddingInlineEnd:v},[`${n}-arrow`]:Object.assign(Object.assign({},(0,z.Ro)()),{fontSize:S,svg:{transition:`transform ${C}`}}),[`${n}-header-text`]:{marginInlineEnd:"auto"}},[`${n}-header-collapsible-only`]:{cursor:"default",[`${n}-header-text`]:{flex:"none",cursor:"pointer"}},[`${n}-icon-collapsible-only`]:{cursor:"default",[`${n}-expand-icon`]:{cursor:"pointer"}}},[`${n}-content`]:{color:u,backgroundColor:t,borderTop:O,[`& > ${n}-content-box`]:{padding:k},"&-hidden":{display:"none"}},"&-small":{[`> ${n}-item`]:{[`> ${n}-header`]:{padding:i,paddingInlineStart:$,[`> ${n}-expand-icon`]:{marginInlineStart:y-$}},[`> ${n}-content > ${n}-content-box`]:{padding:y}}},"&-large":{[`> ${n}-item`]:{fontSize:h,[`> ${n}-header`]:{padding:l,paddingInlineStart:o,[`> ${n}-expand-icon`]:{height:h*b,marginInlineStart:x-o}},[`> ${n}-content > ${n}-content-box`]:{padding:x}}},[`${n}-item:last-child`]:{[`> ${n}-content`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`& ${n}-item-disabled > ${n}-header`]:{"\n &,\n & > .arrow\n ":{color:f,cursor:"not-allowed"}},[`&${n}-icon-position-end`]:{[`& > ${n}-item`]:{[`> ${n}-header`]:{[`${n}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},L=e=>{const{componentCls:n}=e;return{[`${n}-rtl`]:{[`> ${n}-item > ${n}-header ${n}-arrow svg`]:{transform:"rotate(180deg)"}}}},D=e=>{const{componentCls:n,headerBg:t,paddingXXS:o,colorBorder:r}=e;return{[`${n}-borderless`]:{backgroundColor:t,border:0,[`> ${n}-item`]:{borderBottom:`1px solid ${r}`},[`\n > ${n}-item:last-child,\n > ${n}-item:last-child ${n}-header\n `]:{borderRadius:0},[`> ${n}-item:last-child`]:{borderBottom:0},[`> ${n}-item > ${n}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${n}-item > ${n}-content > ${n}-content-box`]:{paddingTop:o}}}},X=e=>{const{componentCls:n,paddingSM:t}=e;return{[`${n}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${n}-item`]:{borderBottom:0,[`> ${n}-content`]:{backgroundColor:"transparent",border:0,[`> ${n}-content-box`]:{paddingBlock:t}}}}}};var _=(0,B.Z)("Collapse",(e=>{const n=(0,H.TS)(e,{collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG});return[A(n),D(n),X(n),L(n),(0,R.Z)(n)]}),(e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer})));const W=u.forwardRef(((e,n)=>{const{getPrefixCls:t,direction:r,collapse:i}=u.useContext(Z.E_),{prefixCls:l,className:c,rootClassName:s,style:d,bordered:p=!0,ghost:g,size:m,expandIconPosition:h="start",children:b,expandIcon:v}=e,y=(0,M.Z)((e=>{var n;return null!==(n=null!=m?m:e)&&void 0!==n?n:"middle"})),x=t("collapse",l),$=t(),[C,S]=_(x),k=u.useMemo((()=>"left"===h?"start":"right"===h?"end":h),[h]),O=a()(`${x}-icon-position-${k}`,{[`${x}-borderless`]:!p,[`${x}-rtl`]:"rtl"===r,[`${x}-ghost`]:!!g,[`${x}-${y}`]:"middle"!==y},null==i?void 0:i.className,c,s,S),I=Object.assign(Object.assign({},(0,N.Z)($)),{motionAppear:!1,leavedClassName:`${x}-content-hidden`}),w=u.useMemo((()=>b?(0,f.Z)(b).map(((e,n)=>{var t,o;if(null===(t=e.props)||void 0===t?void 0:t.disabled){const t=null!==(o=e.key)&&void 0!==o?o:String(n),{disabled:r,collapsible:a}=e.props,i=Object.assign(Object.assign({},(0,P.Z)(e.props,["disabled"])),{key:t,collapsible:null!=a?a:r?"disabled":void 0});return(0,j.Tm)(e,i)}return e})):null),[b]);return C(u.createElement(E,Object.assign({ref:n,openMotion:I},(0,P.Z)(e,["rootClassName"]),{expandIcon:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=v?v(e):u.createElement(o.Z,{rotate:e.isActive?90:void 0});return(0,j.Tm)(n,(()=>({className:a()(n.props.className,`${x}-arrow`)})))},prefixCls:x,className:O,style:Object.assign(Object.assign({},null==i?void 0:i.style),d)}),w))}));var F=Object.assign(W,{Panel:T})},78673:function(e,n,t){t.d(n,{Z:function(){return Z}});var o=t(58617),r=t(92310),a=t.n(r),i=t(72308),l=t(49618),c=t(52487),s=t(74416),d=t(59301),p=t(18929),u=t(10228),g=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],f=d.forwardRef((function(e,n){var t,o=e.prefixCls,r=void 0===o?"rc-switch":o,f=e.className,m=e.checked,h=e.defaultChecked,b=e.disabled,v=e.loadingIcon,y=e.checkedChildren,x=e.unCheckedChildren,$=e.onClick,C=e.onChange,S=e.onKeyDown,k=(0,s.Z)(e,g),O=(0,p.Z)(!1,{value:m,defaultValue:h}),I=(0,c.Z)(O,2),w=I[0],E=I[1];function P(e,n){var t=w;return b||(E(t=e),null==C||C(t,n)),t}var N=a()(r,f,(t={},(0,l.Z)(t,"".concat(r,"-checked"),w),(0,l.Z)(t,"".concat(r,"-disabled"),b),t));return d.createElement("button",(0,i.Z)({},k,{type:"button",role:"switch","aria-checked":w,disabled:b,className:N,ref:n,onKeyDown:function(e){e.which===u.Z.LEFT?P(!1,e):e.which===u.Z.RIGHT&&P(!0,e),null==S||S(e)},onClick:function(e){var n=P(!w,e);null==$||$(n,e)}}),v,d.createElement("span",{className:"".concat(r,"-inner")},d.createElement("span",{className:"".concat(r,"-inner-checked")},y),d.createElement("span",{className:"".concat(r,"-inner-unchecked")},x)))}));f.displayName="Switch";var m=f,h=t(14088),b=t(36355),v=t(1684),y=t(19716),x=t(64993),$=t(17313),C=t(83116),S=t(37613);const k=e=>{const{componentCls:n,trackHeightSM:t,trackPadding:o,trackMinWidthSM:r,innerMinMarginSM:a,innerMaxMarginSM:i,handleSizeSM:l}=e,c=`${n}-inner`;return{[n]:{[`&${n}-small`]:{minWidth:r,height:t,lineHeight:`${t}px`,[`${n}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${l+2*o}px - ${2*i}px)`,marginInlineEnd:`calc(100% - ${l+2*o}px + ${2*i}px)`},[`${c}-unchecked`]:{marginTop:-t,marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:l,height:l},[`${n}-loading-icon`]:{top:(l-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${l+2*o}px + ${2*i}px)`,marginInlineEnd:`calc(-100% + ${l+2*o}px - ${2*i}px)`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${l+o}px)`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${n}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},O=e=>{const{componentCls:n,handleSize:t}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:(t-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},I=e=>{const{componentCls:n,motion:t,trackPadding:o,handleBg:r,handleShadow:a,handleSize:i}=e,l=`${n}-handle`;return{[n]:{[l]:{position:"absolute",top:o,insetInlineStart:o,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i/2,boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${l}`]:{insetInlineStart:`calc(100% - ${i+o}px)`},[`&:not(${n}-disabled):active`]:t?{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},w=e=>{const{componentCls:n,trackHeight:t,trackPadding:o,innerMinMargin:r,innerMaxMargin:a,handleSize:i}=e,l=`${n}-inner`;return{[n]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${i+2*o}px - ${2*a}px)`,marginInlineEnd:`calc(100% - ${i+2*o}px + ${2*a}px)`},[`${l}-unchecked`]:{marginTop:-t,marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${l}`]:{paddingInlineStart:r,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${i+2*o}px + ${2*a}px)`,marginInlineEnd:`calc(-100% + ${i+2*o}px - ${2*a}px)`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:2*o,marginInlineEnd:2*-o}},[`&${n}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:2*-o,marginInlineEnd:2*o}}}}}},E=e=>{const{componentCls:n,trackHeight:t,trackMinWidth:o}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:o,height:t,lineHeight:`${t}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,$.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var P=(0,C.Z)("Switch",(e=>{const n=(0,S.TS)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[E(n),w(n),I(n),O(n),k(n)]}),(e=>{const{fontSize:n,lineHeight:t,controlHeight:o,colorWhite:r}=e,a=n*t,i=o/2,l=a-4,c=i-4;return{trackHeight:a,trackHeightSM:i,trackMinWidth:2*l+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:r,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new x.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}})),N=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};const j=d.forwardRef(((e,n)=>{const{prefixCls:t,size:r,disabled:i,loading:l,className:c,rootClassName:s,style:p}=e,u=N(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:g,direction:f,switch:x}=d.useContext(b.E_),$=d.useContext(v.Z),C=(null!=i?i:$)||l,S=g("switch",t),k=d.createElement("div",{className:`${S}-handle`},l&&d.createElement(o.Z,{className:`${S}-loading-icon`})),[O,I]=P(S),w=(0,y.Z)(r),E=a()(null==x?void 0:x.className,{[`${S}-small`]:"small"===w,[`${S}-loading`]:l,[`${S}-rtl`]:"rtl"===f},c,s,I),j=Object.assign(Object.assign({},null==x?void 0:x.style),p);return O(d.createElement(h.Z,{component:"Switch"},d.createElement(m,Object.assign({},u,{prefixCls:S,className:E,style:j,disabled:C,ref:n,loadingIcon:k}))))}));j.__ANT_SWITCH=!0;var Z=j},12563:function(e,n,t){t.d(n,{Z:function(){return I}});var o=t(59301),r=t(99267),a=t(92310),i=t.n(a),l=t(36785),c=t(47729),s=t(14088),d=t(36355),p=t(17313),u=t(37613),g=t(83116);const f=e=>{const{lineWidth:n,fontSizeIcon:t}=e,o=e.fontSizeSM,r=e.lineHeightSM*o+"px";return(0,u.TS)(e,{tagFontSize:o,tagLineHeight:r,tagIconSize:t-2*n,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},m=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText});var h=(0,g.Z)("Tag",(e=>(e=>{const{paddingXXS:n,lineWidth:t,tagPaddingHorizontal:o,componentCls:r}=e,a=o-t,i=n-t;return{[r]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:i,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(f(e))),m),b=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};var v=e=>{const{prefixCls:n,style:t,className:r,checked:a,onChange:l,onClick:c}=e,s=b(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:u}=o.useContext(d.E_),g=p("tag",n),[f,m]=h(g),v=i()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:a},null==u?void 0:u.className,r,m);return f(o.createElement("span",Object.assign({},s,{style:Object.assign(Object.assign({},t),null==u?void 0:u.style),className:v,onClick:e=>{null==l||l(!a),null==c||c(e)}})))},y=t(45157);var x=(0,g.b)(["Tag","preset"],(e=>(e=>(0,y.Z)(e,((n,t)=>{let{textColor:o,lightBorderColor:r,lightColor:a,darkColor:i}=t;return{[`${e.componentCls}-${n}`]:{color:o,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(f(e))),m);const $=(e,n,t)=>{const o="string"!=typeof(r=t)?r:r.charAt(0).toUpperCase()+r.slice(1);var r;return{[`${e.componentCls}-${n}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var C=(0,g.b)(["Tag","status"],(e=>{const n=f(e);return[$(n,"success","Success"),$(n,"processing","Info"),$(n,"error","Error"),$(n,"warning","Warning")]}),m),S=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};const k=(e,n)=>{const{prefixCls:t,className:a,rootClassName:p,style:u,children:g,icon:f,color:m,onClose:b,closeIcon:v,closable:y,bordered:$=!0}=e,k=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:O,direction:I,tag:w}=o.useContext(d.E_),[E,P]=o.useState(!0);o.useEffect((()=>{"visible"in k&&P(k.visible)}),[k.visible]);const N=(0,l.o2)(m),j=(0,l.yT)(m),Z=N||j,M=Object.assign(Object.assign({backgroundColor:m&&!Z?m:void 0},null==w?void 0:w.style),u),T=O("tag",t),[z,R]=h(T),B=i()(T,null==w?void 0:w.className,{[`${T}-${m}`]:Z,[`${T}-has-color`]:m&&!Z,[`${T}-hidden`]:!E,[`${T}-rtl`]:"rtl"===I,[`${T}-borderless`]:!$},a,p,R),H=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||P(!1)},[,A]=(0,c.Z)(y,v,(e=>null===e?o.createElement(r.Z,{className:`${T}-close-icon`,onClick:H}):o.createElement("span",{className:`${T}-close-icon`,onClick:H},e)),null,!1),L="function"==typeof k.onClick||g&&"a"===g.type,D=f||null,X=D?o.createElement(o.Fragment,null,D,g&&o.createElement("span",null,g)):g,_=o.createElement("span",Object.assign({},k,{ref:n,className:B,style:M}),X,A,N&&o.createElement(x,{key:"preset",prefixCls:T}),j&&o.createElement(C,{key:"status",prefixCls:T}));return z(L?o.createElement(s.Z,{component:"Tag"},_):_)},O=o.forwardRef(k);O.CheckableTag=v;var I=O}}]); |