From b291f3d885ed145600d3713204c84ff65c021691 Mon Sep 17 00:00:00 2001 From: wangxingkang Date: Thu, 4 Jan 2024 04:57:25 +0000 Subject: [PATCH] deploy: 1e6fbd5650e5af0e1219fc47f6264c9041edb618 --- assets/css/index-C3RnhB1q.css | 1 + assets/css/index-c6604afc.css | 1 - ...{index-94985698.css => index-iqaX95Kn.css} | 0 assets/js/index-0545c621.js | 517 ------------------ assets/js/index-143b534b.js | 1 - assets/js/index-6rLtl1Ps.js | 12 + assets/js/index-O_P1M2gD.js | 1 + .../{index-49e87341.js => index-b0Swbj61.js} | 2 +- assets/js/index-c8413a02.js | 10 - assets/js/index-nVNNlwDH.js | 494 +++++++++++++++++ index.html | 15 +- 11 files changed, 523 insertions(+), 531 deletions(-) create mode 100644 assets/css/index-C3RnhB1q.css delete mode 100644 assets/css/index-c6604afc.css rename assets/css/{index-94985698.css => index-iqaX95Kn.css} (100%) delete mode 100644 assets/js/index-0545c621.js delete mode 100644 assets/js/index-143b534b.js create mode 100644 assets/js/index-6rLtl1Ps.js create mode 100644 assets/js/index-O_P1M2gD.js rename assets/js/{index-49e87341.js => index-b0Swbj61.js} (99%) delete mode 100644 assets/js/index-c8413a02.js create mode 100644 assets/js/index-nVNNlwDH.js diff --git a/assets/css/index-C3RnhB1q.css b/assets/css/index-C3RnhB1q.css new file mode 100644 index 0000000..8667a66 --- /dev/null +++ b/assets/css/index-C3RnhB1q.css @@ -0,0 +1 @@ +html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.amap-container .amap-copyright,.amap-container .amap-logo{display:none!important}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none} diff --git a/assets/css/index-c6604afc.css b/assets/css/index-c6604afc.css deleted file mode 100644 index 039238a..0000000 --- a/assets/css/index-c6604afc.css +++ /dev/null @@ -1 +0,0 @@ -html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.amap-container .amap-copyright,.amap-container .amap-logo{display:none!important} diff --git a/assets/css/index-94985698.css b/assets/css/index-iqaX95Kn.css similarity index 100% rename from assets/css/index-94985698.css rename to assets/css/index-iqaX95Kn.css diff --git a/assets/js/index-0545c621.js b/assets/js/index-0545c621.js deleted file mode 100644 index e7e4c11..0000000 --- a/assets/js/index-0545c621.js +++ /dev/null @@ -1,517 +0,0 @@ -function A5(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function QC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var L={},hk={get exports(){return L},set exports(e){L=e}},Ym={},c={},yk={get exports(){return c},set exports(e){c=e}},Ht={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ff=Symbol.for("react.element"),bk=Symbol.for("react.portal"),Ck=Symbol.for("react.fragment"),xk=Symbol.for("react.strict_mode"),Sk=Symbol.for("react.profiler"),wk=Symbol.for("react.provider"),$k=Symbol.for("react.context"),Ek=Symbol.for("react.forward_ref"),Pk=Symbol.for("react.suspense"),Ok=Symbol.for("react.memo"),Mk=Symbol.for("react.lazy"),Vw=Symbol.iterator;function Rk(e){return e===null||typeof e!="object"?null:(e=Vw&&e[Vw]||e["@@iterator"],typeof e=="function"?e:null)}var j5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z5=Object.assign,H5={};function zc(e,t,n){this.props=e,this.context=t,this.refs=H5,this.updater=n||j5}zc.prototype.isReactComponent={};zc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};zc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B5(){}B5.prototype=zc.prototype;function ZC(e,t,n){this.props=e,this.context=t,this.refs=H5,this.updater=n||j5}var JC=ZC.prototype=new B5;JC.constructor=ZC;z5(JC,zc.prototype);JC.isPureReactComponent=!0;var Ww=Array.isArray,V5=Object.prototype.hasOwnProperty,ex={current:null},W5={key:!0,ref:!0,__self:!0,__source:!0};function K5(e,t,n){var r,o={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)V5.call(t,r)&&!W5.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(10?sr(Hc,--zr):0,fc--,Bn===10&&(fc=1,Xm--),Bn}function ao(){return Bn=zr2||bd(Bn)>3?"":" "}function Jk(e,t){for(;--t&&ao()&&!(Bn<48||Bn>102||Bn>57&&Bn<65||Bn>70&&Bn<97););return vf(e,Jv()+(t<6&&ba()==32&&ao()==32))}function F1(e){for(;ao();)switch(Bn){case e:return zr;case 34:case 39:e!==34&&e!==39&&F1(Bn);break;case 40:e===41&&F1(e);break;case 92:ao();break}return zr}function eF(e,t){for(;ao()&&e+Bn!==47+10;)if(e+Bn===42+42&&ba()===47)break;return"/*"+vf(t,zr-1)+"*"+Gm(e===47?e:ao())}function tF(e){for(;!bd(ba());)ao();return vf(e,zr)}function J5(e){return Z5(tp("",null,null,null,[""],e=Q5(e),0,[0],e))}function tp(e,t,n,r,o,a,i,l,s){for(var u=0,d=0,f=i,v=0,p=0,m=0,y=1,g=1,h=1,b=0,C="",x=o,S=a,w=r,$=C;g;)switch(m=b,b=ao()){case 40:if(m!=108&&sr($,f-1)==58){k1($+=on(ep(b),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:$+=ep(b);break;case 9:case 10:case 13:case 32:$+=Zk(m);break;case 92:$+=Jk(Jv()-1,7);continue;case 47:switch(ba()){case 42:case 47:av(nF(eF(ao(),Jv()),t,n),s);break;default:$+="/"}break;case 123*y:l[u++]=va($)*h;case 125*y:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+d:h==-1&&($=on($,/\f/g,"")),p>0&&va($)-f&&av(p>32?Yw($+";",r,n,f-1):Yw(on($," ","")+";",r,n,f-2),s);break;case 59:$+=";";default:if(av(w=Uw($,t,n,u,d,o,l,C,x=[],S=[],f),a),b===123)if(d===0)tp($,t,w,w,x,a,f,l,S);else switch(v===99&&sr($,3)===110?100:v){case 100:case 108:case 109:case 115:tp(e,w,w,r&&av(Uw(e,w,w,0,0,o,l,C,o,x=[],f),S),o,S,f,l,r?x:S);break;default:tp($,w,w,w,[""],S,0,l,S)}}u=d=p=0,y=h=1,C=$="",f=i;break;case 58:f=1+va($),p=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Qk()==125)continue}switch($+=Gm(b),b*y){case 38:h=d>0?1:($+="\f",-1);break;case 44:l[u++]=(va($)-1)*h,h=1;break;case 64:ba()===45&&($+=ep(ao())),v=ba(),d=f=va(C=$+=tF(Jv())),b++;break;case 45:m===45&&va($)==2&&(y=0)}}return a}function Uw(e,t,n,r,o,a,i,l,s,u,d){for(var f=o-1,v=o===0?a:[""],p=ox(v),m=0,y=0,g=0;m0?v[h]+" "+b:on(b,/&\f/g,v[h])))&&(s[g++]=C);return qm(e,t,n,o===0?nx:l,s,u,d)}function nF(e,t,n){return qm(e,t,n,Y5,Gm(qk()),yd(e,2,-2),0)}function Yw(e,t,n,r){return qm(e,t,n,rx,yd(e,0,r),yd(e,r+1,-1),r)}function El(e,t){for(var n="",r=ox(e),o=0;o6)switch(sr(e,t+1)){case 109:if(sr(e,t+4)!==45)break;case 102:return on(e,/(.+:)(.+)-([^]+)/,"$1"+rn+"$2-$3$1"+Np+(sr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~k1(e,"stretch")?t8(on(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(sr(e,t+1)!==115)break;case 6444:switch(sr(e,va(e)-3-(~k1(e,"!important")&&10))){case 107:return on(e,":",":"+rn)+e;case 101:return on(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rn+(sr(e,14)===45?"inline-":"")+"box$3$1"+rn+"$2$3$1"+br+"$2box$3")+e}break;case 5936:switch(sr(e,t+11)){case 114:return rn+e+br+on(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return rn+e+br+on(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return rn+e+br+on(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return rn+e+br+e+e}return e}var dF=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case rx:t.return=t8(t.value,t.length);break;case G5:return El([pu(t,{value:on(t.value,"@","@"+rn)})],o);case nx:if(t.length)return Xk(t.props,function(a){switch(Gk(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return El([pu(t,{props:[on(a,/:(read-\w+)/,":"+Np+"$1")]})],o);case"::placeholder":return El([pu(t,{props:[on(a,/:(plac\w+)/,":"+rn+"input-$1")]}),pu(t,{props:[on(a,/:(plac\w+)/,":"+Np+"$1")]}),pu(t,{props:[on(a,/:(plac\w+)/,br+"input-$1")]})],o)}return""})}},fF=[dF],vF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var g=y.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||fF,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var g=y.getAttribute("data-emotion").split(" "),h=1;h=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var PF={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},OF=/[A-Z]|^ms/g,MF=/_EMO_([^_]+?)_([^]*?)_EMO_/g,i8=function(t){return t.charCodeAt(1)===45},Xw=function(t){return t!=null&&typeof t!="boolean"},Gh=aF(function(e){return i8(e)?e:e.replace(OF,"-$&").toLowerCase()}),qw=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(MF,function(r,o,a){return pa={name:o,styles:a,next:pa},o})}return PF[t]!==1&&!i8(t)&&typeof n=="number"&&n!==0?n+"px":n};function xd(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return pa={name:n.name,styles:n.styles,next:pa},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)pa={name:r.name,styles:r.styles,next:pa},r=r.next;var o=n.styles+";";return o}return RF(e,t,n)}case"function":{if(e!==void 0){var a=pa,i=n(e);return pa=a,xd(e,t,i)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function RF(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o>>1,H=D[B];if(0>>1;Bo(W,z))Go(X,W)?(D[B]=X,D[G]=z,B=G):(D[B]=W,D[K]=z,B=K);else if(Go(X,z))D[B]=X,D[G]=z,B=G;else break e}}return j}function o(D,j){var z=D.sortIndex-j.sortIndex;return z!==0?z:D.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],d=1,f=null,v=3,p=!1,m=!1,y=!1,g=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(D){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=D)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function x(D){if(y=!1,C(D),!m)if(n(s)!==null)m=!0,k(S);else{var j=n(u);j!==null&&F(x,j.startTime-D)}}function S(D,j){m=!1,y&&(y=!1,h(R),R=-1),p=!0;var z=v;try{for(C(j),f=n(s);f!==null&&(!(f.expirationTime>j)||D&&!_());){var B=f.callback;if(typeof B=="function"){f.callback=null,v=f.priorityLevel;var H=B(f.expirationTime<=j);j=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(s)&&r(s),C(j)}else r(s);f=n(s)}if(f!==null)var V=!0;else{var K=n(u);K!==null&&F(x,K.startTime-j),V=!1}return V}finally{f=null,v=z,p=!1}}var w=!1,$=null,R=-1,I=5,N=-1;function _(){return!(e.unstable_now()-ND||125B?(D.sortIndex=z,t(u,D),n(s)===null&&D===n(u)&&(y?(h(R),R=-1):y=!0,F(x,z-B))):(D.sortIndex=H,t(s,D),m||p||(m=!0,k(S))),D},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(D){var j=v;return function(){var z=v;v=j;try{return D.apply(this,arguments)}finally{v=z}}}})(u8);(function(e){e.exports=u8})(jF);/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var d8=c,so=A1;function Ae(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),j1=Object.prototype.hasOwnProperty,zF=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Jw={},e$={};function HF(e){return j1.call(e$,e)?!0:j1.call(Jw,e)?!1:zF.test(e)?e$[e]=!0:(Jw[e]=!0,!1)}function BF(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function VF(e,t,n,r){if(t===null||typeof t>"u"||BF(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ir(e,t,n,r,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var pr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pr[e]=new Ir(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pr[t]=new Ir(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pr[e]=new Ir(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pr[e]=new Ir(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pr[e]=new Ir(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pr[e]=new Ir(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pr[e]=new Ir(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pr[e]=new Ir(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pr[e]=new Ir(e,5,!1,e.toLowerCase(),null,!1,!1)});var sx=/[\-:]([a-z])/g;function cx(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(sx,cx);pr[t]=new Ir(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(sx,cx);pr[t]=new Ir(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sx,cx);pr[t]=new Ir(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pr[e]=new Ir(e,1,!1,e.toLowerCase(),null,!1,!1)});pr.xlinkHref=new Ir("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pr[e]=new Ir(e,1,!1,e.toLowerCase(),null,!0,!0)});function ux(e,t,n,r){var o=pr.hasOwnProperty(t)?pr[t]:null;(o!==null?o.type!==0:r||!(2l||o[i]!==a[l]){var s=` -`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{qh=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Au(e):""}function WF(e){switch(e.tag){case 5:return Au(e.type);case 16:return Au("Lazy");case 13:return Au("Suspense");case 19:return Au("SuspenseList");case 0:case 2:case 15:return e=Qh(e.type,!1),e;case 11:return e=Qh(e.type.render,!1),e;case 1:return e=Qh(e.type,!0),e;default:return""}}function V1(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ds:return"Fragment";case Fs:return"Portal";case z1:return"Profiler";case dx:return"StrictMode";case H1:return"Suspense";case B1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p8:return(e.displayName||"Context")+".Consumer";case v8:return(e._context.displayName||"Context")+".Provider";case fx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vx:return t=e.displayName||null,t!==null?t:V1(e.type)||"Memo";case xi:t=e._payload,e=e._init;try{return V1(e(t))}catch{}}return null}function KF(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V1(t);case 8:return t===dx?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Wi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function g8(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function UF(e){var t=g8(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lv(e){e._valueTracker||(e._valueTracker=UF(e))}function h8(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=g8(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Tp(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function W1(e,t){var n=t.checked;return Rn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function n$(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function y8(e,t){t=t.checked,t!=null&&ux(e,"checked",t,!1)}function K1(e,t){y8(e,t);var n=Wi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?U1(e,t.type,n):t.hasOwnProperty("defaultValue")&&U1(e,t.type,Wi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function r$(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function U1(e,t,n){(t!=="number"||Tp(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ju=Array.isArray;function Zs(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=sv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},YF=["Webkit","ms","Moz","O"];Object.keys(Gu).forEach(function(e){YF.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gu[t]=Gu[e]})});function S8(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gu.hasOwnProperty(e)&&Gu[e]?(""+t).trim():t+"px"}function w8(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=S8(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var GF=Rn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function X1(e,t){if(t){if(GF[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ae(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ae(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ae(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ae(62))}}function q1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Q1=null;function px(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Z1=null,Js=null,ec=null;function i$(e){if(e=gf(e)){if(typeof Z1!="function")throw Error(Ae(280));var t=e.stateNode;t&&(t=fg(t),Z1(e.stateNode,e.type,t))}}function $8(e){Js?ec?ec.push(e):ec=[e]:Js=e}function E8(){if(Js){var e=Js,t=ec;if(ec=Js=null,i$(e),t)for(e=0;e>>=0,e===0?32:31-(aD(e)/iD|0)|0}var cv=64,uv=4194304;function zu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dp(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=zu(l):(a&=i,a!==0&&(r=zu(a)))}else i=n&~o,i!==0?r=zu(i):a!==0&&(r=zu(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function pf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ta(t),e[t]=n}function uD(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qu),m$=String.fromCharCode(32),g$=!1;function K8(e,t){switch(e){case"keyup":return AD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function U8(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ls=!1;function zD(e,t){switch(e){case"compositionend":return U8(t);case"keypress":return t.which!==32?null:(g$=!0,m$);case"textInput":return e=t.data,e===m$&&g$?null:e;default:return null}}function HD(e,t){if(Ls)return e==="compositionend"||!Sx&&K8(e,t)?(e=V8(),rp=bx=Pi=null,Ls=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=C$(n)}}function q8(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?q8(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Q8(){for(var e=window,t=Tp();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Tp(e.document)}return t}function wx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function qD(e){var t=Q8(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&q8(n.ownerDocument.documentElement,n)){if(r!==null&&wx(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=r.end===void 0?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=x$(n,a);var i=x$(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,As=null,oy=null,Zu=null,ay=!1;function S$(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ay||As==null||As!==Tp(r)||(r=As,"selectionStart"in r&&wx(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zu&&Rd(Zu,r)||(Zu=r,r=jp(oy,"onSelect"),0Hs||(e.current=dy[Hs],dy[Hs]=null,Hs--)}function yn(e,t){Hs++,dy[Hs]=e.current,e.current=t}var Ki={},wr=qi(Ki),Lr=qi(!1),_l=Ki;function pc(e,t){var n=e.type.contextTypes;if(!n)return Ki;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ar(e){return e=e.childContextTypes,e!=null}function Hp(){wn(Lr),wn(wr)}function R$(e,t,n){if(wr.current!==Ki)throw Error(Ae(168));yn(wr,t),yn(Lr,n)}function iO(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Ae(108,KF(e)||"Unknown",o));return Rn({},n,r)}function Bp(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ki,_l=wr.current,yn(wr,e),yn(Lr,Lr.current),!0}function I$(e,t,n){var r=e.stateNode;if(!r)throw Error(Ae(169));n?(e=iO(e,t,_l),r.__reactInternalMemoizedMergedChildContext=e,wn(Lr),wn(wr),yn(wr,e)):wn(Lr),yn(Lr,n)}var Aa=null,vg=!1,d0=!1;function lO(e){Aa===null?Aa=[e]:Aa.push(e)}function sL(e){vg=!0,lO(e)}function Qi(){if(!d0&&Aa!==null){d0=!0;var e=0,t=sn;try{var n=Aa;for(sn=1;e>=i,o-=i,za=1<<32-ta(t)+o|n<R?(I=$,$=null):I=$.sibling;var N=v(h,$,C[R],x);if(N===null){$===null&&($=I);break}e&&$&&N.alternate===null&&t(h,$),b=a(N,b,R),w===null?S=N:w.sibling=N,w=N,$=I}if(R===C.length)return n(h,$),Pn&&dl(h,R),S;if($===null){for(;RR?(I=$,$=null):I=$.sibling;var _=v(h,$,N.value,x);if(_===null){$===null&&($=I);break}e&&$&&_.alternate===null&&t(h,$),b=a(_,b,R),w===null?S=_:w.sibling=_,w=_,$=I}if(N.done)return n(h,$),Pn&&dl(h,R),S;if($===null){for(;!N.done;R++,N=C.next())N=f(h,N.value,x),N!==null&&(b=a(N,b,R),w===null?S=N:w.sibling=N,w=N);return Pn&&dl(h,R),S}for($=r(h,$);!N.done;R++,N=C.next())N=p($,h,R,N.value,x),N!==null&&(e&&N.alternate!==null&&$.delete(N.key===null?R:N.key),b=a(N,b,R),w===null?S=N:w.sibling=N,w=N);return e&&$.forEach(function(M){return t(h,M)}),Pn&&dl(h,R),S}function g(h,b,C,x){if(typeof C=="object"&&C!==null&&C.type===Ds&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case iv:e:{for(var S=C.key,w=b;w!==null;){if(w.key===S){if(S=C.type,S===Ds){if(w.tag===7){n(h,w.sibling),b=o(w,C.props.children),b.return=h,h=b;break e}}else if(w.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===xi&&L$(S)===w.type){n(h,w.sibling),b=o(w,C.props),b.ref=Cu(h,w,C),b.return=h,h=b;break e}n(h,w);break}else t(h,w);w=w.sibling}C.type===Ds?(b=Ol(C.props.children,h.mode,x,C.key),b.return=h,h=b):(x=dp(C.type,C.key,C.props,null,h.mode,x),x.ref=Cu(h,b,C),x.return=h,h=x)}return i(h);case Fs:e:{for(w=C.key;b!==null;){if(b.key===w)if(b.tag===4&&b.stateNode.containerInfo===C.containerInfo&&b.stateNode.implementation===C.implementation){n(h,b.sibling),b=o(b,C.children||[]),b.return=h,h=b;break e}else{n(h,b);break}else t(h,b);b=b.sibling}b=b0(C,h.mode,x),b.return=h,h=b}return i(h);case xi:return w=C._init,g(h,b,w(C._payload),x)}if(ju(C))return m(h,b,C,x);if(mu(C))return y(h,b,C,x);hv(h,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,b!==null&&b.tag===6?(n(h,b.sibling),b=o(b,C),b.return=h,h=b):(n(h,b),b=y0(C,h.mode,x),b.return=h,h=b),i(h)):n(h,b)}return g}var gc=mO(!0),gO=mO(!1),hf={},xa=qi(hf),_d=qi(hf),kd=qi(hf);function yl(e){if(e===hf)throw Error(Ae(174));return e}function Tx(e,t){switch(yn(kd,t),yn(_d,e),yn(xa,hf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:G1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=G1(t,e)}wn(xa),yn(xa,t)}function hc(){wn(xa),wn(_d),wn(kd)}function hO(e){yl(kd.current);var t=yl(xa.current),n=G1(t,e.type);t!==n&&(yn(_d,e),yn(xa,n))}function _x(e){_d.current===e&&(wn(xa),wn(_d))}var On=qi(0);function Gp(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var f0=[];function kx(){for(var e=0;en?n:4,e(!0);var r=v0.transition;v0.transition={};try{e(!1),t()}finally{sn=n,v0.transition=r}}function _O(){return ko().memoizedState}function fL(e,t,n){var r=zi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kO(e))FO(t,n);else if(n=dO(e,t,n,r),n!==null){var o=Or();na(n,e,r,o),DO(n,t,r)}}function vL(e,t,n){var r=zi(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kO(e))FO(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,ia(l,i)){var s=t.interleaved;s===null?(o.next=o,Ix(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=dO(e,t,o,r),n!==null&&(o=Or(),na(n,e,r,o),DO(n,t,r))}}function kO(e){var t=e.alternate;return e===Mn||t!==null&&t===Mn}function FO(e,t){Ju=Xp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function DO(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gx(e,n)}}var qp={readContext:_o,useCallback:hr,useContext:hr,useEffect:hr,useImperativeHandle:hr,useInsertionEffect:hr,useLayoutEffect:hr,useMemo:hr,useReducer:hr,useRef:hr,useState:hr,useDebugValue:hr,useDeferredValue:hr,useTransition:hr,useMutableSource:hr,useSyncExternalStore:hr,useId:hr,unstable_isNewReconciler:!1},pL={readContext:_o,useCallback:function(e,t){return fa().memoizedState=[e,t===void 0?null:t],e},useContext:_o,useEffect:j$,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,lp(4194308,4,MO.bind(null,t,e),n)},useLayoutEffect:function(e,t){return lp(4194308,4,e,t)},useInsertionEffect:function(e,t){return lp(4,2,e,t)},useMemo:function(e,t){var n=fa();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fa();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fL.bind(null,Mn,e),[r.memoizedState,e]},useRef:function(e){var t=fa();return e={current:e},t.memoizedState=e},useState:A$,useDebugValue:jx,useDeferredValue:function(e){return fa().memoizedState=e},useTransition:function(){var e=A$(!1),t=e[0];return e=dL.bind(null,e[1]),fa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Mn,o=fa();if(Pn){if(n===void 0)throw Error(Ae(407));n=n()}else{if(n=t(),er===null)throw Error(Ae(349));Fl&30||CO(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,j$(SO.bind(null,r,a,e),[e]),r.flags|=2048,Ld(9,xO.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=fa(),t=er.identifierPrefix;if(Pn){var n=Ha,r=za;n=(r&~(1<<32-ta(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[ma]=t,e[Td]=r,KO(e,t,!1,!1),t.stateNode=e;e:{switch(i=q1(n,r),n){case"dialog":xn("cancel",e),xn("close",e),o=r;break;case"iframe":case"object":case"embed":xn("load",e),o=r;break;case"video":case"audio":for(o=0;obc&&(t.flags|=128,r=!0,xu(a,!1),t.lanes=4194304)}else{if(!r)if(e=Gp(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Pn)return yr(t),null}else 2*An()-a.renderingStartTime>bc&&n!==1073741824&&(t.flags|=128,r=!0,xu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(n=a.last,n!==null?n.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=An(),t.sibling=null,n=On.current,yn(On,r?n&1|2:n&1),t):(yr(t),null);case 22:case 23:return Kx(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Zr&1073741824&&(yr(t),t.subtreeFlags&6&&(t.flags|=8192)):yr(t),null;case 24:return null;case 25:return null}throw Error(Ae(156,t.tag))}function SL(e,t){switch(Ex(t),t.tag){case 1:return Ar(t.type)&&Hp(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hc(),wn(Lr),wn(wr),kx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _x(t),null;case 13:if(wn(On),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Ae(340));mc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return wn(On),null;case 4:return hc(),null;case 10:return Rx(t.type._context),null;case 22:case 23:return Kx(),null;case 24:return null;default:return null}}var bv=!1,xr=!1,wL=typeof WeakSet=="function"?WeakSet:Set,lt=null;function Ks(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Nn(e,t,r)}else n.current=null}function wy(e,t,n){try{n()}catch(r){Nn(e,t,r)}}var G$=!1;function $L(e,t){if(iy=Lp,e=Q8(),wx(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,l=-1,s=-1,u=0,d=0,f=e,v=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(l=i+o),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)v=f,f=p;for(;;){if(f===e)break t;if(v===n&&++u===o&&(l=i),v===a&&++d===r&&(s=i),(p=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=p}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ly={focusedElem:e,selectionRange:n},Lp=!1,lt=t;lt!==null;)if(t=lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,lt=e;else for(;lt!==null;){t=lt;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,g=m.memoizedState,h=t.stateNode,b=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:Xo(t.type,y),g);h.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ae(163))}}catch(x){Nn(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,lt=e;break}lt=t.return}return m=G$,G$=!1,m}function ed(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&wy(t,n,a)}o=o.next}while(o!==r)}}function gg(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $y(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function GO(e){var t=e.alternate;t!==null&&(e.alternate=null,GO(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ma],delete t[Td],delete t[uy],delete t[iL],delete t[lL])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function XO(e){return e.tag===5||e.tag===3||e.tag===4}function X$(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||XO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ey(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zp));else if(r!==4&&(e=e.child,e!==null))for(Ey(e,t,n),e=e.sibling;e!==null;)Ey(e,t,n),e=e.sibling}function Py(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Py(e,t,n),e=e.sibling;e!==null;)Py(e,t,n),e=e.sibling}var lr=null,qo=!1;function mi(e,t,n){for(n=n.child;n!==null;)qO(e,t,n),n=n.sibling}function qO(e,t,n){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(sg,n)}catch{}switch(n.tag){case 5:xr||Ks(n,t);case 6:var r=lr,o=qo;lr=null,mi(e,t,n),lr=r,qo=o,lr!==null&&(qo?(e=lr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):lr.removeChild(n.stateNode));break;case 18:lr!==null&&(qo?(e=lr,n=n.stateNode,e.nodeType===8?u0(e.parentNode,n):e.nodeType===1&&u0(e,n),Od(e)):u0(lr,n.stateNode));break;case 4:r=lr,o=qo,lr=n.stateNode.containerInfo,qo=!0,mi(e,t,n),lr=r,qo=o;break;case 0:case 11:case 14:case 15:if(!xr&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&wy(n,t,i),o=o.next}while(o!==r)}mi(e,t,n);break;case 1:if(!xr&&(Ks(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Nn(n,t,l)}mi(e,t,n);break;case 21:mi(e,t,n);break;case 22:n.mode&1?(xr=(r=xr)||n.memoizedState!==null,mi(e,t,n),xr=r):mi(e,t,n);break;default:mi(e,t,n)}}function q$(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wL),t.forEach(function(r){var o=_L.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Vo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~a}if(r=o,r=An()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*PL(r/1960))-r,10e?16:e,Oi===null)var r=!1;else{if(e=Oi,Oi=null,Jp=0,Qt&6)throw Error(Ae(331));var o=Qt;for(Qt|=4,lt=e.current;lt!==null;){var a=lt,i=a.child;if(lt.flags&16){var l=a.deletions;if(l!==null){for(var s=0;sAn()-Vx?Pl(e,0):Bx|=n),jr(e,t)}function oM(e,t){t===0&&(e.mode&1?(t=uv,uv<<=1,!(uv&130023424)&&(uv=4194304)):t=1);var n=Or();e=qa(e,t),e!==null&&(pf(e,t,n),jr(e,n))}function TL(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),oM(e,n)}function _L(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ae(314))}r!==null&&r.delete(t),oM(e,n)}var aM;aM=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lr.current)Dr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Dr=!1,CL(e,t,n);Dr=!!(e.flags&131072)}else Dr=!1,Pn&&t.flags&1048576&&sO(t,Wp,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;sp(e,t),e=t.pendingProps;var o=pc(t,wr.current);nc(t,n),o=Dx(null,t,r,e,o,n);var a=Lx();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ar(r)?(a=!0,Bp(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Nx(t),o.updater=pg,t.stateNode=o,o._reactInternals=t,gy(t,r,e,n),t=by(null,t,r,!0,a,n)):(t.tag=0,Pn&&a&&$x(t),Er(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(sp(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=FL(r),e=Xo(r,e),o){case 0:t=yy(null,t,r,e,n);break e;case 1:t=K$(null,t,r,e,n);break e;case 11:t=V$(null,t,r,e,n);break e;case 14:t=W$(null,t,r,Xo(r.type,e),n);break e}throw Error(Ae(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),yy(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),K$(e,t,r,o,n);case 3:e:{if(BO(t),e===null)throw Error(Ae(387));r=t.pendingProps,a=t.memoizedState,o=a.element,fO(e,t),Yp(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=yc(Error(Ae(423)),t),t=U$(e,t,r,n,o);break e}else if(r!==o){o=yc(Error(Ae(424)),t),t=U$(e,t,r,n,o);break e}else for(to=Li(t.stateNode.containerInfo.firstChild),io=t,Pn=!0,Zo=null,n=gO(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mc(),r===o){t=Qa(e,t,n);break e}Er(e,t,r,n)}t=t.child}return t;case 5:return hO(t),e===null&&vy(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,sy(r,o)?i=null:a!==null&&sy(r,a)&&(t.flags|=32),HO(e,t),Er(e,t,i,n),t.child;case 6:return e===null&&vy(t),null;case 13:return VO(e,t,n);case 4:return Tx(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gc(t,null,r,n):Er(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),V$(e,t,r,o,n);case 7:return Er(e,t,t.pendingProps,n),t.child;case 8:return Er(e,t,t.pendingProps.children,n),t.child;case 12:return Er(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,yn(Kp,r._currentValue),r._currentValue=i,a!==null)if(ia(a.value,i)){if(a.children===o.children&&!Lr.current){t=Qa(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Ka(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?s.next=s:(s.next=d.next,d.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),py(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(Ae(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),py(i,n,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Er(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,nc(t,n),o=_o(o),r=r(o),t.flags|=1,Er(e,t,r,n),t.child;case 14:return r=t.type,o=Xo(r,t.pendingProps),o=Xo(r.type,o),W$(e,t,r,o,n);case 15:return jO(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),sp(e,t),t.tag=1,Ar(r)?(e=!0,Bp(t)):e=!1,nc(t,n),pO(t,r,o),gy(t,r,o,n),by(null,t,r,!0,e,n);case 19:return WO(e,t,n);case 22:return zO(e,t,n)}throw Error(Ae(156,t.tag))};function iM(e,t){return T8(e,t)}function kL(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function No(e,t,n,r){return new kL(e,t,n,r)}function Yx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function FL(e){if(typeof e=="function")return Yx(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fx)return 11;if(e===vx)return 14}return 2}function Hi(e,t){var n=e.alternate;return n===null?(n=No(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function dp(e,t,n,r,o,a){var i=2;if(r=e,typeof e=="function")Yx(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ds:return Ol(n.children,o,a,t);case dx:i=8,o|=8;break;case z1:return e=No(12,n,t,o|2),e.elementType=z1,e.lanes=a,e;case H1:return e=No(13,n,t,o),e.elementType=H1,e.lanes=a,e;case B1:return e=No(19,n,t,o),e.elementType=B1,e.lanes=a,e;case m8:return yg(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case v8:i=10;break e;case p8:i=9;break e;case fx:i=11;break e;case vx:i=14;break e;case xi:i=16,r=null;break e}throw Error(Ae(130,e==null?e:typeof e,""))}return t=No(i,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function Ol(e,t,n,r){return e=No(7,e,r,t),e.lanes=n,e}function yg(e,t,n,r){return e=No(22,e,r,t),e.elementType=m8,e.lanes=n,e.stateNode={isHidden:!1},e}function y0(e,t,n){return e=No(6,e,null,t),e.lanes=n,e}function b0(e,t,n){return t=No(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function DL(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jh(0),this.expirationTimes=Jh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jh(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Gx(e,t,n,r,o,a,i,l,s){return e=new DL(e,t,n,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=No(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nx(a),e}function LL(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch{}}t(),e.exports=fo})(AF);const Cc=QC(Ya),BL=A5({__proto__:null,default:Cc},[Ya]);var o4=Ya;L1.createRoot=o4.createRoot,L1.hydrateRoot=o4.hydrateRoot;/** - * @remix-run/router v1.6.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zx(e,t){if(!e)try{throw new Error(t)}catch{}}function WL(){return Math.random().toString(36).substr(2,8)}function i4(e,t){return{usr:e.state,key:e.key,idx:t}}function Ny(e,t,n,r){return n===void 0&&(n=null),jd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Wc(t):t,{state:n,key:t&&t.key||r||WL()})}function uM(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Wc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function KL(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,l=Mi.Pop,s=null,u=d();u==null&&(u=0,i.replaceState(jd({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){l=Mi.Pop;let g=d(),h=g==null?null:g-u;u=g,s&&s({action:l,location:y.location,delta:h})}function v(g,h){l=Mi.Push;let b=Ny(y.location,g,h);n&&n(b,g),u=d()+1;let C=i4(b,u),x=y.createHref(b);try{i.pushState(C,"",x)}catch{o.location.assign(x)}a&&s&&s({action:l,location:y.location,delta:1})}function p(g,h){l=Mi.Replace;let b=Ny(y.location,g,h);n&&n(b,g),u=d();let C=i4(b,u),x=y.createHref(b);i.replaceState(C,"",x),a&&s&&s({action:l,location:y.location,delta:0})}function m(g){let h=o.location.origin!=="null"?o.location.origin:o.location.href,b=typeof g=="string"?g:uM(g);return fr(h,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,h)}let y={get action(){return l},get location(){return e(o,i)},listen(g){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(a4,f),s=g,()=>{o.removeEventListener(a4,f),s=null}},createHref(g){return t(o,g)},createURL:m,encodeLocation(g){let h=m(g);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:v,replace:p,go(g){return i.go(g)}};return y}var l4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(l4||(l4={}));function UL(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Wc(t):t,o=vM(r.pathname||"/",n);if(o==null)return null;let a=dM(e);YL(a);let i=null;for(let l=0;i==null&&l{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};s.relativePath.startsWith("/")&&(fr(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Ml([r,s.relativePath]),d=n.concat(s);a.children&&a.children.length>0&&(fr(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),dM(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:eA(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))o(a,i);else for(let s of fM(a.path))o(a,i,s)}),t}function fM(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let i=fM(r.join("/")),l=[];return l.push(...i.map(s=>s===""?a:[a,s].join("/"))),o&&l.push(...i),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function YL(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const GL=/^:\w+$/,XL=3,qL=2,QL=1,ZL=10,JL=-2,s4=e=>e==="*";function eA(e,t){let n=e.split("/"),r=n.length;return n.some(s4)&&(r+=JL),t&&(r+=qL),n.filter(o=>!s4(o)).reduce((o,a)=>o+(GL.test(a)?XL:a===""?QL:ZL),r)}function tA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function nA(e,t){let{routesMeta:n}=e,r={},o="/",a=[];for(let i=0;i{if(d==="*"){let v=l[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}return u[d]=iA(l[f]||"",d),u},{}),pathname:a,pathnameBase:i,pattern:e}}function oA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,l)=>(r.push(l),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function aA(e){try{return decodeURI(e)}catch(t){return Zx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function iA(e,t){try{return decodeURIComponent(e)}catch(n){return Zx(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function vM(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function lA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Wc(e):e;return{pathname:n?n.startsWith("/")?n:sA(n,t):t,search:uA(r),hash:dA(o)}}function sA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function C0(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function pM(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function mM(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Wc(e):(o=jd({},e),fr(!o.pathname||!o.pathname.includes("?"),C0("?","pathname","search",o)),fr(!o.pathname||!o.pathname.includes("#"),C0("#","pathname","hash",o)),fr(!o.search||!o.search.includes("#"),C0("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(r||i==null)l=n;else{let f=t.length-1;if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),f-=1;o.pathname=v.join("/")}l=f>=0?t[f]:"/"}let s=lA(o,l),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||d)&&(s.pathname+="/"),s}const Ml=e=>e.join("/").replace(/\/\/+/g,"/"),cA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),uA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,dA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function fA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gM=["post","put","patch","delete"];new Set(gM);const vA=["get",...gM];new Set(vA);/** - * React Router v6.11.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function nm(){return nm=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),a=c.useRef(!1);return bM(()=>{a.current=!0}),c.useCallback(function(l,s){if(s===void 0&&(s={}),!a.current)return;if(typeof l=="number"){t.go(l);return}let u=mM(l,JSON.parse(o),r,s.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Ml([e,u.pathname])),(s.replace?t.replace:t.push)(u,s.state,s)},[e,t,o,r])}const hA=c.createContext(null);function yA(e){let t=c.useContext(Zi).outlet;return t&&c.createElement(hA.Provider,{value:e},t)}function bA(e,t){return CA(e,t)}function CA(e,t,n){yf()||fr(!1);let{navigator:r}=c.useContext(wg),{matches:o}=c.useContext(Zi),a=o[o.length-1],i=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let s=Eg(),u;if(t){var d;let y=typeof t=="string"?Wc(t):t;l==="/"||(d=y.pathname)!=null&&d.startsWith(l)||fr(!1),u=y}else u=s;let f=u.pathname||"/",v=l==="/"?f:f.slice(l.length)||"/",p=UL(e,{pathname:v}),m=EA(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:Ml([l,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:Ml([l,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n);return t&&m?c.createElement($g.Provider,{value:{location:nm({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Mi.Pop}},m):m}function xA(){let e=RA(),t=fA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:o},n):null,a)}const SA=c.createElement(xA,null);class wA extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){}render(){return this.state.error?c.createElement(Zi.Provider,{value:this.props.routeContext},c.createElement(yM.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $A(e){let{routeContext:t,match:n,children:r}=e,o=c.useContext(hM);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(Zi.Provider,{value:t},r)}function EA(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let a=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let l=a.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));l>=0||fr(!1),a=a.slice(0,Math.min(a.length,l+1))}return a.reduceRight((l,s,u)=>{let d=s.route.id?i==null?void 0:i[s.route.id]:null,f=null;n&&(f=s.route.errorElement||SA);let v=t.concat(a.slice(0,u+1)),p=()=>{let m;return d?m=f:s.route.Component?m=c.createElement(s.route.Component,null):s.route.element?m=s.route.element:m=l,c.createElement($A,{match:s,routeContext:{outlet:l,matches:v,isDataRoute:n!=null},children:m})};return n&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?c.createElement(wA,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:p(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):p()},null)}var Ty;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(Ty||(Ty={}));var zd;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(zd||(zd={}));function PA(e){let t=c.useContext(hM);return t||fr(!1),t}function OA(e){let t=c.useContext(pA);return t||fr(!1),t}function MA(e){let t=c.useContext(Zi);return t||fr(!1),t}function CM(e){let t=MA(),n=t.matches[t.matches.length-1];return n.route.id||fr(!1),n.route.id}function RA(){var e;let t=c.useContext(yM),n=OA(zd.UseRouteError),r=CM(zd.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function IA(){let{router:e}=PA(Ty.UseNavigateStable),t=CM(zd.UseNavigateStable),n=c.useRef(!1);return bM(()=>{n.current=!0}),c.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,nm({fromRouteId:t},a)))},[e,t])}function NA(e){let{to:t,replace:n,state:r,relative:o}=e;yf()||fr(!1);let{matches:a}=c.useContext(Zi),{pathname:i}=Eg(),l=mA(),s=mM(t,pM(a).map(d=>d.pathnameBase),i,o==="path"),u=JSON.stringify(s);return c.useEffect(()=>l(JSON.parse(u),{replace:n,state:r,relative:o}),[l,u,o,n,r]),null}function TA(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Mi.Pop,navigator:a,static:i=!1}=e;yf()&&fr(!1);let l=t.replace(/^\/*/,"/"),s=c.useMemo(()=>({basename:l,navigator:a,static:i}),[l,a,i]);typeof r=="string"&&(r=Wc(r));let{pathname:u="/",search:d="",hash:f="",state:v=null,key:p="default"}=r,m=c.useMemo(()=>{let y=vM(u,l);return y==null?null:{location:{pathname:y,search:d,hash:f,state:v,key:p},navigationType:o}},[l,u,d,f,v,p,o]);return m==null?null:c.createElement(wg.Provider,{value:s},c.createElement($g.Provider,{children:n,value:m}))}var c4;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(c4||(c4={}));new Promise(()=>{});/** - * React Router DOM v6.11.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function _A(e){let{basename:t,children:n,window:r}=e,o=c.useRef();o.current==null&&(o.current=VL({window:r,v5Compat:!0}));let a=o.current,[i,l]=c.useState({action:a.action,location:a.location});return c.useLayoutEffect(()=>a.listen(l),[a]),c.createElement(TA,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:a})}var u4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(u4||(u4={}));var d4;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(d4||(d4={}));const kA="modulepreload",FA=function(e){return"/vite-react-starter/"+e},f4={},Jx=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=FA(a),a in f4)return;f4[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let d=o.length-1;d>=0;d--){const f=o[d];if(f.href===a&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":kA,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((d,f)=>{u.addEventListener("load",d),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())};function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},We(e)}function DA(e,t){if(We(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(We(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xM(e){var t=DA(e,"string");return We(t)==="symbol"?t:String(t)}function v4(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AA(e,t){if(t&&(We(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mt(e)}function Ao(e){var t=LA();return function(){var r=rm(e),o;if(t){var a=rm(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return AA(this,o)}}var ky={},jA={get exports(){return ky},set exports(e){ky=e}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Z.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Mr(r)):Cd.isFragment(r)&&r.props?n=n.concat(Mr(r.props.children,t)):n.push(r))}),n}var Fy={},zA=function(t){};function HA(e,t){}function BA(e,t){}function VA(){Fy={}}function SM(e,t,n){!t&&!Fy[n]&&(e(!1,n),Fy[n]=!0)}function Wt(e,t){SM(HA,e,t)}function Al(e,t){SM(BA,e,t)}Wt.preMessage=zA;Wt.resetWarned=VA;Wt.noteOnce=Al;function A(e,t,n){return t=xM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0},e.prototype.connect_=function(){!Dy||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),XA?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Dy||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=GA.some(function(a){return!!~r.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),$M=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Sc(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new oj(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Sc(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new aj(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),PM=typeof WeakMap<"u"?new WeakMap:new wM,OM=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=qA.getInstance(),r=new ij(t,n,this);PM.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){OM.prototype[e]=function(){var t;return(t=PM.get(this))[e].apply(t,arguments)}});var MM=function(){return typeof am.ResizeObserver<"u"?am.ResizeObserver:OM}(),Ri=new Map;function lj(e){e.forEach(function(t){var n,r=t.target;(n=Ri.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var RM=new MM(lj);function sj(e,t){Ri.has(e)||(Ri.set(e,new Set),RM.observe(e)),Ri.get(e).add(t)}function cj(e,t){Ri.has(e)&&(Ri.get(e).delete(t),Ri.get(e).size||(RM.unobserve(e),Ri.delete(e)))}var uj=function(e){Lo(n,e);var t=Ao(n);function n(){return Tn(this,n),t.apply(this,arguments)}return _n(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),Ly=c.createContext(null);function dj(e){var t=e.children,n=e.onBatchResize,r=c.useRef(0),o=c.useRef([]),a=c.useContext(Ly),i=c.useCallback(function(l,s,u){r.current+=1;var d=r.current;o.current.push({size:l,element:s,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(l,s,u)},[n,a]);return c.createElement(Ly.Provider,{value:i},t)}function fj(e,t){var n=e.children,r=e.disabled,o=c.useRef(null),a=c.useRef(null),i=c.useContext(Ly),l=typeof n=="function",s=l?n(o):n,u=c.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&c.isValidElement(s)&&Zl(s),f=d?s.ref:null,v=c.useMemo(function(){return rr(f,o)},[f,o]),p=function(){return xc(o.current)||xc(a.current)};c.useImperativeHandle(t,function(){return p()});var m=c.useRef(e);m.current=e;var y=c.useCallback(function(g){var h=m.current,b=h.onResize,C=h.data,x=g.getBoundingClientRect(),S=x.width,w=x.height,$=g.offsetWidth,R=g.offsetHeight,I=Math.floor(S),N=Math.floor(w);if(u.current.width!==I||u.current.height!==N||u.current.offsetWidth!==$||u.current.offsetHeight!==R){var _={width:I,height:N,offsetWidth:$,offsetHeight:R};u.current=_;var M=$===Math.round(S)?S:$,P=R===Math.round(w)?w:R,O=E(E({},_),{},{offsetWidth:M,offsetHeight:P});i==null||i(O,g,C),b&&Promise.resolve().then(function(){b(O,g)})}},[]);return c.useEffect(function(){var g=p();return g&&!r&&sj(g,y),function(){return cj(g,y)}},[o.current,r]),c.createElement(uj,{ref:a},d?c.cloneElement(s,{ref:v}):s)}var vj=c.forwardRef(fj),pj="rc-observer-key";function mj(e,t){var n=e.children,r=typeof n=="function"?[n]:Mr(n);return r.map(function(o,a){var i=(o==null?void 0:o.key)||"".concat(pj,"-").concat(a);return c.createElement(vj,be({},e,{key:i,ref:a===0?t:void 0}),o)})}var la=c.forwardRef(mj);la.Collection=dj;function $n(e,t){var n=E({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}function Ay(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function yj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}function Oe(e,t){if(e==null)return{};var n=yj(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(Wt(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(n&&l>1)return!1;r.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Sj}function Mg(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function wj(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function TM(e){return Array.from((zy.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function _M(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$r())return null;var n=t.csp,r=t.prepend,o=document.createElement("style");o.setAttribute(g4,wj(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;var a=Mg(t),i=a.firstChild;if(r){if(r==="queue"){var l=TM(a).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(g4))});if(l.length)return a.insertBefore(o,l[l.length-1].nextSibling),o}a.insertBefore(o,i)}else a.appendChild(o);return o}function kM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Mg(t);return TM(n).find(function(r){return r.getAttribute(NM(t))===e})}function lm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=kM(e,t);if(n){var r=Mg(t);r.removeChild(n)}}function $j(e,t){var n=zy.get(e);if(!n||!Rl(document,n)){var r=_M("",t),o=r.parentNode;zy.set(e,o),e.removeChild(r)}}function wc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Mg(n);$j(r,n);var o=kM(t,n);if(o){var a,i;if((a=n.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)){var l;o.nonce=(l=n.csp)===null||l===void 0?void 0:l.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=_M(e,n);return s.setAttribute(NM(n),t),s}function sm(e){var t="";return Object.keys(e).forEach(function(n){var r=e[n];t+=n,r&&We(r)==="object"?t+=sm(r):t+=r}),t}function Ej(e,t){return tS("".concat(t,"_").concat(sm(e)))}var rd="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),FM="903px";function Pj(e,t){if($r()){var n;wc(e,rd);var r=document.createElement("div");r.style.position="fixed",r.style.left="0",r.style.top="0",t==null||t(r),document.body.appendChild(r);var o=getComputedStyle(r).width===FM;return(n=r.parentNode)===null||n===void 0||n.removeChild(r),lm(rd),o}return!1}var x0=void 0;function Oj(){return x0===void 0&&(x0=Pj("@layer ".concat(rd," { .").concat(rd," { width: ").concat(FM,"!important; } }"),function(e){e.className=rd})),x0}function DM(e){if(Array.isArray(e))return e}function Mj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function LM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(e,t){return DM(e)||Mj(e,t)||Og(e,t)||LM()}function AM(e,t,n,r){var o=c.useContext(nS),a=o.cache,i=[e].concat(xe(t));return c.useMemo(function(){a.update(i,function(l){var s=l||[],u=U(s,2),d=u[0],f=d===void 0?0:d,v=u[1],p=v,m=p||n();return[f+1,m]})},[i.join("_")]),c.useEffect(function(){return function(){a.update(i,function(l){var s=l||[],u=U(s,2),d=u[0],f=d===void 0?0:d,v=u[1],p=f-1;return p===0?(r==null||r(v,!1),null):[f-1,v]})}},i),a.get(i)[1]}var Rj={},Ij="css",ml=new Map;function Nj(e){ml.set(e,(ml.get(e)||0)+1)}function Tj(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(jy,'="').concat(e,'"]'));n.forEach(function(r){if(r[Ys]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}function _j(e,t){ml.set(e,(ml.get(e)||0)-1);var n=Array.from(ml.keys()),r=n.filter(function(o){var a=ml.get(o)||0;return a<=0});r.length2&&arguments[2]!==void 0?arguments[2]:{},r=c.useContext(nS),o=r.cache.instanceId,a=n.salt,i=a===void 0?"":a,l=n.override,s=l===void 0?Rj:l,u=n.formatToken,d=c.useMemo(function(){return Object.assign.apply(Object,[{}].concat(xe(t)))},[t]),f=c.useMemo(function(){return sm(d)},[d]),v=c.useMemo(function(){return sm(s)},[s]),p=AM("token",[i,e.id,f,v],function(){var m=e.getDerivativeToken(d),y=E(E({},m),s);u&&(y=u(y));var g=Ej(y,i);y._tokenKey=g,Nj(g);var h="".concat(Ij,"-").concat(tS(g));return y._hashId=h,[y,h]},function(m){_j(m[0]._tokenKey,o)});return p}var kj={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},h4=$r(),Fj="_skip_check_",zM="_multi_value_";function y4(e){var t=El(J5(e),e8);return t.replace(/\{%%%\:[^;];}/g,";")}function Dj(e){return We(e)==="object"&&e&&(Fj in e||zM in e)}function Lj(e,t,n){if(!t)return e;var r=".".concat(t),o=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(i){var l,s=i.trim().split(/\s+/),u=s[0]||"",d=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u="".concat(d).concat(o).concat(u.slice(d.length)),[u].concat(xe(s.slice(1))).join(" ")});return a.join(",")}var Aj=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,a=r.injectHash,i=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var v="",p={};function m(C){var x=C.getName(l);if(!p[x]){var S=e(C.style,n,{root:!1,parentSelectors:i}),w=U(S,1),$=w[0];p[x]="@keyframes ".concat(C.getName(l)).concat($)}}function y(C){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function(S){Array.isArray(S)?y(S,x):S&&x.push(S)}),x}var g=y(Array.isArray(t)?t:[t]);if(g.forEach(function(C){var x=typeof C=="string"&&!o?{}:C;if(typeof x=="string")v+="".concat(x,` -`);else if(x._keyframe)m(x);else{var S=f.reduce(function(w,$){var R;return($==null||(R=$.visit)===null||R===void 0?void 0:R.call($,w))||w},x);Object.keys(S).forEach(function(w){var $=S[w];if(We($)==="object"&&$&&(w!=="animationName"||!$._keyframe)&&!Dj($)){var R=!1,I=w.trim(),N=!1;(o||a)&&l?I.startsWith("@")?R=!0:I=Lj(w,l,u):o&&!l&&(I==="&"||I==="")&&(I="",N=!0);var _=e($,n,{root:N,injectHash:R,parentSelectors:[].concat(xe(i),[I])}),M=U(_,2),P=M[0],O=M[1];p=E(E({},p),O),v+="".concat(I).concat(P)}else{let F=function(D,j){var z=D.replace(/[A-Z]/g,function(H){return"-".concat(H.toLowerCase())}),B=j;!kj[D]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),D==="animationName"&&j!==null&&j!==void 0&&j._keyframe&&(m(j),B=j.getName(l)),v+="".concat(z,":").concat(B,";")};var T,k=(T=$==null?void 0:$.value)!==null&&T!==void 0?T:$;We($)==="object"&&$!==null&&$!==void 0&&$[zM]&&Array.isArray(k)?k.forEach(function(D){F(w,D)}):F(w,k)}})}}),!o)v="{".concat(v,"}");else if(s&&Oj()){var h=s.split(","),b=h[h.length-1].trim();v="@layer ".concat(b," {").concat(v,"}"),h.length>1&&(v="@layer ".concat(s,"{%%%:%}").concat(v))}return[v,p]};function jj(e,t){return tS("".concat(e.join("%")).concat(t))}function zj(){return null}function cm(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,l=c.useContext(nS),s=l.autoClear;l.mock;var u=l.defaultCache,d=l.hashPriority,f=l.container,v=l.ssrInline,p=l.transformers,m=l.linters,y=l.cache,g=n._tokenKey,h=[g].concat(xe(r)),b=h4,C=AM("style",h,function(){var R=t(),I=Aj(R,{hashId:o,hashPriority:d,layer:a,path:r.join("-"),transformers:p,linters:m}),N=U(I,2),_=N[0],M=N[1],P=y4(_),O=jj(h,P);if(b){var T={mark:oc,prepend:"queue",attachTo:f},k=typeof i=="function"?i():i;k&&(T.csp={nonce:k});var F=wc(P,O,T);F[Ys]=y.instanceId,F.setAttribute(jy,g),Object.keys(M).forEach(function(D){wc(y4(M[D]),"_effect-".concat(D),T)})}return[P,g,O]},function(R,I){var N=U(R,3),_=N[2];(I||s)&&h4&&lm(_,{mark:oc})}),x=U(C,3),S=x[0],w=x[1],$=x[2];return function(R){var I;if(!v||b||!u)I=c.createElement(zj,null);else{var N;I=c.createElement("style",be({},(N={},A(N,jy,w),A(N,oc,$),N),{dangerouslySetInnerHTML:{__html:S}}))}return c.createElement(c.Fragment,null,I,R)}}var Rt=function(){function e(t,n){Tn(this,e),A(this,"name",void 0),A(this,"style",void 0),A(this,"_keyframe",!0),this.name=t,this.style=n}return _n(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Hj(e,t){if(e.length!==t.length)return!1;for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(l){if(!i)i=void 0;else{var s,u;i=(s=i)===null||s===void 0||(u=s.map)===null||u===void 0?void 0:u.get(l)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(u,d){var f=U(u,2),v=f[1];return o.internalGet(d)[1]0,void 0),b4+=1}return _n(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),S0=new rS;function oS(e){var t=Array.isArray(e)?e:[e];return S0.has(t)||S0.set(t,new Bj(t)),S0.get(t)}function ds(e){return e.notSplit=!0,e}ds(["borderTop","borderBottom"]),ds(["borderTop"]),ds(["borderBottom"]),ds(["borderLeft","borderRight"]),ds(["borderLeft"]),ds(["borderRight"]);var Vj=c.createContext({});const Rg=Vj;var bl="RC_FORM_INTERNAL_HOOKS",fn=function(){Wt(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},jl=c.createContext({getFieldValue:fn,getFieldsValue:fn,getFieldError:fn,getFieldWarning:fn,getFieldsError:fn,isFieldsTouched:fn,isFieldTouched:fn,isFieldValidating:fn,isFieldsValidating:fn,resetFields:fn,setFields:fn,setFieldValue:fn,setFieldsValue:fn,validateFields:fn,submit:fn,getInternalHooks:function(){return fn(),{dispatch:fn,initEntityValue:fn,registerField:fn,useSubscribe:fn,setInitialValues:fn,destroyForm:fn,setCallbacks:fn,registerWatch:fn,getFields:fn,setValidateMessages:fn,setPreserve:fn,getInitialValue:fn}}}),um=c.createContext(null);function Hy(e){return e==null?[]:Array.isArray(e)?e:[e]}function Wj(e){return e&&!!e._init}function Dt(){Dt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(M,P,O){M[P]=O.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(M,P,O){return Object.defineProperty(M,P,{value:O,enumerable:!0,configurable:!0,writable:!0}),M[P]}try{s({},"")}catch{s=function(O,T,k){return O[T]=k}}function u(M,P,O,T){var k=P&&P.prototype instanceof v?P:v,F=Object.create(k.prototype),D=new I(T||[]);return r(F,"_invoke",{value:S(M,O,D)}),F}function d(M,P,O){try{return{type:"normal",arg:M.call(P,O)}}catch(T){return{type:"throw",arg:T}}}e.wrap=u;var f={};function v(){}function p(){}function m(){}var y={};s(y,a,function(){return this});var g=Object.getPrototypeOf,h=g&&g(g(N([])));h&&h!==t&&n.call(h,a)&&(y=h);var b=m.prototype=v.prototype=Object.create(y);function C(M){["next","throw","return"].forEach(function(P){s(M,P,function(O){return this._invoke(P,O)})})}function x(M,P){function O(k,F,D,j){var z=d(M[k],M,F);if(z.type!=="throw"){var B=z.arg,H=B.value;return H&&We(H)=="object"&&n.call(H,"__await")?P.resolve(H.__await).then(function(V){O("next",V,D,j)},function(V){O("throw",V,D,j)}):P.resolve(H).then(function(V){B.value=V,D(B)},function(V){return O("throw",V,D,j)})}j(z.arg)}var T;r(this,"_invoke",{value:function(F,D){function j(){return new P(function(z,B){O(F,D,z,B)})}return T=T?T.then(j,j):j()}})}function S(M,P,O){var T="suspendedStart";return function(k,F){if(T==="executing")throw new Error("Generator is already running");if(T==="completed"){if(k==="throw")throw F;return _()}for(O.method=k,O.arg=F;;){var D=O.delegate;if(D){var j=w(D,O);if(j){if(j===f)continue;return j}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(T==="suspendedStart")throw T="completed",O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);T="executing";var z=d(M,P,O);if(z.type==="normal"){if(T=O.done?"completed":"suspendedYield",z.arg===f)continue;return{value:z.arg,done:O.done}}z.type==="throw"&&(T="completed",O.method="throw",O.arg=z.arg)}}}function w(M,P){var O=P.method,T=M.iterator[O];if(T===void 0)return P.delegate=null,O==="throw"&&M.iterator.return&&(P.method="return",P.arg=void 0,w(M,P),P.method==="throw")||O!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+O+"' method")),f;var k=d(T,M.iterator,P.arg);if(k.type==="throw")return P.method="throw",P.arg=k.arg,P.delegate=null,f;var F=k.arg;return F?F.done?(P[M.resultName]=F.value,P.next=M.nextLoc,P.method!=="return"&&(P.method="next",P.arg=void 0),P.delegate=null,f):F:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,f)}function $(M){var P={tryLoc:M[0]};1 in M&&(P.catchLoc=M[1]),2 in M&&(P.finallyLoc=M[2],P.afterLoc=M[3]),this.tryEntries.push(P)}function R(M){var P=M.completion||{};P.type="normal",delete P.arg,M.completion=P}function I(M){this.tryEntries=[{tryLoc:"root"}],M.forEach($,this),this.reset(!0)}function N(M){if(M){var P=M[a];if(P)return P.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length)){var O=-1,T=function k(){for(;++O=0;--k){var F=this.tryEntries[k],D=F.completion;if(F.tryLoc==="root")return T("end");if(F.tryLoc<=this.prev){var j=n.call(F,"catchLoc"),z=n.call(F,"finallyLoc");if(j&&z){if(this.prev=0;--T){var k=this.tryEntries[T];if(k.tryLoc<=this.prev&&n.call(k,"finallyLoc")&&this.prev=0;--O){var T=this.tryEntries[O];if(T.finallyLoc===P)return this.complete(T.completion,T.afterLoc),R(T),f}},catch:function(P){for(var O=this.tryEntries.length-1;O>=0;--O){var T=this.tryEntries[O];if(T.tryLoc===P){var k=T.completion;if(k.type==="throw"){var F=k.arg;R(T)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(P,O,T){return this.delegate={iterator:N(P),resultName:O,nextLoc:T},this.method==="next"&&(this.arg=void 0),f}},e}function C4(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,o)}function tr(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(s){C4(a,r,o,i,l,"next",s)}function l(s){C4(a,r,o,i,l,"throw",s)}i(void 0)})}}function Cl(){return Cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function fp(e,t,n){return Uj()?fp=Reflect.construct.bind():fp=function(o,a,i){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(o,l),u=new s;return i&&Hd(u,i.prototype),u},fp.apply(null,arguments)}function Yj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Vy(e){var t=typeof Map=="function"?new Map:void 0;return Vy=function(r){if(r===null||!Yj(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return fp(r,arguments,By(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hd(o,r)},Vy(e)}var Gj=/%[sdj%]/g,Xj=function(){};typeof process<"u"&&process.env;function Wy(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function no(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function qj(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Xn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||qj(t)&&typeof e=="string"&&!e)}function Qj(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,l||[]),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function x4(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Bu={integer:function(t){return Bu.number(t)&&parseInt(t,10)===t},float:function(t){return Bu.number(t)&&!Bu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Bu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(E4.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(rz())},hex:function(t){return typeof t=="string"&&!!t.match(E4.hex)}},oz=function(t,n,r,o,a){if(t.required&&n===void 0){HM(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?Bu[l](n)||o.push(no(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(no(a.messages.types[l],t.fullField,t.type))},az=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,v=typeof n=="number",p=typeof n=="string",m=Array.isArray(n);if(v?f="number":p?f="string":m&&(f="array"),!f)return!1;m&&(d=n.length),p&&(d=n.replace(u,"_").length),i?d!==t.len&&o.push(no(a.messages[f].len,t.fullField,t.len)):l&&!s&&dt.max?o.push(no(a.messages[f].max,t.fullField,t.max)):l&&s&&(dt.max)&&o.push(no(a.messages[f].range,t.fullField,t.min,t.max))},fs="enum",iz=function(t,n,r,o,a){t[fs]=Array.isArray(t[fs])?t[fs]:[],t[fs].indexOf(n)===-1&&o.push(no(a.messages[fs],t.fullField,t[fs].join(", ")))},lz=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(no(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(no(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},jt={required:HM,whitespace:nz,type:oz,range:az,enum:iz,pattern:lz},sz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n,"string")&&!t.required)return r();jt.required(t,n,o,i,a,"string"),Xn(n,"string")||(jt.type(t,n,o,i,a),jt.range(t,n,o,i,a),jt.pattern(t,n,o,i,a),t.whitespace===!0&&jt.whitespace(t,n,o,i,a))}r(i)},cz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&jt.type(t,n,o,i,a)}r(i)},uz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&(jt.type(t,n,o,i,a),jt.range(t,n,o,i,a))}r(i)},dz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&jt.type(t,n,o,i,a)}r(i)},fz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),Xn(n)||jt.type(t,n,o,i,a)}r(i)},vz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&(jt.type(t,n,o,i,a),jt.range(t,n,o,i,a))}r(i)},pz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&(jt.type(t,n,o,i,a),jt.range(t,n,o,i,a))}r(i)},mz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();jt.required(t,n,o,i,a,"array"),n!=null&&(jt.type(t,n,o,i,a),jt.range(t,n,o,i,a))}r(i)},gz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&jt.type(t,n,o,i,a)}r(i)},hz="enum",yz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a),n!==void 0&&jt[hz](t,n,o,i,a)}r(i)},bz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n,"string")&&!t.required)return r();jt.required(t,n,o,i,a),Xn(n,"string")||jt.pattern(t,n,o,i,a)}r(i)},Cz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n,"date")&&!t.required)return r();if(jt.required(t,n,o,i,a),!Xn(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),jt.type(t,s,o,i,a),s&&jt.range(t,s.getTime(),o,i,a)}}r(i)},xz=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":typeof n;jt.required(t,n,o,i,a,l),r(i)},w0=function(t,n,r,o,a){var i=t.type,l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Xn(n,i)&&!t.required)return r();jt.required(t,n,o,l,a,i),Xn(n,i)||jt.type(t,n,o,l,a)}r(l)},Sz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Xn(n)&&!t.required)return r();jt.required(t,n,o,i,a)}r(i)},od={string:sz,method:cz,number:uz,boolean:dz,regexp:fz,integer:vz,float:pz,array:mz,object:gz,enum:yz,pattern:bz,date:Cz,url:w0,hex:w0,email:w0,required:xz,any:Sz};function Ky(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Uy=Ky(),Cf=function(){function e(n){this.rules=null,this._messages=Uy,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var i=r[a];o.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=$4(Ky(),r)),this._messages},t.validate=function(r,o,a){var i=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var l=r,s=o,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(y){var g=[],h={};function b(x){if(Array.isArray(x)){var S;g=(S=g).concat.apply(S,x)}else g.push(x)}for(var C=0;C3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Sr(e,t.slice(0,-1))?e:WM(e,t,n,r)}function Ig(e){return Array.isArray(e)?$z(e):We(e)==="object"&&e!==null?wz(e):e}function wz(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=Ig(e[n]);return t}return e}function $z(e){return e.map(function(t){return Ig(t)})}function Dn(e){return Hy(e)}function P4(e,t){var n={};return t.forEach(function(r){var o=Sr(e,r);n=cr(n,r,o)}),n}function ad(e,t){return e&&e.some(function(n){return UM(n,t)})}function O4(e){return We(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function KM(e,t){var n=Array.isArray(e)?xe(e):E({},e);return t&&Object.keys(t).forEach(function(r){var o=n[r],a=t[r],i=O4(o)&&O4(a);n[r]=i?KM(o,a||{}):Ig(a)}),n}function id(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(xe(e.slice(0,n)),[o],xe(e.slice(n,t)),xe(e.slice(t+1,r))):a<0?[].concat(xe(e.slice(0,t)),xe(e.slice(t+1,n+1)),[o],xe(e.slice(n+1,r))):e}var R4=Cf;function Oz(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var I4="CODE_LOGIC_ERROR";function Yy(e,t,n,r,o){return Gy.apply(this,arguments)}function Gy(){return Gy=tr(Dt().mark(function e(t,n,r,o,a){var i,l,s,u,d,f,v,p,m;return Dt().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=E({},r),delete i.ruleIndex,R4.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch{return Promise.reject(I4)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),u=new R4(A({},t,[i])),d=id({},BM,o.validateMessages),u.messages(d),f=[],g.prev=10,g.next=13,Promise.resolve(u.validate(A({},t,n),E({},o)));case 13:g.next=18;break;case 15:g.prev=15,g.t0=g.catch(10),g.t0.errors&&(f=g.t0.errors.map(function(h,b){var C=h.message,x=C===I4?d.default:C;return c.isValidElement(x)?c.cloneElement(x,{key:"error_".concat(b)}):x}));case 18:if(!(!f.length&&s)){g.next=23;break}return g.next=21,Promise.all(n.map(function(h,b){return Yy("".concat(t,".").concat(b),h,s,o,a)}));case 21:return v=g.sent,g.abrupt("return",v.reduce(function(h,b){return[].concat(xe(h),xe(b))},[]));case 23:return p=E(E({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),m=f.map(function(h){return typeof h=="string"?Oz(h,p):h}),g.abrupt("return",m);case 26:case"end":return g.stop()}},e,null,[[10,15]])})),Gy.apply(this,arguments)}function Mz(e,t,n,r,o,a){var i=e.join("."),l=n.map(function(d,f){var v=d.validator,p=E(E({},d),{},{ruleIndex:f});return v&&(p.validator=function(m,y,g){var h=!1,b=function(){for(var S=arguments.length,w=new Array(S),$=0;$0&&arguments[0]!==void 0?arguments[0]:Co;if(o.validatePromise===f){var S;o.validatePromise=null;var w=[],$=[];(S=x.forEach)===null||S===void 0||S.call(x,function(R){var I=R.rule.warningOnly,N=R.errors,_=N===void 0?Co:N;I?$.push.apply($,xe(_)):w.push.apply(w,xe(_))}),o.errors=w,o.warnings=$,o.triggerMetaEvent(),o.reRender()}}),C});return o.validatePromise=f,o.dirty=!0,o.errors=Co,o.warnings=Co,o.triggerMetaEvent(),o.reRender(),f},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,u=s.getInternalHooks(bl),d=u.getInitialValue;return d(o.getNamePath())!==void 0},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){o.prevValidating=o.isFieldValidating();var s={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return s},o.getOnlyChild=function(s){if(typeof s=="function"){var u=o.getMeta();return E(E({},o.getOnlyChild(s(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=Mr(s);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}},o.getValue=function(s){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Sr(s||u(!0),d)},o.getControlled=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,v=u.getValueFromEvent,p=u.normalize,m=u.valuePropName,y=u.getValueProps,g=u.fieldContext,h=f!==void 0?f:g.validateTrigger,b=o.getNamePath(),C=g.getInternalHooks,x=g.getFieldsValue,S=C(bl),w=S.dispatch,$=o.getValue(),R=y||function(M){return A({},m,M)},I=s[d],N=E(E({},s),R($));N[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var M,P=arguments.length,O=new Array(P),T=0;T=0&&_<=M.length?(f.keys=[].concat(xe(f.keys.slice(0,_)),[f.id],xe(f.keys.slice(_))),x([].concat(xe(M.slice(0,_)),[N],xe(M.slice(_))))):(f.keys=[].concat(xe(f.keys),[f.id]),x([].concat(xe(M),[N]))),f.id+=1},remove:function(N){var _=w(),M=new Set(Array.isArray(N)?N:[N]);M.size<=0||(f.keys=f.keys.filter(function(P,O){return!M.has(O)}),x(_.filter(function(P,O){return!M.has(O)})))},move:function(N,_){if(N!==_){var M=w();N<0||N>=M.length||_<0||_>=M.length||(f.keys=M4(f.keys,N,_),x(M4(M,N,_)))}}},R=C||[];return Array.isArray(R)||(R=[]),o(R.map(function(I,N){var _=f.keys[N];return _===void 0&&(f.keys[N]=f.id,_=f.keys[N],f.id+=1),{name:N,key:_,isListField:!0}}),$,h)})))};function Tz(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var GM="__@field_split__";function $0(e){return e.map(function(t){return"".concat(We(t),":").concat(t)}).join(GM)}var vs=function(){function e(){Tn(this,e),this.kvs=new Map}return _n(e,[{key:"set",value:function(n,r){this.kvs.set($0(n),r)}},{key:"get",value:function(n){return this.kvs.get($0(n))}},{key:"update",value:function(n,r){var o=this.get(n),a=r(o);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete($0(n))}},{key:"map",value:function(n){return xe(this.kvs.entries()).map(function(r){var o=U(r,2),a=o[0],i=o[1],l=a.split(GM);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),d=U(u,3),f=d[1],v=d[2];return f==="number"?Number(v):v}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,a=r.value;return n[o.join(".")]=a,null}),n}}]),e}(),_z=["name"],kz=_n(function e(t){var n=this;Tn(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(r){return r===bl?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Wt(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(r){n.subscribable=r},this.prevWithoutPreserves=null,this.setInitialValues=function(r,o){if(n.initialValues=r||{},o){var a,i=id({},r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=cr(i,s,Sr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(i)}},this.destroyForm=function(){var r=new vs;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r},this.getInitialValue=function(r){var o=Sr(n.initialValues,r);return r.length?Ig(o):o},this.setCallbacks=function(r){n.callbacks=r},this.setValidateMessages=function(r){n.validateMessages=r},this.setPreserve=function(r){n.preserve=r},this.watchList=[],this.registerWatch=function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}},this.notifyWatch=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(r){n.store=r},this.getFieldEntities=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new vs;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o},this.getFieldEntitiesForNamePathList=function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=Dn(a);return o.get(i)||{INVALIDATE_NAME_PATH:Dn(a)}})},this.getFieldsValue=function(r,o){if(n.warningUnhooked(),r===!0&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),i=[];return a.forEach(function(l){var s,u="INVALIDATE_NAME_PATH"in l?l.INVALIDATE_NAME_PATH:l.getNamePath();if(!(!r&&(!((s=l.isListField)===null||s===void 0)&&s.call(l))))if(!o)i.push(u);else{var d="getMeta"in l?l.getMeta():null;o(d)&&i.push(u)}}),P4(n.store,i.map(Dn))},this.getFieldValue=function(r){n.warningUnhooked();var o=Dn(r);return Sr(n.store,o)},this.getFieldsError=function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:Dn(r[i]),errors:[],warnings:[]}})},this.getFieldError=function(r){n.warningUnhooked();var o=Dn(r),a=n.getFieldsError([o])[0];return a.errors},this.getFieldWarning=function(r){n.warningUnhooked();var o=Dn(r),a=n.getFieldsError([o])[0];return a.warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=new vs,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,d=s.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:s,value:u}),o.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var v=d.getNamePath(),p=n.getInitialValue(v);if(p!==void 0)Wt(!1,"Form already set 'initialValues' with path '".concat(v.join("."),"'. Field can not overwrite it."));else{var m=o.get(v);if(m&&m.size>1)Wt(!1,"Multiple Field with path '".concat(v.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var y=n.getFieldValue(v);(!r.skipExist||y===void 0)&&n.updateStore(cr(n.store,v,xe(m)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=o.get(s);if(u){var d;(d=l).push.apply(d,xe(xe(u).map(function(f){return f.entity})))}})):l=a,i(l)},this.resetFields=function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(id({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(Dn);a.forEach(function(i){var l=n.getInitialValue(i);n.updateStore(cr(n.store,i,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)},this.setFields=function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var l=i.name,s=Oe(i,_z),u=Dn(l);a.push(u),"value"in s&&n.updateStore(cr(n.store,u,s.value)),n.notifyObservers(o,[u],{type:"setField",data:i})}),n.notifyWatch(a)},this.getFields=function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=E(E({},l),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o},this.initEntityValue=function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Sr(n.store,a);i===void 0&&n.updateStore(cr(n.store,a,o))}},this.isMergedPreserve=function(r){var o=r!==void 0?r:n.preserve;return o??!0},this.registerField=function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!i||s.length>1)){var u=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!UM(f.getNamePath(),o)})){var d=n.store;n.updateStore(cr(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}},this.dispatch=function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,l=r.triggerName;n.validateFields([i],{triggerName:l});break}}},this.notifyObservers=function(r,o,a){if(n.subscribable){var i=E(E({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,o,i)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(xe(a))}),a},this.updateValue=function(r,o){var a=Dn(r),i=n.store;n.updateStore(cr(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(i,a),s=n.callbacks.onValuesChange;if(s){var u=P4(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(xe(l)))},this.setFieldsValue=function(r){n.warningUnhooked();var o=n.store;if(r){var a=id(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(r,o){n.setFields([{name:r,value:o}])},this.getDependencyChildrenFields=function(r){var o=new Set,a=[],i=new vs;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(d){var f=Dn(d);i.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(s),v})})});var l=function s(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(a.push(v),s(v))}})};return l(r),a},this.triggerOnFieldsChange=function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var l=new vs;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),i.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=i.filter(function(u){var d=u.name;return ad(r,d)});a(s,i)}},this.validateFields=function(r,o){n.warningUnhooked();var a=!!r,i=a?r.map(Dn):[],l=[];n.getFieldEntities(!0).forEach(function(d){if(a||i.push(d.getNamePath()),o!=null&&o.recursive&&a){var f=d.getNamePath();f.every(function(m,y){return r[y]===m||r[y]===void 0})&&i.push(f)}if(!(!d.props.rules||!d.props.rules.length)){var v=d.getNamePath();if(!a||ad(i,v)){var p=d.validateRules(E({validateMessages:E(E({},BM),n.validateMessages)},o));l.push(p.then(function(){return{name:v,errors:[],warnings:[]}}).catch(function(m){var y,g=[],h=[];return(y=m.forEach)===null||y===void 0||y.call(m,function(b){var C=b.rule.warningOnly,x=b.errors;C?h.push.apply(h,xe(x)):g.push.apply(g,xe(x))}),g.length?Promise.reject({name:v,errors:g,warnings:h}):{name:v,errors:g,warnings:h}}))}}});var s=Tz(l);n.lastValidatePromise=s,s.catch(function(d){return d}).then(function(d){var f=d.map(function(v){var p=v.name;return p});n.notifyObservers(n.store,f,{type:"validateFinish"}),n.triggerOnFieldsChange(f,d)});var u=s.then(function(){return n.lastValidatePromise===s?Promise.resolve(n.getFieldsValue(i)):Promise.reject([])}).catch(function(d){var f=d.filter(function(v){return v&&v.errors.length});return Promise.reject({values:n.getFieldsValue(i),errorFields:f,outOfDate:n.lastValidatePromise!==s})});return u.catch(function(d){return d}),n.triggerOnFieldsChange(i),u},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch{}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})},this.forceRootUpdate=t});function lS(e){var t=c.useRef(),n=c.useState({}),r=U(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new kz(a);t.current=i.getForm()}return[t.current]}var Qy=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),sS=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=c.useContext(Qy),l=c.useRef({});return c.createElement(Qy.Provider,{value:E(E({},i),{},{validateMessages:E(E({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=E(E({},l.current),{},A({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=E({},l.current);delete d[u],l.current=d,i.unregisterForm(u)}})},a)},Fz=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Dz=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,v=t.validateTrigger,p=v===void 0?"onChange":v,m=t.onValuesChange,y=t.onFieldsChange,g=t.onFinish,h=t.onFinishFailed,b=Oe(t,Fz),C=c.useContext(Qy),x=lS(i),S=U(x,1),w=S[0],$=w.getInternalHooks(bl),R=$.useSubscribe,I=$.setInitialValues,N=$.setCallbacks,_=$.setValidateMessages,M=$.setPreserve,P=$.destroyForm;c.useImperativeHandle(n,function(){return w}),c.useEffect(function(){return C.registerForm(r,w),function(){C.unregisterForm(r)}},[C,w,r]),_(E(E({},C.validateMessages),f)),N({onValuesChange:m,onFieldsChange:function(H){if(C.triggerFormChange(r,H),y){for(var V=arguments.length,K=new Array(V>1?V-1:0),W=1;W{const n=c.useContext(cS),r=c.useMemo(()=>{var a;const i=t||Ui[e],l=(a=n==null?void 0:n[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),l||{})},[e,t,n]),o=c.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Ui.locale:a},[n]);return[r,o]},Ng=Wz,Kz="internalMark",Uz=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;c.useEffect(()=>(_4(t&&t.Modal),()=>{_4()}),[t]);const o=c.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return c.createElement(cS.Provider,{value:o},n)},Yz=Uz,zl="5.4.7",Bd=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function vr(e,t){Gz(e)&&(e="100%");var n=Xz(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function wv(e){return Math.min(1,Math.max(0,e))}function Gz(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Xz(e){return typeof e=="string"&&e.indexOf("%")!==-1}function QM(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function $v(e){return e<=1?"".concat(Number(e)*100,"%"):e}function xl(e){return e.length===1?"0"+e:String(e)}function qz(e,t,n){return{r:vr(e,255)*255,g:vr(t,255)*255,b:vr(n,255)*255}}function k4(e,t,n){e=vr(e,255),t=vr(t,255),n=vr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else{var s=r-o;switch(i=l>.5?s/(2-r-o):s/(r+o),r){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qz(e,t,n){var r,o,a;if(e=vr(e,360),t=vr(t,100),n=vr(n,100),t===0)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=P0(l,i,e+1/3),o=P0(l,i,e),a=P0(l,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function Zy(e,t,n){e=vr(e,255),t=vr(t,255),n=vr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,s=r===0?0:l/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var eb={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ns(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=oH(e)),typeof e=="object"&&(Ta(e.r)&&Ta(e.g)&&Ta(e.b)?(t=qz(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ta(e.h)&&Ta(e.s)&&Ta(e.v)?(r=$v(e.s),o=$v(e.v),t=Zz(e.h,r,o),i=!0,l="hsv"):Ta(e.h)&&Ta(e.s)&&Ta(e.l)&&(r=$v(e.s),a=$v(e.l),t=Qz(e.h,r,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=QM(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var nH="[-\\+]?\\d+%?",rH="[-\\+]?\\d*\\.\\d+%?",Ii="(?:".concat(rH,")|(?:").concat(nH,")"),O0="[\\s|\\(]+(".concat(Ii,")[,|\\s]+(").concat(Ii,")[,|\\s]+(").concat(Ii,")\\s*\\)?"),M0="[\\s|\\(]+(".concat(Ii,")[,|\\s]+(").concat(Ii,")[,|\\s]+(").concat(Ii,")[,|\\s]+(").concat(Ii,")\\s*\\)?"),Ko={CSS_UNIT:new RegExp(Ii),rgb:new RegExp("rgb"+O0),rgba:new RegExp("rgba"+M0),hsl:new RegExp("hsl"+O0),hsla:new RegExp("hsla"+M0),hsv:new RegExp("hsv"+O0),hsva:new RegExp("hsva"+M0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function oH(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(eb[e])e=eb[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ko.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ko.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ko.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ko.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ko.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ko.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ko.hex8.exec(e),n?{r:qr(n[1]),g:qr(n[2]),b:qr(n[3]),a:F4(n[4]),format:t?"name":"hex8"}:(n=Ko.hex6.exec(e),n?{r:qr(n[1]),g:qr(n[2]),b:qr(n[3]),format:t?"name":"hex"}:(n=Ko.hex4.exec(e),n?{r:qr(n[1]+n[1]),g:qr(n[2]+n[2]),b:qr(n[3]+n[3]),a:F4(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ko.hex3.exec(e),n?{r:qr(n[1]+n[1]),g:qr(n[2]+n[2]),b:qr(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ta(e){return!!Ko.CSS_UNIT.exec(String(e))}var Yt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=tH(t)),this.originalInput=t;var o=Ns(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=QM(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Zy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Zy(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=k4(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=k4(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Jy(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Jz(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(vr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(vr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Jy(this.r,this.g,this.b,!1),n=0,r=Object.entries(eb);n=0,a=!n&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=wv(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=wv(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=wv(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=wv(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Ev*t:Math.round(e.h)+Ev*t:r=n?Math.round(e.h)+Ev*t:Math.round(e.h)-Ev*t,r<0?r+=360:r>=360&&(r-=360),r}function j4(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-D4*t:t===JM?r=e.s+D4:r=e.s+aH*t,r>1&&(r=1),n&&t===ZM&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function z4(e,t,n){var r;return n?r=e.v+iH*t:r=e.v-lH*t,r>1&&(r=1),Number(r.toFixed(2))}function Za(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Ns(e),o=ZM;o>0;o-=1){var a=L4(r),i=Pv(Ns({h:A4(a,o,!0),s:j4(a,o,!0),v:z4(a,o,!0)}));n.push(i)}n.push(Pv(r));for(var l=1;l<=JM;l+=1){var s=L4(r),u=Pv(Ns({h:A4(s,l),s:j4(s,l),v:z4(s,l)}));n.push(u)}return t.theme==="dark"?sH.map(function(d){var f=d.index,v=d.opacity,p=Pv(cH(Ns(t.backgroundColor||"#141414"),Ns(n[f]),v*100));return p}):n}var ac={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},R0={},I0={};Object.keys(ac).forEach(function(e){R0[e]=Za(ac[e]),R0[e].primary=R0[e][5],I0[e]=Za(ac[e],{theme:"dark",backgroundColor:"#141414"}),I0[e].primary=I0[e][5]});const uH=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},eR=uH;function dH(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const uS={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},fH=Object.assign(Object.assign({},uS),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),Tg=fH;function tR(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:d}=e,f=n(s),v=n(o),p=n(a),m=n(i),y=n(l),g=r(u,d);return Object.assign(Object.assign({},g),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorBgMask:new Yt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const vH=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},pH=vH;function mH(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},pH(r))}const _a=(e,t)=>new Yt(e).setAlpha(t).toRgbString(),wu=(e,t)=>new Yt(e).darken(t).toHexString(),gH=e=>{const t=Za(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},hH=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:_a(r,.88),colorTextSecondary:_a(r,.65),colorTextTertiary:_a(r,.45),colorTextQuaternary:_a(r,.25),colorFill:_a(r,.15),colorFillSecondary:_a(r,.06),colorFillTertiary:_a(r,.04),colorFillQuaternary:_a(r,.02),colorBgLayout:wu(n,4),colorBgContainer:wu(n,0),colorBgElevated:wu(n,0),colorBgSpotlight:_a(r,.85),colorBorder:wu(n,15),colorBorderSecondary:wu(n,6)}};function yH(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,a=e*Math.pow(2.71828,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const bH=e=>{const t=yH(e),n=t.map(o=>o.size),r=t.map(o=>o.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},nR=bH;function _g(e){const t=Object.keys(uS).map(n=>{const r=Za(e[n]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),tR(e,{generateColorPalettes:gH,generateNeutralColorPalettes:hH})),nR(e.fontSize)),dH(e)),eR(e)),mH(e))}function N0(e){return e>=0&&e<=255}function Ov(e,t){const{r:n,g:r,b:o,a}=new Yt(e).toRgb();if(a<1)return e;const{r:i,g:l,b:s}=new Yt(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-i*(1-u))/u),f=Math.round((r-l*(1-u))/u),v=Math.round((o-s*(1-u))/u);if(N0(d)&&N0(f)&&N0(v))return new Yt({r:d,g:f,b:v,a:Math.round(u*100)/100}).toRgbString()}return new Yt({r:n,g:r,b:o,a:1}).toRgbString()}var CH=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{delete r[v]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,l=768,s=992,u=1200,d=1600;return Object.assign(Object.assign(Object.assign({},o),{colorLink:o.colorInfoText,colorLinkHover:o.colorInfoHover,colorLinkActive:o.colorInfoActive,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ov(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Ov(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ov(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Ov(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new Yt("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new Yt("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new Yt("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const dS="anticon",SH=(e,t)=>t||(e?`ant-${e}`:"ant"),nt=c.createContext({getPrefixCls:SH,iconPrefixCls:dS}),rR=(e,t,n,r,o)=>{const a=e/2,i=0,l=a,s=n*1/Math.sqrt(2),u=a-n*(1-1/Math.sqrt(2)),d=a-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),v=2*a-d,p=f,m=2*a-s,y=u,g=2*a-i,h=l,b=a*Math.sqrt(2)+n*(Math.sqrt(2)-2),C=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${C}px 100%, 50% ${C}px, ${2*a-C}px 100%, ${C}px 100%)`,`path('M ${i} ${l} A ${n} ${n} 0 0 0 ${s} ${u} L ${d} ${f} A ${t} ${t} 0 0 1 ${v} ${p} L ${m} ${y} A ${n} ${n} 0 0 0 ${g} ${h} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},ra={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Lt=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),xf=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),tb=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),wH=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, - &:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),$H=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Hl=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),$c=e=>({"&:focus-visible":Object.assign({},Hl(e))});function Kt(e,t,n,r){return o=>{const[a,i,l]=Jl(),{getPrefixCls:s,iconPrefixCls:u,csp:d}=c.useContext(nt),f=s(),v={theme:a,token:i,hashId:l,nonce:()=>d==null?void 0:d.nonce};return cm(Object.assign(Object.assign({},v),{path:["Shared",f]}),()=>[{"&":wH(i)}]),[cm(Object.assign(Object.assign({},v),{path:[e,o,u]}),()=>{const{token:p,flush:m}=PH(i),y=typeof n=="function"?n(p):n,g=Object.assign(Object.assign({},y),i[e]),h=`.${o}`,b=xt(p,{componentCls:h,prefixCls:o,iconCls:`.${u}`,antCls:`.${f}`},g),C=t(b,{hashId:l,prefixCls:o,rootPrefixCls:f,iconPrefixCls:u,overrideComponentToken:i[e]});return m(e,g),[(r==null?void 0:r.resetStyle)===!1?null:$H(i,o),C]}),l]}}const oR=typeof CSSINJS_STATISTIC<"u";let nb=!0;function xt(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(o).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),nb=!0,r}function EH(){}function PH(e){let t,n=e,r=EH;return oR&&(t=new Set,n=new Proxy(e,{get(o,a){return nb&&t.add(a),o[a]}}),r=(o,a)=>{Array.from(t)}),{token:n,keys:t,flush:r}}function rb(e,t){return Bd.reduce((n,r)=>{const o=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:l}))},{})}const OH=oS(_g),fm={token:Tg,hashed:!0},aR=Z.createContext(fm);function Jl(){const{token:e,hashed:t,theme:n,components:r}=Z.useContext(aR),o=`${zl}-${t||""}`,a=n||OH,[i,l]=jM(a,[Tg,e],{salt:o,override:Object.assign({override:e},r),formatToken:xH});return[a,i,t?l:""]}const MH=`-ant-${Date.now()}-${Math.random()}`;function RH(e,t){const n={},r=(i,l)=>{let s=i.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},o=(i,l)=>{const s=new Yt(i),u=Za(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new Yt(t.primaryColor),l=Za(i.toRgbString());l.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setAlpha(u.getAlpha()*.12));const s=new Yt(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),` - :root { - ${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(` -`)} - } - `.trim()}function IH(e,t){const n=RH(e,t);$r()&&wc(n,`${MH}-dynamic-theme`)}const ob=c.createContext(!1),iR=e=>{let{children:t,disabled:n}=e;const r=c.useContext(ob);return c.createElement(ob.Provider,{value:n??r},t)},Vr=ob,ab=c.createContext(void 0),lR=e=>{let{children:t,size:n}=e;const r=c.useContext(ab);return c.createElement(ab.Provider,{value:n||r},t)},or=ab;function NH(){const e=c.useContext(Vr),t=c.useContext(or);return{componentDisabled:e,componentSize:t}}function TH(e,t){const n=e||{},r=n.inherit===!1||!t?fm:t;return Ji(()=>{if(!e)return t;const a=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(i=>{a[i]=Object.assign(Object.assign({},a[i]),e.components[i])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:a})},[n,r],(a,i)=>a.some((l,s)=>{const u=i[s];return!Kc(l,u,!0)}))}const _H=(e,t)=>{const[n,r]=Jl();return cm({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},xf()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},kH=_H;var FH=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;t!==void 0&&(vm=t),n!==void 0&&(sR=n),r&&IH(vp(),r)},cR=()=>({getPrefixCls:(e,t)=>t||(e?`${vp()}-${e}`:vp()),getIconPrefixCls:AH,getRootPrefixCls:()=>vm||vp()}),zH=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,form:o,locale:a,componentSize:i,direction:l,space:s,virtual:u,dropdownMatchSelectWidth:d,legacyLocale:f,parentContext:v,iconPrefixCls:p,theme:m,componentDisabled:y}=e,g=c.useCallback((P,O)=>{const{prefixCls:T}=e;if(O)return O;const k=T||v.getPrefixCls("");return P?`${k}-${P}`:k},[v.getPrefixCls,e.prefixCls]),h=p||v.iconPrefixCls||dS,b=h!==v.iconPrefixCls,C=n||v.csp,x=kH(h,C),S=TH(m,v.theme),w={csp:C,autoInsertSpaceInButton:r,locale:a||f,direction:l,space:s,virtual:u,dropdownMatchSelectWidth:d,getPrefixCls:g,iconPrefixCls:h,theme:S},$=Object.assign({},v);Object.keys(w).forEach(P=>{w[P]!==void 0&&($[P]=w[P])}),DH.forEach(P=>{const O=e[P];O&&($[P]=O)});const R=Ji(()=>$,$,(P,O)=>{const T=Object.keys(P),k=Object.keys(O);return T.length!==k.length||T.some(F=>P[F]!==O[F])}),I=c.useMemo(()=>({prefixCls:h,csp:C}),[h,C]);let N=b?x(t):t;const _=c.useMemo(()=>{var P,O,T;return id({},((P=Ui.Form)===null||P===void 0?void 0:P.defaultValidateMessages)||{},((T=(O=R.locale)===null||O===void 0?void 0:O.Form)===null||T===void 0?void 0:T.defaultValidateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[R,o==null?void 0:o.validateMessages]);Object.keys(_).length>0&&(N=c.createElement(sS,{validateMessages:_},t)),a&&(N=c.createElement(Yz,{locale:a,_ANT_MARK__:Kz},N)),(h||C)&&(N=c.createElement(Rg.Provider,{value:I},N)),i&&(N=c.createElement(lR,{size:i},N));const M=c.useMemo(()=>{const P=S||{},{algorithm:O,token:T}=P,k=FH(P,["algorithm","token"]),F=O&&(!Array.isArray(O)||O.length>0)?oS(O):void 0;return Object.assign(Object.assign({},k),{theme:F,token:Object.assign(Object.assign({},Tg),T)})},[S]);return m&&(N=c.createElement(aR.Provider,{value:M},N)),y!==void 0&&(N=c.createElement(iR,{disabled:y},N)),c.createElement(nt.Provider,{value:R},N)},tt=e=>{const t=c.useContext(nt),n=c.useContext(cS);return c.createElement(zH,Object.assign({parentContext:t,legacyLocale:n},e))};tt.ConfigContext=nt;tt.SizeContext=or;tt.config=jH;tt.useConfig=NH;Object.defineProperty(tt,"SizeContext",{get:()=>or});var uR=function(t){return+setTimeout(t,16)},dR=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(uR=function(t){return window.requestAnimationFrame(t)},dR=function(t){return window.cancelAnimationFrame(t)});var H4=0,fS=new Map;function fR(e){fS.delete(e)}var kt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;H4+=1;var r=H4;function o(a){if(a===0)fR(r),t();else{var i=uR(function(){o(a-1)});fS.set(r,i)}}return o(n),r};kt.cancel=function(e){var t=fS.get(e);return fR(t),dR(t)};function ga(e,t,n,r){var o=Cc.unstable_batchedUpdates?function(i){Cc.unstable_batchedUpdates(n,i)}:n;return e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e.removeEventListener&&e.removeEventListener(t,o,r)}}}var HH={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const BH=HH;function ib(e,t){Wt(e,"[@ant-design/icons] ".concat(t))}function B4(e){return We(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(We(e.icon)==="object"||typeof e.icon=="function")}function V4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t},{})}function lb(e,t,n){return n?Z.createElement(e.tag,E(E({key:t},V4(e.attrs)),n),(e.children||[]).map(function(r,o){return lb(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):Z.createElement(e.tag,E({key:t},V4(e.attrs)),(e.children||[]).map(function(r,o){return lb(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function vR(e){return Za(e)[0]}function pR(e){return e?Array.isArray(e)?e:[e]:[]}var VH={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},WH=` -.anticon { - display: inline-block; - color: inherit; - font-style: normal; - line-height: 0; - text-align: center; - text-transform: none; - vertical-align: -0.125em; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.anticon > * { - line-height: 1; -} - -.anticon svg { - display: inline-block; -} - -.anticon::before { - display: none; -} - -.anticon .anticon-icon { - display: block; -} - -.anticon[tabindex] { - cursor: pointer; -} - -.anticon-spin::before, -.anticon-spin { - display: inline-block; - -webkit-animation: loadingCircle 1s infinite linear; - animation: loadingCircle 1s infinite linear; -} - -@-webkit-keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -`,mR=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WH,n=c.useContext(Rg),r=n.csp,o=n.prefixCls,a=t;o&&(a=a.replace(/anticon/g,o)),c.useEffect(function(){wc(a,"@ant-design-icons",{prepend:!0,csp:r})},[])},KH=["icon","className","onClick","style","primaryColor","secondaryColor"],ld={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function UH(e){var t=e.primaryColor,n=e.secondaryColor;ld.primaryColor=t,ld.secondaryColor=n||vR(t),ld.calculated=!!n}function YH(){return E({},ld)}var kg=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,l=t.secondaryColor,s=Oe(t,KH),u=ld;if(i&&(u={primaryColor:i,secondaryColor:l||vR(i)}),mR(),ib(B4(n),"icon should be icon definiton, but got ".concat(n)),!B4(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=E(E({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),lb(d.icon,"svg-".concat(d.name),E({className:r,onClick:o,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s))};kg.displayName="IconReact";kg.getTwoToneColors=YH;kg.setTwoToneColors=UH;const vS=kg;function gR(e){var t=pR(e),n=U(t,2),r=n[0],o=n[1];return vS.setTwoToneColors({primaryColor:r,secondaryColor:o})}function GH(){var e=vS.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var XH=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];gR("#1890ff");var Fg=c.forwardRef(function(e,t){var n,r=e.className,o=e.icon,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,u=e.twoToneColor,d=Oe(e,XH),f=c.useContext(Rg),v=f.prefixCls,p=v===void 0?"anticon":v,m=f.rootClassName,y=Y(m,p,(n={},A(n,"".concat(p,"-").concat(o.name),!!o.name),A(n,"".concat(p,"-spin"),!!a||o.name==="loading"),n),r),g=l;g===void 0&&s&&(g=-1);var h=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=pR(u),C=U(b,2),x=C[0],S=C[1];return c.createElement("span",E(E({role:"img","aria-label":o.name},d),{},{ref:t,tabIndex:g,onClick:s,className:y}),c.createElement(vS,{icon:o,primaryColor:x,secondaryColor:S,style:h}))});Fg.displayName="AntdIcon";Fg.getTwoToneColor=GH;Fg.setTwoToneColor=gR;const Et=Fg;var hR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:BH}))};hR.displayName="CheckCircleFilled";const Dg=c.forwardRef(hR);var qH={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 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const QH=qH;var yR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:QH}))};yR.displayName="CloseCircleFilled";const si=c.forwardRef(yR);var ZH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"};const JH=ZH;var bR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:JH}))};bR.displayName="CloseOutlined";const es=c.forwardRef(bR);var eB={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const tB=eB;var CR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:tB}))};CR.displayName="ExclamationCircleFilled";const pS=c.forwardRef(CR);var nB={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const rB=nB;var xR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:rB}))};xR.displayName="InfoCircleFilled";const oB=c.forwardRef(xR);var aB=c.createContext({}),iB=function(e){Lo(n,e);var t=Ao(n);function n(){return Tn(this,n),t.apply(this,arguments)}return _n(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);function Bi(e){var t=c.useRef(!1),n=c.useState(e),r=U(n,2),o=r[0],a=r[1];c.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(l,s){s&&t.current||a(l)}return[o,i]}var vl="none",Mv="appear",Rv="enter",Iv="leave",W4="none",Qo="prepare",Gs="start",Xs="active",mS="end",SR="prepared";function K4(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}function lB(e,t){var n={animationend:K4("Animation","AnimationEnd"),transitionend:K4("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var sB=lB($r(),typeof window<"u"?window:{}),wR={};if($r()){var cB=document.createElement("div");wR=cB.style}var Nv={};function $R(e){if(Nv[e])return Nv[e];var t=sB[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var a=kt(function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)});e.current=a}return c.useEffect(function(){return function(){t()}},[]),[n,t]};var fB=[Qo,Gs,Xs,mS],vB=[Qo,SR],RR=!1,pB=!0;function IR(e){return e===Xs||e===mS}const mB=function(e,t,n){var r=Bi(W4),o=U(r,2),a=o[0],i=o[1],l=dB(),s=U(l,2),u=s[0],d=s[1];function f(){i(Qo,!0)}var v=t?vB:fB;return MR(function(){if(a!==W4&&a!==mS){var p=v.indexOf(a),m=v[p+1],y=n(a);y===RR?i(m,!0):m&&u(function(g){function h(){g.isCanceled()||i(m,!0)}y===!0?h():Promise.resolve(y).then(h)})}},[e,a]),c.useEffect(function(){return function(){d()}},[]),[f,a]};function gB(e,t,n,r){var o=r.motionEnter,a=o===void 0?!0:o,i=r.motionAppear,l=i===void 0?!0:i,s=r.motionLeave,u=s===void 0?!0:s,d=r.motionDeadline,f=r.motionLeaveImmediately,v=r.onAppearPrepare,p=r.onEnterPrepare,m=r.onLeavePrepare,y=r.onAppearStart,g=r.onEnterStart,h=r.onLeaveStart,b=r.onAppearActive,C=r.onEnterActive,x=r.onLeaveActive,S=r.onAppearEnd,w=r.onEnterEnd,$=r.onLeaveEnd,R=r.onVisibleChanged,I=Bi(),N=U(I,2),_=N[0],M=N[1],P=Bi(vl),O=U(P,2),T=O[0],k=O[1],F=Bi(null),D=U(F,2),j=D[0],z=D[1],B=c.useRef(!1),H=c.useRef(null);function V(){return n()}var K=c.useRef(!1);function W(){k(vl,!0),z(null,!0)}function G(pe){var se=V();if(!(pe&&!pe.deadline&&pe.target!==se)){var ve=K.current,ge;T===Mv&&ve?ge=S==null?void 0:S(se,pe):T===Rv&&ve?ge=w==null?void 0:w(se,pe):T===Iv&&ve&&(ge=$==null?void 0:$(se,pe)),T!==vl&&ve&&ge!==!1&&W()}}var X=uB(G),Q=U(X,1),ae=Q[0],ee=function(se){var ve,ge,ce;switch(se){case Mv:return ve={},A(ve,Qo,v),A(ve,Gs,y),A(ve,Xs,b),ve;case Rv:return ge={},A(ge,Qo,p),A(ge,Gs,g),A(ge,Xs,C),ge;case Iv:return ce={},A(ce,Qo,m),A(ce,Gs,h),A(ce,Xs,x),ce;default:return{}}},q=c.useMemo(function(){return ee(T)},[T]),re=mB(T,!e,function(pe){if(pe===Qo){var se=q[Qo];return se?se(V()):RR}if(ne in q){var ve;z(((ve=q[ne])===null||ve===void 0?void 0:ve.call(q,V(),null))||null)}return ne===Xs&&(ae(V()),d>0&&(clearTimeout(H.current),H.current=setTimeout(function(){G({deadline:!0})},d))),ne===SR&&W(),pB}),te=U(re,2),J=te[0],ne=te[1],oe=IR(ne);K.current=oe,MR(function(){M(t);var pe=B.current;B.current=!0;var se;!pe&&t&&l&&(se=Mv),pe&&t&&a&&(se=Rv),(pe&&!t&&u||!pe&&f&&!t&&u)&&(se=Iv);var ve=ee(se);se&&(e||ve[Qo])?(k(se),J()):k(vl)},[t]),c.useEffect(function(){(T===Mv&&!l||T===Rv&&!a||T===Iv&&!u)&&k(vl)},[l,a,u]),c.useEffect(function(){return function(){B.current=!1,clearTimeout(H.current)}},[]);var le=c.useRef(!1);c.useEffect(function(){_&&(le.current=!0),_!==void 0&&T===vl&&((le.current||_)&&(R==null||R(_)),le.current=!0)},[_,T]);var de=j;return q[Qo]&&ne===Gs&&(de=E({transition:"none"},de)),[T,ne,de,_??t]}function hB(e){var t=e;We(e)==="object"&&(t=e.transitionSupport);function n(o,a){return!!(o.motionName&&t&&a!==!1)}var r=c.forwardRef(function(o,a){var i=o.visible,l=i===void 0?!0:i,s=o.removeOnLeave,u=s===void 0?!0:s,d=o.forceRender,f=o.children,v=o.motionName,p=o.leavedClassName,m=o.eventProps,y=c.useContext(aB),g=y.motion,h=n(o,g),b=c.useRef(),C=c.useRef();function x(){try{return b.current instanceof HTMLElement?b.current:xc(C.current)}catch{return null}}var S=gB(h,l,x,o),w=U(S,4),$=w[0],R=w[1],I=w[2],N=w[3],_=c.useRef(N);N&&(_.current=!0);var M=c.useCallback(function(z){b.current=z,eS(a,z)},[a]),P,O=E(E({},m),{},{visible:l});if(!f)P=null;else if($===vl)N?P=f(E({},O),M):!u&&_.current&&p?P=f(E(E({},O),{},{className:p}),M):d||!u&&!p?P=f(E(E({},O),{},{style:{display:"none"}}),M):P=null;else{var T,k;R===Qo?k="prepare":IR(R)?k="active":R===Gs&&(k="start");var F=G4(v,"".concat($,"-").concat(k));P=f(E(E({},O),{},{className:Y(G4(v,$),(T={},A(T,F,F&&k),A(T,v,typeof v=="string"),T)),style:I}),M)}if(c.isValidElement(P)&&Zl(P)){var D=P,j=D.ref;j||(P=c.cloneElement(P,{ref:M}))}return c.createElement(iB,{ref:C},P)});return r.displayName="CSSMotion",r}const qn=hB(OR);var sb="add",cb="keep",ub="remove",T0="removed";function yB(e){var t;return e&&We(e)==="object"&&"key"in e?t=e:t={key:e},E(E({},t),{},{key:String(t.key)})}function db(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(yB)}function bB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,a=db(e),i=db(t);a.forEach(function(u){for(var d=!1,f=r;f1});return s.forEach(function(u){n=n.filter(function(d){var f=d.key,v=d.status;return f!==u||v!==ub}),n.forEach(function(d){d.key===u&&(d.status=cb)})}),n}var CB=["component","children","onVisibleChanged","onAllRemoved"],xB=["status"],SB=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function wB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qn,n=function(r){Lo(a,r);var o=Ao(a);function a(){var i;Tn(this,a);for(var l=arguments.length,s=new Array(l),u=0;u((n.startsWith("data-")||n.startsWith("aria-")||n==="role")&&!n.startsWith("data-__")&&(t[n]=e[n]),t),{})}const{isValidElement:Fo}=Ip;function TR(e){return e&&Fo(e)&&e.type===c.Fragment}function EB(e,t,n){return Fo(e)?c.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Wn(e,t){return EB(e,e,t)}function Jr(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;itypeof e=="object"&&e!=null&&e.nodeType===1,q4=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",_0=(e,t)=>{if(e.clientHeight{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeightat||a>e&&i=t&&l>=n?a-e-r:i>t&&ln?i-t+o:0,PB=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Q4=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:l,inline:s,boundary:u,skipOverflowHiddenElements:d}=t,f=typeof u=="function"?u:M=>M!==u;if(!X4(e))throw new TypeError("Invalid target");const v=document.scrollingElement||document.documentElement,p=[];let m=e;for(;X4(m)&&f(m);){if(m=PB(m),m===v){p.push(m);break}m!=null&&m===document.body&&_0(m)&&!_0(document.documentElement)||m!=null&&_0(m,d)&&p.push(m)}const y=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,g=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:h,scrollY:b}=window,{height:C,width:x,top:S,right:w,bottom:$,left:R}=e.getBoundingClientRect();let I=l==="start"||l==="nearest"?S:l==="end"?$:S+C/2,N=s==="center"?R+x/2:s==="end"?w:R;const _=[];for(let M=0;M=0&&R>=0&&$<=g&&w<=y&&S>=k&&$<=D&&R>=j&&w<=F)return _;const z=getComputedStyle(P),B=parseInt(z.borderLeftWidth,10),H=parseInt(z.borderTopWidth,10),V=parseInt(z.borderRightWidth,10),K=parseInt(z.borderBottomWidth,10);let W=0,G=0;const X="offsetWidth"in P?P.offsetWidth-P.clientWidth-B-V:0,Q="offsetHeight"in P?P.offsetHeight-P.clientHeight-H-K:0,ae="offsetWidth"in P?P.offsetWidth===0?0:T/P.offsetWidth:0,ee="offsetHeight"in P?P.offsetHeight===0?0:O/P.offsetHeight:0;if(v===P)W=l==="start"?I:l==="end"?I-g:l==="nearest"?Tv(b,b+g,g,H,K,b+I,b+I+C,C):I-g/2,G=s==="start"?N:s==="center"?N-y/2:s==="end"?N-y:Tv(h,h+y,y,B,V,h+N,h+N+x,x),W=Math.max(0,W+b),G=Math.max(0,G+h);else{W=l==="start"?I-k-H:l==="end"?I-D+K+Q:l==="nearest"?Tv(k,D,O,H,K+Q,I,I+C,C):I-(k+O/2)+Q/2,G=s==="start"?N-j-B:s==="center"?N-(j+T/2)+X/2:s==="end"?N-F+V+X:Tv(j,F,T,B,V+X,N,N+x,x);const{scrollLeft:q,scrollTop:re}=P;W=Math.max(0,Math.min(re+W/ee,P.scrollHeight-O/ee+Q)),G=Math.max(0,Math.min(q+G/ae,P.scrollWidth-T/ae+X)),I+=re-W,N+=q-G}_.push({el:P,top:W,left:G})}return _},OB=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function MB(e,t){if(!e.isConnected||!(r=>{let o=r;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((r=>typeof r=="object"&&typeof r.behavior=="function")(t))return t.behavior(Q4(e,t));const n=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:r,top:o,left:a}of Q4(e,OB(t)))r.scroll({top:o,left:a,behavior:n})}var ue={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ue.F1&&n<=ue.F12)return!1;switch(n){case ue.ALT:case ue.CAPS_LOCK:case ue.CONTEXT_MENU:case ue.CTRL:case ue.DOWN:case ue.END:case ue.ESC:case ue.HOME:case ue.INSERT:case ue.LEFT:case ue.MAC_FF_META:case ue.META:case ue.NUMLOCK:case ue.NUM_CENTER:case ue.PAGE_DOWN:case ue.PAGE_UP:case ue.PAUSE:case ue.PRINT_SCREEN:case ue.RIGHT:case ue.SHIFT:case ue.UP:case ue.WIN_KEY:case ue.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ue.ZERO&&t<=ue.NINE||t>=ue.NUM_ZERO&&t<=ue.NUM_MULTIPLY||t>=ue.A&&t<=ue.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ue.SPACE:case ue.QUESTION_MARK:case ue.NUM_PLUS:case ue.NUM_MINUS:case ue.NUM_PERIOD:case ue.NUM_DIVISION:case ue.SEMICOLON:case ue.DASH:case ue.EQUALS:case ue.COMMA:case ue.PERIOD:case ue.SLASH:case ue.APOSTROPHE:case ue.SINGLE_QUOTE:case ue.OPEN_SQUARE_BRACKET:case ue.BACKSLASH:case ue.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},RB=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.className,a=e.duration,i=a===void 0?4.5:a,l=e.eventKey,s=e.content,u=e.closable,d=e.closeIcon,f=d===void 0?"x":d,v=e.props,p=e.onClick,m=e.onNoticeClose,y=e.times,g=c.useState(!1),h=U(g,2),b=h[0],C=h[1],x=function(){m(l)},S=function(R){(R.key==="Enter"||R.code==="Enter"||R.keyCode===ue.ENTER)&&x()};c.useEffect(function(){if(!b&&i>0){var $=setTimeout(function(){x()},i*1e3);return function(){clearTimeout($)}}},[i,b,y]);var w="".concat(n,"-notice");return c.createElement("div",be({},v,{ref:t,className:Y(w,o,A({},"".concat(w,"-closable"),u)),style:r,onMouseEnter:function(){C(!0)},onMouseLeave:function(){C(!1)},onClick:p}),c.createElement("div",{className:"".concat(w,"-content")},s),u&&c.createElement("a",{tabIndex:0,className:"".concat(w,"-close"),onKeyDown:S,onClick:function(R){R.preventDefault(),R.stopPropagation(),x()}},f))});const _R=RB;var IB=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,o=e.container,a=e.motion,i=e.maxCount,l=e.className,s=e.style,u=e.onAllRemoved,d=c.useState([]),f=U(d,2),v=f[0],p=f[1],m=function($){var R,I=v.find(function(N){return N.key===$});I==null||(R=I.onClose)===null||R===void 0||R.call(I),p(function(N){return N.filter(function(_){return _.key!==$})})};c.useImperativeHandle(t,function(){return{open:function($){p(function(R){var I=xe(R),N=I.findIndex(function(P){return P.key===$.key}),_=E({},$);if(N>=0){var M;_.times=(((M=R[N])===null||M===void 0?void 0:M.times)||0)+1,I[N]=_}else _.times=0,I.push(_);return i>0&&I.length>i&&(I=I.slice(-i)),I})},close:function($){m($)},destroy:function(){p([])}}});var y=c.useState({}),g=U(y,2),h=g[0],b=g[1];c.useEffect(function(){var w={};v.forEach(function($){var R=$.placement,I=R===void 0?"topRight":R;I&&(w[I]=w[I]||[],w[I].push($))}),Object.keys(h).forEach(function($){w[$]=w[$]||[]}),b(w)},[v]);var C=function($){b(function(R){var I=E({},R),N=I[$]||[];return N.length||delete I[$],I})},x=c.useRef(!1);if(c.useEffect(function(){Object.keys(h).length>0?x.current=!0:x.current&&(u==null||u(),x.current=!1)},[h]),!o)return null;var S=Object.keys(h);return Ya.createPortal(c.createElement(c.Fragment,null,S.map(function(w){var $=h[w],R=$.map(function(N){return{config:N,key:N.key}}),I=typeof a=="function"?a(w):a;return c.createElement(NR,be({key:w,className:Y(r,"".concat(r,"-").concat(w),l==null?void 0:l(w)),style:s==null?void 0:s(w),keys:R,motionAppear:!0},I,{onAllRemoved:function(){C(w)}}),function(N,_){var M=N.config,P=N.className,O=N.style,T=M.key,k=M.times,F=M.className,D=M.style;return c.createElement(_R,be({},M,{ref:_,prefixCls:r,className:Y(P,F),style:E(E({},O),D),times:k,key:T,eventKey:T,onNoticeClose:m}))})})),o)}),NB=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],TB=function(){return document.body},Z4=0;function _B(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?TB:t,r=e.motion,o=e.prefixCls,a=e.maxCount,i=e.className,l=e.style,s=e.onAllRemoved,u=Oe(e,NB),d=c.useState(),f=U(d,2),v=f[0],p=f[1],m=c.useRef(),y=c.createElement(IB,{container:v,ref:m,prefixCls:o,motion:r,maxCount:a,className:i,style:l,onAllRemoved:s}),g=c.useState([]),h=U(g,2),b=h[0],C=h[1],x=c.useMemo(function(){return{open:function(w){var $=_B(u,w);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat(Z4),Z4+=1),C(function(R){return[].concat(xe(R),[{type:"open",config:$}])})},close:function(w){C(function($){return[].concat(xe($),[{type:"close",key:w}])})},destroy:function(){C(function(w){return[].concat(xe(w),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){p(n())}),c.useEffect(function(){m.current&&b.length&&(b.forEach(function(S){switch(S.type){case"open":m.current.open(S.config);break;case"close":m.current.close(S.key);break;case"destroy":m.current.destroy();break}}),C([]))},[b]),[x,y]}const FB=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorBgElevated:a,colorSuccess:i,colorError:l,colorWarning:s,colorInfo:u,fontSizeLG:d,motionEaseInOutCirc:f,motionDurationSlow:v,marginXS:p,paddingXS:m,borderRadiusLG:y,zIndexPopup:g,messageNoticeContentPadding:h}=e,b=`${t}-notice`,C=new Rt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),x=new Rt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),S={padding:m,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:d},[`${b}-content`]:{display:"inline-block",padding:h,background:a,borderRadius:y,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:l},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:u}};return[{[t]:Object.assign(Object.assign({},Lt(e)),{color:o,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:C,animationDuration:v,animationPlayState:"paused",animationTimingFunction:f},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:v,animationPlayState:"paused",animationTimingFunction:f},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[b]:Object.assign({},S)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},S),{padding:0,textAlign:"start"})}]},kR=Kt("Message",e=>{const t=xt(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[FB(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10}));function DB(e,t){return{motionName:t??`${e}-move-up`}}function gS(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,a)=>n.then(o,a),r.promise=n,r}var LB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const AB=LB;var FR=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:AB}))};FR.displayName="LoadingOutlined";const Ja=c.forwardRef(FR);var jB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{top:n,prefixCls:r,getContainer:o,maxCount:a,duration:i=WB,rtl:l,transitionName:s,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f}=c.useContext(nt),v=r||d("message"),[,p]=kR(v),m=()=>({left:"50%",transform:"translateX(-50%)",top:n??VB}),y=()=>Y(p,l?`${v}-rtl`:""),g=()=>DB(v,s),h=c.createElement("span",{className:`${v}-close-x`},c.createElement(es,{className:`${v}-close-icon`})),[b,C]=kB({prefixCls:v,style:m,className:y,motion:g,closable:!1,closeIcon:h,duration:i,getContainer:()=>(o==null?void 0:o())||(f==null?void 0:f())||document.body,maxCount:a,onAllRemoved:u});return c.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:v,hashId:p})),C});let J4=0;function LR(e){const t=c.useRef(null);return[c.useMemo(()=>{const r=s=>{var u;(u=t.current)===null||u===void 0||u.close(s)},o=s=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:u,prefixCls:d,hashId:f}=t.current,v=`${d}-notice`,{content:p,icon:m,type:y,key:g,className:h,onClose:b}=s,C=BB(s,["content","icon","type","key","className","onClose"]);let x=g;return x==null&&(J4+=1,x=`antd-message-${J4}`),gS(S=>(u(Object.assign(Object.assign({},C),{key:x,content:c.createElement(DR,{prefixCls:d,type:y,icon:m},p),placement:"top",className:Y(y&&`${v}-${y}`,f,h),onClose:()=>{b==null||b(),S()}})),()=>{r(x)}))},i={open:o,destroy:s=>{var u;s!==void 0?r(s):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(d,f,v)=>{let p;d&&typeof d=="object"&&"content"in d?p=d:p={content:d};let m,y;typeof f=="function"?y=f:(m=f,y=v);const g=Object.assign(Object.assign({onClose:y,duration:m},p),{type:s});return o(g)};i[s]=u}),i},[]),c.createElement(KB,Object.assign({key:"message-holder"},e,{ref:t}))]}function UB(e){return LR(e)}var Sf=E({},BL),YB=Sf.version,GB=Sf.render,XB=Sf.unmountComponentAtNode,Lg;try{var qB=Number((YB||"").split(".")[0]);qB>=18&&(Lg=Sf.createRoot)}catch{}function eE(e){var t=Sf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&We(t)==="object"&&(t.usingClientEntryPoint=e)}var pm="__rc_react_root__";function QB(e,t){eE(!0);var n=t[pm]||Lg(t);eE(!1),n.render(e),t[pm]=n}function ZB(e,t){GB(e,t)}function AR(e,t){if(Lg){QB(e,t);return}ZB(e,t)}function JB(e){return fb.apply(this,arguments)}function fb(){return fb=tr(Dt().mark(function e(t){return Dt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[pm])===null||o===void 0||o.unmount(),delete t[pm]}));case 1:case"end":return r.stop()}},e)})),fb.apply(this,arguments)}function eV(e){XB(e)}function tV(e){return vb.apply(this,arguments)}function vb(){return vb=tr(Dt().mark(function e(t){return Dt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Lg===void 0){r.next=2;break}return r.abrupt("return",JB(t));case 2:eV(t);case 3:case"end":return r.stop()}},e)})),vb.apply(this,arguments)}const Yc=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1},nV=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},rV=Kt("Wave",e=>[nV(e)]);function oV(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function k0(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&oV(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function aV(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return k0(t)?t:k0(n)?n:k0(r)?r:null}function F0(e){return Number.isNaN(e)?0:e}const iV=e=>{const{className:t,target:n}=e,r=c.useRef(null),[o,a]=c.useState(null),[i,l]=c.useState([]),[s,u]=c.useState(0),[d,f]=c.useState(0),[v,p]=c.useState(0),[m,y]=c.useState(0),[g,h]=c.useState(!1),b={left:s,top:d,width:v,height:m,borderRadius:i.map(x=>`${x}px`).join(" ")};o&&(b["--wave-color"]=o);function C(){const x=getComputedStyle(n);a(aV(n));const S=x.position==="static",{borderLeftWidth:w,borderTopWidth:$}=x;u(S?n.offsetLeft:F0(-parseFloat(w))),f(S?n.offsetTop:F0(-parseFloat($))),p(n.offsetWidth),y(n.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:I,borderBottomLeftRadius:N,borderBottomRightRadius:_}=x;l([R,I,_,N].map(M=>F0(parseFloat(M))))}return c.useEffect(()=>{if(n){const x=kt(()=>{C(),h(!0)});let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(C),S.observe(n)),()=>{kt.cancel(x),S==null||S.disconnect()}}},[]),g?c.createElement(qn,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,S)=>{var w;if(S.deadline||S.propertyName==="opacity"){const $=(w=r.current)===null||w===void 0?void 0:w.parentElement;tV($).then(()=>{$==null||$.remove()})}return!1}},x=>{let{className:S}=x;return c.createElement("div",{ref:r,className:Y(t,S),style:b})}):null};function lV(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),AR(c.createElement(iV,{target:e,className:t}),n)}function sV(e,t){function n(){const r=e.current;lV(r,t)}return n}const cV=e=>{const{children:t,disabled:n}=e,{getPrefixCls:r}=c.useContext(nt),o=c.useRef(null),a=r("wave"),[,i]=rV(a),l=sV(o,Y(a,i));if(Z.useEffect(()=>{const u=o.current;if(!u||u.nodeType!==1||n)return;const d=f=>{f.target.tagName==="INPUT"||!Yc(f.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l()};return u.addEventListener("click",d,!0),()=>{u.removeEventListener("click",d,!0)}},[n]),!Z.isValidElement(t))return t??null;const s=Zl(t)?rr(t.ref,o):o;return Wn(t,{ref:s})},jR=cV,uV=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},dV=uV,fV=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},zR=Kt("Space",e=>[fV(e),dV(e)],()=>({}),{resetStyle:!1});var HR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(Ag),r=c.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:a,isLastItem:i}=n,l=o==="vertical"?"-vertical-":"-";return Y({[`${e}-compact${l}item`]:!0,[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Bl=e=>{let{children:t}=e;return c.createElement(Ag.Provider,{value:null},t)},vV=e=>{var{children:t}=e,n=HR(e,["children"]);return c.createElement(Ag.Provider,{value:n},t)},pV=e=>{const{getPrefixCls:t,direction:n}=c.useContext(nt),{size:r="middle",direction:o,block:a,prefixCls:i,className:l,rootClassName:s,children:u}=e,d=HR(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=t("space-compact",i),[v,p]=zR(f),m=Y(f,p,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:a,[`${f}-vertical`]:o==="vertical"},l,s),y=c.useContext(Ag),g=Mr(u),h=c.useMemo(()=>g.map((b,C)=>{const x=b&&b.key||`${f}-item-${C}`;return c.createElement(vV,{key:x,compactSize:r,compactDirection:o,isFirstItem:C===0&&(!y||(y==null?void 0:y.isFirstItem)),isLastItem:C===g.length-1&&(!y||(y==null?void 0:y.isLastItem))},b)}),[r,g,y]);return g.length===0?null:v(c.createElement("div",Object.assign({className:m},d),h))},mV=pV,D0=()=>({width:0,opacity:0,transform:"scale(0)"}),L0=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),gV=e=>{let{prefixCls:t,loading:n,existIcon:r}=e;const o=!!n;return r?Z.createElement("span",{className:`${t}-loading-icon`},Z.createElement(Ja,null)):Z.createElement(qn,{visible:o,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:D0,onAppearActive:L0,onEnterStart:D0,onEnterActive:L0,onLeaveStart:L0,onLeaveActive:D0},(a,i)=>{let{className:l,style:s}=a;return Z.createElement("span",{className:`${t}-loading-icon`,style:s,ref:i},Z.createElement(Ja,{className:l}))})},hV=gV;var yV=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=c.useContext(nt),{prefixCls:r,size:o,className:a}=e,i=yV(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=Jl();let u="";switch(o){case"large":u="lg";break;case"small":u="sm";break}const d=Y(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},a,s);return c.createElement(BR.Provider,{value:o},c.createElement("div",Object.assign({},i,{className:d})))},CV=bV,tE=/^[\u4e00-\u9fa5]{2}$/,pb=tE.test.bind(tE);function xV(e){return typeof e=="string"}function A0(e){return e==="text"||e==="link"}function SV(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&xV(e.type)&&pb(e.props.children)?Wn(e,{children:e.props.children.split("").join(n)}):typeof e=="string"?pb(e)?Z.createElement("span",null,e.split("").join(n)):Z.createElement("span",null,e):TR(e)?Z.createElement("span",null,e):e}function wV(e,t){let n=!1;const r=[];return Z.Children.forEach(e,o=>{const a=typeof o,i=a==="string"||a==="number";if(n&&i){const l=r.length-1,s=r[l];r[l]=`${s}${o}`}else r.push(o);n=i}),Z.Children.map(r,o=>SV(o,t))}const nE=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),$V=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,[`&:hover, - &:focus, - &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},nE(`${t}-primary`,o),nE(`${t}-danger`,a)]}},EV=$V;function PV(e,t,n){const{focusElCls:r,focus:o,borderElCls:a}=n,i=a?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function OV(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Gc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},PV(e,r,t)),OV(n,r,t))}}function MV(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function RV(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function IV(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},MV(e,t)),RV(e.componentCls,t))}}const NV=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},$c(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},ei=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),TV=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),_V=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),mb=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),mm=(e,t,n,r,o,a,i)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},ei(Object.assign({backgroundColor:"transparent"},a),Object.assign({backgroundColor:"transparent"},i))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),hS=e=>({"&:disabled":Object.assign({},mb(e))}),VR=e=>Object.assign({},hS(e)),gm=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),WR=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},VR(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),ei({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),mm(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ei({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),mm(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),hS(e))}),kV=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},VR(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),ei({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),mm(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},ei({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),mm(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),hS(e))}),FV=e=>Object.assign(Object.assign({},WR(e)),{borderStyle:"dashed"}),DV=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ei({color:e.colorLinkHover},{color:e.colorLinkActive})),gm(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ei({color:e.colorErrorHover},{color:e.colorErrorActive})),gm(e))}),LV=e=>Object.assign(Object.assign(Object.assign({},ei({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),gm(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},gm(e)),ei({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),AV=e=>Object.assign(Object.assign({},mb(e)),{[`&${e.componentCls}:hover`]:Object.assign({},mb(e))}),jV=e=>{const{componentCls:t}=e;return{[`${t}-default`]:WR(e),[`${t}-primary`]:kV(e),[`${t}-dashed`]:FV(e),[`${t}-link`]:DV(e),[`${t}-text`]:LV(e),[`${t}-disabled`]:AV(e)}},yS=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:o,fontSize:a,lineHeight:i,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:u}=e,d=Math.max(0,(o-a*i)/2-l),f=u-l,v=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:a,height:o,padding:`${d}px ${f}px`,borderRadius:s,[`&${v}`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${v}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:TV(e)},{[`${n}${n}-round${t}`]:_V(e)}]},zV=e=>yS(e),HV=e=>{const t=xt(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return yS(t,`${e.componentCls}-sm`)},BV=e=>{const t=xt(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return yS(t,`${e.componentCls}-lg`)},VV=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},WV=Kt("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=xt(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[NV(r),HV(r),zV(r),BV(r),VV(r),jV(r),EV(r),Gc(e),IV(e)]});var KV=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{loading:n=!1,prefixCls:r,type:o="default",danger:a,shape:i="default",size:l,disabled:s,className:u,rootClassName:d,children:f,icon:v,ghost:p=!1,block:m=!1,htmlType:y="button"}=e,g=KV(e,["loading","prefixCls","type","danger","shape","size","disabled","className","rootClassName","children","icon","ghost","block","htmlType"]),{getPrefixCls:h,autoInsertSpaceInButton:b,direction:C}=c.useContext(nt),x=h("btn",r),[S,w]=WV(x),$=c.useContext(or),R=c.useContext(Vr),I=s??R,N=c.useContext(BR),_=c.useMemo(()=>UV(n),[n]),[M,P]=c.useState(_.loading),[O,T]=c.useState(!1),F=rr(t,c.createRef()),D=c.Children.count(f)===1&&!v&&!A0(o);c.useEffect(()=>{let te=null;_.delay>0?te=setTimeout(()=>{te=null,P(!0)},_.delay):P(_.loading);function J(){te&&(clearTimeout(te),te=null)}return J},[_]),c.useEffect(()=>{if(!F||!F.current||b===!1)return;const te=F.current.textContent;D&&pb(te)?O||T(!0):O&&T(!1)},[F]);const j=te=>{const{onClick:J}=e;if(M||I){te.preventDefault();return}J==null||J(te)},z=b!==!1,{compactSize:B,compactItemClassnames:H}=Pa(x,C),V={large:"lg",small:"sm",middle:void 0},K=B||N||l||$,W=K&&V[K]||"",G=M?"loading":v,X=$n(g,["navigate"]),Q=X.href!==void 0&&I,ae=Y(x,w,{[`${x}-${i}`]:i!=="default"&&i,[`${x}-${o}`]:o,[`${x}-${W}`]:W,[`${x}-icon-only`]:!f&&f!==0&&!!G,[`${x}-background-ghost`]:p&&!A0(o),[`${x}-loading`]:M,[`${x}-two-chinese-chars`]:O&&z&&!M,[`${x}-block`]:m,[`${x}-dangerous`]:!!a,[`${x}-rtl`]:C==="rtl",[`${x}-disabled`]:Q},H,u,d),ee=v&&!M?v:Z.createElement(hV,{existIcon:!!v,prefixCls:x,loading:!!M}),q=f||f===0?wV(f,D&&z):null;if(X.href!==void 0)return S(Z.createElement("a",Object.assign({},X,{className:ae,onClick:j,ref:F}),ee,q));let re=Z.createElement("button",Object.assign({},g,{type:y,className:ae,onClick:j,disabled:I,ref:F}),ee,q);return A0(o)||(re=Z.createElement(jR,{disabled:!!M},re)),S(re)},bS=c.forwardRef(YV);bS.Group=CV;bS.__ANT_BUTTON=!0;const ti=bS,j0=()=>({height:0,opacity:0}),rE=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},GV=e=>({height:e?e.offsetHeight:0}),z0=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",gb=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:j0,onEnterStart:j0,onAppearActive:rE,onEnterActive:rE,onLeaveStart:GV,onLeaveActive:j0,onAppearEnd:z0,onEnterEnd:z0,onLeaveEnd:z0,motionDeadline:500}},CS=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Hr=(e,t,n)=>n!==void 0?n:`${e}-${t}`;var KR=c.createContext(null),en=$r()?c.useLayoutEffect:c.useEffect,ic=function(t,n){var r=c.useRef(!0);en(function(){if(!r.current)return t()},n),en(function(){return r.current=!1,function(){r.current=!0}},[])},oE=[];function XV(e,t){var n=c.useState(function(){if(!$r())return null;var m=document.createElement("div");return m}),r=U(n,1),o=r[0],a=c.useRef(!1),i=c.useContext(KR),l=c.useState(oE),s=U(l,2),u=s[0],d=s[1],f=i||(a.current?void 0:function(m){d(function(y){var g=[m].concat(xe(y));return g})});function v(){o.parentElement||document.body.appendChild(o),a.current=!0}function p(){var m;(m=o.parentElement)===null||m===void 0||m.removeChild(o),a.current=!1}return en(function(){return e?i?i(v):v():p(),p},[e]),en(function(){u.length&&(u.forEach(function(m){return m()}),d(oE))},[u]),[o,f]}var H0;function qV(e){if(typeof document>"u")return 0;if(e||H0===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=n.clientWidth),document.body.removeChild(n),H0=o-a}return H0}function QV(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ZV="rc-util-locker-".concat(Date.now()),aE=0;function JV(e){var t=!!e,n=c.useState(function(){return aE+=1,"".concat(ZV,"_").concat(aE)}),r=U(n,1),o=r[0];en(function(){if(t){var a=qV(),i=QV();wc(` -html body { - overflow-y: hidden; - `.concat(i?"width: calc(100% - ".concat(a,"px);"):"",` -}`),o)}else lm(o);return function(){lm(o)}},[t,o])}var iE=!1;function eW(e){return typeof e=="boolean"&&(iE=e),iE}var lE=function(t){return t===!1?!1:!$r()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},wf=c.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var a=e.autoDestroy,i=a===void 0?!0:a,l=e.children,s=c.useState(n),u=U(s,2),d=u[0],f=u[1],v=d||n;c.useEffect(function(){(i||n)&&f(n)},[n,i]);var p=c.useState(function(){return lE(o)}),m=U(p,2),y=m[0],g=m[1];c.useEffect(function(){var _=lE(o);g(_??null)});var h=XV(v&&!y),b=U(h,2),C=b[0],x=b[1],S=y??C;JV(r&&n&&$r()&&(S===C||S===document.body));var w=null;if(l&&Zl(l)&&t){var $=l;w=$.ref}var R=bf(w,t);if(!v||!$r()||y===void 0)return null;var I=S===!1||eW(),N=l;return t&&(N=c.cloneElement(l,{ref:R})),c.createElement(KR.Provider,{value:x},I?N:Ya.createPortal(N,S))});function tW(){var e=E({},Ip);return e.useId}var sE=0;function UR(e){var t=c.useState("ssr-id"),n=U(t,2),r=n[0],o=n[1],a=tW(),i=a==null?void 0:a();return c.useEffect(function(){if(!a){var l=sE;sE+=1,o("rc_unique_".concat(l))}},[]),e||i||r}var nW=`accept acceptCharset accessKey action allowFullScreen allowTransparency - alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge - charSet checked classID className colSpan cols content contentEditable contextMenu - controls coords crossOrigin data dateTime default defer dir disabled download draggable - encType form formAction formEncType formMethod formNoValidate formTarget frameBorder - headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity - is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media - mediaGroup method min minLength multiple muted name noValidate nonce open - optimum pattern placeholder poster preload radioGroup readOnly rel required - reversed role rowSpan rows sandbox scope scoped scrolling seamless selected - shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,rW=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown - onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick - onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown - onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel - onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough - onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,oW="".concat(nW," ").concat(rW).split(/[\s\n]+/),aW="aria-",iW="data-";function cE(e,t){return e.indexOf(t)===0}function Vl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=E({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||cE(o,aW))||n.data&&cE(o,iW)||n.attr&&oW.includes(o))&&(r[o]=e[o])}),r}function uE(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function dE(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function lW(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=dE(o),n.top+=dE(o,!0),n}const sW=c.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var fE={width:0,height:0,overflow:"hidden",outline:"none"},cW=Z.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,i=e.ariaId,l=e.footer,s=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,v=e.bodyStyle,p=e.bodyProps,m=e.modalRender,y=e.onMouseDown,g=e.onMouseUp,h=e.holderRef,b=e.visible,C=e.forceRender,x=e.width,S=e.height,w=c.useRef(),$=c.useRef();Z.useImperativeHandle(t,function(){return{focus:function(){var O;(O=w.current)===null||O===void 0||O.focus()},changeActive:function(O){var T=document,k=T.activeElement;O&&k===$.current?w.current.focus():!O&&k===w.current&&$.current.focus()}}});var R={};x!==void 0&&(R.width=x),S!==void 0&&(R.height=S);var I;l&&(I=Z.createElement("div",{className:"".concat(n,"-footer")},l));var N;a&&(N=Z.createElement("div",{className:"".concat(n,"-header")},Z.createElement("div",{className:"".concat(n,"-title"),id:i},a)));var _;s&&(_=Z.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:"".concat(n,"-close")},u||Z.createElement("span",{className:"".concat(n,"-close-x")})));var M=Z.createElement("div",{className:"".concat(n,"-content")},_,N,Z.createElement("div",be({className:"".concat(n,"-body"),style:v},p),f),I);return Z.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:h,style:E(E({},o),R),className:Y(n,r),onMouseDown:y,onMouseUp:g},Z.createElement("div",{tabIndex:0,ref:w,style:fE,"aria-hidden":"true"}),Z.createElement(sW,{shouldUpdate:b||C},m?m(M):M),Z.createElement("div",{tabIndex:0,ref:$,style:fE,"aria-hidden":"true"}))}),YR=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,i=e.visible,l=e.forceRender,s=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,v=e.mousePosition,p=c.useRef(),m=c.useState(),y=U(m,2),g=y[0],h=y[1],b={};g&&(b.transformOrigin=g);function C(){var x=lW(p.current);h(v?"".concat(v.x-x.left,"px ").concat(v.y-x.top,"px"):"")}return c.createElement(qn,{visible:i,onVisibleChanged:f,onAppearPrepare:C,onEnterPrepare:C,forceRender:l,motionName:u,removeOnLeave:s,ref:p},function(x,S){var w=x.className,$=x.style;return c.createElement(cW,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:S,style:E(E(E({},$),o),b),className:Y(a,w)}))})});YR.displayName="Content";function uW(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName;return c.createElement(qn,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},function(i,l){var s=i.className,u=i.style;return c.createElement("div",be({ref:l,style:E(E({},u),n),className:Y("".concat(t,"-mask"),s)},o))})}function dW(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,a=o===void 0?!1:o,i=e.keyboard,l=i===void 0?!0:i,s=e.focusTriggerAfterClose,u=s===void 0?!0:s,d=e.wrapStyle,f=e.wrapClassName,v=e.wrapProps,p=e.onClose,m=e.afterOpenChange,y=e.afterClose,g=e.transitionName,h=e.animation,b=e.closable,C=b===void 0?!0:b,x=e.mask,S=x===void 0?!0:x,w=e.maskTransitionName,$=e.maskAnimation,R=e.maskClosable,I=R===void 0?!0:R,N=e.maskStyle,_=e.maskProps,M=e.rootClassName,P=c.useRef(),O=c.useRef(),T=c.useRef(),k=c.useState(a),F=U(k,2),D=F[0],j=F[1],z=UR();function B(){Rl(O.current,document.activeElement)||(P.current=document.activeElement)}function H(){if(!Rl(O.current,document.activeElement)){var q;(q=T.current)===null||q===void 0||q.focus()}}function V(q){if(q)H();else{if(j(!1),S&&P.current&&u){try{P.current.focus({preventScroll:!0})}catch{}P.current=null}D&&(y==null||y())}m==null||m(q)}function K(q){p==null||p(q)}var W=c.useRef(!1),G=c.useRef(),X=function(){clearTimeout(G.current),W.current=!0},Q=function(){G.current=setTimeout(function(){W.current=!1})},ae=null;I&&(ae=function(re){W.current?W.current=!1:O.current===re.target&&K(re)});function ee(q){if(l&&q.keyCode===ue.ESC){q.stopPropagation(),K(q);return}a&&q.keyCode===ue.TAB&&T.current.changeActive(!q.shiftKey)}return c.useEffect(function(){a&&(j(!0),B())},[a]),c.useEffect(function(){return function(){clearTimeout(G.current)}},[]),c.createElement("div",be({className:Y("".concat(n,"-root"),M)},Vl(e,{data:!0})),c.createElement(uW,{prefixCls:n,visible:S&&a,motionName:uE(n,w,$),style:E({zIndex:r},N),maskProps:_}),c.createElement("div",be({tabIndex:-1,onKeyDown:ee,className:Y("".concat(n,"-wrap"),f),ref:O,onClick:ae,style:E(E({zIndex:r},d),{},{display:D?null:"none"})},v),c.createElement(YR,be({},e,{onMouseDown:X,onMouseUp:Q,ref:T,closable:C,ariaId:z,prefixCls:n,visible:a&&D,onClose:K,onVisibleChanged:V,motionName:uE(n,g,h)}))))}var GR=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,a=t.destroyOnClose,i=a===void 0?!1:a,l=t.afterClose,s=c.useState(n),u=U(s,2),d=u[0],f=u[1];return c.useEffect(function(){n&&f(!0)},[n]),!o&&i&&!d?null:c.createElement(wf,{open:n||o||d,autoDestroy:!1,getContainer:r,autoLock:n||d},c.createElement(dW,be({},t,{destroyOnClose:i,afterClose:function(){l==null||l(),f(!1)}})))};GR.displayName="Dialog";const Yi=c.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),XR=c.createContext(null),fW=e=>{const t=$n(e,["prefixCls"]);return c.createElement(sS,Object.assign({},t))},xS=c.createContext({prefixCls:""}),mr=c.createContext({}),Vd=e=>{let{children:t,status:n,override:r}=e;const o=c.useContext(mr),a=c.useMemo(()=>{const i=Object.assign({},o);return r&&delete i.isFormItemInput,n&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[n,r,o]);return c.createElement(mr.Provider,{value:a},t)},vW=()=>$r()&&window.document.documentElement;let _v;const pW=()=>{if(!vW())return!1;if(_v!==void 0)return _v;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),_v=e.scrollHeight===1,document.body.removeChild(e),_v},mW=e=>({animationDuration:e,animationFillMode:"both"}),gW=e=>({animationDuration:e,animationFillMode:"both"}),jg=function(e,t,n,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` - ${a}${e}-enter, - ${a}${e}-appear - `]:Object.assign(Object.assign({},mW(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},gW(r)),{animationPlayState:"paused"}),[` - ${a}${e}-enter${e}-enter-active, - ${a}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},hW=new Rt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),yW=new Rt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),qR=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[jg(r,hW,yW,e.motionDurationMid,t),{[` - ${o}${r}-enter, - ${o}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},bW=new Rt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),CW=new Rt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),xW=new Rt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),SW=new Rt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),wW=new Rt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$W=new Rt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),EW=new Rt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),PW=new Rt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),OW={"move-up":{inKeyframes:EW,outKeyframes:PW},"move-down":{inKeyframes:bW,outKeyframes:CW},"move-left":{inKeyframes:xW,outKeyframes:SW},"move-right":{inKeyframes:wW,outKeyframes:$W}},Ec=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=OW[t];return[jg(r,o,a,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},zg=new Rt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Hg=new Rt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Bg=new Rt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Vg=new Rt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),MW=new Rt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),RW=new Rt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),IW=new Rt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),NW=new Rt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),TW={"slide-up":{inKeyframes:zg,outKeyframes:Hg},"slide-down":{inKeyframes:Bg,outKeyframes:Vg},"slide-left":{inKeyframes:MW,outKeyframes:RW},"slide-right":{inKeyframes:IW,outKeyframes:NW}},$a=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=TW[t];return[jg(r,o,a,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},SS=new Rt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),_W=new Rt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),vE=new Rt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),pE=new Rt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),kW=new Rt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),FW=new Rt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),DW=new Rt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),LW=new Rt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),AW=new Rt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),jW=new Rt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),zW=new Rt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),HW=new Rt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),BW={zoom:{inKeyframes:SS,outKeyframes:_W},"zoom-big":{inKeyframes:vE,outKeyframes:pE},"zoom-big-fast":{inKeyframes:vE,outKeyframes:pE},"zoom-left":{inKeyframes:DW,outKeyframes:LW},"zoom-right":{inKeyframes:AW,outKeyframes:jW},"zoom-up":{inKeyframes:kW,outKeyframes:FW},"zoom-down":{inKeyframes:zW,outKeyframes:HW}},$f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=BW[t];return[jg(r,o,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},VW=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),QR=VW;function mE(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const WW=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},mE("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},mE("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:qR(e)}]};function B0(e){return e!==void 0}function yt(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,l=Bi(function(){return B0(o)?o:B0(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=U(l,2),u=s[0],d=s[1],f=o!==void 0?o:u,v=i?i(f):f,p=Jr(a),m=Bi([f]),y=U(m,2),g=y[0],h=y[1];ic(function(){var C=g[0];u!==C&&p(u,C)},[g]),ic(function(){B0(o)||d(o)},[o]);var b=Jr(function(C,x){d(C,x),h([f],x)});return[v,b]}const Ef=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var ZR=c.createContext(null);function Pf(){return c.useContext(ZR)}function KW(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=c.useState(!1),n=U(t,2),r=n[0],o=n[1],a=c.useRef(null),i=function(){window.clearTimeout(a.current)};c.useEffect(function(){return i},[]);var l=function(u,d){i(),a.current=window.setTimeout(function(){o(u),d&&d()},e)};return[r,l,i]}function JR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=c.useRef(null),n=c.useRef(null);c.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function UW(e,t,n,r){var o=c.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},c.useEffect(function(){function a(i){var l;if(!((l=o.current)!==null&&l!==void 0&&l.customizedTrigger)){var s=i.target;s.shadowRoot&&i.composed&&(s=i.composedPath()[0]||s),o.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(s)&&u!==s})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",a),function(){return window.removeEventListener("mousedown",a)}},[])}var YW=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ps=void 0;function GW(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,l=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,d=e.className,f=e.style,v=e.children,p=e.display,m=e.order,y=e.component,g=y===void 0?"div":y,h=Oe(e,YW),b=i&&!p;function C(R){s(u,R)}c.useEffect(function(){return function(){C(null)}},[]);var x=a&&o!==ps?a(o):v,S;r||(S={opacity:b?0:1,height:b?0:ps,overflowY:b?"hidden":ps,order:i?m:ps,pointerEvents:b?"none":ps,position:b?"absolute":ps});var w={};b&&(w["aria-hidden"]=!0);var $=c.createElement(g,be({className:Y(!r&&n,d),style:E(E({},S),f)},w,h,{ref:t}),x);return i&&($=c.createElement(la,{onResize:function(I){var N=I.offsetWidth;C(N)},disabled:l},$)),$}var sd=c.forwardRef(GW);sd.displayName="Item";function XW(e){if(typeof MessageChannel>"u")kt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function qW(){var e=c.useRef(null),t=function(r){e.current||(e.current=[],XW(function(){Ya.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function $u(e,t){var n=c.useState(t),r=U(n,2),o=r[0],a=r[1],i=Jr(function(l){e(function(){a(l)})});return[o,i]}var QW=["component"],ZW=["className"],JW=["className"],eK=function(t,n){var r=c.useContext(hm);if(!r){var o=t.component,a=o===void 0?"div":o,i=Oe(t,QW);return c.createElement(a,be({},i,{ref:n}))}var l=r.className,s=Oe(r,ZW),u=t.className,d=Oe(t,JW);return c.createElement(hm.Provider,{value:null},c.createElement(sd,be({ref:n,className:Y(l,u)},s,d)))},eI=c.forwardRef(eK);eI.displayName="RawItem";var tK=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],hm=c.createContext(null),tI="responsive",nI="invalidate";function nK(e){return"+ ".concat(e.length," ...")}function rK(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,a=o===void 0?[]:o,i=e.renderItem,l=e.renderRawItem,s=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,v=e.style,p=e.className,m=e.maxCount,y=e.renderRest,g=e.renderRawRest,h=e.suffix,b=e.component,C=b===void 0?"div":b,x=e.itemComponent,S=e.onVisibleChange,w=Oe(e,tK),$=f==="full",R=qW(),I=$u(R,null),N=U(I,2),_=N[0],M=N[1],P=_||0,O=$u(R,new Map),T=U(O,2),k=T[0],F=T[1],D=$u(R,0),j=U(D,2),z=j[0],B=j[1],H=$u(R,0),V=U(H,2),K=V[0],W=V[1],G=$u(R,0),X=U(G,2),Q=X[0],ae=X[1],ee=c.useState(null),q=U(ee,2),re=q[0],te=q[1],J=c.useState(null),ne=U(J,2),oe=ne[0],le=ne[1],de=c.useMemo(function(){return oe===null&&$?Number.MAX_SAFE_INTEGER:oe||0},[oe,_]),pe=c.useState(!1),se=U(pe,2),ve=se[0],ge=se[1],ce="".concat(r,"-item"),ie=Math.max(z,K),fe=m===tI,me=a.length&&fe,Ce=m===nI,ye=me||typeof m=="number"&&a.length>m,Ne=c.useMemo(function(){var he=a;return me?_===null&&$?he=a:he=a.slice(0,Math.min(a.length,P/d)):typeof m=="number"&&(he=a.slice(0,m)),he},[a,d,_,m,me]),_e=c.useMemo(function(){return me?a.slice(de+1):a.slice(Ne.length)},[a,Ne,me,de]),Ke=c.useCallback(function(he,Re){var we;return typeof s=="function"?s(he):(we=s&&(he==null?void 0:he[s]))!==null&&we!==void 0?we:Re},[s]),Ye=c.useCallback(i||function(he){return he},[i]);function $e(he,Re,we){oe===he&&(Re===void 0||Re===re)||(le(he),we||(ge(heP){$e(Le-1,he-Ze-Q+K);break}}h&&bt(0)+Q>P&&te(null)}},[P,k,K,Q,Ke,Ne]);var Ee=ve&&!!_e.length,Se={};re!==null&&me&&(Se={position:"absolute",left:re,top:0});var ke={prefixCls:ce,responsive:me,component:x,invalidate:Ce},De=l?function(he,Re){var we=Ke(he,Re);return c.createElement(hm.Provider,{key:we,value:E(E({},ke),{},{order:Re,item:he,itemKey:we,registerSize:je,display:Re<=de})},l(he,Re))}:function(he,Re){var we=Ke(he,Re);return c.createElement(sd,be({},ke,{order:Re,key:we,item:he,renderItem:Ye,itemKey:we,registerSize:je,display:Re<=de}))},ze,Me={order:Ee?de:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:gt,display:Ee};if(g)g&&(ze=c.createElement(hm.Provider,{value:E(E({},ke),Me)},g(_e)));else{var ht=y||nK;ze=c.createElement(sd,be({},ke,Me),typeof ht=="function"?ht(_e):ht)}var rt=c.createElement(C,be({className:Y(!Ce&&r,p),style:v,ref:t},w),Ne.map(De),ye?ze:null,h&&c.createElement(sd,be({},ke,{responsive:fe,responsiveDisabled:!me,order:de,className:"".concat(ce,"-suffix"),registerSize:dt,display:!0,style:Se}),h));return fe&&(rt=c.createElement(la,{onResize:Ie,disabled:!me},rt)),rt}var Sa=c.forwardRef(rK);Sa.displayName="Overflow";Sa.Item=eI;Sa.RESPONSIVE=tI;Sa.INVALIDATE=nI;var ym=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,a=t.onMouseDown,i=t.onClick,l=t.children,s;return typeof r=="function"?s=r(o):s=r,c.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),a&&a(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},s!==void 0?s:c.createElement("span",{className:Y(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},l))},oK=function(t,n){var r,o,a=t.prefixCls,i=t.id,l=t.inputElement,s=t.disabled,u=t.tabIndex,d=t.autoFocus,f=t.autoComplete,v=t.editable,p=t.activeDescendantId,m=t.value,y=t.maxLength,g=t.onKeyDown,h=t.onMouseDown,b=t.onChange,C=t.onPaste,x=t.onCompositionStart,S=t.onCompositionEnd,w=t.open,$=t.attrs,R=l||c.createElement("input",null),I=R,N=I.ref,_=I.props,M=_.onKeyDown,P=_.onChange,O=_.onMouseDown,T=_.onCompositionStart,k=_.onCompositionEnd,F=_.style;return"maxLength"in R.props,R=c.cloneElement(R,E(E(E({type:"search"},_),{},{id:i,ref:rr(n,N),disabled:s,tabIndex:u,autoComplete:f||"off",autoFocus:d,className:Y("".concat(a,"-selection-search-input"),(r=R)===null||r===void 0||(o=r.props)===null||o===void 0?void 0:o.className),role:"combobox","aria-expanded":w,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":p},$),{},{value:v?m:"",maxLength:y,readOnly:!v,unselectable:v?null:"on",style:E(E({},F),{},{opacity:v?null:0}),onKeyDown:function(j){g(j),M&&M(j)},onMouseDown:function(j){h(j),O&&O(j)},onChange:function(j){b(j),P&&P(j)},onCompositionStart:function(j){x(j),T&&T(j)},onCompositionEnd:function(j){S(j),k&&k(j)},onPaste:C})),R},wS=c.forwardRef(oK);wS.displayName="Input";function rI(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var aK=typeof window<"u"&&window.document&&window.document.documentElement,iK=aK;function lK(e){return e!=null}function gE(e){return["string","number"].includes(We(e))}function oI(e){var t=void 0;return e&&(gE(e.title)?t=e.title.toString():gE(e.label)&&(t=e.label.toString())),t}function sK(e,t){iK?c.useLayoutEffect(e,t):c.useEffect(e,t)}function cK(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var hE=function(t){t.preventDefault(),t.stopPropagation()},uK=function(t){var n=t.id,r=t.prefixCls,o=t.values,a=t.open,i=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,v=t.showSearch,p=t.autoFocus,m=t.autoComplete,y=t.activeDescendantId,g=t.tabIndex,h=t.removeIcon,b=t.maxTagCount,C=t.maxTagTextLength,x=t.maxTagPlaceholder,S=x===void 0?function(te){return"+ ".concat(te.length," ...")}:x,w=t.tagRender,$=t.onToggleOpen,R=t.onRemove,I=t.onInputChange,N=t.onInputPaste,_=t.onInputKeyDown,M=t.onInputMouseDown,P=t.onInputCompositionStart,O=t.onInputCompositionEnd,T=c.useRef(null),k=c.useState(0),F=U(k,2),D=F[0],j=F[1],z=c.useState(!1),B=U(z,2),H=B[0],V=B[1],K="".concat(r,"-selection"),W=a||f==="multiple"&&l===!1||f==="tags"?i:"",G=f==="tags"||f==="multiple"&&l===!1||v&&(a||H);sK(function(){j(T.current.scrollWidth)},[W]);function X(te,J,ne,oe,le){return c.createElement("span",{className:Y("".concat(K,"-item"),A({},"".concat(K,"-item-disabled"),ne)),title:oI(te)},c.createElement("span",{className:"".concat(K,"-item-content")},J),oe&&c.createElement(ym,{className:"".concat(K,"-item-remove"),onMouseDown:hE,onClick:le,customizeIcon:h},"×"))}function Q(te,J,ne,oe,le){var de=function(se){hE(se),$(!a)};return c.createElement("span",{onMouseDown:de},w({label:J,value:te,disabled:ne,closable:oe,onClose:le}))}function ae(te){var J=te.disabled,ne=te.label,oe=te.value,le=!d&&!J,de=ne;if(typeof C=="number"&&(typeof ne=="string"||typeof ne=="number")){var pe=String(de);pe.length>C&&(de="".concat(pe.slice(0,C),"..."))}var se=function(ge){ge&&ge.stopPropagation(),R(te)};return typeof w=="function"?Q(oe,de,J,le,se):X(te,de,J,le,se)}function ee(te){var J=typeof S=="function"?S(te):S;return X({title:J},J,!1)}var q=c.createElement("div",{className:"".concat(K,"-search"),style:{width:D},onFocus:function(){V(!0)},onBlur:function(){V(!1)}},c.createElement(wS,{ref:s,open:a,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:p,autoComplete:m,editable:G,activeDescendantId:y,value:W,onKeyDown:_,onMouseDown:M,onChange:I,onPaste:N,onCompositionStart:P,onCompositionEnd:O,tabIndex:g,attrs:Vl(t,!0)}),c.createElement("span",{ref:T,className:"".concat(K,"-search-mirror"),"aria-hidden":!0},W," ")),re=c.createElement(Sa,{prefixCls:"".concat(K,"-overflow"),data:o,renderItem:ae,renderRest:ee,suffix:q,itemKey:cK,maxCount:b});return c.createElement(c.Fragment,null,re,!o.length&&!W&&c.createElement("span",{className:"".concat(K,"-placeholder")},u))},dK=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,a=t.inputRef,i=t.disabled,l=t.autoFocus,s=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,v=t.values,p=t.placeholder,m=t.tabIndex,y=t.showSearch,g=t.searchValue,h=t.activeValue,b=t.maxLength,C=t.onInputKeyDown,x=t.onInputMouseDown,S=t.onInputChange,w=t.onInputPaste,$=t.onInputCompositionStart,R=t.onInputCompositionEnd,I=t.title,N=c.useState(!1),_=U(N,2),M=_[0],P=_[1],O=d==="combobox",T=O||y,k=v[0],F=g||"";O&&h&&!M&&(F=h),c.useEffect(function(){O&&P(!1)},[O,h]);var D=d!=="combobox"&&!f&&!y?!1:!!F,j=I===void 0?oI(k):I,z=function(){if(k)return null;var H=D?{visibility:"hidden"}:void 0;return c.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:H},p)};return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(r,"-selection-search")},c.createElement(wS,{ref:a,prefixCls:r,id:o,open:f,inputElement:n,disabled:i,autoFocus:l,autoComplete:s,editable:T,activeDescendantId:u,value:F,onKeyDown:C,onMouseDown:x,onChange:function(H){P(!0),S(H)},onPaste:w,onCompositionStart:$,onCompositionEnd:R,tabIndex:m,attrs:Vl(t,!0),maxLength:O?b:void 0})),!O&&k?c.createElement("span",{className:"".concat(r,"-selection-item"),title:j,style:D?{visibility:"hidden"}:void 0},k.label):null,z())};function fK(e){return![ue.ESC,ue.SHIFT,ue.BACKSPACE,ue.TAB,ue.WIN_KEY,ue.ALT,ue.META,ue.WIN_KEY_RIGHT,ue.CTRL,ue.SEMICOLON,ue.EQUALS,ue.CAPS_LOCK,ue.CONTEXT_MENU,ue.F1,ue.F2,ue.F3,ue.F4,ue.F5,ue.F6,ue.F7,ue.F8,ue.F9,ue.F10,ue.F11,ue.F12].includes(e)}var vK=function(t,n){var r=c.useRef(null),o=c.useRef(!1),a=t.prefixCls,i=t.open,l=t.mode,s=t.showSearch,u=t.tokenWithEnter,d=t.autoClearSearchValue,f=t.onSearch,v=t.onSearchSubmit,p=t.onToggleOpen,m=t.onInputKeyDown,y=t.domRef;c.useImperativeHandle(n,function(){return{focus:function(){r.current.focus()},blur:function(){r.current.blur()}}});var g=JR(0),h=U(g,2),b=h[0],C=h[1],x=function(F){var D=F.which;(D===ue.UP||D===ue.DOWN)&&F.preventDefault(),m&&m(F),D===ue.ENTER&&l==="tags"&&!o.current&&!i&&(v==null||v(F.target.value)),fK(D)&&p(!0)},S=function(){C(!0)},w=c.useRef(null),$=function(F){f(F,!0,o.current)!==!1&&p(!0)},R=function(){o.current=!0},I=function(F){o.current=!1,l!=="combobox"&&$(F.target.value)},N=function(F){var D=F.target.value;if(u&&w.current&&/[\r\n]/.test(w.current)){var j=w.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");D=D.replace(j,w.current)}w.current=null,$(D)},_=function(F){var D=F.clipboardData,j=D.getData("text");w.current=j},M=function(F){var D=F.target;if(D!==r.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){r.current.focus()}):r.current.focus()}},P=function(F){var D=b();F.target!==r.current&&!D&&l!=="combobox"&&F.preventDefault(),(l!=="combobox"&&(!s||!D)||!i)&&(i&&d!==!1&&f("",!0,!1),p())},O={inputRef:r,onInputKeyDown:x,onInputMouseDown:S,onInputChange:N,onInputPaste:_,onInputCompositionStart:R,onInputCompositionEnd:I},T=l==="multiple"||l==="tags"?c.createElement(uK,be({},t,O)):c.createElement(dK,be({},t,O));return c.createElement("div",{ref:y,className:"".concat(a,"-selector"),onClick:M,onMouseDown:P},T)},aI=c.forwardRef(vK);aI.displayName="Selector";var yE=c.createContext(null);function bE(e){return e?Array.isArray(e)?e:[e]:[]}function pK(e,t,n,r){return c.useMemo(function(){var o=bE(n??t),a=bE(r??t),i=new Set(o),l=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[i,l]},[e,t,n,r])}function mK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function gK(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Eu(e){return Wd(parseFloat(e),0)}function hK(e,t){var n=E({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement)){var o=Of(r).getComputedStyle(r),a=o.overflow,i=o.overflowClipMargin,l=o.borderTopWidth,s=o.borderBottomWidth,u=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),v=r.offsetHeight,p=r.clientHeight,m=r.offsetWidth,y=r.clientWidth,g=Eu(l),h=Eu(s),b=Eu(u),C=Eu(d),x=Wd(Math.round(f.width/m*1e3)/1e3),S=Wd(Math.round(f.height/v*1e3)/1e3),w=(m-y-b-C)*x,$=(v-p-g-h)*S,R=g*S,I=h*S,N=b*x,_=C*x,M=0,P=0;if(a==="clip"){var O=Eu(i);M=O*x,P=O*S}var T=f.x+N-M,k=f.y+R-P,F=T+f.width+2*M-N-_-w,D=k+f.height+2*P-R-I-$;n.left=Math.max(n.left,T),n.top=Math.max(n.top,k),n.right=Math.min(n.right,F),n.bottom=Math.min(n.bottom,D)}}),n}function xE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function SE(e,t){var n=t||[],r=U(n,2),o=r[0],a=r[1];return[xE(e.width,o),xE(e.height,a)]}function wE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function ms(e,t){var n=t[0],r=t[1],o,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function gi(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function yK(e,t,n,r,o,a,i){var l=c.useState({ready:!1,offsetX:0,offsetY:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),s=U(l,2),u=s[0],d=s[1],f=c.useRef(0),v=c.useMemo(function(){return t?hb(t):[]},[t]),p=c.useRef({}),m=function(){p.current={}};e||m();var y=Jr(function(){if(t&&n&&e){let St=function(Bt,Zt){var pn=N.x+Bt,tn=N.y+Zt,In=pn+H,go=tn+B,ho=Math.max(pn,W.left),gr=Math.max(tn,W.top),Zn=Math.min(In,W.right),Wr=Math.min(go,W.bottom);return Math.max(0,(Zn-ho)*(Wr-gr))},Ge=function(){Se=N.y+ye,ke=Se+B,De=N.x+Ce,ze=De+H};var b=t,C=b.style.left,x=b.style.top,S=b.ownerDocument,w=Of(b),$=E(E({},o[r]),a);b.style.left="0",b.style.top="0";var R;if(Array.isArray(n))R={x:n[0],y:n[1],width:0,height:0};else{var I=n.getBoundingClientRect();R={x:I.x,y:I.y,width:I.width,height:I.height}}var N=b.getBoundingClientRect(),_=w.getComputedStyle(b),M=_.width,P=_.height,O=S.documentElement,T=O.clientWidth,k=O.clientHeight,F=O.scrollWidth,D=O.scrollHeight,j=O.scrollTop,z=O.scrollLeft,B=N.height,H=N.width,V=R.height,K=R.width,W=$.htmlRegion==="scroll"?{left:-z,top:-j,right:F-z,bottom:D-j}:{left:0,top:0,right:T,bottom:k};W=hK(W,v),b.style.left=C,b.style.top=x;var G=Wd(Math.round(H/parseFloat(M)*1e3)/1e3),X=Wd(Math.round(B/parseFloat(P)*1e3)/1e3);if(G===0||X===0||om(n)&&!Yc(n))return;var Q=$.offset,ae=$.targetOffset,ee=SE(N,Q),q=U(ee,2),re=q[0],te=q[1],J=SE(R,ae),ne=U(J,2),oe=ne[0],le=ne[1];R.x-=oe,R.y-=le;var de=$.points||[],pe=U(de,2),se=pe[0],ve=pe[1],ge=wE(ve),ce=wE(se),ie=ms(R,ge),fe=ms(N,ce),me=E({},$),Ce=ie.x-fe.x+re,ye=ie.y-fe.y+te,Ne=St(Ce,ye),_e=ms(R,["t","l"]),Ke=ms(N,["t","l"]),Ye=ms(R,["b","r"]),$e=ms(N,["b","r"]),Ie=$.overflow||{},je=Ie.adjustX,gt=Ie.adjustY,dt=Ie.shiftX,bt=Ie.shiftY,Ee=function(Zt){return typeof Zt=="boolean"?Zt:Zt>=0},Se,ke,De,ze;Ge();var Me=Ee(gt),ht=ce[0]===ge[0];if(Me&&ce[0]==="t"&&(ke>W.bottom||p.current.bt)){var rt=ye;ht?rt-=B-V:rt=_e.y-$e.y-te,St(Ce,rt)>=Ne?(p.current.bt=!0,ye=rt,me.points=[gi(ce,0),gi(ge,0)]):p.current.bt=!1}if(Me&&ce[0]==="b"&&(Se=Ne?(p.current.tb=!0,ye=he,me.points=[gi(ce,0),gi(ge,0)]):p.current.tb=!1}var Re=Ee(je),we=ce[1]===ge[1];if(Re&&ce[1]==="l"&&(ze>W.right||p.current.rl)){var Le=Ce;we?Le-=H-K:Le=_e.x-$e.x-re,St(Le,ye)>=Ne?(p.current.rl=!0,Ce=Le,me.points=[gi(ce,1),gi(ge,1)]):p.current.rl=!1}if(Re&&ce[1]==="r"&&(De=Ne?(p.current.lr=!0,Ce=Ze,me.points=[gi(ce,1),gi(ge,1)]):p.current.lr=!1}Ge();var st=dt===!0?0:dt;typeof st=="number"&&(DeW.right&&(Ce-=ze-W.right,R.x>W.right-st&&(Ce+=R.x-W.right+st)));var Ct=bt===!0?0:bt;typeof Ct=="number"&&(SeW.bottom&&(ye-=ke-W.bottom,R.y>W.bottom-Ct&&(ye+=R.y-W.bottom+Ct)));var it=N.x+Ce,Te=it+H,Be=N.y+ye,Xe=Be+B,He=R.x,Fe=He+K,Qe=R.y,Ue=Qe+V,ct=Math.max(it,He),ot=Math.min(Te,Fe),Je=(ct+ot)/2,et=Je-it,ut=Math.max(Be,Qe),$t=Math.min(Xe,Ue),Tt=(ut+$t)/2,dn=Tt-Be;i==null||i(t,me),d({ready:!0,offsetX:Ce/G,offsetY:ye/X,arrowX:et/G,arrowY:dn/X,scaleX:G,scaleY:X,align:me})}}),g=function(){f.current+=1;var C=f.current;Promise.resolve().then(function(){f.current===C&&y()})},h=function(){d(function(C){return E(E({},C),{},{ready:!1})})};return en(h,[r]),en(function(){e||h()},[e]),[u.ready,u.offsetX,u.offsetY,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,g]}function bK(e,t,n,r){en(function(){if(e&&t&&n){let d=function(){r()};var o=t,a=n,i=hb(o),l=hb(a),s=Of(a),u=new Set([s].concat(xe(i),xe(l)));return u.forEach(function(f){f.addEventListener("scroll",d,{passive:!0})}),s.addEventListener("resize",d,{passive:!0}),r(),function(){u.forEach(function(f){f.removeEventListener("scroll",d),s.removeEventListener("resize",d)})}}},[e,t,n])}function CK(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,a=r||{},i=a.className,l=a.content,s=o.x,u=s===void 0?0:s,d=o.y,f=d===void 0?0:d,v=c.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var m=n.points[0],y=n.points[1],g=m[0],h=m[1],b=y[0],C=y[1];g===b||!["t","b"].includes(g)?p.top=f:g==="t"?p.top=0:p.bottom=0,h===C||!["l","r"].includes(h)?p.left=u:h==="l"?p.left=0:p.right=0}return c.createElement("div",{ref:v,className:Y("".concat(t,"-arrow"),i),style:p},l)}function xK(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?c.createElement(qn,be({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var l=i.className;return c.createElement("div",{style:{zIndex:r},className:Y("".concat(t,"-mask"),l)})}):null}var SK=c.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),wK=c.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,a=e.style,i=e.target,l=e.onVisibleChanged,s=e.open,u=e.keepDom,d=e.onClick,f=e.mask,v=e.arrow,p=e.arrowPos,m=e.align,y=e.motion,g=e.maskMotion,h=e.forceRender,b=e.getPopupContainer,C=e.autoDestroy,x=e.portal,S=e.zIndex,w=e.onMouseEnter,$=e.onMouseLeave,R=e.ready,I=e.offsetX,N=e.offsetY,_=e.onAlign,M=e.onPrepare,P=e.stretch,O=e.targetWidth,T=e.targetHeight,k=typeof n=="function"?n():n,F=s||u,D=(b==null?void 0:b.length)>0,j=c.useState(!b||!D),z=U(j,2),B=z[0],H=z[1];if(en(function(){!B&&D&&i&&H(!0)},[B,D,i]),!B)return null;var V=R||!s?{left:I,top:N}:{left:"-1000vw",top:"-1000vh"},K={};return P&&(P.includes("height")&&T?K.height=T:P.includes("minHeight")&&T&&(K.minHeight=T),P.includes("width")&&O?K.width=O:P.includes("minWidth")&&O&&(K.minWidth=O)),s||(K.pointerEvents="none"),c.createElement(x,{open:h||F,getContainer:b&&function(){return b(i)},autoDestroy:C},c.createElement(xK,{prefixCls:o,open:s,zIndex:S,mask:f,motion:g}),c.createElement(la,{onResize:_,disabled:!s},function(W){return c.createElement(qn,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:h,leavedClassName:"".concat(o,"-hidden")},y,{onAppearPrepare:M,onEnterPrepare:M,visible:s,onVisibleChanged:function(X){var Q;y==null||(Q=y.onVisibleChanged)===null||Q===void 0||Q.call(y,X),l(X)}}),function(G,X){var Q=G.className,ae=G.style,ee=Y(o,Q,r);return c.createElement("div",{ref:rr(W,t,X),className:ee,style:E(E(E(E({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},V),K),ae),{},{boxSizing:"border-box",zIndex:S},a),onMouseEnter:w,onMouseLeave:$,onClick:d},v&&c.createElement(CK,{prefixCls:o,arrow:v,arrowPos:p,align:m}),c.createElement(SK,{cache:!s},k))})}))}),$K=c.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Zl(n),a=c.useCallback(function(l){eS(t,r?r(l):l)},[r]),i=bf(a,n.ref);return o?c.cloneElement(n,{ref:i}):n}),EK=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function PK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wf,t=c.forwardRef(function(n,r){var o=n.prefixCls,a=o===void 0?"rc-trigger-popup":o,i=n.children,l=n.action,s=l===void 0?"hover":l,u=n.showAction,d=n.hideAction,f=n.popupVisible,v=n.defaultPopupVisible,p=n.onPopupVisibleChange,m=n.afterPopupVisibleChange,y=n.mouseEnterDelay,g=n.mouseLeaveDelay,h=g===void 0?.1:g,b=n.focusDelay,C=n.blurDelay,x=n.mask,S=n.maskClosable,w=S===void 0?!0:S,$=n.getPopupContainer,R=n.forceRender,I=n.autoDestroy,N=n.destroyPopupOnHide,_=n.popup,M=n.popupClassName,P=n.popupStyle,O=n.popupPlacement,T=n.builtinPlacements,k=T===void 0?{}:T,F=n.popupAlign,D=n.zIndex,j=n.stretch,z=n.getPopupClassNameFromAlign,B=n.alignPoint,H=n.onPopupClick,V=n.onPopupAlign,K=n.arrow,W=n.popupMotion,G=n.maskMotion,X=n.popupTransitionName,Q=n.popupAnimation,ae=n.maskTransitionName,ee=n.maskAnimation,q=n.className,re=n.getTriggerDOMNode,te=Oe(n,EK),J=I||N||!1,ne=c.useState(!1),oe=U(ne,2),le=oe[0],de=oe[1];en(function(){de(Ef())},[]);var pe=c.useRef({}),se=c.useContext(yE),ve=c.useMemo(function(){return{registerSubPopup:function(Pt,nn){pe.current[Pt]=nn,se==null||se.registerSubPopup(Pt,nn)}}},[se]),ge=UR(),ce=c.useState(null),ie=U(ce,2),fe=ie[0],me=ie[1],Ce=Jr(function(vt){om(vt)&&fe!==vt&&me(vt),se==null||se.registerSubPopup(ge,vt)}),ye=c.useState(null),Ne=U(ye,2),_e=Ne[0],Ke=Ne[1],Ye=Jr(function(vt){om(vt)&&_e!==vt&&Ke(vt)}),$e=c.Children.only(i),Ie=($e==null?void 0:$e.props)||{},je={},gt=Jr(function(vt){var Pt,nn,an=_e;return(an==null?void 0:an.contains(vt))||(an==null||(Pt=an.getRootNode())===null||Pt===void 0?void 0:Pt.host)===vt||vt===an||(fe==null?void 0:fe.contains(vt))||(fe==null||(nn=fe.getRootNode())===null||nn===void 0?void 0:nn.host)===vt||vt===fe||Object.values(pe.current).some(function(Xt){return(Xt==null?void 0:Xt.contains(vt))||vt===Xt})}),dt=CE(a,W,Q,X),bt=CE(a,G,ee,ae),Ee=c.useState(v||!1),Se=U(Ee,2),ke=Se[0],De=Se[1],ze=f??ke,Me=Jr(function(vt){f===void 0&&De(vt)});en(function(){De(f||!1)},[f]);var ht=c.useRef(ze);ht.current=ze;var rt=Jr(function(vt){ze!==vt&&(Me(vt),p==null||p(vt))}),he=c.useRef(),Re=function(){clearTimeout(he.current)},we=function(Pt){var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Re(),nn===0?rt(Pt):he.current=setTimeout(function(){rt(Pt)},nn*1e3)};c.useEffect(function(){return Re},[]);var Le=c.useState(!1),Ze=U(Le,2),st=Ze[0],Ct=Ze[1],it=c.useRef(!0);en(function(){(!it.current||ze)&&Ct(!0),it.current=!0},[ze]);var Te=c.useState(null),Be=U(Te,2),Xe=Be[0],He=Be[1],Fe=c.useState([0,0]),Qe=U(Fe,2),Ue=Qe[0],ct=Qe[1],ot=function(Pt){ct([Pt.clientX,Pt.clientY])},Je=yK(ze,fe,B?Ue:_e,O,k,F,V),et=U(Je,9),ut=et[0],$t=et[1],Tt=et[2],dn=et[3],St=et[4],Ge=et[5],Bt=et[6],Zt=et[7],pn=et[8],tn=Jr(function(){st||pn()});bK(ze,_e,fe,tn),en(function(){tn()},[Ue]),en(function(){ze&&!(k!=null&&k[O])&&tn()},[JSON.stringify(F)]);var In=c.useMemo(function(){var vt=gK(k,a,Zt,B);return Y(vt,z==null?void 0:z(Zt))},[Zt,z,k,a,B]);c.useImperativeHandle(r,function(){return{forceAlign:tn}});var go=function(Pt){Ct(!1),pn(),m==null||m(Pt)},ho=function(){return new Promise(function(Pt){He(function(){return Pt})})};en(function(){Xe&&(pn(),Xe(),He(null))},[Xe]);var gr=c.useState(0),Zn=U(gr,2),Wr=Zn[0],Nr=Zn[1],Ma=c.useState(0),Kr=U(Ma,2),yo=Kr[0],at=Kr[1],Ve=function(Pt,nn){if(tn(),j){var an=nn.getBoundingClientRect();Nr(an.width),at(an.height)}},wt=pK(le,s,u,d),Ft=U(wt,2),It=Ft[0],Gt=Ft[1],mn=function(Pt,nn,an,Xt){je[Pt]=function(bo){var Ia;Xt==null||Xt(bo),we(nn,an);for(var Na=arguments.length,ua=new Array(Na>1?Na-1:0),ll=1;ll1?nn-1:0),Xt=1;Xt1?nn-1:0),Xt=1;Xt1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=lI(n,!1),i=a.label,l=a.value,s=a.options;function u(d,f){d.forEach(function(v){var p=v[i];if(f||!(s in v)){var m=v[l];o.push({key:$E(v,o.length),groupOption:f,data:v,label:p,value:m})}else{var y=p;y===void 0&&r&&(y=v.label),o.push({key:$E(v,o.length),group:!0,data:v,label:y}),u(v[s],!0)}})}return u(e,!1),o}function yb(e){var t=E({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Wt(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function NK(e,t){if(!t||!t.length)return null;var n=!1;function r(a,i){var l=VM(i),s=l[0],u=l.slice(1);if(!s)return[a];var d=a.split(s);return n=n||d.length>1,d.reduce(function(f,v){return[].concat(xe(f),xe(r(v,u)))},[]).filter(function(f){return f})}var o=r(e,t);return n?o:null}var TK=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],_K=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function bb(e){return e==="tags"||e==="multiple"}var ES=c.forwardRef(function(e,t){var n,r,o=e.id,a=e.prefixCls,i=e.className,l=e.showSearch,s=e.tagRender,u=e.direction,d=e.omitDomProps,f=e.displayValues,v=e.onDisplayValuesChange,p=e.emptyOptions,m=e.notFoundContent,y=m===void 0?"Not Found":m,g=e.onClear,h=e.mode,b=e.disabled,C=e.loading,x=e.getInputElement,S=e.getRawInputElement,w=e.open,$=e.defaultOpen,R=e.onDropdownVisibleChange,I=e.activeValue,N=e.onActiveValueChange,_=e.activeDescendantId,M=e.searchValue,P=e.autoClearSearchValue,O=e.onSearch,T=e.onSearchSplit,k=e.tokenSeparators,F=e.allowClear,D=e.showArrow,j=e.inputIcon,z=e.clearIcon,B=e.OptionList,H=e.animation,V=e.transitionName,K=e.dropdownStyle,W=e.dropdownClassName,G=e.dropdownMatchSelectWidth,X=e.dropdownRender,Q=e.dropdownAlign,ae=e.placement,ee=e.builtinPlacements,q=e.getPopupContainer,re=e.showAction,te=re===void 0?[]:re,J=e.onFocus,ne=e.onBlur,oe=e.onKeyUp,le=e.onKeyDown,de=e.onMouseDown,pe=Oe(e,TK),se=bb(h),ve=(l!==void 0?l:se)||h==="combobox",ge=E({},pe);_K.forEach(function(at){delete ge[at]}),d==null||d.forEach(function(at){delete ge[at]});var ce=c.useState(!1),ie=U(ce,2),fe=ie[0],me=ie[1];c.useEffect(function(){me(Ef())},[]);var Ce=c.useRef(null),ye=c.useRef(null),Ne=c.useRef(null),_e=c.useRef(null),Ke=c.useRef(null),Ye=KW(),$e=U(Ye,3),Ie=$e[0],je=$e[1],gt=$e[2];c.useImperativeHandle(t,function(){var at,Ve;return{focus:(at=_e.current)===null||at===void 0?void 0:at.focus,blur:(Ve=_e.current)===null||Ve===void 0?void 0:Ve.blur,scrollTo:function(Ft){var It;return(It=Ke.current)===null||It===void 0?void 0:It.scrollTo(Ft)}}});var dt=c.useMemo(function(){var at;if(h!=="combobox")return M;var Ve=(at=f[0])===null||at===void 0?void 0:at.value;return typeof Ve=="string"||typeof Ve=="number"?String(Ve):""},[M,h,f]),bt=h==="combobox"&&typeof x=="function"&&x()||null,Ee=typeof S=="function"&&S(),Se=bf(ye,Ee==null||(n=Ee.props)===null||n===void 0?void 0:n.ref),ke=c.useState(!1),De=U(ke,2),ze=De[0],Me=De[1];en(function(){Me(!0)},[]);var ht=yt(!1,{defaultValue:$,value:w}),rt=U(ht,2),he=rt[0],Re=rt[1],we=ze?he:!1,Le=!y&&p;(b||Le&&we&&h==="combobox")&&(we=!1);var Ze=Le?!1:we,st=c.useCallback(function(at){var Ve=at!==void 0?at:!we;b||(Re(Ve),we!==Ve&&(R==null||R(Ve)))},[b,we,Re,R]),Ct=c.useMemo(function(){return(k||[]).some(function(at){return[` -`,`\r -`].includes(at)})},[k]),it=function(Ve,wt,Ft){var It=!0,Gt=Ve;N==null||N(null);var mn=Ft?null:NK(Ve,k);return h!=="combobox"&&mn&&(Gt="",T==null||T(mn),st(!1),It=!1),O&&dt!==Gt&&O(Gt,{source:wt?"typing":"effect"}),It},Te=function(Ve){!Ve||!Ve.trim()||O(Ve,{source:"submit"})};c.useEffect(function(){!we&&!se&&h!=="combobox"&&it("",!1,!1)},[we]),c.useEffect(function(){he&&b&&Re(!1),b&&je(!1)},[b]);var Be=JR(),Xe=U(Be,2),He=Xe[0],Fe=Xe[1],Qe=function(Ve){var wt=He(),Ft=Ve.which;if(Ft===ue.ENTER&&(h!=="combobox"&&Ve.preventDefault(),we||st(!0)),Fe(!!dt),Ft===ue.BACKSPACE&&!wt&&se&&!dt&&f.length){for(var It=xe(f),Gt=null,mn=It.length-1;mn>=0;mn-=1){var Pe=It[mn];if(!Pe.disabled){It.splice(mn,1),Gt=Pe;break}}Gt&&v(It,{type:"remove",values:[Gt]})}for(var Jt=arguments.length,kn=new Array(Jt>1?Jt-1:0),zn=1;zn1?wt-1:0),It=1;It1?mn-1:0),Jt=1;Jt1&&arguments[1]!==void 0?arguments[1]:!1;return Mr(e).map(function(n,r){if(!c.isValidElement(n)||!n.type)return null;var o=n,a=o.type.isSelectOptGroup,i=o.key,l=o.props,s=l.children,u=Oe(l,jK);return t||!a?zK(n):E(E({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:sI(s)})}).filter(function(n){return n})}function HK(e,t,n,r,o){return c.useMemo(function(){var a=e,i=!e;i&&(a=sI(t));var l=new Map,s=new Map,u=function(v,p,m){m&&typeof m=="string"&&v.set(p[m],p)};function d(f){for(var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=0;ps},r}return _n(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(o){o.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var o=this.state,a=o.dragging,i=o.visible,l=this.props.prefixCls,s=this.getSpinHeight(),u=this.getTop(),d=this.showScroll(),f=d&&i;return c.createElement("div",{ref:this.scrollbarRef,className:Y("".concat(l,"-scrollbar"),A({},"".concat(l,"-scrollbar-show"),d)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:f?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},c.createElement("div",{ref:this.thumbRef,className:Y("".concat(l,"-scrollbar-thumb"),A({},"".concat(l,"-scrollbar-thumb-moving"),a)),style:{width:"100%",height:s,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(c.Component);function WK(e){var t=e.children,n=e.setRef,r=c.useCallback(function(o){n(o)},[]);return c.cloneElement(t,{ref:r})}function KK(e,t,n,r,o,a){var i=a.getKey;return e.slice(t,n+1).map(function(l,s){var u=t+s,d=o(l,u,{}),f=i(l);return c.createElement(WK,{key:f,setRef:function(p){return r(l,p)}},d)})}var UK=function(){function e(){Tn(this,e),this.maps=void 0,this.maps=Object.create(null)}return _n(e,[{key:"set",value:function(n,r){this.maps[n]=r}},{key:"get",value:function(n){return this.maps[n]}}]),e}();function YK(e,t,n){var r=c.useState(0),o=U(r,2),a=o[0],i=o[1],l=c.useRef(new Map),s=c.useRef(new UK),u=c.useRef();function d(){kt.cancel(u.current)}function f(){d(),u.current=kt(function(){l.current.forEach(function(p,m){if(p&&p.offsetParent){var y=xc(p),g=y.offsetHeight;s.current.get(m)!==g&&s.current.set(m,y.offsetHeight)}}),i(function(p){return p+1})})}function v(p,m){var y=e(p),g=l.current.get(y);m?(l.current.set(y,m),f()):l.current.delete(y),!g!=!m&&(m?t==null||t(p):n==null||n(p))}return c.useEffect(function(){return d},[]),[v,f,s.current,a]}function GK(e,t,n,r,o,a,i,l){var s=c.useRef();return function(u){if(u==null){l();return}if(kt.cancel(s.current),typeof u=="number")i(u);else if(u&&We(u)==="object"){var d,f=u.align;"index"in u?d=u.index:d=t.findIndex(function(y){return o(y)===u.key});var v=u.offset,p=v===void 0?0:v,m=function y(g,h){if(!(g<0||!e.current)){var b=e.current.clientHeight,C=!1,x=h;if(b){for(var S=h||f,w=0,$=0,R=0,I=Math.min(t.length,d),N=0;N<=I;N+=1){var _=o(t[N]);$=w;var M=n.get(_);R=$+(M===void 0?r:M),w=R,N===d&&M===void 0&&(C=!0)}var P=null;switch(S){case"top":P=$-p;break;case"bottom":P=R-b+p;break;default:{var O=e.current.scrollTop,T=O+b;$T&&(x="bottom")}}P!==null&&P!==e.current.scrollTop&&i(P)}s.current=kt(function(){C&&a(),y(g-1,x)},2)}};m(3)}}}function XK(e,t,n){var r=e.length,o=t.length,a,i;if(r===0&&o===0)return null;r"u"?"undefined":We(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const uI=function(e,t){var n=c.useRef(!1),r=c.useRef(null);function o(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var a=c.useRef({top:e,bottom:t});return a.current.top=e,a.current.bottom=t,function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=i<0&&a.current.top||i>0&&a.current.bottom;return l&&s?(clearTimeout(r.current),n.current=!1):(!s||n.current)&&o(),!n.current&&s}};function ZK(e,t,n,r){var o=c.useRef(0),a=c.useRef(null),i=c.useRef(null),l=c.useRef(!1),s=uI(t,n);function u(f){if(e){kt.cancel(a.current);var v=f.deltaY;o.current+=v,i.current=v,!s(v)&&(QK||f.preventDefault(),a.current=kt(function(){var p=l.current?10:1;r(o.current*p),o.current=0}))}}function d(f){e&&(l.current=f.detail===i.current)}return[u,d]}var JK=14/15;function eU(e,t,n){var r=c.useRef(!1),o=c.useRef(0),a=c.useRef(null),i=c.useRef(null),l,s=function(v){if(r.current){var p=Math.ceil(v.touches[0].pageY),m=o.current-p;o.current=p,n(m)&&v.preventDefault(),clearInterval(i.current),i.current=setInterval(function(){m*=JK,(!n(m,!0)||Math.abs(m)<=.1)&&clearInterval(i.current)},16)}},u=function(){r.current=!1,l()},d=function(v){l(),v.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(v.touches[0].pageY),a.current=v.target,a.current.addEventListener("touchmove",s),a.current.addEventListener("touchend",u))};l=function(){a.current&&(a.current.removeEventListener("touchmove",s),a.current.removeEventListener("touchend",u))},en(function(){return e&&t.current.addEventListener("touchstart",d),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(i.current)}},[e])}var tU=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],nU=[],rU={overflowY:"auto",overflowAnchor:"none"};function oU(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,o=e.className,a=e.height,i=e.itemHeight,l=e.fullHeight,s=l===void 0?!0:l,u=e.style,d=e.data,f=e.children,v=e.itemKey,p=e.virtual,m=e.component,y=m===void 0?"div":m,g=e.onScroll,h=e.onVisibleChange,b=e.innerProps,C=Oe(e,tU),x=!!(p!==!1&&a&&i),S=x&&d&&i*d.length>a,w=c.useState(0),$=U(w,2),R=$[0],I=$[1],N=c.useState(!1),_=U(N,2),M=_[0],P=_[1],O=Y(r,o),T=d||nU,k=c.useRef(),F=c.useRef(),D=c.useRef(),j=c.useCallback(function($e){return typeof v=="function"?v($e):$e==null?void 0:$e[v]},[v]),z={getKey:j};function B($e){I(function(Ie){var je;typeof $e=="function"?je=$e(Ie):je=$e;var gt=se(je);return k.current.scrollTop=gt,gt})}var H=c.useRef({start:0,end:T.length}),V=c.useRef(),K=qK(T,j),W=U(K,1),G=W[0];V.current=G;var X=YK(j,null,null),Q=U(X,4),ae=Q[0],ee=Q[1],q=Q[2],re=Q[3],te=c.useMemo(function(){if(!x)return{scrollHeight:void 0,start:0,end:T.length-1,offset:void 0};if(!S){var $e;return{scrollHeight:(($e=F.current)===null||$e===void 0?void 0:$e.offsetHeight)||0,start:0,end:T.length-1,offset:void 0}}for(var Ie=0,je,gt,dt,bt=T.length,Ee=0;Ee=R&&je===void 0&&(je=Ee,gt=Ie),ze>R+a&&dt===void 0&&(dt=Ee),Ie=ze}return je===void 0&&(je=0,gt=0,dt=Math.ceil(a/i)),dt===void 0&&(dt=T.length-1),dt=Math.min(dt+1,T.length),{scrollHeight:Ie,start:je,end:dt,offset:gt}},[S,x,R,T,re,a]),J=te.scrollHeight,ne=te.start,oe=te.end,le=te.offset;H.current.start=ne,H.current.end=oe;var de=J-a,pe=c.useRef(de);pe.current=de;function se($e){var Ie=$e;return Number.isNaN(pe.current)||(Ie=Math.min(Ie,pe.current)),Ie=Math.max(Ie,0),Ie}var ve=R<=0,ge=R>=de,ce=uI(ve,ge);function ie($e){var Ie=$e;B(Ie)}function fe($e){var Ie=$e.currentTarget.scrollTop;Ie!==R&&B(Ie),g==null||g($e)}var me=ZK(x,ve,ge,function($e){B(function(Ie){var je=Ie+$e;return je})}),Ce=U(me,2),ye=Ce[0],Ne=Ce[1];eU(x,k,function($e,Ie){return ce($e,Ie)?!1:(ye({preventDefault:function(){},deltaY:$e}),!0)}),en(function(){function $e(Ie){x&&Ie.preventDefault()}return k.current.addEventListener("wheel",ye),k.current.addEventListener("DOMMouseScroll",Ne),k.current.addEventListener("MozMousePixelScroll",$e),function(){k.current&&(k.current.removeEventListener("wheel",ye),k.current.removeEventListener("DOMMouseScroll",Ne),k.current.removeEventListener("MozMousePixelScroll",$e))}},[x]);var _e=GK(k,T,q,i,j,ee,B,function(){var $e;($e=D.current)===null||$e===void 0||$e.delayHidden()});c.useImperativeHandle(t,function(){return{scrollTo:_e}}),en(function(){if(h){var $e=T.slice(ne,oe+1);h($e,T)}},[ne,oe,T]);var Ke=KK(T,ne,oe,ae,f,z),Ye=null;return a&&(Ye=E(A({},s?"height":"maxHeight",a),rU),x&&(Ye.overflowY="hidden",M&&(Ye.pointerEvents="none"))),c.createElement("div",be({style:E(E({},u),{},{position:"relative"}),className:O},C),c.createElement(y,{className:"".concat(r,"-holder"),style:Ye,ref:k,onScroll:fe},c.createElement(cI,{prefixCls:r,height:J,offset:le,onInnerResize:ee,ref:F,innerProps:b},Ke)),x&&c.createElement(VK,{ref:D,prefixCls:r,scrollTop:R,height:a,scrollHeight:J,count:T.length,onScroll:ie,onStartMove:function(){P(!0)},onStopMove:function(){P(!1)}}))}var RS=c.forwardRef(oU);RS.displayName="List";var dI=c.createContext(null);function aU(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var iU=["disabled","title","children","style","className"];function ME(e){return typeof e=="string"||typeof e=="number"}var lU=function(t,n){var r=Pf(),o=r.prefixCls,a=r.id,i=r.open,l=r.multiple,s=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,v=r.onPopupScroll,p=c.useContext(dI),m=p.flattenOptions,y=p.onActiveValue,g=p.defaultActiveFirstOption,h=p.onSelect,b=p.menuItemSelectedIcon,C=p.rawValues,x=p.fieldNames,S=p.virtual,w=p.listHeight,$=p.listItemHeight,R="".concat(o,"-item"),I=Ji(function(){return m},[i,m],function(G,X){return X[0]&&G[1]!==X[1]}),N=c.useRef(null),_=function(X){X.preventDefault()},M=function(X){N.current&&N.current.scrollTo(typeof X=="number"?{index:X}:X)},P=function(X){for(var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ae=I.length,ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1;F(X);var ae={source:Q?"keyboard":"mouse"},ee=I[X];if(!ee){y(null,-1,ae);return}y(ee.value,X,ae)};c.useEffect(function(){D(g!==!1?P(0):-1)},[I.length,u]);var j=c.useCallback(function(G){return C.has(G)&&s!=="combobox"},[s,xe(C).toString(),C.size]);c.useEffect(function(){var G=setTimeout(function(){if(!l&&i&&C.size===1){var Q=Array.from(C)[0],ae=I.findIndex(function(ee){var q=ee.data;return q.value===Q});ae!==-1&&(D(ae),M(ae))}});if(i){var X;(X=N.current)===null||X===void 0||X.scrollTo(void 0)}return function(){return clearTimeout(G)}},[i,u,m.length]);var z=function(X){X!==void 0&&h(X,{selected:!C.has(X)}),l||d(!1)};if(c.useImperativeHandle(n,function(){return{onKeyDown:function(X){var Q=X.which,ae=X.ctrlKey;switch(Q){case ue.N:case ue.P:case ue.UP:case ue.DOWN:{var ee=0;if(Q===ue.UP?ee=-1:Q===ue.DOWN?ee=1:aU()&&ae&&(Q===ue.N?ee=1:Q===ue.P&&(ee=-1)),ee!==0){var q=P(k+ee,ee);M(q),D(q,!0)}break}case ue.ENTER:{var re=I[k];re&&!re.data.disabled?z(re.value):z(void 0),i&&X.preventDefault();break}case ue.ESC:d(!1),i&&X.stopPropagation()}},onKeyUp:function(){},scrollTo:function(X){M(X)}}}),I.length===0)return c.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(R,"-empty"),onMouseDown:_},f);var B=Object.keys(x).map(function(G){return x[G]}),H=function(X){return X.label};function V(G,X){var Q=G.group;return{role:Q?"presentation":"option",id:"".concat(a,"_list_").concat(X)}}var K=function(X){var Q=I[X];if(!Q)return null;var ae=Q.data||{},ee=ae.value,q=Q.group,re=Vl(ae,!0),te=H(Q);return Q?c.createElement("div",be({"aria-label":typeof te=="string"&&!q?te:null},re,{key:X},V(Q,X),{"aria-selected":j(ee)}),ee):null},W={role:"listbox",id:"".concat(a,"_list")};return c.createElement(c.Fragment,null,S&&c.createElement("div",be({},W,{style:{height:0,width:0,overflow:"hidden"}}),K(k-1),K(k),K(k+1)),c.createElement(RS,{itemKey:"key",ref:N,data:I,height:w,itemHeight:$,fullHeight:!1,onMouseDown:_,onScroll:v,virtual:S,innerProps:S?null:W},function(G,X){var Q,ae=G.group,ee=G.groupOption,q=G.data,re=G.label,te=G.value,J=q.key;if(ae){var ne,oe=(ne=q.title)!==null&&ne!==void 0?ne:ME(re)?re.toString():void 0;return c.createElement("div",{className:Y(R,"".concat(R,"-group")),title:oe},re!==void 0?re:J)}var le=q.disabled,de=q.title;q.children;var pe=q.style,se=q.className,ve=Oe(q,iU),ge=$n(ve,B),ce=j(te),ie="".concat(R,"-option"),fe=Y(R,ie,se,(Q={},A(Q,"".concat(ie,"-grouped"),ee),A(Q,"".concat(ie,"-active"),k===X&&!le),A(Q,"".concat(ie,"-disabled"),le),A(Q,"".concat(ie,"-selected"),ce),Q)),me=H(G),Ce=!b||typeof b=="function"||ce,ye=typeof me=="number"?me:me||te,Ne=ME(ye)?ye.toString():void 0;return de!==void 0&&(Ne=de),c.createElement("div",be({},Vl(ge),S?{}:V(G,X),{"aria-selected":ce,className:fe,title:Ne,onMouseMove:function(){k===X||le||D(X)},onClick:function(){le||z(te)},style:pe}),c.createElement("div",{className:"".concat(ie,"-content")},ye),c.isValidElement(b)||ce,Ce&&c.createElement(ym,{className:"".concat(R,"-option-state"),customizeIcon:b,customizeIconProps:{isSelected:ce}},ce?"✓":null))}))},fI=c.forwardRef(lU);fI.displayName="OptionList";var sU=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],cU=["inputValue"];function uU(e){return!e||We(e)!=="object"}var dU=c.forwardRef(function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,a=o===void 0?"rc-select":o,i=e.backfill,l=e.fieldNames,s=e.inputValue,u=e.searchValue,d=e.onSearch,f=e.autoClearSearchValue,v=f===void 0?!0:f,p=e.onSelect,m=e.onDeselect,y=e.dropdownMatchSelectWidth,g=y===void 0?!0:y,h=e.filterOption,b=e.filterSort,C=e.optionFilterProp,x=e.optionLabelProp,S=e.options,w=e.children,$=e.defaultActiveFirstOption,R=e.menuItemSelectedIcon,I=e.virtual,N=e.listHeight,_=N===void 0?200:N,M=e.listItemHeight,P=M===void 0?20:M,O=e.value,T=e.defaultValue,k=e.labelInValue,F=e.onChange,D=Oe(e,sU),j=PS(n),z=bb(r),B=!!(!S&&w),H=c.useMemo(function(){return h===void 0&&r==="combobox"?!1:h},[h,r]),V=c.useMemo(function(){return lI(l,B)},[JSON.stringify(l),B]),K=yt("",{value:u!==void 0?u:s,postState:function(Re){return Re||""}}),W=U(K,2),G=W[0],X=W[1],Q=HK(S,w,V,C,x),ae=Q.valueOptions,ee=Q.labelOptions,q=Q.options,re=c.useCallback(function(he){var Re=rI(he);return Re.map(function(we){var Le,Ze,st,Ct,it;if(uU(we))Le=we;else{var Te;st=we.key,Ze=we.label,Le=(Te=we.value)!==null&&Te!==void 0?Te:st}var Be=ae.get(Le);if(Be){var Xe;Ze===void 0&&(Ze=Be==null?void 0:Be[x||V.label]),st===void 0&&(st=(Xe=Be==null?void 0:Be.key)!==null&&Xe!==void 0?Xe:Le),Ct=Be==null?void 0:Be.disabled,it=Be==null?void 0:Be.title}return{label:Ze,value:Le,key:st,disabled:Ct,title:it}})},[V,x,ae]),te=yt(T,{value:O}),J=U(te,2),ne=J[0],oe=J[1],le=c.useMemo(function(){var he,Re=re(ne);return r==="combobox"&&!((he=Re[0])!==null&&he!==void 0&&he.value)?[]:Re},[ne,re,r]),de=kK(le,ae),pe=U(de,2),se=pe[0],ve=pe[1],ge=c.useMemo(function(){if(!r&&se.length===1){var he=se[0];if(he.value===null&&(he.label===null||he.label===void 0))return[]}return se.map(function(Re){var we;return E(E({},Re),{},{label:(we=Re.label)!==null&&we!==void 0?we:Re.value})})},[r,se]),ce=c.useMemo(function(){return new Set(se.map(function(he){return he.value}))},[se]);c.useEffect(function(){if(r==="combobox"){var he,Re=(he=se[0])===null||he===void 0?void 0:he.value;X(lK(Re)?String(Re):"")}},[se]);var ie=PE(function(he,Re){var we,Le=Re??he;return we={},A(we,V.value,he),A(we,V.label,Le),we}),fe=c.useMemo(function(){if(r!=="tags")return q;var he=xe(q),Re=function(Le){return ae.has(Le)};return xe(se).sort(function(we,Le){return we.value2&&arguments[2]!==void 0?arguments[2]:{},Le=we.source,Ze=Le===void 0?"keyboard":Le;bt(Re),i&&r==="combobox"&&he!==null&&Ze==="keyboard"&&Ie(String(he))},[i,r]),ke=function(Re,we,Le){var Ze=function(){var Ue,ct=ve(Re);return[k?{label:ct==null?void 0:ct[V.label],value:Re,key:(Ue=ct==null?void 0:ct.key)!==null&&Ue!==void 0?Ue:Re}:Re,yb(ct)]};if(we&&p){var st=Ze(),Ct=U(st,2),it=Ct[0],Te=Ct[1];p(it,Te)}else if(!we&&m&&Le!=="clear"){var Be=Ze(),Xe=U(Be,2),He=Xe[0],Fe=Xe[1];m(He,Fe)}},De=PE(function(he,Re){var we,Le=z?Re.selected:!0;Le?we=z?[].concat(xe(se),[he]):[he]:we=se.filter(function(Ze){return Ze.value!==he}),_e(we),ke(he,Le),r==="combobox"?Ie(""):(!bb||v)&&(X(""),Ie(""))}),ze=function(Re,we){_e(Re);var Le=we.type,Ze=we.values;(Le==="remove"||Le==="clear")&&Ze.forEach(function(st){ke(st.value,!1,Le)})},Me=function(Re,we){if(X(Re),Ie(null),we.source==="submit"){var Le=(Re||"").trim();if(Le){var Ze=Array.from(new Set([].concat(xe(ce),[Le])));_e(Ze),ke(Le,!0),X("")}return}we.source!=="blur"&&(r==="combobox"&&_e(Re),d==null||d(Re))},ht=function(Re){var we=Re;r!=="tags"&&(we=Re.map(function(Ze){var st=ee.get(Ze);return st==null?void 0:st.value}).filter(function(Ze){return Ze!==void 0}));var Le=Array.from(new Set([].concat(xe(ce),xe(we))));_e(Le),Le.forEach(function(Ze){ke(Ze,!0)})},rt=c.useMemo(function(){var he=I!==!1&&g!==!1;return E(E({},Q),{},{flattenOptions:Ne,onActiveValue:Se,defaultActiveFirstOption:Ee,onSelect:De,menuItemSelectedIcon:R,rawValues:ce,fieldNames:V,virtual:he,listHeight:_,listItemHeight:P,childrenAsData:B})},[Q,Ne,Se,Ee,De,R,ce,V,I,g,_,P,B]);return c.createElement(dI.Provider,{value:rt},c.createElement(ES,be({},D,{id:j,prefixCls:a,ref:t,omitDomProps:cU,mode:r,displayValues:ge,onDisplayValuesChange:ze,searchValue:G,onSearch:Me,autoClearSearchValue:v,onSearchSplit:ht,dropdownMatchSelectWidth:g,OptionList:fI,emptyOptions:!Ne.length,activeValue:$e,activeDescendantId:"".concat(j,"_list_").concat(dt)})))}),IS=dU;IS.Option=MS;IS.OptGroup=OS;function ts(e,t,n,r){return function(a){const{prefixCls:i,style:l}=a,s=c.useRef(null),[u,d]=c.useState(0),[f,v]=c.useState(0),[p,m]=yt(!1,{value:a.open}),{getPrefixCls:y}=c.useContext(nt),g=y(t||"select",i);c.useEffect(()=>{if(m(!0),typeof ResizeObserver<"u"){const b=new ResizeObserver(x=>{const S=x[0].target;d(S.offsetHeight+8),v(S.offsetWidth)}),C=setInterval(()=>{var x;const S=n?`.${n(g)}`:`.${g}-dropdown`,w=(x=s.current)===null||x===void 0?void 0:x.querySelector(S);w&&(clearInterval(C),b.observe(w))},10);return()=>{clearInterval(C),b.disconnect()}}},[]);let h=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},l),{margin:0}),open:p,visible:p,getPopupContainer:()=>s.current});return r&&(h=r(h)),c.createElement(tt,{theme:{token:{motionDurationFast:"0.01s",motionDurationMid:"0.01s",motionDurationSlow:"0.01s"}}},c.createElement("div",{ref:s,style:{paddingBottom:u,position:"relative",width:"fit-content",minWidth:f}},c.createElement(e,Object.assign({},h))))}}function lo(e,t,n){return Y({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const el=(e,t)=>t||e,fU=()=>{const[,e]=Jl(),t=new Yt(e.colorBgBase);let n={};return t.toHsl().l<.5&&(n={opacity:.65}),c.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),c.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),c.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),c.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),c.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},vU=fU,pU=()=>{const[,e]=Jl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:a,shadowColor:i,contentColor:l}=c.useMemo(()=>({borderColor:new Yt(t).onBackground(o).toHexShortString(),shadowColor:new Yt(n).onBackground(o).toHexShortString(),contentColor:new Yt(r).onBackground(o).toHexShortString()}),[t,n,r,o]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:a},c.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),c.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},mU=pU,gU=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},hU=Kt("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=xt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[gU(r)]});var yU=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{className:t,rootClassName:n,prefixCls:r,image:o=vI,description:a,children:i,imageStyle:l}=e,s=yU(e,["className","rootClassName","prefixCls","image","description","children","imageStyle"]);const{getPrefixCls:u,direction:d}=c.useContext(nt),f=u("empty",r),[v,p]=hU(f),[m]=Ng("Empty"),y=typeof a<"u"?a:m==null?void 0:m.description,g=typeof y=="string"?y:"empty";let h=null;return typeof o=="string"?h=c.createElement("img",{alt:g,src:o}):h=o,v(c.createElement("div",Object.assign({className:Y(p,f,{[`${f}-normal`]:o===pI,[`${f}-rtl`]:d==="rtl"},t,n)},s),c.createElement("div",{className:`${f}-image`,style:l},h),y&&c.createElement("div",{className:`${f}-description`},y),i&&c.createElement("div",{className:`${f}-footer`},i)))};NS.PRESENTED_IMAGE_DEFAULT=vI;NS.PRESENTED_IMAGE_SIMPLE=pI;const Pu=NS,bU=e=>{const{componentName:t}=e,{getPrefixCls:n}=c.useContext(nt),r=n("empty");switch(t){case"Table":case"List":return Z.createElement(Pu,{image:Pu.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Z.createElement(Pu,{image:Pu.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return Z.createElement(Pu,null)}},TS=bU,CU=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},xU=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Lt(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft, - &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft - `]:{animationName:zg},[` - &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, - &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft - `]:{animationName:Bg},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:Hg},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:Vg},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},CU(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign(Object.assign({flex:"auto"},ra),{"> *":Object.assign({},ra)}),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},$a(e,"slide-up"),$a(e,"slide-down"),Ec(e,"move-up"),Ec(e,"move-down")]},SU=xU,gs=2;function mI(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r,a=Math.ceil(o/2);return[o,a]}function W0(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,a=e.controlHeightSM,[i]=mI(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${i-gs}px ${gs*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${gs}px 0`,lineHeight:`${a}px`,content:'"\\a0"'}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:a,marginTop:gs,marginBottom:gs,lineHeight:`${a-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:gs*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},xf()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-i,[` - &-input, - &-mirror - `]:{height:a,fontFamily:e.fontFamily,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function wU(e){const{componentCls:t}=e,n=xt(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=mI(e);return[W0(e),W0(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:r}}},W0(xt(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function K0(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.controlHeight-e.lineWidth*2,i=Math.ceil(e.fontSize*1.25),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},Lt(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${a}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:i},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:`${a}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function $U(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[K0(e),K0(xt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.fontSize*1.5}}}},K0(xt(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const EU=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},U0=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:o,outlineColor:a,antCls:i}=t,l=n?{[`${r}-selector`]:{borderColor:o}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${i}-pagination-size-changer)`]:Object.assign(Object.assign({},l),{[`${r}-focused& ${r}-selector`]:{borderColor:o,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${r}-selector`]:{borderColor:o}})}}},PU=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},OU=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},EU(e)),PU(e)),[`${t}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal"},ra),{"> *":Object.assign({lineHeight:"inherit"},ra)}),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},ra),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},xf()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},MU=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},OU(e),$U(e),wU(e),SU(e),{[`${t}-rtl`]:{direction:"rtl"}},U0(t,xt(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),U0(`${t}-status-error`,xt(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),U0(`${t}-status-warning`,xt(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Gc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},_S=Kt("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=xt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[MU(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),kv={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"visible"},RU={bottomLeft:Object.assign(Object.assign({},kv),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},kv),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},kv),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},kv),{points:["br","tr"],offset:[0,-4]})};function kS(e){return e||RU}function FS(e){return e??!0}var IU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const NU=IU;var gI=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:NU}))};gI.displayName="CheckOutlined";const hI=c.forwardRef(gI);var TU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const _U=TU;var yI=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:_U}))};yI.displayName="DownOutlined";const DS=c.forwardRef(yI);var kU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const FU=kU;var bI=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:FU}))};bI.displayName="SearchOutlined";const LS=c.forwardRef(bI);function AS(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:a,multiple:i,hasFeedback:l,prefixCls:s,showArrow:u,feedbackIcon:d}=e;const f=n??c.createElement(si,null),v=g=>c.createElement(c.Fragment,null,u!==!1&&g,l&&d);let p=null;if(t!==void 0)p=v(t);else if(a)p=v(c.createElement(Ja,{spin:!0}));else{const g=`${s}-suffix`;p=h=>{let{open:b,showSearch:C}=h;return v(b&&C?c.createElement(LS,{className:g}):c.createElement(DS,{className:g}))}}let m=null;r!==void 0?m=r:i?m=c.createElement(hI,null):m=null;let y=null;return o!==void 0?y=o:y=c.createElement(es,null),{clearIcon:f,suffixIcon:p,itemIcon:m,removeIcon:y}}var DU=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,bordered:r=!0,className:o,rootClassName:a,getPopupContainer:i,popupClassName:l,dropdownClassName:s,listHeight:u=256,placement:d,listItemHeight:f=24,size:v,disabled:p,notFoundContent:m,status:y,showArrow:g,builtinPlacements:h}=e,b=DU(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow","builtinPlacements"]);const{getPopupContainer:C,getPrefixCls:x,renderEmpty:S,direction:w,virtual:$,dropdownMatchSelectWidth:R,select:I}=c.useContext(nt),N=c.useContext(or),_=x("select",n),M=x(),{compactSize:P,compactItemClassnames:O}=Pa(_,w),[T,k]=_S(_),F=c.useMemo(()=>{const{mode:de}=b;if(de!=="combobox")return de===CI?"combobox":de},[b.mode]),D=F==="multiple"||F==="tags",j=FS(g),{status:z,hasFeedback:B,isFormItemInput:H,feedbackIcon:V}=c.useContext(mr),K=el(z,y);let W;m!==void 0?W=m:F==="combobox"?W=null:W=(S==null?void 0:S("Select"))||c.createElement(TS,{componentName:"Select"});const{suffixIcon:G,itemIcon:X,removeIcon:Q,clearIcon:ae}=AS(Object.assign(Object.assign({},b),{multiple:D,hasFeedback:B,feedbackIcon:V,showArrow:j,prefixCls:_})),ee=$n(b,["suffixIcon","itemIcon"]),q=Y(l||s,{[`${_}-dropdown-${w}`]:w==="rtl"},a,k),re=P||v||N,te=c.useContext(Vr),J=p??te,ne=Y({[`${_}-lg`]:re==="large",[`${_}-sm`]:re==="small",[`${_}-rtl`]:w==="rtl",[`${_}-borderless`]:!r,[`${_}-in-form-item`]:H},lo(_,K,B),O,o,a,k),oe=c.useMemo(()=>d!==void 0?d:w==="rtl"?"bottomRight":"bottomLeft",[d,w]),le=kS(h);return T(c.createElement(IS,Object.assign({ref:t,virtual:$,dropdownMatchSelectWidth:R,showSearch:I==null?void 0:I.showSearch},ee,{builtinPlacements:le,transitionName:Hr(M,CS(d),b.transitionName),listHeight:u,listItemHeight:f,mode:F,prefixCls:_,placement:oe,direction:w,inputIcon:G,menuItemSelectedIcon:X,removeIcon:Q,clearIcon:ae,notFoundContent:W,className:ne,getPopupContainer:i||C,dropdownClassName:q,showArrow:B||j,disabled:J})))},Xc=c.forwardRef(LU),AU=ts(Xc);Xc.SECRET_COMBOBOX_MODE_DO_NOT_USE=CI;Xc.Option=MS;Xc.OptGroup=OS;Xc._InternalPanelDoNotUseOrYouWillBeFired=AU;const Wg=Xc;function jU(){const[,e]=c.useReducer(t=>t+1,0);return e}const Pc=["xxl","xl","lg","md","sm","xs"],zU=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),HU=e=>{const t=e,n=[].concat(Pc).reverse();return n.forEach((r,o)=>{const a=r.toUpperCase(),i=`screen${a}Min`,l=`screen${a}`;if(!(t[i]<=t[l]))throw new Error(`${i}<=${l} fails : !(${t[i]}<=${t[l]})`);if(o{const n=new Map;let r=-1,o={};return{matchHandlers:{},dispatch(a){return o=a,n.forEach(i=>i(o)),n.size>=1},subscribe(a){return n.size||this.register(),r+=1,n.set(r,a),a(o),r},unsubscribe(a){n.delete(a),n.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const i=t[a],l=this.matchHandlers[i];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(a=>{const i=t[a],l=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},o),{[a]:d}))},s=window.matchMedia(i);s.addListener(l),this.matchHandlers[i]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}function BU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=c.useRef({}),n=jU(),r=xI();return c.useEffect(()=>{const o=r.subscribe(a=>{t.current=a,e&&n()});return()=>r.unsubscribe(o)},[]),t.current}const Cb=c.createContext("default"),RE=e=>{let{children:t,size:n}=e;const r=c.useContext(Cb);return c.createElement(Cb.Provider,{value:n||r},t)},VU=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:a,avatarSizeBase:i,avatarSizeLG:l,avatarSizeSM:s,avatarFontSizeBase:u,avatarFontSizeLG:d,avatarFontSizeSM:f,borderRadius:v,borderRadiusLG:p,borderRadiusSM:m,lineWidth:y,lineType:g}=e,h=(b,C,x)=>({width:b,height:b,lineHeight:`${b-y*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:x},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:C,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${y}px ${g} transparent`,["&-image"]:{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),h(i,u,v)),{["&-lg"]:Object.assign({},h(l,d,p)),["&-sm"]:Object.assign({},h(s,f,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},WU=e=>{const{componentCls:t,avatarGroupBorderColor:n,avatarGroupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},["> *:not(:first-child)"]:{marginInlineStart:r}}}},SI=Kt("Avatar",e=>{const{colorTextLightSolid:t,controlHeight:n,controlHeightLG:r,controlHeightSM:o,fontSize:a,fontSizeLG:i,fontSizeXL:l,fontSizeHeading3:s,marginXS:u,colorBorderBg:d,colorTextPlaceholder:f}=e,v=xt(e,{avatarBg:f,avatarColor:t,avatarSizeBase:n,avatarSizeLG:r,avatarSizeSM:o,avatarFontSizeBase:Math.round((i+l)/2),avatarFontSizeLG:s,avatarFontSizeSM:a,avatarGroupSpace:-u,avatarGroupBorderColor:d});return[VU(v),WU(v)]});var KU=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(Cb),[r,o]=c.useState(1),[a,i]=c.useState(!1),[l,s]=c.useState(!0),u=c.useRef(null),d=c.useRef(null),f=rr(t,u),{getPrefixCls:v}=c.useContext(nt),p=()=>{if(!d.current||!u.current)return;const K=d.current.offsetWidth,W=u.current.offsetWidth;if(K!==0&&W!==0){const{gap:G=4}=e;G*2{i(!0)},[]),c.useEffect(()=>{s(!0),o(1)},[e.src]),c.useEffect(()=>{p()},[e.gap]);const m=()=>{const{onError:K}=e;(K?K():void 0)!==!1&&s(!1)},{prefixCls:y,shape:g="circle",size:h="default",src:b,srcSet:C,icon:x,className:S,rootClassName:w,alt:$,draggable:R,children:I,crossOrigin:N}=e,_=KU(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),M=h==="default"?n:h,P=Object.keys(typeof M=="object"?M||{}:{}).some(K=>["xs","sm","md","lg","xl","xxl"].includes(K)),O=BU(P),T=c.useMemo(()=>{if(typeof M!="object")return{};const K=Pc.find(G=>O[G]),W=M[K];return W?{width:W,height:W,lineHeight:`${W}px`,fontSize:x?W/2:18}:{}},[O,M]),k=v("avatar",y),[F,D]=SI(k),j=Y({[`${k}-lg`]:M==="large",[`${k}-sm`]:M==="small"}),z=c.isValidElement(b),B=Y(k,j,{[`${k}-${g}`]:!!g,[`${k}-image`]:z||b&&l,[`${k}-icon`]:!!x},S,w,D),H=typeof M=="number"?{width:M,height:M,lineHeight:`${M}px`,fontSize:x?M/2:18}:{};let V;if(typeof b=="string"&&l)V=c.createElement("img",{src:b,draggable:R,srcSet:C,onError:m,alt:$,crossOrigin:N});else if(z)V=b;else if(x)V=x;else if(a||r!==1){const K=`scale(${r}) translateX(-50%)`,W={msTransform:K,WebkitTransform:K,transform:K},G=typeof M=="number"?{lineHeight:`${M}px`}:{};V=c.createElement(la,{onResize:p},c.createElement("span",{className:`${k}-string`,ref:d,style:Object.assign(Object.assign({},G),W)},I))}else V=c.createElement("span",{className:`${k}-string`,style:{opacity:0},ref:d},I);return delete _.onError,delete _.gap,F(c.createElement("span",Object.assign({},_,{style:Object.assign(Object.assign(Object.assign({},H),T),_.style),className:B,ref:f}),V))},YU=c.forwardRef(UU),wI=YU;var hs={shiftX:64,adjustY:1},ys={adjustX:1,shiftY:!0},xo=[0,0],GU={left:{points:["cr","cl"],overflow:ys,offset:[-4,0],targetOffset:xo},right:{points:["cl","cr"],overflow:ys,offset:[4,0],targetOffset:xo},top:{points:["bc","tc"],overflow:hs,offset:[0,-4],targetOffset:xo},bottom:{points:["tc","bc"],overflow:hs,offset:[0,4],targetOffset:xo},topLeft:{points:["bl","tl"],overflow:hs,offset:[0,-4],targetOffset:xo},leftTop:{points:["tr","tl"],overflow:ys,offset:[-4,0],targetOffset:xo},topRight:{points:["br","tr"],overflow:hs,offset:[0,-4],targetOffset:xo},rightTop:{points:["tl","tr"],overflow:ys,offset:[4,0],targetOffset:xo},bottomRight:{points:["tr","br"],overflow:hs,offset:[0,4],targetOffset:xo},rightBottom:{points:["bl","br"],overflow:ys,offset:[4,0],targetOffset:xo},bottomLeft:{points:["tl","bl"],overflow:hs,offset:[0,4],targetOffset:xo},leftBottom:{points:["br","bl"],overflow:ys,offset:[-4,0],targetOffset:xo}};function jS(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.className,i=e.style;return c.createElement("div",{className:Y("".concat(n,"-content"),a),style:i},c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var XU=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],qU=function(t,n){var r=t.overlayClassName,o=t.trigger,a=o===void 0?["hover"]:o,i=t.mouseEnterDelay,l=i===void 0?0:i,s=t.mouseLeaveDelay,u=s===void 0?.1:s,d=t.overlayStyle,f=t.prefixCls,v=f===void 0?"rc-tooltip":f,p=t.children,m=t.onVisibleChange,y=t.afterVisibleChange,g=t.transitionName,h=t.animation,b=t.motion,C=t.placement,x=C===void 0?"right":C,S=t.align,w=S===void 0?{}:S,$=t.destroyTooltipOnHide,R=$===void 0?!1:$,I=t.defaultVisible,N=t.getTooltipContainer,_=t.overlayInnerStyle;t.arrowContent;var M=t.overlay,P=t.id,O=t.showArrow,T=O===void 0?!0:O,k=Oe(t,XU),F=c.useRef(null);c.useImperativeHandle(n,function(){return F.current});var D=E({},k);"visible"in t&&(D.popupVisible=t.visible);var j=function(){return c.createElement(jS,{key:"content",prefixCls:v,id:P,overlayInnerStyle:_},M)};return c.createElement($S,be({popupClassName:r,prefixCls:v,popup:j,action:a,builtinPlacements:GU,popupPlacement:x,ref:F,popupAlign:w,getPopupContainer:N,onPopupVisibleChange:m,afterPopupVisibleChange:y,popupTransitionName:g,popupAnimation:h,popupMotion:b,defaultPopupVisible:I,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:l,arrow:T},D),p)};const QU=c.forwardRef(qU),hi=(e,t)=>new Yt(e).setAlpha(t).toRgbString(),bs=(e,t)=>new Yt(e).lighten(t).toHexString(),ZU=e=>{const t=Za(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},JU=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:hi(r,.85),colorTextSecondary:hi(r,.65),colorTextTertiary:hi(r,.45),colorTextQuaternary:hi(r,.25),colorFill:hi(r,.18),colorFillSecondary:hi(r,.12),colorFillTertiary:hi(r,.08),colorFillQuaternary:hi(r,.04),colorBgElevated:bs(n,12),colorBgContainer:bs(n,8),colorBgLayout:bs(n,0),colorBgSpotlight:bs(n,26),colorBorder:bs(n,26),colorBorderSecondary:bs(n,19)}},eY=(e,t)=>{const n=Object.keys(uS).map(o=>{const a=Za(e[o],{theme:"dark"});return new Array(10).fill(1).reduce((i,l,s)=>(i[`${o}-${s+1}`]=a[s],i[`${o}${s+1}`]=a[s],i),{})}).reduce((o,a)=>(o=Object.assign(Object.assign({},o),a),o),{}),r=t??_g(e);return Object.assign(Object.assign(Object.assign({},r),n),tR(e,{generateColorPalettes:ZU,generateNeutralColorPalettes:JU}))},tY=eY;function nY(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const rY=(e,t)=>{const n=t??_g(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),nY(t??e)),nR(r)),{controlHeight:o}),eR(Object.assign(Object.assign({},n),{controlHeight:o})))},oY=rY;function aY(){const[e,t,n]=Jl();return{theme:e,token:t,hashId:n}}const Po={defaultConfig:fm,defaultSeed:fm.token,useToken:aY,defaultAlgorithm:_g,darkAlgorithm:tY,compactAlgorithm:oY},$I=8;function zS(e){const t=$I,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function Fv(e,t){return e?t:{}}function HS(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:a,boxShadowPopoverArrow:i}=e,{colorBg:l,contentRadius:s=e.borderRadiusLG,limitVerticalRadius:u,arrowDistance:d=0,arrowPlacement:f={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:v,dropdownArrowOffset:p}=zS({contentRadius:s,limitVerticalRadius:u});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},rR(r,o,a,l,i)),{"&:before":{background:l}})]},Fv(!!f.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:d,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}}})),Fv(!!f.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:d,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}}})),Fv(!!f.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:d},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:v},[`&-placement-leftBottom ${n}-arrow`]:{bottom:v}})),Fv(!!f.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:d},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:v},[`&-placement-rightBottom ${n}-arrow`]:{bottom:v}}))}}function iY(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.dropdownArrowOffset*2+n;break;case"left":case"right":a.shiftY=t.dropdownArrowOffsetVertical*2+n;break}const i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const IE={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},lY={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},sY=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function EI(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:a}=e,i=t/2,l={};return Object.keys(IE).forEach(s=>{const u=r&&lY[s]||IE[s],d=Object.assign(Object.assign({},u),{offset:[0,0]});switch(l[s]=d,sY.has(s)&&(d.autoArrow=!1),s){case"top":case"topLeft":case"topRight":d.offset[1]=-i-o;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=i+o;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-i-o;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=i+o;break}const f=zS({contentRadius:a,limitVerticalRadius:!0});if(r)switch(s){case"topLeft":case"bottomLeft":d.offset[0]=-f.dropdownArrowOffset-i;break;case"topRight":case"bottomRight":d.offset[0]=f.dropdownArrowOffset+i;break;case"leftTop":case"rightTop":d.offset[1]=-f.dropdownArrowOffset-i;break;case"leftBottom":case"rightBottom":d.offset[1]=f.dropdownArrowOffset+i;break}d.overflow=iY(s,f,t,n)}),l}const cY=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:i,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${u/2}px ${d}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,$I)}},[`${t}-content`]:{position:"relative"}}),rb(e,(v,p)=>{let{darkColor:m}=p;return{[`&${t}-${v}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},HS(xt(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},PI=(e,t)=>Kt("Tooltip",r=>{if(t===!1)return[];const{borderRadius:o,colorTextLightSolid:a,colorBgDefault:i,borderRadiusOuter:l}=r,s=xt(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:i,tooltipRadiusOuter:l>4?4:l});return[cY(s),$f(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:o,colorBgSpotlight:a}=r;return{zIndexPopup:o+70,colorBgDefault:a}})(e),uY=Bd.map(e=>`${e}-inverse`);function BS(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(xe(uY),xe(Bd)).includes(e):Bd.includes(e)}function OI(e,t){const n=BS(t),r=Y({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}function dY(e){const{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:l}=c.useContext(nt),s=l("tooltip",t),[u,d]=PI(s,!0),f=OI(s,a),v=Object.assign(Object.assign({},i),f.overlayStyle),p=f.arrowStyle;return u(c.createElement("div",{className:Y(d,s,`${s}-pure`,`${s}-placement-${r}`,n,f.className),style:p},c.createElement("div",{className:`${s}-arrow`}),c.createElement(jS,Object.assign({},e,{className:d,prefixCls:s,overlayInnerStyle:v}),o)))}var fY=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n={},r=Object.assign({},e);return t.forEach(o=>{e&&o in e&&(n[o]=e[o],delete r[o])}),{picked:n,omitted:r}};function mY(e,t){const n=e.type;if((n.__ANT_BUTTON===!0||e.type==="button")&&e.props.disabled||n.__ANT_SWITCH===!0&&(e.props.disabled||e.props.loading)||n.__ANT_RADIO===!0&&e.props.disabled){const{picked:r,omitted:o}=pY(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=Object.assign(Object.assign({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=Object.assign(Object.assign({},o),{pointerEvents:"none"}),l=Wn(e,{style:i,className:null});return c.createElement("span",{style:a,className:Y(e.props.className,`${t}-disabled-compatible-wrapper`)},l)}return e}const MI=c.forwardRef((e,t)=>{var n,r;const{prefixCls:o,openClassName:a,getTooltipContainer:i,overlayClassName:l,color:s,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:v,destroyTooltipOnHide:p,arrow:m=!0,title:y,overlay:g,builtinPlacements:h,arrowPointAtCenter:b=!1,autoAdjustOverflow:C=!0}=e,x=!!m,{token:S}=vY(),{getPopupContainer:w,getPrefixCls:$,direction:R}=c.useContext(nt),I=c.useRef(null),N=()=>{var pe;(pe=I.current)===null||pe===void 0||pe.forceAlign()};c.useImperativeHandle(t,()=>({forceAlign:N,forcePopupAlign:()=>{N()}}));const[_,M]=yt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),P=!y&&!g&&y!==0,O=pe=>{var se,ve;M(P?!1:pe),P||((se=e.onOpenChange)===null||se===void 0||se.call(e,pe),(ve=e.onVisibleChange)===null||ve===void 0||ve.call(e,pe))},T=c.useMemo(()=>{var pe,se;let ve=b;return typeof m=="object"&&(ve=(se=(pe=m.pointAtCenter)!==null&&pe!==void 0?pe:m.arrowPointAtCenter)!==null&&se!==void 0?se:b),h||EI({arrowPointAtCenter:ve,autoAdjustOverflow:C,arrowWidth:x?S.sizePopupArrow:0,borderRadius:S.borderRadius,offset:S.marginXXS})},[b,m,h,S]),k=(pe,se)=>{const ve=Object.keys(T).find(ge=>{var ce,ie;return T[ge].points[0]===((ce=se.points)===null||ce===void 0?void 0:ce[0])&&T[ge].points[1]===((ie=se.points)===null||ie===void 0?void 0:ie[1])});if(ve){const ge=pe.getBoundingClientRect(),ce={top:"50%",left:"50%"};/top|Bottom/.test(ve)?ce.top=`${ge.height-se.offset[1]}px`:/Top|bottom/.test(ve)&&(ce.top=`${-se.offset[1]}px`),/left|Right/.test(ve)?ce.left=`${ge.width-se.offset[0]}px`:/right|Left/.test(ve)&&(ce.left=`${-se.offset[0]}px`),pe.style.transformOrigin=`${ce.left} ${ce.top}`}},F=c.useMemo(()=>y===0?y:g||y||"",[g,y]),D=c.createElement(Bl,null,typeof F=="function"?F():F),{getPopupContainer:j,placement:z="top",mouseEnterDelay:B=.1,mouseLeaveDelay:H=.1,overlayStyle:V,rootClassName:K}=e,W=fY(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),G=$("tooltip",o),X=$(),Q=e["data-popover-inject"];let ae=_;!("open"in e)&&!("visible"in e)&&P&&(ae=!1);const ee=mY(Fo(d)&&!TR(d)?d:c.createElement("span",null,d),G),q=ee.props,re=!q.className||typeof q.className=="string"?Y(q.className,{[a||`${G}-open`]:!0}):q.className,[te,J]=PI(G,!Q),ne=OI(G,s),oe=Object.assign(Object.assign({},u),ne.overlayStyle),le=ne.arrowStyle,de=Y(l,{[`${G}-rtl`]:R==="rtl"},ne.className,K,J);return te(c.createElement(QU,Object.assign({},W,{showArrow:x,placement:z,mouseEnterDelay:B,mouseLeaveDelay:H,prefixCls:G,overlayClassName:de,overlayStyle:Object.assign(Object.assign({},le),V),getTooltipContainer:j||i||w,ref:I,builtinPlacements:T,overlay:D,visible:ae,onVisibleChange:O,afterVisibleChange:f??v,onPopupAlign:k,overlayInnerStyle:oe,arrowContent:c.createElement("span",{className:`${G}-arrow-content`}),motion:{motionName:Hr(X,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!p}),ae?Wn(ee,{className:re}):ee))});MI._InternalPanelDoNotUseOrYouWillBeFired=dY;const tl=MI,bm=e=>e?typeof e=="function"?e():e:null,gY=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:o,fontWeightStrong:a,popoverPadding:i,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:d,marginXS:f,colorBgElevated:v}=e;return[{[t]:Object.assign(Object.assign({},Lt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":v,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:i},[`${t}-title`]:{minWidth:o,marginBottom:f,color:s,fontWeight:a},[`${t}-inner-content`]:{color:r}})},HS(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},hY=e=>{const{componentCls:t}=e;return{[t]:Bd.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},yY=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:o,paddingSM:a,controlHeight:i,fontSize:l,lineHeight:s,padding:u}=e,d=i-Math.round(l*s),f=d/2,v=d/2-n,p=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${f}px ${p}px ${v}px`,borderBottom:`${n}px ${r} ${o}`},[`${t}-inner-content`]:{padding:`${a}px ${p}px`}}}},RI=Kt("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,o=xt(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[gY(o),hY(o),r&&yY(o),$f(o,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}});var bY=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(!(!t&&!n))return c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${e}-title`},bm(t)),c.createElement("div",{className:`${e}-inner-content`},bm(n)))};function xY(e){const{hashId:t,prefixCls:n,className:r,style:o,placement:a="top",title:i,content:l,children:s}=e;return c.createElement("div",{className:Y(t,n,`${n}-pure`,`${n}-placement-${a}`,r),style:o},c.createElement("div",{className:`${n}-arrow`}),c.createElement(jS,Object.assign({},e,{className:t,prefixCls:n}),s||CY(n,i,l)))}function SY(e){const{prefixCls:t}=e,n=bY(e,["prefixCls"]),{getPrefixCls:r}=c.useContext(nt),o=r("popover",t),[a,i]=RI(o);return a(c.createElement(xY,Object.assign({},n,{prefixCls:o,hashId:i})))}var wY=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${r}-title`},bm(t)),c.createElement("div",{className:`${r}-inner-content`},bm(n)))},II=c.forwardRef((e,t)=>{const{prefixCls:n,title:r,content:o,overlayClassName:a,placement:i="top",trigger:l="hover",mouseEnterDelay:s=.1,mouseLeaveDelay:u=.1,overlayStyle:d={}}=e,f=wY(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:v}=c.useContext(nt),p=v("popover",n),[m,y]=RI(p),g=v(),h=Y(a,y);return m(c.createElement(tl,Object.assign({placement:i,trigger:l,mouseEnterDelay:s,mouseLeaveDelay:u,overlayStyle:d},f,{prefixCls:p,overlayClassName:h,ref:t,overlay:c.createElement($Y,{prefixCls:p,title:r,content:o}),transitionName:Hr(g,"zoom-big",f.transitionName),"data-popover-inject":!0})))});II._InternalPanelDoNotUseOrYouWillBeFired=SY;const Mf=II,EY=e=>{const{getPrefixCls:t,direction:n}=c.useContext(nt),{prefixCls:r,className:o,rootClassName:a,maxCount:i,maxStyle:l,size:s}=e,u=t("avatar",r),d=`${u}-group`,[f,v]=SI(u),p=Y(d,{[`${d}-rtl`]:n==="rtl"},o,a,v),{children:m,maxPopoverPlacement:y="top",maxPopoverTrigger:g="hover"}=e,h=Mr(m).map((C,x)=>Wn(C,{key:`avatar-key-${x}`})),b=h.length;if(i&&i{const{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:o,badgeShadowSize:a,badgeHeightSm:i,motionDurationSlow:l,badgeStatusSize:s,marginXS:u,badgeRibbonOffset:d}=e,f=`${r}-scroll-number`,v=`${r}-ribbon`,p=`${r}-ribbon-wrapper`,m=rb(e,(g,h)=>{let{darkColor:b}=h;return{[`${t}-color-${g}`]:{background:b}}}),y=rb(e,(g,h)=>{let{darkColor:b}=h;return{[`&${v}-color-${g}`]:{background:b,color:b}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:i,height:i,fontSize:e.badgeFontSizeSm,lineHeight:`${i}px`,borderRadius:i/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${f}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${f}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`${n}-spin`]:{animationName:TY,animationDuration:e.motionDurationMid,animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:OY,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}}}),m),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:MY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:RY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:IY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:NY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${f}-custom-component, ${t}-count`]:{transform:"none"},[`${f}-custom-component, ${f}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f}`]:{overflow:"hidden",[`${f}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${f}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${p}`]:{position:"relative"},[`${v}`]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{position:"absolute",top:u,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${o}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${v}-text`]:{color:e.colorTextLightSolid},[`${v}-corner`]:{position:"absolute",top:"100%",width:d,height:d,color:"currentcolor",border:`${d/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),y),{[`&${v}-placement-end`]:{insetInlineEnd:-d,borderEndEndRadius:0,[`${v}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${v}-placement-start`]:{insetInlineStart:-d,borderEndStartRadius:0,[`${v}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},TI=Kt("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o,marginXS:a,colorBorderBg:i}=e,l=Math.round(t*n),s=o,u="auto",d=l-2*s,f=e.colorBgContainer,v="normal",p=r,m=e.colorError,y=e.colorErrorHover,g=t,h=r/2,b=r,C=r/2,x=xt(e,{badgeFontHeight:l,badgeShadowSize:s,badgeZIndex:u,badgeHeight:d,badgeTextColor:f,badgeFontWeight:v,badgeFontSize:p,badgeColor:m,badgeColorHover:y,badgeShadowColor:i,badgeHeightSm:g,badgeDotSize:h,badgeFontSizeSm:b,badgeStatusSize:C,badgeProcessingDuration:"1.2s",badgeRibbonOffset:a,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[_Y(x)]}),kY=e=>{let{className:t,prefixCls:n,style:r,color:o,children:a,text:i,placement:l="end"}=e;const{getPrefixCls:s,direction:u}=c.useContext(nt),d=s("ribbon",n),f=BS(o,!1),v=Y(d,`${d}-placement-${l}`,{[`${d}-rtl`]:u==="rtl",[`${d}-color-${o}`]:f},t),[p,m]=TI(d),y={},g={};return o&&!f&&(y.background=o,g.color=o),p(c.createElement("div",{className:Y(`${d}-wrapper`,m)},a,c.createElement("div",{className:Y(v,m),style:Object.assign(Object.assign({},y),r)},c.createElement("span",{className:`${d}-text`},i),c.createElement("div",{className:`${d}-corner`,style:g}))))},FY=kY;function NE(e){let{prefixCls:t,value:n,current:r,offset:o=0}=e,a;return o&&(a={position:"absolute",top:`${o}00%`,left:0}),c.createElement("span",{style:a,className:Y(`${t}-only-unit`,{current:r})},n)}function DY(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}function LY(e){const{prefixCls:t,count:n,value:r}=e,o=Number(r),a=Math.abs(n),[i,l]=c.useState(o),[s,u]=c.useState(a),d=()=>{l(o),u(a)};c.useEffect(()=>{const p=setTimeout(()=>{d()},1e3);return()=>{clearTimeout(p)}},[o]);let f,v;if(i===o||Number.isNaN(o)||Number.isNaN(i))f=[c.createElement(NE,Object.assign({},e,{key:o,current:!0}))],v={transition:"none"};else{f=[];const p=o+10,m=[];for(let h=o;h<=p;h+=1)m.push(h);const y=m.findIndex(h=>h%10===i);f=m.map((h,b)=>{const C=h%10;return c.createElement(NE,Object.assign({},e,{key:h,value:C,offset:b-y,current:b===y}))});const g=s{var{prefixCls:n,count:r,className:o,motionClassName:a,style:i,title:l,show:s,component:u="sup",children:d}=e,f=AY(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]);const{getPrefixCls:v}=c.useContext(nt),p=v("scroll-number",n),m=Object.assign(Object.assign({},f),{"data-show":s,style:i,className:Y(p,o,a),title:l});let y=r;if(r&&Number(r)%1===0){const g=String(r).split("");y=g.map((h,b)=>c.createElement(LY,{prefixCls:p,count:Number(r),value:h,key:g.length-b}))}return i&&i.borderColor&&(m.style=Object.assign(Object.assign({},i),{boxShadow:`0 0 0 1px ${i.borderColor} inset`})),d?Wn(d,g=>({className:Y(`${p}-custom-component`,g==null?void 0:g.className,a)})):c.createElement(u,Object.assign({},m,{ref:t}),y)}),zY=jY;var HY=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,scrollNumberPrefixCls:r,children:o,status:a,text:i,color:l,count:s=null,overflowCount:u=99,dot:d=!1,size:f="default",title:v,offset:p,style:m,className:y,rootClassName:g,showZero:h=!1}=e,b=HY(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","showZero"]),{getPrefixCls:C,direction:x}=c.useContext(nt),S=C("badge",n),[w,$]=TI(S),R=s>u?`${u}+`:s,I=R==="0"||R===0,N=s===null||I&&!h,_=(a!=null||l!=null)&&N,M=d&&!I,P=M?"":R,O=c.useMemo(()=>(P==null||P===""||I&&!h)&&!M,[P,I,h,M]),T=c.useRef(s);O||(T.current=s);const k=T.current,F=c.useRef(P);O||(F.current=P);const D=F.current,j=c.useRef(M);O||(j.current=M);const z=c.useMemo(()=>{if(!p)return Object.assign({},m);const Q={marginTop:p[1]};return x==="rtl"?Q.left=parseInt(p[0],10):Q.right=-parseInt(p[0],10),Object.assign(Object.assign({},Q),m)},[x,p,m]),B=v??(typeof k=="string"||typeof k=="number"?k:void 0),H=O||!i?null:c.createElement("span",{className:`${S}-status-text`},i),V=!k||typeof k!="object"?void 0:Wn(k,Q=>({style:Object.assign(Object.assign({},z),Q.style)})),K=BS(l,!1),W=Y({[`${S}-status-dot`]:_,[`${S}-status-${a}`]:!!a,[`${S}-color-${l}`]:K}),G={};l&&!K&&(G.color=l,G.background=l);const X=Y(S,{[`${S}-status`]:_,[`${S}-not-a-wrapper`]:!o,[`${S}-rtl`]:x==="rtl"},y,g,$);if(!o&&_){const Q=z.color;return w(c.createElement("span",Object.assign({},b,{className:X,style:z}),c.createElement("span",{className:W,style:G}),i&&c.createElement("span",{style:{color:Q},className:`${S}-status-text`},i)))}return w(c.createElement("span",Object.assign({ref:t},b,{className:X}),o,c.createElement(qn,{visible:!O,motionName:`${S}-zoom`,motionAppear:!1,motionDeadline:1e3},Q=>{let{className:ae,ref:ee}=Q;const q=C("scroll-number",r),re=j.current,te=Y({[`${S}-dot`]:re,[`${S}-count`]:!re,[`${S}-count-sm`]:f==="small",[`${S}-multiple-words`]:!re&&D&&D.toString().length>1,[`${S}-status-${a}`]:!!a,[`${S}-color-${l}`]:K});let J=Object.assign({},z);return l&&!K&&(J=J||{},J.background=l),c.createElement(zY,{prefixCls:q,show:!O,motionClassName:ae,className:te,count:D,title:B,style:J,key:"scrollNumber",ref:ee},V)}),H))},_I=c.forwardRef(BY);_I.Ribbon=FY;const Uo=_I;var VY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const WY=VY;var kI=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:WY}))};kI.displayName="RightOutlined";const Oc=c.forwardRef(kI);var KY=c.forwardRef(function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,a=c.useRef(),i=c.useRef();c.useImperativeHandle(t,function(){return{}});var l=c.useRef(!1);return!l.current&&$r()&&(i.current=r(),a.current=i.current.parentNode,l.current=!0),c.useEffect(function(){n==null||n(e)}),c.useEffect(function(){return i.current.parentNode===null&&a.current!==null&&a.current.appendChild(i.current),function(){var s,u;(s=i.current)===null||s===void 0||(u=s.parentNode)===null||u===void 0||u.removeChild(i.current)}},[]),i.current?Cc.createPortal(o,i.current):null});function UY(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function YY(e,t,n){var r=e[t]||{};return E(E({},r),n)}function GY(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function yG(e,t,n,r){var o=Nt.clone(e),a={width:t.width,height:t.height};return r.adjustX&&o.left=n.left&&o.left+a.width>n.right&&(a.width-=o.left+a.width-n.right),r.adjustX&&o.left+a.width>n.right&&(o.left=Math.max(n.right-a.width,n.left)),r.adjustY&&o.top=n.top&&o.top+a.height>n.bottom&&(a.height-=o.top+a.height-n.bottom),r.adjustY&&o.top+a.height>n.bottom&&(o.top=Math.max(n.bottom-a.height,n.top)),Nt.mix(o,a)}function YS(e){var t,n,r;if(!Nt.isWindow(e)&&e.nodeType!==9)t=Nt.offset(e),n=Nt.outerWidth(e),r=Nt.outerHeight(e);else{var o=Nt.getWindow(e);t={left:Nt.getWindowScrollLeft(o),top:Nt.getWindowScrollTop(o)},n=Nt.viewportWidth(o),r=Nt.viewportHeight(o)}return t.width=n,t.height=r,t}function HE(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,a=e.height,i=e.left,l=e.top;return n==="c"?l+=a/2:n==="b"&&(l+=a),r==="c"?i+=o/2:r==="r"&&(i+=o),{left:i,top:l}}function Lv(e,t,n,r,o){var a=HE(t,n[1]),i=HE(e,n[0]),l=[i.left-a.left,i.top-a.top];return{left:Math.round(e.left-l[0]+r[0]-o[0]),top:Math.round(e.top-l[1]+r[1]-o[1])}}function BE(e,t,n){return e.leftn.right}function VE(e,t,n){return e.topn.bottom}function bG(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function GS(e,t,n){var r=n.target||t,o=YS(r),a=!xG(r,n.overflow&&n.overflow.alwaysByViewport);return VI(e,o,n,a)}GS.__getOffsetParent=$b;GS.__getVisibleRectForElement=US;function SG(e,t,n){var r,o,a=Nt.getDocument(e),i=a.defaultView||a.parentWindow,l=Nt.getWindowScrollLeft(i),s=Nt.getWindowScrollTop(i),u=Nt.viewportWidth(i),d=Nt.viewportHeight(i);"pageX"in t?r=t.pageX:r=l+t.clientX,"pageY"in t?o=t.pageY:o=s+t.clientY;var f={left:r,top:o,width:0,height:0},v=r>=0&&r<=l+u&&o>=0&&o<=s+d,p=[n.points[0],"cc"];return VI(e,f,_E(_E({},n),{},{points:p}),v)}const wG=function(e,t){var n=Z.useRef(!1),r=Z.useRef(null);function o(){window.clearTimeout(r.current)}function a(i){if(o(),!n.current||i===!0){if(e(i)===!1)return;n.current=!0,r.current=window.setTimeout(function(){n.current=!1},t)}else r.current=window.setTimeout(function(){n.current=!1,a()},t)}return[a,function(){n.current=!1,o()}]};function $G(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function EG(e,t){e!==document.activeElement&&Rl(t,e)&&typeof e.focus=="function"&&e.focus()}function UE(e,t){var n=null,r=null;function o(i){var l=U(i,1),s=l[0].target;if(document.documentElement.contains(s)){var u=s.getBoundingClientRect(),d=u.width,f=u.height,v=Math.floor(d),p=Math.floor(f);(n!==v||r!==p)&&Promise.resolve().then(function(){t({width:v,height:p})}),n=v,r=p}}var a=new MM(o);return e&&a.observe(e),function(){a.disconnect()}}function YE(e){return typeof e!="function"?null:e()}function GE(e){return We(e)!=="object"||!e?null:e}var PG=function(t,n){var r=t.children,o=t.disabled,a=t.target,i=t.align,l=t.onAlign,s=t.monitorWindowResize,u=t.monitorBufferTime,d=u===void 0?0:u,f=Z.useRef({}),v=Z.useRef(),p=Z.Children.only(r),m=Z.useRef({});m.current.disabled=o,m.current.target=a,m.current.align=i,m.current.onAlign=l;var y=wG(function(){var _=m.current,M=_.disabled,P=_.target,O=_.align,T=_.onAlign,k=v.current;if(!M&&P&&k){var F,D=YE(P),j=GE(P);f.current.element=D,f.current.point=j,f.current.align=O;var z=document,B=z.activeElement;return D&&Yc(D)?F=GS(k,D,O):j&&(F=SG(k,j,O)),EG(B,k),T&&F&&T(k,F),!0}return!1},d),g=U(y,2),h=g[0],b=g[1],C=Z.useState(),x=U(C,2),S=x[0],w=x[1],$=Z.useState(),R=U($,2),I=R[0],N=R[1];return en(function(){w(YE(a)),N(GE(a))}),Z.useEffect(function(){(f.current.element!==S||!$G(f.current.point,I)||!Kc(f.current.align,i))&&h()}),Z.useEffect(function(){var _=UE(v.current,h);return _},[v.current]),Z.useEffect(function(){var _=UE(S,h);return _},[S]),Z.useEffect(function(){o?b():h()},[o]),Z.useEffect(function(){if(s){var _=ga(window,"resize",h);return _.remove}},[s]),Z.useEffect(function(){return function(){b()}},[]),Z.useImperativeHandle(n,function(){return{forceAlign:function(){return h(!0)}}}),Z.isValidElement(p)&&(p=Z.cloneElement(p,{ref:rr(p.ref,v)})),p},WI=Z.forwardRef(PG);WI.displayName="Align";var XE=["measure","alignPre","align",null,"motion"];const OG=function(e,t){var n=Bi(null),r=U(n,2),o=r[0],a=r[1],i=c.useRef();function l(d){a(d,!0)}function s(){kt.cancel(i.current)}function u(d){s(),i.current=kt(function(){l(function(f){switch(o){case"align":return"motion";case"motion":return"stable"}return f}),d==null||d()})}return c.useEffect(function(){l("measure")},[e]),c.useEffect(function(){switch(o){case"measure":t();break}o&&(i.current=kt(tr(Dt().mark(function d(){var f,v;return Dt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:f=XE.indexOf(o),v=XE[f+1],v&&f!==-1&&l(v);case 3:case"end":return m.stop()}},d)}))))},[o]),c.useEffect(function(){return function(){s()}},[]),[o,u]},MG=function(e){var t=c.useState({width:0,height:0}),n=U(t,2),r=n[0],o=n[1];function a(l){var s=l.offsetWidth,u=l.offsetHeight,d=l.getBoundingClientRect(),f=d.width,v=d.height;Math.abs(s-f)<1&&Math.abs(u-v)<1&&(s=f,u=v),o({width:s,height:u})}var i=c.useMemo(function(){var l={};if(e){var s=r.width,u=r.height;e.indexOf("height")!==-1&&u?l.height=u:e.indexOf("minHeight")!==-1&&u&&(l.minHeight=u),e.indexOf("width")!==-1&&s?l.width=s:e.indexOf("minWidth")!==-1&&s&&(l.minWidth=s)}return l},[e,r]);return[i,a]};var KI=c.forwardRef(function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,a=e.style,i=e.children,l=e.zIndex,s=e.stretch,u=e.destroyPopupOnHide,d=e.forceRender,f=e.align,v=e.point,p=e.getRootDomNode,m=e.getClassNameFromAlign,y=e.onAlign,g=e.onMouseEnter,h=e.onMouseLeave,b=e.onMouseDown,C=e.onTouchStart,x=e.onClick,S=c.useRef(),w=c.useRef(),$=c.useState(),R=U($,2),I=R[0],N=R[1],_=MG(s),M=U(_,2),P=M[0],O=M[1];function T(){s&&O(p())}var k=OG(n,T),F=U(k,2),D=F[0],j=F[1],z=c.useState(0),B=U(z,2),H=B[0],V=B[1],K=c.useRef();en(function(){D==="alignPre"&&V(0)},[D]);function W(){return v||p}function G(){var te;(te=S.current)===null||te===void 0||te.forceAlign()}function X(te,J){var ne=m(J);I!==ne&&N(ne),V(function(oe){return oe+1}),D==="align"&&(y==null||y(te,J))}en(function(){D==="align"&&(H<3?G():j(function(){var te;(te=K.current)===null||te===void 0||te.call(K)}))},[H]);var Q=E({},FI(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(te){var J=Q[te];Q[te]=function(ne,oe){return j(),J==null?void 0:J(ne,oe)}});function ae(){return new Promise(function(te){K.current=te})}c.useEffect(function(){!Q.motionName&&D==="motion"&&j()},[Q.motionName,D]),c.useImperativeHandle(t,function(){return{forceAlign:G,getElement:function(){return w.current}}});var ee=E(E({},P),{},{zIndex:l,opacity:D==="motion"||D==="stable"||!n?void 0:0,pointerEvents:!n&&D!=="stable"?"none":void 0},a),q=!0;f!=null&&f.points&&(D==="align"||D==="stable")&&(q=!1);var re=i;return c.Children.count(i)>1&&(re=c.createElement("div",{className:"".concat(r,"-content")},i)),c.createElement(qn,be({visible:n,ref:w,leavedClassName:"".concat(r,"-hidden")},Q,{onAppearPrepare:ae,onEnterPrepare:ae,removeOnLeave:u,forceRender:d}),function(te,J){var ne=te.className,oe=te.style,le=Y(r,o,I,ne);return c.createElement(WI,{target:W(),key:"popup",ref:S,monitorWindowResize:!0,disabled:q,align:f,onAlign:X},c.createElement("div",{ref:J,className:le,onMouseEnter:g,onMouseLeave:h,onMouseDownCapture:b,onTouchStartCapture:C,onClick:x,style:E(E({},oe),ee)},re))})});KI.displayName="PopupInner";var UI=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,a=e.children,i=e.mobile;i=i===void 0?{}:i;var l=i.popupClassName,s=i.popupStyle,u=i.popupMotion,d=u===void 0?{}:u,f=i.popupRender,v=e.onClick,p=c.useRef();c.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var m=E({zIndex:o},s),y=a;return c.Children.count(a)>1&&(y=c.createElement("div",{className:"".concat(n,"-content")},a)),f&&(y=f(y)),c.createElement(qn,be({visible:r,ref:p,removeOnLeave:!0},d),function(g,h){var b=g.className,C=g.style,x=Y(n,l,b);return c.createElement("div",{ref:h,className:x,onClick:v,style:E(E({},C),m)},y)})});UI.displayName="MobilePopupInner";var RG=["visible","mobile"],YI=c.forwardRef(function(e,t){var n=e.visible,r=e.mobile,o=Oe(e,RG),a=c.useState(n),i=U(a,2),l=i[0],s=i[1],u=c.useState(!1),d=U(u,2),f=d[0],v=d[1],p=E(E({},o),{},{visible:l});c.useEffect(function(){s(n),n&&r&&v(Ef())},[n,r]);var m=f?c.createElement(UI,be({},p,{mobile:r,ref:t})):c.createElement(KI,be({},p,{ref:t}));return c.createElement("div",null,c.createElement(XY,p),m)});YI.displayName="Popup";var qE=c.createContext(null);function Q0(){}function IG(){return""}function NG(e){return e?e.ownerDocument:window.document}var TG=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function _G(e){var t=function(n){Lo(o,n);var r=Ao(o);function o(a){var i;Tn(this,o),i=r.call(this,a),A(mt(i),"popupRef",c.createRef()),A(mt(i),"triggerRef",c.createRef()),A(mt(i),"portalContainer",void 0),A(mt(i),"attachId",void 0),A(mt(i),"clickOutsideHandler",void 0),A(mt(i),"touchOutsideHandler",void 0),A(mt(i),"contextMenuOutsideHandler1",void 0),A(mt(i),"contextMenuOutsideHandler2",void 0),A(mt(i),"mouseDownTimeout",void 0),A(mt(i),"focusTime",void 0),A(mt(i),"preClickTime",void 0),A(mt(i),"preTouchTime",void 0),A(mt(i),"delayTimer",void 0),A(mt(i),"hasPopupMouseDown",void 0),A(mt(i),"onMouseEnter",function(s){var u=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",s),i.delaySetPopupVisible(!0,u,u?null:s)}),A(mt(i),"onMouseMove",function(s){i.fireEvents("onMouseMove",s),i.setPoint(s)}),A(mt(i),"onMouseLeave",function(s){i.fireEvents("onMouseLeave",s),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)}),A(mt(i),"onPopupMouseEnter",function(){i.clearDelayTimer()}),A(mt(i),"onPopupMouseLeave",function(s){var u;s.relatedTarget&&!s.relatedTarget.setTimeout&&Rl((u=i.popupRef.current)===null||u===void 0?void 0:u.getElement(),s.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)}),A(mt(i),"onFocus",function(s){i.fireEvents("onFocus",s),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))}),A(mt(i),"onMouseDown",function(s){i.fireEvents("onMouseDown",s),i.preClickTime=Date.now()}),A(mt(i),"onTouchStart",function(s){i.fireEvents("onTouchStart",s),i.preTouchTime=Date.now()}),A(mt(i),"onBlur",function(s){i.fireEvents("onBlur",s),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)}),A(mt(i),"onContextMenu",function(s){s.preventDefault(),i.fireEvents("onContextMenu",s),i.setPopupVisible(!0,s)}),A(mt(i),"onContextMenuClose",function(){i.isContextMenuToShow()&&i.close()}),A(mt(i),"onClick",function(s){if(i.fireEvents("onClick",s),i.focusTime){var u;if(i.preClickTime&&i.preTouchTime?u=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?u=i.preClickTime:i.preTouchTime&&(u=i.preTouchTime),Math.abs(u-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&s&&s.preventDefault&&s.preventDefault();var d=!i.state.popupVisible;(i.isClickToHide()&&!d||d&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,s)}),A(mt(i),"onPopupMouseDown",function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var s;(s=i.context).onPopupMouseDown.apply(s,arguments)}}),A(mt(i),"onDocumentClick",function(s){if(!(i.props.mask&&!i.props.maskClosable)){var u=s.target,d=i.getRootDomNode(),f=i.getPopupDomNode();(!Rl(d,u)||i.isContextMenuOnly())&&!Rl(f,u)&&!i.hasPopupMouseDown&&i.close()}}),A(mt(i),"getRootDomNode",function(){var s=i.props.getTriggerDOMNode;if(s)return s(i.triggerRef.current);try{var u=xc(i.triggerRef.current);if(u)return u}catch{}return Cc.findDOMNode(mt(i))}),A(mt(i),"getPopupClassNameFromAlign",function(s){var u=[],d=i.props,f=d.popupPlacement,v=d.builtinPlacements,p=d.prefixCls,m=d.alignPoint,y=d.getPopupClassNameFromAlign;return f&&v&&u.push(GY(v,p,s,m)),y&&u.push(y(s)),u.join(" ")}),A(mt(i),"getComponent",function(){var s=i.props,u=s.prefixCls,d=s.destroyPopupOnHide,f=s.popupClassName,v=s.onPopupAlign,p=s.popupMotion,m=s.popupAnimation,y=s.popupTransitionName,g=s.popupStyle,h=s.mask,b=s.maskAnimation,C=s.maskTransitionName,x=s.maskMotion,S=s.zIndex,w=s.popup,$=s.stretch,R=s.alignPoint,I=s.mobile,N=s.forceRender,_=s.onPopupClick,M=i.state,P=M.popupVisible,O=M.point,T=i.getPopupAlign(),k={};return i.isMouseEnterToShow()&&(k.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(k.onMouseLeave=i.onPopupMouseLeave),k.onMouseDown=i.onPopupMouseDown,k.onTouchStart=i.onPopupMouseDown,c.createElement(YI,be({prefixCls:u,destroyPopupOnHide:d,visible:P,point:R&&O,className:f,align:T,onAlign:v,animation:m,getClassNameFromAlign:i.getPopupClassNameFromAlign},k,{stretch:$,getRootDomNode:i.getRootDomNode,style:g,mask:h,zIndex:S,transitionName:y,maskAnimation:b,maskTransitionName:C,maskMotion:x,ref:i.popupRef,motion:p,mobile:I,forceRender:N,onClick:_}),typeof w=="function"?w():w)}),A(mt(i),"attachParent",function(s){kt.cancel(i.attachId);var u=i.props,d=u.getPopupContainer,f=u.getDocument,v=i.getRootDomNode(),p;d?(v||d.length===0)&&(p=d(v)):p=f(i.getRootDomNode()).body,p?p.appendChild(s):i.attachId=kt(function(){i.attachParent(s)})}),A(mt(i),"getContainer",function(){if(!i.portalContainer){var s=i.props.getDocument,u=s(i.getRootDomNode()).createElement("div");u.style.position="absolute",u.style.top="0",u.style.left="0",u.style.width="100%",i.portalContainer=u}return i.attachParent(i.portalContainer),i.portalContainer}),A(mt(i),"setPoint",function(s){var u=i.props.alignPoint;!u||!s||i.setState({point:{pageX:s.pageX,pageY:s.pageY}})}),A(mt(i),"handlePortalUpdate",function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)}),A(mt(i),"triggerContextValue",{onPopupMouseDown:i.onPopupMouseDown});var l;return"popupVisible"in a?l=!!a.popupVisible:l=!!a.defaultPopupVisible,i.state={prevPopupVisible:l,popupVisible:l},TG.forEach(function(s){i["fire".concat(s)]=function(u){i.fireEvents(s,u)}}),i}return _n(o,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,l=this.state;if(l.popupVisible){var s;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(s=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=ga(s,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(s=s||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=ga(s,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(s=s||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=ga(s,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=ga(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),kt.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,l=i.popupPlacement,s=i.popupAlign,u=i.builtinPlacements;return l&&u?YY(u,l,s):s}},{key:"setPopupVisible",value:function(i,l){var s=this.props.alignPoint,u=this.state.popupVisible;this.clearDelayTimer(),u!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:u}),this.props.onPopupVisibleChange(i)),s&&l&&i&&this.setPoint(l)}},{key:"delaySetPopupVisible",value:function(i,l,s){var u=this,d=l*1e3;if(this.clearDelayTimer(),d){var f=s?{pageX:s.pageX,pageY:s.pageY}:null;this.delayTimer=window.setTimeout(function(){u.setPopupVisible(i,f),u.clearDelayTimer()},d)}else this.setPopupVisible(i,s)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var l=this.props.children.props,s=this.props;return l[i]&&s[i]?this["fire".concat(i)]:l[i]||s[i]}},{key:"isClickToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("contextMenu")!==-1||s.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("hover")!==-1||s.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("hover")!==-1||s.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("focus")!==-1||s.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("focus")!==-1||s.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,l){var s=this.props.children.props[i];s&&s(l);var u=this.props[i];u&&u(l)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,l=this.props,s=l.children,u=l.forceRender,d=l.alignPoint,f=l.className,v=l.autoDestroy,p=c.Children.only(s),m={key:"trigger"};this.isContextMenuToShow()?m.onContextMenu=this.onContextMenu:m.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(m.onClick=this.onClick,m.onMouseDown=this.onMouseDown,m.onTouchStart=this.onTouchStart):(m.onClick=this.createTwoChains("onClick"),m.onMouseDown=this.createTwoChains("onMouseDown"),m.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(m.onMouseEnter=this.onMouseEnter,d&&(m.onMouseMove=this.onMouseMove)):m.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?m.onMouseLeave=this.onMouseLeave:m.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(m.onFocus=this.onFocus,m.onBlur=this.onBlur):(m.onFocus=this.createTwoChains("onFocus"),m.onBlur=this.createTwoChains("onBlur"));var y=Y(p&&p.props&&p.props.className,f);y&&(m.className=y);var g=E({},m);Zl(p)&&(g.ref=rr(this.triggerRef,p.ref));var h=c.cloneElement(p,g),b;return(i||this.popupRef.current||u)&&(b=c.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(b=null),c.createElement(qE.Provider,{value:this.triggerContextValue},h,b)}}],[{key:"getDerivedStateFromProps",value:function(i,l){var s=i.popupVisible,u={};return s!==void 0&&l.popupVisible!==s&&(u.popupVisible=s,u.prevPopupVisible=l.popupVisible),u}}]),o}(c.Component);return A(t,"contextType",qE),A(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:IG,getDocument:NG,onPopupVisibleChange:Q0,afterPopupVisibleChange:Q0,onPopupAlign:Q0,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}const GI=_G(KY);var Cs={adjustX:1,adjustY:1},xs=[0,0],kG={topLeft:{points:["bl","tl"],overflow:Cs,offset:[0,-4],targetOffset:xs},topCenter:{points:["bc","tc"],overflow:Cs,offset:[0,-4],targetOffset:xs},topRight:{points:["br","tr"],overflow:Cs,offset:[0,-4],targetOffset:xs},bottomLeft:{points:["tl","bl"],overflow:Cs,offset:[0,4],targetOffset:xs},bottomCenter:{points:["tc","bc"],overflow:Cs,offset:[0,4],targetOffset:xs},bottomRight:{points:["tr","br"],overflow:Cs,offset:[0,4],targetOffset:xs}};function QE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Yc(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function XI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=xe(e.querySelectorAll("*")).filter(function(r){return QE(r,t)});return QE(e,t)&&n.unshift(e),n}var FG=ue.ESC,DG=ue.TAB;function LG(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,a=e.autoFocus,i=c.useRef(!1),l=function(){if(t&&r.current){var f,v,p,m;(f=r.current)===null||f===void 0||(v=f.triggerRef)===null||v===void 0||(p=v.current)===null||p===void 0||(m=p.focus)===null||m===void 0||m.call(p),n(!1),typeof o=="function"&&o(!1)}},s=function(){var f,v,p,m,y=XI((f=r.current)===null||f===void 0||(v=f.popupRef)===null||v===void 0||(p=v.current)===null||p===void 0||(m=p.getElement)===null||m===void 0?void 0:m.call(p)),g=y[0];return g!=null&&g.focus?(g.focus(),i.current=!0,!0):!1},u=function(f){switch(f.keyCode){case FG:l();break;case DG:{var v=!1;i.current||(v=s()),v?f.preventDefault():l();break}}};c.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&kt(s,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var AG=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function jG(e,t){var n=e.arrow,r=n===void 0?!1:n,o=e.prefixCls,a=o===void 0?"rc-dropdown":o,i=e.transitionName,l=e.animation,s=e.align,u=e.placement,d=u===void 0?"bottomLeft":u,f=e.placements,v=f===void 0?kG:f,p=e.getPopupContainer,m=e.showAction,y=e.hideAction,g=e.overlayClassName,h=e.overlayStyle,b=e.visible,C=e.trigger,x=C===void 0?["hover"]:C,S=e.autoFocus,w=Oe(e,AG),$=c.useState(),R=U($,2),I=R[0],N=R[1],_="visible"in e?b:I,M=c.useRef(null);c.useImperativeHandle(t,function(){return M.current}),LG({visible:_,setTriggerVisible:N,triggerRef:M,onVisibleChange:e.onVisibleChange,autoFocus:S});var P=function(){var V=e.overlay,K;return typeof V=="function"?K=V():K=V,K},O=function(V){var K=e.onOverlayClick;N(!1),K&&K(V)},T=function(V){var K=e.onVisibleChange;N(V),typeof K=="function"&&K(V)},k=function(){var V=P();return c.createElement(c.Fragment,null,r&&c.createElement("div",{className:"".concat(a,"-arrow")}),V)},F=function(){var V=e.overlay;return typeof V=="function"?k:k()},D=function(){var V=e.minOverlayWidthMatchTrigger,K=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?V:!K},j=function(){var V=e.openClassName;return V!==void 0?V:"".concat(a,"-open")},z=function(){var V=e.children,K=V.props?V.props:{},W=Y(K.className,j());return _&&V?c.cloneElement(V,{className:W}):V},B=y;return!B&&x.indexOf("contextMenu")!==-1&&(B=["click"]),c.createElement(GI,E(E({builtinPlacements:v},w),{},{prefixCls:a,ref:M,popupClassName:Y(g,A({},"".concat(a,"-show-arrow"),r)),popupStyle:h,action:x,showAction:m,hideAction:B||[],popupPlacement:d,popupAlign:s,popupTransitionName:i,popupAnimation:l,popupVisible:_,stretch:D()?"minWidth":"",popup:F(),onPopupVisibleChange:T,onPopupClick:O,getPopupContainer:p}),z())}const qI=c.forwardRef(jG);var QI=c.createContext(null);function XS(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function ZI(e){var t=c.useContext(QI);return XS(t,e)}var zG=["children","locked"],sa=c.createContext(null);function HG(e,t){var n=E({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function Ud(e){var t=e.children,n=e.locked,r=Oe(e,zG),o=c.useContext(sa),a=Ji(function(){return HG(o,r)},[o,r],function(i,l){return!n&&(i[0]!==l[0]||!Kc(i[1],l[1],!0))});return c.createElement(sa.Provider,{value:a},t)}var BG=[],JI=c.createContext(null);function Ug(){return c.useContext(JI)}var eN=c.createContext(BG);function qc(e){var t=c.useContext(eN);return c.useMemo(function(){return e!==void 0?[].concat(xe(t),[e]):t},[t,e])}var tN=c.createContext(null),qS=c.createContext({}),Eb=ue.LEFT,Pb=ue.RIGHT,Ob=ue.UP,pp=ue.DOWN,mp=ue.ENTER,nN=ue.ESC,Mu=ue.HOME,Ru=ue.END,ZE=[Ob,pp,Eb,Pb];function VG(e,t,n,r){var o,a,i,l,s="prev",u="next",d="children",f="parent";if(e==="inline"&&r===mp)return{inlineTrigger:!0};var v=(o={},A(o,Ob,s),A(o,pp,u),o),p=(a={},A(a,Eb,n?u:s),A(a,Pb,n?s:u),A(a,pp,d),A(a,mp,d),a),m=(i={},A(i,Ob,s),A(i,pp,u),A(i,mp,d),A(i,nN,f),A(i,Eb,n?d:f),A(i,Pb,n?f:d),i),y={inline:v,horizontal:p,vertical:m,inlineSub:v,horizontalSub:m,verticalSub:m},g=(l=y["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[r];switch(g){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function WG(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function KG(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function rN(e,t){var n=XI(e,!0);return n.filter(function(r){return t.has(r)})}function JE(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=rN(e,t),a=o.length,i=o.findIndex(function(l){return n===l});return r<0?i===-1?i=a-1:i-=1:r>0&&(i+=1),i=(i+a)%a,o[i]}function UG(e,t,n,r,o,a,i,l,s,u){var d=c.useRef(),f=c.useRef();f.current=t;var v=function(){kt.cancel(d.current)};return c.useEffect(function(){return function(){v()}},[]),function(p){var m=p.which;if([].concat(ZE,[mp,nN,Mu,Ru]).includes(m)){var y,g,h,b=function(){y=new Set,g=new Map,h=new Map;var T=a();return T.forEach(function(k){var F=document.querySelector("[data-menu-id='".concat(XS(r,k),"']"));F&&(y.add(F),h.set(F,k),g.set(k,F))}),y};b();var C=g.get(t),x=KG(C,y),S=h.get(x),w=VG(e,i(S,!0).length===1,n,m);if(!w&&m!==Mu&&m!==Ru)return;(ZE.includes(m)||[Mu,Ru].includes(m))&&p.preventDefault();var $=function(T){if(T){var k=T,F=T.querySelector("a");F!=null&&F.getAttribute("href")&&(k=F);var D=h.get(T);l(D),v(),d.current=kt(function(){f.current===D&&k.focus()})}};if([Mu,Ru].includes(m)||w.sibling||!x){var R;!x||e==="inline"?R=o.current:R=WG(x);var I,N=rN(R,y);m===Mu?I=N[0]:m===Ru?I=N[N.length-1]:I=JE(R,y,x,w.offset),$(I)}else if(w.inlineTrigger)s(S);else if(w.offset>0)s(S,!0),v(),d.current=kt(function(){b();var O=x.getAttribute("aria-controls"),T=document.getElementById(O),k=JE(T,y);$(k)},5);else if(w.offset<0){var _=i(S,!0),M=_[_.length-2],P=g.get(M);s(M,!1),$(P)}}u==null||u(p)}}function YG(e){Promise.resolve().then(e)}var QS="__RC_UTIL_PATH_SPLIT__",e3=function(t){return t.join(QS)},GG=function(t){return t.split(QS)},Mb="rc-menu-more";function XG(){var e=c.useState({}),t=U(e,2),n=t[1],r=c.useRef(new Map),o=c.useRef(new Map),a=c.useState([]),i=U(a,2),l=i[0],s=i[1],u=c.useRef(0),d=c.useRef(!1),f=function(){d.current||n({})},v=c.useCallback(function(C,x){var S=e3(x);o.current.set(S,C),r.current.set(C,S),u.current+=1;var w=u.current;YG(function(){w===u.current&&f()})},[]),p=c.useCallback(function(C,x){var S=e3(x);o.current.delete(S),r.current.delete(C)},[]),m=c.useCallback(function(C){s(C)},[]),y=c.useCallback(function(C,x){var S=r.current.get(C)||"",w=GG(S);return x&&l.includes(w[0])&&w.unshift(Mb),w},[l]),g=c.useCallback(function(C,x){return C.some(function(S){var w=y(S,!0);return w.includes(x)})},[y]),h=function(){var x=xe(r.current.keys());return l.length&&x.push(Mb),x},b=c.useCallback(function(C){var x="".concat(r.current.get(C)).concat(QS),S=new Set;return xe(o.current.keys()).forEach(function(w){w.startsWith(x)&&S.add(o.current.get(w))}),S},[]);return c.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:v,unregisterPath:p,refreshOverflowKeys:m,isSubPathKey:g,getKeyPath:y,getKeys:h,getSubPathKeys:b}}function Ts(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i1&&(b.motionAppear=!1);var C=b.onVisibleChanged;return b.onVisibleChanged=function(x){return!v.current&&!x&&g(!0),C==null?void 0:C(x)},y?null:c.createElement(Ud,{mode:a,locked:!v.current},c.createElement(qn,be({visible:h},b,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(x){var S=x.className,w=x.style;return c.createElement(ZS,{id:t,className:S,style:w},o)}))}var pX=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],mX=["active"],gX=function(t){var n,r=t.style,o=t.className,a=t.title,i=t.eventKey;t.warnKey;var l=t.disabled,s=t.internalPopupClose,u=t.children,d=t.itemIcon,f=t.expandIcon,v=t.popupClassName,p=t.popupOffset,m=t.onClick,y=t.onMouseEnter,g=t.onMouseLeave,h=t.onTitleClick,b=t.onTitleMouseEnter,C=t.onTitleMouseLeave,x=Oe(t,pX),S=ZI(i),w=c.useContext(sa),$=w.prefixCls,R=w.mode,I=w.openKeys,N=w.disabled,_=w.overflowDisabled,M=w.activeKey,P=w.selectedKeys,O=w.itemIcon,T=w.expandIcon,k=w.onItemClick,F=w.onOpenChange,D=w.onActive,j=c.useContext(qS),z=j._internalRenderSubMenuItem,B=c.useContext(tN),H=B.isSubPathKey,V=qc(),K="".concat($,"-submenu"),W=N||l,G=c.useRef(),X=c.useRef(),Q=d||O,ae=f||T,ee=I.includes(i),q=!_&&ee,re=H(P,i),te=oN(i,W,b,C),J=te.active,ne=Oe(te,mX),oe=c.useState(!1),le=U(oe,2),de=le[0],pe=le[1],se=function(je){W||pe(je)},ve=function(je){se(!0),y==null||y({key:i,domEvent:je})},ge=function(je){se(!1),g==null||g({key:i,domEvent:je})},ce=c.useMemo(function(){return J||(R!=="inline"?de||H([M],i):!1)},[R,J,M,de,i,H]),ie=aN(V.length),fe=function(je){W||(h==null||h({key:i,domEvent:je}),R==="inline"&&F(i,!ee))},me=Ts(function(Ie){m==null||m(xm(Ie)),k(Ie)}),Ce=function(je){R!=="inline"&&F(i,je)},ye=function(){D(i)},Ne=S&&"".concat(S,"-popup"),_e=c.createElement("div",be({role:"menuitem",style:ie,className:"".concat(K,"-title"),tabIndex:W?null:-1,ref:G,title:typeof a=="string"?a:null,"data-menu-id":_&&S?null:S,"aria-expanded":q,"aria-haspopup":!0,"aria-controls":Ne,"aria-disabled":W,onClick:fe,onFocus:ye},ne),a,c.createElement(iN,{icon:R!=="horizontal"?ae:null,props:E(E({},t),{},{isOpen:q,isSubMenu:!0})},c.createElement("i",{className:"".concat(K,"-arrow")}))),Ke=c.useRef(R);if(R!=="inline"&&V.length>1?Ke.current="vertical":Ke.current=R,!_){var Ye=Ke.current;_e=c.createElement(fX,{mode:Ye,prefixCls:K,visible:!s&&q&&R!=="inline",popupClassName:v,popupOffset:p,popup:c.createElement(Ud,{mode:Ye==="horizontal"?"vertical":Ye},c.createElement(ZS,{id:Ne,ref:X},u)),disabled:W,onVisibleChange:Ce},_e)}var $e=c.createElement(Sa.Item,be({role:"none"},x,{component:"li",style:r,className:Y(K,"".concat(K,"-").concat(R),o,(n={},A(n,"".concat(K,"-open"),q),A(n,"".concat(K,"-active"),ce),A(n,"".concat(K,"-selected"),re),A(n,"".concat(K,"-disabled"),W),n)),onMouseEnter:ve,onMouseLeave:ge}),_e,!_&&c.createElement(vX,{id:Ne,open:q,keyPath:V},u));return z&&($e=z($e,t,{selected:re,active:ce,open:q,disabled:W})),c.createElement(Ud,{onItemClick:me,mode:R==="horizontal"?"vertical":R,itemIcon:Q,expandIcon:ae},$e)};function Yg(e){var t=e.eventKey,n=e.children,r=qc(t),o=JS(n,r),a=Ug();c.useEffect(function(){if(a)return a.registerPath(t,r),function(){a.unregisterPath(t,r)}},[r]);var i;return a?i=o:i=c.createElement(gX,e,o),c.createElement(eN.Provider,{value:r},i)}var hX=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ss=[],yX=c.forwardRef(function(e,t){var n,r,o=e,a=o.prefixCls,i=a===void 0?"rc-menu":a,l=o.rootClassName,s=o.style,u=o.className,d=o.tabIndex,f=d===void 0?0:d,v=o.items,p=o.children,m=o.direction,y=o.id,g=o.mode,h=g===void 0?"vertical":g,b=o.inlineCollapsed,C=o.disabled,x=o.disabledOverflow,S=o.subMenuOpenDelay,w=S===void 0?.1:S,$=o.subMenuCloseDelay,R=$===void 0?.1:$,I=o.forceSubMenuRender,N=o.defaultOpenKeys,_=o.openKeys,M=o.activeKey,P=o.defaultActiveFirst,O=o.selectable,T=O===void 0?!0:O,k=o.multiple,F=k===void 0?!1:k,D=o.defaultSelectedKeys,j=o.selectedKeys,z=o.onSelect,B=o.onDeselect,H=o.inlineIndent,V=H===void 0?24:H,K=o.motion,W=o.defaultMotions,G=o.triggerSubMenuAction,X=G===void 0?"hover":G,Q=o.builtinPlacements,ae=o.itemIcon,ee=o.expandIcon,q=o.overflowedIndicator,re=q===void 0?"...":q,te=o.overflowedIndicatorPopupClassName,J=o.getPopupContainer,ne=o.onClick,oe=o.onOpenChange,le=o.onKeyDown;o.openAnimation,o.openTransitionName;var de=o._internalRenderMenuItem,pe=o._internalRenderSubMenuItem,se=Oe(o,hX),ve=c.useMemo(function(){return sX(p,v,Ss)},[p,v]),ge=c.useState(!1),ce=U(ge,2),ie=ce[0],fe=ce[1],me=c.useRef(),Ce=QG(y),ye=m==="rtl",Ne=yt(N,{value:_,postState:function(Ve){return Ve||Ss}}),_e=U(Ne,2),Ke=_e[0],Ye=_e[1],$e=function(Ve){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ft(){Ye(Ve),oe==null||oe(Ve)}wt?Ya.flushSync(Ft):Ft()},Ie=c.useState(Ke),je=U(Ie,2),gt=je[0],dt=je[1],bt=c.useRef(!1),Ee=c.useMemo(function(){return(h==="inline"||h==="vertical")&&b?["vertical",b]:[h,!1]},[h,b]),Se=U(Ee,2),ke=Se[0],De=Se[1],ze=ke==="inline",Me=c.useState(ke),ht=U(Me,2),rt=ht[0],he=ht[1],Re=c.useState(De),we=U(Re,2),Le=we[0],Ze=we[1];c.useEffect(function(){he(ke),Ze(De),bt.current&&(ze?Ye(gt):$e(Ss))},[ke,De]);var st=c.useState(0),Ct=U(st,2),it=Ct[0],Te=Ct[1],Be=it>=ve.length-1||rt!=="horizontal"||x;c.useEffect(function(){ze&&dt(Ke)},[Ke]),c.useEffect(function(){return bt.current=!0,function(){bt.current=!1}},[]);var Xe=XG(),He=Xe.registerPath,Fe=Xe.unregisterPath,Qe=Xe.refreshOverflowKeys,Ue=Xe.isSubPathKey,ct=Xe.getKeyPath,ot=Xe.getKeys,Je=Xe.getSubPathKeys,et=c.useMemo(function(){return{registerPath:He,unregisterPath:Fe}},[He,Fe]),ut=c.useMemo(function(){return{isSubPathKey:Ue}},[Ue]);c.useEffect(function(){Qe(Be?Ss:ve.slice(it+1).map(function(at){return at.key}))},[it,Be]);var $t=yt(M||P&&((n=ve[0])===null||n===void 0?void 0:n.key),{value:M}),Tt=U($t,2),dn=Tt[0],St=Tt[1],Ge=Ts(function(at){St(at)}),Bt=Ts(function(){St(void 0)});c.useImperativeHandle(t,function(){return{list:me.current,focus:function(Ve){var wt,Ft=dn??((wt=ve.find(function(Pe){return!Pe.props.disabled}))===null||wt===void 0?void 0:wt.key);if(Ft){var It,Gt,mn;(It=me.current)===null||It===void 0||(Gt=It.querySelector("li[data-menu-id='".concat(XS(Ce,Ft),"']")))===null||Gt===void 0||(mn=Gt.focus)===null||mn===void 0||mn.call(Gt,Ve)}}}});var Zt=yt(D||[],{value:j,postState:function(Ve){return Array.isArray(Ve)?Ve:Ve==null?Ss:[Ve]}}),pn=U(Zt,2),tn=pn[0],In=pn[1],go=function(Ve){if(T){var wt=Ve.key,Ft=tn.includes(wt),It;F?Ft?It=tn.filter(function(mn){return mn!==wt}):It=[].concat(xe(tn),[wt]):It=[wt],In(It);var Gt=E(E({},Ve),{},{selectedKeys:It});Ft?B==null||B(Gt):z==null||z(Gt)}!F&&Ke.length&&rt!=="inline"&&$e(Ss)},ho=Ts(function(at){ne==null||ne(xm(at)),go(at)}),gr=Ts(function(at,Ve){var wt=Ke.filter(function(It){return It!==at});if(Ve)wt.push(at);else if(rt!=="inline"){var Ft=Je(at);wt=wt.filter(function(It){return!Ft.has(It)})}Kc(Ke,wt,!0)||$e(wt,!0)}),Zn=Ts(J),Wr=function(Ve,wt){var Ft=wt??!Ke.includes(Ve);gr(Ve,Ft)},Nr=UG(rt,dn,ye,Ce,me,ot,ct,St,Wr,le);c.useEffect(function(){fe(!0)},[]);var Ma=c.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:pe}},[de,pe]),Kr=rt!=="horizontal"||x?ve:ve.map(function(at,Ve){return c.createElement(Ud,{key:at.key,overflowDisabled:Ve>it},at)}),yo=c.createElement(Sa,be({id:y,ref:me,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:If,className:Y(i,"".concat(i,"-root"),"".concat(i,"-").concat(rt),u,(r={},A(r,"".concat(i,"-inline-collapsed"),Le),A(r,"".concat(i,"-rtl"),ye),r),l),dir:m,style:s,role:"menu",tabIndex:f,data:Kr,renderRawItem:function(Ve){return Ve},renderRawRest:function(Ve){var wt=Ve.length,Ft=wt?ve.slice(-wt):null;return c.createElement(Yg,{eventKey:Mb,title:re,disabled:Be,internalPopupClose:wt===0,popupClassName:te},Ft)},maxCount:rt!=="horizontal"||x?Sa.INVALIDATE:Sa.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ve){Te(Ve)},onKeyDown:Nr},se));return c.createElement(qS.Provider,{value:Ma},c.createElement(QI.Provider,{value:Ce},c.createElement(Ud,{prefixCls:i,rootClassName:l,mode:rt,openKeys:Ke,rtl:ye,disabled:C,motion:ie?K:null,defaultMotions:ie?W:null,activeKey:dn,onActive:Ge,onInactive:Bt,selectedKeys:tn,inlineIndent:V,subMenuOpenDelay:w,subMenuCloseDelay:R,forceSubMenuRender:I,builtinPlacements:Q,triggerSubMenuAction:X,getPopupContainer:Zn,itemIcon:ae,expandIcon:ee,onItemClick:ho,onOpenChange:gr},c.createElement(tN.Provider,{value:ut},yo),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(JI.Provider,{value:et},ve)))))}),bX=["className","title","eventKey","children"],CX=["children"],xX=function(t){var n=t.className,r=t.title;t.eventKey;var o=t.children,a=Oe(t,bX),i=c.useContext(sa),l=i.prefixCls,s="".concat(l,"-item-group");return c.createElement("li",be({role:"presentation"},a,{onClick:function(d){return d.stopPropagation()},className:Y(s,n)}),c.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:typeof r=="string"?r:void 0},r),c.createElement("ul",{role:"group",className:"".concat(s,"-list")},o))};function Gg(e){var t=e.children,n=Oe(e,CX),r=qc(n.eventKey),o=JS(t,r),a=Ug();return a?o:c.createElement(xX,$n(n,["warnKey"]),o)}function e2(e){var t=e.className,n=e.style,r=c.useContext(sa),o=r.prefixCls,a=Ug();return a?null:c.createElement("li",{className:Y("".concat(o,"-item-divider"),t),style:n})}var Qc=yX;Qc.Item=If;Qc.SubMenu=Yg;Qc.ItemGroup=Gg;Qc.Divider=e2;var SX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const wX=SX;var sN=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:wX}))};sN.displayName="EllipsisOutlined";const t2=c.forwardRef(sN),$X=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:o,lineWidth:a,lineType:i,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${a}px ${i} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, - > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},EX=$X,PX=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},OX=PX,n3=e=>Object.assign({},Hl(e)),MX=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:o,colorGroupTitle:a,colorItemBg:i,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:d,colorActiveBarBorderSize:f,motionDurationSlow:v,motionEaseInOut:p,motionEaseOut:m,menuItemPaddingInline:y,motionDurationMid:g,colorItemTextHover:h,lineType:b,colorSplit:C,colorItemTextDisabled:x,colorDangerItemText:S,colorDangerItemTextHover:w,colorDangerItemTextSelected:$,colorDangerItemBgActive:R,colorDangerItemBgSelected:I,colorItemBgHover:N,menuSubMenuBg:_,colorItemTextSelectedHorizontal:M,colorItemBgSelectedHorizontal:P}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:i,[`&${n}-root:focus-visible`]:Object.assign({},n3(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:h}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:w}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:$},["a, a:hover"]:{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:I}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},n3(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:_},[`&${n}-popup > ${n}`]:{backgroundColor:i},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:y,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${v} ${p}`,content:'""'},["&:hover, &-active, &-open"]:{"&::after":{borderBottomWidth:u,borderBottomColor:M}},["&-selected"]:{color:M,backgroundColor:P,"&::after":{borderBottomWidth:u,borderBottomColor:M}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${b} ${C}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:f&&d?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${g} ${m}`,`opacity ${g} ${m}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:$}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${g} ${p}`,`opacity ${g} ${p}`].join(",")}}}}}},r3=MX,o3=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:a,marginXS:i,marginXXS:l}=e,s=o+a+i;return{[`${t}-item`]:{position:"relative",["&:not(:last-child)"]:{marginBottom:i}},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:s}}},RX=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:o,dropdownWidth:a,controlHeightLG:i,motionDurationMid:l,motionEaseOut:s,paddingXL:u,fontSizeSM:d,fontSizeLG:f,motionDurationSlow:v,paddingXS:p,boxShadowSecondary:m}=e,y={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{["&-inline, &-vertical"]:Object.assign({[`&${t}-root`]:{boxShadow:"none"}},o3(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},o3(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${i*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${v}`,`background ${v}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d}px)`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:f,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},ra),{paddingInline:p})}}]},IX=RX,a3=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:o,motionEaseInOut:a,motionEaseOut:i,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${a}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${o} ${i}`,`margin ${r} ${a}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${r} ${a}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:Object.assign({},xf()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},i3=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.15,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${i})`},"&::after":{transform:`rotate(-45deg) translateY(${i})`}}}}},NX=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:i,lineHeight:l,paddingXS:s,padding:u,colorSplit:d,lineWidth:f,zIndexPopup:v,borderRadiusLG:p,radiusSubMenuItem:m,menuArrowSize:y,menuArrowOffset:g,lineType:h,menuPanelMaskInset:b}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},tb()),{["&-hidden"]:{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),tb()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:r,lineHeight:l,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:h,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),a3(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:v,background:"transparent",borderRadius:p,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},a3(e)),i3(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${i}`}})}}),i3(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${y*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},TX=(e,t)=>Kt("Menu",(r,o)=>{let{overrideComponentToken:a}=o;if(t===!1)return[];const{colorBgElevated:i,colorPrimary:l,colorError:s,colorErrorHover:u,colorTextLightSolid:d,controlHeightLG:f,fontSize:v}=r,p=v/7*5,m=xt(r,{menuItemHeight:f,menuItemPaddingInline:r.margin,menuArrowSize:p,menuHorizontalHeight:f*1.15,menuArrowOffset:`${p*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:i}),y=new Yt(d).setAlpha(.65).toRgbString(),g=xt(m,{colorItemText:y,colorItemTextHover:d,colorGroupTitle:y,colorItemTextSelected:d,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Yt(d).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:d,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:d,colorItemBgSelectedHorizontal:l},Object.assign({},a));return[NX(m),EX(m),IX(m),r3(m,"light"),r3(g,"dark"),OX(m),QR(m),$a(m,"slide-up"),$a(m,"slide-down"),$f(m,"zoom-big")]},r=>{const{colorPrimary:o,colorError:a,colorTextDisabled:i,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:v,lineWidth:p,lineWidthBold:m,controlItemBgActive:y,colorBgTextHover:g}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:o,colorGroupTitle:u,colorItemTextSelected:o,colorItemTextSelectedHorizontal:o,colorItemBg:d,colorItemBgHover:g,colorItemBgActive:v,colorSubItemBg:f,colorItemBgSelected:y,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:m,colorActiveBarBorderSize:p,colorItemTextDisabled:i,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:r.marginXXS}})(e);var _X=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{children:t}=e,n=_X(e,["children"]),r=c.useContext(Sm),o=c.useMemo(()=>Object.assign(Object.assign({},r),n),[r,n.prefixCls,n.mode,n.selectable]);return c.createElement(Sm.Provider,{value:o},t)};var FX=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,dashed:r}=e,o=FX(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=c.useContext(nt),i=a("menu",t),l=Y({[`${i}-item-divider-dashed`]:!!r},n);return c.createElement(e2,Object.assign({className:l},o))},cN=DX;var LX={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const AX=LX;var uN=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:AX}))};uN.displayName="BarsOutlined";const jX=c.forwardRef(uN);var zX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const HX=zX;var dN=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:HX}))};dN.displayName="LeftOutlined";const wm=c.forwardRef(dN),BX=e=>!isNaN(parseFloat(e))&&isFinite(e),VX=BX,WX=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:o}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:o,background:n},[`${t}-sider-zero-width-trigger`]:{color:o,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},KX=WX,UX=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:o,colorBgHeader:a,colorBgBody:i,colorBgTrigger:l,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:d,layoutFooterPadding:f,layoutTriggerHeight:v,layoutZeroTriggerSize:p,motionDurationMid:m,motionDurationSlow:y,fontSize:g,borderRadius:h}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:i,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:a,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:v},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:v,color:o,lineHeight:`${v}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-p,zIndex:1,width:p,height:p,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:a,borderStartStartRadius:0,borderStartEndRadius:h,borderEndEndRadius:h,borderEndStartRadius:0,cursor:"pointer",transition:`background ${y} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${y}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-p,borderStartStartRadius:h,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:h}}}}},KX(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,paddingInline:u,color:d,lineHeight:`${s}px`,background:a,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:f,color:r,fontSize:g,background:i},[`${n}-content`]:{flex:"auto",minHeight:0}}},fN=Kt("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:o,marginXXS:a}=e,i=o*1.25,l=xt(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:i,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${i}px`,layoutTriggerHeight:o+a*2,layoutZeroTriggerSize:o});return[UX(l)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}});var vN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);onull,removeSider:()=>null}});function Xg(e){let{suffixCls:t,tagName:n,displayName:r}=e;return o=>c.forwardRef((i,l)=>c.createElement(o,Object.assign({ref:l,suffixCls:t,tagName:n},i)))}const n2=c.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:o,tagName:a}=e,i=vN(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=c.useContext(nt),s=l("layout",n),[u,d]=fN(s),f=r?`${s}-${r}`:s;return u(c.createElement(a,Object.assign({className:Y(n||f,o,d),ref:t},i)))}),YX=c.forwardRef((e,t)=>{const{direction:n}=c.useContext(nt),[r,o]=c.useState([]),{prefixCls:a,className:i,rootClassName:l,children:s,hasSider:u,tagName:d}=e,f=vN(e,["prefixCls","className","rootClassName","children","hasSider","tagName"]),v=$n(f,["suffixCls"]),{getPrefixCls:p}=c.useContext(nt),m=p("layout",a),[y,g]=fN(m),h=Y(m,{[`${m}-has-sider`]:typeof u=="boolean"?u:r.length>0,[`${m}-rtl`]:n==="rtl"},i,l,g),b=c.useMemo(()=>({siderHook:{addSider:C=>{o(x=>[].concat(xe(x),[C]))},removeSider:C=>{o(x=>x.filter(S=>S!==C))}}}),[]);return y(c.createElement(pN.Provider,{value:b},c.createElement(d,Object.assign({ref:t,className:h},v),s)))}),GX=Xg({tagName:"section",displayName:"Layout"})(YX),XX=Xg({suffixCls:"header",tagName:"header",displayName:"Header"})(n2),qX=Xg({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(n2),QX=Xg({suffixCls:"content",tagName:"main",displayName:"Content"})(n2),ZX=GX;var JX=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),tq=c.forwardRef((e,t)=>{var{prefixCls:n,className:r,trigger:o,children:a,defaultCollapsed:i=!1,theme:l="dark",style:s={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:v=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:y,onBreakpoint:g}=e,h=JX(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]);const{siderHook:b}=c.useContext(pN),[C,x]=c.useState("collapsed"in h?h.collapsed:i),[S,w]=c.useState(!1);c.useEffect(()=>{"collapsed"in h&&x(h.collapsed)},[h.collapsed]);const $=(P,O)=>{"collapsed"in h||x(P),y==null||y(P,O)},R=c.useRef();R.current=P=>{w(P.matches),g==null||g(P.matches),C!==P.matches&&$(P.matches,"responsive")},c.useEffect(()=>{function P(T){return R.current(T)}let O;if(typeof window<"u"){const{matchMedia:T}=window;if(T&&m&&m in l3){O=T(`(max-width: ${l3[m]})`);try{O.addEventListener("change",P)}catch{O.addListener(P)}P(O)}}return()=>{try{O==null||O.removeEventListener("change",P)}catch{O==null||O.removeListener(P)}}},[m]),c.useEffect(()=>{const P=eq("ant-sider-");return b.addSider(P),()=>b.removeSider(P)},[]);const I=()=>{$(!C,"clickTrigger")},{getPrefixCls:N}=c.useContext(nt),_=()=>{const P=N("layout-sider",n),O=$n(h,["collapsed"]),T=C?v:f,k=VX(T)?`${T}px`:String(T),F=parseFloat(String(v||0))===0?c.createElement("span",{onClick:I,className:Y(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:p},o||c.createElement(jX,null)):null,z={expanded:d?c.createElement(Oc,null):c.createElement(wm,null),collapsed:d?c.createElement(wm,null):c.createElement(Oc,null)}[C?"collapsed":"expanded"],B=o!==null?F||c.createElement("div",{className:`${P}-trigger`,onClick:I,style:{width:k}},o||z):null,H=Object.assign(Object.assign({},s),{flex:`0 0 ${k}`,maxWidth:k,minWidth:k,width:k}),V=Y(P,`${P}-${l}`,{[`${P}-collapsed`]:!!C,[`${P}-has-trigger`]:u&&o!==null&&!F,[`${P}-below`]:!!S,[`${P}-zero-width`]:parseFloat(k)===0},r);return c.createElement("aside",Object.assign({className:V},O,{style:H,ref:t}),c.createElement("div",{className:`${P}-children`},a),u||S&&F?B:null)},M=c.useMemo(()=>({siderCollapsed:C}),[C]);return c.createElement(r2.Provider,{value:M},_())}),nq=tq,rq=c.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$m=rq,oq=e=>{var t;const{className:n,children:r,icon:o,title:a,danger:i}=e,{prefixCls:l,firstLevel:s,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=c.useContext($m),v=b=>{const C=c.createElement("span",{className:`${l}-title-content`},r);return(!o||Fo(r)&&r.type==="span")&&r&&b&&s&&typeof r=="string"?c.createElement("div",{className:`${l}-inline-collapsed-noicon`},r.charAt(0)):C},{siderCollapsed:p}=c.useContext(r2);let m=a;typeof a>"u"?m=s?r:"":a===!1&&(m="");const y={title:m};!p&&!f&&(y.title=null,y.open=!1);const g=Mr(r).length;let h=c.createElement(If,Object.assign({},$n(e,["title","icon","danger"]),{className:Y({[`${l}-item-danger`]:i,[`${l}-item-only-child`]:(o?g+1:g)===1},n),title:typeof a=="string"?a:void 0}),Wn(o,{className:Y(Fo(o)?(t=o.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),v(f));return d||(h=c.createElement(tl,Object.assign({},y,{placement:u==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`}),h)),h},mN=oq,aq=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:a}=e,i=c.useContext($m),{prefixCls:l,inlineCollapsed:s,theme:u,mode:d}=i,f=qc();let v;if(!r)v=s&&!f.length&&o&&typeof o=="string"?c.createElement("div",{className:`${l}-inline-collapsed-noicon`},o.charAt(0)):c.createElement("span",{className:`${l}-title-content`},o);else{const y=Fo(o)&&o.type==="span";v=c.createElement(c.Fragment,null,Wn(r,{className:Y(Fo(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),y?o:c.createElement("span",{className:`${l}-title-content`},o))}const p=c.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),m=d==="horizontal"?[0,8]:[10,0];return c.createElement($m.Provider,{value:p},c.createElement(Yg,Object.assign({popupOffset:m},$n(e,["icon"]),{title:v,popupClassName:Y(l,n,`${l}-${a||u}`)})))},gN=aq;var iq=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(t&&typeof t=="object"){const r=t,{label:o,children:a,key:i,type:l}=r,s=iq(r,["label","children","key","type"]),u=i??`tmp-${n}`;return a||l==="group"?l==="group"?c.createElement(Gg,Object.assign({key:u},s,{title:o}),Ib(a)):c.createElement(gN,Object.assign({key:u},s,{title:o}),Ib(a)):l==="divider"?c.createElement(cN,Object.assign({key:u},s)):c.createElement(mN,Object.assign({key:u},s),o)}return null}).filter(t=>t)}function lq(e){return c.useMemo(()=>e&&Ib(e),[e])}var sq=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const o=c.useContext(Sm),a=o||{},{getPrefixCls:i,getPopupContainer:l,direction:s}=c.useContext(nt),u=i(),{prefixCls:d,className:f,theme:v="light",expandIcon:p,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:y,siderCollapsed:g,items:h,children:b,rootClassName:C,mode:x,selectable:S,onClick:w}=e,$=sq(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick"]),R=$n($,["collapsedWidth"]),I=lq(h)||b;(n=a.validator)===null||n===void 0||n.call(a,{mode:x});const N=Jr(function(){var B;w==null||w.apply(void 0,arguments),(B=a.onClick)===null||B===void 0||B.call(a)}),_=a.mode||x,M=S??a.selectable,P=c.useMemo(()=>g!==void 0?g:y,[y,g]),O={horizontal:{motionName:`${u}-slide-up`},inline:gb(u),other:{motionName:`${u}-zoom-big`}},T=i("menu",d||a.prefixCls),[k,F]=TX(T,!o),D=Y(`${T}-${v}`,f);let j;if(typeof p=="function")j=p;else{const B=p||a.expandIcon;j=Wn(B,{className:Y(`${T}-submenu-expand-icon`,(r=B==null?void 0:B.props)===null||r===void 0?void 0:r.className)})}const z=c.useMemo(()=>({prefixCls:T,inlineCollapsed:P||!1,direction:s,firstLevel:!0,theme:v,mode:_,disableMenuItemTitleTooltip:m}),[T,P,s,m,v]);return k(c.createElement(Sm.Provider,{value:null},c.createElement($m.Provider,{value:z},c.createElement(Qc,Object.assign({getPopupContainer:l,overflowedIndicator:c.createElement(t2,null),overflowedIndicatorPopupClassName:`${T}-${v}`,mode:_,selectable:M,onClick:N},R,{inlineCollapsed:P,className:D,prefixCls:T,direction:s,defaultMotions:O,expandIcon:j,ref:t,rootClassName:Y(C,F)}),I))))}),uq=cq,Nf=c.forwardRef((e,t)=>{const n=c.useRef(null),r=c.useContext(r2);return c.useImperativeHandle(t,()=>({menu:n.current,focus:o=>{var a;(a=n.current)===null||a===void 0||a.focus(o)}})),c.createElement(uq,Object.assign({ref:n},e,r))});Nf.Item=mN;Nf.SubMenu=gN;Nf.Divider=cN;Nf.ItemGroup=Gg;const o2=Nf,hN=()=>{const[e,t]=c.useState(!1);return c.useEffect(()=>{t(pW())},[]),e};function dq(e){let{className:t,direction:n,index:r,marginDirection:o,children:a,split:i,wrap:l}=e;const{horizontalSize:s,verticalSize:u,latestIndex:d,supportFlexGap:f}=c.useContext(yN);let v={};return f||(n==="vertical"?r{const{getPrefixCls:t,space:n,direction:r}=c.useContext(nt),{size:o=(n==null?void 0:n.size)||"small",align:a,className:i,rootClassName:l,children:s,direction:u="horizontal",prefixCls:d,split:f,style:v,wrap:p=!1}=e,m=fq(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap"]),y=hN(),[g,h]=c.useMemo(()=>(Array.isArray(o)?o:[o,o]).map(O=>pq(O)),[o]),b=Mr(s,{keepEmpty:!0}),C=a===void 0&&u==="horizontal"?"center":a,x=t("space",d),[S,w]=zR(x),$=Y(x,w,`${x}-${u}`,{[`${x}-rtl`]:r==="rtl",[`${x}-align-${C}`]:C},i,l),R=`${x}-item`,I=r==="rtl"?"marginLeft":"marginRight";let N=0;const _=b.map((O,T)=>{O!=null&&(N=T);const k=O&&O.key||`${R}-${T}`;return c.createElement(dq,{className:R,key:k,direction:u,index:T,marginDirection:I,split:f,wrap:p},O)}),M=c.useMemo(()=>({horizontalSize:g,verticalSize:h,latestIndex:N,supportFlexGap:y}),[g,h,N,y]);if(b.length===0)return null;const P={};return p&&(P.flexWrap="wrap",y||(P.marginBottom=-h)),y&&(P.columnGap=g,P.rowGap=h),S(c.createElement("div",Object.assign({className:$,style:Object.assign(Object.assign({},P),v)},m),c.createElement(yN.Provider,{value:M},_)))},bN=mq;bN.Compact=mV;const nl=bN,gq=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},hq=gq,yq=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:a,antCls:i,iconCls:l,motionDurationMid:s,dropdownPaddingVertical:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:v,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:y}=e;return[{[t]:Object.assign(Object.assign({},Lt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-o+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn > ${l}-down`]:{fontSize:p,transform:"none"},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},[` - &-hidden, - &-menu-hidden, - &-menu-submenu-hidden - `]:{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, - &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, - &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:zg},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, - &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, - &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Bg},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, - &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, - &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Hg},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Vg}})},HS(e,{colorBg:y,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:y,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},$c(e)),{[`${n}-item-group-title`]:{padding:`${u}px ${m}px`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${u}px ${m}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,["&:hover, &-active"]:{backgroundColor:e.controlItemBgHover}},$c(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:y,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:m+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:v,backgroundColor:y,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[$a(e,"slide-up"),$a(e,"slide-down"),Ec(e,"move-up"),Ec(e,"move-down"),$f(e,"zoom-big")]]},CN=Kt("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:o,controlHeight:a,fontSize:i,lineHeight:l,paddingXXS:s,componentCls:u,borderRadiusLG:d}=e,f=(a-i*l)/2,{dropdownArrowOffset:v}=zS({contentRadius:d}),p=xt(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:o/2+r,dropdownArrowOffset:v,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[yq(p),hq(p)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var bq=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPopupContainer:t,getPrefixCls:n,direction:r}=c.useContext(nt),{prefixCls:o,type:a="default",danger:i,disabled:l,loading:s,onClick:u,htmlType:d,children:f,className:v,menu:p,arrow:m,autoFocus:y,overlay:g,trigger:h,align:b,open:C,onOpenChange:x,placement:S,getPopupContainer:w,href:$,icon:R=c.createElement(t2,null),title:I,buttonsRender:N=ee=>ee,mouseEnterDelay:_,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:O,destroyPopupOnHide:T,dropdownRender:k}=e,F=bq(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),D=n("dropdown",o),j=`${D}-button`,[z,B]=CN(D),H={menu:p,arrow:m,autoFocus:y,align:b,disabled:l,trigger:l?[]:h,onOpenChange:x,getPopupContainer:w||t,mouseEnterDelay:_,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:O,destroyPopupOnHide:T,dropdownRender:k},{compactSize:V,compactItemClassnames:K}=Pa(D,r),W=Y(j,K,v,B);"overlay"in e&&(H.overlay=g),"open"in e&&(H.open=C),"placement"in e?H.placement=S:H.placement=r==="rtl"?"bottomLeft":"bottomRight";const G=c.createElement(ti,{type:a,danger:i,disabled:l,loading:s,onClick:u,htmlType:d,href:$,title:I},f),X=c.createElement(ti,{type:a,danger:i,icon:R}),[Q,ae]=N([G,X]);return z(c.createElement(nl.Compact,Object.assign({className:W,size:V,block:!0},F),Q,c.createElement(SN,Object.assign({},H),ae)))};xN.__ANT_BUTTON=!0;const Cq=xN,qg=e=>{const{menu:t,arrow:n,prefixCls:r,children:o,trigger:a,disabled:i,dropdownRender:l,getPopupContainer:s,overlayClassName:u,rootClassName:d,open:f,onOpenChange:v,visible:p,onVisibleChange:m,mouseEnterDelay:y=.15,mouseLeaveDelay:g=.1,autoAdjustOverflow:h=!0,placement:b="",overlay:C,transitionName:x}=e,{getPopupContainer:S,getPrefixCls:w,direction:$}=c.useContext(nt),R=c.useMemo(()=>{const W=w();return x!==void 0?x:b.includes("top")?`${W}-slide-down`:`${W}-slide-up`},[w,b,x]),I=c.useMemo(()=>b?b.includes("Center")?b.slice(0,b.indexOf("Center")):b:$==="rtl"?"bottomRight":"bottomLeft",[b,$]),N=w("dropdown",r),[_,M]=CN(N),{token:P}=Po.useToken(),O=c.Children.only(o),T=Wn(O,{className:Y(`${N}-trigger`,{[`${N}-rtl`]:$==="rtl"},O.props.className),disabled:i}),k=i?[]:a;let F;k&&k.includes("contextMenu")&&(F=!0);const[D,j]=yt(!1,{value:f??p}),z=Jr(W=>{v==null||v(W),m==null||m(W),j(W)}),B=Y(u,d,M,{[`${N}-rtl`]:$==="rtl"}),H=EI({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:h,offset:P.marginXXS,arrowWidth:n?P.sizePopupArrow:0,borderRadius:P.borderRadius}),V=c.useCallback(()=>{j(!1)},[]),K=()=>{let W;return t!=null&&t.items?W=c.createElement(o2,Object.assign({},t)):typeof C=="function"?W=C():W=C,l&&(W=l(W)),W=c.Children.only(typeof W=="string"?c.createElement("span",null,W):W),c.createElement(kX,{prefixCls:`${N}-menu`,expandIcon:c.createElement("span",{className:`${N}-menu-submenu-arrow`},c.createElement(Oc,{className:`${N}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:V,validator:G=>{}},c.createElement(Bl,null,W))};return _(c.createElement(qI,Object.assign({alignPoint:F},$n(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:g,visible:D,builtinPlacements:H,arrow:!!n,overlayClassName:B,prefixCls:N,getPopupContainer:s||S,transitionName:R,trigger:k,overlay:K,placement:I,onVisibleChange:z}),T))};qg.Button=Cq;const xq=ts(qg,"dropdown",e=>e),Sq=e=>c.createElement(xq,Object.assign({},e),c.createElement("span",null));qg._InternalPanelDoNotUseOrYouWillBeFired=Sq;const SN=qg;var Nb={},wq={get exports(){return Nb},set exports(e){Nb=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){var n=1e3,r=6e4,o=36e5,a="millisecond",i="second",l="minute",s="hour",u="day",d="week",f="month",v="quarter",p="year",m="date",y="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var O=["th","st","nd","rd"],T=P%100;return"["+P+(O[(T-20)%10]||O[T]||O[0])+"]"}},C=function(P,O,T){var k=String(P);return!k||k.length>=O?P:""+Array(O+1-k.length).join(T)+P},x={s:C,z:function(P){var O=-P.utcOffset(),T=Math.abs(O),k=Math.floor(T/60),F=T%60;return(O<=0?"+":"-")+C(k,2,"0")+":"+C(F,2,"0")},m:function P(O,T){if(O.date()1)return P(j[0])}else{var z=O.name;w[z]=O,F=z}return!k&&F&&(S=F),F||!k&&S},I=function(P,O){if($(P))return P.clone();var T=typeof O=="object"?O:{};return T.date=P,T.args=arguments,new _(T)},N=x;N.l=R,N.i=$,N.w=function(P,O){return I(P,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var _=function(){function P(T){this.$L=R(T.locale,null,!0),this.parse(T)}var O=P.prototype;return O.parse=function(T){this.$d=function(k){var F=k.date,D=k.utc;if(F===null)return new Date(NaN);if(N.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var j=F.match(g);if(j){var z=j[2]-1||0,B=(j[7]||"0").substring(0,3);return D?new Date(Date.UTC(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,B)):new Date(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,B)}}return new Date(F)}(T),this.$x=T.x||{},this.init()},O.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},O.$utils=function(){return N},O.isValid=function(){return this.$d.toString()!==y},O.isSame=function(T,k){var F=I(T);return this.startOf(k)<=F&&F<=this.endOf(k)},O.isAfter=function(T,k){return I(T)25){var d=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(d.isBefore(f))return 1}var v=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),p=this.diff(v,n,!0);return p<0?i(this).startOf("week").week():Math.ceil(p)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(Pq);const a2=kb;var Fb={},Oq={get exports(){return Fb},set exports(e){Fb=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){return function(n,r){r.prototype.weekYear=function(){var o=this.month(),a=this.week(),i=this.year();return a===1&&o===11?i+1:o===0&&a>=52?i-1:i}}})})(Oq);const Mq=Fb;var Db={},Rq={get exports(){return Db},set exports(e){Db=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){return function(n,r){var o=r.prototype,a=o.format;o.format=function(i){var l=this,s=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return a.bind(this)(d)}}})})(Rq);const EN=Db;var Lb={},Iq={get exports(){return Lb},set exports(e){Lb=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){var n={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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,a=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,l={},s=function(y){return(y=+y)+(y>68?1900:2e3)},u=function(y){return function(g){this[y]=+g}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var h=g.match(/([+-]|\d\d)/g),b=60*h[1]+(+h[2]||0);return b===0?0:h[0]==="+"?-b:b}(y)}],f=function(y){var g=l[y];return g&&(g.indexOf?g:g.s.concat(g.f))},v=function(y,g){var h,b=l.meridiem;if(b){for(var C=1;C<=24;C+=1)if(y.indexOf(b(C,0,g))>-1){h=C>12;break}}else h=y===(g?"pm":"PM");return h},p={A:[i,function(y){this.afternoon=v(y,!1)}],a:[i,function(y){this.afternoon=v(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[o,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[a,u("seconds")],ss:[a,u("seconds")],m:[a,u("minutes")],mm:[a,u("minutes")],H:[a,u("hours")],h:[a,u("hours")],HH:[a,u("hours")],hh:[a,u("hours")],D:[a,u("day")],DD:[o,u("day")],Do:[i,function(y){var g=l.ordinal,h=y.match(/\d+/);if(this.day=h[0],g)for(var b=1;b<=31;b+=1)g(b).replace(/\[|\]/g,"")===y&&(this.day=b)}],M:[a,u("month")],MM:[o,u("month")],MMM:[i,function(y){var g=f("months"),h=(f("monthsShort")||g.map(function(b){return b.slice(0,3)})).indexOf(y)+1;if(h<1)throw new Error;this.month=h%12||h}],MMMM:[i,function(y){var g=f("months").indexOf(y)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(y){this.year=s(y)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function m(y){var g,h;g=y,h=l&&l.formats;for(var b=(y=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,N,_){var M=_&&_.toUpperCase();return N||h[_]||n[_]||h[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,O,T){return O||T.slice(1)})})).match(r),C=b.length,x=0;x-1)return new Date((F==="X"?1e3:1)*k);var j=m(F)(k),z=j.year,B=j.month,H=j.day,V=j.hours,K=j.minutes,W=j.seconds,G=j.milliseconds,X=j.zone,Q=new Date,ae=H||(z||B?1:Q.getDate()),ee=z||Q.getFullYear(),q=0;z&&!B||(q=B>0?B-1:Q.getMonth());var re=V||0,te=K||0,J=W||0,ne=G||0;return X?new Date(Date.UTC(ee,q,ae,re,te,J,ne+60*X.offset*1e3)):D?new Date(Date.UTC(ee,q,ae,re,te,J,ne)):new Date(ee,q,ae,re,te,J,ne)}catch{return new Date("")}}(S,R,w),this.init(),M&&M!==!0&&(this.$L=this.locale(M).$L),_&&S!=this.format(R)&&(this.$d=new Date("")),l={}}else if(R instanceof Array)for(var P=R.length,O=1;O<=P;O+=1){$[1]=R[O-1];var T=h.apply(this,$);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}O===P&&(this.$d=new Date(""))}else C.call(this,x)}}})})(Iq);const PN=Lb;Mt.extend(PN);Mt.extend(EN);Mt.extend(wN);Mt.extend($N);Mt.extend(a2);Mt.extend(Mq);Mt.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(a){var i=(a||"").replace("Wo","wo");return r.bind(this)(i)}});var Nq={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},ul=function(t){var n=Nq[t];return n||t.split("_")[0]},s3=function(){Al(!1,"Not match any format. Please help to fire a issue about this.")},Tq={getNow:function(){return Mt()},getFixedDate:function(t){return Mt(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Mt().locale(ul(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(ul(t)).weekday(0)},getWeek:function(t,n){return n.locale(ul(t)).week()},getShortWeekDays:function(t){return Mt().locale(ul(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Mt().locale(ul(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(ul(t)).format(r)},parse:function(t,n,r){for(var o=ul(t),a=0;a1&&(i=t.addDate(i,-7)),i}function ud(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function ur(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return typeof o=="function"?o(e):n.locale.format(r.locale,e,o)}function _N(e,t){var n=t.generateConfig,r=t.locale,o=t.formatList;return!e||typeof o[0]=="function"?null:n.locale.parse(r.locale,e,o)}function Em(e){var t=e.cellDate,n=e.mode,r=e.disabledDate,o=e.generateConfig;if(!r)return!1;var a=function(m,y,g){for(var h=y;h<=g;){var b=void 0;switch(m){case"date":{if(b=o.setDate(t,h),!r(b))return!1;break}case"month":{if(b=o.setMonth(t,h),!Em({cellDate:b,mode:"month",generateConfig:o,disabledDate:r}))return!1;break}case"year":{if(b=o.setYear(t,h),!Em({cellDate:b,mode:"year",generateConfig:o,disabledDate:r}))return!1;break}}h+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{var i=1,l=o.getDate(o.getEndDate(t));return a("date",i,l)}case"quarter":{var s=Math.floor(o.getMonth(t)/3)*3,u=s+2;return a("month",s,u)}case"year":return a("month",0,11);case"decade":{var d=o.getYear(t),f=Math.floor(d/Jo)*Jo,v=f+Jo-1;return a("year",f,v)}}}function Pm(e,t){var n=t.formatList,r=t.generateConfig,o=t.locale;return Ji(function(){if(!e)return[[""],""];for(var a="",i=[],l=0;l1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(u.current),h){s(g);return}u.current=requestAnimationFrame(function(){s(g)})}var f=Pm(l,{formatList:n,generateConfig:r,locale:o}),v=U(f,2),p=v[1];function m(g){d(g)}function y(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;d(null,g)}return c.useEffect(function(){y(!0)},[e]),c.useEffect(function(){return function(){return cancelAnimationFrame(u.current)}},[]),[p,m,y]}function Bb(e){var t=e.open,n=e.value,r=e.isClickOutside,o=e.triggerOpen,a=e.forwardKeyDown,i=e.onKeyDown,l=e.blurToCancel,s=e.onSubmit,u=e.onCancel,d=e.onFocus,f=e.onBlur,v=c.useState(!1),p=U(v,2),m=p[0],y=p[1],g=c.useState(!1),h=U(g,2),b=h[0],C=h[1],x=c.useRef(!1),S=c.useRef(!1),w=c.useRef(!1),$={onMouseDown:function(){y(!0),o(!0)},onKeyDown:function(I){var N=function(){w.current=!0};if(i(I,N),!w.current){switch(I.which){case ue.ENTER:{t?s()!==!1&&y(!0):o(!0),I.preventDefault();return}case ue.TAB:{m&&t&&!I.shiftKey?(y(!1),I.preventDefault()):!m&&t&&!a(I)&&I.shiftKey&&(y(!0),I.preventDefault());return}case ue.ESC:{y(!0),u();return}}!t&&![ue.SHIFT].includes(I.which)?o(!0):m||a(I)}},onFocus:function(I){y(!0),C(!0),d&&d(I)},onBlur:function(I){if(x.current||!r(document.activeElement)){x.current=!1;return}l?setTimeout(function(){for(var N=document,_=N.activeElement;_&&_.shadowRoot;)_=_.shadowRoot.activeElement;r(_)&&u()},0):t&&(o(!1),S.current&&s()),C(!1),f&&f(I)}};return c.useEffect(function(){S.current=!1},[t]),c.useEffect(function(){S.current=!0},[n]),c.useEffect(function(){return Aq(function(R){var I=jq(R);if(t){var N=r(I);N?(!b||N)&&o(!1):(x.current=!0,requestAnimationFrame(function(){x.current=!1}))}})}),[$,{focused:b,typing:m}]}function kN(e,t){return c.useMemo(function(){if(e)return e;if(t){Wt(!1,"`ranges` is deprecated. Please use `presets` instead.");var n=Object.keys(t);return n.map(function(r){var o=t[r],a=typeof o=="function"?o():o;return{label:r,value:a}})}return[]},[e,t])}function Vb(e){var t=e.valueTexts,n=e.onTextChange,r=c.useState(""),o=U(r,2),a=o[0],i=o[1],l=c.useRef([]);l.current=t;function s(d){i(d),n(d)}function u(){i(l.current[0])}return en(function(){t.every(function(d){return d!==a})&&u()},[t.join("||")]),[a,s,u]}function FN(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length=1?n|0:1,i=e;i<=t;i+=a)o.push({label:FN(i,2),value:i,disabled:(r||[]).includes(i)});return o}function tQ(e){var t=e.generateConfig,n=e.prefixCls,r=e.operationRef,o=e.activeColumnIndex,a=e.value,i=e.showHour,l=e.showMinute,s=e.showSecond,u=e.use12Hours,d=e.hourStep,f=d===void 0?1:d,v=e.minuteStep,p=v===void 0?1:v,m=e.secondStep,y=m===void 0?1:m,g=e.disabledHours,h=e.disabledMinutes,b=e.disabledSeconds,C=e.disabledTime,x=e.hideDisabledOptions,S=e.onSelect,w=e.cellRender,$=e.locale,R=[],I="".concat(n,"-content"),N="".concat(n,"-time-panel"),_,M=a?t.getHour(a):-1,P=M,O=a?t.getMinute(a):-1,T=a?t.getSecond(a):-1,k=t.getNow(),F=c.useMemo(function(){if(C){var J=C(k);return[J.disabledHours,J.disabledMinutes,J.disabledSeconds]}return[g,h,b]},[g,h,b,C,k]),D=U(F,3),j=D[0],z=D[1],B=D[2],H=function(ne,oe,le,de){var pe=a||t.getNow(),se=Math.max(0,oe),ve=Math.max(0,le),ge=Math.max(0,de);return pe=ON(t,pe,!u||!ne?se:se+12,ve,ge),pe},V=Z0(0,23,f,j&&j()),K=Ji(function(){return V},V,eQ);u&&(_=P>=12,P%=12);var W=c.useMemo(function(){if(!u)return[!1,!1];var J=[!0,!0];return K.forEach(function(ne){var oe=ne.disabled,le=ne.value;oe||(le>=12?J[1]=!1:J[0]=!1)}),J},[u,K]),G=U(W,2),X=G[0],Q=G[1],ae=c.useMemo(function(){return u?K.filter(_?function(J){return J.value>=12}:function(J){return J.value<12}).map(function(J){var ne=J.value%12,oe=ne===0?"12":FN(ne,2);return E(E({},J),{},{label:oe,value:ne})}):K},[u,_,K]),ee=Z0(0,59,p,z&&z(M)),q=Z0(0,59,y,B&&B(M,O));r.current={onUpDown:function(ne){var oe=R[o];if(oe)for(var le=oe.units.findIndex(function(ve){return ve.value===oe.value}),de=oe.units.length,pe=1;pe2&&arguments[2]!==void 0?arguments[2]:!1;($e===g||Xe)&&(ie(Te),R&&R(Te),q&&q(Te,Be),I&&!Mc(s,Te,ce)&&!(p!=null&&p(Te))&&I(Te))},ke=function(Te){if(hQ.includes($e)){var Be,Xe,He=$e==="date";switch(Te===ue.PAGE_UP||Te===ue.PAGE_DOWN?Xe=He?s.addMonth:s.addYear:Xe=He?s.addDate:s.addMonth,Te){case ue.LEFT:case ue.PAGE_UP:Be=Xe(Ce,-1);break;case ue.RIGHT:case ue.PAGE_DOWN:Be=Xe(Ce,1);break;case ue.UP:case ue.DOWN:Be=Xe(Ce,Number("".concat(Te===ue.UP?"-":"").concat(He?cd:s2)));break}if(Be)return!(p!=null&&p(Be))}return!0},De=function(Te){if(pe.current&&pe.current.onKeyDown){var Be=!0,Xe=Te.which;if([ue.LEFT,ue.RIGHT,ue.UP,ue.DOWN,ue.PAGE_UP,ue.PAGE_DOWN,ue.ENTER].includes(Xe)&&(Te.preventDefault(),Xe!==ue.ENTER&&b===0&&(Be=ke(Xe))),Be)return pe.current.onKeyDown(Te)}return Wt(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ze=function(Te){pe.current&&pe.current.onBlur&&pe.current.onBlur(Te)};ee&&oe!=="right"&&(ee.current={onKeyDown:De,onClose:function(){pe.current&&pe.current.onClose&&pe.current.onClose()}}),c.useEffect(function(){u&&!se.current&&ye(u)},[u]),c.useEffect(function(){se.current=!1},[]);var Me,ht=HN({cellRender:K,monthCellRender:V,dateRender:H}),rt=E(E({},e),{},{cellRender:ht,operationRef:pe,prefixCls:o,viewDate:Ce,value:ce,onViewDateChange:Ne,sourceMode:dt,onPanelChange:Ee,disabledDate:p});switch(delete rt.onChange,delete rt.onSelect,$e){case"decade":Me=c.createElement(Kq,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;case"year":Me=c.createElement(gQ,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;case"month":Me=c.createElement(lQ,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;case"quarter":Me=c.createElement(fQ,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;case"week":Me=c.createElement(vQ,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;case"time":delete rt.showTime,Me=c.createElement(AN,be({},rt,We(x)==="object"?x:null,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}));break;default:x?Me=c.createElement(rQ,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}})):Me=c.createElement(l2,be({},rt,{onSelect:function(Te,Be){Ne(Te),Se(Te,Be)}}))}var he,Re,we=function(){var Te=s.getNow(),Be=kq(s.getHour(Te),s.getMinute(Te),s.getSecond(Te),G?F:1,X?j:1,Q?B:1),Xe=ON(s,Te,Be[0],Be[1],Be[2]);Se(Xe,"submit")};re||(he=jN(o,$e,w),Re=zN({prefixCls:o,components:O,needConfirmButton:W,okDisabled:!ce||p&&p(ce),locale:l,showNow:C,onNow:W&&we,onOk:function(){ce&&(Se(ce,"submit",!0),P&&P(ce))}}));var Le;if(S&&$e==="date"&&g==="date"&&!x){var Ze=s.getNow(),st="".concat(o,"-today-btn"),Ct=p&&p(Ze);Le=c.createElement("a",{className:Y(st,Ct&&"".concat(st,"-disabled")),"aria-disabled":Ct,onClick:function(){Ct||Se(Ze,"mouse",!0)}},l.today)}return c.createElement(Br.Provider,{value:E(E({},ae),{},{mode:$e,hideHeader:"hideHeader"in e?$:ae.hideHeader,hidePrevBtn:ne&&oe==="right",hideNextBtn:ne&&oe==="left"})},c.createElement("div",{tabIndex:b,className:Y("".concat(o,"-panel"),a,(t={},A(t,"".concat(o,"-panel-has-range"),le&&le[0]&&le[1]),A(t,"".concat(o,"-panel-has-range-hover"),de&&de[0]&&de[1]),A(t,"".concat(o,"-panel-rtl"),T==="rtl"),t)),style:i,onKeyDown:De,onBlur:ze,onMouseDown:_},Me,he||Re||Le?c.createElement("div",{className:"".concat(o,"-footer")},he,Re,Le):null))}var yQ={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function VN(e){var t,n=e.prefixCls,r=e.popupElement,o=e.popupStyle,a=e.visible,i=e.dropdownClassName,l=e.dropdownAlign,s=e.transitionName,u=e.getPopupContainer,d=e.children,f=e.range,v=e.popupPlacement,p=e.direction,m="".concat(n,"-dropdown"),y=function(){return v!==void 0?v:p==="rtl"?"bottomRight":"bottomLeft"};return c.createElement($S,{showAction:[],hideAction:[],popupPlacement:y(),builtinPlacements:yQ,prefixCls:m,popupTransitionName:s,popup:r,popupAlign:l,popupVisible:a,popupClassName:Y(i,(t={},A(t,"".concat(m,"-range"),f),A(t,"".concat(m,"-rtl"),p==="rtl"),t)),popupStyle:o,getPopupContainer:u},d)}function WN(e){var t=e.prefixCls,n=e.presets,r=e.onClick,o=e.onHover;return n.length?c.createElement("div",{className:"".concat(t,"-presets")},c.createElement("ul",null,n.map(function(a,i){var l=a.label,s=a.value;return c.createElement("li",{key:i,onClick:function(){r(s)},onMouseEnter:function(){o==null||o(s)},onMouseLeave:function(){o==null||o(null)}},l)}))):null}function bQ(e){var t,n=e,r=n.prefixCls,o=r===void 0?"rc-picker":r,a=n.id,i=n.tabIndex,l=n.style,s=n.className,u=n.dropdownClassName,d=n.dropdownAlign,f=n.popupStyle,v=n.transitionName,p=n.generateConfig,m=n.locale,y=n.inputReadOnly,g=n.allowClear,h=n.autoFocus,b=n.showTime,C=n.picker,x=C===void 0?"date":C,S=n.format,w=n.use12Hours,$=n.value,R=n.defaultValue,I=n.presets,N=n.open,_=n.defaultOpen,M=n.defaultOpenValue,P=n.suffixIcon,O=n.clearIcon,T=n.disabled,k=n.disabledDate,F=n.placeholder,D=n.getPopupContainer,j=n.pickerRef,z=n.panelRender,B=n.onChange,H=n.onOpenChange,V=n.onFocus,K=n.onBlur,W=n.onMouseDown,G=n.onMouseUp,X=n.onMouseEnter,Q=n.onMouseLeave,ae=n.onContextMenu,ee=n.onClick,q=n.onKeyDown,re=n.onSelect,te=n.direction,J=n.autoComplete,ne=J===void 0?"off":J,oe=n.inputRender,le=c.useRef(null),de=x==="date"&&!!b||x==="time",pe=kN(I),se=DN(RN(S,x,b,w)),ve=c.useRef(null),ge=c.useRef(null),ce=c.useRef(null),ie=yt(null,{value:$,defaultValue:R}),fe=U(ie,2),me=fe[0],Ce=fe[1],ye=c.useState(me),Ne=U(ye,2),_e=Ne[0],Ke=Ne[1],Ye=c.useRef(null),$e=yt(!1,{value:N,defaultValue:_,postState:function(Ge){return T?!1:Ge},onChange:function(Ge){H&&H(Ge),!Ge&&Ye.current&&Ye.current.onClose&&Ye.current.onClose()}}),Ie=U($e,2),je=Ie[0],gt=Ie[1],dt=Pm(_e,{formatList:se,generateConfig:p,locale:m}),bt=U(dt,2),Ee=bt[0],Se=bt[1],ke=Vb({valueTexts:Ee,onTextChange:function(Ge){var Bt=_N(Ge,{locale:m,formatList:se,generateConfig:p});Bt&&(!k||!k(Bt))&&Ke(Bt)}}),De=U(ke,3),ze=De[0],Me=De[1],ht=De[2],rt=function(Ge){Ke(Ge),Ce(Ge),B&&!Mc(p,me,Ge)&&B(Ge,Ge?ur(Ge,{generateConfig:p,locale:m,format:se[0]}):"")},he=function(Ge){T&&Ge||gt(Ge)},Re=function(Ge){return je&&Ye.current&&Ye.current.onKeyDown?Ye.current.onKeyDown(Ge):(Wt(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},we=function(){for(var Ge=arguments.length,Bt=new Array(Ge),Zt=0;Ztp(d);case"month":return v(g)>v(d);case"week":return f(g)>f(d);default:return!Va(s,g,d)&&s.isAfter(g,d)}return!1},[i,l[1],d,t]),y=c.useCallback(function(g){if(i&&i(g))return!0;if(l[0]&&u)return!Va(s,g,d)&&s.isAfter(u,g);if(n&&u)switch(r){case"quarter":return p(g)0&&arguments[0]!==void 0?arguments[0]:!1,qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pt=null;Ge&&bo&&bo[0]&&bo[1]&&y.isAfter(bo[1],bo[0])&&(pt=bo);var Vt=$;if($&&We($)==="object"&&$.defaultValue){var Fn=$.defaultValue;Vt=E(E({},$),{},{defaultValue:At(Fn,Me)||void 0})}return c.createElement(rs.Provider,{value:{inRange:!0,panelPosition:_t,rangedValue:Pt||He,hoverRangedValue:pt}},c.createElement(BN,be({},e,qe,{cellRender:ck,showTime:Vt,mode:ct[Me],generateConfig:y,style:void 0,direction:Ce,disabledDate:Me===0?$t:Tt,disabledTime:function(Bo){return F?F(Bo,Me===0?"start":"end"):!1},className:Y(A({},"".concat(i,"-panel-focused"),Me===0?!Tw:!Dw)),value:At(He,Me),locale:g,tabIndex:-1,onPanelChange:function(Bo,vi){Me===0&&zh(!0),Me===1&&Bh(!0),Je($o(ct,vi,Me),$o(He,Bo,Me));var pi=Bo;_t==="right"&&ct[Me]===vi&&(pi=ud(pi,vi,y,-1)),Te(pi,Me)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Me===0?At(He,1):At(He,0)})))}var fi=0,Lw=0;if(Me&&je.current&&dt.current&&Ie.current){fi=je.current.offsetWidth+dt.current.offsetWidth;var dk=Se.current.offsetLeft>fi?Se.current.offsetLeft-fi:Se.current.offsetLeft,Aw=Ie.current.offsetWidth,jw=Se.current.offsetWidth;Aw&&jw&&fi>Aw-jw-(Ce==="rtl"?0:dk)&&(Lw=fi)}var fk=Ce==="rtl"?{right:fi}:{left:fi};function vk(){var _t,qe=jN(i,ct[Me],q),pt=zN({prefixCls:i,components:fe,needConfirmButton:Ke,okDisabled:!At(He,Me)||k&&k(He[Me]),locale:g,onOk:function(){At(He,Me)&&(Nr(He,Me),ce&&ce(He))}});if(w!=="time"&&!$){var Vt=it(Me),Fn=ud(Vt,w,y),ss=ct[Me],Bo=ss===w,vi=Wh(Bo?"left":!1,{pickerValue:Vt,onPickerValueChange:function(ir){Te(ir,Me)}}),pi=Wh("right",{pickerValue:Fn,onPickerValueChange:function(ir){Te(ud(ir,w,y,-1),Me)}});Ce==="rtl"?_t=c.createElement(c.Fragment,null,pi,Bo&&vi):_t=c.createElement(c.Fragment,null,vi,Bo&&pi)}else _t=Wh();var vu=c.createElement("div",{className:"".concat(i,"-panel-layout")},c.createElement(WN,{prefixCls:i,presets:uk,onClick:function(ir){Nr(ir,null),Zn(!1,Me)},onHover:function(ir){nn(ir)}}),c.createElement("div",null,c.createElement("div",{className:"".concat(i,"-panels")},_t),(qe||pt)&&c.createElement("div",{className:"".concat(i,"-footer")},qe,pt)));return B&&(vu=B(vu)),c.createElement("div",{className:"".concat(i,"-panel-container"),style:{marginLeft:Lw},ref:Ie,onMouseDown:function(ir){ir.preventDefault()}},vu)}var pk=c.createElement("div",{className:Y("".concat(i,"-range-wrapper"),"".concat(i,"-").concat(w,"-range-wrapper")),style:{minWidth:go}},c.createElement("div",{ref:Se,className:"".concat(i,"-range-arrow"),style:fk}),vk()),zw;G&&(zw=c.createElement("span",{className:"".concat(i,"-suffix")},G));var Hw;W&&(At(Le,0)&&!he[0]||At(Le,1)&&!he[1])&&(Hw=c.createElement("span",{onMouseDown:function(qe){qe.preventDefault(),qe.stopPropagation()},onMouseUp:function(qe){qe.preventDefault(),qe.stopPropagation();var pt=Le;he[0]||(pt=$o(pt,null,0)),he[1]||(pt=$o(pt,null,1)),Nr(pt,null),Zn(!1,Me)},className:"".concat(i,"-clear")},X||c.createElement("span",{className:"".concat(i,"-clear-btn")})));var Bw={size:IN(w,ke[0],y)},Kh=0,Uh=0;je.current&>.current&&dt.current&&(Me===0?Uh=je.current.offsetWidth:(Kh=fi,Uh=gt.current.offsetWidth));var mk=Ce==="rtl"?{right:Kh}:{left:Kh},gk=function(qe,pt){var Vt=$o(He,qe,Me);pt==="submit"||pt!=="key"&&!Ke?(Nr(Vt,Me),Me===0?zh():Bh()):Fe(Vt)};return c.createElement(Br.Provider,{value:{operationRef:rt,hideHeader:w==="time",onDateMouseEnter:J_,onDateMouseLeave:ek,hideRanges:!0,onSelect:gk,open:Ge}},c.createElement(VN,{visible:Ge,popupElement:pk,popupStyle:d,prefixCls:i,dropdownClassName:f,dropdownAlign:p,getPopupContainer:m,transitionName:v,range:!0,direction:Ce},c.createElement("div",be({ref:$e,className:Y(i,"".concat(i,"-range"),u,(t={},A(t,"".concat(i,"-disabled"),he[0]&&he[1]),A(t,"".concat(i,"-focused"),Me===0?Nw:Fw),A(t,"".concat(i,"-rtl"),Ce==="rtl"),t)),style:s,onClick:ak,onMouseEnter:se,onMouseLeave:ve,onMouseDown:ik,onMouseUp:pe},LN(e)),c.createElement("div",{className:Y("".concat(i,"-input"),(n={},A(n,"".concat(i,"-input-active"),Me===0),A(n,"".concat(i,"-input-placeholder"),!!ll),n)),ref:je},c.createElement("input",be({id:l,disabled:he[0],readOnly:ae||typeof ke[0]=="function"||!Tw,value:ll||zn,onChange:function(qe){Tr(qe.target.value)},autoFocus:b,placeholder:At(h,0)||"",ref:bt},nk,Bw,{autoComplete:_e}))),c.createElement("div",{className:"".concat(i,"-range-separator"),ref:dt},N),c.createElement("div",{className:Y("".concat(i,"-input"),(r={},A(r,"".concat(i,"-input-active"),Me===1),A(r,"".concat(i,"-input-placeholder"),!!Ow),r)),ref:gt},c.createElement("input",be({disabled:he[1],readOnly:ae||typeof ke[0]=="function"||!Dw,value:Ow||il,onChange:function(qe){Ho(qe.target.value)},placeholder:At(h,1)||"",ref:Ee},ok,Bw,{autoComplete:_e}))),c.createElement("div",{className:"".concat(i,"-active-bar"),style:E(E({},mk),{},{width:Uh,position:"absolute"})}),zw,Hw)))}var PQ=function(e){Lo(n,e);var t=Ao(n);function n(){var r;Tn(this,n);for(var o=arguments.length,a=new Array(o),i=0;i{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},Lt(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},TQ=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:o,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:l,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:d,lineWidth:f,radioDotSize:v,colorBgContainerDisabled:p,colorTextDisabled:m,paddingXS:y,radioDotDisabledColor:g,lineType:h,radioDotDisabledSize:b,wireframe:C,colorWhite:x}=e,S=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${f}px ${h} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:IQ,animationDuration:a,animationTimingFunction:l,animationFillMode:"both",content:'""'},[t]:Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, - &:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Hl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:o,height:o,marginBlockStart:o/-2,marginInlineStart:o/-2,backgroundColor:C?r:x,borderBlockStart:0,borderInlineStart:0,borderRadius:o,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:o,height:o,backgroundColor:u,borderColor:d,borderStyle:"solid",borderWidth:f,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:C?u:r,"&::after":{transform:`scale(${v/o})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:p,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b/o})`}}}},[`span${t} + *`]:{paddingInlineStart:y,paddingInlineEnd:y}})}},_Q=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationSlow:l,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:d,radioButtonBg:f,fontSizeLG:v,controlHeightLG:p,controlHeightSM:m,paddingXS:y,borderRadius:g,borderRadiusSM:h,borderRadiusLG:b,radioCheckedColor:C,radioButtonCheckedBg:x,radioButtonHoverColor:S,radioButtonActiveColor:w,radioSolidCheckedColor:$,colorTextDisabled:R,colorBgContainerDisabled:I,radioDisabledButtonCheckedColor:N,radioDisabledButtonCheckedBg:_}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:`${n-o*2}px`,background:f,border:`${o}px ${a} ${i}`,borderBlockStartWidth:o+.02,borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-o,insetInlineStart:-o,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${o}px ${a} ${i}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${r}-group-large &`]:{height:p,fontSize:v,lineHeight:`${p-o*2}px`,"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:y-o,paddingBlock:0,lineHeight:`${m-o*2}px`,"&:first-child":{borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h}},"&:hover":{position:"relative",color:C},"&:has(:focus-visible)":Object.assign({},Hl(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:C,background:x,borderColor:C,"&::before":{backgroundColor:C},"&:first-child":{borderColor:C},"&:hover":{color:S,borderColor:S,"&::before":{backgroundColor:S}},"&:active":{color:w,borderColor:w,"&::before":{backgroundColor:w}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:$,background:C,borderColor:C,"&:hover":{color:$,background:S,borderColor:S},"&:active":{color:$,background:w,borderColor:w}},"&-disabled":{color:R,backgroundColor:I,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:R,backgroundColor:I,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:N,backgroundColor:_,borderColor:i,boxShadow:"none"}}}},GN=Kt("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:o,colorBgContainer:a,fontSizeLG:i,controlOutline:l,colorPrimaryHover:s,colorPrimaryActive:u,colorText:d,colorPrimary:f,marginXS:v,controlOutlineWidth:p,colorTextLightSolid:m,wireframe:y}=e,g=`0 0 0 ${p}px ${l}`,h=g,b=i,C=4,x=b-C*2,S=y?x:b-(C+n)*2,w=f,$=d,R=s,I=u,N=t-n,P=xt(e,{radioFocusShadow:g,radioButtonFocusShadow:h,radioSize:b,radioDotSize:S,radioDotDisabledSize:x,radioCheckedColor:w,radioDotDisabledColor:o,radioSolidCheckedColor:m,radioButtonBg:a,radioButtonCheckedBg:a,radioButtonColor:$,radioButtonHoverColor:R,radioButtonActiveColor:I,radioButtonPaddingHorizontal:N,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:o,radioWrapperMarginRight:v});return[NQ(P),TQ(P),_Q(P)]});var kQ=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const o=c.useContext(KN),a=c.useContext(UN),{getPrefixCls:i,direction:l}=c.useContext(nt),s=c.useRef(null),u=rr(t,s),{isFormItemInput:d}=c.useContext(mr),f=I=>{var N,_;(N=e.onChange)===null||N===void 0||N.call(e,I),(_=o==null?void 0:o.onChange)===null||_===void 0||_.call(o,I)},{prefixCls:v,className:p,rootClassName:m,children:y,style:g}=e,h=kQ(e,["prefixCls","className","rootClassName","children","style"]),b=i("radio",v),C=((o==null?void 0:o.optionType)||a)==="button"?`${b}-button`:b,[x,S]=GN(b),w=Object.assign({},h),$=c.useContext(Vr);o&&(w.name=o.name,w.onChange=f,w.checked=e.value===o.value,w.disabled=(n=w.disabled)!==null&&n!==void 0?n:o.disabled),w.disabled=(r=w.disabled)!==null&&r!==void 0?r:$;const R=Y(`${C}-wrapper`,{[`${C}-wrapper-checked`]:w.checked,[`${C}-wrapper-disabled`]:w.disabled,[`${C}-wrapper-rtl`]:l==="rtl",[`${C}-wrapper-in-form-item`]:d},p,m,S);return x(c.createElement("label",{className:R,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},c.createElement(YN,Object.assign({},w,{type:"radio",prefixCls:C,ref:u})),y!==void 0?c.createElement("span",null,y):null))},DQ=c.forwardRef(FQ),Om=DQ,LQ=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=c.useContext(nt),o=c.useContext(or),[a,i]=yt(e.defaultValue,{value:e.value}),l=P=>{const O=a,T=P.target.value;"value"in e||i(T);const{onChange:k}=e;k&&T!==O&&k(P)},{prefixCls:s,className:u,rootClassName:d,options:f,buttonStyle:v="outline",disabled:p,children:m,size:y,style:g,id:h,onMouseEnter:b,onMouseLeave:C,onFocus:x,onBlur:S}=e,w=n("radio",s),$=`${w}-group`,[R,I]=GN(w);let N=m;f&&f.length>0&&(N=f.map(P=>typeof P=="string"||typeof P=="number"?c.createElement(Om,{key:P.toString(),prefixCls:w,disabled:p,value:P,checked:a===P},P):c.createElement(Om,{key:`radio-group-value-options-${P.value}`,prefixCls:w,disabled:P.disabled||p,value:P.value,checked:a===P.value,style:P.style},P.label)));const _=y||o,M=Y($,`${$}-${v}`,{[`${$}-${_}`]:_,[`${$}-rtl`]:r==="rtl"},u,d,I);return R(c.createElement("div",Object.assign({},$B(e),{className:M,style:g,onMouseEnter:b,onMouseLeave:C,onFocus:x,onBlur:S,id:h,ref:t}),c.createElement(OQ,{value:{onChange:l,value:a,disabled:e.disabled,name:e.name,optionType:e.optionType}},N)))}),AQ=c.memo(LQ);var jQ=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n}=c.useContext(nt),{prefixCls:r}=e,o=jQ(e,["prefixCls"]),a=n("radio",r);return c.createElement(MQ,{value:"button"},c.createElement(Om,Object.assign({prefixCls:a},o,{type:"radio",ref:t})))},HQ=c.forwardRef(zQ),Jg=Om;Jg.Button=HQ;Jg.Group=AQ;Jg.__ANT_RADIO=!0;const BQ=Jg,XN=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),eu=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Wl=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),c2=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},eu(xt(e,{inputBorderHoverColor:e.colorBorder})))}),qN=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:a}=e;return{padding:`${t}px ${a}px`,fontSize:n,lineHeight:r,borderRadius:o}},QN=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),eh=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:a,colorWarningOutline:i,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},Wl(xt(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},Wl(xt(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},_f=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},XN(e.colorTextPlaceholder)),{"&:hover":Object.assign({},eu(e)),"&:focus, &-focused":Object.assign({},Wl(e)),"&-disabled, &[disabled]":Object.assign({},c2(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},qN(e)),"&-sm":Object.assign({},QN(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),ZN=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},qN(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},QN(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},tb()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, - & > ${n}-select-auto-complete ${t}, - & > ${n}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${n}-select:first-child > ${n}-select-selector, - & > ${n}-select-auto-complete:first-child ${t}, - & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${n}-select:last-child > ${n}-select-selector, - & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},VQ=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=16,a=(n-r*2-o)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),_f(e)),eh(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},WQ=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},KQ=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_f(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},eu(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),WQ(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),eh(e,`${t}-affix-wrapper`))}},UQ=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Lt(e)),ZN(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},c2(e))}}})}},YQ=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function u2(e){return xt(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const GQ=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},d2=Kt("Input",e=>{const t=u2(e);return[VQ(t),GQ(t),KQ(t),UQ(t),YQ(t),Gc(t)]}),J0=(e,t,n,r)=>{const{lineHeight:o}=e,a=Math.floor(n*o)+2,i=Math.max((t-a)/2,0),l=Math.max(t-a-i,0);return{padding:`${i}px ${r}px ${l}px`}},XQ=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:o,motionDurationSlow:a,borderRadiusSM:i,motionDurationMid:l,controlItemBgHover:s,lineWidth:u,lineType:d,colorPrimary:f,controlItemBgActive:v,colorTextLightSolid:p,controlHeightSM:m,pickerDateHoverRangeBorderColor:y,pickerCellBorderGap:g,pickerBasicCellHoverWithRangeColor:h,pickerPanelCellWidth:b,colorTextDisabled:C,colorBgContainerDisabled:x}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:o,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:o,height:o,lineHeight:`${o}px`,borderRadius:i,transition:`background ${l}, border ${l}`},[`&:hover:not(${n}-in-view), - &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[r]:{background:s}},[`&-in-view${n}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${u}px ${d} ${f}`,borderRadius:i,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:v}},[`&-in-view${n}-selected ${r}, - &-in-view${n}-range-start ${r}, - &-in-view${n}-range-end ${r}`]:{color:p,background:f},[`&-in-view${n}-range-start:not(${n}-range-start-single), - &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:v}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), - &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), - &-in-view${n}-range-hover-start${n}-range-start-single, - &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover, - &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover, - &-in-view${n}-range-hover-end${n}-range-end-single, - &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:m,borderTop:`${u}px dashed ${y}`,borderBottom:`${u}px dashed ${y}`,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'}},[`&-range-hover-start::after, - &-range-hover-end::after, - &-range-hover::after`]:{insetInlineEnd:0,insetInlineStart:g},[`&-in-view${n}-in-range${n}-range-hover::before, - &-in-view${n}-in-range${n}-range-hover-start::before, - &-in-view${n}-in-range${n}-range-hover-end::before, - &-in-view${n}-range-start${n}-range-hover::before, - &-in-view${n}-range-end${n}-range-hover::before, - &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before, - &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before, - ${t}-panel - > :not(${t}-date-panel) - &-in-view${n}-in-range${n}-range-hover-start::before, - ${t}-panel - > :not(${t}-date-panel) - &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:h},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${r}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after, - tr > &-in-view${n}-range-hover-end:first-child::after, - &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after, - &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after, - &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(b-o)/2,borderInlineStart:`${u}px dashed ${y}`,borderStartStartRadius:u,borderEndStartRadius:u},[`tr > &-in-view${n}-range-hover:last-child::after, - tr > &-in-view${n}-range-hover-start:last-child::after, - &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after, - &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, - &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(b-o)/2,borderInlineEnd:`${u}px dashed ${y}`,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:C,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:x}},[`&-disabled${n}-today ${r}::before`]:{borderColor:C}}},qQ=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:a,pickerPanelCellWidth:i,paddingSM:l,paddingXS:s,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:v,borderRadiusLG:p,colorPrimary:m,colorTextHeading:y,colorSplit:g,pickerControlIconBorderWidth:h,colorIcon:b,pickerTextHeight:C,motionDurationMid:x,colorIconHover:S,fontWeightStrong:w,pickerPanelCellHeight:$,pickerCellPaddingVertical:R,colorTextDisabled:I,colorText:N,fontSize:_,pickerBasicCellHoverWithRangeColor:M,motionDurationSlow:P,pickerPanelWithoutTimeCellHeight:O,pickerQuarterPanelContentHeight:T,colorLink:k,colorLinkActive:F,colorLinkHover:D,pickerDateHoverRangeBorderColor:j,borderRadiusSM:z,colorTextLightSolid:B,controlItemBgHover:H,pickerTimePanelColumnHeight:V,pickerTimePanelColumnWidth:K,pickerTimePanelCellHeight:W,controlItemBgActive:G,marginXXS:X,pickerDatePanelPaddingHorizontal:Q}=e,ae=i*7+Q*2,ee=(ae-s*2)/3-o-l,q=(ae-s*2)/4-o;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,border:`${f}px ${v} ${g}`,borderRadius:p,outline:"none","&-focused":{borderColor:m},"&-rtl":{direction:"rtl",[`${t}-prev-icon, - ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel, - &-week-panel, - &-date-panel, - &-time-panel`]:{display:"flex",flexDirection:"column",width:ae},"&-header":{display:"flex",padding:`0 ${s}px`,color:y,borderBottom:`${f}px ${v} ${g}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:`${C}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:_,"&:hover":{color:S}},"&-view":{flex:"auto",fontWeight:w,lineHeight:`${C}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:m}}}},[`&-prev-icon, - &-next-icon, - &-super-prev-icon, - &-super-next-icon`]:{position:"relative",display:"inline-block",width:a,height:a,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:h,borderBlockEndWidth:0,borderInlineStartWidth:h,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon, - &-super-next-icon`]:{"&::after":{position:"absolute",top:Math.ceil(a/2),insetInlineStart:Math.ceil(a/2),display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:h,borderBlockEndWidth:0,borderInlineStartWidth:h,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon, - &-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon, - &-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:$+R*2,color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${R}px 0`,color:I,cursor:"pointer","&-in-view":{color:N}},XQ(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${r}, - &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${r}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:M,transition:`all ${P}`,content:'""'}},[`&-date-panel - ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start - ${r}::after`]:{insetInlineEnd:-(i-$)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${r}::after`]:{insetInlineEnd:0,insetInlineStart:-(i-$)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-content`]:{height:O*4},[r]:{padding:`0 ${s}px`}},"&-quarter-panel":{[`${t}-content`]:{height:T},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:q,borderInlineStart:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineEnd:q,borderInlineEnd:`${f}px dashed ${j}`}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:q,borderInlineEnd:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineStart:q,borderInlineStart:`${f}px dashed ${j}`}}},[`&-panel ${t}-footer`]:{borderTop:`${f}px ${v} ${g}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${C-2*f}px`,textAlign:"center","&-extra":{padding:`0 ${l}`,lineHeight:`${C-2*f}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${f}px ${v} ${g}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:k,"&:hover":{color:D},"&:active":{color:F},[`&${t}-today-btn-disabled`]:{color:I,cursor:"not-allowed"}},"&-decade-panel":{[r]:{padding:`0 ${s/2}px`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-body`]:{padding:`0 ${s}px`},[r]:{width:o},[`${t}-cell-range-hover-start::after`]:{borderStartStartRadius:z,borderEndStartRadius:z,borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:z,borderEndEndRadius:z}},[`${t}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:z,borderEndEndRadius:z,[`${t}-panel-rtl &`]:{borderStartStartRadius:z,borderEndStartRadius:z,borderStartEndRadius:0,borderEndEndRadius:0}}},[`&-year-panel, - &-month-panel`]:{[`${t}-cell-range-hover-start::after`]:{insetInlineStart:ee,borderInlineStart:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineEnd:ee,borderInlineEnd:`${f}px dashed ${j}`}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:ee,borderInlineEnd:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineStart:ee,borderInlineStart:`${f}px dashed ${j}`}}},"&-week-panel":{[`${t}-body`]:{padding:`${s}px ${l}px`},[`${t}-cell`]:{[`&:hover ${r}, - &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:z,borderEndStartRadius:z},"&:last-child:before":{borderStartEndRadius:z,borderEndEndRadius:z}},["&:hover td"]:{"&:before":{background:H}},[`&-range-start td, - &-range-end td, - &-selected td`]:{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Yt(B).setAlpha(.5).toHexString()},[r]:{color:B}}},["&-range-hover td:before"]:{background:G}}},"&-date-panel":{[`${t}-body`]:{padding:`${s}px ${Q}px`},[`${t}-content`]:{width:i*7,th:{width:i}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${f}px ${v} ${g}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${P}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:V},"&-column":{flex:"1 0 auto",width:K,margin:`${u}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::after":{display:"block",height:V-W,content:'""'},"&:not(:first-child)":{borderInlineStart:`${f}px ${v} ${g}`},"&-active":{background:new Yt(G).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:X,[`${t}-time-panel-cell-inner`]:{display:"block",width:K-2*X,height:W,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(K-W)/2,color:N,lineHeight:`${W}px`,borderRadius:z,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:H}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:G}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:I,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:V-W+u*2}}}},QQ=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:o,colorWarning:a,colorWarningOutline:i}=e;return{[`${t}:not(${t}-disabled)`]:{[`&${t}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},[`&${t}-focused, &:focus`]:Object.assign({},Wl(xt(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:o}))),[`${t}-active-bar`]:{background:r}},[`&${t}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:a},[`&${t}-focused, &:focus`]:Object.assign({},Wl(xt(e,{inputBorderActiveColor:a,inputBorderHoverColor:a,controlOutline:i}))),[`${t}-active-bar`]:{background:a}}}}},ZQ=e=>{const{componentCls:t,antCls:n,controlHeight:r,fontSize:o,inputPaddingHorizontal:a,colorBgContainer:i,lineWidth:l,lineType:s,colorBorder:u,borderRadius:d,motionDurationMid:f,colorBgContainerDisabled:v,colorTextDisabled:p,colorTextPlaceholder:m,controlHeightLG:y,fontSizeLG:g,controlHeightSM:h,inputPaddingHorizontalSM:b,paddingXS:C,marginXS:x,colorTextDescription:S,lineWidthBold:w,lineHeight:$,colorPrimary:R,motionDurationSlow:I,zIndexPopup:N,paddingXXS:_,paddingSM:M,pickerTextHeight:P,controlItemBgActive:O,colorPrimaryBorder:T,sizePopupArrow:k,borderRadiusXS:F,borderRadiusOuter:D,colorBgElevated:j,borderRadiusLG:z,boxShadowSecondary:B,borderRadiusSM:H,colorSplit:V,controlItemBgHover:K,presetsWidth:W,presetsMaxWidth:G,boxShadowPopoverArrow:X}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Lt(e)),J0(e,r,o,a)),{position:"relative",display:"inline-flex",alignItems:"center",background:i,lineHeight:1,border:`${l}px ${s} ${u}`,borderRadius:d,transition:`border ${f}, box-shadow ${f}`,"&:hover, &-focused":Object.assign({},eu(e)),"&-focused":Object.assign({},Wl(e)),[`&${t}-disabled`]:{background:v,borderColor:u,cursor:"not-allowed",[`${t}-suffix`]:{color:p}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},_f(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:m}}},"&-large":Object.assign(Object.assign({},J0(e,y,g,a)),{[`${t}-input > input`]:{fontSize:g}}),"&-small":Object.assign({},J0(e,h,o,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:C/2,color:p,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:x}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:p,lineHeight:1,background:i,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${f}, color ${f}`,"> *":{verticalAlign:"top"},"&:hover":{color:S}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:p,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:S},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:a},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-l,height:w,marginInlineStart:a,background:R,opacity:0,transition:`all ${I} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${C}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b},[`${t}-active-bar`]:{marginInlineStart:b}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Lt(e)),qQ(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:N,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Bg},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:zg},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Vg},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Hg},[`${t}-panel > ${t}-time-panel`]:{paddingTop:_},[`${t}-ranges`]:{marginBottom:0,padding:`${_}px ${M}px`,overflow:"hidden",lineHeight:`${P-2*l-C/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:R,background:O,borderColor:T,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:a*1.5,transition:`left ${I} ease-out`},rR(k,F,D,j,X)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:j,borderRadius:z,boxShadow:B,transition:`margin ${I}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:W,maxWidth:G,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:C,borderInlineEnd:`${l}px ${s} ${V}`,li:Object.assign(Object.assign({},ra),{borderRadius:H,paddingInline:C,paddingBlock:(h-Math.round(o*$))/2,cursor:"pointer",transition:`all ${I}`,"+ li":{marginTop:x},"&:hover":{background:K}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${l}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${k*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},$a(e,"slide-up"),$a(e,"slide-down"),Ec(e,"move-up"),Ec(e,"move-down")]},JQ=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:o,colorPrimary:a,paddingXXS:i,padding:l}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:o*1.5,pickerPanelCellHeight:o,pickerDateHoverRangeBorderColor:new Yt(a).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new Yt(a).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:i+i/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:l+i/2}},JN=Kt("DatePicker",e=>{const t=xt(u2(e),JQ(e));return[ZQ(t),QQ(t),Gc(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),eZ=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:a}=e,i=Y({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=Y({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),s=c.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return c.createElement("span",{className:Y(t,i,l,n),style:Object.assign(Object.assign({},s),r)})},th=eZ,tZ=new Rt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),nh=e=>({height:e,lineHeight:`${e}px`}),sc=e=>Object.assign({width:e},nh(e)),nZ=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:tZ,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),e1=e=>Object.assign({width:e*5,minWidth:e*5},nh(e)),rZ=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},sc(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},sc(o)),[`${t}${t}-sm`]:Object.assign({},sc(a))}},oZ=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:a,color:i}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},e1(t)),[`${r}-lg`]:Object.assign({},e1(o)),[`${r}-sm`]:Object.assign({},e1(a))}},p3=e=>Object.assign({width:e},nh(e)),aZ=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},p3(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},p3(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},t1=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},n1=e=>Object.assign({width:e*2,minWidth:e*2},nh(e)),iZ=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a,color:i}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:r*2,minWidth:r*2},n1(r))},t1(e,r,n)),{[`${n}-lg`]:Object.assign({},n1(o))}),t1(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},n1(a))}),t1(e,a,`${n}-sm`))},lZ=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:d,color:f,padding:v,marginSM:p,borderRadius:m,skeletonTitleHeight:y,skeletonBlockRadius:g,skeletonParagraphLineHeight:h,controlHeightXS:b,skeletonParagraphMarginTop:C}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:v,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},sc(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},sc(u)),[`${n}-sm`]:Object.assign({},sc(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:y,background:f,borderRadius:g,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:h,listStyle:"none",background:f,borderRadius:g,"+ li":{marginBlockStart:b}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},iZ(e)),rZ(e)),oZ(e)),aZ(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${a}, - ${i}, - ${l} - `]:Object.assign({},nZ(e))}}},tu=Kt("Skeleton",e=>{const{componentCls:t}=e,n=xt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[lZ(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),sZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:l}=c.useContext(nt),s=l("skeleton",t),[u,d]=tu(s),f=$n(e,["prefixCls","className"]),v=Y(s,`${s}-element`,{[`${s}-active`]:o},n,r,d);return u(c.createElement("div",{className:v},c.createElement(th,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:i},f))))},cZ=sZ,uZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:l}=c.useContext(nt),s=l("skeleton",t),[u,d]=tu(s),f=$n(e,["prefixCls"]),v=Y(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d);return u(c.createElement("div",{className:v},c.createElement(th,Object.assign({prefixCls:`${s}-button`,size:i},f))))},dZ=uZ;var fZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const vZ=fZ;var eT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:vZ}))};eT.displayName="DotChartOutlined";const pZ=c.forwardRef(eT),mZ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:l}=c.useContext(nt),s=l("skeleton",t),[u,d]=tu(s),f=Y(s,`${s}-element`,{[`${s}-active`]:a},d,n,r),v=i??c.createElement(pZ,null);return u(c.createElement("div",{className:f},c.createElement("div",{className:Y(`${s}-image`,n),style:o},v)))},gZ=mZ,hZ="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",yZ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=c.useContext(nt),l=i("skeleton",t),[s,u]=tu(l),d=Y(l,`${l}-element`,{[`${l}-active`]:a},n,r,u);return s(c.createElement("div",{className:d},c.createElement("div",{className:Y(`${l}-image`,n),style:o},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},c.createElement("path",{d:hZ,className:`${l}-image-path`})))))},bZ=yZ,CZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:l}=c.useContext(nt),s=l("skeleton",t),[u,d]=tu(s),f=$n(e,["prefixCls"]),v=Y(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d);return u(c.createElement("div",{className:v},c.createElement(th,Object.assign({prefixCls:`${s}-input`,size:i},f))))},xZ=CZ,SZ=e=>{const t=l=>{const{width:s,rows:u=2}=e;if(Array.isArray(s))return s[l];if(u-1===l)return s},{prefixCls:n,className:r,style:o,rows:a}=e,i=xe(Array(a)).map((l,s)=>c.createElement("li",{key:s,style:{width:t(s)}}));return c.createElement("ul",{className:Y(n,r),style:o},i)},wZ=SZ,$Z=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return c.createElement("h3",{className:Y(t,n),style:Object.assign({width:r},o)})},EZ=$Z;function r1(e){return e&&typeof e=="object"?e:{}}function PZ(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function OZ(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function MZ(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const nu=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:l=!1,title:s=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:v,direction:p}=c.useContext(nt),m=v("skeleton",t),[y,g]=tu(m);if(n||!("loading"in e)){const h=!!l,b=!!s,C=!!u;let x;if(h){const $=Object.assign(Object.assign({prefixCls:`${m}-avatar`},PZ(b,C)),r1(l));x=c.createElement("div",{className:`${m}-header`},c.createElement(th,Object.assign({},$)))}let S;if(b||C){let $;if(b){const I=Object.assign(Object.assign({prefixCls:`${m}-title`},OZ(h,C)),r1(s));$=c.createElement(EZ,Object.assign({},I))}let R;if(C){const I=Object.assign(Object.assign({prefixCls:`${m}-paragraph`},MZ(h,b)),r1(u));R=c.createElement(wZ,Object.assign({},I))}S=c.createElement("div",{className:`${m}-content`},$,R)}const w=Y(m,{[`${m}-with-avatar`]:h,[`${m}-active`]:d,[`${m}-rtl`]:p==="rtl",[`${m}-round`]:f},r,o,g);return y(c.createElement("div",{className:w,style:a},x,S))}return typeof i<"u"?i:null};nu.Button=dZ;nu.Avatar=cZ;nu.Input=xZ;nu.Image=bZ;nu.Node=gZ;const RZ=nu;var IZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const NZ=IZ;var tT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:NZ}))};tT.displayName="PlusOutlined";const TZ=c.forwardRef(tT),rh=c.createContext(null);var nT=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.id,i=e.active,l=e.tabKey,s=e.children;return c.createElement("div",{id:a&&"".concat(a,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(l),"aria-hidden":!i,style:o,className:Y(n,i&&"".concat(n,"-active"),r),ref:t},s)}),_Z=["key","forceRender","style","className"];function kZ(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,a=e.destroyInactiveTabPane,i=c.useContext(rh),l=i.prefixCls,s=i.tabs,u=r.tabPane,d="".concat(l,"-tabpane");return c.createElement("div",{className:Y("".concat(l,"-content-holder"))},c.createElement("div",{className:Y("".concat(l,"-content"),"".concat(l,"-content-").concat(o),A({},"".concat(l,"-content-animated"),u))},s.map(function(f){var v=f.key,p=f.forceRender,m=f.style,y=f.className,g=Oe(f,_Z),h=v===n;return c.createElement(qn,be({key:v,visible:h,forceRender:p,removeOnLeave:!!a,leavedClassName:"".concat(d,"-hidden")},r.tabPaneMotion),function(b,C){var x=b.style,S=b.className;return c.createElement(nT,be({},g,{prefixCls:d,id:t,tabKey:v,animated:u,active:h,style:E(E({},m),x),className:Y(y,S),ref:C}))})})))}var m3={width:0,height:0,left:0,top:0};function FZ(e,t,n){return c.useMemo(function(){for(var r,o=new Map,a=t.get((r=e[0])===null||r===void 0?void 0:r.key)||m3,i=a.left+a.width,l=0;lO?(M=N,w.current="x"):(M=_,w.current="y"),t(-M,-M)&&I.preventDefault()}var R=c.useRef(null);R.current={onTouchStart:C,onTouchMove:x,onTouchEnd:S,onWheel:$},c.useEffect(function(){function I(P){R.current.onTouchStart(P)}function N(P){R.current.onTouchMove(P)}function _(P){R.current.onTouchEnd(P)}function M(P){R.current.onWheel(P)}return document.addEventListener("touchmove",N,{passive:!1}),document.addEventListener("touchend",_,{passive:!1}),e.current.addEventListener("touchstart",I,{passive:!1}),e.current.addEventListener("wheel",M),function(){document.removeEventListener("touchmove",N),document.removeEventListener("touchend",_)}},[])}function rT(e){var t=c.useState(0),n=U(t,2),r=n[0],o=n[1],a=c.useRef(0),i=c.useRef();return i.current=e,ic(function(){var l;(l=i.current)===null||l===void 0||l.call(i)},[r]),function(){a.current===r&&(a.current+=1,o(a.current))}}function AZ(e){var t=c.useRef([]),n=c.useState({}),r=U(n,2),o=r[1],a=c.useRef(typeof e=="function"?e():e),i=rT(function(){var s=a.current;t.current.forEach(function(u){s=u(s)}),t.current=[],a.current=s,o({})});function l(s){t.current.push(s),i()}return[a.current,l]}var b3={width:0,height:0,left:0,top:0,right:0};function jZ(e,t,n,r,o,a,i){var l=i.tabs,s=i.tabPosition,u=i.rtl,d,f,v;return["top","bottom"].includes(s)?(d="width",f=u?"right":"left",v=Math.abs(n)):(d="height",f="top",v=-n),c.useMemo(function(){if(!l.length)return[0,0];for(var p=l.length,m=p,y=0;yv+t){m=y-1;break}}for(var h=0,b=p-1;b>=0;b-=1){var C=e.get(l[b].key)||b3;if(C[f]Je?"left":"right"})}),P=U(M,2),O=P[0],T=P[1],k=g3(0,function(ot,Je){!_&&C&&C({direction:ot>Je?"top":"bottom"})}),F=U(k,2),D=F[0],j=F[1],z=c.useState([0,0]),B=U(z,2),H=B[0],V=B[1],K=c.useState([0,0]),W=U(K,2),G=W[0],X=W[1],Q=c.useState([0,0]),ae=U(Q,2),ee=ae[0],q=ae[1],re=c.useState([0,0]),te=U(re,2),J=te[0],ne=te[1],oe=AZ(new Map),le=U(oe,2),de=le[0],pe=le[1],se=FZ(a,de,G[0]),ve=Wv(H,_),ge=Wv(G,_),ce=Wv(ee,_),ie=Wv(J,_),fe=veNe?Ne:ot}var Ke=c.useRef(),Ye=c.useState(),$e=U(Ye,2),Ie=$e[0],je=$e[1];function gt(){je(Date.now())}function dt(){window.clearTimeout(Ke.current)}LZ($,function(ot,Je){function et(ut,$t){ut(function(Tt){var dn=_e(Tt+$t);return dn})}return fe?(_?et(T,ot):et(j,Je),dt(),gt(),!0):!1}),c.useEffect(function(){return dt(),Ie&&(Ke.current=window.setTimeout(function(){je(0)},100)),dt},[Ie]);var bt=jZ(se,me,_?O:D,ge,ce,ie,E(E({},e),{},{tabs:a})),Ee=U(bt,2),Se=Ee[0],ke=Ee[1],De=Jr(function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,Je=se.get(ot)||{width:0,height:0,left:0,right:0,top:0};if(_){var et=O;f?Je.rightO+me&&(et=Je.right+Je.width-me):Je.left<-O?et=-Je.left:Je.left+Je.width>-O+me&&(et=-(Je.left+Je.width-me)),j(0),T(_e(et))}else{var ut=D;Je.top<-D?ut=-Je.top:Je.top+Je.height>-D+me&&(ut=-(Je.top+Je.height-me)),T(0),j(_e(ut))}}),ze={};y==="top"||y==="bottom"?ze[f?"marginRight":"marginLeft"]=g:ze.marginTop=g;var Me=a.map(function(ot,Je){var et=ot.key;return c.createElement(WZ,{id:s,prefixCls:o,key:et,tab:ot,style:Je===0?void 0:ze,closable:ot.closable,editable:p,active:et===d,renderWrapper:h,removeAriaLabel:m==null?void 0:m.removeAriaLabel,onClick:function($t){b(et,$t)},onFocus:function(){De(et),gt(),$.current&&(f||($.current.scrollLeft=0),$.current.scrollTop=0)}})}),ht=function(){return pe(function(){var Je=new Map;return a.forEach(function(et){var ut,$t=et.key,Tt=(ut=R.current)===null||ut===void 0?void 0:ut.querySelector('[data-node-key="'.concat(oT($t),'"]'));Tt&&Je.set($t,{width:Tt.offsetWidth,height:Tt.offsetHeight,left:Tt.offsetLeft,top:Tt.offsetTop})}),Je})};c.useEffect(function(){ht()},[a.map(function(ot){return ot.key}).join("_")]);var rt=rT(function(){var ot=ws(x),Je=ws(S),et=ws(w);V([ot[0]-Je[0]-et[0],ot[1]-Je[1]-et[1]]);var ut=ws(N);q(ut);var $t=ws(I);ne($t);var Tt=ws(R);X([Tt[0]-ut[0],Tt[1]-ut[1]]),ht()}),he=a.slice(0,Se),Re=a.slice(ke+1),we=[].concat(xe(he),xe(Re)),Le=c.useState(),Ze=U(Le,2),st=Ze[0],Ct=Ze[1],it=se.get(d),Te=c.useRef();function Be(){kt.cancel(Te.current)}c.useEffect(function(){var ot={};return it&&(_?(f?ot.right=it.right:ot.left=it.left,ot.width=it.width):(ot.top=it.top,ot.height=it.height)),Be(),Te.current=kt(function(){Ct(ot)}),Be},[it,_,f]),c.useEffect(function(){De()},[d,ye,Ne,C3(it),C3(se),_]),c.useEffect(function(){rt()},[f]);var Xe=!!we.length,He="".concat(o,"-nav-wrap"),Fe,Qe,Ue,ct;return _?f?(Qe=O>0,Fe=O!==Ne):(Fe=O<0,Qe=O!==ye):(Ue=D<0,ct=D!==ye),c.createElement(la,{onResize:rt},c.createElement("div",{ref:bf(t,x),role:"tablist",className:Y("".concat(o,"-nav"),i),style:l,onKeyDown:function(){gt()}},c.createElement(x3,{ref:S,position:"left",extra:v,prefixCls:o}),c.createElement("div",{className:Y(He,(n={},A(n,"".concat(He,"-ping-left"),Fe),A(n,"".concat(He,"-ping-right"),Qe),A(n,"".concat(He,"-ping-top"),Ue),A(n,"".concat(He,"-ping-bottom"),ct),n)),ref:$},c.createElement(la,{onResize:rt},c.createElement("div",{ref:R,className:"".concat(o,"-nav-list"),style:{transform:"translate(".concat(O,"px, ").concat(D,"px)"),transition:Ie?"none":void 0}},Me,c.createElement(aT,{ref:N,prefixCls:o,locale:m,editable:p,style:E(E({},Me.length===0?void 0:ze),{},{visibility:Xe?"hidden":null})}),c.createElement("div",{className:Y("".concat(o,"-ink-bar"),A({},"".concat(o,"-ink-bar-animated"),u.inkBar)),style:st})))),c.createElement(VZ,be({},e,{removeAriaLabel:m==null?void 0:m.removeAriaLabel,ref:I,prefixCls:o,tabs:we,className:!Xe&&Ce,tabMoving:!!Ie})),c.createElement(x3,{ref:w,position:"right",extra:v,prefixCls:o})))}const S3=c.forwardRef(KZ);var UZ=["renderTabBar"],YZ=["label","key"];function GZ(e){var t=e.renderTabBar,n=Oe(e,UZ),r=c.useContext(rh),o=r.tabs;if(t){var a=E(E({},n),{},{panes:o.map(function(i){var l=i.label,s=i.key,u=Oe(i,YZ);return c.createElement(nT,be({tab:l,key:s,tabKey:s},u))})});return t(a,S3)}return c.createElement(S3,n)}function XZ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=E({inkBar:!0},We(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var qZ=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],w3=0;function QZ(e,t){var n,r=e.id,o=e.prefixCls,a=o===void 0?"rc-tabs":o,i=e.className,l=e.items,s=e.direction,u=e.activeKey,d=e.defaultActiveKey,f=e.editable,v=e.animated,p=e.tabPosition,m=p===void 0?"top":p,y=e.tabBarGutter,g=e.tabBarStyle,h=e.tabBarExtraContent,b=e.locale,C=e.moreIcon,x=e.moreTransitionName,S=e.destroyInactiveTabPane,w=e.renderTabBar,$=e.onChange,R=e.onTabClick,I=e.onTabScroll,N=e.getPopupContainer,_=e.popupClassName,M=Oe(e,qZ),P=c.useMemo(function(){return(l||[]).filter(function(oe){return oe&&We(oe)==="object"&&"key"in oe})},[l]),O=s==="rtl",T=XZ(v),k=c.useState(!1),F=U(k,2),D=F[0],j=F[1];c.useEffect(function(){j(Ef())},[]);var z=yt(function(){var oe;return(oe=P[0])===null||oe===void 0?void 0:oe.key},{value:u,defaultValue:d}),B=U(z,2),H=B[0],V=B[1],K=c.useState(function(){return P.findIndex(function(oe){return oe.key===H})}),W=U(K,2),G=W[0],X=W[1];c.useEffect(function(){var oe=P.findIndex(function(de){return de.key===H});if(oe===-1){var le;oe=Math.max(0,Math.min(G,P.length-1)),V((le=P[oe])===null||le===void 0?void 0:le.key)}X(oe)},[P.map(function(oe){return oe.key}).join("_"),H,G]);var Q=yt(null,{value:r}),ae=U(Q,2),ee=ae[0],q=ae[1];c.useEffect(function(){r||(q("rc-tabs-".concat(w3)),w3+=1)},[]);function re(oe,le){R==null||R(oe,le);var de=oe!==H;V(oe),de&&($==null||$(oe))}var te={id:ee,activeKey:H,animated:T,tabPosition:m,rtl:O,mobile:D},J,ne=E(E({},te),{},{editable:f,locale:b,moreIcon:C,moreTransitionName:x,tabBarGutter:y,onTabClick:re,onTabScroll:I,extra:h,style:g,panes:null,getPopupContainer:N,popupClassName:_});return c.createElement(rh.Provider,{value:{tabs:P,prefixCls:a}},c.createElement("div",be({ref:t,id:r,className:Y(a,"".concat(a,"-").concat(m),(n={},A(n,"".concat(a,"-mobile"),D),A(n,"".concat(a,"-editable"),f),A(n,"".concat(a,"-rtl"),O),n),i)},M),J,c.createElement(GZ,be({},ne,{renderTabBar:w})),c.createElement(kZ,be({destroyInactiveTabPane:S},te,{animated:T}))))}var ZZ=c.forwardRef(QZ);const JZ={motionAppear:!1,motionEnter:!0,motionLeave:!0};function eJ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},JZ),{motionName:Hr(e,"switch")})),n}var tJ=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot)}function rJ(e,t){if(e)return e;const n=Mr(t).map(r=>{if(c.isValidElement(r)){const{key:o,props:a}=r,i=a||{},{tab:l}=i,s=tJ(i,["tab"]);return Object.assign(Object.assign({key:String(o)},s),{label:l})}return null});return nJ(n)}const oJ=()=>null,aJ=oJ,iJ=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[$a(e,"slide-up"),$a(e,"slide-down")]]},lJ=iJ,sJ=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:o,colorBorderSecondary:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},cJ=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Lt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ra),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},uJ=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},dJ=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},fJ=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:o,tabsHorizontalGutter:a}=e,i=`${t}-tab`;return{[i]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},$c(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${i}-active ${i}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${i}-disabled ${i}-btn, &${i}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${i}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${i} + ${i}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`}}}},vJ=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${o}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},pJ=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:o,tabsHoverColor:a,tabsActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${o}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},$c(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),fJ(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},mJ=Kt("Tabs",e=>{const t=e.controlHeightLG,n=xt(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[dJ(n),vJ(n),uJ(n),cJ(n),sJ(n),pJ(n),lJ(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var gJ=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{key:O,event:T}=P;a==null||a(M==="add"?T:O,M)},removeIcon:c.createElement(es,null),addIcon:s||c.createElement(TZ,null),showAdd:i!==!0});const $=h(),R=rJ(f,d),I=eJ(C,v),N=c.useContext(or),_=o!==void 0?o:N;return x(c.createElement(ZZ,Object.assign({direction:g,getPopupContainer:b,moreTransitionName:`${$}-slide-up`},p,{items:R,className:Y({[`${C}-${_}`]:_,[`${C}-card`]:["card","editable-card"].includes(t),[`${C}-editable-card`]:t==="editable-card",[`${C}-centered`]:l},n,r,S),popupClassName:Y(u,S),editable:w,moreIcon:y,prefixCls:C,animated:I})))}iT.TabPane=aJ;function hJ(e,t,n){var r=n||{},o=r.noTrailing,a=o===void 0?!1:o,i=r.noLeading,l=i===void 0?!1:i,s=r.debounceMode,u=s===void 0?void 0:s,d,f=!1,v=0;function p(){d&&clearTimeout(d)}function m(g){var h=g||{},b=h.upcomingOnly,C=b===void 0?!1:b;p(),f=!C}function y(){for(var g=arguments.length,h=new Array(g),b=0;be?l?(v=Date.now(),a||(d=setTimeout(u?w:S,e))):S():a!==!0&&(d=setTimeout(u?w:S,u===void 0?e-x:e))}return y.cancel=m,y}function yJ(e,t,n){var r=n||{},o=r.atBegin,a=o===void 0?!1:o;return hJ(e,t,{debounceMode:a!==!1})}function lT(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function bJ(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||o===!1}function CJ(e,t,n,r){for(var o=new Set(e),a=new Set,i=0;i<=n;i+=1){var l=t.get(i)||new Set;l.forEach(function(f){var v=f.key,p=f.node,m=f.children,y=m===void 0?[]:m;o.has(v)&&!r(p)&&y.filter(function(g){return!r(g.node)}).forEach(function(g){o.add(g.key)})})}for(var s=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var v=f.parent,p=f.node;if(!(r(p)||!f.parent||s.has(f.parent.key))){if(r(f.parent.node)){s.add(v.key);return}var m=!0,y=!1;(v.children||[]).filter(function(g){return!r(g.node)}).forEach(function(g){var h=g.key,b=o.has(h);m&&!b&&(m=!1),!y&&(b||a.has(h))&&(y=!0)}),m&&o.add(v.key),y&&a.add(v.key),s.add(v.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(lT(a,o))}}function xJ(e,t,n,r,o){for(var a=new Set(e),i=new Set(t),l=0;l<=r;l+=1){var s=n.get(l)||new Set;s.forEach(function(v){var p=v.key,m=v.node,y=v.children,g=y===void 0?[]:y;!a.has(p)&&!i.has(p)&&!o(m)&&g.filter(function(h){return!o(h.node)}).forEach(function(h){a.delete(h.key)})})}i=new Set;for(var u=new Set,d=r;d>=0;d-=1){var f=n.get(d)||new Set;f.forEach(function(v){var p=v.parent,m=v.node;if(!(o(m)||!v.parent||u.has(v.parent.key))){if(o(v.parent.node)){u.add(p.key);return}var y=!0,g=!1;(p.children||[]).filter(function(h){return!o(h.node)}).forEach(function(h){var b=h.key,C=a.has(b);y&&!C&&(y=!1),!g&&(C||i.has(b))&&(g=!0)}),y||a.delete(p.key),g&&i.add(p.key),u.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(lT(i,a))}}function Ua(e,t,n,r){var o=[],a;r?a=r:a=bJ;var i=new Set(e.filter(function(d){var f=!!n[d];return f||o.push(d),f})),l=new Map,s=0;Object.keys(n).forEach(function(d){var f=n[d],v=f.level,p=l.get(v);p||(p=new Set,l.set(v,p)),p.add(f),s=Math.max(s,v)}),Wt(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=CJ(i,l,s,a):u=xJ(i,t.halfCheckedKeys,l,s,a),u}var kf=c.createContext(null),cc="__rc_cascader_search_mark__",SJ=function(t,n,r){var o=r.label;return n.some(function(a){return String(a[o]).toLowerCase().includes(t.toLowerCase())})},wJ=function(t,n,r,o){return n.map(function(a){return a[o.label]}).join(" / ")};const $J=function(e,t,n,r,o,a){var i=o.filter,l=i===void 0?SJ:i,s=o.render,u=s===void 0?wJ:s,d=o.limit,f=d===void 0?50:d,v=o.sort;return c.useMemo(function(){var p=[];if(!e)return[];function m(y,g){y.forEach(function(h){if(!(!v&&f>0&&p.length>=f)){var b=[].concat(xe(g),[h]),C=h[n.children];if((!C||C.length===0||a)&&l(e,b,{label:n.label})){var x;p.push(E(E({},h),{},(x={},A(x,n.label,u(e,b,r,n)),A(x,cc,b),A(x,n.children,void 0),x)))}C&&m(h[n.children],b)}})}return m(t,[]),v&&p.sort(function(y,g){return v(y[cc],g[cc],e,n)}),f>0?p.slice(0,f):p},[e,t,n,r,u,a,l,v,f])};var f2="__RC_CASCADER_SPLIT__",sT="SHOW_PARENT",cT="SHOW_CHILD";function oa(e){return e.join(f2)}function qs(e){return e.map(oa)}function EJ(e){return e.split(f2)}function PJ(e){var t=e||{},n=t.label,r=t.value,o=t.children,a=r||"value";return{label:n||"label",value:a,key:a,children:o||"children"}}function Ku(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!((r=e[t.children])!==null&&r!==void 0&&r.length)}function OJ(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}function uT(e,t){return e.map(function(n){var r;return(r=n[cc])===null||r===void 0?void 0:r.map(function(o){return o[t.value]})})}function $3(e,t,n){var r=new Set(e),o=t();return e.filter(function(a){var i=o[a],l=i?i.parent:null,s=i?i.children:null;return n===cT?!(s&&s.some(function(u){return u.key&&r.has(u.key)})):!(l&&!l.node.disabled&&r.has(l.key))})}function Yd(e,t,n){for(var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=t,a=[],i=function(){var u,d,f,v=e[l],p=(u=o)===null||u===void 0?void 0:u.findIndex(function(y){var g=y[n.value];return r?String(g)===String(v):g===v}),m=p!==-1?(d=o)===null||d===void 0?void 0:d[p]:null;a.push({value:(f=m==null?void 0:m[n.value])!==null&&f!==void 0?f:v,index:p,option:m}),o=m==null?void 0:m[n.children]},l=0;l=0&&n.splice(r,1),n}function yi(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function p2(e){return e.split("-")}function dT(e,t){return"".concat(e,"-").concat(t)}function kJ(e){return e&&e.type&&e.type.isTreeNode}function FJ(e,t){var n=[],r=t[e];function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.forEach(function(i){var l=i.key,s=i.children;n.push(l),o(s)})}return o(r.children),n}function DJ(e){if(e.parent){var t=p2(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function LJ(e){var t=p2(e.pos);return Number(t[t.length-1])===0}function O3(e,t,n,r,o,a,i,l,s,u){var d,f=e.clientX,v=e.clientY,p=e.target.getBoundingClientRect(),m=p.top,y=p.height,g=(u==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),h=(g-12)/r,b=l[n.props.eventKey];if(v-1.5?a({dragNode:M,dropNode:P,dropPosition:1})?I=1:O=!1:a({dragNode:M,dropNode:P,dropPosition:0})?I=0:a({dragNode:M,dropNode:P,dropPosition:1})?I=1:O=!1:a({dragNode:M,dropNode:P,dropPosition:1})?I=1:O=!1,{dropPosition:I,dropLevelOffset:N,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:R,dropContainerKey:I===0?null:((d=b.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:O}}function M3(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function o1(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(We(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Wt(!1,"`checkedKeys` is not an array or an object"),null;return t}function R3(e,t){var n=new Set;function r(o){if(!n.has(o)){var a=t[o];if(a){n.add(o);var i=a.parent,l=a.node;l.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(o){r(o)}),xe(n)}var AJ=["children"];function Ff(e,t){return e??t}function Mm(e){var t=e||{},n=t.title,r=t._title,o=t.key,a=t.children,i=n||"title";return{title:i,_title:r||[i],key:o||"key",children:a||"children"}}function jJ(e){function t(n){var r=Mr(n);return r.map(function(o){if(!kJ(o))return Wt(!o,"Tree/TreeNode can only accept TreeNode as children."),null;var a=o.key,i=o.props,l=i.children,s=Oe(i,AJ),u=E({key:a},s),d=t(l);return d.length&&(u.children=d),u}).filter(function(o){return o})}return t(e)}function a1(e,t,n){var r=Mm(n),o=r._title,a=r.key,i=r.children,l=new Set(t===!0?[]:t),s=[];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(v,p){for(var m=dT(f?f.pos:"0",p),y=Ff(v[a],m),g,h=0;h1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a=t.externalGetKey,i=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,u=a||s,d={},f={},v={posEntities:d,keyEntities:f};return n&&(v=n(v)||v),zJ(e,function(p){var m=p.node,y=p.index,g=p.pos,h=p.key,b=p.parentPos,C=p.level,x=p.nodes,S={node:m,nodes:x,index:y,key:h,pos:g,level:C},w=Ff(h,g);d[g]=S,f[w]=S,S.parent=d[b],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),r&&r(S,v)},{externalGetKey:u,childrenPropName:i,fieldNames:l}),o&&o(v),v}function dd(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=d[e],v={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:a.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:l.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1};return v}function Hn(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,i=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,v=e.active,p=e.eventKey,m=E(E({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:v,key:p});return"props"in m||Object.defineProperty(m,"props",{get:function(){return Wt(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}const HJ=function(e,t){var n=c.useRef({options:null,info:null}),r=c.useCallback(function(){return n.current.options!==e&&(n.current.options=e,n.current.info=m2(e,{fieldNames:t,initWrapper:function(a){return E(E({},a),{},{pathKeyEntities:{}})},processEntity:function(a,i){var l=a.nodes.map(function(s){return s[t.value]}).join(f2);i.pathKeyEntities[l]=a,a.key=l}})),n.current.info.pathKeyEntities},[t,e]);return r},BJ=function(e,t){return c.useCallback(function(n){var r=[],o=[];return n.forEach(function(a){var i=Yd(a,e,t);i.every(function(l){return l.option})?o.push(a):r.push(a)}),[o,r]},[e,t])};function I3(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function VJ(e){return c.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&We(e)==="object"&&(t=E(E({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}var WJ=c.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function KJ(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,a=e.disabled,i=e.onClick,l=c.useContext(kf),s=l.checkable,u=typeof s!="boolean"?s:null;return c.createElement("span",{className:Y("".concat(n),(t={},A(t,"".concat(n,"-checked"),r),A(t,"".concat(n,"-indeterminate"),!r&&o),A(t,"".concat(n,"-disabled"),a),t)),onClick:i},u)}var fT="__cascader_fix_label__";function UJ(e){var t=e.prefixCls,n=e.multiple,r=e.options,o=e.activeValue,a=e.prevValuePath,i=e.onToggleOpen,l=e.onSelect,s=e.onActive,u=e.checkedSet,d=e.halfCheckedSet,f=e.loadingKeys,v=e.isSelectable,p=e.searchValue,m="".concat(t,"-menu"),y="".concat(t,"-menu-item"),g=c.useContext(kf),h=g.fieldNames,b=g.changeOnSelect,C=g.expandTrigger,x=g.expandIcon,S=g.loadingIcon,w=g.dropdownMenuColumnStyle,$=C==="hover",R=c.useMemo(function(){return r.map(function(I){var N,_=I.disabled,M=I[cc],P=(N=I[fT])!==null&&N!==void 0?N:I[h.label],O=I[h.value],T=Ku(I,h),k=M?M.map(function(B){return B[h.value]}):[].concat(xe(a),[O]),F=oa(k),D=f.includes(F),j=u.has(F),z=d.has(F);return{disabled:_,label:P,value:O,isLeaf:T,isLoading:D,checked:j,halfChecked:z,option:I,fullPath:k,fullPathKey:F}})},[r,u,h,d,f,a]);return c.createElement("ul",{className:m,role:"menu"},R.map(function(I){var N,_=I.disabled,M=I.label,P=I.value,O=I.isLeaf,T=I.isLoading,k=I.checked,F=I.halfChecked,D=I.option,j=I.fullPath,z=I.fullPathKey,B=function(){if(!(_||p)){var W=xe(j);$&&O&&W.pop(),s(W)}},H=function(){v(D)&&l(j,O)},V;return typeof D.title=="string"?V=D.title:typeof M=="string"&&(V=M),c.createElement("li",{key:z,className:Y(y,(N={},A(N,"".concat(y,"-expand"),!O),A(N,"".concat(y,"-active"),o===P||o===z),A(N,"".concat(y,"-disabled"),_),A(N,"".concat(y,"-loading"),T),N)),style:w,role:"menuitemcheckbox",title:V,"aria-checked":k,"data-path-key":z,onClick:function(){B(),(!n||O)&&H()},onDoubleClick:function(){b&&i(!1)},onMouseEnter:function(){$&&B()},onMouseDown:function(W){W.preventDefault()}},n&&c.createElement(KJ,{prefixCls:"".concat(t,"-checkbox"),checked:k,halfChecked:F,disabled:_,onClick:function(W){W.stopPropagation(),H()}}),c.createElement("div",{className:"".concat(y,"-content")},M),!T&&x&&!O&&c.createElement("div",{className:"".concat(y,"-expand-icon")},x),T&&S&&c.createElement("div",{className:"".concat(y,"-loading-icon")},S))}))}const YJ=function(){var e=Pf(),t=e.multiple,n=e.open,r=c.useContext(kf),o=r.values,a=c.useState([]),i=U(a,2),l=i[0],s=i[1];return c.useEffect(function(){if(n&&!t){var u=o[0];s(u||[])}},[n]),[l,s]},GJ=function(e,t,n,r,o,a){var i=Pf(),l=i.direction,s=i.searchValue,u=i.toggleOpen,d=i.open,f=l==="rtl",v=c.useMemo(function(){for(var w=-1,$=t,R=[],I=[],N=r.length,_=uT(t,n),M=function(D){var j=$.findIndex(function(z,B){return(_[B]?oa(_[B]):z[n.value])===r[D]});if(j===-1)return"break";w=j,R.push(w),I.push(r[D]),$=$[w][n.children]},P=0;P1){var $=m.slice(0,-1);b($)}else u(!1)},S=function(){var $,R=(($=g[y])===null||$===void 0?void 0:$[n.children])||[],I=R.find(function(_){return!_.disabled});if(I){var N=[].concat(xe(m),[I[n.value]]);b(N)}};c.useImperativeHandle(e,function(){return{onKeyDown:function($){var R=$.which;switch(R){case ue.UP:case ue.DOWN:{var I=0;R===ue.UP?I=-1:R===ue.DOWN&&(I=1),I!==0&&C(I);break}case ue.LEFT:{f?S():x();break}case ue.RIGHT:{f?x():S();break}case ue.BACKSPACE:{s||x();break}case ue.ENTER:{if(m.length){var N=g[y],_=(N==null?void 0:N[cc])||[];_.length?a(_.map(function(M){return M[n.value]}),_[_.length-1]):a(m,g[y])}break}case ue.ESC:u(!1),d&&$.stopPropagation()}},onKeyUp:function(){}}})};var XJ=c.forwardRef(function(e,t){var n,r,o,a,i=Pf(),l=i.prefixCls,s=i.multiple,u=i.searchValue,d=i.toggleOpen,f=i.notFoundContent,v=i.direction,p=i.open,m=c.useRef(),y=v==="rtl",g=c.useContext(kf),h=g.options,b=g.values,C=g.halfValues,x=g.fieldNames,S=g.changeOnSelect,w=g.onSelect,$=g.searchOptions,R=g.dropdownPrefixCls,I=g.loadData,N=g.expandTrigger,_=R||l,M=c.useState([]),P=U(M,2),O=P[0],T=P[1],k=function(ne){if(!(!I||u)){var oe=Yd(ne,h,x),le=oe.map(function(se){var ve=se.option;return ve}),de=le[le.length-1];if(de&&!Ku(de,x)){var pe=oa(ne);T(function(se){return[].concat(xe(se),[pe])}),I(le)}}};c.useEffect(function(){O.length&&O.forEach(function(J){var ne=EJ(J),oe=Yd(ne,h,x,!0).map(function(de){var pe=de.option;return pe}),le=oe[oe.length-1];(!le||le[x.children]||Ku(le,x))&&T(function(de){return de.filter(function(pe){return pe!==J})})})},[h,O,x]);var F=c.useMemo(function(){return new Set(qs(b))},[b]),D=c.useMemo(function(){return new Set(qs(C))},[C]),j=YJ(),z=U(j,2),B=z[0],H=z[1],V=function(ne){H(ne),k(ne)},K=function(ne){var oe=ne.disabled,le=Ku(ne,x);return!oe&&(le||S||s)},W=function(ne,oe){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;w(ne),!s&&(oe||S&&(N==="hover"||le))&&d(!1)},G=c.useMemo(function(){return u?$:h},[u,$,h]),X=c.useMemo(function(){for(var J=[{options:G}],ne=G,oe=uT(ne,x),le=function(){var ve=B[de],ge=ne.find(function(ie,fe){return(oe[fe]?oa(oe[fe]):ie[x.value])===ve}),ce=ge==null?void 0:ge[x.children];if(!(ce!=null&&ce.length))return"break";ne=ce,J.push({options:ce})},de=0;de":M,O=e.loadingIcon,T=e.children,k=e.dropdownMatchSelectWidth,F=k===void 0?!1:k,D=e.showCheckedStrategy,j=D===void 0?sT:D,z=Oe(e,qJ),B=PS(n),H=!!f,V=yt(i,{value:l,postState:N3}),K=U(V,2),W=K[0],G=K[1],X=c.useMemo(function(){return PJ(a)},[JSON.stringify(a)]),Q=c.useMemo(function(){return g||[]},[g]),ae=HJ(Q,X),ee=c.useCallback(function(Ee){var Se=ae();return Ee.map(function(ke){var De=Se[ke].nodes;return De.map(function(ze){return ze[X.value]})})},[ae,X]),q=yt("",{value:v,postState:function(Se){return Se||""}}),re=U(q,2),te=re[0],J=re[1],ne=function(Se,ke){J(Se),ke.source!=="blur"&&p&&p(Se)},oe=VJ(m),le=U(oe,2),de=le[0],pe=le[1],se=$J(te,Q,X,h||o,pe,s),ve=BJ(Q,X),ge=c.useMemo(function(){var Ee=ve(W),Se=U(Ee,2),ke=Se[0],De=Se[1];if(!H||!W.length)return[ke,[],De];var ze=qs(ke),Me=ae(),ht=Ua(ze,!0,Me),rt=ht.checkedKeys,he=ht.halfCheckedKeys;return[ee(rt),ee(he),De]},[H,W,ae,ee,ve]),ce=U(ge,3),ie=ce[0],fe=ce[1],me=ce[2],Ce=c.useMemo(function(){var Ee=qs(ie),Se=$3(Ee,ae,j);return[].concat(xe(me),xe(ee(Se)))},[ie,ae,ee,me,j]),ye=MJ(Ce,Q,X,H,d),Ne=I3(function(Ee){if(G(Ee),u){var Se=N3(Ee),ke=Se.map(function(Me){return Yd(Me,Q,X).map(function(ht){return ht.option})}),De=H?Se:Se[0],ze=H?ke:ke[0];u(De,ze)}}),_e=I3(function(Ee){if(J(""),!H)Ne(Ee);else{var Se=oa(Ee),ke=qs(ie),De=qs(fe),ze=ke.includes(Se),Me=me.some(function(Ct){return oa(Ct)===Se}),ht=ie,rt=me;if(Me&&!ze)rt=me.filter(function(Ct){return oa(Ct)!==Se});else{var he=ze?ke.filter(function(Ct){return Ct!==Se}):[].concat(xe(ke),[Se]),Re=ae(),we;if(ze){var Le=Ua(he,{checked:!1,halfCheckedKeys:De},Re);we=Le.checkedKeys}else{var Ze=Ua(he,!0,Re);we=Ze.checkedKeys}var st=$3(we,ae,j);ht=ee(st)}Ne([].concat(xe(rt),xe(ht)))}}),Ke=function(Se,ke){if(ke.type==="clear"){Ne([]);return}var De=ke.values[0],ze=De.valueCells;_e(ze)},Ye=x!==void 0?x:C,$e=w||S,Ie=I||R,je=function(Se){N==null||N(Se),_==null||_(Se)},gt=c.useMemo(function(){return{options:Q,fieldNames:X,values:ie,halfValues:fe,changeOnSelect:s,onSelect:_e,checkable:f,searchOptions:se,dropdownPrefixCls:h,loadData:b,expandTrigger:y,expandIcon:P,loadingIcon:O,dropdownMenuColumnStyle:$}},[Q,X,ie,fe,s,_e,f,se,h,b,y,P,O,$]),dt=!(te?se:Q).length,bt=te&&pe.matchInputWidth||dt?{}:{minWidth:"auto"};return c.createElement(kf.Provider,{value:gt},c.createElement(ES,be({},z,{ref:t,id:B,prefixCls:o,dropdownMatchSelectWidth:F,dropdownStyle:bt,displayValues:ye,onDisplayValuesChange:Ke,mode:H?"multiple":void 0,searchValue:te,onSearch:ne,showSearch:de,OptionList:XJ,emptyOptions:dt,open:Ye,dropdownClassName:$e,placement:Ie,onDropdownVisibleChange:je,getRawInputElement:function(){return T}})))});oh.SHOW_PARENT=sT;oh.SHOW_CHILD=cT;const ZJ=new Rt("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),JJ=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Lt(e)),{display:"inline-flex"}),[n]:Object.assign(Object.assign({},Lt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:e.marginXS},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Lt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"start",transform:`translate(0, ${e.lineHeight*e.fontSize/2-e.checkboxSize/2}px)`,[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Hl(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px 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}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` - ${n}:not(${n}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:ZJ,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` - ${n}-checked:not(${n}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function g2(e,t){const n=xt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[JJ(n)]}const vT=Kt("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[g2(n,e)]}),eee=e=>{const{prefixCls:t,componentCls:n,antCls:r}=e,o=`${n}-menu-item`,a=` - &${o}-expand ${o}-expand-icon, - ${o}-loading-icon - `,i=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[g2(`${t}-checkbox`,e),{[`&${r}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[o]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},ra),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${i}px ${e.paddingSM}px`,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"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${o}-disabled)`]:{["&, &:hover"]:{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},Gc(e)]},tee=Kt("Cascader",e=>[eee(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var nee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);os===0?[l]:[].concat(xe(i),[t,l]),[]),o=[];let a=0;return r.forEach((i,l)=>{const s=a+i.length;let u=e.slice(a,s);a=s,l%2===1&&(u=c.createElement("span",{className:`${n}-menu-item-keyword`,key:`separator-${l}`},u)),o.push(u)}),o}const iee=(e,t,n,r)=>{const o=[],a=e.toLowerCase();return t.forEach((i,l)=>{l!==0&&o.push(" / ");let s=i[r.label];const u=typeof s;(u==="string"||u==="number")&&(s=aee(String(s),a,n)),o.push(s)}),o},Df=c.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,className:a,rootClassName:i,multiple:l,bordered:s=!0,transitionName:u,choiceTransitionName:d="",popupClassName:f,dropdownClassName:v,expandIcon:p,placement:m,showSearch:y,allowClear:g=!0,notFoundContent:h,direction:b,getPopupContainer:C,status:x,showArrow:S,builtinPlacements:w}=e,$=nee(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements"]),R=$n($,["suffixIcon"]),{getPopupContainer:I,getPrefixCls:N,renderEmpty:_,direction:M}=c.useContext(nt),P=b||M,O=P==="rtl",{status:T,hasFeedback:k,isFormItemInput:F,feedbackIcon:D}=c.useContext(mr),j=el(T,x),z=h||(_==null?void 0:_("Cascader"))||c.createElement(TS,{componentName:"Cascader"}),B=N(),H=N("select",n),V=N("cascader",n),[K,W]=_S(H),[G]=tee(V),{compactSize:X,compactItemClassnames:Q}=Pa(H,b),ae=Y(f||v,`${V}-dropdown`,{[`${V}-dropdown-rtl`]:P==="rtl"},i,W),ee=c.useMemo(()=>{if(!y)return y;let fe={render:iee};return typeof y=="object"&&(fe=Object.assign(Object.assign({},fe),y)),fe},[y]),q=c.useContext(or),re=X||r||q,te=c.useContext(Vr),J=o??te;let ne=p;p||(ne=O?c.createElement(wm,null):c.createElement(Oc,null));const oe=c.createElement("span",{className:`${H}-menu-item-loading-icon`},c.createElement(Ja,{spin:!0})),le=c.useMemo(()=>l?c.createElement("span",{className:`${V}-checkbox-inner`}):!1,[l]),de=FS(S),{suffixIcon:pe,removeIcon:se,clearIcon:ve}=AS(Object.assign(Object.assign({},e),{hasFeedback:k,feedbackIcon:D,showArrow:de,multiple:l,prefixCls:H})),ge=c.useMemo(()=>m!==void 0?m:O?"bottomRight":"bottomLeft",[m,O]),ce=kS(w),ie=c.createElement(oh,Object.assign({prefixCls:H,className:Y(!n&&V,{[`${H}-lg`]:re==="large",[`${H}-sm`]:re==="small",[`${H}-rtl`]:O,[`${H}-borderless`]:!s,[`${H}-in-form-item`]:F},lo(H,j,k),Q,a,i,W),disabled:J},R,{builtinPlacements:ce,direction:P,placement:ge,notFoundContent:z,allowClear:g,showSearch:ee,expandIcon:ne,inputIcon:pe,removeIcon:se,clearIcon:ve,loadingIcon:oe,checkable:le,dropdownClassName:ae,dropdownPrefixCls:n||V,choiceTransitionName:Hr(B,"",d),transitionName:Hr(B,CS(m),u),getPopupContainer:C||I,ref:t,showArrow:k||de}));return G(K(ie))}),lee=ts(Df);Df.SHOW_PARENT=oee;Df.SHOW_CHILD=ree;Df._InternalPanelDoNotUseOrYouWillBeFired=lee;const see=Df;var cee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{defaultValue:n,children:r,options:o=[],prefixCls:a,className:i,rootClassName:l,style:s,onChange:u}=e,d=cee(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]);const{getPrefixCls:f,direction:v}=c.useContext(nt),[p,m]=c.useState(d.value||n||[]),[y,g]=c.useState([]);c.useEffect(()=>{"value"in d&&m(d.value||[])},[d.value]);const h=()=>o.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),b=M=>{g(P=>P.filter(O=>O!==M))},C=M=>{g(P=>[].concat(xe(P),[M]))},x=M=>{const P=p.indexOf(M.value),O=xe(p);P===-1?O.push(M.value):O.splice(P,1),"value"in d||m(O);const T=h();u==null||u(O.filter(k=>y.includes(k)).sort((k,F)=>{const D=T.findIndex(z=>z.value===k),j=T.findIndex(z=>z.value===F);return D-j}))},S=f("checkbox",a),w=`${S}-group`,[$,R]=vT(S),I=$n(d,["value","disabled"]);o&&o.length>0&&(r=h().map(M=>c.createElement(mT,{prefixCls:S,key:M.value.toString(),disabled:"disabled"in M?M.disabled:d.disabled,value:M.value,checked:p.includes(M.value),onChange:M.onChange,className:`${w}-item`,style:M.style},M.label)));const N={toggleOption:x,value:p,disabled:d.disabled,name:d.name,registerValue:C,cancelValue:b},_=Y(w,{[`${w}-rtl`]:v==="rtl"},i,l,R);return $(c.createElement("div",Object.assign({className:_,style:s},I,{ref:t}),c.createElement(pT.Provider,{value:N},r)))},dee=c.forwardRef(uee),fee=c.memo(dee);var vee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,{prefixCls:r,className:o,rootClassName:a,children:i,indeterminate:l=!1,style:s,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:v}=e,p=vee(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]);const{getPrefixCls:m,direction:y}=c.useContext(nt),g=c.useContext(pT),{isFormItemInput:h}=c.useContext(mr),b=c.useContext(Vr),C=(n=(g==null?void 0:g.disabled)||v)!==null&&n!==void 0?n:b,x=c.useRef(p.value);c.useEffect(()=>{g==null||g.registerValue(p.value)},[]),c.useEffect(()=>{if(!f)return p.value!==x.current&&(g==null||g.cancelValue(x.current),g==null||g.registerValue(p.value),x.current=p.value),()=>g==null?void 0:g.cancelValue(p.value)},[p.value]);const S=m("checkbox",r),[w,$]=vT(S),R=Object.assign({},p);g&&!f&&(R.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),g.toggleOption&&g.toggleOption({label:i,value:p.value})},R.name=g.name,R.checked=g.value.includes(p.value));const I=Y({[`${S}-wrapper`]:!0,[`${S}-rtl`]:y==="rtl",[`${S}-wrapper-checked`]:R.checked,[`${S}-wrapper-disabled`]:C,[`${S}-wrapper-in-form-item`]:h},o,a,$),N=Y({[`${S}-indeterminate`]:l},$),_=l?"mixed":void 0;return w(c.createElement("label",{className:I,style:s,onMouseEnter:u,onMouseLeave:d},c.createElement(YN,Object.assign({"aria-checked":_},R,{prefixCls:S,className:N,disabled:C,ref:t})),i!==void 0&&c.createElement("span",null,i)))},mee=c.forwardRef(pee),mT=mee,h2=mT;h2.Group=fee;h2.__ANT_CHECKBOX=!0;const gT=h2,gee=c.createContext({}),hT=gee,hee=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},yee=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},bee=(e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let a=r;a>=0;a--)a===0?(o[`${n}${t}-${a}`]={display:"none"},o[`${n}-push-${a}`]={insetInlineStart:"auto"},o[`${n}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${a}`]={marginInlineStart:0},o[`${n}${t}-order-${a}`]={order:0}):(o[`${n}${t}-${a}`]={display:"block",flex:`0 0 ${a/r*100}%`,maxWidth:`${a/r*100}%`},o[`${n}${t}-push-${a}`]={insetInlineStart:`${a/r*100}%`},o[`${n}${t}-pull-${a}`]={insetInlineEnd:`${a/r*100}%`},o[`${n}${t}-offset-${a}`]={marginInlineStart:`${a/r*100}%`},o[`${n}${t}-order-${a}`]={order:a});return o},Kb=(e,t)=>bee(e,t),Cee=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},Kb(e,n))}),xee=Kt("Grid",e=>[hee(e)]),See=Kt("Grid",e=>{const t=xt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[yee(t),Kb(t,""),Kb(t,"-xs"),Object.keys(n).map(r=>Cee(t,n[r],r)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]});var wee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=c.useContext(nt),{gutter:o,wrap:a,supportFlexGap:i}=c.useContext(hT),{prefixCls:l,span:s,order:u,offset:d,push:f,pull:v,className:p,children:m,flex:y,style:g}=e,h=wee(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),b=n("col",l),[C,x]=See(b);let S={};Eee.forEach(R=>{let I={};const N=e[R];typeof N=="number"?I.span=N:typeof N=="object"&&(I=N||{}),delete h[R],S=Object.assign(Object.assign({},S),{[`${b}-${R}-${I.span}`]:I.span!==void 0,[`${b}-${R}-order-${I.order}`]:I.order||I.order===0,[`${b}-${R}-offset-${I.offset}`]:I.offset||I.offset===0,[`${b}-${R}-push-${I.push}`]:I.push||I.push===0,[`${b}-${R}-pull-${I.pull}`]:I.pull||I.pull===0,[`${b}-${R}-flex-${I.flex}`]:I.flex||I.flex==="auto",[`${b}-rtl`]:r==="rtl"})});const w=Y(b,{[`${b}-${s}`]:s!==void 0,[`${b}-order-${u}`]:u,[`${b}-offset-${d}`]:d,[`${b}-push-${f}`]:f,[`${b}-pull-${v}`]:v},p,S,x),$={};if(o&&o[0]>0){const R=o[0]/2;$.paddingLeft=R,$.paddingRight=R}if(o&&o[1]>0&&!i){const R=o[1]/2;$.paddingTop=R,$.paddingBottom=R}return y&&($.flex=$ee(y),a===!1&&!$.minWidth&&($.minWidth=0)),C(c.createElement("div",Object.assign({},h,{style:Object.assign(Object.assign({},$),g),className:w,ref:t}),m))}),y2=Pee;var Oee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(typeof e=="string"&&r(e),typeof e=="object")for(let a=0;a{o()},[JSON.stringify(e),t]),n}const Mee=c.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:a,style:i,children:l,gutter:s=0,wrap:u}=e,d=Oee(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:v}=c.useContext(nt),[p,m]=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[y,g]=c.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),h=T3(o,y),b=T3(r,y),C=hN(),x=c.useRef(s),S=xI();c.useEffect(()=>{const D=S.subscribe(j=>{g(j);const z=x.current||0;(!Array.isArray(z)&&typeof z=="object"||Array.isArray(z)&&(typeof z[0]=="object"||typeof z[1]=="object"))&&m(j)});return()=>S.unsubscribe(D)},[]);const w=()=>{const D=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((z,B)=>{if(typeof z=="object")for(let H=0;H0?N[0]/-2:void 0,O=N[1]!=null&&N[1]>0?N[1]/-2:void 0;P&&(M.marginLeft=P,M.marginRight=P),C?[,M.rowGap]=N:O&&(M.marginTop=O,M.marginBottom=O);const[T,k]=N,F=c.useMemo(()=>({gutter:[T,k],wrap:u,supportFlexGap:C}),[T,k,u,C]);return R(c.createElement(hT.Provider,{value:F},c.createElement("div",Object.assign({},d,{className:_,style:Object.assign(Object.assign({},M),i),ref:t}),l)))}),yT=Mee;function Ree(e){return c.createElement(ti,Object.assign({size:"small",type:"primary"},e))}var Iee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const Nee=Iee;var bT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Nee}))};bT.displayName="CalendarOutlined";const CT=c.forwardRef(bT);var Tee={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const _ee=Tee;var xT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:_ee}))};xT.displayName="ClockCircleOutlined";const ST=c.forwardRef(xT);var kee={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const Fee=kee;var wT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Fee}))};wT.displayName="SwapRightOutlined";const Dee=c.forwardRef(wT);function Lee(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Aee(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function b2(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}var jee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:o,getPopupContainer:a,className:i,placement:l,size:s,disabled:u,bordered:d=!0,placeholder:f,popupClassName:v,dropdownClassName:p,status:m}=n,y=jee(n,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),g=c.useRef(null),{getPrefixCls:h,direction:b,getPopupContainer:C}=c.useContext(nt),x=h("picker",o),{compactSize:S,compactItemClassnames:w}=Pa(x,b),{format:$,showTime:R,picker:I}=n,N=h(),[_,M]=JN(x);let P={};P=Object.assign(Object.assign(Object.assign({},P),R?Rm(Object.assign({format:$,picker:I},R)):{}),I==="time"?Rm(Object.assign(Object.assign({format:$},n),{picker:I})):{});const O=c.useContext(or),T=S||s||O,k=c.useContext(Vr),F=u??k,D=c.useContext(mr),{hasFeedback:j,status:z,feedbackIcon:B}=D,H=c.createElement(c.Fragment,null,I==="time"?c.createElement(ST,null):c.createElement(CT,null),j&&B);c.useImperativeHandle(r,()=>({focus:()=>{var W;return(W=g.current)===null||W===void 0?void 0:W.focus()},blur:()=>{var W;return(W=g.current)===null||W===void 0?void 0:W.blur()}}));const[V]=Ng("Calendar",dm),K=Object.assign(Object.assign({},V),n.locale);return _(c.createElement(PQ,Object.assign({separator:c.createElement("span",{"aria-label":"to",className:`${x}-separator`},c.createElement(Dee,null)),disabled:F,ref:g,dropdownAlign:b2(b,l),placeholder:Aee(K,I,f),suffixIcon:H,clearIcon:c.createElement(si,null),prevIcon:c.createElement("span",{className:`${x}-prev-icon`}),nextIcon:c.createElement("span",{className:`${x}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${x}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${x}-super-next-icon`}),allowClear:!0,transitionName:`${N}-slide-up`},y,P,{className:Y({[`${x}-${T}`]:T,[`${x}-borderless`]:!d},lo(x,el(z,m),j),M,w,i),locale:K.lang,prefixCls:x,getPopupContainer:a||C,generateConfig:e,components:$T,direction:b,dropdownClassName:Y(M,v||p)})))})}var Hee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:p,getPopupContainer:m,className:y,rootClassName:g,size:h,bordered:b=!0,placement:C,placeholder:x,popupClassName:S,dropdownClassName:w,disabled:$,status:R}=f,I=Hee(f,["prefixCls","getPopupContainer","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),{getPrefixCls:N,direction:_,getPopupContainer:M}=c.useContext(nt),P=N("picker",p),{compactSize:O,compactItemClassnames:T}=Pa(P,_),k=c.useRef(null),{format:F,showTime:D}=f,[j,z]=JN(P);c.useImperativeHandle(v,()=>({focus:()=>{var oe;return(oe=k.current)===null||oe===void 0?void 0:oe.focus()},blur:()=>{var oe;return(oe=k.current)===null||oe===void 0?void 0:oe.blur()}}));const B={showToday:!0};let H={};s&&(H.picker=s);const V=s||f.picker;H=Object.assign(Object.assign(Object.assign({},H),D?Rm(Object.assign({format:F,picker:V},D)):{}),V==="time"?Rm(Object.assign(Object.assign({format:F},f),{picker:V})):{});const K=N(),W=c.useContext(or),G=O||h||W,X=c.useContext(Vr),Q=$??X,ae=c.useContext(mr),{hasFeedback:ee,status:q,feedbackIcon:re}=ae,te=c.createElement(c.Fragment,null,V==="time"?c.createElement(ST,null):c.createElement(CT,null),ee&&re),[J]=Ng("DatePicker",dm),ne=Object.assign(Object.assign({},J),f.locale);return j(c.createElement(CQ,Object.assign({ref:k,placeholder:Lee(ne,V,x),suffixIcon:te,dropdownAlign:b2(_,C),clearIcon:c.createElement(si,null),prevIcon:c.createElement("span",{className:`${P}-prev-icon`}),nextIcon:c.createElement("span",{className:`${P}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${P}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${P}-super-next-icon`}),allowClear:!0,transitionName:`${K}-slide-up`},B,I,H,{locale:ne.lang,className:Y({[`${P}-${G}`]:G,[`${P}-borderless`]:!b},lo(P,el(q,R),ee),z,T,y,g),prefixCls:P,getPopupContainer:m||M,generateConfig:e,components:$T,direction:_,disabled:Q,dropdownClassName:Y(z,g,S||w)})))});return u&&(d.displayName=u),d}const n=t(),r=t("week","WeekPicker"),o=t("month","MonthPicker"),a=t("year","YearPicker"),i=t("time","TimePicker"),l=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:a,TimePicker:i,QuarterPicker:l}}const $T={button:Ree};function Vee(e){return e?Array.isArray(e)?e:[e]:[]}function Rm(e){const{format:t,picker:n,showHour:r,showMinute:o,showSecond:a,use12Hours:i}=e,l=Vee(t)[0],s=Object.assign({},e);return l&&typeof l=="string"&&(!l.includes("s")&&a===void 0&&(s.showSecond=!1),!l.includes("m")&&o===void 0&&(s.showMinute=!1),!l.includes("H")&&!l.includes("h")&&r===void 0&&(s.showHour=!1),(l.includes("a")||l.includes("A"))&&i===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof l=="function"&&delete s.format,{showTime:s})}function Wee(e){const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:a,QuarterPicker:i}=Bee(e),l=zee(e),s=t;return s.WeekPicker=n,s.MonthPicker=r,s.YearPicker=o,s.RangePicker=l,s.TimePicker=a,s.QuarterPicker=i,s}const Lf=Wee(Tq);function ET(e){const t=b2(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Kee=ts(Lf,"picker",null,ET);Lf._InternalPanelDoNotUseOrYouWillBeFired=Kee;const Uee=ts(Lf.RangePicker,"picker",null,ET);Lf._InternalRangePanelDoNotUseOrYouWillBeFired=Uee;const Rc=Lf,Yee=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},Lt(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStart:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},Gee=Kt("Divider",e=>{const t=xt(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[Yee(t)]},{sizePaddingEdgeHorizontal:0});var Xee=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=c.useContext(nt),{prefixCls:r,type:o="horizontal",orientation:a="center",orientationMargin:i,className:l,rootClassName:s,children:u,dashed:d,plain:f}=e,v=Xee(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain"]),p=t("divider",r),[m,y]=Gee(p),g=a.length>0?`-${a}`:a,h=!!u,b=a==="left"&&i!=null,C=a==="right"&&i!=null,x=Y(p,y,`${p}-${o}`,{[`${p}-with-text`]:h,[`${p}-with-text${g}`]:h,[`${p}-dashed`]:!!d,[`${p}-plain`]:!!f,[`${p}-rtl`]:n==="rtl",[`${p}-no-default-orientation-margin-left`]:b,[`${p}-no-default-orientation-margin-right`]:C},l,s),S=Object.assign(Object.assign({},b&&{marginLeft:i}),C&&{marginRight:i});return m(c.createElement("div",Object.assign({className:x},v,{role:"separator"}),u&&o!=="vertical"&&c.createElement("span",{className:`${p}-inner-text`,style:S},u)))},Qee=qee;var Zee=function(t){var n=t.prefixCls,r=t.className,o=t.style,a=t.children,i=t.containerRef;return c.createElement(c.Fragment,null,c.createElement("div",{className:Y("".concat(n,"-content"),r),style:E({},o),"aria-modal":"true",role:"dialog",ref:i},a))},_3=c.createContext(null);function k3(e){return typeof e=="string"&&String(Number(e))===e?(Wt(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var F3={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Jee(e,t){var n,r,o,a,i=e.prefixCls,l=e.open,s=e.placement,u=e.inline,d=e.push,f=e.forceRender,v=e.autoFocus,p=e.keyboard,m=e.rootClassName,y=e.rootStyle,g=e.zIndex,h=e.className,b=e.style,C=e.motion,x=e.width,S=e.height,w=e.children,$=e.contentWrapperStyle,R=e.mask,I=e.maskClosable,N=e.maskMotion,_=e.maskClassName,M=e.maskStyle,P=e.afterOpenChange,O=e.onClose,T=c.useRef(),k=c.useRef(),F=c.useRef();c.useImperativeHandle(t,function(){return T.current});var D=function(te){var J=te.keyCode,ne=te.shiftKey;switch(J){case ue.TAB:{if(J===ue.TAB){if(!ne&&document.activeElement===F.current){var oe;(oe=k.current)===null||oe===void 0||oe.focus({preventScroll:!0})}else if(ne&&document.activeElement===k.current){var le;(le=F.current)===null||le===void 0||le.focus({preventScroll:!0})}}break}case ue.ESC:{O&&p&&(te.stopPropagation(),O(te));break}}};c.useEffect(function(){if(l&&v){var re;(re=T.current)===null||re===void 0||re.focus({preventScroll:!0})}},[l]);var j=c.useState(!1),z=U(j,2),B=z[0],H=z[1],V=c.useContext(_3),K;d===!1?K={distance:0}:d===!0?K={}:K=d||{};var W=(n=(r=(o=K)===null||o===void 0?void 0:o.distance)!==null&&r!==void 0?r:V==null?void 0:V.pushDistance)!==null&&n!==void 0?n:180,G=c.useMemo(function(){return{pushDistance:W,push:function(){H(!0)},pull:function(){H(!1)}}},[W]);c.useEffect(function(){if(l){var re;V==null||(re=V.push)===null||re===void 0||re.call(V)}else{var te;V==null||(te=V.pull)===null||te===void 0||te.call(V)}},[l]),c.useEffect(function(){return function(){var re;V==null||(re=V.pull)===null||re===void 0||re.call(V)}},[]);var X=R&&c.createElement(qn,be({key:"mask"},N,{visible:l}),function(re,te){var J=re.className,ne=re.style;return c.createElement("div",{className:Y("".concat(i,"-mask"),J,_),style:E(E({},ne),M),onClick:I&&l?O:void 0,ref:te})}),Q=typeof C=="function"?C(s):C,ae={};if(B&&W)switch(s){case"top":ae.transform="translateY(".concat(W,"px)");break;case"bottom":ae.transform="translateY(".concat(-W,"px)");break;case"left":ae.transform="translateX(".concat(W,"px)");break;default:ae.transform="translateX(".concat(-W,"px)");break}s==="left"||s==="right"?ae.width=k3(x):ae.height=k3(S);var ee=c.createElement(qn,be({key:"panel"},Q,{visible:l,forceRender:f,onVisibleChanged:function(te){P==null||P(te)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(re,te){var J=re.className,ne=re.style;return c.createElement("div",{className:Y("".concat(i,"-content-wrapper"),J),style:E(E(E({},ae),ne),$)},c.createElement(Zee,{containerRef:te,prefixCls:i,className:h,style:b},w))}),q=E({},y);return g&&(q.zIndex=g),c.createElement(_3.Provider,{value:G},c.createElement("div",{className:Y(i,"".concat(i,"-").concat(s),m,(a={},A(a,"".concat(i,"-open"),l),A(a,"".concat(i,"-inline"),u),a)),style:q,tabIndex:-1,ref:T,onKeyDown:D},X,c.createElement("div",{tabIndex:0,ref:k,style:F3,"aria-hidden":"true","data-sentinel":"start"}),ee,c.createElement("div",{tabIndex:0,ref:F,style:F3,"aria-hidden":"true","data-sentinel":"end"})))}var ete=c.forwardRef(Jee),tte=function(t){var n=t.open,r=n===void 0?!1:n,o=t.prefixCls,a=o===void 0?"rc-drawer":o,i=t.placement,l=i===void 0?"right":i,s=t.autoFocus,u=s===void 0?!0:s,d=t.keyboard,f=d===void 0?!0:d,v=t.width,p=v===void 0?378:v,m=t.mask,y=m===void 0?!0:m,g=t.maskClosable,h=g===void 0?!0:g,b=t.getContainer,C=t.forceRender,x=t.afterOpenChange,S=t.destroyOnClose,w=c.useState(!1),$=U(w,2),R=$[0],I=$[1],N=c.useState(!1),_=U(N,2),M=_[0],P=_[1];en(function(){P(!0)},[]);var O=M?r:!1,T=c.useRef(),k=c.useRef();en(function(){O&&(k.current=document.activeElement)},[O]);var F=function(z){var B;if(I(z),x==null||x(z),!z&&k.current&&!(!((B=T.current)===null||B===void 0)&&B.contains(k.current))){var H;(H=k.current)===null||H===void 0||H.focus()}};if(!C&&!R&&!O&&S)return null;var D=E(E({},t),{},{open:O,prefixCls:a,placement:l,autoFocus:u,keyboard:f,width:p,mask:y,maskClosable:h,inline:b===!1,afterOpenChange:F,ref:T});return c.createElement(wf,{open:O||C||R,autoDestroy:!1,getContainer:b,autoLock:y&&(O||R)},c.createElement(ete,D))};const nte=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closable:a=!0,closeIcon:i=c.createElement(es,null),onClose:l,headerStyle:s,drawerStyle:u,bodyStyle:d,footerStyle:f,children:v}=e,p=a&&c.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${t}-close`},i),m=c.useMemo(()=>!n&&!a?null:c.createElement("div",{style:s,className:Y(`${t}-header`,{[`${t}-header-close-only`]:a&&!n&&!o})},c.createElement("div",{className:`${t}-header-title`},p,n&&c.createElement("div",{className:`${t}-title`},n)),o&&c.createElement("div",{className:`${t}-extra`},o)),[a,p,o,s,t,n]),y=c.useMemo(()=>{if(!r)return null;const g=`${t}-footer`;return c.createElement("div",{className:g,style:f},r)},[r,f,t]);return c.createElement("div",{className:`${t}-wrapper-body`,style:u},m,c.createElement("div",{className:`${t}-body`,style:d},v),y)},PT=nte,rte=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},ote=rte,ate=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:a,motionDurationMid:i,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:d,lineWidth:f,lineType:v,colorSplit:p,marginSM:m,colorIcon:y,colorIconHover:g,colorText:h,fontWeightStrong:b,drawerFooterPaddingVertical:C,drawerFooterPaddingHorizontal:x}=e,S=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[S]:{position:"absolute",zIndex:n,transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${S}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${S}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${S}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${S}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:u,lineHeight:d,borderBottom:`${f}px ${v} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:m,color:y,fontWeight:b,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${i}`,textRendering:"auto","&:focus, &:hover":{color:g,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:h,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:d},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${C}px ${x}px`,borderTop:`${f}px ${v} ${p}`},"&-rtl":{direction:"rtl"}}}},OT=Kt("Drawer",e=>{const t=xt(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[ate(t),ote(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var MT=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oy(document.body):f,w=Y({"no-mask":!a,[`${b}-rtl`]:h==="rtl"},t,x),$=c.useMemo(()=>n??(o==="large"?736:378),[n,o]),R=c.useMemo(()=>r??(o==="large"?736:378),[r,o]),I={motionName:Hr(b,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},N=_=>({motionName:Hr(b,`panel-motion-${_}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500});return C(c.createElement(Bl,null,c.createElement(Vd,{status:!0,override:!0},c.createElement(tte,Object.assign({prefixCls:b,onClose:u,maskMotion:I,motion:N},m,{open:l??v,mask:a,push:i,width:$,height:R,rootClassName:w,getContainer:S,afterOpenChange:s??p}),c.createElement(PT,Object.assign({prefixCls:b},m,{onClose:u}))))))}function lte(e){var{prefixCls:t,style:n,className:r,placement:o="right"}=e,a=MT(e,["prefixCls","style","className","placement"]);const{getPrefixCls:i}=c.useContext(nt),l=i("drawer",t),[s,u]=OT(l);return s(c.createElement("div",{className:Y(l,`${l}-pure`,`${l}-${o}`,u,r),style:n},c.createElement(PT,Object.assign({prefixCls:l},a))))}RT._InternalPanelDoNotUseOrYouWillBeFired=lte;function Im(e){const[t,n]=c.useState(e);return c.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const ste=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},cte=ste,ute=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, - input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),D3=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},dte=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},Lt(e)),ute(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},D3(e,e.controlHeightSM)),"&-large":Object.assign({},D3(e,e.controlHeightLG))})}},fte=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},Lt(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:SS,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},vte=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},pte=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},_s=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),mte=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:_s(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, - ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},gte=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, - .${r}-col-24${n}-label, - .${r}-col-xl-24${n}-label`]:_s(e),[`@media (max-width: ${e.screenXSMax}px)`]:[mte(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:_s(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:_s(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:_s(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:_s(e)}}}},C2=Kt("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=xt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[dte(r),fte(r),cte(r),vte(r),pte(r),gte(r),QR(r),SS]}),L3=[];function i1(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}function IT(e){let{help:t,helpStatus:n,errors:r=L3,warnings:o=L3,className:a,fieldId:i,onVisibleChanged:l}=e;const{prefixCls:s}=c.useContext(xS),u=`${s}-item-explain`,[,d]=C2(s),f=c.useMemo(()=>gb(s),[s]),v=Im(r),p=Im(o),m=c.useMemo(()=>t!=null?[i1(t,"help",n)]:[].concat(xe(v.map((g,h)=>i1(g,"error","error",h))),xe(p.map((g,h)=>i1(g,"warning","warning",h)))),[t,n,v,p]),y={};return i&&(y.id=`${i}_help`),c.createElement(qn,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!m.length,onVisibleChanged:l},g=>{const{className:h,style:b}=g;return c.createElement("div",Object.assign({},y,{className:Y(u,h,a,d),style:b,role:"alert"}),c.createElement(NR,Object.assign({keys:m},gb(s),{motionName:`${s}-show-help-item`,component:!1}),C=>{const{key:x,error:S,errorStatus:w,className:$,style:R}=C;return c.createElement("div",{key:x,className:Y($,{[`${u}-${w}`]:w}),style:R},S)}))})}const hte=["parentNode"],yte="form_item";function fd(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function NT(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:hte.includes(n)?`${yte}_${n}`:n}function A3(e){return fd(e).join("_")}function TT(e){const[t]=lS(),n=c.useRef({}),r=c.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>a=>{const i=A3(o);a?n.current[i]=a:delete n.current[i]}},scrollToField:function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=fd(o),l=NT(i,r.__INTERNAL__.name),s=l?document.getElementById(l):null;s&&MB(s,Object.assign({scrollMode:"if-needed",block:"nearest"},a))},getFieldInstance:o=>{const a=A3(o);return n.current[a]}}),[e,t]);return[r]}var bte=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(or),r=c.useContext(Vr),{getPrefixCls:o,direction:a,form:i}=c.useContext(nt),{prefixCls:l,className:s,rootClassName:u,size:d=n,disabled:f=r,form:v,colon:p,labelAlign:m,labelWrap:y,labelCol:g,wrapperCol:h,hideRequiredMark:b,layout:C="horizontal",scrollToFirstError:x,requiredMark:S,onFinishFailed:w,name:$}=e,R=bte(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),I=c.useMemo(()=>S!==void 0?S:i&&i.requiredMark!==void 0?i.requiredMark:!b,[b,S,i]),N=p??(i==null?void 0:i.colon),_=o("form",l),[M,P]=C2(_),O=Y(_,{[`${_}-${C}`]:!0,[`${_}-hide-required-mark`]:I===!1,[`${_}-rtl`]:a==="rtl",[`${_}-${d}`]:d},P,s,u),[T]=TT(v),{__INTERNAL__:k}=T;k.name=$;const F=c.useMemo(()=>({name:$,labelAlign:m,labelCol:g,labelWrap:y,wrapperCol:h,vertical:C==="vertical",colon:N,requiredMark:I,itemRef:k.itemRef,form:T}),[$,m,g,h,C,N,I,T]);c.useImperativeHandle(t,()=>T);const D=(z,B)=>{if(z){let H={block:"nearest"};typeof z=="object"&&(H=z),T.scrollToField(B,H)}},j=z=>{if(w==null||w(z),z.errorFields.length){const B=z.errorFields[0].name;if(x!==void 0){D(x,B);return}i&&i.scrollToFirstError!==void 0&&D(i.scrollToFirstError,B)}};return M(c.createElement(iR,{disabled:f},c.createElement(lR,{size:d},c.createElement(Yi.Provider,{value:F},c.createElement(Uc,Object.assign({id:$},R,{name:$,onFinishFailed:j,form:T,className:O}))))))},xte=c.forwardRef(Cte),Ste=xte,_T=()=>{const{status:e,errors:t=[],warnings:n=[]}=c.useContext(mr);return{status:e,errors:t,warnings:n}};_T.Context=mr;const wte=_T;function $te(e){const[t,n]=c.useState(e),r=c.useRef(null),o=c.useRef([]),a=c.useRef(!1);c.useEffect(()=>(a.current=!1,()=>{a.current=!0,kt.cancel(r.current),r.current=null}),[]);function i(l){a.current||(r.current===null&&(o.current=[],r.current=kt(()=>{r.current=null,n(s=>{let u=s;return o.current.forEach(d=>{u=d(u)}),u})})),o.current.push(l))}return[t,i]}function Ete(){const{itemRef:e}=c.useContext(Yi),t=c.useRef({});function n(r,o){const a=o&&typeof o=="object"&&o.ref,i=r.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=rr(e(r),a)),t.current.ref}return n}const Pte=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:a,warnings:i,_internalItemRender:l,extra:s,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:v}=e,p=`${t}-item`,m=c.useContext(Yi),y=r||m.wrapperCol||{},g=Y(`${p}-control`,y.className),h=c.useMemo(()=>Object.assign({},m),[m]);delete h.labelCol,delete h.wrapperCol;const b=c.createElement("div",{className:`${p}-control-input`},c.createElement("div",{className:`${p}-control-input-content`},o)),C=c.useMemo(()=>({prefixCls:t,status:n}),[t,n]),x=f!==null||a.length||i.length?c.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},c.createElement(xS.Provider,{value:C},c.createElement(IT,{fieldId:d,errors:a,warnings:i,help:u,helpStatus:n,className:`${p}-explain-connected`,onVisibleChanged:v})),!!f&&c.createElement("div",{style:{width:0,height:f}})):null,S={};d&&(S.id=`${d}_extra`);const w=s?c.createElement("div",Object.assign({},S,{className:`${p}-extra`}),s):null,$=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:b,errorList:x,extra:w}):c.createElement(c.Fragment,null,b,x,w);return c.createElement(Yi.Provider,{value:h},c.createElement(y2,Object.assign({},y,{className:g}),$))},Ote=Pte;var Mte={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const Rte=Mte;var kT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Rte}))};kT.displayName="QuestionCircleOutlined";const Ite=c.forwardRef(kT);var Nte=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:a,colon:i,required:l,requiredMark:s,tooltip:u}=e;var d;const[f]=Ng("Form"),{vertical:v,labelAlign:p,labelCol:m,labelWrap:y,colon:g}=c.useContext(Yi);if(!n)return null;const h=o||m||{},b=a||p,C=`${t}-item-label`,x=Y(C,b==="left"&&`${C}-left`,h.className,{[`${C}-wrap`]:!!y});let S=n;const w=i===!0||g!==!1&&i!==!1;w&&!v&&typeof n=="string"&&n.trim()!==""&&(S=n.replace(/[:|:]\s*$/,""));const R=Tte(u);if(R){const{icon:N=c.createElement(Ite,null)}=R,_=Nte(R,["icon"]),M=c.createElement(tl,Object.assign({},_),c.cloneElement(N,{className:`${t}-item-tooltip`,title:""}));S=c.createElement(c.Fragment,null,S,M)}s==="optional"&&!l&&(S=c.createElement(c.Fragment,null,S,c.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((d=Ui.Form)===null||d===void 0?void 0:d.optional))));const I=Y({[`${t}-item-required`]:l,[`${t}-item-required-mark-optional`]:s==="optional",[`${t}-item-no-colon`]:!w});return c.createElement(y2,Object.assign({},h,{className:x}),c.createElement("label",{htmlFor:r,className:I,title:typeof n=="string"?n:""},S))},kte=_te;var Fte=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(R&&x.current){const F=getComputedStyle(x.current);_(parseInt(F.marginBottom,10))}},[R,I]);const M=F=>{F||_(null)},O=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,D="";const j=F?S:u.errors,z=F?w:u.warnings;return s!==void 0?D=s:u.validating?D="validating":j.length?D="error":z.length?D="warning":(u.touched||d&&u.validated)&&(D="success"),D}(),T=c.useMemo(()=>{let F;if(d){const D=O&&Dte[O];F=D?c.createElement("span",{className:Y(`${b}-feedback-icon`,`${b}-feedback-icon-${O}`)},c.createElement(D,null)):null}return{status:O,errors:i,warnings:l,hasFeedback:d,feedbackIcon:F,isFormItemInput:!0}},[O,d]),k=Y(b,n,r,{[`${b}-with-help`]:$||S.length||w.length,[`${b}-has-feedback`]:O&&d,[`${b}-has-success`]:O==="success",[`${b}-has-warning`]:O==="warning",[`${b}-has-error`]:O==="error",[`${b}-is-validating`]:O==="validating",[`${b}-hidden`]:f});return c.createElement("div",{className:k,style:o,ref:x},c.createElement(yT,Object.assign({className:`${b}-row`},$n(h,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),c.createElement(kte,Object.assign({htmlFor:p},e,{requiredMark:C,required:m??y,prefixCls:t})),c.createElement(Ote,Object.assign({},e,u,{errors:S,warnings:w,prefixCls:t,status:O,help:a,marginBottom:N,onErrorVisibleChanged:M}),c.createElement(XR.Provider,{value:g},c.createElement(mr.Provider,{value:T},v)))),!!N&&c.createElement("div",{className:`${b}-margin-offset`,style:{marginBottom:-N}}))}function Ate(e){if(typeof e=="function")return e;const t=Mr(e);return t.length<=1?t[0]:t}const jte="__SPLIT__",zte=c.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function Hte(e){return e!=null}function j3(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Bte(e){const{name:t,noStyle:n,className:r,dependencies:o,prefixCls:a,shouldUpdate:i,rules:l,children:s,required:u,label:d,messageVariables:f,trigger:v="onChange",validateTrigger:p,hidden:m,help:y}=e,{getPrefixCls:g}=c.useContext(nt),{name:h}=c.useContext(Yi),b=Ate(s),C=typeof b=="function",x=c.useContext(XR),{validateTrigger:S}=c.useContext(jl),w=p!==void 0?p:S,$=Hte(t),R=g("form",a),[I,N]=C2(R),_=c.useContext(um),M=c.useRef(),[P,O]=$te({}),[T,k]=Bi(()=>j3()),F=K=>{const W=_==null?void 0:_.getKey(K.name);if(k(K.destroy?j3():K,!0),n&&y!==!1&&x){let G=K.name;if(K.destroy)G=M.current||G;else if(W!==void 0){const[X,Q]=W;G=[X].concat(xe(Q)),M.current=G}x(K,G)}},D=(K,W)=>{O(G=>{const X=Object.assign({},G),ae=[].concat(xe(K.name.slice(0,-1)),xe(W)).join(jte);return K.destroy?delete X[ae]:X[ae]=K,X})},[j,z]=c.useMemo(()=>{const K=xe(T.errors),W=xe(T.warnings);return Object.values(P).forEach(G=>{K.push.apply(K,xe(G.errors||[])),W.push.apply(W,xe(G.warnings||[]))}),[K,W]},[P,T.errors,T.warnings]),B=Ete();function H(K,W,G){return n&&!m?K:c.createElement(Lte,Object.assign({key:"row"},e,{className:Y(r,N),prefixCls:R,fieldId:W,isRequired:G,errors:j,warnings:z,meta:T,onSubItemMetaChange:D}),K)}if(!$&&!C&&!o)return I(H(b));let V={};return typeof d=="string"?V.label=d:t&&(V.label=String(t)),f&&(V=Object.assign(Object.assign({},V),f)),I(c.createElement(iS,Object.assign({},e,{messageVariables:V,trigger:v,validateTrigger:w,onMetaChange:F}),(K,W,G)=>{const X=fd(t).length&&W?W.name:[],Q=NT(X,h),ae=u!==void 0?u:!!(l&&l.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const te=re(G);return te&&te.required&&!te.warningOnly}return!1})),ee=Object.assign({},K);let q=null;if(Array.isArray(b)&&$)q=b;else if(!(C&&(!(i||o)||$))){if(!(o&&!C&&!$))if(Fo(b)){const re=Object.assign(Object.assign({},b.props),ee);if(re.id||(re.id=Q),y||j.length>0||z.length>0||e.extra){const ne=[];(y||j.length>0)&&ne.push(`${Q}_help`),e.extra&&ne.push(`${Q}_extra`),re["aria-describedby"]=ne.join(" ")}j.length>0&&(re["aria-invalid"]="true"),ae&&(re["aria-required"]="true"),Zl(b)&&(re.ref=B(X,b)),new Set([].concat(xe(fd(v)),xe(fd(w)))).forEach(ne=>{re[ne]=function(){for(var oe,le,de,pe,se,ve=arguments.length,ge=new Array(ve),ce=0;ce{var{prefixCls:t,children:n}=e,r=Wte(e,["prefixCls","children"]);const{getPrefixCls:o}=c.useContext(nt),a=o("form",t),i=c.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return c.createElement(YM,Object.assign({},r),(l,s,u)=>c.createElement(xS.Provider,{value:i},n(l.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),s,{errors:u.errors,warnings:u.warnings})))},Ute=Kte;function Yte(){const{form:e}=c.useContext(Yi);return e}const ci=Ste;ci.Item=Vte;ci.List=Ute;ci.ErrorList=IT;ci.useForm=TT;ci.useFormInstance=Yte;ci.useWatch=XM;ci.Provider=fW;ci.create=()=>{};const Do=ci;var Gte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const Xte=Gte;var DT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Xte}))};DT.displayName="EyeOutlined";const x2=c.forwardRef(DT);function LT(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function qte(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var Qte=["visible","onVisibleChange","getContainer","current","countRender","onChange"],S2=c.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),Zte=S2.Provider;function l1(e,t){if(t!==void 0){var n=e.indexOf(t);if(n!==-1)return n}}var Jte=function(t){var n=t.previewPrefixCls,r=n===void 0?"rc-image-preview":n,o=t.children,a=t.icons,i=a===void 0?{}:a,l=t.preview,s=We(l)==="object"?l:{},u=s.visible,d=u===void 0?void 0:u,f=s.onVisibleChange,v=f===void 0?void 0:f,p=s.getContainer,m=p===void 0?void 0:p,y=s.current,g=y===void 0?0:y,h=s.countRender,b=h===void 0?void 0:h,C=s.onChange,x=C===void 0?void 0:C,S=Oe(s,Qte),w=c.useState(new Map),$=U(w,2),R=$[0],I=$[1],N=Array.from(R.keys()),_=c.useRef(),M=yt(void 0,{onChange:function(ee,q){_.current!==void 0&&(x==null||x(l1(N,ee),l1(N,q))),_.current=q}}),P=U(M,2),O=P[0],T=P[1],k=yt(!!d,{value:d,onChange:function(ee,q){v==null||v(ee,q,l1(N,O)),_.current=ee?O:void 0}}),F=U(k,2),D=F[0],j=F[1],z=c.useState(null),B=U(z,2),H=B[0],V=B[1],K=d!==void 0,W=N[g],G=new Map(Array.from(R).filter(function(ae){var ee=U(ae,2),q=ee[1].canPreview;return!!q}).map(function(ae){var ee=U(ae,2),q=ee[0],re=ee[1].url;return[q,re]})),X=function(ee,q){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,te=function(){I(function(ne){var oe=new Map(ne),le=oe.delete(ee);return le?oe:ne})};return I(function(J){return new Map(J).set(ee,{url:q,canPreview:re})}),te},Q=function(ee){ee.stopPropagation(),j(!1),V(null)};return c.useEffect(function(){T(W)},[W]),c.useEffect(function(){!D&&K&&T(W)},[W,K,D]),c.createElement(Zte,{value:{isPreviewGroup:!0,previewUrls:G,setPreviewUrls:I,current:O,setCurrent:T,setShowPreview:j,setMousePosition:V,registerImage:X}},o,c.createElement(AT,be({"aria-hidden":!D,visible:D,prefixCls:r,onClose:Q,mousePosition:H,src:G.get(O),icons:i,getContainer:m,countRender:b},S)))},yp=1,bp=50,Nu=1,ene=1,tne=function(t){var n,r=t.visible,o=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,l=t.rootClassName,s=t.icons,u=t.countRender,d=t.showSwitch,f=t.showProgress,v=t.current,p=t.count,m=t.scale,y=t.onSwitchLeft,g=t.onSwitchRight,h=t.onClose,b=t.onZoomIn,C=t.onZoomOut,x=t.onRotateRight,S=t.onRotateLeft,w=t.onFlipX,$=t.onFlipY,R=s.rotateLeft,I=s.rotateRight,N=s.zoomIn,_=s.zoomOut,M=s.close,P=s.left,O=s.right,T=s.flipX,k=s.flipY,F="".concat(i,"-operations-operation"),D="".concat(i,"-operations-icon"),j=[{icon:M,onClick:h,type:"close"},{icon:N,onClick:b,type:"zoomIn",disabled:m===bp},{icon:_,onClick:C,type:"zoomOut",disabled:m===yp},{icon:I,onClick:x,type:"rotateRight"},{icon:R,onClick:S,type:"rotateLeft"},{icon:T,onClick:w,type:"flipX"},{icon:k,onClick:$,type:"flipY"}],z=c.createElement(c.Fragment,null,d&&c.createElement(c.Fragment,null,c.createElement("div",{className:Y("".concat(i,"-switch-left"),A({},"".concat(i,"-switch-left-disabled"),v===0)),onClick:y},P),c.createElement("div",{className:Y("".concat(i,"-switch-right"),A({},"".concat(i,"-switch-right-disabled"),v===p-1)),onClick:g},O)),c.createElement("ul",{className:"".concat(i,"-operations")},f&&c.createElement("li",{className:"".concat(i,"-operations-progress")},(n=u==null?void 0:u(v+1,p))!==null&&n!==void 0?n:"".concat(v+1," / ").concat(p)),j.map(function(B){var H,V=B.icon,K=B.onClick,W=B.type,G=B.disabled;return c.createElement("li",{className:Y(F,(H={},A(H,"".concat(i,"-operations-operation-").concat(W),!0),A(H,"".concat(i,"-operations-operation-disabled"),!!G),H)),onClick:K,key:W},c.isValidElement(V)?c.cloneElement(V,{className:D}):V)})));return c.createElement(qn,{visible:r,motionName:o},function(B){var H=B.className,V=B.style;return c.createElement(wf,{open:!0,getContainer:a??document.body},c.createElement("div",{className:Y("".concat(i,"-operations-wrapper"),H,l),style:V},z))})},z3={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function nne(e){var t=c.useRef(null),n=c.useRef([]),r=c.useState(z3),o=U(r,2),a=o[0],i=o[1],l=function(){i(z3)},s=function(f){t.current===null&&(n.current=[],t.current=kt(function(){i(function(v){var p=v;return n.current.forEach(function(m){p=E(E({},p),m)}),t.current=null,p})})),n.current.push(E(E({},a),f))},u=function(f,v,p){var m=e.current,y=m.width,g=m.height,h=m.offsetWidth,b=m.offsetHeight,C=m.offsetLeft,x=m.offsetTop,S=f,w=a.scale*f;w>bp?(S=bp/a.scale,w=bp):wr){if(t>0)return A({},e,a);if(t<0&&or)return A({},e,t<0?a:-a);return{}}function rne(e,t,n,r){var o=LT(),a=o.width,i=o.height,l=null;return e<=a&&t<=i?l={x:0,y:0}:(e>a||t>i)&&(l=E(E({},H3("x",n,e,a)),H3("y",r,t,i))),l}var one=["prefixCls","src","alt","onClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],AT=function(t){var n=t.prefixCls,r=t.src,o=t.alt,a=t.onClose,i=t.visible,l=t.icons,s=l===void 0?{}:l,u=t.rootClassName,d=t.getContainer,f=t.countRender,v=t.scaleStep,p=v===void 0?.5:v,m=t.transitionName,y=m===void 0?"zoom":m,g=t.maskTransitionName,h=g===void 0?"fade":g,b=Oe(t,one),C=c.useRef(),x=c.useRef({deltaX:0,deltaY:0,transformX:0,transformY:0}),S=c.useState(!1),w=U(S,2),$=w[0],R=w[1],I=c.useContext(S2),N=I.previewUrls,_=I.current,M=I.isPreviewGroup,P=I.setCurrent,O=N.size,T=Array.from(N.keys()),k=T.indexOf(_),F=M?N.get(_):r,D=M&&O>1,j=M&&O>=1,z=nne(C),B=z.transform,H=z.resetTransform,V=z.updateTransform,K=z.dispatchZoomChange,W=B.rotate,G=B.scale,X=Y(A({},"".concat(n,"-moving"),$)),Q=function(){H()},ae=function(){K(Nu+p)},ee=function(){K(Nu-p)},q=function(){V({rotate:W+90})},re=function(){V({rotate:W-90})},te=function(){V({flipX:!B.flipX})},J=function(){V({flipY:!B.flipY})},ne=function(ie){ie.preventDefault(),ie.stopPropagation(),k>0&&P(T[k-1])},oe=function(ie){ie.preventDefault(),ie.stopPropagation(),k0&&(Ce=Nu/Ce),K(Ce,ie.clientX,ie.clientY)}},ve=c.useCallback(function(ce){!i||!D||(ce.keyCode===ue.LEFT?k>0&&P(T[k-1]):ce.keyCode===ue.RIGHT&&k({position:e||"absolute",inset:0}),Sne=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new Yt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${a}-mask-info`]:Object.assign(Object.assign({},ra),{padding:`0 ${r}px`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},wne=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,imagePreviewOperationDisabledColor:o,motionDurationSlow:a}=e,i=new Yt(n).setAlpha(.1),l=i.clone().setAlpha(.2);return{[`${t}-operations`]:Object.assign(Object.assign({},Lt(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.imagePreviewOperationColor,listStyle:"none",background:i.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${a}`,"&:hover":{background:l.toRgbString()},"&-disabled":{color:o,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.imagePreviewOperationSize}})}},$ne=e=>{const{modalMaskBg:t,iconCls:n,imagePreviewOperationDisabledColor:r,previewCls:o,zIndexPopup:a,motionDurationSlow:i}=e,l=new Yt(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:a+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.imagePreviewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${i}`,pointerEvents:"auto","&:hover":{background:s.toRgbString()},["&-disabled"]:{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.imagePreviewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},Ene=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},Ub()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":Object.assign(Object.assign({},Ub()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[wne(e),$ne(e)]}]},Pne=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Sne(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},Ub())}}},One=e=>{const{previewCls:t}=e;return{[`${t}-root`]:$f(e,"zoom"),["&"]:qR(e,!0)}},WT=Kt("Image",e=>{const t=new Yt(e.colorTextLightSolid),n=`${e.componentCls}-preview`,r=xt(e,{previewCls:n,imagePreviewOperationColor:t.toRgbString(),imagePreviewOperationDisabledColor:new Yt(t).setAlpha(.25).toRgbString(),modalMaskBg:new Yt("#000").setAlpha(.45).toRgbString(),imagePreviewOperationSize:e.fontSizeIcon*1.5,imagePreviewSwitchSize:e.controlHeightLG});return[Pne(r),Ene(r),WW(xt(r,{componentCls:n})),One(r)]},e=>({zIndexPopup:e.zIndexPopupBase+80}));var Mne=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:n}=e,r=Mne(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=c.useContext(nt),a=o("image",t),i=`${a}-preview`,l=o(),[s,u]=WT(a),d=c.useMemo(()=>{var f;if(n===!1)return n;const v=typeof n=="object"?n:{},p=Y(u,(f=v.rootClassName)!==null&&f!==void 0?f:"");return Object.assign(Object.assign({},v),{transitionName:Hr(l,"zoom",v.transitionName),maskTransitionName:Hr(l,"fade",v.maskTransitionName),rootClassName:p})},[n]);return s(c.createElement(ah.PreviewGroup,Object.assign({preview:d,previewPrefixCls:i,icons:KT},r)))},Ine=Rne;var W3=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,preview:n,rootClassName:r}=e,o=W3(e,["prefixCls","preview","rootClassName"]);const{getPrefixCls:a,locale:i=Ui,getPopupContainer:l}=c.useContext(nt),s=a("image",t),u=a(),d=i.Image||Ui.Image,[f,v]=WT(s),p=Y(r,v),m=c.useMemo(()=>{if(n===!1)return n;const y=typeof n=="object"?n:{},{getContainer:g}=y,h=W3(y,["getContainer"]);return Object.assign(Object.assign({mask:c.createElement("div",{className:`${s}-mask-info`},c.createElement(x2,null),d==null?void 0:d.preview),icons:KT},h),{getContainer:g||l,transitionName:Hr(u,"zoom",y.transitionName),maskTransitionName:Hr(u,"fade",y.maskTransitionName)})},[n,d]);return f(c.createElement(ah,Object.assign({prefixCls:`${s}`,preview:m,rootClassName:p},o)))};UT.PreviewGroup=Ine;const Nne=UT,Tne=e=>{const{getPrefixCls:t,direction:n}=c.useContext(nt),{prefixCls:r,className:o=""}=e,a=t("input-group",r),i=t("input"),[l,s]=d2(i),u=Y(a,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:n==="rtl"},s,o),d=c.useContext(mr),f=c.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return l(c.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(mr.Provider,{value:f},e.children)))},_ne=Tne;function $s(e){return!!(e.addonBefore||e.addonAfter)}function s1(e){return!!(e.prefix||e.suffix||e.allowClear)}function vd(e,t,n,r){if(n){var o=t;if(t.type==="click"){var a=e.cloneNode(!0);o=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(o);return}if(r!==void 0){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function kne(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}function Yb(e){return typeof e>"u"||e===null?"":String(e)}var YT=function(t){var n,r,o=t.inputElement,a=t.prefixCls,i=t.prefix,l=t.suffix,s=t.addonBefore,u=t.addonAfter,d=t.className,f=t.style,v=t.disabled,p=t.readOnly,m=t.focused,y=t.triggerFocus,g=t.allowClear,h=t.value,b=t.handleReset,C=t.hidden,x=t.classes,S=t.classNames,w=t.dataAttrs,$=t.styles,R=c.useRef(null),I=function(B){var H;(H=R.current)!==null&&H!==void 0&&H.contains(B.target)&&(y==null||y())},N=function(){var B;if(!g)return null;var H=!v&&!p&&h,V="".concat(a,"-clear-icon"),K=We(g)==="object"&&g!==null&&g!==void 0&&g.clearIcon?g.clearIcon:"✖";return Z.createElement("span",{onClick:b,onMouseDown:function(G){return G.preventDefault()},className:Y(V,(B={},A(B,"".concat(V,"-hidden"),!H),A(B,"".concat(V,"-has-suffix"),!!l),B)),role:"button",tabIndex:-1},K)},_=c.cloneElement(o,{value:h,hidden:C,className:Y((n=o.props)===null||n===void 0?void 0:n.className,!s1(t)&&!$s(t)&&d)||null,style:E(E({},(r=o.props)===null||r===void 0?void 0:r.style),!s1(t)&&!$s(t)?f:{})});if(s1(t)){var M,P="".concat(a,"-affix-wrapper"),O=Y(P,(M={},A(M,"".concat(P,"-disabled"),v),A(M,"".concat(P,"-focused"),m),A(M,"".concat(P,"-readonly"),p),A(M,"".concat(P,"-input-with-clear-btn"),l&&g&&h),M),!$s(t)&&d,x==null?void 0:x.affixWrapper),T=(l||g)&&Z.createElement("span",{className:Y("".concat(a,"-suffix"),S==null?void 0:S.suffix),style:$==null?void 0:$.suffix},N(),l);_=Z.createElement("span",be({className:O,style:$s(t)?void 0:f,hidden:!$s(t)&&C,onClick:I},w==null?void 0:w.affixWrapper,{ref:R}),i&&Z.createElement("span",{className:Y("".concat(a,"-prefix"),S==null?void 0:S.prefix),style:$==null?void 0:$.prefix},i),c.cloneElement(o,{value:h,hidden:null}),T)}if($s(t)){var k="".concat(a,"-group"),F="".concat(k,"-addon"),D=Y("".concat(a,"-wrapper"),k,x==null?void 0:x.wrapper),j=Y("".concat(a,"-group-wrapper"),d,x==null?void 0:x.group);return Z.createElement("span",{className:j,style:f,hidden:C},Z.createElement("span",{className:D},s&&Z.createElement("span",{className:F},s),c.cloneElement(_,{hidden:null}),u&&Z.createElement("span",{className:F},u)))}return _},Fne=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Dne=c.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,a=e.onBlur,i=e.onPressEnter,l=e.onKeyDown,s=e.prefixCls,u=s===void 0?"rc-input":s,d=e.disabled,f=e.htmlSize,v=e.className,p=e.maxLength,m=e.suffix,y=e.showCount,g=e.type,h=g===void 0?"text":g,b=e.classes,C=e.classNames,x=e.styles,S=Oe(e,Fne),w=yt(e.defaultValue,{value:e.value}),$=U(w,2),R=$[0],I=$[1],N=c.useState(!1),_=U(N,2),M=_[0],P=_[1],O=c.useRef(null),T=function(K){O.current&&kne(O.current,K)};c.useImperativeHandle(t,function(){return{focus:T,blur:function(){var K;(K=O.current)===null||K===void 0||K.blur()},setSelectionRange:function(K,W,G){var X;(X=O.current)===null||X===void 0||X.setSelectionRange(K,W,G)},select:function(){var K;(K=O.current)===null||K===void 0||K.select()},input:O.current}}),c.useEffect(function(){P(function(V){return V&&d?!1:V})},[d]);var k=function(K){e.value===void 0&&I(K.target.value),O.current&&vd(O.current,K,r)},F=function(K){i&&K.key==="Enter"&&i(K),l==null||l(K)},D=function(K){P(!0),o==null||o(K)},j=function(K){P(!1),a==null||a(K)},z=function(K){I(""),T(),O.current&&vd(O.current,K,r)},B=function(){var K=$n(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return Z.createElement("input",be({autoComplete:n},K,{onChange:k,onFocus:D,onBlur:j,onKeyDown:F,className:Y(u,A({},"".concat(u,"-disabled"),d),C==null?void 0:C.input),style:x==null?void 0:x.input,ref:O,size:f,type:h}))},H=function(){var K=Number(p)>0;if(m||y){var W=Yb(R),G=xe(W).length,X=We(y)==="object"?y.formatter({value:W,count:G,maxLength:p}):"".concat(G).concat(K?" / ".concat(p):"");return Z.createElement(Z.Fragment,null,!!y&&Z.createElement("span",{className:Y("".concat(u,"-show-count-suffix"),A({},"".concat(u,"-show-count-has-suffix"),!!m),C==null?void 0:C.count),style:E({},x==null?void 0:x.count)},X),m)}return null};return Z.createElement(YT,be({},S,{prefixCls:u,className:v,inputElement:B(),handleReset:z,value:Yb(R),focused:M,triggerFocus:T,suffix:H(),disabled:d,classes:b,classNames:C,styles:x}))});function GT(e,t){const n=c.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var o,a,i,l;!((o=e.current)===null||o===void 0)&&o.input&&((a=e.current)===null||a===void 0?void 0:a.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return c.useEffect(()=>(t&&r(),()=>n.current.forEach(o=>{o&&clearTimeout(o)})),[]),r}function Lne(e){return!!(e.prefix||e.suffix||e.allowClear)}var Ane=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,bordered:r=!0,status:o,size:a,disabled:i,onBlur:l,onFocus:s,suffix:u,allowClear:d,addonAfter:f,addonBefore:v,className:p,rootClassName:m,onChange:y,classNames:g}=e,h=Ane(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","rootClassName","onChange","classNames"]),{getPrefixCls:b,direction:C,input:x}=Z.useContext(nt),S=b("input",n),w=c.useRef(null),[$,R]=d2(S),{compactSize:I,compactItemClassnames:N}=Pa(S,C),_=Z.useContext(or),M=I||a||_,P=Z.useContext(Vr),O=i??P,{status:T,hasFeedback:k,feedbackIcon:F}=c.useContext(mr),D=el(T,o),j=Lne(e)||!!k,z=c.useRef(j);c.useEffect(()=>{j&&z.current,z.current=j},[j]);const B=GT(w,!0),H=X=>{B(),l==null||l(X)},V=X=>{B(),s==null||s(X)},K=X=>{B(),y==null||y(X)},W=(k||u)&&Z.createElement(Z.Fragment,null,u,k&&F);let G;return typeof d=="object"&&(d!=null&&d.clearIcon)?G=d:d&&(G={clearIcon:Z.createElement(si,null)}),$(Z.createElement(Dne,Object.assign({ref:rr(t,w),prefixCls:S,autoComplete:x==null?void 0:x.autoComplete},h,{disabled:O,onBlur:H,onFocus:V,suffix:W,allowClear:G,className:Y(p,m,N),onChange:K,addonAfter:f&&Z.createElement(Bl,null,Z.createElement(Vd,{override:!0,status:!0},f)),addonBefore:v&&Z.createElement(Bl,null,Z.createElement(Vd,{override:!0,status:!0},v)),classNames:Object.assign(Object.assign({},g),{input:Y({[`${S}-sm`]:M==="small",[`${S}-lg`]:M==="large",[`${S}-rtl`]:C==="rtl",[`${S}-borderless`]:!r},!j&&lo(S,D),g==null?void 0:g.input,R)}),classes:{affixWrapper:Y({[`${S}-affix-wrapper-sm`]:M==="small",[`${S}-affix-wrapper-lg`]:M==="large",[`${S}-affix-wrapper-rtl`]:C==="rtl",[`${S}-affix-wrapper-borderless`]:!r},lo(`${S}-affix-wrapper`,D,k),R),wrapper:Y({[`${S}-group-rtl`]:C==="rtl"},R),group:Y({[`${S}-group-wrapper-sm`]:M==="small",[`${S}-group-wrapper-lg`]:M==="large",[`${S}-group-wrapper-rtl`]:C==="rtl",[`${S}-group-wrapper-disabled`]:O},lo(`${S}-group-wrapper`,D,k),R)}})))}),w2=zne;var Hne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const Bne=Hne;var XT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Bne}))};XT.displayName="EyeInvisibleOutlined";const qT=c.forwardRef(XT);var Vne=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oe?c.createElement(x2,null):c.createElement(qT,null),Kne={click:"onClick",hover:"onMouseOver"},Une=c.forwardRef((e,t)=>{const{visibilityToggle:n=!0}=e,r=typeof n=="object"&&n.visible!==void 0,[o,a]=c.useState(()=>r?n.visible:!1),i=c.useRef(null);c.useEffect(()=>{r&&a(n.visible)},[r,n]);const l=GT(i),s=()=>{const{disabled:S}=e;S||(o&&l(),a(w=>{var $;const R=!w;return typeof n=="object"&&(($=n.onVisibleChange)===null||$===void 0||$.call(n,R)),R}))},u=S=>{const{action:w="click",iconRender:$=Wne}=e,R=Kne[w]||"",I=$(o),N={[R]:s,className:`${S}-icon`,key:"passwordIcon",onMouseDown:_=>{_.preventDefault()},onMouseUp:_=>{_.preventDefault()}};return c.cloneElement(c.isValidElement(I)?I:c.createElement("span",null,I),N)},{className:d,prefixCls:f,inputPrefixCls:v,size:p}=e,m=Vne(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=c.useContext(nt),g=y("input",v),h=y("input-password",f),b=n&&u(h),C=Y(h,d,{[`${h}-${p}`]:!!p}),x=Object.assign(Object.assign({},$n(m,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:C,prefixCls:g,suffix:b});return p&&(x.size=p),c.createElement(w2,Object.assign({ref:rr(t,i)},x))}),Yne=Une;var Gne=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,inputPrefixCls:r,className:o,size:a,suffix:i,enterButton:l=!1,addonAfter:s,loading:u,disabled:d,onSearch:f,onChange:v,onCompositionStart:p,onCompositionEnd:m}=e,y=Gne(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:g,direction:h}=c.useContext(nt),b=c.useContext(or),C=c.useRef(!1),x=g("input-search",n),S=g("input",r),{compactSize:w}=Pa(x,h),$=w||a||b,R=c.useRef(null),I=B=>{B&&B.target&&B.type==="click"&&f&&f(B.target.value,B),v&&v(B)},N=B=>{var H;document.activeElement===((H=R.current)===null||H===void 0?void 0:H.input)&&B.preventDefault()},_=B=>{var H,V;f&&f((V=(H=R.current)===null||H===void 0?void 0:H.input)===null||V===void 0?void 0:V.value,B)},M=B=>{C.current||u||_(B)},P=typeof l=="boolean"?c.createElement(LS,null):null,O=`${x}-button`;let T;const k=l||{},F=k.type&&k.type.__ANT_BUTTON===!0;F||k.type==="button"?T=Wn(k,Object.assign({onMouseDown:N,onClick:B=>{var H,V;(V=(H=k==null?void 0:k.props)===null||H===void 0?void 0:H.onClick)===null||V===void 0||V.call(H,B),_(B)},key:"enterButton"},F?{className:O,size:$}:{})):T=c.createElement(ti,{className:O,type:l?"primary":void 0,size:$,disabled:d,key:"enterButton",onMouseDown:N,onClick:_,loading:u,icon:P},l),s&&(T=[T,Wn(s,{key:"addonAfter"})]);const D=Y(x,{[`${x}-rtl`]:h==="rtl",[`${x}-${$}`]:!!$,[`${x}-with-button`]:!!l},o),j=B=>{C.current=!0,p==null||p(B)},z=B=>{C.current=!1,m==null||m(B)};return c.createElement(w2,Object.assign({ref:rr(R,t),onPressEnter:M},y,{size:$,onCompositionStart:j,onCompositionEnd:z,prefixCls:S,addonAfter:T,suffix:i,onChange:I,className:D,disabled:d}))}),qne=Xne;var Qne=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,Zne=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],c1={},So;function Jne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&c1[n])return c1[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=Zne.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),s={sizingStyle:l,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(c1[n]=s),s}function ere(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;So||(So=document.createElement("textarea"),So.setAttribute("tab-index","-1"),So.setAttribute("aria-hidden","true"),document.body.appendChild(So)),e.getAttribute("wrap")?So.setAttribute("wrap",e.getAttribute("wrap")):So.removeAttribute("wrap");var o=Jne(e,t),a=o.paddingSize,i=o.borderSize,l=o.boxSizing,s=o.sizingStyle;So.setAttribute("style","".concat(s,";").concat(Qne)),So.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,v=So.scrollHeight;if(l==="border-box"?v+=i:l==="content-box"&&(v-=a),n!==null||r!==null){So.value=" ";var p=So.scrollHeight-a;n!==null&&(u=p*n,l==="border-box"&&(u=u+a+i),v=Math.max(u,v)),r!==null&&(d=p*r,l==="border-box"&&(d=d+a+i),f=v>d?"":"hidden",v=Math.min(d,v))}var m={height:v,overflowY:f,resize:"none"};return u&&(m.minHeight=u),d&&(m.maxHeight=d),m}var tre=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],u1=0,d1=1,f1=2,nre=c.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,a=n.value,i=n.autoSize,l=n.onResize,s=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var v=Oe(n,tre),p=yt(o,{value:a,postState:function(K){return K??""}}),m=U(p,2),y=m[0],g=m[1],h=function(K){g(K.target.value),f==null||f(K)},b=c.useRef();c.useImperativeHandle(t,function(){return{textArea:b.current}});var C=c.useMemo(function(){return i&&We(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),x=U(C,2),S=x[0],w=x[1],$=!!i,R=function(){try{if(document.activeElement===b.current){var K=b.current,W=K.selectionStart,G=K.selectionEnd,X=K.scrollTop;b.current.setSelectionRange(W,G),b.current.scrollTop=X}}catch{}},I=c.useState(f1),N=U(I,2),_=N[0],M=N[1],P=c.useState(),O=U(P,2),T=O[0],k=O[1],F=function(){M(u1)};en(function(){$&&F()},[a,S,w,$]),en(function(){if(_===u1)M(d1);else if(_===d1){var V=ere(b.current,!1,S,w);M(f1),k(V)}else R()},[_]);var D=c.useRef(),j=function(){kt.cancel(D.current)},z=function(K){_===f1&&(l==null||l(K),i&&(j(),D.current=kt(function(){F()})))};c.useEffect(function(){return j},[]);var B=$?T:null,H=E(E({},u),B);return(_===u1||_===d1)&&(H.overflowY="hidden",H.overflowX="hidden"),c.createElement(la,{onResize:z,disabled:!(i||l)},c.createElement("textarea",be({},v,{ref:b,style:H,className:Y(r,s,A({},"".concat(r,"-disabled"),d)),disabled:d,value:y,onChange:h})))}),rre=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function QT(e,t){return xe(e||"").slice(0,t).join("")}function K3(e,t,n,r){var o=n;return e?o=QT(n,r):xe(t||"").lengthr&&(o=t),o}var ore=Z.forwardRef(function(e,t){var n,r=e.defaultValue,o=e.value,a=e.onFocus,i=e.onBlur,l=e.onChange,s=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,v=e.suffix,p=e.prefixCls,m=p===void 0?"rc-textarea":p,y=e.classes,g=e.showCount,h=e.className,b=e.style,C=e.disabled,x=e.hidden,S=e.classNames,w=e.styles,$=e.onResize,R=Oe(e,rre),I=yt(r,{value:o,defaultValue:r}),N=U(I,2),_=N[0],M=N[1],P=c.useRef(null),O=Z.useState(!1),T=U(O,2),k=T[0],F=T[1],D=Z.useState(!1),j=U(D,2),z=j[0],B=j[1],H=Z.useRef(),V=Z.useRef(0),K=Z.useState(null),W=U(K,2),G=W[0],X=W[1],Q=function(){P.current.textArea.focus()};c.useImperativeHandle(t,function(){return{resizableTextArea:P.current,focus:Q,blur:function(){P.current.textArea.blur()}}}),c.useEffect(function(){F(function(ce){return!C&&ce})},[C]);var ae=Number(u)>0,ee=function(ie){B(!0),H.current=_,V.current=ie.currentTarget.selectionStart,d==null||d(ie)},q=function(ie){B(!1);var fe=ie.currentTarget.value;if(ae){var me,Ce=V.current>=u+1||V.current===((me=H.current)===null||me===void 0?void 0:me.length);fe=K3(Ce,H.current,fe,u)}fe!==_&&(M(fe),vd(ie.currentTarget,ie,l,fe)),f==null||f(ie)},re=function(ie){var fe=ie.target.value;if(!z&&ae){var me=ie.target.selectionStart>=u+1||ie.target.selectionStart===fe.length||!ie.target.selectionStart;fe=K3(me,_,fe,u)}M(fe),vd(ie.currentTarget,ie,l,fe)},te=function(ie){var fe=R.onPressEnter,me=R.onKeyDown;ie.key==="Enter"&&fe&&fe(ie),me==null||me(ie)},J=function(ie){F(!0),a==null||a(ie)},ne=function(ie){F(!1),i==null||i(ie)},oe=function(ie){M(""),Q(),vd(P.current.textArea,ie,l)},le=Yb(_);!z&&ae&&o==null&&(le=QT(le,u));var de=v,pe;if(g){var se=xe(le).length;We(g)==="object"?pe=g.formatter({value:le,count:se,maxLength:u}):pe="".concat(se).concat(ae?" / ".concat(u):""),de=Z.createElement(Z.Fragment,null,de,Z.createElement("span",{className:Y("".concat(m,"-data-count"),S==null?void 0:S.count),style:w==null?void 0:w.count},pe))}var ve=function(ie){$==null||$(ie),G===null?X("mounted"):G==="mounted"&&X("resized")},ge=Z.createElement(YT,{value:le,allowClear:s,handleReset:oe,suffix:de,prefixCls:m,classes:{affixWrapper:Y(y==null?void 0:y.affixWrapper,(n={},A(n,"".concat(m,"-show-count"),g),A(n,"".concat(m,"-textarea-allow-clear"),s),n))},disabled:C,focused:k,className:h,style:E(E({},b),G==="resized"?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof pe=="string"?pe:void 0}},hidden:x,inputElement:Z.createElement(nre,be({},R,{onKeyDown:te,onChange:re,onFocus:J,onBlur:ne,onCompositionStart:ee,onCompositionEnd:q,className:S==null?void 0:S.textarea,style:E(E({},w==null?void 0:w.textarea),{},{resize:b==null?void 0:b.resize}),disabled:C,prefixCls:m,onResize:ve,ref:P}))});return ge}),are=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,bordered:r=!0,size:o,disabled:a,status:i,allowClear:l,showCount:s,classNames:u}=e,d=are(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]);const{getPrefixCls:f,direction:v}=c.useContext(nt),p=c.useContext(or),m=o||p,y=c.useContext(Vr),g=a??y,{status:h,hasFeedback:b,feedbackIcon:C}=c.useContext(mr),x=el(h,i),S=c.useRef(null);c.useImperativeHandle(t,()=>{var N;return{resizableTextArea:(N=S.current)===null||N===void 0?void 0:N.resizableTextArea,focus:_=>{var M,P;jne((P=(M=S.current)===null||M===void 0?void 0:M.resizableTextArea)===null||P===void 0?void 0:P.textArea,_)},blur:()=>{var _;return(_=S.current)===null||_===void 0?void 0:_.blur()}}});const w=f("input",n);let $;typeof l=="object"&&(l!=null&&l.clearIcon)?$=l:l&&($={clearIcon:c.createElement(si,null)});const[R,I]=d2(w);return R(c.createElement(ore,Object.assign({},d,{disabled:g,allowClear:$,classes:{affixWrapper:Y(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:v==="rtl",[`${w}-affix-wrapper-borderless`]:!r,[`${w}-affix-wrapper-sm`]:m==="small",[`${w}-affix-wrapper-lg`]:m==="large",[`${w}-textarea-show-count`]:s},lo(`${w}-affix-wrapper`,x),I)},classNames:Object.assign(Object.assign({},u),{textarea:Y({[`${w}-borderless`]:!r,[`${w}-sm`]:m==="small",[`${w}-lg`]:m==="large"},lo(w,x),I,u==null?void 0:u.textarea)}),prefixCls:w,suffix:b&&c.createElement("span",{className:`${w}-textarea-suffix`},C),showCount:s,ref:S})))}),lre=ire,Af=w2;Af.Group=_ne;Af.Search=qne;Af.TextArea=lre;Af.Password=Yne;const Ea=Af;var sre={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const cre=sre;var ZT=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:cre}))};ZT.displayName="UpOutlined";const ure=c.forwardRef(ZT);function Gb(){return typeof BigInt=="function"}function Il(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),a=o[0]||"0",i=o[1]||"0";a==="0"&&i==="0"&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:a,decimalStr:i,fullStr:"".concat(l).concat(r)}}function $2(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Xd(e){var t=String(e);if($2(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&E2(t)?t.length-t.indexOf(".")-1:0}function ih(e){var t=String(e);if($2(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Gb()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":ih(this.number):this.origin}}]),e}(),fre=function(){function e(t){if(Tn(this,e),A(this,"origin",""),A(this,"negative",void 0),A(this,"integer",void 0),A(this,"decimal",void 0),A(this,"decimalLen",void 0),A(this,"empty",void 0),A(this,"nan",void 0),JT(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}var n=t;if($2(n)&&(n=Number(n)),n=typeof n=="string"?n:ih(n),E2(n)){var r=Il(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var a=o[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return _n(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(n){var r="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(n,"0"));return BigInt(r)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=new e(n);if(r.isInvalidate())return this;var o=Math.max(this.getDecimalStr().length,r.getDecimalStr().length),a=this.alignDecimal(o),i=r.alignDecimal(o),l=(a+i).toString(),s=Il(l),u=s.negativeStr,d=s.trimStr,f="".concat(u).concat(d.padStart(o+1,"0"));return new e("".concat(f.slice(0,-o),".").concat(f.slice(-o)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toString()===(n==null?void 0:n.toString())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Il("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function Go(e){return Gb()?new fre(e):new dre(e)}function Cp(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=Il(e),a=o.negativeStr,i=o.integerStr,l=o.decimalStr,s="".concat(t).concat(l),u="".concat(a).concat(i);if(n>=0){var d=Number(l[n]);if(d>=5&&!r){var f=Go(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-d));return Cp(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return s===".0"?u:"".concat(u).concat(s)}var vre=function(){var t=c.useState(!1),n=U(t,2),r=n[0],o=n[1];return en(function(){o(Ef())},[]),r},pre=200,mre=600;function gre(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,a=e.downDisabled,i=e.onStep,l=c.useRef(),s=c.useRef();s.current=i;var u=function(h,b){h.preventDefault(),s.current(b);function C(){s.current(b),l.current=setTimeout(C,pre)}l.current=setTimeout(C,mre)},d=function(){clearTimeout(l.current)};c.useEffect(function(){return d},[]);var f=vre();if(f)return null;var v="".concat(t,"-handler"),p=Y(v,"".concat(v,"-up"),A({},"".concat(v,"-up-disabled"),o)),m=Y(v,"".concat(v,"-down"),A({},"".concat(v,"-down-disabled"),a)),y={unselectable:"on",role:"button",onMouseUp:d,onMouseLeave:d};return c.createElement("div",{className:"".concat(v,"-wrap")},c.createElement("span",be({},y,{onMouseDown:function(h){u(h,!0)},"aria-label":"Increase Value","aria-disabled":o,className:p}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",be({},y,{onMouseDown:function(h){u(h,!1)},"aria-label":"Decrease Value","aria-disabled":a,className:m}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function U3(e){var t=typeof e=="number"?ih(e):Il(e).fullStr,n=t.includes(".");return n?Il(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function hre(e,t){var n=c.useRef(null);function r(){try{var a=e.selectionStart,i=e.selectionEnd,l=e.value,s=l.substring(0,a),u=l.substring(i);n.current={start:a,end:i,value:l,beforeTxt:s,afterTxt:u}}catch{}}function o(){if(e&&n.current&&t)try{var a=e.value,i=n.current,l=i.beforeTxt,s=i.afterTxt,u=i.start,d=a.length;if(a.endsWith(s))d=a.length-n.current.afterTxt.length;else if(a.startsWith(l))d=l.length;else{var f=l[u-1],v=a.indexOf(f,u-1);v!==-1&&(d=v+1)}e.setSelectionRange(d,d)}catch(p){Wt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}return[r,o]}const yre=function(){var e=c.useRef(0),t=function(){kt.cancel(e.current)};return c.useEffect(function(){return t},[]),function(n){t(),e.current=kt(function(){n()})}};var bre=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Y3=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},G3=function(t){var n=Go(t);return n.isInvalidate()?null:n},e7=c.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-input-number":r,a=e.className,i=e.style,l=e.min,s=e.max,u=e.step,d=u===void 0?1:u,f=e.defaultValue,v=e.value,p=e.disabled,m=e.readOnly,y=e.upHandler,g=e.downHandler,h=e.keyboard,b=e.controls,C=b===void 0?!0:b,x=e.stringMode,S=e.parser,w=e.formatter,$=e.precision,R=e.decimalSeparator,I=e.onChange,N=e.onInput,_=e.onPressEnter,M=e.onStep,P=Oe(e,bre),O="".concat(o,"-input"),T=c.useRef(null),k=c.useState(!1),F=U(k,2),D=F[0],j=F[1],z=c.useRef(!1),B=c.useRef(!1),H=c.useRef(!1),V=c.useState(function(){return Go(v??f)}),K=U(V,2),W=K[0],G=K[1];function X(Ee){v===void 0&&G(Ee)}var Q=c.useCallback(function(Ee,Se){if(!Se)return $>=0?$:Math.max(Xd(Ee),Xd(d))},[$,d]),ae=c.useCallback(function(Ee){var Se=String(Ee);if(S)return S(Se);var ke=Se;return R&&(ke=ke.replace(R,".")),ke.replace(/[^\w.-]+/g,"")},[S,R]),ee=c.useRef(""),q=c.useCallback(function(Ee,Se){if(w)return w(Ee,{userTyping:Se,input:String(ee.current)});var ke=typeof Ee=="number"?ih(Ee):Ee;if(!Se){var De=Q(ke,Se);if(E2(ke)&&(R||De>=0)){var ze=R||".";ke=Cp(ke,ze,De)}}return ke},[w,Q,R]),re=c.useState(function(){var Ee=f??v;return W.isInvalidate()&&["string","number"].includes(We(Ee))?Number.isNaN(Ee)?"":Ee:q(W.toString(),!1)}),te=U(re,2),J=te[0],ne=te[1];ee.current=J;function oe(Ee,Se){ne(q(Ee.isInvalidate()?Ee.toString(!1):Ee.toString(!Se),Se))}var le=c.useMemo(function(){return G3(s)},[s,$]),de=c.useMemo(function(){return G3(l)},[l,$]),pe=c.useMemo(function(){return!le||!W||W.isInvalidate()?!1:le.lessEquals(W)},[le,W]),se=c.useMemo(function(){return!de||!W||W.isInvalidate()?!1:W.lessEquals(de)},[de,W]),ve=hre(T.current,D),ge=U(ve,2),ce=ge[0],ie=ge[1],fe=function(Se){return le&&!Se.lessEquals(le)?le:de&&!de.lessEquals(Se)?de:null},me=function(Se){return!fe(Se)},Ce=function(Se,ke){var De=Se,ze=me(De)||De.isEmpty();if(!De.isEmpty()&&!ke&&(De=fe(De)||De,ze=!0),!m&&!p&&ze){var Me=De.toString(),ht=Q(Me,ke);return ht>=0&&(De=Go(Cp(Me,".",ht)),me(De)||(De=Go(Cp(Me,".",ht,!0)))),De.equals(W)||(X(De),I==null||I(De.isEmpty()?null:Y3(x,De)),v===void 0&&oe(De,ke)),De}return W},ye=yre(),Ne=function Ee(Se){if(ce(),ne(Se),!B.current){var ke=ae(Se),De=Go(ke);De.isNaN()||Ce(De,!0)}N==null||N(Se),ye(function(){var ze=Se;S||(ze=Se.replace(/。/g,".")),ze!==Se&&Ee(ze)})},_e=function(){B.current=!0},Ke=function(){B.current=!1,Ne(T.current.value)},Ye=function(Se){Ne(Se.target.value)},$e=function(Se){var ke;if(!(Se&&pe||!Se&&se)){z.current=!1;var De=Go(H.current?U3(d):d);Se||(De=De.negate());var ze=(W||Go(0)).add(De.toString()),Me=Ce(ze,!1);M==null||M(Y3(x,Me),{offset:H.current?U3(d):d,type:Se?"up":"down"}),(ke=T.current)===null||ke===void 0||ke.focus()}},Ie=function(Se){var ke=Go(ae(J)),De=ke;ke.isNaN()?De=W:De=Ce(ke,Se),v!==void 0?oe(W,!1):De.isNaN()||oe(De,!1)},je=function(){z.current=!0},gt=function(Se){var ke=Se.which,De=Se.shiftKey;z.current=!0,De?H.current=!0:H.current=!1,ke===ue.ENTER&&(B.current||(z.current=!1),Ie(!1),_==null||_(Se)),h!==!1&&!B.current&&[ue.UP,ue.DOWN].includes(ke)&&($e(ue.UP===ke),Se.preventDefault())},dt=function(){z.current=!1,H.current=!1},bt=function(){Ie(!1),j(!1),z.current=!1};return ic(function(){W.isInvalidate()||oe(W,!1)},[$]),ic(function(){var Ee=Go(v);G(Ee);var Se=Go(ae(J));(!Ee.equals(Se)||!z.current||w)&&oe(Ee,z.current)},[v]),ic(function(){w&&ie()},[J]),c.createElement("div",{className:Y(o,a,(n={},A(n,"".concat(o,"-focused"),D),A(n,"".concat(o,"-disabled"),p),A(n,"".concat(o,"-readonly"),m),A(n,"".concat(o,"-not-a-number"),W.isNaN()),A(n,"".concat(o,"-out-of-range"),!W.isInvalidate()&&!me(W)),n)),style:i,onFocus:function(){j(!0)},onBlur:bt,onKeyDown:gt,onKeyUp:dt,onCompositionStart:_e,onCompositionEnd:Ke,onBeforeInput:je},C&&c.createElement(gre,{prefixCls:o,upNode:y,downNode:g,upDisabled:pe,downDisabled:se,onStep:$e}),c.createElement("div",{className:"".concat(O,"-wrap")},c.createElement("input",be({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":s,"aria-valuenow":W.isInvalidate()?null:W.toString(),step:d},P,{ref:rr(T,t),className:O,value:J,onChange:Ye,disabled:p,readOnly:m}))))});e7.displayName="InputNumber";const Cre=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:a,fontSizeLG:i,controlHeightLG:l,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:d,colorTextDescription:f,motionDurationMid:v,colorPrimary:p,controlHeight:m,inputPaddingHorizontal:y,colorBgContainer:g,colorTextDisabled:h,borderRadiusSM:b,borderRadiusLG:C,controlWidth:x,handleVisible:S}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),_f(e)),eh(e,t)),{display:"inline-block",width:x,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:a,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,borderRadius:C,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:b,[`input${t}-input`]:{height:s-2*n,padding:`0 ${d}px`}},"&:hover":Object.assign({},eu(e)),"&-focused":Object.assign({},Wl(e)),"&-disabled":Object.assign(Object.assign({},c2(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":Object.assign(Object.assign(Object.assign({},Lt(e)),ZN(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:C}},"&-sm":{[`${t}-group-addon`]:{borderRadius:b}}}}),[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{width:"100%",height:m-2*n,padding:`0 ${y}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${v} linear`,appearance:"textfield",fontSize:"inherit",verticalAlign:"top"}),XN(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:g,borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:S===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${v} linear ${v}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:f,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${o}`,transition:`all ${v} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:p}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},xf()),{color:f,transition:`all ${v} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:a},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:h}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},xre=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:o,borderRadiusLG:a,borderRadiusSM:i}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},_f(e)),eh(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:a},"&-sm":{borderRadius:i},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},eu(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},Sre=Kt("InputNumber",e=>{const t=u2(e);return[Cre(t),xre(t),Gc(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var wre=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=c.useContext(nt),o=c.useContext(or),[a,i]=c.useState(!1),l=c.useRef(null);c.useImperativeHandle(t,()=>l.current);const{className:s,rootClassName:u,size:d,disabled:f,prefixCls:v,addonBefore:p,addonAfter:m,prefix:y,bordered:g=!0,readOnly:h,status:b,controls:C}=e,x=wre(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),S=n("input-number",v),[w,$]=Sre(S),{compactSize:R,compactItemClassnames:I}=Pa(S,r);let N=c.createElement(ure,{className:`${S}-handler-up-inner`}),_=c.createElement(DS,{className:`${S}-handler-down-inner`});const M=typeof C=="boolean"?C:void 0;typeof C=="object"&&(N=typeof C.upIcon>"u"?N:c.createElement("span",{className:`${S}-handler-up-inner`},C.upIcon),_=typeof C.downIcon>"u"?_:c.createElement("span",{className:`${S}-handler-down-inner`},C.downIcon));const{hasFeedback:P,status:O,isFormItemInput:T,feedbackIcon:k}=c.useContext(mr),F=el(O,b),D=R||d||o,j=y!=null||P,z=!!(p||m),B=c.useContext(Vr),H=f??B,V=Y({[`${S}-lg`]:D==="large",[`${S}-sm`]:D==="small",[`${S}-rtl`]:r==="rtl",[`${S}-borderless`]:!g,[`${S}-in-form-item`]:T},lo(S,F),I,$,s,!j&&!z&&u);let K=c.createElement(e7,Object.assign({ref:l,disabled:H,className:V,upHandler:N,downHandler:_,prefixCls:S,readOnly:h,controls:M},x));if(j){const W=Y(`${S}-affix-wrapper`,lo(`${S}-affix-wrapper`,F,P),{[`${S}-affix-wrapper-focused`]:a,[`${S}-affix-wrapper-disabled`]:e.disabled,[`${S}-affix-wrapper-sm`]:D==="small",[`${S}-affix-wrapper-lg`]:D==="large",[`${S}-affix-wrapper-rtl`]:r==="rtl",[`${S}-affix-wrapper-readonly`]:h,[`${S}-affix-wrapper-borderless`]:!g},!z&&s,!z&&u,$);K=c.createElement("div",{className:W,style:e.style,onMouseUp:()=>l.current.focus()},y&&c.createElement("span",{className:`${S}-prefix`},y),Wn(K,{style:null,value:e.value,onFocus:G=>{var X;i(!0),(X=e.onFocus)===null||X===void 0||X.call(e,G)},onBlur:G=>{var X;i(!1),(X=e.onBlur)===null||X===void 0||X.call(e,G)}}),P&&c.createElement("span",{className:`${S}-suffix`},k))}if(z){const W=`${S}-group`,G=`${W}-addon`,X=p?c.createElement("div",{className:G},p):null,Q=m?c.createElement("div",{className:G},m):null,ae=Y(`${S}-wrapper`,W,$,{[`${W}-rtl`]:r==="rtl"}),ee=Y(`${S}-group-wrapper`,{[`${S}-group-wrapper-sm`]:D==="small",[`${S}-group-wrapper-lg`]:D==="large",[`${S}-group-wrapper-rtl`]:r==="rtl"},lo(`${S}-group-wrapper`,F,P),$,s,u);K=c.createElement("div",{className:ee,style:e.style},c.createElement("div",{className:ae},X&&c.createElement(Bl,null,c.createElement(Vd,{status:!0,override:!0},X)),Wn(K,{style:null,disabled:H}),Q&&c.createElement(Bl,null,c.createElement(Vd,{status:!0,override:!0},Q))))}return w(K)}),n7=t7,$re=e=>c.createElement(tt,{theme:{components:{InputNumber:{handleVisible:!0}}}},c.createElement(t7,Object.assign({},e)));n7._InternalPanelDoNotUseOrYouWillBeFired=$re;const Kl=n7,jf=ZX;jf.Header=XX;jf.Footer=qX;jf.Content=QX;jf.Sider=nq;const Ic=jf,Ere={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:"页码"},Pre=new Rt("antSpinMove",{to:{opacity:1}}),Ore=new Rt("antRotate",{to:{transform:"rotate(405deg)"}}),Mre=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},Lt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none",["&::after"]:{opacity:.4,pointerEvents:"auto"}}},["&-tip"]:{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Pre,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:Ore,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),Rre=Kt("Spin",e=>{const t=xt(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[Mre(t)]},{contentHeight:400});var Ire=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{spinPrefixCls:t,spinning:n=!0,delay:r=0,className:o,rootClassName:a,size:i="default",tip:l,wrapperClassName:s,style:u,children:d,hashId:f}=e,v=Ire(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[p,m]=c.useState(()=>n&&!Tre(n,r));c.useEffect(()=>{if(n){const S=yJ(r,()=>{m(!0)});return S(),()=>{var w;(w=S==null?void 0:S.cancel)===null||w===void 0||w.call(S)}}m(!1)},[r,n]);const y=c.useMemo(()=>typeof d<"u",[d]),{direction:g}=c.useContext(nt),h=Y(t,{[`${t}-sm`]:i==="small",[`${t}-lg`]:i==="large",[`${t}-spinning`]:p,[`${t}-show-text`]:!!l,[`${t}-rtl`]:g==="rtl"},o,a,f),b=Y(`${t}-container`,{[`${t}-blur`]:p}),C=$n(v,["indicator","prefixCls"]),x=c.createElement("div",Object.assign({},C,{style:u,className:h,"aria-live":"polite","aria-busy":p}),Nre(t,e),l?c.createElement("div",{className:`${t}-text`},l):null);return y?c.createElement("div",Object.assign({},C,{className:Y(`${t}-nested-loading`,s,f)}),p&&c.createElement("div",{key:"loading"},x),c.createElement("div",{className:b,key:"container"},d)):x},r7=e=>{const{prefixCls:t}=e,{getPrefixCls:n}=c.useContext(nt),r=n("spin",t),[o,a]=Rre(r),i=Object.assign(Object.assign({},e),{spinPrefixCls:r,hashId:a});return o(c.createElement(_re,Object.assign({},i)))};r7.setDefaultIndicator=e=>{xp=e};const rl=r7;let Eo=null,Sl=e=>e(),qd=[],Nm={};function kre(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:a}=Nm,i=e??cR().getPrefixCls("message"),l=(t==null?void 0:t())||document.body;return{prefixCls:i,container:l,duration:n,rtl:r,maxCount:o,top:a}}const Fre=c.forwardRef((e,t)=>{const n=()=>{const{prefixCls:f,container:v,maxCount:p,duration:m,rtl:y,top:g}=kre();return{prefixCls:f,getContainer:()=>v,maxCount:p,duration:m,rtl:y,top:g}},[r,o]=c.useState(n),[a,i]=LR(r),l=cR(),s=l.getRootPrefixCls(),u=l.getIconPrefixCls(),d=()=>{o(n)};return c.useEffect(d,[]),c.useImperativeHandle(t,()=>{const f=Object.assign({},a);return Object.keys(f).forEach(v=>{f[v]=function(){return d(),a[v].apply(a,arguments)}}),{instance:f,sync:d}}),c.createElement(tt,{prefixCls:s,iconPrefixCls:u},i)});function lh(){if(!Eo){const e=document.createDocumentFragment(),t={fragment:e};Eo=t,Sl(()=>{AR(c.createElement(Fre,{ref:n=>{const{instance:r,sync:o}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=o,lh())})}}),e)});return}Eo.instance&&(qd.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{Sl(()=>{const r=Eo.instance.open(Object.assign(Object.assign({},Nm),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":Sl(()=>{Eo==null||Eo.instance.destroy(e.key)});break;default:Sl(()=>{var r;const o=(r=Eo.instance)[t].apply(r,xe(e.args));o==null||o.then(e.resolve),e.setCloseFn(o)})}}),qd=[])}function Dre(e){Nm=Object.assign(Object.assign({},Nm),e),Sl(()=>{var t;(t=Eo==null?void 0:Eo.sync)===null||t===void 0||t.call(Eo)})}function Lre(e){const t=gS(n=>{let r;const o={type:"open",config:e,resolve:n,setCloseFn:a=>{r=a}};return qd.push(o),()=>{r?Sl(()=>{r()}):o.skipped=!0}});return lh(),t}function Are(e,t){const n=gS(r=>{let o;const a={type:e,args:t,resolve:r,setCloseFn:i=>{o=i}};return qd.push(a),()=>{o?Sl(()=>{o()}):a.skipped=!0}});return lh(),n}function jre(e){qd.push({type:"destroy",key:e}),lh()}const zre=["success","info","warning","error","loading"],Hre={open:Lre,destroy:jre,config:Dre,useMessage:UB,_InternalPanelDoNotUseOrYouWillBeFired:HB},o7=Hre;zre.forEach(e=>{o7[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r10&&arguments[10]!==void 0?arguments[10]:0,v=r/100*360*((360-i)/360),p=i===0?0:{bottom:0,top:180,left:90,right:-90}[l],m=(100-o)/100*n;return u==="round"&&o!==100&&(m+=d/2,m>=n&&(m=n-.01)),{stroke:typeof s=="string"?s:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:m+f,transform:"rotate(".concat(a+v+p,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},P2=function(t){var n=t.id,r=t.prefixCls,o=t.steps,a=t.strokeWidth,i=t.trailWidth,l=t.gapDegree,s=l===void 0?0:l,u=t.gapPosition,d=t.trailColor,f=t.strokeLinecap,v=t.style,p=t.className,m=t.strokeColor,y=t.percent,g=Oe(t,Gre),h=Yre(n),b="".concat(h,"-gradient"),C=Tu/2-a/2,x=Math.PI*2*C,S=s>0?90+s/2:-90,w=x*((360-s)/360),$=We(o)==="object"?o:{count:o,space:2},R=$.count,I=$.space,N=v1(x,w,0,100,S,s,u,d,f,a),_=Q3(y),M=Q3(m),P=M.find(function(F){return F&&We(F)==="object"}),O=Wre(),T=function(){var D=0;return _.map(function(j,z){var B=M[z]||M[M.length-1],H=B&&We(B)==="object"?"url(#".concat(b,")"):void 0,V=v1(x,w,D,j,S,s,u,B,f,a);return D+=j,c.createElement("circle",{key:z,className:"".concat(r,"-circle-path"),r:C,cx:0,cy:0,stroke:H,strokeLinecap:f,strokeWidth:a,opacity:j===0?0:1,style:V,ref:function(W){O[z]=W}})}).reverse()},k=function(){var D=Math.round(R*(_[0]/100)),j=100/R,z=0;return new Array(R).fill(null).map(function(B,H){var V=H<=D-1?M[0]:d,K=V&&We(V)==="object"?"url(#".concat(b,")"):void 0,W=v1(x,w,z,j,S,s,u,V,"butt",a,I);return z+=(w-W.strokeDashoffset+I)*100/w,c.createElement("circle",{key:H,className:"".concat(r,"-circle-path"),r:C,cx:0,cy:0,stroke:K,strokeWidth:a,opacity:1,style:W,ref:function(X){O[H]=X}})})};return c.createElement("svg",be({className:Y("".concat(r,"-circle"),p),viewBox:"".concat(-Tu/2," ").concat(-Tu/2," ").concat(Tu," ").concat(Tu),style:v,id:n,role:"presentation"},g),P&&c.createElement("defs",null,c.createElement("linearGradient",{id:b,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(P).sort(function(F,D){return q3(F)-q3(D)}).map(function(F,D){return c.createElement("stop",{key:D,offset:F,stopColor:P[F]})}))),!R&&c.createElement("circle",{className:"".concat(r,"-circle-trail"),r:C,cx:0,cy:0,stroke:d,strokeLinecap:f,strokeWidth:i||a,style:N}),R?k():T())};P2.defaultProps=Vre;P2.displayName="Circle";function Nl(e){return!e||e<0?0:e>100?100:e}function Tm(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const Xre=e=>{let{percent:t,success:n,successPercent:r}=e;const o=Nl(Tm({success:n,successPercent:r}));return[o,Nl(Nl(t)-o)]},qre=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||ac.green,n||null]},sh=(e,t,n)=>{var r,o,a,i;let l=-1,s=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(l=e==="small"?2:14,s=d??8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(o=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&o!==void 0?o:120,s=(i=(a=e[0])!==null&&a!==void 0?a:e[1])!==null&&i!==void 0?i:120));return[l,s]},Qre=3,Zre=e=>Qre/e*100,Jre=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:o,gapDegree:a,width:i=120,type:l,children:s,success:u,size:d}=e,f=d??[i,i],[v,p]=sh(f,"circle");let{strokeWidth:m}=e;m===void 0&&(m=Math.max(Zre(v),6));const y={width:v,height:p,fontSize:v*.15+6},g=c.useMemo(()=>{if(a||a===0)return a;if(l==="dashboard")return 75},[a,l]),h=o||l==="dashboard"&&"bottom"||void 0,b=Object.prototype.toString.call(e.strokeColor)==="[object Object]",C=qre({success:u,strokeColor:e.strokeColor}),x=Y(`${t}-inner`,{[`${t}-circle-gradient`]:b}),S=c.createElement(P2,{percent:Xre(e),strokeWidth:m,trailWidth:m,strokeColor:C,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:g,gapPosition:h});return c.createElement("div",{className:x,style:y},v<=20?c.createElement(tl,{title:s},c.createElement("span",null,S)):c.createElement(c.Fragment,null,S,s))},eoe=Jre;var toe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:o}=n;return`${o} ${r}%`}).join(", ")},roe=(e,t)=>{const{from:n=ac.blue,to:r=ac.blue,direction:o=t==="rtl"?"to left":"to right"}=e,a=toe(e,["from","to","direction"]);if(Object.keys(a).length!==0){const i=noe(a);return{backgroundImage:`linear-gradient(${o}, ${i})`}}return{backgroundImage:`linear-gradient(${o}, ${n}, ${r})`}},ooe=e=>{const{prefixCls:t,direction:n,percent:r,size:o,strokeWidth:a,strokeColor:i,strokeLinecap:l="round",children:s,trailColor:u=null,success:d}=e,f=i&&typeof i!="string"?roe(i,n):{backgroundColor:i},v=l==="square"||l==="butt"?0:void 0,p={backgroundColor:u||void 0,borderRadius:v},m=o??[-1,a||(o==="small"?6:8)],[y,g]=sh(m,"line",{strokeWidth:a}),h=Object.assign({width:`${Nl(r)}%`,height:g,borderRadius:v},f),b=Tm(e),C={width:`${Nl(b)}%`,height:g,borderRadius:v,backgroundColor:d==null?void 0:d.strokeColor},x={width:y<0?"100%":y,height:g};return c.createElement(c.Fragment,null,c.createElement("div",{className:`${t}-outer`,style:x},c.createElement("div",{className:`${t}-inner`,style:p},c.createElement("div",{className:`${t}-bg`,style:h}),b!==void 0?c.createElement("div",{className:`${t}-success-bg`,style:C}):null)),s)},aoe=ooe,ioe=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:o=8,strokeColor:a,trailColor:i=null,prefixCls:l,children:s}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,o],[v,p]=sh(f,"step",{steps:n,strokeWidth:o}),m=v/n,y=new Array(n);for(let g=0;g{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},Lt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:soe,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},uoe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},doe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},foe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},voe=Kt("Progress",e=>{const t=e.marginXXS/2,n=xt(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[coe(n),uoe(n),doe(n),foe(n)]});var poe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,rootClassName:r,steps:o,strokeColor:a,percent:i=0,size:l="default",showInfo:s=!0,type:u="line",status:d,format:f}=e,v=poe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format"]),p=c.useMemo(()=>{var I,N;const _=Tm(e);return parseInt(_!==void 0?(I=_??0)===null||I===void 0?void 0:I.toString():(N=i??0)===null||N===void 0?void 0:N.toString(),10)},[i,e.success,e.successPercent]),m=c.useMemo(()=>!moe.includes(d)&&p>=100?"success":d||"normal",[d,p]),{getPrefixCls:y,direction:g}=c.useContext(nt),h=y("progress",t),[b,C]=voe(h),x=c.useMemo(()=>{if(!s)return null;const I=Tm(e);let N;const _=f||(P=>`${P}%`),M=u==="line";return f||m!=="exception"&&m!=="success"?N=_(Nl(i),Nl(I)):m==="exception"?N=M?c.createElement(si,null):c.createElement(es,null):m==="success"&&(N=M?c.createElement(Dg,null):c.createElement(hI,null)),c.createElement("span",{className:`${h}-text`,title:typeof N=="string"?N:void 0},N)},[s,i,p,m,u,h,f]),S=Array.isArray(a)?a[0]:a,w=typeof a=="string"||Array.isArray(a)?a:void 0;let $;u==="line"?$=o?c.createElement(loe,Object.assign({},e,{strokeColor:w,prefixCls:h,steps:o}),x):c.createElement(aoe,Object.assign({},e,{strokeColor:S,prefixCls:h,direction:g}),x):(u==="circle"||u==="dashboard")&&($=c.createElement(eoe,Object.assign({},e,{strokeColor:S,prefixCls:h,progressStatus:m}),x));const R=Y(h,{[`${h}-inline-circle`]:u==="circle"&&sh(l,"circle")[0]<=20,[`${h}-${u==="dashboard"&&"circle"||o&&"steps"||u}`]:!0,[`${h}-status-${m}`]:!0,[`${h}-show-info`]:s,[`${h}-${l}`]:typeof l=="string",[`${h}-rtl`]:g==="rtl"},n,r,C);return b(c.createElement("div",Object.assign({className:R,role:"progressbar"},$n(v,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),$))},hoe=goe;var yoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 01-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z"}}]},name:"alipay",theme:"outlined"};const boe=yoe;var a7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:boe}))};a7.displayName="AlipayOutlined";const Coe=c.forwardRef(a7);var xoe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const Soe=xoe;var i7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Soe}))};i7.displayName="CaretDownFilled";const woe=c.forwardRef(i7);var $oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z"}}]},name:"chrome",theme:"filled"};const Eoe=$oe;var l7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Eoe}))};l7.displayName="ChromeFilled";const Poe=c.forwardRef(l7);var Ooe={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"};const Moe=Ooe;var s7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Moe}))};s7.displayName="CopyrightOutlined";const Roe=c.forwardRef(s7);var Ioe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z"}}]},name:"crown",theme:"filled"};const Noe=Ioe;var c7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Noe}))};c7.displayName="CrownFilled";const Fa=c.forwardRef(c7);var Toe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const _oe=Toe;var u7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:_oe}))};u7.displayName="FileOutlined";const koe=c.forwardRef(u7);var Foe={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 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};const Doe=Foe;var d7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Doe}))};d7.displayName="InfoCircleOutlined";const Loe=c.forwardRef(d7);var Aoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"};const joe=Aoe;var f7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:joe}))};f7.displayName="LockOutlined";const Z3=c.forwardRef(f7);var zoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"};const Hoe=zoe;var v7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Hoe}))};v7.displayName="LogoutOutlined";const Boe=c.forwardRef(v7);var Voe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};const Woe=Voe;var p7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Woe}))};p7.displayName="MenuOutlined";const Koe=c.forwardRef(p7);var Uoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const Yoe=Uoe;var m7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Yoe}))};m7.displayName="MinusSquareOutlined";const Goe=c.forwardRef(m7);var Xoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"};const qoe=Xoe;var g7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:qoe}))};g7.displayName="MobileOutlined";const Qoe=c.forwardRef(g7);var Zoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 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-8H544V328c0-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 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const Joe=Zoe;var h7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Joe}))};h7.displayName="PlusSquareOutlined";const eae=c.forwardRef(h7);var tae={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"smile",theme:"filled"};const nae=tae;var y7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:nae}))};y7.displayName="SmileFilled";const rae=c.forwardRef(y7);var oae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const aae=oae;var b7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:aae}))};b7.displayName="StarFilled";const iae=c.forwardRef(b7);var lae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"tablet",theme:"filled"};const sae=lae;var C7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:sae}))};C7.displayName="TabletFilled";const cae=c.forwardRef(C7);var uae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const dae=uae;var x7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:dae}))};x7.displayName="UserOutlined";const fae=c.forwardRef(x7);var vae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const pae=vae;var S7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:pae}))};S7.displayName="WarningFilled";const mae=c.forwardRef(S7);var gae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"};const hae=gae;var w7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:hae}))};w7.displayName="WechatOutlined";const yae=c.forwardRef(w7);var bae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}}]},name:"weibo",theme:"outlined"};const Cae=bae;var $7=function(t,n){return c.createElement(Et,E(E({},t),{},{ref:n,icon:Cae}))};$7.displayName="WeiboOutlined";const xae=c.forwardRef($7);var Sae=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],E7=c.forwardRef(function(e,t){var n=e.className,r=e.component,o=e.viewBox,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,u=e.children,d=Oe(e,Sae);ib(!!(r||u),"Should have `component` prop or `children`."),mR();var f=c.useContext(Rg),v=f.prefixCls,p=v===void 0?"anticon":v,m=f.rootClassName,y=Y(m,p,n),g=Y(A({},"".concat(p,"-spin"),!!a)),h=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=E(E({},VH),{},{className:g,style:h,viewBox:o});o||delete b.viewBox;var C=function(){return r?c.createElement(r,E({},b),u):u?(ib(!!o||c.Children.count(u)===1&&c.isValidElement(u)&&c.Children.only(u).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),c.createElement("svg",E(E({},b),{},{viewBox:o}),u)):null},x=l;return x===void 0&&s&&(x=-1),c.createElement("span",E(E({role:"img"},d),{},{ref:t,tabIndex:x,onClick:s,className:y}),C())});E7.displayName="AntdIcon";const wae=E7;var $ae=["type","children"],P7=new Set;function Eae(e){return!!(typeof e=="string"&&e.length&&!P7.has(e))}function _m(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(Eae(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){_m(e,t+1)},r.onerror=function(){_m(e,t+1)}),P7.add(n),document.body.appendChild(r)}}function O7(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;t&&typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?_m(t.reverse()):_m([t]));var o=c.forwardRef(function(a,i){var l=a.type,s=a.children,u=Oe(a,$ae),d=null;return a.type&&(d=c.createElement("use",{xlinkHref:"#".concat(l)})),s&&(d=s),c.createElement(wae,E(E(E({},r),u),{},{ref:i}),d)});return o.displayName="Iconfont",o}function Pae(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function Oae(e){var t,n,r=e.ownerDocument,o=r.body,a=r&&r.documentElement,i=e.getBoundingClientRect();return t=i.left,n=i.top,t-=a.clientLeft||o.clientLeft||0,n-=a.clientTop||o.clientTop||0,{left:t,top:n}}function Mae(e){var t=Oae(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=Pae(r),t.left}function Rae(e,t){var n=e.disabled,r=e.prefixCls,o=e.character,a=e.characterRender,i=e.index,l=e.count,s=e.value,u=e.allowHalf,d=e.focused,f=e.onHover,v=e.onClick,p=function(S){f(S,i)},m=function(S){v(S,i)},y=function(S){S.keyCode===ue.ENTER&&v(S,i)},g=i+1,h=new Set([r]);s===0&&i===0&&d?h.add("".concat(r,"-focused")):u&&s+.5>=g&&si?"true":"false","aria-posinset":i+1,"aria-setsize":l,tabIndex:n?-1:0},Z.createElement("div",{className:"".concat(r,"-first")},b),Z.createElement("div",{className:"".concat(r,"-second")},b)));return a&&(C=a(C,e)),C}const Iae=Z.forwardRef(Rae);function Nae(){var e=c.useRef({});function t(r){return e.current[r]}function n(r){return function(o){e.current[r]=o}}return[t,n]}function Tae(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-rate":r,a=e.className,i=e.style,l=e.defaultValue,s=e.value,u=e.count,d=u===void 0?5:u,f=e.allowHalf,v=f===void 0?!1:f,p=e.allowClear,m=p===void 0?!0:p,y=e.character,g=y===void 0?"★":y,h=e.characterRender,b=e.disabled,C=e.direction,x=C===void 0?"ltr":C,S=e.tabIndex,w=S===void 0?0:S,$=e.autoFocus,R=e.onHoverChange,I=e.onChange,N=e.onFocus,_=e.onBlur,M=e.onKeyDown,P=Nae(),O=U(P,2),T=O[0],k=O[1],F=Z.useRef(null),D=function(){if(!b){var fe;(fe=F.current)===null||fe===void 0||fe.focus()}};Z.useImperativeHandle(t,function(){return{focus:D,blur:function(){if(!b){var fe;(fe=F.current)===null||fe===void 0||fe.blur()}}}});var j=yt(l||0,{value:s}),z=U(j,2),B=z[0],H=z[1],V=yt(null),K=U(V,2),W=K[0],G=K[1],X=function(fe,me){var Ce=x==="rtl",ye=fe+1;if(v){var Ne=xc(T(fe)),_e=Mae(Ne),Ke=Ne.clientWidth;(Ce&&me-_e>Ke/2||!Ce&&me-_e0&&!Ce||me===ue.RIGHT&&ye>0&&Ce?(v?ye-=.5:ye-=1,Q(ye),fe.preventDefault()):me===ue.LEFT&&ye{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},Fae=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),Dae=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),kae(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),Fae(e))}},Lae=Kt("Rate",e=>{const{colorFillContent:t}=e,n=xt(e,{rateStarColor:e.yellow6,rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[Dae(n)]});var Aae=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,rootClassName:o,tooltips:a,character:i=c.createElement(iae,null)}=e,l=Aae(e,["prefixCls","className","rootClassName","tooltips","character"]),s=(m,y)=>{let{index:g}=y;return a?c.createElement(tl,{title:a[g]},m):m},{getPrefixCls:u,direction:d}=c.useContext(nt),f=u("rate",n),[v,p]=Lae(f);return v(c.createElement(_ae,Object.assign({ref:t,character:i,characterRender:s},l,{className:Y(r,o,p),prefixCls:f,direction:d})))}),J3=jae,zae=()=>c.createElement("svg",{width:"252",height:"294"},c.createElement("defs",null,c.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(0 .012)"},c.createElement("mask",{fill:"#fff"}),c.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),c.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),c.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),c.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),c.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),c.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),c.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),c.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),c.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),c.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),c.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),c.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),c.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),c.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),c.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),c.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),c.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),c.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),c.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),c.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),c.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),c.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),c.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),c.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),c.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),c.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),c.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),c.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),c.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),c.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),c.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),c.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),c.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),c.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),c.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),c.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),c.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),c.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),Hae=zae,Bae=()=>c.createElement("svg",{width:"254",height:"294"},c.createElement("defs",null,c.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),c.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(0 .067)"},c.createElement("mask",{fill:"#fff"}),c.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),c.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),c.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),c.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),c.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),c.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),c.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),c.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),c.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),c.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),c.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),c.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),c.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),c.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),c.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),c.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),c.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),c.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),c.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),c.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),c.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),c.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),c.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),c.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),c.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),c.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),c.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),c.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),c.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),c.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),c.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),c.createElement("mask",{fill:"#fff"}),c.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),c.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),c.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),c.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),c.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),c.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),c.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),c.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),Vae=Bae,Wae=()=>c.createElement("svg",{width:"251",height:"294"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),c.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),c.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),c.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),c.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),c.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),c.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),c.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),c.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),c.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),c.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),c.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),c.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),c.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),c.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),c.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),c.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),c.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),c.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),c.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),c.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),c.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),c.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),c.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),c.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),c.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),c.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),c.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),c.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),c.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),c.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),c.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),c.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),c.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),c.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),Kae=Wae,Uae=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:o,paddingXL:a,paddingXS:i,paddingLG:l,marginXS:s,lineHeight:u}=e;return{[t]:{padding:`${l*2}px ${a}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${l}px ${o*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:i,"&:last-child":{marginInlineEnd:0}}}}},Yae=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},Gae=e=>[Uae(e),Yae(e)],Xae=e=>Gae(e),qae=Kt("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,o=`${t}px 0 0 0`,a=e.colorInfo,i=e.colorError,l=e.colorSuccess,s=e.colorWarning,u=xt(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:o,resultInfoIconColor:a,resultErrorIconColor:i,resultSuccessIconColor:l,resultWarningIconColor:s});return[Xae(u)]},{imageWidth:250,imageHeight:295}),Qae={success:Dg,error:si,info:pS,warning:mae},zf={404:Hae,500:Vae,403:Kae},Zae=Object.keys(zf),Jae=e=>{let{prefixCls:t,icon:n,status:r}=e;const o=Y(`${t}-icon`);if(Zae.includes(`${r}`)){const i=zf[r];return c.createElement("div",{className:`${o} ${t}-image`},c.createElement(i,null))}const a=c.createElement(Qae[r]);return n===null||n===!1?null:c.createElement("div",{className:o},n||a)},eie=e=>{let{prefixCls:t,extra:n}=e;return n?c.createElement("div",{className:`${t}-extra`},n):null},ch=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:o,title:a,style:i,children:l,status:s="info",icon:u,extra:d}=e;const{getPrefixCls:f,direction:v}=c.useContext(nt),p=f("result",t),[m,y]=qae(p),g=Y(p,`${p}-${s}`,n,r,{[`${p}-rtl`]:v==="rtl"},y);return m(c.createElement("div",{className:g,style:i},c.createElement(Jae,{prefixCls:p,status:s,icon:u}),c.createElement("div",{className:`${p}-title`},a),o&&c.createElement("div",{className:`${p}-subtitle`},o),c.createElement(eie,{prefixCls:p,extra:d}),l&&c.createElement("div",{className:`${p}-content`},l)))};ch.PRESENTED_IMAGE_403=zf[403];ch.PRESENTED_IMAGE_404=zf[404];ch.PRESENTED_IMAGE_500=zf[500];const tie=ch;var e6=function(t){return t?{left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth}:null},Es=function(t){return t!==void 0?"".concat(t,"px"):void 0};function nie(e){var t=e.prefixCls,n=e.containerRef,r=e.value,o=e.getValueIndex,a=e.motionName,i=e.onMotionStart,l=e.onMotionEnd,s=e.direction,u=c.useRef(null),d=c.useState(r),f=U(d,2),v=f[0],p=f[1],m=function(P){var O,T=o(P),k=(O=n.current)===null||O===void 0?void 0:O.querySelectorAll(".".concat(t,"-item"))[T];return(k==null?void 0:k.offsetParent)&&k},y=c.useState(null),g=U(y,2),h=g[0],b=g[1],C=c.useState(null),x=U(C,2),S=x[0],w=x[1];en(function(){if(v!==r){var M=m(v),P=m(r),O=e6(M),T=e6(P);p(r),b(O),w(T),M&&P?i():l()}},[r]);var $=c.useMemo(function(){return Es(s==="rtl"?-(h==null?void 0:h.right):h==null?void 0:h.left)},[s,h]),R=c.useMemo(function(){return Es(s==="rtl"?-(S==null?void 0:S.right):S==null?void 0:S.left)},[s,S]),I=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},N=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},_=function(){b(null),w(null),l()};return!h||!S?null:c.createElement(qn,{visible:!0,motionName:a,motionAppear:!0,onAppearStart:I,onAppearActive:N,onAppearEnd:_},function(M,P){var O=M.className,T=M.style,k=E(E({},T),{},{"--thumb-start-left":$,"--thumb-start-width":Es(h==null?void 0:h.width),"--thumb-active-left":R,"--thumb-active-width":Es(S==null?void 0:S.width)}),F={ref:rr(u,P),style:k,className:Y("".concat(t,"-thumb"),O)};return c.createElement("div",F)})}var rie=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function oie(e){if(typeof e.title<"u")return e.title;if(We(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function aie(e){return e.map(function(t){if(We(t)==="object"&&t!==null){var n=oie(t);return E(E({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var iie=function(t){var n=t.prefixCls,r=t.className,o=t.disabled,a=t.checked,i=t.label,l=t.title,s=t.value,u=t.onChange,d=function(v){o||u(v,s)};return c.createElement("label",{className:Y(r,A({},"".concat(n,"-item-disabled"),o))},c.createElement("input",{className:"".concat(n,"-item-input"),type:"radio",disabled:o,checked:a,onChange:d}),c.createElement("div",{className:"".concat(n,"-item-label"),title:l},i))},O2=c.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=o===void 0?"rc-segmented":o,i=e.direction,l=e.options,s=e.disabled,u=e.defaultValue,d=e.value,f=e.onChange,v=e.className,p=v===void 0?"":v,m=e.motionName,y=m===void 0?"thumb-motion":m,g=Oe(e,rie),h=c.useRef(null),b=c.useMemo(function(){return rr(h,t)},[h,t]),C=c.useMemo(function(){return aie(l)},[l]),x=yt((n=C[0])===null||n===void 0?void 0:n.value,{value:d,defaultValue:u}),S=U(x,2),w=S[0],$=S[1],R=c.useState(!1),I=U(R,2),N=I[0],_=I[1],M=function(T,k){s||($(k),f==null||f(k))},P=$n(g,["children"]);return c.createElement("div",be({},P,{className:Y(a,(r={},A(r,"".concat(a,"-rtl"),i==="rtl"),A(r,"".concat(a,"-disabled"),s),r),p),ref:b}),c.createElement("div",{className:"".concat(a,"-group")},c.createElement(nie,{prefixCls:a,value:w,containerRef:h,motionName:"".concat(a,"-").concat(y),direction:i,getValueIndex:function(T){return C.findIndex(function(k){return k.value===T})},onMotionStart:function(){_(!0)},onMotionEnd:function(){_(!1)}}),C.map(function(O){return c.createElement(iie,be({key:O.value,prefixCls:a,className:Y(O.className,"".concat(a,"-item"),A({},"".concat(a,"-item-selected"),O.value===w&&!N)),checked:O.value===w,onChange:M},O,{disabled:!!s||!!O.disabled}))})))});O2.displayName="Segmented";O2.defaultProps={options:[]};function t6(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function n6(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadowTertiary}}const lie=Object.assign({overflow:"hidden"},ra),sie=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},n6(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":Object.assign({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},lie),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},n6(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),t6(`&-disabled ${t}-item`,e)),t6(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},cie=Kt("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:r,colorText:o,colorFillSecondary:a,colorBgLayout:i,colorBgElevated:l}=e,s=xt(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:r,labelColorHover:o,bgColor:i,bgColorHover:a,bgColorSelected:l});return[sie(s)]});var r6=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,rootClassName:o,block:a,options:i=[],size:l="middle"}=e,s=r6(e,["prefixCls","className","rootClassName","block","options","size"]),{getPrefixCls:u,direction:d}=c.useContext(nt),f=u("segmented",n),[v,p]=cie(f),m=c.useContext(or),y=l||m,g=c.useMemo(()=>i.map(h=>{if(uie(h)){const{icon:b,label:C}=h,x=r6(h,["icon","label"]);return Object.assign(Object.assign({},x),{label:c.createElement(c.Fragment,null,c.createElement("span",{className:`${f}-item-icon`},b),C&&c.createElement("span",null,C))})}return h}),[i,f]);return v(c.createElement(O2,Object.assign({},s,{className:Y(r,o,{[`${f}-block`]:a,[`${f}-sm`]:y==="small",[`${f}-lg`]:y==="large"},p),options:g,ref:t,prefixCls:f,direction:d})))}),fie=die;var os=c.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0});function Xb(e,t,n){return(e-t)/(n-t)}function M2(e,t,n,r){var o=Xb(t,n,r),a={};switch(e){case"rtl":a.right="".concat(o*100,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(o*100,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(o*100,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(o*100,"%"),a.transform="translateX(-50%)";break}return a}function Qs(e,t){return Array.isArray(e)?e[t]:e}var vie=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],pie=c.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.value,i=e.valueIndex,l=e.onStartMove,s=e.style,u=e.render,d=e.dragging,f=e.onOffsetChange,v=Oe(e,vie),p=c.useContext(os),m=p.min,y=p.max,g=p.direction,h=p.disabled,b=p.keyboard,C=p.range,x=p.tabIndex,S=p.ariaLabelForHandle,w=p.ariaLabelledByForHandle,$=p.ariaValueTextFormatterForHandle,R="".concat(o,"-handle"),I=function(O){h||l(O,i)},N=function(O){if(!h&&b){var T=null;switch(O.which||O.keyCode){case ue.LEFT:T=g==="ltr"||g==="btt"?-1:1;break;case ue.RIGHT:T=g==="ltr"||g==="btt"?1:-1;break;case ue.UP:T=g!=="ttb"?1:-1;break;case ue.DOWN:T=g!=="ttb"?-1:1;break;case ue.HOME:T="min";break;case ue.END:T="max";break;case ue.PAGE_UP:T=2;break;case ue.PAGE_DOWN:T=-2;break}T!==null&&(O.preventDefault(),f(T,i))}},_=M2(g,a,m,y),M=c.createElement("div",be({ref:t,className:Y(R,(n={},A(n,"".concat(R,"-").concat(i+1),C),A(n,"".concat(R,"-dragging"),d),n)),style:E(E({},_),s),onMouseDown:I,onTouchStart:I,onKeyDown:N,tabIndex:h?null:Qs(x,i),role:"slider","aria-valuemin":m,"aria-valuemax":y,"aria-valuenow":a,"aria-disabled":h,"aria-label":Qs(S,i),"aria-labelledby":Qs(w,i),"aria-valuetext":(r=Qs($,i))===null||r===void 0?void 0:r(a)},v));return u&&(M=u(M,{index:i,prefixCls:o,value:a,dragging:d})),M}),mie=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],gie=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,a=e.onOffsetChange,i=e.values,l=e.handleRender,s=e.draggingIndex,u=Oe(e,mie),d=c.useRef({});return c.useImperativeHandle(t,function(){return{focus:function(v){var p;(p=d.current[v])===null||p===void 0||p.focus()}}}),c.createElement(c.Fragment,null,i.map(function(f,v){return c.createElement(pie,be({ref:function(m){m?d.current[v]=m:delete d.current[v]},dragging:s===v,prefixCls:n,style:Qs(r,v),key:v,value:f,valueIndex:v,onStartMove:o,onOffsetChange:a,render:l},u))}))});function o6(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function hie(e,t,n,r,o,a,i,l,s){var u=c.useState(null),d=U(u,2),f=d[0],v=d[1],p=c.useState(-1),m=U(p,2),y=m[0],g=m[1],h=c.useState(n),b=U(h,2),C=b[0],x=b[1],S=c.useState(n),w=U(S,2),$=w[0],R=w[1],I=c.useRef(null),N=c.useRef(null);c.useEffect(function(){y===-1&&x(n)},[n,y]),c.useEffect(function(){return function(){document.removeEventListener("mousemove",I.current),document.removeEventListener("mouseup",N.current),document.removeEventListener("touchmove",I.current),document.removeEventListener("touchend",N.current)}},[]);var _=function(F,D){C.some(function(j,z){return j!==F[z]})&&(D!==void 0&&v(D),x(F),i(F))},M=function(F,D){if(F===-1){var j=$[0],z=$[$.length-1],B=r-j,H=o-z,V=D*(o-r);V=Math.max(V,B),V=Math.min(V,H);var K=a(j+V);V=K-j;var W=$.map(function(ae){return ae+V});_(W)}else{var G=(o-r)*D,X=xe(C);X[F]=$[F];var Q=s(X,G,F,"dist");_(Q.values,Q.value)}},P=c.useRef(M);P.current=M;var O=function(F,D){F.stopPropagation();var j=n[D];g(D),v(j),R(n);var z=o6(F),B=z.pageX,H=z.pageY,V=function(G){G.preventDefault();var X=o6(G),Q=X.pageX,ae=X.pageY,ee=Q-B,q=ae-H,re=e.current.getBoundingClientRect(),te=re.width,J=re.height,ne;switch(t){case"btt":ne=-q/J;break;case"ttb":ne=q/J;break;case"rtl":ne=-ee/te;break;default:ne=ee/te}P.current(D,ne)},K=function W(G){G.preventDefault(),document.removeEventListener("mouseup",W),document.removeEventListener("mousemove",V),document.removeEventListener("touchend",W),document.removeEventListener("touchmove",V),I.current=null,N.current=null,g(-1),l()};document.addEventListener("mouseup",K),document.addEventListener("mousemove",V),document.addEventListener("touchend",K),document.addEventListener("touchmove",V),I.current=V,N.current=K},T=c.useMemo(function(){var k=xe(n).sort(function(D,j){return D-j}),F=xe(C).sort(function(D,j){return D-j});return k.every(function(D,j){return D===F[j]})?C:n},[n,C]);return[y,f,T,O]}function yie(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,a=e.index,i=e.onStartMove,l=c.useContext(os),s=l.direction,u=l.min,d=l.max,f=l.disabled,v=l.range,p="".concat(t,"-track"),m=Xb(r,u,d),y=Xb(o,u,d),g=function(C){!f&&i&&i(C,-1)},h={};switch(s){case"rtl":h.right="".concat(m*100,"%"),h.width="".concat(y*100-m*100,"%");break;case"btt":h.bottom="".concat(m*100,"%"),h.height="".concat(y*100-m*100,"%");break;case"ttb":h.top="".concat(m*100,"%"),h.height="".concat(y*100-m*100,"%");break;default:h.left="".concat(m*100,"%"),h.width="".concat(y*100-m*100,"%")}return c.createElement("div",{className:Y(p,v&&"".concat(p,"-").concat(a+1)),style:E(E({},h),n),onMouseDown:g,onTouchStart:g})}function bie(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,a=e.onStartMove,i=c.useContext(os),l=i.included,s=i.range,u=i.min,d=c.useMemo(function(){if(!s){if(r.length===0)return[];var f=o??u,v=r[0];return[{start:Math.min(f,v),end:Math.max(f,v)}]}for(var p=[],m=0;m3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof y=="number"){var b,C=m[g],x=C+y,S=[];r.forEach(function(N){S.push(N.value)}),S.push(e,t),S.push(l(C));var w=y>0?1:-1;h==="unit"?S.push(l(C+w*n)):S.push(l(x)),S=S.filter(function(N){return N!==null}).filter(function(N){return y<0?N<=C:N>=C}),h==="unit"&&(S=S.filter(function(N){return N!==C}));var $=h==="unit"?C:x;b=S[0];var R=Math.abs(b-$);if(S.forEach(function(N){var _=Math.abs(N-$);_1){var I=xe(m);return I[g]=b,p(I,y-w,g,h)}return b}else{if(y==="min")return e;if(y==="max")return t}},d=function(m,y,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",b=m[g],C=u(m,y,g,h);return{value:C,changed:C!==b}},f=function(m){return a===null&&m===0||typeof a=="number"&&m3&&arguments[3]!==void 0?arguments[3]:"unit",b=m.map(s),C=b[g],x=u(b,y,g,h);if(b[g]=x,o===!1){var S=a||0;g>0&&b[g-1]!==C&&(b[g]=Math.max(b[g],b[g-1]+S)),g0;I-=1)for(var N=!0;f(b[I]-b[I-1])&&N;){var _=d(b,-1,I-1);b[I-1]=_.value,N=_.changed}for(var M=b.length-1;M>0;M-=1)for(var P=!0;f(b[M]-b[M-1])&&P;){var O=d(b,-1,M-1);b[M-1]=O.value,P=O.changed}for(var T=0;T=0?O:!1},[O,pe]),ve=c.useMemo(function(){var Xe=Object.keys(G||{});return Xe.map(function(He){var Fe=G[He],Qe={value:Number(He)};return Fe&&We(Fe)==="object"&&!c.isValidElement(Fe)&&("label"in Fe||"style"in Fe)?(Qe.style=Fe.style,Qe.label=Fe.label):Qe.label=Fe,Qe}).filter(function(He){var Fe=He.label;return Fe||typeof Fe=="number"}).sort(function(He,Fe){return He.value-Fe.value})},[G]),ge=$ie(le,de,pe,ve,M,se),ce=U(ge,2),ie=ce[0],fe=ce[1],me=yt(S,{value:x}),Ce=U(me,2),ye=Ce[0],Ne=Ce[1],_e=c.useMemo(function(){var Xe=ye==null?[]:Array.isArray(ye)?ye:[ye],He=U(Xe,1),Fe=He[0],Qe=Fe===void 0?le:Fe,Ue=ye===null?[]:[Qe];if(w){if(Ue=xe(Xe),$||ye===void 0){var ct=$>=0?$+1:2;for(Ue=Ue.slice(0,ct);Ue.length=0&&J.current.focus(Xe)}Ee(null)},[bt]);var ke=c.useMemo(function(){return T&&pe===null?!1:T},[T,pe]),De=function(){N==null||N(Ye(Ke.current))},ze=hie(ne,oe,_e,le,de,ie,$e,De,fe),Me=U(ze,4),ht=Me[0],rt=Me[1],he=Me[2],Re=Me[3],we=function(He,Fe){Re(He,Fe),I==null||I(Ye(Ke.current))},Le=ht!==-1;c.useEffect(function(){if(!Le){var Xe=_e.lastIndexOf(rt);J.current.focus(Xe)}},[Le]);var Ze=c.useMemo(function(){return xe(he).sort(function(Xe,He){return Xe-He})},[he]),st=c.useMemo(function(){return w?[Ze[0],Ze[Ze.length-1]]:[le,Ze[0]]},[Ze,w,le]),Ct=U(st,2),it=Ct[0],Te=Ct[1];c.useImperativeHandle(t,function(){return{focus:function(){J.current.focus(0)},blur:function(){var He=document,Fe=He.activeElement;ne.current.contains(Fe)&&(Fe==null||Fe.blur())}}}),c.useEffect(function(){f&&J.current.focus(0)},[]);var Be=c.useMemo(function(){return{min:le,max:de,direction:oe,disabled:s,keyboard:d,step:pe,included:j,includedStart:it,includedEnd:Te,range:w,tabIndex:ee,ariaLabelForHandle:q,ariaLabelledByForHandle:re,ariaValueTextFormatterForHandle:te}},[le,de,oe,s,d,pe,j,it,Te,w,ee,q,re,te]);return c.createElement(os.Provider,{value:Be},c.createElement("div",{ref:ne,className:Y(o,a,(n={},A(n,"".concat(o,"-disabled"),s),A(n,"".concat(o,"-vertical"),F),A(n,"".concat(o,"-horizontal"),!F),A(n,"".concat(o,"-with-marks"),ve.length),n)),style:i,onMouseDown:je},c.createElement("div",{className:"".concat(o,"-rail"),style:V}),c.createElement(bie,{prefixCls:o,style:B,values:Ze,startPoint:z,onStartMove:ke?we:null}),c.createElement(wie,{prefixCls:o,marks:ve,dots:X,style:K,activeStyle:W}),c.createElement(gie,{ref:J,prefixCls:o,style:H,values:he,draggingIndex:ht,onStartMove:we,onOffsetChange:Se,onFocus:v,onBlur:p,handleRender:Q}),c.createElement(xie,{prefixCls:o,marks:ve,onClick:Ie})))});const Pie=c.forwardRef((e,t)=>{const{open:n}=e,r=c.useRef(null),o=c.useRef(null);function a(){kt.cancel(o.current),o.current=null}function i(){o.current=kt(()=>{var l;(l=r.current)===null||l===void 0||l.forceAlign(),o.current=null})}return c.useEffect(()=>(n?i():a(),a),[n,e.title]),c.createElement(tl,Object.assign({ref:rr(r,t)},e))}),Oie=Pie,Mie=e=>{const{componentCls:t,controlSize:n,dotSize:r,marginFull:o,marginPart:a,colorFillContentHover:i}=e;return{[t]:Object.assign(Object.assign({},Lt(e)),{position:"relative",height:n,margin:`${a}px ${o}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${o}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${e.motionDurationMid}, - inset-block-start ${e.motionDurationMid}, - width ${e.motionDurationMid}, - height ${e.motionDurationMid}, - box-shadow ${e.motionDurationMid} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+e.handleLineWidthHover*2,height:e.handleSizeHover+e.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.colorPrimary}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:r,height:r,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.colorPrimaryBorder}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.colorFillSecondary} !important`},[`${t}-track`]:{backgroundColor:`${e.colorTextDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new Yt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}}})}},M7=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:a}=e,i=t?"paddingBlock":"paddingInline",l=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",d=t?"top":"insetInlineStart";return{[i]:r,[s]:r*3,[`${n}-rail`]:{[l]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[u]:(r*3-o)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[d]:o,[l]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[d]:r,[l]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[u]:(r-a)/2}}},Rie=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},M7(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Iie=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},M7(e,!1)),{height:"100%"})}},Nie=Kt("Slider",e=>{const t=xt(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[Mie(t),Rie(t),Iie(t)]},e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,o=e.lineWidth+1,a=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:o,handleLineWidthHover:a}});var Tie=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);otypeof e=="number"?e.toString():"",kie=c.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:a,tooltipPrefixCls:i,tipFormatter:l,tooltipVisible:s,getTooltipPopupContainer:u,tooltipPlacement:d}=e,f=Tie(e,["prefixCls","range","className","rootClassName","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{getPrefixCls:v,direction:p,getPopupContainer:m}=c.useContext(nt),[y,g]=c.useState({}),h=(N,_)=>{g(M=>Object.assign(Object.assign({},M),{[N]:_}))},b=(N,_)=>N||(_?p==="rtl"?"left":"right":"top"),C=v("slider",n),[x,S]=Nie(C),w=Y(o,a,{[`${C}-rtl`]:p==="rtl"},S);p==="rtl"&&!f.vertical&&(f.reverse=!f.reverse);const[$,R]=c.useMemo(()=>r?typeof r=="object"?[!0,r.draggableTrack]:[!0,!1]:[!1],[r]),I=(N,_)=>{var M;const{index:P,dragging:O}=_,{tooltip:T={},vertical:k}=e,F=Object.assign({},T),{open:D,placement:j,getPopupContainer:z,prefixCls:B,formatter:H}=F;let V;H||H===null?V=H:l||l===null?V=l:V=_ie;const K=V?y[P]||O:!1,W=(M=D??s)!==null&&M!==void 0?M:D===void 0&&K,G=Object.assign(Object.assign({},N.props),{onMouseEnter:()=>h(P,!0),onMouseLeave:()=>h(P,!1)}),X=v("tooltip",B??i);return c.createElement(Oie,{prefixCls:X,title:V?V(_.value):"",open:W,placement:b(j??d,k),key:P,overlayClassName:`${C}-tooltip`,getPopupContainer:z||u||m},c.cloneElement(N,G))};return x(c.createElement(Eie,Object.assign({},f,{step:f.step,range:$,draggableTrack:R,className:w,ref:t,prefixCls:C,handleRender:I})))}),Fie=kie;var Die=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],R7=c.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,a=e.className,i=e.checked,l=e.defaultChecked,s=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,v=e.onClick,p=e.onChange,m=e.onKeyDown,y=Oe(e,Die),g=yt(!1,{value:i,defaultValue:l}),h=U(g,2),b=h[0],C=h[1];function x(R,I){var N=b;return s||(N=R,C(N),p==null||p(N,I)),N}function S(R){R.which===ue.LEFT?x(!1,R):R.which===ue.RIGHT&&x(!0,R),m==null||m(R)}function w(R){var I=x(!b,R);v==null||v(I,R)}var $=Y(o,a,(n={},A(n,"".concat(o,"-checked"),b),A(n,"".concat(o,"-disabled"),s),n));return c.createElement("button",be({},y,{type:"button",role:"switch","aria-checked":b,disabled:s,className:$,ref:t,onKeyDown:S,onClick:w}),u,c.createElement("span",{className:"".concat(o,"-inner")},c.createElement("span",{className:"".concat(o,"-inner-checked")},d),c.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});R7.displayName="Switch";const Lie=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},Aie=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},jie=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},zie=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-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"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},Hie=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Lt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),$c(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},Bie=Kt("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=2,o=t-r*2,a=n-r*2,i=xt(e,{switchMinWidth:o*2+r*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:o/2,switchInnerMarginMax:o+r+r*2,switchPadding:r,switchPinSize:o,switchBg:e.colorBgContainer,switchMinWidthSM:a*2+r*2,switchHeightSM:n,switchInnerMarginMinSM:a/2,switchInnerMarginMaxSM:a+r+r*2,switchPinSizeSM:a,switchHandleShadow:`0 2px 4px 0 ${new Yt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Hie(i),zie(i),jie(i),Aie(i),Lie(i)]});var Vie=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,size:r,disabled:o,loading:a,className:i,rootClassName:l}=e,s=Vie(e,["prefixCls","size","disabled","loading","className","rootClassName"]);const{getPrefixCls:u,direction:d}=c.useContext(nt),f=c.useContext(or),v=c.useContext(Vr),p=(o??v)||a,m=u("switch",n),y=c.createElement("div",{className:`${m}-handle`},a&&c.createElement(Ja,{className:`${m}-loading-icon`})),[g,h]=Bie(m),b=Y({[`${m}-small`]:(r||f)==="small",[`${m}-loading`]:a,[`${m}-rtl`]:d==="rtl"},i,l,h);return g(c.createElement(jR,null,c.createElement(R7,Object.assign({},s,{prefixCls:m,className:b,disabled:p,ref:t,loadingIcon:y}))))});I7.__ANT_SWITCH=!0;const Wie=I7;function N7(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var Kie=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],T7=function(t,n){var r=t.className,o=t.style,a=t.motion,i=t.motionNodes,l=t.motionType,s=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,v=Oe(t,Kie),p=c.useState(!0),m=U(p,2),y=m[0],g=m[1],h=c.useContext(v2),b=h.prefixCls,C=c.useRef(!1),x=function(){C.current||u(),C.current=!0};return c.useEffect(function(){i&&l==="hide"&&y&&g(!1)},[i]),c.useEffect(function(){return i&&s(),function(){i&&x()}},[]),i?c.createElement(qn,be({ref:n,visible:y},a,{motionAppear:l==="show",onAppearEnd:x,onLeaveEnd:x}),function(S,w){var $=S.className,R=S.style;return c.createElement("div",{ref:w,className:Y("".concat(b,"-treenode-motion"),$),style:R},i.map(function(I){var N=be({},(N7(I.data),I.data)),_=I.title,M=I.key,P=I.isStart,O=I.isEnd;delete N.children;var T=dd(M,f);return c.createElement(Gd,be({},N,T,{title:_,active:d,data:I.data,key:M,isStart:P,isEnd:O}))}))}):c.createElement(Gd,be({domRef:n,className:r,style:o},v,{active:d}))};T7.displayName="MotionTreeNode";var Uie=c.forwardRef(T7);function Yie(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function o(a,i){var l=new Map;a.forEach(function(u){l.set(u,!0)});var s=i.filter(function(u){return!l.has(u)});return s.length===1?s[0]:null}return n ").concat(t);return t}var k7=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var o=e.expandedKeys,a=e.selectedKeys,i=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,v=e.dragging,p=e.dragOverNodeKey,m=e.dropPosition,y=e.motion,g=e.height,h=e.itemHeight,b=e.virtual,C=e.focusable,x=e.activeItem,S=e.focused,w=e.tabIndex,$=e.onKeyDown,R=e.onFocus,I=e.onBlur,N=e.onActiveChange,_=e.onListChangeStart,M=e.onListChangeEnd,P=Oe(e,Gie),O=c.useRef(null),T=c.useRef(null);c.useImperativeHandle(t,function(){return{scrollTo:function(ve){O.current.scrollTo(ve)},getIndentWidth:function(){return T.current.offsetWidth}}});var k=c.useState(o),F=U(k,2),D=F[0],j=F[1],z=c.useState(r),B=U(z,2),H=B[0],V=B[1],K=c.useState(r),W=U(K,2),G=W[0],X=W[1],Q=c.useState([]),ae=U(Q,2),ee=ae[0],q=ae[1],re=c.useState(null),te=U(re,2),J=te[0],ne=te[1],oe=c.useRef(r);oe.current=r;function le(){var se=oe.current;V(se),X(se),q([]),ne(null),M()}c.useEffect(function(){j(o);var se=Yie(D,o);if(se.key!==null)if(se.add){var ve=H.findIndex(function(Ce){var ye=Ce.key;return ye===se.key}),ge=s6(a6(H,r,se.key),b,g,h),ce=H.slice();ce.splice(ve+1,0,l6),X(ce),q(ge),ne("show")}else{var ie=r.findIndex(function(Ce){var ye=Ce.key;return ye===se.key}),fe=s6(a6(r,H,se.key),b,g,h),me=r.slice();me.splice(ie+1,0,l6),X(me),q(fe),ne("hide")}else H!==r&&(V(r),X(r))},[o,r]),c.useEffect(function(){v||le()},[v]);var de=y?G:r,pe={expandedKeys:o,selectedKeys:a,loadedKeys:l,loadingKeys:s,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:m,keyEntities:d};return c.createElement(c.Fragment,null,S&&x&&c.createElement("span",{style:i6,"aria-live":"assertive"},qie(x)),c.createElement("div",null,c.createElement("input",{style:i6,disabled:C===!1||f,tabIndex:C!==!1?w:null,onKeyDown:$,onFocus:R,onBlur:I,value:"",onChange:Xie,"aria-label":"for screen reader"})),c.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},c.createElement("div",{className:"".concat(n,"-indent")},c.createElement("div",{ref:T,className:"".concat(n,"-indent-unit")}))),c.createElement(RS,be({},P,{data:de,itemKey:c6,height:g,fullHeight:!1,virtual:b,itemHeight:h,prefixCls:"".concat(n,"-list"),ref:O,onVisibleChange:function(ve,ge){var ce=new Set(ve),ie=ge.filter(function(fe){return!ce.has(fe)});ie.some(function(fe){return c6(fe)===Ul})&&le()}}),function(se){var ve=se.pos,ge=be({},(N7(se.data),se.data)),ce=se.title,ie=se.key,fe=se.isStart,me=se.isEnd,Ce=Ff(ie,ve);delete ge.key,delete ge.children;var ye=dd(Ce,pe);return c.createElement(Uie,be({},ge,ye,{title:ce,active:!!x&&ie===x.key,pos:ve,data:se.data,isStart:fe,isEnd:me,motion:y,motionNodes:ie===Ul?ee:null,motionType:J,onMotionStart:_,onMotionEnd:le,treeNodeRequiredProps:pe,onMouseMove:function(){N(null)}}))}))});k7.displayName="NodeList";function Qie(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r;break}return c.createElement("div",{style:o})}var Zie=10,R2=function(e){Lo(n,e);var t=Ao(n);function n(){var r;Tn(this,n);for(var o=arguments.length,a=new Array(o),i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,v=f.dragChildrenKeys,p=f.dropPosition,m=f.dropTargetKey,y=f.dropTargetPos,g=f.dropAllowed;if(g){var h=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),m!==null){var b=E(E({},dd(m,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===m,data:r.state.keyEntities[m].node}),C=v.indexOf(m)!==-1;Wt(!C,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var x=p2(y),S={event:l,node:Hn(b),dragNode:r.dragNode?Hn(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(v),dropToGap:p!==0,dropPosition:p+Number(x[x.length-1])};d||h==null||h(S),r.dragNode=null}}},r.cleanDragState=function(){var l=r.state.draggingNodeKey;l!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null},r.triggerExpandActionExpand=function(l,s){var u=r.state,d=u.expandedKeys,f=u.flattenNodes,v=s.expanded,p=s.key,m=s.isLeaf;if(!(m||l.shiftKey||l.metaKey||l.ctrlKey)){var y=f.filter(function(h){return h.key===p})[0],g=Hn(E(E({},dd(p,r.getTreeNodeRequiredProps())),{},{data:y.data}));r.setExpandedKeys(v?ka(d,p):yi(d,p)),r.onNodeExpand(l,g)}},r.onNodeClick=function(l,s){var u=r.props,d=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(l,s),d==null||d(l,s)},r.onNodeDoubleClick=function(l,s){var u=r.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(l,s),d==null||d(l,s)},r.onNodeSelect=function(l,s){var u=r.state.selectedKeys,d=r.state,f=d.keyEntities,v=d.fieldNames,p=r.props,m=p.onSelect,y=p.multiple,g=s.selected,h=s[v.key],b=!g;b?y?u=yi(u,h):u=[h]:u=ka(u,h);var C=u.map(function(x){var S=f[x];return S?S.node:null}).filter(function(x){return x});r.setUncontrolledState({selectedKeys:u}),m==null||m(u,{event:"select",selected:b,node:s,selectedNodes:C,nativeEvent:l.nativeEvent})},r.onNodeCheck=function(l,s,u){var d=r.state,f=d.keyEntities,v=d.checkedKeys,p=d.halfCheckedKeys,m=r.props,y=m.checkStrictly,g=m.onCheck,h=s.key,b,C={event:"check",node:s,checked:u,nativeEvent:l.nativeEvent};if(y){var x=u?yi(v,h):ka(v,h),S=ka(p,h);b={checked:x,halfChecked:S},C.checkedNodes=x.map(function(_){return f[_]}).filter(function(_){return _}).map(function(_){return _.node}),r.setUncontrolledState({checkedKeys:x})}else{var w=Ua([].concat(xe(v),[h]),!0,f),$=w.checkedKeys,R=w.halfCheckedKeys;if(!u){var I=new Set($);I.delete(h);var N=Ua(Array.from(I),{checked:!1,halfCheckedKeys:R},f);$=N.checkedKeys,R=N.halfCheckedKeys}b=$,C.checkedNodes=[],C.checkedNodesPositions=[],C.halfCheckedKeys=R,$.forEach(function(_){var M=f[_];if(M){var P=M.node,O=M.pos;C.checkedNodes.push(P),C.checkedNodesPositions.push({node:P,pos:O})}}),r.setUncontrolledState({checkedKeys:$},!1,{halfCheckedKeys:R})}g==null||g(b,C)},r.onNodeLoad=function(l){var s=l.key,u=new Promise(function(d,f){r.setState(function(v){var p=v.loadedKeys,m=p===void 0?[]:p,y=v.loadingKeys,g=y===void 0?[]:y,h=r.props,b=h.loadData,C=h.onLoad;if(!b||m.indexOf(s)!==-1||g.indexOf(s)!==-1)return null;var x=b(l);return x.then(function(){var S=r.state.loadedKeys,w=yi(S,s);C==null||C(w,{event:"load",node:l}),r.setUncontrolledState({loadedKeys:w}),r.setState(function($){return{loadingKeys:ka($.loadingKeys,s)}}),d()}).catch(function(S){if(r.setState(function($){return{loadingKeys:ka($.loadingKeys,s)}}),r.loadingRetryTimes[s]=(r.loadingRetryTimes[s]||0)+1,r.loadingRetryTimes[s]>=Zie){var w=r.state.loadedKeys;Wt(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:yi(w,s)}),d()}f(S)}),{loadingKeys:yi(g,s)}})});return u.catch(function(){}),u},r.onNodeMouseEnter=function(l,s){var u=r.props.onMouseEnter;u==null||u({event:l,node:s})},r.onNodeMouseLeave=function(l,s){var u=r.props.onMouseLeave;u==null||u({event:l,node:s})},r.onNodeContextMenu=function(l,s){var u=r.props.onRightClick;u&&(l.preventDefault(),u({event:l,node:s}))},r.onFocus=function(){var l=r.props.onFocus;r.setState({focused:!0});for(var s=arguments.length,u=new Array(s),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,f=!0,v={};Object.keys(l).forEach(function(p){if(p in r.props){f=!1;return}d=!0,v[p]=l[p]}),d&&(!s||f)&&r.setState(E(E({},v),u))}},r.scrollTo=function(l){r.listRef.current.scrollTo(l)},r}return _n(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var o=this.props.activeKey;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var o,a=this.state,i=a.focused,l=a.flattenNodes,s=a.keyEntities,u=a.draggingNodeKey,d=a.activeKey,f=a.dropLevelOffset,v=a.dropContainerKey,p=a.dropTargetKey,m=a.dropPosition,y=a.dragOverNodeKey,g=a.indent,h=this.props,b=h.prefixCls,C=h.className,x=h.style,S=h.showLine,w=h.focusable,$=h.tabIndex,R=$===void 0?0:$,I=h.selectable,N=h.showIcon,_=h.icon,M=h.switcherIcon,P=h.draggable,O=h.checkable,T=h.checkStrictly,k=h.disabled,F=h.motion,D=h.loadData,j=h.filterTreeNode,z=h.height,B=h.itemHeight,H=h.virtual,V=h.titleRender,K=h.dropIndicatorRender,W=h.onContextMenu,G=h.onScroll,X=h.direction,Q=h.rootClassName,ae=h.rootStyle,ee=Vl(this.props,{aria:!0,data:!0}),q;return P&&(We(P)==="object"?q=P:typeof P=="function"?q={nodeDraggable:P}:q={}),c.createElement(v2.Provider,{value:{prefixCls:b,selectable:I,showIcon:N,icon:_,switcherIcon:M,draggable:q,draggingNodeKey:u,checkable:O,checkStrictly:T,disabled:k,keyEntities:s,dropLevelOffset:f,dropContainerKey:v,dropTargetKey:p,dropPosition:m,dragOverNodeKey:y,indent:g,direction:X,dropIndicatorRender:K,loadData:D,filterTreeNode:j,titleRender:V,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c.createElement("div",{role:"tree",className:Y(b,C,Q,(o={},A(o,"".concat(b,"-show-line"),S),A(o,"".concat(b,"-focused"),i),A(o,"".concat(b,"-active-focused"),d!==null),o)),style:ae},c.createElement(k7,be({ref:this.listRef,prefixCls:b,style:x,data:l,disabled:k,selectable:I,checkable:!!O,motion:F,dragging:u!==null,height:z,itemHeight:B,virtual:H,focusable:w,focused:i,tabIndex:R,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:G},this.getTreeNodeRequiredProps(),ee))))}}],[{key:"getDerivedStateFromProps",value:function(o,a){var i=a.prevProps,l={prevProps:o};function s(w){return!i&&w in o||i&&i[w]!==o[w]}var u,d=a.fieldNames;if(s("fieldNames")&&(d=Mm(o.fieldNames),l.fieldNames=d),s("treeData")?u=o.treeData:s("children")&&(Wt(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=jJ(o.children)),u){l.treeData=u;var f=m2(u,{fieldNames:d});l.keyEntities=E(A({},Ul,_7),f.keyEntities)}var v=l.keyEntities||a.keyEntities;if(s("expandedKeys")||i&&s("autoExpandParent"))l.expandedKeys=o.autoExpandParent||!i&&o.defaultExpandParent?R3(o.expandedKeys,v):o.expandedKeys;else if(!i&&o.defaultExpandAll){var p=E({},v);delete p[Ul],l.expandedKeys=Object.keys(p).map(function(w){return p[w].key})}else!i&&o.defaultExpandedKeys&&(l.expandedKeys=o.autoExpandParent||o.defaultExpandParent?R3(o.defaultExpandedKeys,v):o.defaultExpandedKeys);if(l.expandedKeys||delete l.expandedKeys,u||l.expandedKeys){var m=a1(u||a.treeData,l.expandedKeys||a.expandedKeys,d);l.flattenNodes=m}if(o.selectable&&(s("selectedKeys")?l.selectedKeys=M3(o.selectedKeys,o):!i&&o.defaultSelectedKeys&&(l.selectedKeys=M3(o.defaultSelectedKeys,o))),o.checkable){var y;if(s("checkedKeys")?y=o1(o.checkedKeys)||{}:!i&&o.defaultCheckedKeys?y=o1(o.defaultCheckedKeys)||{}:u&&(y=o1(o.checkedKeys)||{checkedKeys:a.checkedKeys,halfCheckedKeys:a.halfCheckedKeys}),y){var g=y,h=g.checkedKeys,b=h===void 0?[]:h,C=g.halfCheckedKeys,x=C===void 0?[]:C;if(!o.checkStrictly){var S=Ua(b,!0,v);b=S.checkedKeys,x=S.halfCheckedKeys}l.checkedKeys=b,l.halfCheckedKeys=x}}return s("loadedKeys")&&(l.loadedKeys=o.loadedKeys),l}}]),n}(c.Component);R2.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Qie,allowDrop:function(){return!0},expandAction:!1};R2.TreeNode=Gd;const Jie=new Rt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ele=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),tle=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),nle=(e,t)=>{const{treeCls:n,treeNodeCls:r,controlInteractiveSize:o,treeNodePadding:a,treeTitleHeight:i}=t,l=t.lineHeight*t.fontSize/2-o/2,s=(i-t.fontSizeLG)/2-l,u=t.paddingXS;return{[n]:Object.assign(Object.assign({},Lt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Hl(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Jie,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${a}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},Hl(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},ele(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-a,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:u,marginBlockStart:s},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${i}px`,userSelect:"none"},tle(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-a,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},rle=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},ole=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,o=t.paddingXS/2,a=t.controlHeightSM,i=xt(t,{treeCls:n,treeNodeCls:r,treeNodePadding:o,treeTitleHeight:a});return[nle(e,i),rle(i)]},ale=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:o}=e,{isLeaf:a,expanded:i,loading:l}=r;if(l)return c.createElement(Ja,{className:`${t}-switcher-loading-icon`});let s;if(o&&typeof o=="object"&&(s=o.showLeafIcon),a){if(!o)return null;if(typeof s!="boolean"&&s){const f=typeof s=="function"?s(r):s,v=`${t}-switcher-line-custom-icon`;return Fo(f)?Wn(f,{className:Y(f.props.className||"",v)}):f}return s?c.createElement(koe,{className:`${t}-switcher-line-icon`}):c.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,d=typeof n=="function"?n(r):n;return Fo(d)?Wn(d,{className:Y(d.props.className||"",u)}):d!==void 0?d:o?i?c.createElement(Goe,{className:`${t}-switcher-line-icon`}):c.createElement(eae,{className:`${t}-switcher-line-icon`}):c.createElement(woe,{className:u})},ile=ale;var lle=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oc.createElement(cle,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Hf=c.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r}=e,o=lle(e,["addon","renderExtraFooter"]);const a=c.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return c.createElement(sle,Object.assign({},o,{mode:void 0,ref:t,renderExtraFooter:a}))}),F7=ts(Hf,"picker");Hf._InternalPanelDoNotUseOrYouWillBeFired=F7;Hf.RangePicker=ule;Hf._InternalPanelDoNotUseOrYouWillBeFired=F7;const D7=Hf;var L7=c.createContext(null),A7=c.createContext(null);function dle(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function fle(e){var t=e||{},n=t.label,r=t.value,o=t.children,a=r||"value";return{_title:n?[n]:["title","label"],value:a,key:a,children:o||"children"}}function Qb(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function vle(e,t){var n=[];function r(o){o.forEach(function(a){var i=a[t.children];i&&(n.push(a[t.value]),r(i))})}return r(e),n}function u6(e){return e==null}var ple={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},mle=function(t,n){var r=Pf(),o=r.prefixCls,a=r.multiple,i=r.searchValue,l=r.toggleOpen,s=r.open,u=r.notFoundContent,d=c.useContext(A7),f=d.virtual,v=d.listHeight,p=d.listItemHeight,m=d.treeData,y=d.fieldNames,g=d.onSelect,h=d.dropdownMatchSelectWidth,b=d.treeExpandAction,C=c.useContext(L7),x=C.checkable,S=C.checkedKeys,w=C.halfCheckedKeys,$=C.treeExpandedKeys,R=C.treeDefaultExpandAll,I=C.treeDefaultExpandedKeys,N=C.onTreeExpand,_=C.treeIcon,M=C.showTreeIcon,P=C.switcherIcon,O=C.treeLine,T=C.treeNodeFilterProp,k=C.loadData,F=C.treeLoadedKeys,D=C.treeMotion,j=C.onTreeLoad,z=C.keyEntities,B=c.useRef(),H=Ji(function(){return m},[s,m],function(ie,fe){return fe[0]&&ie[1]!==fe[1]}),V=c.useMemo(function(){return x?{checked:S,halfChecked:w}:null},[x,S,w]);c.useEffect(function(){if(s&&!a&&S.length){var ie;(ie=B.current)===null||ie===void 0||ie.scrollTo({key:S[0]})}},[s]);var K=String(i).toLowerCase(),W=function(fe){return K?String(fe[T]).toLowerCase().includes(K):!1},G=c.useState(I),X=U(G,2),Q=X[0],ae=X[1],ee=c.useState(null),q=U(ee,2),re=q[0],te=q[1],J=c.useMemo(function(){return $?xe($):i?re:Q},[Q,re,$,i]);c.useEffect(function(){i&&te(vle(m,y))},[i]);var ne=function(fe){ae(fe),te(fe),N&&N(fe)},oe=function(fe){fe.preventDefault()},le=function(fe,me){var Ce=me.node;x&&Qb(Ce)||(g(Ce.key,{selected:!S.includes(Ce.key)}),a||l(!1))},de=c.useState(null),pe=U(de,2),se=pe[0],ve=pe[1],ge=z[se];if(c.useImperativeHandle(n,function(){var ie;return{scrollTo:(ie=B.current)===null||ie===void 0?void 0:ie.scrollTo,onKeyDown:function(me){var Ce,ye=me.which;switch(ye){case ue.UP:case ue.DOWN:case ue.LEFT:case ue.RIGHT:(Ce=B.current)===null||Ce===void 0||Ce.onKeyDown(me);break;case ue.ENTER:{if(ge){var Ne=(ge==null?void 0:ge.node)||{},_e=Ne.selectable,Ke=Ne.value;_e!==!1&&le(null,{node:{key:se},selected:!S.includes(Ke)})}break}case ue.ESC:l(!1)}},onKeyUp:function(){}}}),H.length===0)return c.createElement("div",{role:"listbox",className:"".concat(o,"-empty"),onMouseDown:oe},u);var ce={fieldNames:y};return F&&(ce.loadedKeys=F),J&&(ce.expandedKeys=J),c.createElement("div",{onMouseDown:oe},ge&&s&&c.createElement("span",{style:ple,"aria-live":"assertive"},ge.node.value),c.createElement(R2,be({ref:B,focusable:!1,prefixCls:"".concat(o,"-tree"),treeData:H,height:v,itemHeight:p,virtual:f!==!1&&h!==!1,multiple:a,icon:_,showIcon:M,switcherIcon:P,showLine:O,loadData:i?null:k,motion:D,activeKey:se,checkable:x,checkStrictly:!0,checkedKeys:V,selectedKeys:x?[]:S,defaultExpandAll:R},ce,{onActiveChange:ve,onSelect:le,onCheck:le,onExpand:ne,onLoad:j,filterTreeNode:W,expandAction:b})))},j7=c.forwardRef(mle);j7.displayName="OptionList";var I2=function(){return null},z7="SHOW_ALL",N2="SHOW_PARENT",uh="SHOW_CHILD";function d6(e,t,n,r){var o=new Set(e);return t===uh?e.filter(function(a){var i=n[a];return!(i&&i.children&&i.children.some(function(l){var s=l.node;return o.has(s[r.value])})&&i.children.every(function(l){var s=l.node;return Qb(s)||o.has(s[r.value])}))}):t===N2?e.filter(function(a){var i=n[a],l=i?i.parent:null;return!(l&&!Qb(l.node)&&o.has(l.key))}):e}var gle=["children","value"];function H7(e){return Mr(e).map(function(t){if(!c.isValidElement(t)||!t.type)return null;var n=t,r=n.key,o=n.props,a=o.children,i=o.value,l=Oe(o,gle),s=E({key:r,value:i},l),u=H7(a);return u.length&&(s.children=u),s}).filter(function(t){return t})}function Zb(e){if(!e)return e;var t=E({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Wt(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function hle(e,t,n,r,o,a){var i=null,l=null;function s(){function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(p,m){var y="".concat(f,"-").concat(m),g=p[a.value],h=n.includes(g),b=u(p[a.children]||[],y,h),C=c.createElement(I2,p,b.map(function(S){return S.node}));if(t===g&&(i=C),h){var x={pos:y,node:C,children:b};return v||l.push(x),x}return null}).filter(function(p){return p})}l||(l=[],u(r),l.sort(function(d,f){var v=d.node.props.value,p=f.node.props.value,m=n.indexOf(v),y=n.indexOf(p);return m-y}))}Object.defineProperty(e,"triggerNode",{get:function(){return Wt(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Wt(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),o?l:l.map(function(d){var f=d.node;return f})}})}function yle(e,t){var n=t.id,r=t.pId,o=t.rootPId,a={},i=[],l=e.map(function(s){var u=E({},s),d=u[n];return a[d]=u,u.key=u.key||d,u});return l.forEach(function(s){var u=s[r],d=a[u];d&&(d.children=d.children||[],d.children.push(s)),(u===o||!d&&o===null)&&i.push(s)}),i}function ble(e,t,n){return c.useMemo(function(){return e?n?yle(e,E({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:H7(t)},[t,n,e])}const Cle=function(e){var t=c.useRef({valueLabels:new Map});return c.useMemo(function(){var n=t.current.valueLabels,r=new Map,o=e.map(function(a){var i,l=a.value,s=(i=a.label)!==null&&i!==void 0?i:n.get(l);return r.set(l,s),E(E({},a),{},{label:s})});return t.current.valueLabels=r,[o]},[e])};function f6(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}const xle=function(e,t){return c.useMemo(function(){var n=m2(e,{fieldNames:t,initWrapper:function(o){return E(E({},o),{},{valueEntities:new Map})},processEntity:function(o,a){var i=o.node[t.value];a.valueEntities.set(i,o)}});return n},[e,t])},Sle=function(e,t,n,r){return c.useMemo(function(){var o=e.map(function(s){var u=s.value;return u}),a=t.map(function(s){var u=s.value;return u}),i=o.filter(function(s){return!r[s]});if(n){var l=Ua(o,!0,r);o=l.checkedKeys,a=l.halfCheckedKeys}return[Array.from(new Set([].concat(xe(i),xe(o)))),a]},[e,t,n,r])},wle=function(e,t,n){var r=n.treeNodeFilterProp,o=n.filterTreeNode,a=n.fieldNames,i=a.children;return c.useMemo(function(){if(!t||o===!1)return e;var l;if(typeof o=="function")l=o;else{var s=t.toUpperCase();l=function(f,v){var p=v[r];return String(p).toUpperCase().includes(s)}}function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.map(function(v){var p=v[i],m=f||l(t,Zb(v)),y=u(p||[],m);return m||y.length?E(E({},v),{},A({isLeaf:void 0},i,y)):null}).filter(function(v){return v})}return u(e)},[e,t,i,r,o])};var $le=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Ele(e){return!e||We(e)!=="object"}var Ple=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=r===void 0?"rc-tree-select":r,a=e.value,i=e.defaultValue,l=e.onChange,s=e.onSelect,u=e.onDeselect,d=e.searchValue,f=e.inputValue,v=e.onSearch,p=e.autoClearSearchValue,m=p===void 0?!0:p,y=e.filterTreeNode,g=e.treeNodeFilterProp,h=g===void 0?"value":g,b=e.showCheckedStrategy,C=b===void 0?uh:b,x=e.treeNodeLabelProp,S=e.multiple,w=e.treeCheckable,$=e.treeCheckStrictly,R=e.labelInValue,I=e.fieldNames,N=e.treeDataSimpleMode,_=e.treeData,M=e.children,P=e.loadData,O=e.treeLoadedKeys,T=e.onTreeLoad,k=e.treeDefaultExpandAll,F=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,j=e.onTreeExpand,z=e.treeExpandAction,B=e.virtual,H=e.listHeight,V=H===void 0?200:H,K=e.listItemHeight,W=K===void 0?20:K,G=e.onDropdownVisibleChange,X=e.dropdownMatchSelectWidth,Q=X===void 0?!0:X,ae=e.treeLine,ee=e.treeIcon,q=e.showTreeIcon,re=e.switcherIcon,te=e.treeMotion,J=Oe(e,$le),ne=PS(n),oe=w&&!$,le=w||$,de=$||R,pe=le||S,se=yt(i,{value:a}),ve=U(se,2),ge=ve[0],ce=ve[1],ie=c.useMemo(function(){return fle(I)},[JSON.stringify(I)]),fe=yt("",{value:d!==void 0?d:f,postState:function(Qe){return Qe||""}}),me=U(fe,2),Ce=me[0],ye=me[1],Ne=function(Qe){ye(Qe),v==null||v(Qe)},_e=ble(_,M,N),Ke=xle(_e,ie),Ye=Ke.keyEntities,$e=Ke.valueEntities,Ie=c.useCallback(function(Fe){var Qe=[],Ue=[];return Fe.forEach(function(ct){$e.has(ct)?Ue.push(ct):Qe.push(ct)}),{missingRawValues:Qe,existRawValues:Ue}},[$e]),je=wle(_e,Ce,{fieldNames:ie,treeNodeFilterProp:h,filterTreeNode:y}),gt=c.useCallback(function(Fe){if(Fe){if(x)return Fe[x];for(var Qe=ie._title,Ue=0;Ue{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,o=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},ole(n,xt(e,{colorBgContainer:r})),{[o]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},g2(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Mle(e,t){return Kt("TreeSelect",n=>{const r=xt(n,{treePrefixCls:t});return[Ole(r)]})(e)}var Rle=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,size:r,disabled:o,bordered:a=!0,className:i,rootClassName:l,treeCheckable:s,multiple:u,listHeight:d=256,listItemHeight:f=26,placement:v,notFoundContent:p,switcherIcon:m,treeLine:y,getPopupContainer:g,popupClassName:h,dropdownClassName:b,treeIcon:C=!1,transitionName:x,choiceTransitionName:S="",status:w,showArrow:$,treeExpandAction:R,builtinPlacements:I}=e,N=Rle(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction","builtinPlacements"]);const{getPopupContainer:_,getPrefixCls:M,renderEmpty:P,direction:O,virtual:T,dropdownMatchSelectWidth:k}=c.useContext(nt),F=c.useContext(or),D=M(),j=M("select",n),z=M("select-tree",n),B=M("tree-select",n),{compactSize:H,compactItemClassnames:V}=Pa(j,O),[K,W]=_S(j),[G]=Mle(B,z),X=Y(h||b,`${B}-dropdown`,{[`${B}-dropdown-rtl`]:O==="rtl"},l,W),Q=!!(s||u),ae=FS($),{status:ee,hasFeedback:q,isFormItemInput:re,feedbackIcon:te}=c.useContext(mr),J=el(ee,w),{suffixIcon:ne,removeIcon:oe,clearIcon:le}=AS(Object.assign(Object.assign({},N),{multiple:Q,showArrow:ae,hasFeedback:q,feedbackIcon:te,prefixCls:j}));let de;p!==void 0?de=p:de=(P==null?void 0:P("Select"))||c.createElement(TS,{componentName:"Select"});const pe=$n(N,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),se=c.useMemo(()=>v!==void 0?v:O==="rtl"?"bottomRight":"bottomLeft",[v,O]),ve=kS(I),ge=H||r||F,ce=c.useContext(Vr),ie=o??ce,fe=Y(!n&&B,{[`${j}-lg`]:ge==="large",[`${j}-sm`]:ge==="small",[`${j}-rtl`]:O==="rtl",[`${j}-borderless`]:!a,[`${j}-in-form-item`]:re},lo(j,J,q),V,i,l,W),me=ye=>c.createElement(ile,{prefixCls:z,switcherIcon:m,treeNodeProps:ye,showLine:y}),Ce=c.createElement(Bf,Object.assign({virtual:T,dropdownMatchSelectWidth:k,disabled:ie},pe,{builtinPlacements:ve,ref:t,prefixCls:j,className:fe,listHeight:d,listItemHeight:f,treeCheckable:s&&c.createElement("span",{className:`${j}-tree-checkbox-inner`}),treeLine:!!y,inputIcon:ne,multiple:u,placement:se,removeIcon:oe,clearIcon:le,switcherIcon:me,showTreeIcon:C,notFoundContent:de,getPopupContainer:g||_,treeMotion:null,dropdownClassName:X,choiceTransitionName:Hr(D,"",S),transitionName:Hr(D,CS(v),x),showArrow:q||ae,treeExpandAction:R}));return K(G(Ce))},Nle=c.forwardRef(Ile),as=Nle,Tle=ts(as);as.TreeNode=I2;as.SHOW_ALL=z7;as.SHOW_PARENT=N2;as.SHOW_CHILD=uh;as._InternalPanelDoNotUseOrYouWillBeFired=Tle;const _le=as,T2=e=>Ot(c.Suspense,{fallback:Ot(rl,{size:"large",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}}),children:Ot(e,{})}),kle=[{path:"/components",meta:{title:"组件"},children:[{path:"/components/virtualized",element:T2(Z.lazy(()=>Jx(()=>import("./index-c8413a02.js"),["assets/js/index-c8413a02.js","assets/css/index-94985698.css"]))),meta:{title:"virtualized"}}]}],Fle=[{path:"/dashboard",element:T2(Z.lazy(()=>Jx(()=>import("./index-143b534b.js"),[]))),meta:{title:"概览",key:"dashboard"}}];var Dle={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};const Lle={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},B7=Lle,V7={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},Dle),timePickerLocale:Object.assign({},B7)};V7.lang.ok="确定";const v6=V7,Gr="${label}不是一个有效的${type}",Ale={locale:"zh-cn",Pagination:Ere,DatePicker:v6,TimePicker:B7,Calendar:v6,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:Gr,method:Gr,array:Gr,object:Gr,number:Gr,date:Gr,boolean:Gr,integer:Gr,float:Gr,regexp:Gr,email:Gr,url:Gr,hex:Gr},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"}},jle=Ale;var Jb={},zle={get exports(){return Jb},set exports(e){Jb=e}},W7={};/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Nc=c;function Hle(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ble=typeof Object.is=="function"?Object.is:Hle,Vle=Nc.useState,Wle=Nc.useEffect,Kle=Nc.useLayoutEffect,Ule=Nc.useDebugValue;function Yle(e,t){var n=t(),r=Vle({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return Kle(function(){o.value=n,o.getSnapshot=t,p1(o)&&a({inst:o})},[e,n,t]),Wle(function(){return p1(o)&&a({inst:o}),e(function(){p1(o)&&a({inst:o})})},[e]),Ule(n),n}function p1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ble(e,n)}catch{return!0}}function Gle(e,t){return t()}var Xle=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Gle:Yle;W7.useSyncExternalStore=Nc.useSyncExternalStore!==void 0?Nc.useSyncExternalStore:Xle;(function(e){e.exports=W7})(zle);const ja=new WeakMap,m1={},Kv={},_i=()=>{},Ro=_i(),Sp=Object,ln=e=>e===Ro,ha=e=>typeof e=="function",ni=(e,t)=>({...e,...t}),_2="undefined",dh=typeof window!=_2,eC=typeof document!=_2,qle=()=>dh&&typeof window.requestAnimationFrame!=_2,K7=(e,t)=>{const n=ja.get(e);return[()=>!ln(t)&&e.get(t)||m1,r=>{if(!ln(t)){const o=e.get(t);t in Kv||(Kv[t]=o),n[5](t,ni(o,r),o||m1)}},n[6],()=>!ln(t)&&t in Kv?Kv[t]:!ln(t)&&e.get(t)||m1]},Uv=new WeakMap;let Qle=0;const Qd=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(Sp(e)===e&&!r&&n!=RegExp){if(o=Uv.get(e),o)return o;if(o=++Qle+"~",Uv.set(e,o),n==Array){for(o="@",a=0;atC,[nC,rC]=dh&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_i,_i],Jle=()=>{const e=eC&&document.visibilityState;return ln(e)||e!=="hidden"},ese=e=>(eC&&document.addEventListener("visibilitychange",e),nC("focus",e),()=>{eC&&document.removeEventListener("visibilitychange",e),rC("focus",e)}),tse=e=>{const t=()=>{tC=!0,e()},n=()=>{tC=!1};return nC("online",t),nC("offline",n),()=>{rC("online",t),rC("offline",n)}},nse={isOnline:Zle,isVisible:Jle},rse={initFocus:ese,initReconnect:tse},p6=!Z.useId,Zd=!dh||"Deno"in window,ose=e=>qle()?window.requestAnimationFrame(e):setTimeout(e,1),wp=Zd?c.useEffect:c.useLayoutEffect,g1=typeof navigator<"u"&&navigator.connection,m6=!Zd&&g1&&(["slow-2g","2g"].includes(g1.effectiveType)||g1.saveData),k2=e=>{if(ha(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Qd(e):"",[e,t]};let ase=0;const oC=()=>++ase,U7=0,Y7=1,G7=2,ise=3;var _u={__proto__:null,ERROR_REVALIDATE_EVENT:ise,FOCUS_EVENT:U7,MUTATE_EVENT:G7,RECONNECT_EVENT:Y7};async function X7(...e){const[t,n,r,o]=e,a=ni({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let i=a.populateCache;const l=a.rollbackOnError;let s=a.optimisticData;const u=a.revalidate!==!1,d=p=>typeof l=="function"?l(p):l!==!1,f=a.throwOnError;if(ha(n)){const p=n,m=[],y=t.keys();for(let g=y.next();!g.done;g=y.next()){const h=g.value;!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&m.push(h)}return Promise.all(m.map(v))}return v(n);async function v(p){const[m]=k2(p);if(!m)return;const[y,g]=K7(t,m),[h,b,C]=ja.get(t),x=h[m],S=()=>u&&(delete C[m],x&&x[0])?x[0](G7).then(()=>y().data):y().data;if(e.length<3)return S();let w=r,$;const R=oC();b[m]=[R,0];const I=!ln(s),N=y(),_=N.data,M=N._c,P=ln(M)?_:M;if(I&&(s=ha(s)?s(P):s,g({data:s,_c:P})),ha(w))try{w=w(P)}catch(T){$=T}if(w&&ha(w.then))if(w=await w.catch(T=>{$=T}),R!==b[m][0]){if($)throw $;return w}else $&&I&&d($)&&(i=!0,w=P,g({data:w,_c:Ro}));i&&($||(ha(i)&&(w=i(w,P)),g({data:w,_c:Ro}))),b[m][1]=oC();const O=await S();if(g({_c:Ro}),$){if(f)throw $;return}return i?O:w}}const g6=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},q7=(e,t)=>{if(!ja.has(e)){const n=ni(rse,t),r={},o=X7.bind(Ro,e);let a=_i;const i={},l=(d,f)=>{const v=i[d]||[];return i[d]=v,v.push(f),()=>v.splice(v.indexOf(f),1)},s=(d,f,v)=>{e.set(d,f);const p=i[d];if(p)for(const m of p)m(f,v)},u=()=>{if(!ja.has(e)&&(ja.set(e,[r,{},{},{},o,s,l]),!Zd)){const d=n.initFocus(setTimeout.bind(Ro,g6.bind(Ro,r,U7))),f=n.initReconnect(setTimeout.bind(Ro,g6.bind(Ro,r,Y7)));a=()=>{d&&d(),f&&f(),ja.delete(e)}}};return u(),[e,o,u,a]}return[e,ja.get(e)[4]]},lse=(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!ln(a)&&i>a||setTimeout(r,l,o)},sse=(e,t)=>Qd(e)==Qd(t),[F2,cse]=q7(new Map),Q7=ni({onLoadingSlow:_i,onSuccess:_i,onError:_i,onErrorRetry:lse,onDiscarded:_i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:m6?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:m6?5e3:3e3,compare:sse,isPaused:()=>!1,cache:F2,mutate:cse,fallback:{}},nse),Z7=(e,t)=>{const n=ni(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=ni(o,i))}return n},aC=c.createContext({}),use=e=>{const{value:t}=e,n=c.useContext(aC),r=ha(t),o=c.useMemo(()=>r?t(n):t,[r,n,t]),a=c.useMemo(()=>r?o:Z7(n,o),[r,n,o]),i=o&&o.provider,l=c.useRef(Ro);i&&!l.current&&(l.current=q7(i(a.cache||F2),o));const s=l.current;return s&&(a.cache=s[0],a.mutate=s[1]),wp(()=>{if(s)return s[2]&&s[2](),s[3]},[]),c.createElement(aC.Provider,ni(e,{value:a}))},J7=dh&&window.__SWR_DEVTOOLS_USE__,dse=J7?window.__SWR_DEVTOOLS_USE__:[],fse=()=>{J7&&(window.__SWR_DEVTOOLS_REACT__=Z)},vse=e=>ha(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],D2=()=>ni(Q7,c.useContext(aC)),pse=e=>(t,n,r)=>e(t,n&&((...a)=>{const[i]=k2(t),[,,,l]=ja.get(F2),s=l[i];return s?(delete l[i],s):n(...a)}),r),mse=dse.concat(pse),gse=e=>function(...n){const r=D2(),[o,a,i]=vse(n),l=Z7(r,i);let s=e;const{use:u}=l,d=(u||[]).concat(mse);for(let f=d.length;f--;)s=d[f](s);return s(o,a||l.fetcher||null,l)},hse=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};fse();const h1={dedupe:!0},yse=(e,t,n)=>{const{cache:r,compare:o,suspense:a,fallbackData:i,revalidateOnMount:l,revalidateIfStale:s,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:f,keepPreviousData:v}=n,[p,m,y]=ja.get(r),[g,h]=k2(e),b=c.useRef(!1),C=c.useRef(!1),x=c.useRef(g),S=c.useRef(t),w=c.useRef(n),$=()=>w.current,R=()=>$().isVisible()&&$().isOnline(),[I,N,_,M]=K7(r,g),P=c.useRef({}).current,O=ln(i)?n.fallback[g]:i,T=(q,re)=>{for(const te in P){const J=te;if(J==="data"){if(!o(q[J],re[J])&&(!ln(q[J])||!o(K,re[J])))return!1}else if(re[J]!==q[J])return!1}return!0},k=c.useMemo(()=>{const q=(()=>!g||!t?!1:ln(l)?$().isPaused()||a?!1:ln(s)?!0:s:l)(),re=de=>{const pe=ni(de);return delete pe._k,q?{isValidating:!0,isLoading:!0,...pe}:pe},te=I(),J=M(),ne=re(te),oe=te===J?ne:re(J);let le=ne;return[()=>{const de=re(I());return T(de,le)?(le.data=de.data,le.isLoading=de.isLoading,le.isValidating=de.isValidating,le.error=de.error,le):(le=de,de)},()=>oe]},[r,g]),F=Jb.useSyncExternalStore(c.useCallback(q=>_(g,(re,te)=>{T(te,re)||q()}),[r,g]),k[0],k[1]),D=!b.current,j=p[g]&&p[g].length>0,z=F.data,B=ln(z)?O:z,H=F.error,V=c.useRef(B),K=v?ln(z)?V.current:z:B,W=(()=>j&&!ln(H)?!1:D&&!ln(l)?l:$().isPaused()?!1:a?ln(B)?!1:s:ln(B)||s)(),G=!!(g&&t&&D&&W),X=ln(F.isValidating)?G:F.isValidating,Q=ln(F.isLoading)?G:F.isLoading,ae=c.useCallback(async q=>{const re=S.current;if(!g||!re||C.current||$().isPaused())return!1;let te,J,ne=!0;const oe=q||{},le=!y[g]||!oe.dedupe,de=()=>p6?!C.current&&g===x.current&&b.current:g===x.current,pe={isValidating:!1,isLoading:!1},se=()=>{N(pe)},ve=()=>{const ce=y[g];ce&&ce[1]===J&&delete y[g]},ge={isValidating:!0};ln(I().data)&&(ge.isLoading=!0);try{if(le&&(N(ge),n.loadingTimeout&&ln(I().data)&&setTimeout(()=>{ne&&de()&&$().onLoadingSlow(g,n)},n.loadingTimeout),y[g]=[re(h),oC()]),[te,J]=y[g],te=await te,le&&setTimeout(ve,n.dedupingInterval),!y[g]||y[g][1]!==J)return le&&de()&&$().onDiscarded(g),!1;pe.error=Ro;const ce=m[g];if(!ln(ce)&&(J<=ce[0]||J<=ce[1]||ce[1]===0))return se(),le&&de()&&$().onDiscarded(g),!1;const ie=I().data;pe.data=o(ie,te)?ie:te,le&&de()&&$().onSuccess(te,g,n)}catch(ce){ve();const ie=$(),{shouldRetryOnError:fe}=ie;ie.isPaused()||(pe.error=ce,le&&de()&&(ie.onError(ce,g,ie),(fe===!0||ha(fe)&&fe(ce))&&R()&&ie.onErrorRetry(ce,g,ie,me=>{const Ce=p[g];Ce&&Ce[0]&&Ce[0](_u.ERROR_REVALIDATE_EVENT,me)},{retryCount:(oe.retryCount||0)+1,dedupe:!0})))}return ne=!1,se(),!0},[g,r]),ee=c.useCallback((...q)=>X7(r,x.current,...q),[]);if(wp(()=>{S.current=t,w.current=n,ln(z)||(V.current=z)}),wp(()=>{if(!g)return;const q=ae.bind(Ro,h1);let re=0;const J=hse(g,p,(ne,oe={})=>{if(ne==_u.FOCUS_EVENT){const le=Date.now();$().revalidateOnFocus&&le>re&&R()&&(re=le+$().focusThrottleInterval,q())}else if(ne==_u.RECONNECT_EVENT)$().revalidateOnReconnect&&R()&&q();else{if(ne==_u.MUTATE_EVENT)return ae();if(ne==_u.ERROR_REVALIDATE_EVENT)return ae(oe)}});return C.current=!1,x.current=g,b.current=!0,N({_k:h}),W&&(ln(B)||Zd?q():ose(q)),()=>{C.current=!0,J()}},[g]),wp(()=>{let q;function re(){const J=ha(u)?u(I().data):u;J&&q!==-1&&(q=setTimeout(te,J))}function te(){!I().error&&(d||$().isVisible())&&(f||$().isOnline())?ae(h1).then(re):re()}return re(),()=>{q&&(clearTimeout(q),q=-1)}},[u,d,f,g]),c.useDebugValue(K),a&&ln(B)&&g)throw!p6&&Zd?new Error("Fallback data is required when using suspense in SSR."):(S.current=t,w.current=n,C.current=!1,ln(H)?ae(h1):H);return{mutate:ee,get data(){return P.data=!0,K},get error(){return P.error=!0,H},get isValidating(){return P.isValidating=!0,X},get isLoading(){return P.isLoading=!0,Q}}},bse=Sp.defineProperty(use,"defaultValue",{value:Q7}),L2=gse(yse);function $p(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Og(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,l;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){i=!0,l=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}}}const Cse={moneySymbol:"$",form:{lightFilter:{more:"المزيد",clear:"نظف",confirm:"تأكيد",itemUnit:"عناصر"}},tableForm:{search:"ابحث",reset:"إعادة تعيين",submit:"ارسال",collapsed:"مُقلص",expand:"مُوسع",inputPlaceholder:"الرجاء الإدخال",selectPlaceholder:"الرجاء الإختيار"},alert:{clear:"نظف",selected:"محدد",item:"عنصر"},pagination:{total:{range:" ",total:"من",item:"عناصر"}},tableToolBar:{leftPin:"ثبت على اليسار",rightPin:"ثبت على اليمين",noPin:"الغاء التثبيت",leftFixedTitle:"لصق على اليسار",rightFixedTitle:"لصق على اليمين",noFixedTitle:"إلغاء الإلصاق",reset:"إعادة تعيين",columnDisplay:"الأعمدة المعروضة",columnSetting:"الإعدادات",fullScreen:"وضع كامل الشاشة",exitFullScreen:"الخروج من وضع كامل الشاشة",reload:"تحديث",density:"الكثافة",densityDefault:"افتراضي",densityLarger:"أكبر",densityMiddle:"وسط",densitySmall:"مدمج"},stepsForm:{next:"التالي",prev:"السابق",submit:"أنهى"},loginForm:{submitText:"تسجيل الدخول"},editableTable:{action:{save:"أنقذ",cancel:"إلغاء الأمر",delete:"حذف",add:"إضافة صف من البيانات"}},switch:{open:"مفتوح",close:"غلق"}},xse={moneySymbol:"€",form:{lightFilter:{more:"Més",clear:"Netejar",confirm:"Confirmar",itemUnit:"Elements"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col·lapsar",inputPlaceholder:"Introduïu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuració",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitjà",densitySmall:"Compacte"},stepsForm:{next:"Següent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Cancel·lar",delete:"Eliminar",add:"afegir una fila de dades"}},switch:{open:"obert",close:"tancat"}},Sse={moneySymbol:"Kč",deleteThisLine:"Smazat tento řádek",copyThisLine:"Kopírovat tento řádek",form:{lightFilter:{more:"Víc",clear:"Vymazat",confirm:"Potvrdit",itemUnit:"Položky"}},tableForm:{search:"Dotaz",reset:"Resetovat",submit:"Odeslat",collapsed:"Zvětšit",expand:"Zmenšit",inputPlaceholder:"Zadejte prosím",selectPlaceholder:"Vyberte prosím"},alert:{clear:"Vymazat",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položek"}},tableToolBar:{leftPin:"Připnout doleva",rightPin:"Připnout doprava",noPin:"Odepnuto",leftFixedTitle:"Fixováno nalevo",rightFixedTitle:"Fixováno napravo",noFixedTitle:"Neopraveno",reset:"Resetovat",columnDisplay:"Zobrazení sloupců",columnSetting:"Nastavení",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončete celou obrazovku",reload:"Obnovit",density:"Hustota",densityDefault:"Výchozí",densityLarger:"Větší",densityMiddle:"Střední",densitySmall:"Kompaktní"},stepsForm:{next:"Další",prev:"Předchozí",submit:"Dokončit"},loginForm:{submitText:"Přihlásit se"},editableTable:{onlyOneLineEditor:"Upravit lze pouze jeden řádek",action:{save:"Uložit",cancel:"Zrušit",delete:"Vymazat",add:"přidat řádek dat"}},switch:{open:"otevřít",close:"zavřít"}},wse={moneySymbol:"€",form:{lightFilter:{more:"Mehr",clear:"Zurücksetzen",confirm:"Bestätigen",itemUnit:"Einträge"}},tableForm:{search:"Suchen",reset:"Zurücksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte auswählen"},alert:{clear:"Zurücksetzen",selected:"Ausgewählt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Einträgen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zurücksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Größer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"Löschen",add:"Hinzufügen einer Datenzeile"}},switch:{open:"offen",close:"schließen"}},$se={moneySymbol:"£",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},Ese={moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},Pse={moneySymbol:"€",form:{lightFilter:{more:"Más",clear:"Limpiar",confirm:"Confirmar",itemUnit:"artículos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"artículos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuración",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"añadir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}},Ose={moneySymbol:"تومان",form:{lightFilter:{more:"بیشتر",clear:"پاک کردن",confirm:"تایید",itemUnit:"مورد"}},tableForm:{search:"جستجو",reset:"بازنشانی",submit:"تایید",collapsed:"نمایش بیشتر",expand:"نمایش کمتر",inputPlaceholder:"پیدا کنید",selectPlaceholder:"انتخاب کنید"},alert:{clear:"پاک سازی",selected:"انتخاب",item:"مورد"},pagination:{total:{range:" ",total:"از",item:"مورد"}},tableToolBar:{leftPin:"سنجاق به چپ",rightPin:"سنجاق به راست",noPin:"سنجاق نشده",leftFixedTitle:"ثابت شده در چپ",rightFixedTitle:"ثابت شده در راست",noFixedTitle:"شناور",reset:"بازنشانی",columnDisplay:"نمایش همه",columnSetting:"تنظیمات",fullScreen:"تمام صفحه",exitFullScreen:"خروج از حالت تمام صفحه",reload:"تازه سازی",density:"تراکم",densityDefault:"پیش فرض",densityLarger:"بزرگ",densityMiddle:"متوسط",densitySmall:"کوچک"},stepsForm:{next:"بعدی",prev:"قبلی",submit:"اتمام"},loginForm:{submitText:"ورود"},editableTable:{action:{save:"ذخیره",cancel:"لغو",delete:"حذف",add:"یک ردیف داده اضافه کنید"}},switch:{open:"باز",close:"نزدیک"}},Mse={moneySymbol:"€",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"Réinitialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"Réduire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"Sélectionner une valeur"},alert:{clear:"Réinitialiser",selected:"Sélectionné",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"éléments"}},tableToolBar:{leftPin:"Épingler à gauche",rightPin:"Épingler à gauche",noPin:"Sans épingle",leftFixedTitle:"Fixer à gauche",rightFixedTitle:"Fixer à droite",noFixedTitle:"Non fixé",reset:"Réinitialiser",columnDisplay:"Affichage colonne",columnSetting:"Réglages",fullScreen:"Plein écran",exitFullScreen:"Quitter Plein écran",reload:"Rafraichir",density:"Densité",densityDefault:"Par défaut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Précédente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de données"}},switch:{open:"ouvert",close:"près"}},Rse={moneySymbol:"kn",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretraži",reset:"Poništi",submit:"Potvrdi",collapsed:"Raširi",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"Očisti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prikači lijevo",rightPin:"Prikači desno",noPin:"Bez prikačenja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Izađi iz punog zaslona",reload:"Ponovno učitaj",density:"Veličina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljedeći",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}},Ise={moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}},Nse={moneySymbol:"€",form:{lightFilter:{more:"più",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalità schermo intero",exitFullScreen:"Esci da modalità schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}},Tse={moneySymbol:"¥",form:{lightFilter:{more:"もっと",clear:"明確",confirm:"確認",itemUnit:"項目"}},tableForm:{search:"検索",reset:"リセット",submit:"提交",collapsed:"展開",expand:"収納",inputPlaceholder:"入力してください",selectPlaceholder:"選択してください"},alert:{clear:"クリア",selected:"選択した",item:"項目"},pagination:{total:{range:"記事",total:"/合計",item:" "}},tableToolBar:{leftPin:"左に固定",rightPin:"右に固定",noPin:"キャンセル",leftFixedTitle:"左に固定された項目",rightFixedTitle:"右に固定された項目",noFixedTitle:"固定されてない項目",reset:"リセット",columnDisplay:"表示列",columnSetting:"列表示設定",fullScreen:"フルスクリーン",exitFullScreen:"終了",reload:"更新",density:"行高",densityDefault:"デフォルト",densityLarger:"默认",densityMiddle:"中",densitySmall:"小"},stepsForm:{next:"次のステップ",prev:"前",submit:"送信"},loginForm:{submitText:"ログイン"},editableTable:{action:{save:"救う",cancel:"キャンセル",delete:"削除",add:"1行のデータを追加します"}},switch:{open:"オープン",close:"近い"}},_se={moneySymbol:"₩",form:{lightFilter:{more:"더보기",clear:"초기화",confirm:"확인",itemUnit:"건수"}},tableForm:{search:"조회",reset:"초기화",submit:"제출",collapsed:"확장",expand:"닫기",inputPlaceholder:"입력해 주세요",selectPlaceholder:"선택해 주세요"},alert:{clear:"취소",selected:"선택",item:"건"},pagination:{total:{range:" ",total:"/ 총",item:"건"}},tableToolBar:{leftPin:"왼쪽으로 핀",rightPin:"오른쪽으로 핀",noPin:"핀 제거",leftFixedTitle:"왼쪽으로 고정",rightFixedTitle:"오른쪽으로 고정",noFixedTitle:"비고정",reset:"초기화",columnDisplay:"컬럼 표시",columnSetting:"설정",fullScreen:"전체 화면",exitFullScreen:"전체 화면 취소",reload:"새로 고침",density:"여백",densityDefault:"기본",densityLarger:"많은 여백",densityMiddle:"중간 여백",densitySmall:"좁은 여백"},stepsForm:{next:"다음",prev:"이전",submit:"종료"},loginForm:{submitText:"로그인"},editableTable:{action:{save:"저장",cancel:"취소",delete:"삭제",add:"데이터 행 추가"}},switch:{open:"열",close:"가까 운"}},kse={moneySymbol:"₮",form:{lightFilter:{more:"Илүү",clear:"Цэвэрлэх",confirm:"Баталгаажуулах",itemUnit:"Нэгжүүд"}},tableForm:{search:"Хайх",reset:"Шинэчлэх",submit:"Илгээх",collapsed:"Өргөтгөх",expand:"Хураах",inputPlaceholder:"Утга оруулна уу",selectPlaceholder:"Утга сонгоно уу"},alert:{clear:"Цэвэрлэх",selected:"Сонгогдсон",item:"Нэгж"},pagination:{total:{range:" ",total:"Нийт",item:"мөр"}},tableToolBar:{leftPin:"Зүүн тийш бэхлэх",rightPin:"Баруун тийш бэхлэх",noPin:"Бэхлэхгүй",leftFixedTitle:"Зүүн зэрэгцүүлэх",rightFixedTitle:"Баруун зэрэгцүүлэх",noFixedTitle:"Зэрэгцүүлэхгүй",reset:"Шинэчлэх",columnDisplay:"Баганаар харуулах",columnSetting:"Тохиргоо",fullScreen:"Бүтэн дэлгэцээр",exitFullScreen:"Бүтэн дэлгэц цуцлах",reload:"Шинэчлэх",density:"Хэмжээ",densityDefault:"Хэвийн",densityLarger:"Том",densityMiddle:"Дунд",densitySmall:"Жижиг"},stepsForm:{next:"Дараах",prev:"Өмнөх",submit:"Дуусгах"},loginForm:{submitText:"Нэвтрэх"},editableTable:{action:{save:"Хадгалах",cancel:"Цуцлах",delete:"Устгах",add:"Мөр нэмэх"}},switch:{open:"Нээх",close:"Хаах"}},Fse={moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}},Dse={moneySymbol:"zł",form:{lightFilter:{more:"Więcej",clear:"Wyczyść",confirm:"Potwierdź",itemUnit:"Ilość"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierdź",collapsed:"Pokaż wiecej",expand:"Pokaż mniej",inputPlaceholder:"Proszę podać",selectPlaceholder:"Proszę wybrać"},alert:{clear:"Wyczyść",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpisów"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypięte do lewej",rightFixedTitle:"Przypięte do prawej",noFixedTitle:"Nieprzypięte",reset:"Reset",columnDisplay:"Wyświetlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pełen ekran",exitFullScreen:"Zamknij pełen ekran",reload:"Odśwież",density:"Odstęp",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Zaloguj się"},editableTable:{action:{save:"Zapisać",cancel:"Anuluj",delete:"Usunąć",add:"dodawanie wiersza danych"}},switch:{open:"otwierać",close:"zamykać"}},Lse={moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar à esquerda",rightPin:"Fixar à direita",noPin:"Desfixado",leftFixedTitle:"Fixado à esquerda",rightFixedTitle:"Fixado à direita",noFixedTitle:"Não fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configurações",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padrão",densityLarger:"Largo",densityMiddle:"Médio",densitySmall:"Compacto"},stepsForm:{next:"Próximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}},Ase={moneySymbol:"₽",form:{lightFilter:{more:"Еще",clear:"Очистить",confirm:"ОК",itemUnit:"Позиции"}},tableForm:{search:"Найти",reset:"Сброс",submit:"Отправить",collapsed:"Развернуть",expand:"Свернуть",inputPlaceholder:"Введите значение",selectPlaceholder:"Выберите значение"},alert:{clear:"Очистить",selected:"Выбрано",item:"элементов"},pagination:{total:{range:" ",total:"из",item:"элементов"}},tableToolBar:{leftPin:"Закрепить слева",rightPin:"Закрепить справа",noPin:"Открепить",leftFixedTitle:"Закреплено слева",rightFixedTitle:"Закреплено справа",noFixedTitle:"Не закреплено",reset:"Сброс",columnDisplay:"Отображение столбца",columnSetting:"Настройки",fullScreen:"Полный экран",exitFullScreen:"Выйти из полноэкранного режима",reload:"Обновить",density:"Размер",densityDefault:"По умолчанию",densityLarger:"Большой",densityMiddle:"Средний",densitySmall:"Сжатый"},stepsForm:{next:"Следующий",prev:"Предыдущий",submit:"Завершить"},loginForm:{submitText:"Вход"},editableTable:{action:{save:"Сохранить",cancel:"Отменить",delete:"Удалить",add:"добавить ряд данных"}},switch:{open:"Открытый чемпионат мира по теннису",close:"По адресу:"}},jse={moneySymbol:"€",deleteThisLine:"Odstrániť tento riadok",copyThisLine:"Skopírujte tento riadok",form:{lightFilter:{more:"Viac",clear:"Vyčistiť",confirm:"Potvrďte",itemUnit:"Položky"}},tableForm:{search:"Vyhladať",reset:"Resetovať",submit:"Odoslať",collapsed:"Rozbaliť",expand:"Zbaliť",inputPlaceholder:"Prosím, zadajte",selectPlaceholder:"Prosím, vyberte"},alert:{clear:"Vyčistiť",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položiek"}},tableToolBar:{leftPin:"Pripnúť vľavo",rightPin:"Pripnúť vpravo",noPin:"Odopnuté",leftFixedTitle:"Fixované na ľavo",rightFixedTitle:"Fixované na pravo",noFixedTitle:"Nefixované",reset:"Resetovať",columnDisplay:"Zobrazenie stĺpcov",columnSetting:"Nastavenia",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončiť celú obrazovku",reload:"Obnoviť",density:"Hustota",densityDefault:"Predvolené",densityLarger:"Väčšie",densityMiddle:"Stredné",densitySmall:"Kompaktné"},stepsForm:{next:"Ďalšie",prev:"Predchádzajúce",submit:"Potvrdiť"},loginForm:{submitText:"Prihlásiť sa"},editableTable:{onlyOneLineEditor:"Upravovať možno iba jeden riadok",action:{save:"Uložiť",cancel:"Zrušiť",delete:"Odstrániť",add:"pridať riadok údajov"}},switch:{open:"otvoriť",close:"zavrieť"}},zse={moneySymbol:"RSD",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pronađi",reset:"Resetuj",submit:"Pošalji",collapsed:"Proširi",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"Očisti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zakači levo",rightPin:"Zakači desno",noPin:"Nije zakačeno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Podešavanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osveži",density:"Veličina",densityDefault:"Podrazumevana",densityLarger:"Veća",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sačuvaj",cancel:"Poništi",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"Отворите",close:"Затворите"}},Hse={moneySymbol:"฿",deleteThisLine:"ลบบรรทัดนี้",copyThisLine:"คัดลอกบรรทัดนี้",form:{lightFilter:{more:"มากกว่า",clear:"ชัดเจน",confirm:"ยืนยัน",itemUnit:"รายการ"}},tableForm:{search:"สอบถาม",reset:"รีเซ็ต",submit:"ส่ง",collapsed:"ขยาย",expand:"ทรุด",inputPlaceholder:"กรุณาป้อน",selectPlaceholder:"โปรดเลือก"},alert:{clear:"ชัดเจน",selected:"เลือกแล้ว",item:"รายการ"},pagination:{total:{range:" ",total:"ของ",item:"รายการ"}},tableToolBar:{leftPin:"ปักหมุดไปทางซ้าย",rightPin:"ปักหมุดไปทางขวา",noPin:"เลิกตรึงแล้ว",leftFixedTitle:"แก้ไขด้านซ้าย",rightFixedTitle:"แก้ไขด้านขวา",noFixedTitle:"ไม่คงที่",reset:"รีเซ็ต",columnDisplay:"การแสดงคอลัมน์",columnSetting:"การตั้งค่า",fullScreen:"เต็มจอ",exitFullScreen:"ออกจากโหมดเต็มหน้าจอ",reload:"รีเฟรช",density:"ความหนาแน่น",densityDefault:"ค่าเริ่มต้น",densityLarger:"ขนาดใหญ่ขึ้น",densityMiddle:"กลาง",densitySmall:"กะทัดรัด"},stepsForm:{next:"ถัดไป",prev:"ก่อนหน้า",submit:"เสร็จ"},loginForm:{submitText:"เข้าสู่ระบบ"},editableTable:{onlyOneLineEditor:"แก้ไขได้เพียงบรรทัดเดียวเท่านั้น",action:{save:"บันทึก",cancel:"ยกเลิก",delete:"ลบ",add:"เพิ่มแถวของข้อมูล"}},switch:{open:"เปิด",close:"ปิด"}},Bse={moneySymbol:"₺",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"Öğeler"}},tableForm:{search:"Filtrele",reset:"Sıfırla",submit:"Gönder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek için bir değer girin",selectPlaceholder:"Filtrelemek için bir değer seçin"},alert:{clear:"Temizle",selected:"Seçili",item:"Öğe"},pagination:{total:{range:" ",total:"Toplam",item:"Öğe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sağa sabitle",noPin:"Sabitlemeyi kaldır",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sağa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"Sıfırla",columnDisplay:"Kolon Görünümü",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan Çık",reload:"Yenile",density:"Kalınlık",densityDefault:"Varsayılan",densityLarger:"Büyük",densityMiddle:"Orta",densitySmall:"Küçük"},stepsForm:{next:"Sıradaki",prev:"Önceki",submit:"Gönder"},loginForm:{submitText:"Giriş Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazgeç",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"açık",close:"kapatmak"}},Vse={moneySymbol:"₫",form:{lightFilter:{more:"Nhiều hơn",clear:"Trong",confirm:"Xác nhận",itemUnit:"Mục"}},tableForm:{search:"Tìm kiếm",reset:"Làm lại",submit:"Gửi đi",collapsed:"Mở rộng",expand:"Thu gọn",inputPlaceholder:"nhập dữ liệu",selectPlaceholder:"Vui lòng chọn"},alert:{clear:"Xóa",selected:"đã chọn",item:"mục"},pagination:{total:{range:" ",total:"trên",item:"mặt hàng"}},tableToolBar:{leftPin:"Ghim trái",rightPin:"Ghim phải",noPin:"Bỏ ghim",leftFixedTitle:"Cố định trái",rightFixedTitle:"Cố định phải",noFixedTitle:"Chưa cố định",reset:"Làm lại",columnDisplay:"Cột hiển thị",columnSetting:"Cấu hình",fullScreen:"Chế độ toàn màn hình",exitFullScreen:"Thoát chế độ toàn màn hình",reload:"Làm mới",density:"Mật độ hiển thị",densityDefault:"Mặc định",densityLarger:"Mặc định",densityMiddle:"Trung bình",densitySmall:"Chật"},stepsForm:{next:"Sau",prev:"Trước",submit:"Kết thúc"},loginForm:{submitText:"Đăng nhập"},editableTable:{action:{save:"Cứu",cancel:"Hủy",delete:"Xóa",add:"thêm một hàng dữ liệu"}},switch:{open:"mở",close:"đóng"}},Wse={moneySymbol:"¥",deleteThisLine:"删除此行",copyThisLine:"复制此行",form:{lightFilter:{more:"更多筛选",clear:"清除",confirm:"确认",itemUnit:"项"}},tableForm:{search:"查询",reset:"重置",submit:"提交",collapsed:"展开",expand:"收起",inputPlaceholder:"请输入",selectPlaceholder:"请选择"},alert:{clear:"取消选择",selected:"已选择",item:"项"},pagination:{total:{range:"第",total:"条/总共",item:"条"}},tableToolBar:{leftPin:"固定在列首",rightPin:"固定在列尾",noPin:"不固定",leftFixedTitle:"固定在左侧",rightFixedTitle:"固定在右侧",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列设置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"默认",densityMiddle:"中等",densitySmall:"紧凑"},stepsForm:{next:"下一步",prev:"上一步",submit:"提交"},loginForm:{submitText:"登录"},editableTable:{onlyOneLineEditor:"只能同时编辑一行",action:{save:"保存",cancel:"取消",delete:"删除",add:"添加一行数据"}},switch:{open:"打开",close:"关闭"}},Kse={moneySymbol:"NT$",deleteThisLine:"刪除此行",copyThisLine:"複製此行",form:{lightFilter:{more:"更多篩選",clear:"清除",confirm:"確認",itemUnit:"項"}},tableForm:{search:"查詢",reset:"重置",submit:"提交",collapsed:"展開",expand:"收起",inputPlaceholder:"請輸入",selectPlaceholder:"請選擇"},alert:{clear:"取消選擇",selected:"已選擇",item:"項"},pagination:{total:{range:"第",total:"條/總共",item:"條"}},tableToolBar:{leftPin:"固定到左邊",rightPin:"固定到右邊",noPin:"不固定",leftFixedTitle:"固定在左側",rightFixedTitle:"固定在右側",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列設置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"默認",densityMiddle:"中等",densitySmall:"緊湊"},stepsForm:{next:"下一步",prev:"上一步",submit:"完成"},loginForm:{submitText:"登入"},editableTable:{onlyOneLineEditor:"只能同時編輯一行",action:{save:"保存",cancel:"取消",delete:"刪除",add:"新增一行資料"}},switch:{open:"打開",close:"關閉"}};function Use(e,t,n){var r=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,a=n,i=$p(r),l;try{for(i.s();!(l=i.n()).done;){var s=l.value;if(a=Object(o)[s],o=Object(o)[s],a===void 0)return n}}catch(u){i.e(u)}finally{i.f()}return a}var bn=function(t,n){return{getMessage:function(o,a){return Use(n,o,a)||a},locale:t}},Yse=bn("mn_MN",kse),Gse=bn("ar_EG",Cse),uc=bn("zh_CN",Wse),Xse=bn("en_US",Ese),qse=bn("en_GB",$se),Qse=bn("vi_VN",Vse),Zse=bn("it_IT",Nse),Jse=bn("ja_JP",Tse),ece=bn("es_ES",Pse),tce=bn("ca_ES",xse),nce=bn("ru_RU",Ase),rce=bn("sr_RS",zse),oce=bn("ms_MY",Fse),ace=bn("zh_TW",Kse),ice=bn("fr_FR",Mse),lce=bn("pt_BR",Lse),sce=bn("ko_KR",_se),cce=bn("id_ID",Ise),uce=bn("de_DE",wse),dce=bn("fa_IR",Ose),fce=bn("tr_TR",Bse),vce=bn("pl_PL",Dse),pce=bn("hr_",Rse),mce=bn("th_TH",Hse),gce=bn("cs_cz",Sse),hce=bn("sk_SK",jse),Tc={"mn-MN":Yse,"ar-EG":Gse,"zh-CN":uc,"en-US":Xse,"en-GB":qse,"vi-VN":Qse,"it-IT":Zse,"ja-JP":Jse,"es-ES":ece,"ca-ES":tce,"ru-RU":nce,"sr-RS":rce,"ms-MY":oce,"zh-TW":ace,"fr-FR":ice,"pt-BR":lce,"ko-KR":sce,"id-ID":cce,"de-DE":uce,"fa-IR":dce,"tr-TR":fce,"pl-PL":vce,"hr-HR":pce,"th-TH":mce,"cs-CZ":gce,"sk-SK":hce},yce=Object.keys(Tc),e9=function(t){var n=(t||"zh-CN").toLocaleLowerCase();return yce.find(function(r){var o=r.toLocaleLowerCase();return o.includes(n)})},y1,Jd={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911",colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff7875",colorInfo:"#1677ff",colorTextBase:"#000",colorBgBase:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInQuint:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,"blue-1":"#e6f4ff","blue-2":"#bae0ff","blue-3":"#91caff","blue-4":"#69b1ff","blue-5":"#4096ff","blue-6":"#1677ff","blue-7":"#0958d9","blue-8":"#003eb3","blue-9":"#002c8c","blue-10":"#001d66","purple-1":"#f9f0ff","purple-2":"#efdbff","purple-3":"#d3adf7","purple-4":"#b37feb","purple-5":"#9254de","purple-6":"#722ed1","purple-7":"#531dab","purple-8":"#391085","purple-9":"#22075e","purple-10":"#120338","cyan-1":"#e6fffb","cyan-2":"#b5f5ec","cyan-3":"#87e8de","cyan-4":"#5cdbd3","cyan-5":"#36cfc9","cyan-6":"#13c2c2","cyan-7":"#08979c","cyan-8":"#006d75","cyan-9":"#00474f","cyan-10":"#002329","green-1":"#f6ffed","green-2":"#d9f7be","green-3":"#b7eb8f","green-4":"#95de64","green-5":"#73d13d","green-6":"#52c41a","green-7":"#389e0d","green-8":"#237804","green-9":"#135200","green-10":"#092b00","magenta-1":"#fff0f6","magenta-2":"#ffd6e7","magenta-3":"#ffadd2","magenta-4":"#ff85c0","magenta-5":"#f759ab","magenta-6":"#eb2f96","magenta-7":"#c41d7f","magenta-8":"#9e1068","magenta-9":"#780650","magenta-10":"#520339","pink-1":"#fff0f6","pink-2":"#ffd6e7","pink-3":"#ffadd2","pink-4":"#ff85c0","pink-5":"#f759ab","pink-6":"#eb2f96","pink-7":"#c41d7f","pink-8":"#9e1068","pink-9":"#780650","pink-10":"#520339","red-1":"#fff1f0","red-2":"#ffccc7","red-3":"#ffa39e","red-4":"#ff7875","red-5":"#ff4d4f","red-6":"#f5222d","red-7":"#cf1322","red-8":"#a8071a","red-9":"#820014","red-10":"#5c0011","orange-1":"#fff7e6","orange-2":"#ffe7ba","orange-3":"#ffd591","orange-4":"#ffc069","orange-5":"#ffa940","orange-6":"#fa8c16","orange-7":"#d46b08","orange-8":"#ad4e00","orange-9":"#873800","orange-10":"#612500","yellow-1":"#feffe6","yellow-2":"#ffffb8","yellow-3":"#fffb8f","yellow-4":"#fff566","yellow-5":"#ffec3d","yellow-6":"#fadb14","yellow-7":"#d4b106","yellow-8":"#ad8b00","yellow-9":"#876800","yellow-10":"#614700","volcano-1":"#fff2e8","volcano-2":"#ffd8bf","volcano-3":"#ffbb96","volcano-4":"#ff9c6e","volcano-5":"#ff7a45","volcano-6":"#fa541c","volcano-7":"#d4380d","volcano-8":"#ad2102","volcano-9":"#871400","volcano-10":"#610b00","geekblue-1":"#f0f5ff","geekblue-2":"#d6e4ff","geekblue-3":"#adc6ff","geekblue-4":"#85a5ff","geekblue-5":"#597ef7","geekblue-6":"#2f54eb","geekblue-7":"#1d39c4","geekblue-8":"#10239e","geekblue-9":"#061178","geekblue-10":"#030852","gold-1":"#fffbe6","gold-2":"#fff1b8","gold-3":"#ffe58f","gold-4":"#ffd666","gold-5":"#ffc53d","gold-6":"#faad14","gold-7":"#d48806","gold-8":"#ad6800","gold-9":"#874d00","gold-10":"#613400","lime-1":"#fcffe6","lime-2":"#f4ffb8","lime-3":"#eaff8f","lime-4":"#d3f261","lime-5":"#bae637","lime-6":"#a0d911","lime-7":"#7cb305","lime-8":"#5b8c00","lime-9":"#3f6600","lime-10":"#254000",colorText:"rgba(0, 0, 0, 0.88)",colorTextSecondary:"rgba(0, 0, 0, 0.65)",colorTextTertiary:"rgba(0, 0, 0, 0.45)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorFill:"rgba(0, 0, 0, 0.15)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorFillQuaternary:"rgba(0, 0, 0, 0.02)",colorBgLayout:"hsl(220,23%,97%)",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgSpotlight:"rgba(0, 0, 0, 0.85)",colorBorder:"#d9d9d9",colorBorderSecondary:"#f0f0f0",colorPrimaryBg:"#e6f4ff",colorPrimaryBgHover:"#bae0ff",colorPrimaryBorder:"#91caff",colorPrimaryBorderHover:"#69b1ff",colorPrimaryHover:"#4096ff",colorPrimaryActive:"#0958d9",colorPrimaryTextHover:"#4096ff",colorPrimaryText:"#1677ff",colorPrimaryTextActive:"#0958d9",colorSuccessBg:"#f6ffed",colorSuccessBgHover:"#d9f7be",colorSuccessBorder:"#b7eb8f",colorSuccessBorderHover:"#95de64",colorSuccessHover:"#95de64",colorSuccessActive:"#389e0d",colorSuccessTextHover:"#73d13d",colorSuccessText:"#52c41a",colorSuccessTextActive:"#389e0d",colorErrorBg:"#fff2f0",colorErrorBgHover:"#fff1f0",colorErrorBorder:"#ffccc7",colorErrorBorderHover:"#ffa39e",colorErrorHover:"#ffa39e",colorErrorActive:"#d9363e",colorErrorTextHover:"#ff7875",colorErrorText:"#ff4d4f",colorErrorTextActive:"#d9363e",colorWarningBg:"#fffbe6",colorWarningBgHover:"#fff1b8",colorWarningBorder:"#ffe58f",colorWarningBorderHover:"#ffd666",colorWarningHover:"#ffd666",colorWarningActive:"#d48806",colorWarningTextHover:"#ffc53d",colorWarningText:"#faad14",colorWarningTextActive:"#d48806",colorInfoBg:"#e6f4ff",colorInfoBgHover:"#bae0ff",colorInfoBorder:"#91caff",colorInfoBorderHover:"#69b1ff",colorInfoHover:"#69b1ff",colorInfoActive:"#0958d9",colorInfoTextHover:"#4096ff",colorInfoText:"#1677ff",colorInfoTextActive:"#0958d9",colorBgMask:"rgba(0, 0, 0, 0.45)",colorWhite:"#fff",sizeXXL:48,sizeXL:32,sizeLG:24,sizeMD:20,sizeMS:16,size:16,sizeSM:12,sizeXS:8,sizeXXS:4,controlHeightSM:24,controlHeightXS:16,controlHeightLG:40,motionDurationFast:"0.1s",motionDurationMid:"0.2s",motionDurationSlow:"0.3s",fontSizes:[12,14,16,20,24,30,38,46,56,68],lineHeights:[1.6666666666666667,1.5714285714285714,1.5,1.4,1.3333333333333333,1.2666666666666666,1.2105263157894737,1.173913043478261,1.1428571428571428,1.1176470588235294],lineWidthBold:2,borderRadiusXS:1,borderRadiusSM:4,borderRadiusLG:8,borderRadiusOuter:4,colorLink:"#1677ff",colorLinkHover:"#69b1ff",colorLinkActive:"#0958d9",colorFillContent:"rgba(0, 0, 0, 0.06)",colorFillContentHover:"rgba(0, 0, 0, 0.15)",colorFillAlter:"rgba(0, 0, 0, 0.02)",colorBgContainerDisabled:"rgba(0, 0, 0, 0.04)",colorBorderBg:"#ffffff",colorSplit:"rgba(5, 5, 5, 0.06)",colorTextPlaceholder:"rgba(0, 0, 0, 0.25)",colorTextDisabled:"rgba(0, 0, 0, 0.25)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLabel:"rgba(0, 0, 0, 0.65)",colorTextDescription:"rgba(0, 0, 0, 0.45)",colorTextLightSolid:"#fff",colorHighlight:"#ff7875",colorBgTextHover:"rgba(0, 0, 0, 0.06)",colorBgTextActive:"rgba(0, 0, 0, 0.15)",colorIcon:"rgba(0, 0, 0, 0.45)",colorIconHover:"rgba(0, 0, 0, 0.88)",colorErrorOutline:"rgba(255, 38, 5, 0.06)",colorWarningOutline:"rgba(255, 215, 5, 0.1)",fontSizeSM:12,fontSizeLG:16,fontSizeXL:20,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,lineHeight:1.5714285714285714,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,controlOutlineWidth:2,controlInteractiveSize:16,controlItemBgHover:"rgba(0, 0, 0, 0.04)",controlItemBgActive:"#e6f4ff",controlItemBgActiveHover:"#bae0ff",controlItemBgActiveDisabled:"rgba(0, 0, 0, 0.15)",controlTmpOutline:"rgba(0, 0, 0, 0.02)",controlOutline:"rgba(5, 145, 255, 0.1)",fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:4,paddingXS:8,paddingSM:12,padding:16,paddingMD:20,paddingLG:24,paddingXL:32,paddingContentHorizontalLG:24,paddingContentVerticalLG:16,paddingContentHorizontal:16,paddingContentVertical:12,paddingContentHorizontalSM:16,paddingContentVerticalSM:8,marginXXS:4,marginXS:8,marginSM:12,margin:16,marginMD:20,marginLG:24,marginXL:32,marginXXL:48,boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",boxShadowSecondary:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",screenXS:480,screenXSMin:480,screenXSMax:479,screenSM:576,screenSMMin:576,screenSMMax:575,screenMD:768,screenMDMin:768,screenMDMax:767,screenLG:992,screenLGMin:992,screenLGMax:991,screenXL:1200,screenXLMin:1200,screenXLMax:1199,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1599,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:"0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",boxShadowDrawerRight:"-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerLeft:"6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerUp:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerDown:"0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",_tokenKey:"19w80ff",_hashId:"css-dev-only-do-not-override-i2zu9q"},t9=function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=3735928559^n,o=1103547991^n,a=0,i;a>>16,2246822507)^Math.imul(o^o>>>13,3266489909),o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),4294967296*(2097151&o)+(r>>>0)},A2=oS(function(e){return e}),n9={theme:A2,token:E(E({},Jd),Po==null||(y1=Po.defaultAlgorithm)===null||y1===void 0?void 0:y1.call(Po,Po==null?void 0:Po.defaultSeed)),hashId:"pro-".concat(t9(JSON.stringify(Jd)))},bce=function(){return n9};const Cce=Object.freeze(Object.defineProperty({__proto__:null,defaultToken:Jd,emptyTheme:A2,hashCode:t9,token:n9,useToken:bce},Symbol.toStringTag,{value:"Module"}));var Wo=function(t,n){return new Yt(t).setAlpha(n).toRgbString()},xce=function(){return typeof Po>"u"||!Po?Cce:Po},ef=xce(),Sce=ef.useToken,b1=function(t){return{boxSizing:"border-box",margin:0,padding:0,color:t.colorText,fontSize:t.fontSize,lineHeight:t.lineHeight,listStyle:"none"}};function Cn(e,t){var n,r=c.useContext(ri),o=r.token,a=o===void 0?{}:o,i=c.useContext(ri),l=i.hashId,s=l===void 0?"":l,u=i.theme,d=Sce(),f=d.token,v=c.useContext(tt.ConfigContext),p=v.getPrefixCls;return a.layout||(a=E({},f)),a.proComponentsCls=(n=a.proComponentsCls)!==null&&n!==void 0?n:".".concat(p("pro")),a.antCls=".".concat(p()),{wrapSSR:cm({theme:u,token:a,hashId:s,path:[e]},function(){return t(a)}),hashId:s}}var wce=function(t,n){var r,o,a,i=E({},t);return E(E({bgLayout:"linear-gradient(".concat(n.colorBgContainer,", ").concat(n.colorBgLayout," 28%)"),colorTextAppListIcon:n.colorTextSecondary,appListIconHoverBgColor:i==null||(r=i.sider)===null||r===void 0?void 0:r.colorBgMenuItemSelected,colorBgAppListIconHover:Wo(n.colorTextBase,.04),colorTextAppListIconHover:n.colorTextBase},i),{},{header:E({colorBgHeader:Wo(n.colorBgElevated,.6),colorHeaderTitle:n.colorText,colorBgMenuItemHover:Wo(n.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorTextMenuSelected:Wo(n.colorTextBase,.95),colorBgRightActionsItemHover:Wo(n.colorTextBase,.03),colorTextRightActionsItem:n.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:n.colorTextSecondary,colorTextMenuSecondary:n.colorTextTertiary,colorTextMenuTitle:n.colorText,colorTextMenuActive:n.colorText},i.header),sider:E({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:n.colorBgElevated,colorTextCollapsedButtonHover:n.colorTextSecondary,colorTextCollapsedButton:Wo(n.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:Wo(n.colorTextBase,.06),colorBgMenuItemHover:Wo(n.colorTextBase,.03),colorBgMenuItemSelected:Wo(n.colorTextBase,.04),colorTextMenuItemHover:n.colorText,colorTextMenuSelected:Wo(n.colorTextBase,.95),colorTextMenuActive:n.colorText,colorTextMenu:n.colorTextSecondary,colorTextMenuSecondary:n.colorTextTertiary,colorTextMenuTitle:n.colorText,colorTextSubMenuSelected:Wo(n.colorTextBase,.95)},i.sider),pageContainer:E({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((o=i.pageContainer)===null||o===void 0?void 0:o.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((a=i.pageContainer)===null||a===void 0?void 0:a.marginBlockPageContainerContent)||24,colorBgPageContainerFixed:n.colorBgElevated},i.pageContainer)})},$ce=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o1,W=R.getMessage("form.lightFilter.itemUnit","项");return typeof j=="string"&&j.length>z&&K?"...".concat(T.length).concat(W):""},H=B();return L.jsxs("span",{title:typeof j=="string"?j:void 0,style:{display:"inline-flex",alignItems:"center"},children:[D,L.jsx("span",{style:{paddingInlineStart:4},children:typeof j=="string"?j==null||(k=j.toString())===null||k===void 0||(F=k.substr)===null||F===void 0?void 0:F.call(k,0,z):j}),H]})}return O||v};return w(L.jsxs("span",{className:Y(x,$,"".concat(x,"-").concat(s),(r={},A(r,"".concat(x,"-active"),!!i||i===0),A(r,"".concat(x,"-disabled"),u),A(r,"".concat(x,"-bordered"),y),A(r,"".concat(x,"-allow-clear"),h),r),p),ref:N,children:[M(o,i),(i||i===0)&&h&&L.jsx(es,{role:"button",title:R.getMessage("form.lightFilter.clear","清除"),className:Y("".concat(x,"-icon"),$,"".concat(x,"-close")),onClick:function(O){a&&!u&&a(),O.stopPropagation()},ref:I}),L.jsx(DS,{className:Y("".concat(x,"-icon"),"".concat(x,"-arrow"))})]}))},ru=Z.forwardRef(Fce),Dce=function(t){var n;return n={},A(n,"".concat(t.componentCls,"-label"),{cursor:"pointer"}),A(n,"".concat(t.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),A(n,"".concat(t.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),n};function Lce(e){return Cn("FilterDropdown",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[Dce(n)]})}var eo=function(t){var n={};if(Object.keys(t||{}).forEach(function(r){t[r]!==void 0&&(n[r]=t[r])}),!(Object.keys(n).length<1))return n},Ace=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,h6=function(t){return t==="*"||t==="x"||t==="X"},y6=function(t){var n=parseInt(t,10);return isNaN(n)?t:n},jce=function(t,n){return We(t)!==We(n)?[String(t),String(n)]:[t,n]},zce=function(t,n){if(h6(t)||h6(n))return 0;var r=jce(y6(t),y6(n)),o=U(r,2),a=o[0],i=o[1];return a>i?1:a"u"?zl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||zl},fh=function(t,n){var r=o9(Bce(),"4.23.0")>-1?{open:t,onOpenChange:n}:{visible:t,onVisibleChange:n};return eo(r)},Vce=function(t){var n,r=t.children,o=t.label,a=t.footer,i=t.open,l=t.onOpenChange,s=t.disabled,u=t.onVisibleChange,d=t.visible,f=t.footerRender,v=t.placement,p=c.useContext(tt.ConfigContext),m=p.getPrefixCls,y=m("pro-core-field-dropdown"),g=Lce(y),h=g.wrapSSR,b=g.hashId,C=fh(i||d||!1,l||u),x=c.useRef(null);return h(L.jsx(Mf,E(E({placement:v,trigger:["click"]},C),{},{overlayInnerStyle:{padding:0},content:L.jsxs("div",{ref:x,className:Y("".concat(y,"-overlay"),(n={},A(n,"".concat(y,"-overlay-").concat(v),v),A(n,"hashId",b),n)),children:[L.jsx(tt,{getPopupContainer:function(){return x.current||document.body},children:L.jsx("div",{className:"".concat(y,"-content ").concat(b),children:r})}),a&&L.jsx(Nce,E({disabled:s,footerRender:f},a))]}),children:L.jsx("span",{className:"".concat(y,"-label ").concat(b),children:o})})))},Wce=function(t){return A({},t.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:t.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:t.colorTextSecondary,fontWeight:"normal",fontSize:t.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function Kce(e){return Cn("LabelIconTip",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[Wce(n)]})}var Uce=Z.memo(function(e){var t=e.label,n=e.tooltip,r=e.ellipsis,o=e.subTitle,a=c.useContext(tt.ConfigContext),i=a.getPrefixCls,l=i("pro-core-label-tip"),s=Kce(l),u=s.wrapSSR,d=s.hashId;if(!n&&!o)return L.jsx(L.Fragment,{children:t});var f=typeof n=="string"||Z.isValidElement(n)?{title:n}:n,v=(f==null?void 0:f.icon)||L.jsx(Loe,{});return u(L.jsxs("div",{className:Y(l,d),onMouseDown:function(m){return m.stopPropagation()},onMouseLeave:function(m){return m.stopPropagation()},onMouseMove:function(m){return m.stopPropagation()},children:[L.jsx("div",{className:Y("".concat(l,"-title"),d,A({},"".concat(l,"-title-ellipsis"),r)),children:t}),o&&L.jsx("div",{className:"".concat(l,"-subtitle ").concat(d),children:o}),n&&L.jsx(tl,E(E({},f),{},{children:L.jsx("span",{className:"".concat(l,"-icon ").concat(d),children:v})}))]}))}),a9=Z.createContext({}),Yl=function(t){return t==null},iC={},Yce={get exports(){return iC},set exports(e){iC=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){var n="month",r="quarter";return function(o,a){var i=a.prototype;i.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var l=i.add;i.add=function(u,d){return u=Number(u),this.$utils().p(d)===r?this.add(3*u,n):l.bind(this)(u,d)};var s=i.startOf;i.startOf=function(u,d){var f=this.$utils(),v=!!f.u(d)||d;if(f.p(u)===r){var p=this.quarter()-1;return v?this.month(3*p).startOf(n).startOf("day"):this.month(3*p+2).endOf(n).endOf("day")}return s.bind(this)(u,d)}}})})(Yce);const Gce=iC;Mt.extend(Gce);var i9={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function C6(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xce(e){if(C6(e)===!1)return!1;var t=e.constructor;if(t===void 0)return!0;var n=t.prototype;return!(C6(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)}var lC=function(t){return!!(t!=null&&t._isAMomentObject)},x6=function(t,n,r){if(!n)return t;if(Mt.isDayjs(t)||lC(t)){if(n==="number")return t.valueOf();if(n==="string")return t.format(i9[r]||"YYYY-MM-DD HH:mm:ss");if(typeof n=="string"&&n!=="string")return t.format(n);if(typeof n=="function")return n(t,r)}return t},qce=function e(t,n,r,o,a){var i={};return typeof window>"u"||We(t)!=="object"||Yl(t)||t instanceof Blob||Array.isArray(t)?t:(Object.keys(t).forEach(function(l){var s=a?[a,l].flat(1):[l],u=Sr(r,s)||"text",d="text",f;typeof u=="string"?d=u:u&&(d=u.valueType,f=u.dateFormat);var v=t[l];if(!(Yl(v)&&o)){if(Xce(v)&&!Array.isArray(v)&&!Mt.isDayjs(v)&&!lC(v)){i[l]=e(v,n,r,o,[l]);return}if(Array.isArray(v)){i[l]=v.map(function(p,m){return Mt.isDayjs(p)||lC(p)?x6(p,f||n,d):e(p,n,r,o,[l,"".concat(m)].flat(1))});return}i[l]=x6(v,f||n,d)}}),i)},S6=function(t,n){return typeof n=="function"?n(Mt(t)):Mt(t).format(n)},Qce=function(t,n){var r=Array.isArray(t)?t:[],o=U(r,2),a=o[0],i=o[1],l,s;Array.isArray(n)?(l=n[0],s=n[1]):(l=n,s=n);var u=a?S6(a,l):"",d=i?S6(i,s):"",f=u&&d?"".concat(u," ~ ").concat(d):"";return f};function km(e){if(typeof e=="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:100,n=arguments.length>2?arguments[2]:void 0,r=c.useState(e),o=U(r,2),a=o[0],i=o[1],l=Jce(e);return c.useEffect(function(){var s=setTimeout(function(){i(l.current)},t);return function(){return clearTimeout(s)}},n?[t].concat(xe(n)):void 0),a}function Vi(e,t,n,r){if(e===t)return!0;if(e&&t&&We(e)==="object"&&We(t)==="object"){if(e.constructor!==t.constructor)return!1;var o,a,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(a=o;a--!==0;)if(!Vi(e[a],t[a],n,r))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;var l=$p(e.entries()),s;try{for(l.s();!(s=l.n()).done;)if(a=s.value,!t.has(a[0]))return!1}catch(m){l.e(m)}finally{l.f()}var u=$p(e.entries()),d;try{for(u.s();!(d=u.n()).done;)if(a=d.value,!Vi(a[1],t.get(a[0]),n,r))return!1}catch(m){u.e(m)}finally{u.f()}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;var f=$p(e.entries()),v;try{for(f.s();!(v=f.n()).done;)if(a=v.value,!t.has(a[0]))return!1}catch(m){f.e(m)}finally{f.f()}return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(a=o;a--!==0;)if(e[a]!==t[a])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&e.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&e.toString)return e.toString()===t.toString();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=o;a--!==0;){var p=i[a];if(!(n!=null&&n.includes(p))&&!(p==="_owner"&&e.$$typeof)&&!Vi(e[p],t[p],n,r))return!1}return!0}return e!==e&&t!==t}var tue=function(t,n,r){return Vi(t,n,r)};function nue(e,t){var n=c.useRef();return tue(e,n.current,t)||(n.current=e),n.current}function rue(e,t,n){c.useEffect(e,nue(t||[],n))}var oue=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,z2=function(){return typeof process<"u",typeof window<"u"&&typeof window.document<"u"&&typeof window.matchMedia<"u"&&!oue};function aue(e,t){var n=typeof e.pageName=="string"?e.title:t;c.useEffect(function(){z2()&&n&&(document.title=n)},[e.title,n])}var C1=0;function iue(e){var t=c.useRef(null),n=c.useState(function(){return e.proFieldKey?e.proFieldKey.toString():(C1+=1,C1.toString())}),r=U(n,1),o=r[0],a=c.useRef(o),i=function(){var d=tr(Dt().mark(function f(){var v,p,m,y;return Dt().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return(v=t.current)===null||v===void 0||v.abort(),m=new AbortController,t.current=m,h.next=5,Promise.race([(p=e.request)===null||p===void 0?void 0:p.call(e,e.params,e),new Promise(function(b,C){var x,S;(x=t.current)===null||x===void 0||(S=x.signal)===null||S===void 0||S.addEventListener("abort",function(){C(new Error("aborted"))})})]);case 5:return y=h.sent,h.abrupt("return",y);case 7:case"end":return h.stop()}},f)}));return function(){return d.apply(this,arguments)}}();c.useEffect(function(){return function(){C1+=1}},[]);var l=L2([a.current,e.params],i,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),s=l.data,u=l.error;return[s||u]}var l9=function(t){var n=c.useRef();return c.useEffect(function(){n.current=t}),n.current},lue=function(t){var n=!1;return(typeof t=="string"&&t.startsWith("date")&&!t.endsWith("Range")||t==="select"||t==="time")&&(n=!0),n};function sue(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}var H2=function(t){if(!t||!t.startsWith("http"))return!1;try{var n=new URL(t);return!!n}catch{return!1}},s9=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window>"u"||!window.crypto)return(w6+=1).toFixed(0);for(var n="",r=crypto.getRandomValues(new Uint8Array(t));t--;){var o=63&r[t];n+=o<36?o.toString(36):o<62?(o-26).toString(36).toUpperCase():o<63?"_":"-"}return n},c9=function(){return typeof window>"u"?$6():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():$6()};Mt.extend(PN);var E6=function(t){return!!(t!=null&&t._isAMomentObject)},Vf=function e(t,n){return Yl(t)||Mt.isDayjs(t)||E6(t)?E6(t)?Mt(t):t:Array.isArray(t)?t.map(function(r){return e(r,n)}):typeof t=="number"?Mt(t):Mt(t,n)},cue=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter"];function uue(e){var t={};return cue.forEach(function(n){e[n]!==void 0&&(t[n]=e[n])}),t}var due="valueType request plain renderFormItem render text formItemProps valueEnum",fue="fieldProps isDefaultDom groupProps contentRender submitterProps submitter";function u9(e){var t="".concat(due," ").concat(fue).split(/[\s\n]+/),n={};return Object.keys(e||{}).forEach(function(r){t.includes(r)||(n[r]=e[r])}),n}function vue(e){return We(e)!=="object"?!1:e===null?!0:!(Z.isValidElement(e)||e.constructor===RegExp||e instanceof Map||e instanceof Set||e instanceof HTMLElement||e instanceof Blob||e instanceof File||Array.isArray(e))}var pue=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Object.keys(n).reduce(function(l,s){var u=n[s];return Yl(u)||(l[s]=u),l},{});if(Object.keys(o).length<1||typeof window>"u"||We(t)!=="object"||Yl(t)||t instanceof Blob)return t;var a=Array.isArray(t)?[]:{},i=function l(s,u){var d=Array.isArray(s),f=d?[]:{};return s==null||s===void 0?f:(Object.keys(s).forEach(function(v){var p=u?[u,v].flat(1):[v].flat(1),m=s[v],y=Sr(o,p),g=function C(x){return Array.isArray(x)&&x.forEach(function(S,w){S&&(typeof S=="function"&&(m[w]=S(m,v,s)),We(S)==="object"&&!Array.isArray(S)&&Object.keys(S).forEach(function($){if(typeof S[$]=="function"){var R=S[$](s[v][w][$],v,s);m[w][$]=We(R)==="object"?R[$]:R}}),We(S)==="object"&&Array.isArray(S)&&C(S))}),v},h=function(){var x=typeof y=="function"?y==null?void 0:y(m,v,s):g(y);if(Array.isArray(x)){f=cr(f,x,m);return}We(x)==="object"&&!Array.isArray(a)?a=E(E({},a),x):We(x)==="object"&&Array.isArray(a)?f=E(E({},f),x):x&&(f=cr(f,[x],m))};if(y&&typeof y=="function"&&h(),!(typeof window>"u")){if(vue(m)){var b=l(m,p);if(Object.keys(b).length<1)return;f=cr(f,[v],b);return}h()}}),r?f:s)};return a=Array.isArray(t)&&Array.isArray(a)?xe(i(t)):s9({},i(t),a),a};function oi(e,t){for(var n=Object.assign({},e),r=0;r"u"||!window.URL)return{};var d=[];i.forEach(function(v,p){d.push({key:p,value:v})}),d=d.reduce(function(v,p){return(v[p.key]=v[p.key]||[]).push(p),v},{}),d=Object.keys(d).map(function(v){var p=d[v];return p.length===1?[v,p[0].value]:[v,p.map(function(m){var y=m.value;return y})]});var f=pd({},e);return d.forEach(function(v){var p=v[0],m=v[1];f[p]=yue(p,m,{},e)}),f},[t.disabled,e,i]);function s(d){if(!(typeof window>"u"||!window.URL)){var f=mue(d);window.location.search!==f.search&&window.history.replaceState({},"",f.toString()),i.toString()!==f.searchParams.toString()&&o({})}}c.useEffect(function(){t.disabled||typeof window>"u"||!window.URL||s(pd(pd({},e),l))},[t.disabled,l]);var u=function(d){s(d)};return c.useEffect(function(){if(t.disabled)return function(){};if(typeof window>"u"||!window.URL)return function(){};var d=function(){o({})};return window.addEventListener("popstate",d),function(){window.removeEventListener("popstate",d)}},[t.disabled]),[l,u]}var hue={true:!0,false:!1};function yue(e,t,n,r){if(!n)return t;var o=n[e],a=t===void 0?r[e]:t;return o===Number?Number(a):o===Boolean||t==="true"||t==="false"?hue[a]:Array.isArray(o)?o.find(function(i){return i==a})||r[e]:a}function Fm(){return Fm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function B2(e,t){if(e==null)return{};var n=bue(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function co(e){return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},co(e)}function Cue(e,t){if(co(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(co(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d9(e){var t=Cue(e,"string");return co(t)==="symbol"?t:String(t)}function tf(e,t,n){return t=d9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ut(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Eue(e,t){if(t&&(co(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v9(e)}function Pue(e){var t=$ue();return function(){var r=Dm(e),o;if(t){var a=Dm(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return Eue(this,o)}}var uC={},Oue={get exports(){return uC},set exports(e){uC=e}},un={};/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ar=typeof Symbol=="function"&&Symbol.for,U2=ar?Symbol.for("react.element"):60103,Y2=ar?Symbol.for("react.portal"):60106,vh=ar?Symbol.for("react.fragment"):60107,ph=ar?Symbol.for("react.strict_mode"):60108,mh=ar?Symbol.for("react.profiler"):60114,gh=ar?Symbol.for("react.provider"):60109,hh=ar?Symbol.for("react.context"):60110,G2=ar?Symbol.for("react.async_mode"):60111,yh=ar?Symbol.for("react.concurrent_mode"):60111,bh=ar?Symbol.for("react.forward_ref"):60112,Ch=ar?Symbol.for("react.suspense"):60113,Mue=ar?Symbol.for("react.suspense_list"):60120,xh=ar?Symbol.for("react.memo"):60115,Sh=ar?Symbol.for("react.lazy"):60116,Rue=ar?Symbol.for("react.block"):60121,Iue=ar?Symbol.for("react.fundamental"):60117,Nue=ar?Symbol.for("react.responder"):60118,Tue=ar?Symbol.for("react.scope"):60119;function po(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case U2:switch(e=e.type,e){case G2:case yh:case vh:case mh:case ph:case Ch:return e;default:switch(e=e&&e.$$typeof,e){case hh:case bh:case Sh:case xh:case gh:return e;default:return t}}case Y2:return t}}}function p9(e){return po(e)===yh}un.AsyncMode=G2;un.ConcurrentMode=yh;un.ContextConsumer=hh;un.ContextProvider=gh;un.Element=U2;un.ForwardRef=bh;un.Fragment=vh;un.Lazy=Sh;un.Memo=xh;un.Portal=Y2;un.Profiler=mh;un.StrictMode=ph;un.Suspense=Ch;un.isAsyncMode=function(e){return p9(e)||po(e)===G2};un.isConcurrentMode=p9;un.isContextConsumer=function(e){return po(e)===hh};un.isContextProvider=function(e){return po(e)===gh};un.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===U2};un.isForwardRef=function(e){return po(e)===bh};un.isFragment=function(e){return po(e)===vh};un.isLazy=function(e){return po(e)===Sh};un.isMemo=function(e){return po(e)===xh};un.isPortal=function(e){return po(e)===Y2};un.isProfiler=function(e){return po(e)===mh};un.isStrictMode=function(e){return po(e)===ph};un.isSuspense=function(e){return po(e)===Ch};un.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vh||e===yh||e===mh||e===ph||e===Ch||e===Mue||typeof e=="object"&&e!==null&&(e.$$typeof===Sh||e.$$typeof===xh||e.$$typeof===gh||e.$$typeof===hh||e.$$typeof===bh||e.$$typeof===Iue||e.$$typeof===Nue||e.$$typeof===Tue||e.$$typeof===Rue)};un.typeOf=po;(function(e){e.exports=un})(Oue);function dC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Z.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(dC(r)):uC.isFragment(r)&&r.props?n=n.concat(dC(r.props.children,t)):n.push(r))}),n}var fC={},_ue=function(t){};function kue(e,t){}function Fue(e,t){}function Due(){fC={}}function m9(e,t,n){!t&&!fC[n]&&(e(!1,n),fC[n]=!0)}function aa(e,t){m9(kue,e,t)}function Lue(e,t){m9(Fue,e,t)}aa.preMessage=_ue;aa.resetWarned=Due;aa.noteOnce=Lue;var wl="RC_FORM_INTERNAL_HOOKS",vn=function(){aa(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Gl=c.createContext({getFieldValue:vn,getFieldsValue:vn,getFieldError:vn,getFieldWarning:vn,getFieldsError:vn,isFieldsTouched:vn,isFieldTouched:vn,isFieldValidating:vn,isFieldsValidating:vn,resetFields:vn,setFields:vn,setFieldValue:vn,setFieldsValue:vn,validateFields:vn,submit:vn,getInternalHooks:function(){return vn(),{dispatch:vn,initEntityValue:vn,registerField:vn,useSubscribe:vn,setInitialValues:vn,destroyForm:vn,setCallbacks:vn,registerWatch:vn,getFields:vn,setValidateMessages:vn,setPreserve:vn,getInitialValue:vn}}}),vC=c.createContext(null);function pC(e){return e==null?[]:Array.isArray(e)?e:[e]}function Aue(e){return e&&!!e._init}function ai(){ai=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(M,P,O){M[P]=O.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(M,P,O){return Object.defineProperty(M,P,{value:O,enumerable:!0,configurable:!0,writable:!0}),M[P]}try{s({},"")}catch{s=function(O,T,k){return O[T]=k}}function u(M,P,O,T){var k=P&&P.prototype instanceof v?P:v,F=Object.create(k.prototype),D=new I(T||[]);return r(F,"_invoke",{value:S(M,O,D)}),F}function d(M,P,O){try{return{type:"normal",arg:M.call(P,O)}}catch(T){return{type:"throw",arg:T}}}e.wrap=u;var f={};function v(){}function p(){}function m(){}var y={};s(y,a,function(){return this});var g=Object.getPrototypeOf,h=g&&g(g(N([])));h&&h!==t&&n.call(h,a)&&(y=h);var b=m.prototype=v.prototype=Object.create(y);function C(M){["next","throw","return"].forEach(function(P){s(M,P,function(O){return this._invoke(P,O)})})}function x(M,P){function O(k,F,D,j){var z=d(M[k],M,F);if(z.type!=="throw"){var B=z.arg,H=B.value;return H&&co(H)=="object"&&n.call(H,"__await")?P.resolve(H.__await).then(function(V){O("next",V,D,j)},function(V){O("throw",V,D,j)}):P.resolve(H).then(function(V){B.value=V,D(B)},function(V){return O("throw",V,D,j)})}j(z.arg)}var T;r(this,"_invoke",{value:function(F,D){function j(){return new P(function(z,B){O(F,D,z,B)})}return T=T?T.then(j,j):j()}})}function S(M,P,O){var T="suspendedStart";return function(k,F){if(T==="executing")throw new Error("Generator is already running");if(T==="completed"){if(k==="throw")throw F;return _()}for(O.method=k,O.arg=F;;){var D=O.delegate;if(D){var j=w(D,O);if(j){if(j===f)continue;return j}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(T==="suspendedStart")throw T="completed",O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);T="executing";var z=d(M,P,O);if(z.type==="normal"){if(T=O.done?"completed":"suspendedYield",z.arg===f)continue;return{value:z.arg,done:O.done}}z.type==="throw"&&(T="completed",O.method="throw",O.arg=z.arg)}}}function w(M,P){var O=P.method,T=M.iterator[O];if(T===void 0)return P.delegate=null,O==="throw"&&M.iterator.return&&(P.method="return",P.arg=void 0,w(M,P),P.method==="throw")||O!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+O+"' method")),f;var k=d(T,M.iterator,P.arg);if(k.type==="throw")return P.method="throw",P.arg=k.arg,P.delegate=null,f;var F=k.arg;return F?F.done?(P[M.resultName]=F.value,P.next=M.nextLoc,P.method!=="return"&&(P.method="next",P.arg=void 0),P.delegate=null,f):F:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,f)}function $(M){var P={tryLoc:M[0]};1 in M&&(P.catchLoc=M[1]),2 in M&&(P.finallyLoc=M[2],P.afterLoc=M[3]),this.tryEntries.push(P)}function R(M){var P=M.completion||{};P.type="normal",delete P.arg,M.completion=P}function I(M){this.tryEntries=[{tryLoc:"root"}],M.forEach($,this),this.reset(!0)}function N(M){if(M){var P=M[a];if(P)return P.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length)){var O=-1,T=function k(){for(;++O=0;--k){var F=this.tryEntries[k],D=F.completion;if(F.tryLoc==="root")return T("end");if(F.tryLoc<=this.prev){var j=n.call(F,"catchLoc"),z=n.call(F,"finallyLoc");if(j&&z){if(this.prev=0;--T){var k=this.tryEntries[T];if(k.tryLoc<=this.prev&&n.call(k,"finallyLoc")&&this.prev=0;--O){var T=this.tryEntries[O];if(T.finallyLoc===P)return this.complete(T.completion,T.afterLoc),R(T),f}},catch:function(P){for(var O=this.tryEntries.length-1;O>=0;--O){var T=this.tryEntries[O];if(T.tryLoc===P){var k=T.completion;if(k.type==="throw"){var F=k.arg;R(T)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(P,O,T){return this.delegate={iterator:N(P),resultName:O,nextLoc:T},this.method==="next"&&(this.arg=void 0),f}},e}function M6(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,o)}function wh(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(s){M6(a,r,o,i,l,"next",s)}function l(s){M6(a,r,o,i,l,"throw",s)}i(void 0)})}}function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ep(e,t,n){return zue()?Ep=Reflect.construct.bind():Ep=function(o,a,i){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(o,l),u=new s;return i&&nf(u,i.prototype),u},Ep.apply(null,arguments)}function Hue(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gC(e){var t=typeof Map=="function"?new Map:void 0;return gC=function(r){if(r===null||!Hue(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Ep(r,arguments,mC(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),nf(o,r)},gC(e)}var Bue=/%[sdj%]/g,Vue=function(){};typeof process<"u"&&process.env;function hC(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function ro(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function Wue(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Qn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Wue(t)&&typeof e=="string"&&!e)}function Kue(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,l||[]),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function R6(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Uu={integer:function(t){return Uu.number(t)&&parseInt(t,10)===t},float:function(t){return Uu.number(t)&&!Uu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Uu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(_6.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Que())},hex:function(t){return typeof t=="string"&&!!t.match(_6.hex)}},Zue=function(t,n,r,o,a){if(t.required&&n===void 0){g9(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?Uu[l](n)||o.push(ro(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(ro(a.messages.types[l],t.fullField,t.type))},Jue=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,v=typeof n=="number",p=typeof n=="string",m=Array.isArray(n);if(v?f="number":p?f="string":m&&(f="array"),!f)return!1;m&&(d=n.length),p&&(d=n.replace(u,"_").length),i?d!==t.len&&o.push(ro(a.messages[f].len,t.fullField,t.len)):l&&!s&&dt.max?o.push(ro(a.messages[f].max,t.fullField,t.max)):l&&s&&(dt.max)&&o.push(ro(a.messages[f].range,t.fullField,t.min,t.max))},Ps="enum",ede=function(t,n,r,o,a){t[Ps]=Array.isArray(t[Ps])?t[Ps]:[],t[Ps].indexOf(n)===-1&&o.push(ro(a.messages[Ps],t.fullField,t[Ps].join(", ")))},tde=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(ro(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(ro(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},zt={required:g9,whitespace:que,type:Zue,range:Jue,enum:ede,pattern:tde},nde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n,"string")&&!t.required)return r();zt.required(t,n,o,i,a,"string"),Qn(n,"string")||(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a),zt.pattern(t,n,o,i,a),t.whitespace===!0&&zt.whitespace(t,n,o,i,a))}r(i)},rde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},ode=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},ade=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},ide=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),Qn(n)||zt.type(t,n,o,i,a)}r(i)},lde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},sde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},cde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();zt.required(t,n,o,i,a,"array"),n!=null&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},ude=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},dde="enum",fde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt[dde](t,n,o,i,a)}r(i)},vde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n,"string")&&!t.required)return r();zt.required(t,n,o,i,a),Qn(n,"string")||zt.pattern(t,n,o,i,a)}r(i)},pde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n,"date")&&!t.required)return r();if(zt.required(t,n,o,i,a),!Qn(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),zt.type(t,s,o,i,a),s&&zt.range(t,s.getTime(),o,i,a)}}r(i)},mde=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":typeof n;zt.required(t,n,o,i,a,l),r(i)},x1=function(t,n,r,o,a){var i=t.type,l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Qn(n,i)&&!t.required)return r();zt.required(t,n,o,l,a,i),Qn(n,i)||zt.type(t,n,o,l,a)}r(l)},gde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Qn(n)&&!t.required)return r();zt.required(t,n,o,i,a)}r(i)},md={string:nde,method:rde,number:ode,boolean:ade,regexp:ide,integer:lde,float:sde,array:cde,object:ude,enum:fde,pattern:vde,date:pde,url:x1,hex:x1,email:x1,required:mde,any:gde};function yC(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var bC=yC(),Wf=function(){function e(n){this.rules=null,this._messages=bC,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var i=r[a];o.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=T6(yC(),r)),this._messages},t.validate=function(r,o,a){var i=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var l=r,s=o,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(y){var g=[],h={};function b(x){if(Array.isArray(x)){var S;g=(S=g).concat.apply(S,x)}else g.push(x)}for(var C=0;C3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Wa(e,t.slice(0,-1))?e:C9(e,t,n,r)}function $h(e){return Array.isArray(e)?bde(e):co(e)==="object"&&e!==null?yde(e):e}function yde(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=$h(e[n]);return t}return e}function bde(e){return e.map(function(t){return $h(t)})}function Ln(e){return pC(e)}function k6(e,t){var n={};return t.forEach(function(r){var o=Wa(e,r);n=bi(n,r,o)}),n}function gd(e,t){return e&&e.some(function(n){return S9(n,t)})}function F6(e){return co(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function x9(e,t){var n=Array.isArray(e)?qt(e):Ut({},e);return t&&Object.keys(t).forEach(function(r){var o=n[r],a=t[r],i=F6(o)&&F6(a);n[r]=i?x9(o,a||{}):$h(a)}),n}function Pp(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(qt(e.slice(0,n)),[o],qt(e.slice(n,t)),qt(e.slice(t+1,r))):a<0?[].concat(qt(e.slice(0,t)),qt(e.slice(t+1,n+1)),[o],qt(e.slice(n+1,r))):e}var L6=Wf;function Sde(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var A6="CODE_LOGIC_ERROR";function CC(e,t,n,r,o){return xC.apply(this,arguments)}function xC(){return xC=wh(ai().mark(function e(t,n,r,o,a){var i,l,s,u,d,f,v,p,m;return ai().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=Ut({},r),delete i.ruleIndex,L6.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch{return Promise.reject(A6)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),u=new L6(tf({},t,[i])),d=Pp({},h9,o.validateMessages),u.messages(d),f=[],g.prev=10,g.next=13,Promise.resolve(u.validate(tf({},t,n),Ut({},o)));case 13:g.next=18;break;case 15:g.prev=15,g.t0=g.catch(10),g.t0.errors&&(f=g.t0.errors.map(function(h,b){var C=h.message,x=C===A6?d.default:C;return c.isValidElement(x)?c.cloneElement(x,{key:"error_".concat(b)}):x}));case 18:if(!(!f.length&&s)){g.next=23;break}return g.next=21,Promise.all(n.map(function(h,b){return CC("".concat(t,".").concat(b),h,s,o,a)}));case 21:return v=g.sent,g.abrupt("return",v.reduce(function(h,b){return[].concat(qt(h),qt(b))},[]));case 23:return p=Ut(Ut({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),m=f.map(function(h){return typeof h=="string"?Sde(h,p):h}),g.abrupt("return",m);case 26:case"end":return g.stop()}},e,null,[[10,15]])})),xC.apply(this,arguments)}function wde(e,t,n,r,o,a){var i=e.join("."),l=n.map(function(d,f){var v=d.validator,p=Ut(Ut({},d),{},{ruleIndex:f});return v&&(p.validator=function(m,y,g){var h=!1,b=function(){for(var S=arguments.length,w=new Array(S),$=0;$0&&arguments[0]!==void 0?arguments[0]:wo;if(o.validatePromise===f){var S;o.validatePromise=null;var w=[],$=[];(S=x.forEach)===null||S===void 0||S.call(x,function(R){var I=R.rule.warningOnly,N=R.errors,_=N===void 0?wo:N;I?$.push.apply($,qt(_)):w.push.apply(w,qt(_))}),o.errors=w,o.warnings=$,o.triggerMetaEvent(),o.reRender()}}),C});return o.validatePromise=f,o.dirty=!0,o.errors=wo,o.warnings=wo,o.triggerMetaEvent(),o.reRender(),f},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,u=s.getInternalHooks(wl),d=u.getInitialValue;return d(o.getNamePath())!==void 0},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){o.prevValidating=o.isFieldValidating();var s={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return s},o.getOnlyChild=function(s){if(typeof s=="function"){var u=o.getMeta();return Ut(Ut({},o.getOnlyChild(s(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=dC(s);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}},o.getValue=function(s){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Wa(s||u(!0),d)},o.getControlled=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,v=u.getValueFromEvent,p=u.normalize,m=u.valuePropName,y=u.getValueProps,g=u.fieldContext,h=f!==void 0?f:g.validateTrigger,b=o.getNamePath(),C=g.getInternalHooks,x=g.getFieldsValue,S=C(wl),w=S.dispatch,$=o.getValue(),R=y||function(M){return tf({},m,M)},I=s[d],N=Ut(Ut({},s),R($));N[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var M,P=arguments.length,O=new Array(P),T=0;T=0&&_<=M.length?(f.keys=[].concat(qt(f.keys.slice(0,_)),[f.id],qt(f.keys.slice(_))),x([].concat(qt(M.slice(0,_)),[N],qt(M.slice(_))))):(f.keys=[].concat(qt(f.keys),[f.id]),x([].concat(qt(M),[N]))),f.id+=1},remove:function(N){var _=w(),M=new Set(Array.isArray(N)?N:[N]);M.size<=0||(f.keys=f.keys.filter(function(P,O){return!M.has(O)}),x(_.filter(function(P,O){return!M.has(O)})))},move:function(N,_){if(N!==_){var M=w();N<0||N>=M.length||_<0||_>=M.length||(f.keys=D6(f.keys,N,_),x(D6(M,N,_)))}}},R=C||[];return Array.isArray(R)||(R=[]),o(R.map(function(I,N){var _=f.keys[N];return _===void 0&&(f.keys[N]=f.id,_=f.keys[N],f.id+=1),{name:N,key:_,isListField:!0}}),$,h)})))};function Mde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function rf(e,t){return y9(e)||Mde(e,t)||V2(e,t)||b9()}function Rde(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var $9="__@field_split__";function S1(e){return e.map(function(t){return"".concat(co(t),":").concat(t)}).join($9)}var Os=function(){function e(){W2(this,e),this.kvs=new Map}return K2(e,[{key:"set",value:function(n,r){this.kvs.set(S1(n),r)}},{key:"get",value:function(n){return this.kvs.get(S1(n))}},{key:"update",value:function(n,r){var o=this.get(n),a=r(o);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(S1(n))}},{key:"map",value:function(n){return qt(this.kvs.entries()).map(function(r){var o=rf(r,2),a=o[0],i=o[1],l=a.split($9);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),d=rf(u,3),f=d[1],v=d[2];return f==="number"?Number(v):v}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,a=r.value;return n[o.join(".")]=a,null}),n}}]),e}(),Ide=["name"],Nde=K2(function e(t){var n=this;W2(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(r){return r===wl?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(aa(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(r){n.subscribable=r},this.prevWithoutPreserves=null,this.setInitialValues=function(r,o){if(n.initialValues=r||{},o){var a,i=Pp({},r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=bi(i,s,Wa(r,s))}),n.prevWithoutPreserves=null,n.updateStore(i)}},this.destroyForm=function(){var r=new Os;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r},this.getInitialValue=function(r){var o=Wa(n.initialValues,r);return r.length?$h(o):o},this.setCallbacks=function(r){n.callbacks=r},this.setValidateMessages=function(r){n.validateMessages=r},this.setPreserve=function(r){n.preserve=r},this.watchList=[],this.registerWatch=function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}},this.notifyWatch=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(r){n.store=r},this.getFieldEntities=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new Os;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o},this.getFieldEntitiesForNamePathList=function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=Ln(a);return o.get(i)||{INVALIDATE_NAME_PATH:Ln(a)}})},this.getFieldsValue=function(r,o){if(n.warningUnhooked(),r===!0&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),i=[];return a.forEach(function(l){var s,u="INVALIDATE_NAME_PATH"in l?l.INVALIDATE_NAME_PATH:l.getNamePath();if(!(!r&&(!((s=l.isListField)===null||s===void 0)&&s.call(l))))if(!o)i.push(u);else{var d="getMeta"in l?l.getMeta():null;o(d)&&i.push(u)}}),k6(n.store,i.map(Ln))},this.getFieldValue=function(r){n.warningUnhooked();var o=Ln(r);return Wa(n.store,o)},this.getFieldsError=function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:Ln(r[i]),errors:[],warnings:[]}})},this.getFieldError=function(r){n.warningUnhooked();var o=Ln(r),a=n.getFieldsError([o])[0];return a.errors},this.getFieldWarning=function(r){n.warningUnhooked();var o=Ln(r),a=n.getFieldsError([o])[0];return a.warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=new Os,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,d=s.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:s,value:u}),o.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var v=d.getNamePath(),p=n.getInitialValue(v);if(p!==void 0)aa(!1,"Form already set 'initialValues' with path '".concat(v.join("."),"'. Field can not overwrite it."));else{var m=o.get(v);if(m&&m.size>1)aa(!1,"Multiple Field with path '".concat(v.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var y=n.getFieldValue(v);(!r.skipExist||y===void 0)&&n.updateStore(bi(n.store,v,qt(m)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=o.get(s);if(u){var d;(d=l).push.apply(d,qt(qt(u).map(function(f){return f.entity})))}})):l=a,i(l)},this.resetFields=function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(Pp({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(Ln);a.forEach(function(i){var l=n.getInitialValue(i);n.updateStore(bi(n.store,i,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)},this.setFields=function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var l=i.name,s=B2(i,Ide),u=Ln(l);a.push(u),"value"in s&&n.updateStore(bi(n.store,u,s.value)),n.notifyObservers(o,[u],{type:"setField",data:i})}),n.notifyWatch(a)},this.getFields=function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=Ut(Ut({},l),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o},this.initEntityValue=function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Wa(n.store,a);i===void 0&&n.updateStore(bi(n.store,a,o))}},this.isMergedPreserve=function(r){var o=r!==void 0?r:n.preserve;return o??!0},this.registerField=function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!i||s.length>1)){var u=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!S9(f.getNamePath(),o)})){var d=n.store;n.updateStore(bi(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}},this.dispatch=function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,l=r.triggerName;n.validateFields([i],{triggerName:l});break}}},this.notifyObservers=function(r,o,a){if(n.subscribable){var i=Ut(Ut({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,o,i)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(qt(a))}),a},this.updateValue=function(r,o){var a=Ln(r),i=n.store;n.updateStore(bi(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(i,a),s=n.callbacks.onValuesChange;if(s){var u=k6(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(qt(l)))},this.setFieldsValue=function(r){n.warningUnhooked();var o=n.store;if(r){var a=Pp(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(r,o){n.setFields([{name:r,value:o}])},this.getDependencyChildrenFields=function(r){var o=new Set,a=[],i=new Os;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(d){var f=Ln(d);i.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(s),v})})});var l=function s(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(a.push(v),s(v))}})};return l(r),a},this.triggerOnFieldsChange=function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var l=new Os;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),i.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=i.filter(function(u){var d=u.name;return gd(r,d)});a(s,i)}},this.validateFields=function(r,o){n.warningUnhooked();var a=!!r,i=a?r.map(Ln):[],l=[];n.getFieldEntities(!0).forEach(function(d){if(a||i.push(d.getNamePath()),o!=null&&o.recursive&&a){var f=d.getNamePath();f.every(function(m,y){return r[y]===m||r[y]===void 0})&&i.push(f)}if(!(!d.props.rules||!d.props.rules.length)){var v=d.getNamePath();if(!a||gd(i,v)){var p=d.validateRules(Ut({validateMessages:Ut(Ut({},h9),n.validateMessages)},o));l.push(p.then(function(){return{name:v,errors:[],warnings:[]}}).catch(function(m){var y,g=[],h=[];return(y=m.forEach)===null||y===void 0||y.call(m,function(b){var C=b.rule.warningOnly,x=b.errors;C?h.push.apply(h,qt(x)):g.push.apply(g,qt(x))}),g.length?Promise.reject({name:v,errors:g,warnings:h}):{name:v,errors:g,warnings:h}}))}}});var s=Rde(l);n.lastValidatePromise=s,s.catch(function(d){return d}).then(function(d){var f=d.map(function(v){var p=v.name;return p});n.notifyObservers(n.store,f,{type:"validateFinish"}),n.triggerOnFieldsChange(f,d)});var u=s.then(function(){return n.lastValidatePromise===s?Promise.resolve(n.getFieldsValue(i)):Promise.reject([])}).catch(function(d){var f=d.filter(function(v){return v&&v.errors.length});return Promise.reject({values:n.getFieldsValue(i),errorFields:f,outOfDate:n.lastValidatePromise!==s})});return u.catch(function(d){return d}),n.triggerOnFieldsChange(i),u},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch{}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})},this.forceRootUpdate=t});function E9(e){var t=c.useRef(),n=c.useState({}),r=rf(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new Nde(a);t.current=i.getForm()}return[t.current]}var $C=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Tde=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=c.useContext($C),l=c.useRef({});return c.createElement($C.Provider,{value:Ut(Ut({},i),{},{validateMessages:Ut(Ut({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=Ut(Ut({},l.current),{},tf({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=Ut({},l.current);delete d[u],l.current=d,i.unregisterForm(u)}})},a)},_de=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],kde=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,v=t.validateTrigger,p=v===void 0?"onChange":v,m=t.onValuesChange,y=t.onFieldsChange,g=t.onFinish,h=t.onFinishFailed,b=B2(t,_de),C=c.useContext($C),x=E9(i),S=rf(x,1),w=S[0],$=w.getInternalHooks(wl),R=$.useSubscribe,I=$.setInitialValues,N=$.setCallbacks,_=$.setValidateMessages,M=$.setPreserve,P=$.destroyForm;c.useImperativeHandle(n,function(){return w}),c.useEffect(function(){return C.registerForm(r,w),function(){C.unregisterForm(r)}},[C,w,r]),_(Ut(Ut({},C.validateMessages),f)),N({onValuesChange:m,onFieldsChange:function(H){if(C.triggerFormChange(r,H),y){for(var V=arguments.length,K=new Array(V>1?V-1:0),W=1;W0&&arguments[0]!==void 0?arguments[0]:{},l=i.children,s=i.Wrapper,u=Oe(i,jde);return n?L.jsx(yT,E(E(E({gutter:8},r),u),{},{children:l})):s?L.jsx(s,{children:l}):l},ColWrapper:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=i.children,s=i.Wrapper,u=Oe(i,zde),d=c.useMemo(function(){var f=E(E({},o),u);return typeof f.span>"u"&&typeof f.xs>"u"&&(f.xs=24),f},[u]);return n?L.jsx(y2,E(E({},d),{},{children:l})):s?L.jsx(s,{children:l}):l}}},q2=function(t){var n=c.useMemo(function(){return We(t)==="object"?t:{grid:t}},[t]),r=c.useContext(P9),o=r.grid,a=r.colProps;return c.useMemo(function(){return Hde({grid:!!(o||n.grid),rowProps:n==null?void 0:n.rowProps,colProps:(n==null?void 0:n.colProps)||a,Wrapper:n==null?void 0:n.Wrapper})},[n==null?void 0:n.Wrapper,n.grid,o,JSON.stringify([a,n==null?void 0:n.colProps,n==null?void 0:n.rowProps])])},Bde=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],Vde=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],B6={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},Wde=["switch","radioButton","radio","rate"];function Q2(e,t){e.displayName="ProFormComponent";var n=function(a){var i=E(E({},a==null?void 0:a.filedConfig),t)||{},l=i.valueType,s=i.customLightMode,u=i.lightFilterLabelFormatter,d=i.valuePropName,f=d===void 0?"value":d,v=i.ignoreWidth,p=i.defaultProps,m=Oe(i,Bde),y=E(E({},p),a),g=y.label,h=y.tooltip,b=y.placeholder,C=y.width,x=y.bordered,S=y.messageVariables,w=y.ignoreFormItem,$=y.transform,R=y.convertValue,I=y.readonly,N=y.allowClear;y.colSize;var _=y.getFormItemProps,M=y.getFieldProps;y.filedConfig;var P=y.cacheForSwr,O=y.proFieldProps,T=Oe(y,Vde),k=l||T.valueType,F=c.useMemo(function(){return v||Wde.includes(k)},[v,k]),D=c.useState(),j=U(D,2),z=j[1],B=c.useState(),H=U(B,2),V=H[0],K=H[1],W=Z.useContext(Eh),G=c.useMemo(function(){return{formItemProps:_==null?void 0:_(),fieldProps:M==null?void 0:M()}},[M,_,T.dependenciesValues,V]),X=c.useMemo(function(){var ie=E(E(E(E({},w?eo({value:T.value}):{}),{},{placeholder:b,disabled:a.disabled},W.fieldProps),G.fieldProps),T.fieldProps);return ie.style=eo(ie==null?void 0:ie.style),ie},[w,T.value,T.fieldProps,b,a.disabled,W.fieldProps,G.fieldProps]),Q=uue(T),ae=c.useMemo(function(){return E(E(E(E({},W.formItemProps),Q),G.formItemProps),T.formItemProps)},[G.formItemProps,W.formItemProps,T.formItemProps,Q]),ee=c.useMemo(function(){return E(E({messageVariables:S},m),ae)},[m,ae,S]);Al(!T.defaultValue,"请不要在 Form 中使用 defaultXXX。如果需要默认值请使用 initialValues 和 initialValue。");var q=c.useContext(Gl),re=q.prefixName,te=c.useMemo(function(){var ie,fe=ee==null?void 0:ee.name;Array.isArray(fe)&&(fe=fe.join("_")),Array.isArray(re)&&fe&&(fe="".concat(re.join("."),".").concat(fe));var me=fe&&"form-".concat((ie=W.formKey)!==null&&ie!==void 0?ie:"","-field-").concat(fe);return me},[H6(ee==null?void 0:ee.name),re,W.formKey]),J=l9(T),ne=c.useCallback(function(){var ie;_||M?K([]):T.renderFormItem&&z([]);for(var fe=arguments.length,me=new Array(fe),Ce=0;Ce0?ne.map(function(le,de){var pe=oe==null?void 0:oe[de],se=(pe==null?void 0:pe["data-item"])||{};return E(E({},se),le)}):[]},te=function J(ne){return ne.map(function(oe){var le,de=oe,pe=de.disabled,se=de.className,ve=de.optionType,ge=oe[D],ce=oe[z],ie=(le=oe[H])!==null&&le!==void 0?le:[];return ve==="optGroup"||oe.options?L.jsx(rfe,{label:ge,children:J(ie)},ce):c.createElement(nfe,E(E({},oe),{},{value:ce,key:ce||(ge==null?void 0:ge.toString()),disabled:pe,"data-item":oe,className:"".concat(ee,"-option ").concat(se||""),label:ge}),(r==null?void 0:r(oe))||ge)})};return L.jsx(Wg,E(E({ref:X,className:q,allowClear:!0,autoClearSearchValue:u,disabled:S,mode:o,showSearch:M,searchValue:W,optionFilterProp:h,optionLabelProp:C,onClear:function(){N==null||N(),$(void 0),M&&G(void 0)}},T),{},{onSearch:M?function(J){y&&$(J),a==null||a(J),G(J)}:void 0,onChange:function(ne,oe){M&&u&&($(void 0),a==null||a(""),G(void 0));for(var le=arguments.length,de=new Array(le>2?le-2:0),pe=2;pe-1&&e%1==0&&e-1&&e%1==0&&e<=mve}var ew=gve,hve=is,yve=ew,bve=Oa,Cve="[object Arguments]",xve="[object Array]",Sve="[object Boolean]",wve="[object Date]",$ve="[object Error]",Eve="[object Function]",Pve="[object Map]",Ove="[object Number]",Mve="[object Object]",Rve="[object RegExp]",Ive="[object Set]",Nve="[object String]",Tve="[object WeakMap]",_ve="[object ArrayBuffer]",kve="[object DataView]",Fve="[object Float32Array]",Dve="[object Float64Array]",Lve="[object Int8Array]",Ave="[object Int16Array]",jve="[object Int32Array]",zve="[object Uint8Array]",Hve="[object Uint8ClampedArray]",Bve="[object Uint16Array]",Vve="[object Uint32Array]",Sn={};Sn[Fve]=Sn[Dve]=Sn[Lve]=Sn[Ave]=Sn[jve]=Sn[zve]=Sn[Hve]=Sn[Bve]=Sn[Vve]=!0;Sn[Cve]=Sn[xve]=Sn[_ve]=Sn[Sve]=Sn[kve]=Sn[wve]=Sn[$ve]=Sn[Eve]=Sn[Pve]=Sn[Ove]=Sn[Mve]=Sn[Rve]=Sn[Ive]=Sn[Nve]=Sn[Tve]=!1;function Wve(e){return bve(e)&&yve(e.length)&&!!Sn[hve(e)]}var Kve=Wve;function Uve(e){return function(t){return e(t)}}var tw=Uve,_c={},Yve={get exports(){return _c},set exports(e){_c=e}};(function(e,t){var n=O9,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,i=a&&n.process,l=function(){try{var s=o&&o.require&&o.require("util").types;return s||i&&i.binding&&i.binding("util")}catch{}}();e.exports=l})(Yve,_c);var Gve=Kve,Xve=tw,X6=_c,q6=X6&&X6.isTypedArray,qve=q6?Xve(q6):Gve,nw=qve,Qve=Jfe,Zve=Z2,Jve=mo,epe=Xl,tpe=J2,npe=nw,rpe=Object.prototype,ope=rpe.hasOwnProperty;function ape(e,t){var n=Jve(e),r=!n&&Zve(e),o=!n&&!r&&epe(e),a=!n&&!r&&!o&&npe(e),i=n||r||o||a,l=i?Qve(e.length,String):[],s=l.length;for(var u in e)(t||ope.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||tpe(u,s)))&&l.push(u);return l}var N9=ape,ipe=Object.prototype;function lpe(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ipe;return e===n}var rw=lpe;function spe(e,t){return function(n){return e(t(n))}}var T9=spe,cpe=T9,upe=cpe(Object.keys,Object),dpe=upe,fpe=rw,vpe=dpe,ppe=Object.prototype,mpe=ppe.hasOwnProperty;function gpe(e){if(!fpe(e))return vpe(e);var t=[];for(var n in Object(e))mpe.call(e,n)&&n!="constructor"&&t.push(n);return t}var hpe=gpe;function ype(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jo=ype,bpe=is,Cpe=jo,xpe="[object AsyncFunction]",Spe="[object Function]",wpe="[object GeneratorFunction]",$pe="[object Proxy]";function Epe(e){if(!Cpe(e))return!1;var t=bpe(e);return t==Spe||t==wpe||t==xpe||t==$pe}var ow=Epe,Ppe=ow,Ope=ew;function Mpe(e){return e!=null&&Ope(e.length)&&!Ppe(e)}var iu=Mpe,Rpe=N9,Ipe=hpe,Npe=iu;function Tpe(e){return Npe(e)?Rpe(e):Ipe(e)}var Gf=Tpe,_pe=R9,kpe=Gf;function Fpe(e,t){return e&&_pe(e,t,kpe)}var _9=Fpe;function Dpe(e){return e}var Ph=Dpe,Lpe=Ph;function Ape(e){return typeof e=="function"?e:Lpe}var k9=Ape,jpe=_9,zpe=k9;function Hpe(e,t){return e&&jpe(e,zpe(t))}var aw=Hpe,Bpe=T9,Vpe=Bpe(Object.getPrototypeOf,Object),iw=Vpe,Wpe=is,Kpe=iw,Upe=Oa,Ype="[object Object]",Gpe=Function.prototype,Xpe=Object.prototype,F9=Gpe.toString,qpe=Xpe.hasOwnProperty,Qpe=F9.call(Object);function Zpe(e){if(!Upe(e)||Wpe(e)!=Ype)return!1;var t=Kpe(e);if(t===null)return!0;var n=qpe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&F9.call(n)==Qpe}var D9=Zpe;function Jpe(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n-1}var mme=pme,gme=Oh;function hme(e,t){var n=this.__data__,r=gme(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var yme=hme,bme=tme,Cme=cme,xme=fme,Sme=mme,wme=yme;function lu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tl))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,v=!0,p=n&Fhe?new Nhe:void 0;for(a.set(e,t),a.set(t,e);++f0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,$be.default)(t,function(r){Array.isArray(r)?e(r).map(function(o){return n.push(o)}):(0,Sbe.default)(r)?(0,Cbe.default)(r,function(o,a){o===!0&&n.push(a),n.push(a+"-"+o)}):(0,ybe.default)(r)&&n.push(r)}),n};Uf.default=Ebe;var qf={};function Pbe(e,t){for(var n=-1,r=e==null?0:e.length;++n1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,HSe.default)(t.default)||{};return n.map(function(o){var a=t[o];return a&&(0,jSe.default)(a,function(i,l){r[l]||(r[l]={}),r[l]=BSe({},r[l],a[l])}),o}),r};qf.default=VSe;var Jf={};Object.defineProperty(Jf,"__esModule",{value:!0});Jf.autoprefix=void 0;var WSe=aw,IP=USe(WSe),KSe=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){JSe(o,r);function o(){var a,i,l,s;ZSe(this,o);for(var u=arguments.length,d=Array(u),f=0;f1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){a2e(o,r);function o(){var a,i,l,s;o2e(this,o);for(var u=arguments.length,d=Array(u),f=0;f1&&arguments[1]!==void 0?arguments[1]:!0;r[i]=l};return t===0&&o("first-child"),t===n-1&&o("last-child"),(t===0||t%2===0)&&o("even"),Math.abs(t%2)===1&&o("odd"),o("nth-child",t),r};pw.default=l2e;Object.defineProperty(Io,"__esModule",{value:!0});Io.ReactCSS=Io.loop=Io.handleActive=Io.handleHover=Io.hover=void 0;var s2e=Uf,c2e=fu(s2e),u2e=qf,d2e=fu(u2e),f2e=Jf,v2e=fu(f2e),p2e=ev,f_=fu(p2e),m2e=tv,g2e=fu(m2e),h2e=pw,y2e=fu(h2e);function fu(e){return e&&e.__esModule?e:{default:e}}Io.hover=f_.default;Io.handleHover=f_.default;Io.handleActive=g2e.default;Io.loop=y2e.default;var b2e=Io.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o0){if(++t>=uwe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var pwe=vwe,mwe=cwe,gwe=pwe,hwe=gwe(mwe),ywe=hwe,bwe=Ph,Cwe=rwe,xwe=ywe;function Swe(e,t){return xwe(Cwe(e,t,bwe),e+"")}var wwe=Swe,$we=Xf,Ewe=iu,Pwe=J2,Owe=jo;function Mwe(e,t,n){if(!Owe(n))return!1;var r=typeof t;return(r=="number"?Ewe(n)&&Pwe(t,n.length):r=="string"&&t in n)?$we(n[t],e):!1}var Rwe=Mwe,Iwe=wwe,Nwe=Rwe;function Twe(e){return Iwe(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,i&&Nwe(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++rl?v=1:v=Math.round(f*100/l)/100,n.a!==v)return{h:n.h,s:n.s,l:n.l,a:v,source:"rgb"}}else{var p;if(d<0?p=0:d>i?p=1:p=Math.round(d*100/i)/100,o!==p)return{h:n.h,s:n.s,l:n.l,a:p,source:"rgb"}}return null},M1={},jwe=function(t,n,r,o){if(typeof document>"u"&&!o)return null;var a=o?new o:document.createElement("canvas");a.width=r*2,a.height=r*2;var i=a.getContext("2d");return i?(i.fillStyle=t,i.fillRect(0,0,a.width,a.height),i.fillStyle=n,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),a.toDataURL()):null},zwe=function(t,n,r,o){var a="".concat(t,"-").concat(n,"-").concat(r).concat(o?"-server":"");if(M1[a])return M1[a];var i=jwe(t,n,r,o);return M1[a]=i,i};function af(e){return af=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},af(e)}function jP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Xv(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Am(e){return Am=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Am(e)}var e$e=function(e){Xwe(n,e);var t=qwe(n);function n(){var r;Uwe(this,n);for(var o=arguments.length,a=new Array(o),i=0;ii)f=0;else{var v=-(d*100/i)+100;f=360*v/100}if(r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p;if(u<0)p=0;else if(u>a)p=359;else{var m=u*100/a;p=360*m/100}if(r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null};function Fc(e){return Fc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fc(e)}function n$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jm(e){return jm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jm(e)}var d$e=function(e){i$e(n,e);var t=l$e(n);function n(){var r;n$e(this,n);for(var o=arguments.length,a=new Array(o),i=0;i=t||$<0||f&&R>=a}function h(){var w=R1();if(g(w))return b(w);l=setTimeout(h,y(w))}function b(w){return l=void 0,v&&r?p(w):(r=o=void 0,i)}function C(){l!==void 0&&clearTimeout(l),u=0,r=s=o=l=void 0}function x(){return l===void 0?i:b(R1())}function S(){var w=R1(),$=g(w);if(r=arguments,o=this,s=w,$){if(l===void 0)return m(s);if(f)return clearTimeout(l),l=setTimeout(h,t),p(s)}return l===void 0&&(l=setTimeout(h,t)),i}return S.cancel=C,S.flush=x,S}var h_=k$e,F$e=h_,D$e=jo,L$e="Expected a function";function A$e(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(L$e);return D$e(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),F$e(e,t,{leading:r,maxWait:t,trailing:o})}var j$e=A$e,z$e=function(t,n,r){var o=r.getBoundingClientRect(),a=o.width,i=o.height,l=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,s=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,u=l-(r.getBoundingClientRect().left+window.pageXOffset),d=s-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>a&&(u=a),d<0?d=0:d>i&&(d=i);var f=u/a,v=1-d/i;return{h:n.h,s:f,v,a:n.a,source:"hsv"}};function Dc(e){return Dc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dc(e)}function H$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function zm(e){return zm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},zm(e)}var q$e=function(e){K$e(n,e);var t=U$e(n);function n(r){var o;return H$e(this,n),o=t.call(this,r),o.handleChange=function(a){typeof o.props.onChange=="function"&&o.throttle(o.props.onChange,z$e(a,o.props.hsl,o.container),a)},o.handleMouseDown=function(a){o.handleChange(a);var i=o.getContainerRenderWindow();i.addEventListener("mousemove",o.handleChange),i.addEventListener("mouseup",o.handleMouseUp)},o.handleMouseUp=function(){o.unbindEventListeners()},o.throttle=j$e(function(a,i,l){a(i,l)},50),o}return B$e(n,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var o=this.container,a=window;!a.document.contains(o)&&a.parent!==a;)a=a.parent;return a}},{key:"unbindEventListeners",value:function(){var o=this.getContainerRenderWindow();o.removeEventListener("mousemove",this.handleChange),o.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var o=this,a=this.props.style||{},i=a.color,l=a.white,s=a.black,u=a.pointer,d=a.circle,f=ol({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl(".concat(this.props.hsl.h,",100%, 50%)"),borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:"".concat(-(this.props.hsv.v*100)+100,"%"),left:"".concat(this.props.hsv.s*100,"%"),cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), - 0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:i,white:l,black:s,pointer:u,circle:d}},{custom:!!this.props.style});return Z.createElement("div",{style:f.color,ref:function(p){return o.container=p},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Z.createElement("style",null,` - .saturation-white { - background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0)); - background: linear-gradient(to right, #fff, rgba(255,255,255,0)); - } - .saturation-black { - background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0)); - background: linear-gradient(to top, #000, rgba(0,0,0,0)); - } - `),Z.createElement("div",{style:f.white,className:"saturation-white"},Z.createElement("div",{style:f.black,className:"saturation-black"}),Z.createElement("div",{style:f.pointer},this.props.pointer?Z.createElement(this.props.pointer,this.props):Z.createElement("div",{style:f.circle}))))}}]),n}(c.PureComponent||c.Component),kC={},Q$e={get exports(){return kC},set exports(e){kC=e}},Z$e=t_,J$e=e_,e4e=k9,t4e=mo;function n4e(e,t){var n=t4e(e)?Z$e:J$e;return n(e,e4e(t))}var r4e=n4e;(function(e){e.exports=r4e})(Q$e);const o4e=QC(kC);function Hm(e){return Hm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hm(e)}var a4e=/^\s+/,i4e=/\s+$/;function ft(e,t){if(e=e||"",t=t||{},e instanceof ft)return e;if(!(this instanceof ft))return new ft(e,t);var n=l4e(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}ft.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,o,a,i,l;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),r<=.03928?i=r/12.92:i=Math.pow((r+.055)/1.055,2.4),o<=.03928?l=o/12.92:l=Math.pow((o+.055)/1.055,2.4),.2126*a+.7152*i+.0722*l},setAlpha:function(t){return this._a=y_(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=GP(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=GP(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=YP(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=YP(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return XP(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return d4e(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(En(this._r,255)*100)+"%",g:Math.round(En(this._g,255)*100)+"%",b:Math.round(En(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(En(this._r,255)*100)+"%, "+Math.round(En(this._g,255)*100)+"%, "+Math.round(En(this._b,255)*100)+"%)":"rgba("+Math.round(En(this._r,255)*100)+"%, "+Math.round(En(this._g,255)*100)+"%, "+Math.round(En(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:w4e[XP(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+qP(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var a=ft(t);r="#"+qP(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,a=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return a?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return ft(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m4e,arguments)},brighten:function(){return this._applyModification(g4e,arguments)},darken:function(){return this._applyModification(h4e,arguments)},desaturate:function(){return this._applyModification(f4e,arguments)},saturate:function(){return this._applyModification(v4e,arguments)},greyscale:function(){return this._applyModification(p4e,arguments)},spin:function(){return this._applyModification(y4e,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(x4e,arguments)},complement:function(){return this._applyCombination(b4e,arguments)},monochromatic:function(){return this._applyCombination(S4e,arguments)},splitcomplement:function(){return this._applyCombination(C4e,arguments)},triad:function(){return this._applyCombination(QP,[3])},tetrad:function(){return this._applyCombination(QP,[4])}};ft.fromRatio=function(e,t){if(Hm(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Yu(e[r]));e=n}return ft(e,t)};function l4e(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=O4e(e)),Hm(e)=="object"&&(Da(e.r)&&Da(e.g)&&Da(e.b)?(t=s4e(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Da(e.h)&&Da(e.s)&&Da(e.v)?(r=Yu(e.s),o=Yu(e.v),t=u4e(e.h,r,o),i=!0,l="hsv"):Da(e.h)&&Da(e.s)&&Da(e.l)&&(r=Yu(e.s),a=Yu(e.l),t=c4e(e.h,r,a),i=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=y_(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function s4e(e,t,n){return{r:En(e,255)*255,g:En(t,255)*255,b:En(n,255)*255}}function YP(e,t,n){e=En(e,255),t=En(t,255),n=En(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a,i,l=(r+o)/2;if(r==o)a=i=0;else{var s=r-o;switch(i=l>.5?s/(2-r-o):s/(r+o),r){case e:a=(t-n)/s+(t1&&(f-=1),f<1/6?u+(d-u)*6*f:f<1/2?d:f<2/3?u+(d-u)*(2/3-f)*6:u}if(t===0)r=o=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=i(s,l,e+1/3),o=i(s,l,e),a=i(s,l,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function GP(e,t,n){e=En(e,255),t=En(t,255),n=En(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a,i,l=r,s=r-o;if(i=r===0?0:s/r,r==o)a=0;else{switch(r){case e:a=(t-n)/s+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(ft(r));return a}function S4e(e,t){t=t||6;for(var n=ft(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(ft({h:r,s:o,v:a})),a=(a+l)%1;return i}ft.mix=function(e,t,n){n=n===0?0:n||50;var r=ft(e).toRgb(),o=ft(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return ft(i)};ft.readability=function(e,t){var n=ft(e),r=ft(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};ft.isReadable=function(e,t,n){var r=ft.readability(e,t),o,a;switch(a=!1,o=M4e(n),o.level+o.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7;break}return a};ft.mostReadable=function(e,t,n){var r=null,o=0,a,i,l,s;n=n||{},i=n.includeFallbackColors,l=n.level,s=n.size;for(var u=0;uo&&(o=a,r=ft(t[u]));return ft.isReadable(e,r,{level:l,size:s})||!i?r:(n.includeFallbackColors=!1,ft.mostReadable(e,["#fff","#000"],n))};var FC=ft.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},w4e=ft.hexNames=$4e(FC);function $4e(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function y_(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function En(e,t){E4e(e)&&(e="100%");var n=P4e(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Lh(e){return Math.min(1,Math.max(0,e))}function Qr(e){return parseInt(e,16)}function E4e(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function P4e(e){return typeof e=="string"&&e.indexOf("%")!=-1}function ea(e){return e.length==1?"0"+e:""+e}function Yu(e){return e<=1&&(e=e*100+"%"),e}function b_(e){return Math.round(parseFloat(e)*255).toString(16)}function ZP(e){return Qr(e)/255}var Yo=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Da(e){return!!Yo.CSS_UNIT.exec(e)}function O4e(e){e=e.replace(a4e,"").replace(i4e,"").toLowerCase();var t=!1;if(FC[e])e=FC[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Yo.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Yo.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Yo.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Yo.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Yo.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Yo.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Yo.hex8.exec(e))?{r:Qr(n[1]),g:Qr(n[2]),b:Qr(n[3]),a:ZP(n[4]),format:t?"name":"hex8"}:(n=Yo.hex6.exec(e))?{r:Qr(n[1]),g:Qr(n[2]),b:Qr(n[3]),format:t?"name":"hex"}:(n=Yo.hex4.exec(e))?{r:Qr(n[1]+""+n[1]),g:Qr(n[2]+""+n[2]),b:Qr(n[3]+""+n[3]),a:ZP(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=Yo.hex3.exec(e))?{r:Qr(n[1]+""+n[1]),g:Qr(n[2]+""+n[2]),b:Qr(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function M4e(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var JP=function(t){var n=["r","g","b","a","h","s","l","v"],r=0,o=0;return o4e(n,function(a){if(t[a]&&(r+=1,isNaN(t[a])||(o+=1),a==="s"||a==="l")){var i=/^\d+%$/;i.test(t[a])&&(o+=1)}}),r===o?t:!1},qv=function(t,n){var r=t.hex?ft(t.hex):ft(t),o=r.toHsl(),a=r.toHsv(),i=r.toRgb(),l=r.toHex();o.s===0&&(o.h=n||0,a.h=n||0);var s=l==="000000"&&i.a===0;return{hsl:o,hex:s?"transparent":"#".concat(l),rgb:i,hsv:a,oldHue:t.h||n||o.h,source:t.source}},R4e=function(t){if(t==="transparent")return!0;var n=String(t).charAt(0)==="#"?1:0;return t.length!==4+n&&t.length<7+n&&ft(t).isValid()};function Lc(e){return Lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lc(e)}function DC(){return DC=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bm(e){return Bm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Bm(e)}var j4e=function(t){var n=function(r){k4e(a,r);var o=F4e(a);function a(i){var l;return N4e(this,a),l=o.call(this),l.handleChange=function(s,u){var d=JP(s);if(d){var f=qv(s,s.h||l.state.oldHue);l.setState(f),l.props.onChangeComplete&&l.debounce(l.props.onChangeComplete,f,u),l.props.onChange&&l.props.onChange(f,u)}},l.handleSwatchHover=function(s,u){var d=JP(s);if(d){var f=qv(s,s.h||l.state.oldHue);l.props.onSwatchHover&&l.props.onSwatchHover(f,u)}},l.state=Fu({},qv(i.color,0)),l.debounce=h_(function(s,u,d){s(u,d)},100),l}return T4e(a,[{key:"render",value:function(){var l={};return this.props.onSwatchHover&&(l.onSwatchHover=this.handleSwatchHover),Z.createElement(t,DC({},this.props,this.state,{onChange:this.handleChange},l))}}],[{key:"getDerivedStateFromProps",value:function(l,s){return Fu({},qv(l.color,s.oldHue))}}]),a}(c.PureComponent||c.Component);return n.propTypes=Fu({},t.propTypes),n.defaultProps=Fu(Fu({},t.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),n};function Ac(e){return Ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ac(e)}function z4e(e,t,n){return t=x_(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H4e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n5(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vm(e){return Vm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vm(e)}var X4e=1,S_=38,q4e=40,Q4e=[S_,q4e],Z4e=function(t){return Q4e.indexOf(t)>-1},J4e=function(t){return Number(String(t).replace(/%/g,""))},eEe=1,Du=function(e){W4e(n,e);var t=K4e(n);function n(r){var o;return H4e(this,n),o=t.call(this),o.handleBlur=function(){o.state.blurValue&&o.setState({value:o.state.blurValue,blurValue:null})},o.handleChange=function(a){o.setUpdatedValue(a.target.value,a)},o.handleKeyDown=function(a){var i=J4e(a.target.value);if(!isNaN(i)&&Z4e(a.keyCode)){var l=o.getArrowOffset(),s=a.keyCode===S_?i+l:i-l;o.setUpdatedValue(s,a)}},o.handleDrag=function(a){if(o.props.dragLabel){var i=Math.round(o.props.value+a.movementX);i>=0&&i<=o.props.dragMax&&o.props.onChange&&o.props.onChange(o.getValueObjectWithLabel(i),a)}},o.handleMouseDown=function(a){o.props.dragLabel&&(a.preventDefault(),o.handleDrag(a),window.addEventListener("mousemove",o.handleDrag),window.addEventListener("mouseup",o.handleMouseUp))},o.handleMouseUp=function(){o.unbindEventListeners()},o.unbindEventListeners=function(){window.removeEventListener("mousemove",o.handleDrag),window.removeEventListener("mouseup",o.handleMouseUp)},o.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},o.inputId="rc-editable-input-".concat(eEe++),o}return B4e(n,[{key:"componentDidUpdate",value:function(o,a){this.props.value!==this.state.value&&(o.value!==this.props.value||a.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(o){return z4e({},this.props.label,o)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||X4e}},{key:"setUpdatedValue",value:function(o,a){var i=this.props.label?this.getValueObjectWithLabel(o):o;this.props.onChange&&this.props.onChange(i,a),this.setState({value:o})}},{key:"render",value:function(){var o=this,a=ol({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return Z.createElement("div",{style:a.wrap},Z.createElement("input",{id:this.inputId,style:a.input,ref:function(l){return o.input=l},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?Z.createElement("label",{htmlFor:this.inputId,style:a.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n}(c.PureComponent||c.Component);function jc(e){return jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(e)}function jC(){return jC=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wm(e){return Wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Wm(e)}var uEe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){aEe(a,r);var o=iEe(a);function a(){var i;tEe(this,a);for(var l=arguments.length,s=new Array(l),u=0;u100&&(d.a=100),d.a/=100,n==null||n({h:o==null?void 0:o.h,s:o==null?void 0:o.s,l:o==null?void 0:o.l,a:d.a,source:"rgb"},f))};return Z.createElement("div",{style:l.fields,className:"flexbox-fix"},Z.createElement("div",{style:l.double},Z.createElement(Du,{style:{input:l.input,label:l.label},label:"hex",value:a==null?void 0:a.replace("#",""),onChange:s})),Z.createElement("div",{style:l.single},Z.createElement(Du,{style:{input:l.input,label:l.label},label:"r",value:r==null?void 0:r.r,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.single},Z.createElement(Du,{style:{input:l.input,label:l.label},label:"g",value:r==null?void 0:r.g,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.single},Z.createElement(Du,{style:{input:l.input,label:l.label},label:"b",value:r==null?void 0:r.b,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.alpha},Z.createElement(Du,{style:{input:l.input,label:l.label},label:"a",value:Math.round(((r==null?void 0:r.a)||0)*100),onChange:s,dragLabel:"true",dragMax:"100"})))};function sf(e){return sf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sf(e)}function i5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function l5(e){for(var t=1;tT?S([T,O]):O===void 0&&T===void 0&&S(void 0)}},I=function(P,O){var T=xe(x||[]);T[P]=O===null?void 0:O,S(T)},N=(s==null?void 0:s.placeholder)||i||[h.getMessage("tableForm.inputPlaceholder","请输入"),h.getMessage("tableForm.inputPlaceholder","请输入")],_=L.jsxs(Ea.Group,{compact:!0,onBlur:R,children:[L.jsx(Kl,E(E({},s),{},{placeholder:Array.isArray(N)?N[0]:N,id:g??"".concat(g,"-0"),style:{width:"calc((100% - ".concat(v,"px) / 2)")},value:x==null?void 0:x[0],defaultValue:m==null?void 0:m[0],onChange:function(P){return I(0,P)}})),L.jsx(Ea,{style:{width:v,textAlign:"center",borderInlineStart:0,borderInlineEnd:0,pointerEvents:"none",backgroundColor:"#FFF"},placeholder:d,disabled:!0}),L.jsx(Kl,E(E({},s),{},{placeholder:Array.isArray(N)?N[1]:N,id:g??"".concat(g,"-1"),style:{width:"calc((100% - ".concat(v,"px) / 2)"),borderInlineStart:0},value:x==null?void 0:x[1],defaultValue:m==null?void 0:m[1],onChange:function(P){return I(1,P)}}))]});return l?l(r,E({mode:o},s),_):_}return null};const DEe=Z.forwardRef(FEe);var BC={},LEe={get exports(){return BC},set exports(e){BC=e}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){return function(n,r,o){n=n||{};var a=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(u,d,f,v){return a.fromToBase(u,d,f,v)}o.en.relativeTime=i,a.fromToBase=function(u,d,f,v,p){for(var m,y,g,h=f.$locale().relativeTime||i,b=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],C=b.length,x=0;x0,w<=S.r||!S.r){w<=1&&x>0&&(S=b[x-1]);var $=h[S.l];p&&(w=p(""+w)),y=typeof $=="string"?$.replace("%d",w):$(w,d,S.l,g);break}}if(d)return y;var R=g?h.future:h.past;return typeof R=="function"?R(y):R.replace("%s",y)},a.to=function(u,d){return l(u,d,this,!0)},a.from=function(u,d){return l(u,d,this)};var s=function(u){return u.$u?o.utc():o()};a.toNow=function(u){return this.to(s(this),u)},a.fromNow=function(u){return this.from(s(this),u)}}})})(LEe);const AEe=BC;Mt.extend(AEe);var jEe=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.format,s=t.fieldProps,u=jn();if(o==="read"){var d=L.jsx(tl,{title:Mt(r).format((s==null?void 0:s.format)||l||"YYYY-MM-DD HH:mm:ss"),children:Mt(r).fromNow()});return a?a(r,E({mode:o},s),L.jsx(L.Fragment,{children:d})):L.jsx(L.Fragment,{children:d})}if(o==="edit"||o==="update"){var f=u.getMessage("tableForm.selectPlaceholder","请选择"),v=Vf(s.value),p=L.jsx(Rc,E(E({ref:n,placeholder:f,showTime:!0},s),{},{value:v}));return i?i(r,E({mode:o},s),p):p}return null};const zEe=Z.forwardRef(jEe);var HEe=Z.forwardRef(function(e,t){var n=e.text,r=e.mode,o=e.render,a=e.renderFormItem,i=e.fieldProps,l=e.placeholder,s=e.width,u=jn(),d=l||u.getMessage("tableForm.inputPlaceholder","请输入");if(r==="read"){var f=L.jsx(Nne,E({ref:t,width:s||32,src:n},i));return o?o(n,E({mode:r},i),f):f}if(r==="edit"||r==="update"){var v=L.jsx(Ea,E({ref:t,placeholder:d},i));return a?a(n,E({mode:r},i),v):v}return null});const E_=HEe;var BEe=function(t,n){var r,o=t.border,a=o===void 0?!1:o,i=t.children,l=c.useContext(tt.ConfigContext),s=l.getPrefixCls,u=s("pro-field-index-column"),d=Cn("IndexColumn",function(){return A({},".".concat(u),{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px","&-border":{color:"#fff",fontSize:"12px",lineHeight:"12px",backgroundColor:"#314659",borderRadius:"9px","&.top-three":{backgroundColor:"#979797"}}})}),f=d.wrapSSR,v=d.hashId;return f(L.jsx("div",{ref:n,className:Y(u,v,(r={},A(r,"".concat(u,"-border"),a),A(r,"top-three",i>3),r)),children:i}))};const u5=Z.forwardRef(BEe);var VEe=["contentRender","numberFormatOptions","numberPopoverRender","open"],WEe=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],KEe=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),UEe={style:"currency",currency:"USD"},YEe={style:"currency",currency:"RUB"},GEe={style:"currency",currency:"RSD"},XEe={style:"currency",currency:"MYR"},qEe={style:"currency",currency:"BRL"},d5={default:KEe,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":UEe,"ru-RU":YEe,"ms-MY":XEe,"sr-RS":GEe,"pt-BR":qEe},f5=function(t,n,r,o){var a=n==null?void 0:n.toString().replaceAll(",","");if(typeof a=="string"){var i=Number(a);if(Number.isNaN(i))return a;a=i}if(!a&&a!==0)return"";try{var l=new Intl.NumberFormat(t||"zh-Hans-CN",E(E({},d5[t||"zh-Hans-CN"]||d5["zh-Hans-CN"]),{},{maximumFractionDigits:r},o)).format(a),s=t===!1,u=l||"",d=U(u,1),f=d[0];return["+","-"].includes(f)?"".concat(f).concat(l.substring(s?2:1)):l.substring(s?1:0)}catch{return a}},I1=2,QEe=Z.forwardRef(function(e,t){var n=e.contentRender;e.numberFormatOptions,e.numberPopoverRender;var r=e.open,o=Oe(e,VEe),a=yt(function(){return o.defaultValue},{value:o.value,onChange:o.onChange}),i=U(a,2),l=i[0],s=i[1],u=n==null?void 0:n(E(E({},o),{},{value:l})),d=fh(u?r:!1);return L.jsx(Mf,E(E({placement:"topLeft"},d),{},{trigger:["focus","click"],content:u,getPopupContainer:function(v){return(v==null?void 0:v.parentElement)||document.body},children:L.jsx(Kl,E(E({ref:t},o),{},{value:l,onChange:s}))}))}),ZEe=function(t,n){var r,o,a=t.text,i=t.mode,l=t.render,s=t.renderFormItem,u=t.fieldProps;t.proFieldKey,t.plain,t.valueEnum;var d=t.placeholder,f=t.locale,v=f===void 0?(r=u.customSymbol)!==null&&r!==void 0?r:"zh-Hans-CN":f,p=t.customSymbol,m=p===void 0?u.customSymbol:p,y=t.numberFormatOptions,g=y===void 0?u==null?void 0:u.numberFormatOptions:y,h=t.numberPopoverRender,b=h===void 0?(u==null?void 0:u.numberPopoverRender)||!1:h,C=Oe(t,WEe),x=(o=u==null?void 0:u.precision)!==null&&o!==void 0?o:I1,S=jn();v&&Tc[v]&&(S=Tc[v]);var w=d||S.getMessage("tableForm.inputPlaceholder","请输入"),$=c.useMemo(function(){if(m)return m;if(!(C.moneySymbol===!1||u.moneySymbol===!1))return S.getMessage("moneySymbol","¥")},[m,u.moneySymbol,S,C.moneySymbol]),R=c.useCallback(function(_){var M=new RegExp("\\B(?=(\\d{".concat(3+Math.max(x-I1,0),"})+(?!\\d))"),"g"),P=String(_).split("."),O=U(P,2),T=O[0],k=O[1],F=T.replace(M,","),D="";return k&&x>0&&(D=".".concat(k.slice(0,x===void 0?I1:x))),"".concat(F).concat(D)},[x]);if(i==="read"){var I=L.jsx("span",{ref:n,children:f5($?v:!1,a,x,g??u.numberFormatOptions)});return l?l(a,E({mode:i},u),I):I}if(i==="edit"||i==="update"){var N=L.jsx(QEe,E({contentRender:function(M){if(b===!1||!M.value)return null;var P=f5($?v:!1,"".concat(R(M.value)),x,E(E({},g),{},{notation:"compact"}));return typeof b=="function"?b==null?void 0:b(M,P):P},ref:n,precision:x,formatter:function(M){return M&&$?"".concat($," ").concat(R(M)):M==null?void 0:M.toString()},parser:function(M){return $&&M?M.replace(new RegExp("\\".concat($,"\\s?|(,*)"),"g"),""):M},placeholder:w},oi(u,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible","open"])));return s?s(a,E({mode:i},u),N):N}return null};const P_=Z.forwardRef(ZEe);var v5=function(t){return t.map(function(n,r){var o;return Z.isValidElement(n)?Z.cloneElement(n,E(E({key:r},n==null?void 0:n.props),{},{style:E({flex:1},n==null||(o=n.props)===null||o===void 0?void 0:o.style)})):L.jsx(Z.Fragment,{children:n},r)})},JEe=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.fieldProps,l=c.useContext(tt.ConfigContext),s=l.getPrefixCls,u=s("pro-field-option");if(c.useImperativeHandle(n,function(){return{}}),a){var d=a(r,E({mode:o},i),L.jsx(L.Fragment,{}));return!d||(d==null?void 0:d.length)<1||!Array.isArray(d)?null:L.jsx("div",{style:{display:"flex",gap:16,alignItems:"center"},className:u,children:v5(d)})}return!r||!Array.isArray(r)?Z.isValidElement(r)?r:null:L.jsx("div",{style:{display:"flex",gap:16,alignItems:"center"},className:u,children:v5(r)})};const e3e=Z.forwardRef(JEe);var t3e=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],n3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;t.proFieldKey;var s=Oe(t,t3e),u=jn(),d=yt(function(){return s.open||s.visible||!1},{value:s.open||s.visible,onChange:s.onOpenChange||s.onVisible}),f=U(d,2),v=f[0],p=f[1];if(o==="read"){var m=L.jsx(L.Fragment,{children:"-"});return r&&(m=L.jsxs(nl,{children:[L.jsx("span",{ref:n,children:v?r:"* * * * *"}),L.jsx("a",{onClick:function(){return p(!v)},children:v?L.jsx(x2,{}):L.jsx(qT,{})})]})),a?a(r,E({mode:o},l),m):m}if(o==="edit"||o==="update"){var y=L.jsx(Ea.Password,E({placeholder:u.getMessage("tableForm.inputPlaceholder","请输入"),ref:n},l));return i?i(r,E({mode:o},l),y):y}return null};const r3e=Z.forwardRef(n3e);var p5=0/0,o3e="[object Symbol]",a3e=/^\s+|\s+$/g,i3e=/^[-+]0x[0-9a-f]+$/i,l3e=/^0b[01]+$/i,s3e=/^0o[0-7]+$/i,c3e=parseInt,u3e=Object.prototype,d3e=u3e.toString;function m5(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function f3e(e){return!!e&&typeof e=="object"}function v3e(e){return typeof e=="symbol"||f3e(e)&&d3e.call(e)==o3e}function p3e(e){if(typeof e=="number")return e;if(v3e(e))return p5;if(m5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=m5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(a3e,"");var n=l3e.test(e);return n||s3e.test(e)?c3e(e.slice(2),n?2:8):i3e.test(e)?p5:+e}var Km=p3e;function m3e(e){return e===0?null:e>0?"+":"-"}function g3e(e){return e===0?"#595959":e>0?"#ff4d4f":"#52c41a"}function h3e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return t>=0?e==null?void 0:e.toFixed(t):e}var y3e=function(t,n){var r=t.text,o=t.prefix,a=t.precision,i=t.suffix,l=i===void 0?"%":i,s=t.mode,u=t.showColor,d=u===void 0?!1:u,f=t.render,v=t.renderFormItem,p=t.fieldProps,m=t.placeholder,y=t.showSymbol,g=jn(),h=m||g.getMessage("tableForm.inputPlaceholder","请输入"),b=c.useMemo(function(){return typeof r=="string"&&r.includes("%")?Km(r.replace("%","")):Km(r)},[r]),C=c.useMemo(function(){return typeof y=="function"?y==null?void 0:y(r):y},[y,r]);if(s==="read"){var x=d?{color:g3e(b)}:{},S=L.jsxs("span",{style:x,ref:n,children:[o&&L.jsx("span",{children:o}),C&&L.jsxs(c.Fragment,{children:[m3e(b)," "]}),h3e(Math.abs(b),a),l&&l]});return f?f(r,E(E({mode:s},p),{},{prefix:o,precision:a,showSymbol:C,suffix:l}),S):S}if(s==="edit"||s==="update"){var w=L.jsx(Kl,E({ref:n,formatter:function(R){return R&&o?"".concat(o," ").concat(R).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):R},parser:function(R){return R?R.replace(/.*\s|,/g,""):""},placeholder:h},p));return v?v(r,E({mode:s},p),w):w}return null};const O_=Z.forwardRef(y3e);function b3e(e){return e===100?"success":e<0?"exception":e<100?"active":"normal"}var C3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.plain,l=t.renderFormItem,s=t.fieldProps,u=t.placeholder,d=jn(),f=u||d.getMessage("tableForm.inputPlaceholder","请输入"),v=c.useMemo(function(){return typeof r=="string"&&r.includes("%")?Km(r.replace("%","")):Km(r)},[r]);if(o==="read"){var p=L.jsx(hoe,E({ref:n,size:"small",style:{minWidth:100,maxWidth:320},percent:v,steps:i?10:void 0,status:b3e(v)},s));return a?a(v,E({mode:o},s),p):p}if(o==="edit"||o==="update"){var m=L.jsx(Kl,E({ref:n,placeholder:f},s));return l?l(r,E({mode:o},s),m):m}return null};const M_=Z.forwardRef(C3e);var x3e=["radioType","renderFormItem","mode","render"],S3e=function(t,n){var r=t.radioType,o=t.renderFormItem,a=t.mode,i=t.render,l=Oe(t,x3e),s=c.useContext(tt.ConfigContext),u=s.getPrefixCls,d=u("pro-field-radio"),f=au(l),v=U(f,3),p=v[0],m=v[1],y=v[2],g=c.useRef();c.useImperativeHandle(n,function(){return E(E({},g.current||{}),{},{fetchData:function(I){return y(I)}})});var h=Cn("FieldRadioRadio",function(R){return A({},".".concat(d,"-vertical"),A({},"".concat(R.antCls,"-radio-wrapper"),{display:"flex",marginInlineEnd:0}))}),b=h.wrapSSR,C=h.hashId;if(p)return L.jsx(rl,{size:"small"});if(a==="read"){var x=m!=null&&m.length?m==null?void 0:m.reduce(function(R,I){var N;return E(E({},R),{},A({},(N=I.value)!==null&&N!==void 0?N:"",I.label))},{}):void 0,S=L.jsx(L.Fragment,{children:ou(l.text,ui(l.valueEnum||x))});return i?i(l.text,E({mode:a},l.fieldProps),S)||null:S}if(a==="edit"){var w,$=b(L.jsx(BQ.Group,E(E({ref:g,optionType:r},l.fieldProps),{},{className:Y((w=l.fieldProps)===null||w===void 0?void 0:w.className,C,"".concat(d,"-").concat(l.fieldProps.layout||"horizontal")),options:m})));return o?o(l.text,E({mode:a},l.fieldProps),$)||null:$}return null};const g5=Z.forwardRef(S3e);var w3e=function(t,n){var r=t.text,o=t.mode,a=t.format,i=t.render,l=t.renderFormItem,s=t.plain,u=t.showTime,d=t.fieldProps,f=jn(),v=Array.isArray(r)?r:[],p=U(v,2),m=p[0],y=p[1],g=c.useCallback(function(w){if(typeof(d==null?void 0:d.format)=="function"){var $;return d==null||($=d.format)===null||$===void 0?void 0:$.call(d,w)}return(d==null?void 0:d.format)||a||"YYYY-MM-DD"},[d,a]),h=m?Mt(m).format(g(Mt(m))):"",b=y?Mt(y).format(g(Mt(y))):"";if(o==="read"){var C=L.jsxs("div",{ref:n,children:[L.jsx("div",{children:h||"-"}),L.jsx("div",{children:b||"-"})]});return i?i(r,E({mode:o},d),L.jsx("span",{children:C})):C}if(o==="edit"||o==="update"){var x=Vf(d.value),S=L.jsx(Rc.RangePicker,E(E({ref:n,format:a,showTime:u,placeholder:[f.getMessage("tableForm.selectPlaceholder","请选择"),f.getMessage("tableForm.selectPlaceholder","请选择")],bordered:s===void 0?!0:!s},d),{},{value:x}));return l?l(r,E({mode:o},d),S):S}return null};const Rs=Z.forwardRef(w3e);var $3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;if(o==="read"){var s=L.jsx(J3,E(E({allowHalf:!0,disabled:!0,ref:n},l),{},{value:r}));return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:s})):s}if(o==="edit"||o==="update"){var u=L.jsx(J3,E({allowHalf:!0,ref:n},l));return i?i(r,E({mode:o},l),u):u}return null};const E3e=Z.forwardRef($3e);function P3e(e){var t="",n=Math.floor(e/86400),r=Math.floor(e/3600),o=Math.floor(e/60%60),a=Math.floor(e%60);return t="".concat(a,"秒"),o>0&&(t="".concat(o,"分钟").concat(t)),r>0&&(t="".concat(r,"小时").concat(t)),n>0&&(t="".concat(n,"天").concat(t)),t}var O3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=t.placeholder,u=jn(),d=s||u.getMessage("tableForm.inputPlaceholder","请输入");if(o==="read"){var f=P3e(Number(r)),v=L.jsx("span",{ref:n,children:f});return a?a(r,E({mode:o},l),v):v}if(o==="edit"||o==="update"){var p=L.jsx(Kl,E({ref:n,min:0,style:{width:"100%"},placeholder:d},l));return i?i(r,E({mode:o},l),p):p}return null};const M3e=Z.forwardRef(O3e);var R3e=["mode","render","renderFormItem","fieldProps","emptyText"],I3e=function(t,n){var r=t.mode,o=t.render,a=t.renderFormItem,i=t.fieldProps,l=t.emptyText,s=l===void 0?"-":l,u=Oe(t,R3e),d=c.useRef(),f=au(u),v=U(f,3),p=v[0],m=v[1],y=v[2];if(c.useImperativeHandle(n,function(){return E(E({},d.current||{}),{},{fetchData:function(S){return y(S)}})}),p)return L.jsx(rl,{size:"small"});if(r==="read"){var g=m!=null&&m.length?m==null?void 0:m.reduce(function(x,S){var w;return E(E({},x),{},A({},(w=S.value)!==null&&w!==void 0?w:"",S.label))},{}):void 0,h=L.jsx(L.Fragment,{children:ou(u.text,ui(u.valueEnum||g))});if(o){var b;return(b=o(u.text,E({mode:r},i),L.jsx(L.Fragment,{children:h})))!==null&&b!==void 0?b:s}return h}if(r==="edit"||r==="update"){var C=L.jsx(fie,E(E({ref:d},oi(i||{},["allowClear"])),{},{options:m}));return a?a(u.text,E(E({mode:r},i),{},{options:m}),C):C}return null};const N3e=Z.forwardRef(I3e);var T3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;if(o==="read"){var s=r;return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:s})):L.jsx(L.Fragment,{children:s})}if(o==="edit"||o==="update"){var u=L.jsx(Fie,E({ref:n},l));return i?i(r,E({mode:o},l),u):u}return null};const _3e=Z.forwardRef(T3e);var k3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=jn(),u=c.useMemo(function(){var v,p;return r==null||"".concat(r).length<1?"-":r?(v=l==null?void 0:l.checkedChildren)!==null&&v!==void 0?v:s.getMessage("switch.open","打开"):(p=l==null?void 0:l.unCheckedChildren)!==null&&p!==void 0?p:s.getMessage("switch.close","关闭")},[l==null?void 0:l.checkedChildren,l==null?void 0:l.unCheckedChildren,r]);if(o==="read")return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:u})):u??"-";if(o==="edit"||o==="update"){var d,f=L.jsx(Wie,E(E({ref:n},oi(l,["value"])),{},{checked:(d=l==null?void 0:l.checked)!==null&&d!==void 0?d:l==null?void 0:l.value}));return i?i(r,E({mode:o},l),f):f}return null};const F3e=Z.forwardRef(k3e);var D3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=t.emptyText,u=s===void 0?"-":s,d=l||{},f=d.autoFocus,v=d.prefix,p=v===void 0?"":v,m=d.suffix,y=m===void 0?"":m,g=jn(),h=c.useRef();if(c.useImperativeHandle(n,function(){return h.current}),c.useEffect(function(){if(f){var w;(w=h.current)===null||w===void 0||w.focus()}},[f]),o==="read"){var b=L.jsxs(L.Fragment,{children:[p,r??u,y]});if(a){var C;return(C=a(r,E({mode:o},l),b))!==null&&C!==void 0?C:u}return b}if(o==="edit"||o==="update"){var x=g.getMessage("tableForm.inputPlaceholder","请输入"),S=L.jsx(Ea,E({ref:h,placeholder:x,allowClear:!0},l));return i?i(r,E({mode:o},l),S):S}return null};const L3e=Z.forwardRef(D3e);var A3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=jn();if(o==="read"){var u=L.jsx("span",{ref:n,style:{display:"inline-block",padding:"4px 11px",lineHeight:"1.5715",maxWidth:"100%",whiteSpace:"pre-wrap"},children:r??"-"});return a?a(r,E({mode:o},l),u):u}if(o==="edit"||o==="update"){var d=L.jsx(Ea.TextArea,E({ref:n,rows:3,onKeyPress:function(v){v.key==="Enter"&&v.stopPropagation()},placeholder:s.getMessage("tableForm.inputPlaceholder","请输入")},l));return i?i(r,E({mode:o},l),d):d}return null};const j3e=Z.forwardRef(A3e);var z3e=function(t,n){var r,o=t.text,a=t.mode,i=t.light,l=t.label,s=t.format,u=t.render,d=t.renderFormItem,f=t.plain,v=t.fieldProps,p=t.lightLabel,m=t.labelTrigger,y=c.useState(!1),g=U(y,2),h=g[0],b=g[1],C=(tt==null||(r=tt.useConfig)===null||r===void 0?void 0:r.call(tt))||{componentSize:"middle"},x=C.componentSize,S=x,w=$_(),$=w.hashId,R=w.prefixCls,I=w.wrapSSR,N=(v==null?void 0:v.format)||s||"HH:mm:ss",_=Mt.isDayjs(o)||typeof o=="number";if(a==="read"){var M=L.jsx("span",{ref:n,children:o?Mt(o,_?void 0:N).format(N):"-"});return u?u(o,E({mode:a},v),L.jsx("span",{children:M})):M}if(a==="edit"||a==="update"){var P,O=v.disabled,T=v.onChange,k=v.placeholder,F=v.allowClear,D=v.value,j=Vf(D,N);if(i){var z=j&&j.format(N)||"";P=I(L.jsxs("div",{className:"".concat(R,"-light ").concat($),onClick:function(H){var V,K,W,G=p==null||(V=p.current)===null||V===void 0||(K=V.labelRef)===null||K===void 0||(W=K.current)===null||W===void 0?void 0:W.contains(H.target);b(G?!h:!0)},children:[L.jsx(D7,E(E({value:j,format:s,ref:n},v),{},{onChange:function(){var B=tr(Dt().mark(function H(V){return Dt().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,T==null?void 0:T(V);case 2:return W.next=4,b(!1);case 4:case"end":return W.stop()}},H)}));return function(H){return B.apply(this,arguments)}}(),onOpenChange:function(H){m||b(H)},open:h})),L.jsx(ru,{label:l,disabled:O,placeholder:k,size:S,value:z,allowClear:F,onClear:function(){return T==null?void 0:T(null)},expanded:h,ref:p})]}))}else P=L.jsx(Rc.TimePicker,E(E({ref:n,format:s,bordered:f===void 0?!0:!f},v),{},{value:j}));return d?d(o,E({mode:a},v),P):P}return null},H3e=function(t,n){var r=t.text,o=t.mode,a=t.format,i=t.render,l=t.renderFormItem,s=t.plain,u=t.fieldProps,d=(u==null?void 0:u.format)||a||"HH:mm:ss",f=Array.isArray(r)?r:[],v=U(f,2),p=v[0],m=v[1],y=Mt.isDayjs(p)||typeof p=="number",g=Mt.isDayjs(m)||typeof m=="number",h=p?Mt(p,y?void 0:d).format(d):"",b=m?Mt(m,g?void 0:d).format(d):"";if(o==="read"){var C=L.jsxs("div",{ref:n,children:[L.jsx("div",{children:h||"-"}),L.jsx("div",{children:b||"-"})]});return i?i(r,E({mode:o},u),L.jsx("span",{children:C})):C}if(o==="edit"||o==="update"){var x=u.value,S=Vf(x,d),w=L.jsx(D7.RangePicker,E(E({ref:n,format:a,bordered:s===void 0?!0:!s},u),{},{value:S}));return l?l(r,E({mode:o},u),w):w}return null},B3e=Z.forwardRef(H3e);const V3e=Z.forwardRef(z3e);var W3e=["radioType","renderFormItem","mode","light","label","render","fetchDataOnSearch"],K3e=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","fetchDataOnSearch","searchValue"],U3e=function(t,n){var r;t.radioType;var o=t.renderFormItem,a=t.mode,i=t.light,l=t.label,s=t.render,u=t.fetchDataOnSearch,d=u===void 0?!0:u,f=Oe(t,W3e),v=c.useContext(tt.ConfigContext),p=v.getPrefixCls,m=p("pro-field-tree-select"),y=c.useRef(null),g=c.useState(!1),h=U(g,2),b=h[0],C=h[1],x=f.fieldProps,S=x.onSearch,w=x.onClear,$=x.onChange,R=x.onBlur,I=x.showSearch,N=x.autoClearSearchValue;x.treeData,x.fetchDataOnSearch;var _=x.searchValue,M=Oe(x,K3e),P=(tt==null||(r=tt.useConfig)===null||r===void 0?void 0:r.call(tt))||{componentSize:"middle"},O=P.componentSize,T=O,k=jn(),F=au(E(E({},f),{},{defaultKeyWords:_})),D=U(F,3),j=D[0],z=D[1],B=D[2],H=yt(void 0,{onChange:S,value:_}),V=U(H,2),K=V[0],W=V[1];c.useImperativeHandle(n,function(){return E(E({},y.current||{}),{},{fetchData:function(oe){return B(oe)}})});var G=c.useMemo(function(){if(a==="read"){var ne=(M==null?void 0:M.fieldNames)||{},oe=ne.value,le=oe===void 0?"value":oe,de=ne.label,pe=de===void 0?"label":de,se=ne.children,ve=se===void 0?"children":se,ge=new Map,ce=function ie(fe){if(!(fe!=null&&fe.length))return ge;for(var me=fe.length,Ce=0;Ce4&&(p+=7),v.add(p,n));return m.diff(y,"week")+1},l.isoWeekday=function(u){return this.$utils().u(u)?this.day()||7:this.day(this.day()%7?u:u-7)};var s=l.startOf;l.startOf=function(u,d){var f=this.$utils(),v=!!f.u(d)||d;return f.p(u)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(u,d)}}})})(G3e);const X3e=VC;var q3e=["fieldProps"],Q3e=["fieldProps"],Z3e=["fieldProps"],J3e=["fieldProps"],e6e=["text","valueType","mode","onChange","renderFormItem","value","readonly"],t6e=["placeholder"];Mt.extend(wN);Mt.extend($N);Mt.extend(EN);Mt.extend(X3e);Mt.extend(a2);var N1=["select","radio","radioButton","checkbook"],n6e=function(t,n,r){var o=u9(r.fieldProps);return n.type==="progress"?L.jsx(M_,E(E({},r),{},{text:t,fieldProps:E({status:n.status?n.status:void 0},o)})):n.type==="money"?L.jsx(P_,E(E({locale:n.locale},r),{},{fieldProps:o,text:t,moneySymbol:n.moneySymbol})):n.type==="percent"?L.jsx(O_,E(E({},r),{},{text:t,showSymbol:n.showSymbol,precision:n.precision,fieldProps:o,showColor:n.showColor})):n.type==="image"?L.jsx(E_,E(E({},r),{},{text:t,width:n.width})):t},r6e=function(t,n,r,o){var a,i=r.mode,l=i===void 0?"read":i,s=r.emptyText,u=s===void 0?"-":s;if(u!==!1&&l==="read"&&n!=="option"&&n!=="switch"&&typeof t!="boolean"&&typeof t!="number"&&!t){var d=r.fieldProps,f=r.render;return f?f(t,E({mode:l},d),L.jsx(L.Fragment,{children:u})):L.jsx(L.Fragment,{children:u})}if(delete r.emptyText,We(n)==="object")return n6e(t,n,r);var v=o&&o[n];if(v){if(delete r.ref,l==="read"){var p;return(p=v.render)===null||p===void 0?void 0:p.call(v,t,E(E({text:t},r),{},{mode:l||"read"}),L.jsx(L.Fragment,{children:t}))}if(l==="update"||l==="edit"){var m;return(m=v.renderFormItem)===null||m===void 0?void 0:m.call(v,t,E({text:t},r),L.jsx(L.Fragment,{children:t}))}}var y=N1.includes(n),g=!!(r.valueEnum||r.request||r.options||(a=r.fieldProps)!==null&&a!==void 0&&a.options);if(Al(!y||g,"如果设置了 valueType 为 ".concat(N1.join(","),"中任意一个,则需要配置options,request, valueEnum 其中之一,否则无法生成选项。")),Al(!y||g,"If you set valueType to any of ".concat(N1.join(","),", you need to configure options, request or valueEnum.")),n==="money")return L.jsx(P_,E(E({},r),{},{text:t}));if(n==="date")return L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY-MM-DD"},r))});if(n==="dateWeek")return L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY-wo",picker:"week"},r))});if(n==="dateWeekRange"){var h=r.fieldProps,b=Oe(r,q3e);return L.jsx(_r,{isLight:r.light,children:L.jsx(Rs,E({text:t,format:"YYYY-W",showTime:!0,fieldProps:E({picker:"week"},h)},b))})}if(n==="dateMonthRange"){var C=r.fieldProps,x=Oe(r,Q3e);return L.jsx(_r,{isLight:r.light,children:L.jsx(Rs,E({text:t,format:"YYYY-MM",showTime:!0,fieldProps:E({picker:"month"},C)},x))})}if(n==="dateQuarterRange"){var S=r.fieldProps,w=Oe(r,Z3e);return L.jsx(_r,{isLight:r.light,children:L.jsx(Rs,E({text:t,format:"YYYY-Q",showTime:!0,fieldProps:E({picker:"quarter"},S)},w))})}if(n==="dateYearRange"){var $=r.fieldProps,R=Oe(r,J3e);return L.jsx(_r,{isLight:r.light,children:L.jsx(Rs,E({text:t,format:"YYYY",showTime:!0,fieldProps:E({picker:"year"},$)},R))})}return n==="dateMonth"?L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY-MM",picker:"month"},r))}):n==="dateQuarter"?L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY-[Q]Q",picker:"quarter"},r))}):n==="dateYear"?L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY",picker:"year"},r))}):n==="dateRange"?L.jsx(Rs,E({text:t,format:"YYYY-MM-DD"},r)):n==="dateTime"?L.jsx(_r,{isLight:r.light,children:L.jsx(Ms,E({text:t,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},r))}):n==="dateTimeRange"?L.jsx(_r,{isLight:r.light,children:L.jsx(Rs,E({text:t,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},r))}):n==="time"?L.jsx(_r,{isLight:r.light,children:L.jsx(V3e,E({text:t,format:"HH:mm:ss"},r))}):n==="timeRange"?L.jsx(_r,{isLight:r.light,children:L.jsx(B3e,E({text:t,format:"HH:mm:ss"},r))}):n==="fromNow"?L.jsx(zEe,E({text:t},r)):n==="index"?L.jsx(u5,{children:t+1}):n==="indexBorder"?L.jsx(u5,{border:!0,children:t+1}):n==="progress"?L.jsx(M_,E(E({},r),{},{text:t})):n==="percent"?L.jsx(O_,E({text:t},r)):n==="avatar"&&typeof t=="string"&&r.mode==="read"?L.jsx(VS,{src:t,size:22,shape:"circle"}):n==="code"?L.jsx(W6,E({text:t},r)):n==="jsonCode"?L.jsx(W6,E({text:t,language:"json"},r)):n==="textarea"?L.jsx(j3e,E({text:t},r)):n==="digit"?L.jsx(kEe,E({text:t},r)):n==="digitRange"?L.jsx(DEe,E({text:t},r)):n==="second"?L.jsx(M3e,E({text:t},r)):n==="select"||n==="text"&&(r.valueEnum||r.request)?L.jsx(_r,{isLight:r.light,children:L.jsx(ffe,E({text:t},r))}):n==="checkbox"?L.jsx(yfe,E({text:t},r)):n==="radio"?L.jsx(g5,E({text:t},r)):n==="radioButton"?L.jsx(g5,E({radioType:"button",text:t},r)):n==="rate"?L.jsx(E3e,E({text:t},r)):n==="slider"?L.jsx(_3e,E({text:t},r)):n==="switch"?L.jsx(F3e,E({text:t},r)):n==="option"?L.jsx(e3e,E({text:t},r)):n==="password"?L.jsx(r3e,E({text:t},r)):n==="image"?L.jsx(E_,E({text:t},r)):n==="cascader"?L.jsx(mfe,E({text:t},r)):n==="treeSelect"?L.jsx(Y3e,E({text:t},r)):n==="color"?L.jsx(IEe,E({text:t},r)):n==="segmented"?L.jsx(N3e,E({text:t},r)):L.jsx(L3e,E({text:t},r))},o6e=function(t,n){var r,o,a,i,l,s=t.text,u=t.valueType,d=u===void 0?"text":u,f=t.mode,v=f===void 0?"read":f,p=t.onChange,m=t.renderFormItem,y=t.value,g=t.readonly,h=Oe(t,e6e),b=c.useContext(Gi),C=c.useMemo(function(){return(y!==void 0||p||(h==null?void 0:h.fieldProps))&&E(E({value:y},eo(h==null?void 0:h.fieldProps)),{},{onChange:function(){for(var S,w,$=arguments.length,R=new Array($),I=0;I<$;I++)R[I]=arguments[I];h==null||(S=h.fieldProps)===null||S===void 0||(w=S.onChange)===null||w===void 0||w.call.apply(w,[S].concat(R)),p==null||p.apply(void 0,R)}})},[y,p,h==null?void 0:h.fieldProps]);return L.jsx(Z.Fragment,{children:r6e(v==="edit"?(r=(o=C==null?void 0:C.value)!==null&&o!==void 0?o:s)!==null&&r!==void 0?r:"":(a=s??(C==null?void 0:C.value))!==null&&a!==void 0?a:"",d||"text",eo(E(E({ref:n},h),{},{mode:g?"read":v,renderFormItem:m?function(x,S,w){S.placeholder;var $=Oe(S,t6e),R=m(x,$,w);return Z.isValidElement(R)?Z.cloneElement(R,E(E({},C),R.props||{})):R}:void 0,placeholder:m?void 0:(i=h==null?void 0:h.placeholder)!==null&&i!==void 0?i:C==null?void 0:C.placeholder,fieldProps:u9(eo(E(E({},C),{},{placeholder:m?void 0:(l=h==null?void 0:h.placeholder)!==null&&l!==void 0?l:C==null?void 0:C.placeholder})))})),b.valueTypeMap||{})})},a6e=Z.forwardRef(o6e);const i6e=a6e;var R_=Z.createContext({mode:"edit"}),l6e=["fieldProps","children","labelCol","label","autoFocus","isDefaultDom","render","proFieldProps","renderFormItem","valueType","initialValue","onChange","valueEnum","params","name","dependenciesValues","cacheForSwr","valuePropName"],s6e=function(t){var n=t.fieldProps,r=t.children;t.labelCol,t.label;var o=t.autoFocus;t.isDefaultDom;var a=t.render,i=t.proFieldProps,l=t.renderFormItem,s=t.valueType;t.initialValue;var u=t.onChange,d=t.valueEnum,f=t.params;t.name;var v=t.dependenciesValues,p=t.cacheForSwr,m=p===void 0?!1:p,y=t.valuePropName,g=y===void 0?"value":y,h=Oe(t,l6e),b=c.useContext(R_),C=c.useMemo(function(){return v&&h.request?E(E({},f),v||{}):f},[v,f,h.request]),x=c.useMemo(function(){if(r)return Z.isValidElement(r)?Z.cloneElement(r,E(E({},h),{},{onChange:function(){for(var w=arguments.length,$=new Array(w),R=0;R div".concat(t.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(n={display:"block",width:"100%"},A(n,"".concat(t.componentCls,"-title"),{width:"100%",margin:"8px 0"}),A(n,"".concat(t.componentCls,"-container"),{paddingInlineStart:16}),A(n,"".concat(t.antCls,"-space-item,").concat(t.antCls,"-form-item"),{width:"100%"}),A(n,"".concat(t.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),n)})};function E6e(e){return Cn("ProFormGroup",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[$6e(n)]})}var T_=Z.forwardRef(function(e,t){var n=Z.useContext(Eh),r=n.groupProps,o=E(E({},r),e),a=o.children,i=o.collapsible,l=o.defaultCollapsed,s=o.style,u=o.labelLayout,d=o.title,f=d===void 0?e.label:d,v=o.tooltip,p=o.align,m=p===void 0?"start":p,y=o.direction,g=o.size,h=g===void 0?32:g,b=o.titleStyle,C=o.titleRender,x=o.spaceProps,S=o.extra,w=o.autoFocus,$=yt(function(){return l||!1},{value:e.collapsed,onChange:e.onCollapse}),R=U($,2),I=R[0],N=R[1],_=c.useContext(tt.ConfigContext),M=_.getPrefixCls,P=q2(e),O=P.ColWrapper,T=P.RowWrapper,k=M("pro-form-group"),F=E6e(k),D=F.wrapSSR,j=F.hashId,z=i&&L.jsx(Oc,{style:{marginInlineEnd:8},rotate:I?void 0:90}),B=L.jsx(Uce,{label:z?L.jsxs("div",{children:[z,f]}):f,tooltip:v}),H=c.useCallback(function(Q){var ae=Q.children;return L.jsx(nl,E(E({},x),{},{className:Y("".concat(k,"-container ").concat(j),x==null?void 0:x.className),size:h,align:m,direction:y,style:E({rowGap:0},x==null?void 0:x.style),children:ae}))},[m,k,y,j,h,x]),V=C?C(B,e):B,K=c.useMemo(function(){var Q=[],ae=Z.Children.toArray(a).map(function(ee,q){var re;return Z.isValidElement(ee)&&ee!==null&&ee!==void 0&&(re=ee.props)!==null&&re!==void 0&&re.hidden?(Q.push(ee),null):q===0&&Z.isValidElement(ee)&&w?Z.cloneElement(ee,E(E({},ee.props),{},{autoFocus:w})):ee});return[L.jsx(T,{Wrapper:H,children:ae},"children"),Q.length>0?L.jsx("div",{style:{display:"none"},children:Q}):null]},[a,T,H,w]),W=U(K,2),G=W[0],X=W[1];return D(L.jsx(O,{children:L.jsxs("div",{className:Y(k,j,A({},"".concat(k,"-twoLine"),u==="twoLine")),style:s,ref:t,children:[X,(f||v||S)&&L.jsx("div",{className:"".concat(k,"-title ").concat(j),style:b,onClick:function(){N(!I)},children:S?L.jsxs("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[V,L.jsx("span",{onClick:function(ae){return ae.stopPropagation()},children:S})]}):V}),L.jsx("div",{style:{display:i&&I?"none":void 0},children:G})]})}))});T_.displayName="ProForm-Group";const P6e=T_;var O6e=function(t){var n=jn(),r=Do.useFormInstance();if(t.render===!1)return null;var o=t.onSubmit,a=t.render,i=t.onReset,l=t.searchConfig,s=l===void 0?{}:l,u=t.submitButtonProps,d=t.resetButtonProps,f=d===void 0?{}:d,v=function(){r.submit(),o==null||o()},p=function(){r.resetFields(),i==null||i()},m=s.submitText,y=m===void 0?n.getMessage("tableForm.submit","提交"):m,g=s.resetText,h=g===void 0?n.getMessage("tableForm.reset","重置"):g,b=[];f!==!1&&b.push(c.createElement(ti,E(E({},oi(f,["preventDefault"])),{},{key:"rest",onClick:function(S){var w;f!=null&&f.preventDefault||p(),f==null||(w=f.onClick)===null||w===void 0||w.call(f,S)}}),h)),u!==!1&&b.push(c.createElement(ti,E(E({type:"primary"},oi(u||{},["preventDefault"])),{},{key:"submit",onClick:function(S){var w;u!=null&&u.preventDefault||v(),u==null||(w=u.onClick)===null||w===void 0||w.call(u,S)}}),y));var C=a?a(E(E({},t),{},{form:r,submit:v,reset:p}),b):b;return C?Array.isArray(C)?(C==null?void 0:C.length)<1?null:(C==null?void 0:C.length)===1?C[0]:L.jsx(nl,{wrap:!0,children:C}):C:null};const M6e=O6e;var R6e=["fieldProps","proFieldProps"],I6e=["fieldProps","proFieldProps"],WC="text",N6e=function(t){var n=t.fieldProps,r=t.proFieldProps,o=Oe(t,R6e);return L.jsx(Um,E({valueType:WC,fieldProps:n,filedConfig:{valueType:WC},proFieldProps:r},o))},T6e=function(t){var n=t.fieldProps,r=t.proFieldProps,o=Oe(t,I6e);return L.jsx(Um,E({valueType:"password",fieldProps:n,proFieldProps:r,filedConfig:{valueType:WC}},o))},gw=N6e;gw.Password=T6e;gw.displayName="ProFormComponent";const T1=gw;var _6e=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],k6e=["extraUrlParams","syncToUrl","isKeyPressSubmit","syncToUrlAsImportant","syncToInitialValues","children","contentRender","submitter","fieldProps","proFieldProps","formItemProps","groupProps","dateFormatter","formRef","onInit","form","formComponentType","onReset","grid","rowProps","colProps","omitNil","request","params","initialValues","formKey","readonly","onLoadingChange","loading"],KC=function(t,n,r){return t===!0?n:km(t,n,r)},y5=function(t){return!t||Array.isArray(t)?t:[t]};function F6e(e){var t,n=e.children,r=e.contentRender,o=e.submitter;e.fieldProps,e.formItemProps,e.groupProps;var a=e.transformKey,i=e.formRef,l=e.onInit,s=e.form,u=e.loading;e.formComponentType;var d=e.extraUrlParams,f=d===void 0?{}:d,v=e.syncToUrl,p=e.onUrlSearchChange,m=e.onReset,y=e.omitNil,g=y===void 0?!0:y;e.isKeyPressSubmit;var h=e.autoFocusFirstInput,b=h===void 0?!0:h,C=e.grid,x=e.rowProps,S=e.colProps,w=Oe(e,_6e),$=Do.useFormInstance(),R=(tt==null||(t=tt.useConfig)===null||t===void 0?void 0:t.call(tt))||{componentSize:"middle"},I=R.componentSize,N=c.useRef(s||$),_=q2({grid:C,rowProps:x}),M=_.RowWrapper,P=j2(function(){return $}),O=c.useMemo(function(){return{getFieldsFormatValue:function(B){var H;return a((H=P())===null||H===void 0?void 0:H.getFieldsValue(B),g)},getFieldFormatValue:function(){var B,H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=y5(H);if(!V)throw new Error("nameList is require");var K=(B=P())===null||B===void 0?void 0:B.getFieldValue(V),W=V?cr({},V,K):K;return Sr(a(W,g,V),V)},getFieldFormatValueObject:function(B){var H,V=y5(B),K=(H=P())===null||H===void 0?void 0:H.getFieldValue(V),W=V?cr({},V,K):K;return a(W,g,V)},validateFieldsReturnFormatValue:function(){var z=tr(Dt().mark(function H(V){var K,W,G;return Dt().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(!(!Array.isArray(V)&&V)){Q.next=2;break}throw new Error("nameList must be array");case 2:return Q.next=4,(K=P())===null||K===void 0?void 0:K.validateFields(V);case 4:return W=Q.sent,G=a(W,g),Q.abrupt("return",G||{});case 7:case"end":return Q.stop()}},H)}));function B(H){return z.apply(this,arguments)}return B}(),formRef:N}},[g,a]),T=c.useMemo(function(){return Z.Children.toArray(n).map(function(z,B){return B===0&&Z.isValidElement(z)&&b?Z.cloneElement(z,E(E({},z.props),{},{autoFocus:b})):z})},[b,n]),k=c.useMemo(function(){return typeof o=="boolean"||!o?{}:o},[o]),F=c.useMemo(function(){if(o!==!1)return L.jsx(M6e,E(E({},k),{},{onReset:function(){var B,H,V=a((B=N.current)===null||B===void 0?void 0:B.getFieldsValue(),g);if(k==null||(H=k.onReset)===null||H===void 0||H.call(k,V),m==null||m(V),v){var K,W=Object.keys(a((K=N.current)===null||K===void 0?void 0:K.getFieldsValue(),!1)).reduce(function(G,X){return E(E({},G),{},A({},X,V[X]||void 0))},f);p(KC(v,W,"set"))}},submitButtonProps:E({loading:u},k.submitButtonProps)}),"submitter")},[o,k,u,a,g,m,v,f,p]),D=c.useMemo(function(){var z=C?L.jsx(M,{children:T}):T;return r?r(z,F,N.current):z},[C,M,T,r,F]),j=l9(e.initialValues);return c.useEffect(function(){if(!(v||!e.initialValues||!j||w.request)){var z=Vi(e.initialValues,j);Al(z,"initialValues 只在 form 初始化时生效,如果你需要异步加载推荐使用 request,或者 initialValues ?
: null "),Al(z,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null ")}},[e.initialValues]),c.useImperativeHandle(i,function(){return E(E({},N.current),O)},[]),c.useEffect(function(){var z,B,H=a((z=N.current)===null||z===void 0||(B=z.getFieldsValue)===null||B===void 0?void 0:B.call(z,!0),g);l==null||l(H,N.current)},[]),L.jsx(a9.Provider,{value:O,children:L.jsx(tt,{componentSize:w.size||I,children:L.jsxs(P9.Provider,{value:{grid:C,colProps:S},children:[w.component!==!1&&L.jsx("input",{type:"text",style:{display:"none"}}),D]})})})}var b5=0;function D6e(e){var t=e.extraUrlParams,n=t===void 0?{}:t,r=e.syncToUrl,o=e.isKeyPressSubmit,a=e.syncToUrlAsImportant,i=a===void 0?!1:a,l=e.syncToInitialValues,s=l===void 0?!0:l;e.children,e.contentRender,e.submitter;var u=e.fieldProps,d=e.proFieldProps,f=e.formItemProps,v=e.groupProps,p=e.dateFormatter,m=p===void 0?"string":p,y=e.formRef;e.onInit;var g=e.form,h=e.formComponentType;e.onReset,e.grid,e.rowProps,e.colProps;var b=e.omitNil,C=b===void 0?!0:b,x=e.request,S=e.params,w=e.initialValues,$=e.formKey,R=$===void 0?b5:$;e.readonly;var I=e.onLoadingChange,N=e.loading,_=Oe(e,k6e),M=c.useRef({}),P=yt(!1,{onChange:I,value:N}),O=U(P,2),T=O[0],k=O[1],F=gue({},{disabled:!r}),D=U(F,2),j=D[0],z=D[1],B=c.useRef(c9());c.useEffect(function(){b5+=0},[]);var H=iue({request:x,params:S,proFieldKey:R}),V=U(H,1),K=V[0],W=c.useContext(tt.ConfigContext),G=W.getPrefixCls,X=G("pro-form"),Q=Cn("ProForm",function(se){return A({},".".concat(X),A({},"> div:not(".concat(se.proComponentsCls,"-form-light-filter)"),{".pro-field":{maxWidth:"100%","&-xs":{width:104},"&-s":{width:216},"&-sm":{width:216},"&-m":{width:328},"&-md":{width:328},"&-l":{width:440},"&-lg":{width:440},"&-xl":{width:552}}}))}),ae=Q.wrapSSR,ee=Q.hashId,q=c.useState(function(){return r?KC(r,j,"get"):{}}),re=U(q,2),te=re[0],J=re[1],ne=c.useRef({}),oe=c.useRef({}),le=c.useCallback(function(se,ve,ge){return pue(qce(se,m,oe.current,ve,ge),ne.current,ve)},[m]);c.useEffect(function(){s||J({})},[s]),c.useEffect(function(){r&&z(E(E({},j),n))},[n,r]);var de=c.useMemo(function(){if(!(typeof window>"u")&&h&&["DrawerForm"].includes(h))return function(se){return se.parentNode||document.body}},[h]),pe=j2(tr(Dt().mark(function se(){var ve,ge,ce,ie,fe,me;return Dt().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(_.onFinish){ye.next=2;break}return ye.abrupt("return");case 2:if(!T){ye.next=4;break}return ye.abrupt("return");case 4:return k(!0),ye.prev=5,ce=M==null||(ve=M.current)===null||ve===void 0||(ge=ve.getFieldsFormatValue)===null||ge===void 0?void 0:ge.call(ve),ye.next=9,_.onFinish(ce);case 9:r&&(me=Object.keys(M==null||(ie=M.current)===null||ie===void 0||(fe=ie.getFieldsFormatValue)===null||fe===void 0?void 0:fe.call(ie,void 0,!1)).reduce(function(Ne,_e){var Ke;return E(E({},Ne),{},A({},_e,(Ke=ce[_e])!==null&&Ke!==void 0?Ke:void 0))},n),Object.keys(j).forEach(function(Ne){me[Ne]!==!1&&me[Ne]!==0&&!me[Ne]&&(me[Ne]=void 0)}),z(KC(r,me,"set"))),k(!1),ye.next=17;break;case 13:ye.prev=13,ye.t0=ye.catch(5),k(!1);case 17:case"end":return ye.stop()}},se,null,[[5,13]])})));return c.useImperativeHandle(y,function(){return M.current},[!K]),!K&&e.request?L.jsx("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:L.jsx(rl,{})}):ae(L.jsx(R_.Provider,{value:{mode:e.readonly?"read":"edit"},children:L.jsx(r9,{needDeps:!0,children:L.jsx(Eh.Provider,{value:{formRef:M,fieldProps:u,proFieldProps:d,formItemProps:f,groupProps:v,formComponentType:h,getPopupContainer:de,formKey:B.current,setFieldValueType:function(ve,ge){var ce=ge.valueType,ie=ce===void 0?"text":ce,fe=ge.dateFormat,me=ge.transform;Array.isArray(ve)&&(ne.current=cr(ne.current,ve,me),oe.current=cr(oe.current,ve,{valueType:ie,dateFormat:fe}))}},children:L.jsx(mw.Provider,{value:{},children:L.jsx(Do,E(E({onKeyPress:function(ve){if(o&&ve.key==="Enter"){var ge;(ge=M.current)===null||ge===void 0||ge.submit()}},autoComplete:"off",form:g},oi(_,["labelWidth","autoFocusFirstInput"])),{},{initialValues:i?E(E(E({},w),K),te):E(E(E({},te),w),K),onValuesChange:function(ve,ge){var ce;_==null||(ce=_.onValuesChange)===null||ce===void 0||ce.call(_,le(ve,!!C),le(ge,!!C))},className:Y(e.className,X,ee),onFinish:pe,children:L.jsx(F6e,E(E({transformKey:le,autoComplete:"off",loading:T,onUrlSearchChange:z},e),{},{formRef:M,initialValues:E(E({},w),K)}))}))})})})}))}var L6e=function(t){var n;return n={},A(n,"".concat(t.componentCls,"-collapse-label"),{paddingInline:1,paddingBlock:1}),A(n,"".concat(t.componentCls,"-container"),A({},"".concat(t.antCls,"-form-item"),{marginBlockEnd:0})),n};function A6e(e){return Cn("LightWrapper",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[L6e(n)]})}var j6e=["label","size","disabled","onChange","className","style","children","valuePropName","placeholder","labelFormatter","bordered","footerRender","allowClear","otherFieldProps","valueType","placement"],z6e=function(t){var n,r=t.label,o=t.size,a=t.disabled,i=t.onChange,l=t.className,s=t.style,u=t.children,d=t.valuePropName,f=t.placeholder,v=t.labelFormatter,p=t.bordered,m=t.footerRender,y=t.allowClear,g=t.otherFieldProps,h=t.valueType,b=t.placement,C=Oe(t,j6e),x=c.useContext(tt.ConfigContext),S=x.getPrefixCls,w=S("pro-field-light-wrapper"),$=A6e(w),R=$.wrapSSR,I=$.hashId,N=c.useState(t[d]),_=U(N,2),M=_[0],P=_[1],O=yt(!1),T=U(O,2),k=T[0],F=T[1],D=function(){for(var H,V=arguments.length,K=new Array(V),W=0;W div":{width:"100%"}}})),A(n,"@media (min-width: ".concat(t.screenMDMin,"px)"),A({},t.componentCls,{"&-container":{paddingInline:0,paddingBlockStart:128,paddingBlockEnd:24,backgroundRepeat:"no-repeat",backgroundPosition:"center 110px",backgroundSize:"100%"}})),A(n,"@media (max-width: ".concat(t.screenSM,"px)"),A({},t.componentCls,{"&-main":{width:"95%",maxWidth:"328px"}})),n};function B6e(e){return Cn("LoginFormPage",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[H6e(n)]})}var V6e=["logo","message","style","activityConfig","backgroundImageUrl","title","subTitle","actions","children"];function W6e(e){var t=e.logo,n=e.message,r=e.style,o=e.activityConfig,a=o===void 0?{}:o,i=e.backgroundImageUrl,l=e.title,s=e.subTitle,u=e.actions,d=e.children,f=Oe(e,V6e),v=jn(),p=function(){var $,R;return f.submitter===!1||(($=f.submitter)===null||$===void 0?void 0:$.submitButtonProps)===!1?!1:E({size:"large",style:{width:"100%"}},(R=f.submitter)===null||R===void 0?void 0:R.submitButtonProps)},m=E(E({searchConfig:{submitText:v.getMessage("loginForm.submitText","登录")},render:function($,R){return R.pop()}},f.submitter),{},{submitButtonProps:p()}),y=c.useContext(tt.ConfigContext),g=y.getPrefixCls("pro-form-login-page"),h=B6e(g),b=h.wrapSSR,C=h.hashId,x=function($){return"".concat(g,"-").concat($," ").concat(C)},S=c.useMemo(function(){return t?typeof t=="string"?L.jsx("img",{src:t}):t:null},[t]);return b(L.jsxs("div",{className:Y(g,C),style:E(E({},r),{},{backgroundImage:'url("'.concat(i,'")')}),children:[L.jsx("div",{className:x("notice"),children:a&&L.jsxs("div",{className:x("notice-activity"),style:a.style,children:[a.title&&L.jsxs("div",{className:x("notice-activity-title"),children:[" ",a.title," "]}),a.subTitle&&L.jsxs("div",{className:x("notice-activity-subTitle"),children:[" ",a.subTitle," "]}),a.action&&L.jsxs("div",{className:x("notice-activity-action"),children:[" ",a.action," "]})]})}),L.jsxs("div",{className:x("container"),children:[L.jsxs("div",{className:x("top"),children:[l||S?L.jsxs("div",{className:x("header"),children:[S?L.jsx("span",{className:x("logo"),children:S}):null,l?L.jsx("span",{className:x("title"),children:l}):null]}):null,s?L.jsx("div",{className:x("desc"),children:s}):null]}),L.jsxs("div",{className:x("main"),children:[L.jsxs(al,E(E({isKeyPressSubmit:!0},f),{},{submitter:m,children:[n,d]})),u?L.jsx("div",{className:x("other"),children:u}):null]})]})]}))}function K6e(e,t){return X6e(e)||G6e(e,t)||Y6e(e,t)||U6e()}function U6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y6e(e,t){if(e){if(typeof e=="string")return C5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C5(e,t)}}function C5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u",n=c.useState(function(){return t?!1:window.matchMedia(e).matches}),r=K6e(n,2),o=r[0],a=r[1];return c.useLayoutEffect(function(){if(!t){var i=window.matchMedia(e),l=function(u){return a(u.matches)};return i.addListener(l),function(){return i.removeListener(l)}}},[e]),o}function q6e(e,t){return ePe(e)||J6e(e,t)||Z6e(e,t)||Q6e()}function Q6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z6e(e,t){if(e){if(typeof e=="string")return x5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x5(e,t)}}function x5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u")return t;var n=Object.keys(wi).find(function(r){var o=wi[r].matchMedia;return!!window.matchMedia(o).matches});return t=n,t},nPe=function(){var t=Is(wi.md.matchMedia),n=Is(wi.lg.matchMedia),r=Is(wi.xxl.matchMedia),o=Is(wi.xl.matchMedia),a=Is(wi.sm.matchMedia),i=Is(wi.xs.matchMedia),l=c.useState(tPe()),s=q6e(l,2),u=s[0],d=s[1];return c.useEffect(function(){if(r){d("xxl");return}if(o){d("xl");return}if(n){d("lg");return}if(t){d("md");return}if(a){d("sm");return}if(i){d("xs");return}d("md")},[t,n,r,o,a,i]),u},S5=c.createContext({}),rPe=["isLoading","pastDelay","timedOut","error","retry"],oPe=function(t){t.isLoading,t.pastDelay,t.timedOut,t.error,t.retry;var n=Oe(t,rPe);return L.jsx("div",{style:{paddingBlockStart:100,textAlign:"center"},children:L.jsx(rl,E({size:"large"},n))})},aPe=function(t){return A({},t.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:t.colorTextSecondary,"&-link":{color:t.colorTextSecondary,textDecoration:t.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8,"&:hover":{color:t.colorText}}},"&-copyright":{fontSize:"14px",color:t.colorText}})};function iPe(e){return Cn("ProLayoutFooter",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[aPe(n)]})}var lPe=function(t){var n=t.className,r=t.prefixCls,o=t.links,a=t.copyright,i=t.style,l=c.useContext(tt.ConfigContext),s=l.getPrefixCls(r||"pro-global-footer"),u=iPe(s),d=u.wrapSSR,f=u.hashId;return(o==null||o===!1||Array.isArray(o)&&o.length===0)&&(a==null||a===!1)?null:d(L.jsxs("div",{className:Y(s,f,n),style:i,children:[o&&L.jsx("div",{className:"".concat(s,"-list ").concat(f),children:o.map(function(v){return L.jsx("a",{className:"".concat(s,"-list-link ").concat(f),title:v.key,target:v.blankTarget?"_blank":"_self",href:v.href,rel:"noreferrer",children:v.title},v.key)})}),a&&L.jsx("div",{className:"".concat(s,"-copyright ").concat(f),children:a})]}))},sPe=Ic.Footer,cPe=function(t){var n=t.links,r=t.copyright,o=t.style,a=t.className,i=t.prefixCls;return L.jsx(sPe,{className:a,style:E({padding:0},o),children:L.jsx(lPe,{links:n,prefixCls:i,copyright:r===!1?null:L.jsxs(c.Fragment,{children:[L.jsx(Roe,{})," ",r]})})})},uPe=function(t){var n,r,o,a,i,l;return A({},"".concat(t.proComponentsCls,"-layout"),A({},"".concat(t.antCls,"-layout-header").concat(t.componentCls),{height:(t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(t.colorSplit),backgroundColor:(t==null||(i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:t.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function dPe(e){return Cn("ProLayoutHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[uPe(n)]})}var w5=function e(t){return(t||[]).reduce(function(n,r){if(r.key&&n.push(r.key),r.children||r.routes){var o=n.concat(e(r.children||r.routes)||[]);return o}return n},[])};function Ah(e){return e.map(function(t){var n=t.children||[],r=E({},t);if(!r.children&&r.routes&&(r.children=r.routes),!r.name||r.hideInMenu)return null;if(r&&r!==null&&r!==void 0&&r.children){if(!r.hideChildrenInMenu&&n.some(function(o){return o&&o.name&&!o.hideInMenu}))return E(E({},t),{},{children:Ah(n)});delete r.children}return delete r.routes,r}).filter(function(t){return t})}var fPe=function(){return L.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:L.jsx("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},vPe=function e(t){var n=t.appList,r=t.baseClassName,o=t.hashId,a=t.itemClick;return L.jsx("div",{className:"".concat(r,"-content ").concat(o),children:L.jsx("ul",{className:"".concat(r,"-content-list ").concat(o),children:n==null?void 0:n.map(function(i,l){var s;return i!=null&&(s=i.children)!==null&&s!==void 0&&s.length?L.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(o),children:[L.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(o),children:i.title}),L.jsx(e,{hashId:o,itemClick:a,appList:i==null?void 0:i.children,baseClassName:r})]}):L.jsx("li",{className:"".concat(r,"-content-list-item ").concat(o),children:L.jsxs("a",{href:a?"javascript:;":i.url,onClick:function(){return a==null?void 0:a(i)},target:i.target,rel:"noreferrer",children:[hw(i.icon),L.jsxs("div",{children:[L.jsx("div",{children:i.title}),i.desc?L.jsx("span",{children:i.desc}):null]})]})},l)})})})},pPe=function(t,n){if(t&&typeof t=="string"&&H2(t))return L.jsx("img",{src:t,alt:"logo"});if(typeof t=="function")return t();if(t&&typeof t=="string")return L.jsx("div",{id:"avatarLogo",children:t});if(!t&&n&&typeof n=="string"){var r=n.substring(0,1);return L.jsx("div",{id:"avatarLogo",children:r})}return t},mPe=function e(t){var n=t.appList,r=t.baseClassName,o=t.hashId,a=t.itemClick;return L.jsx("div",{className:"".concat(r,"-content ").concat(o),children:L.jsx("ul",{className:"".concat(r,"-content-list ").concat(o),children:n==null?void 0:n.map(function(i,l){var s;return i!=null&&(s=i.children)!==null&&s!==void 0&&s.length?L.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(o),children:[L.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(o),children:i.title}),L.jsx(e,{hashId:o,itemClick:a,appList:i==null?void 0:i.children,baseClassName:r})]}):L.jsx("li",{className:"".concat(r,"-content-list-item ").concat(o),children:L.jsxs("a",{href:a?"javascript:;":i.url,onClick:function(){return a==null?void 0:a(i)},target:i.target,rel:"noreferrer",children:[pPe(i.icon,i.title),L.jsx("div",{children:L.jsx("div",{children:i.title})})]})},l)})})})},gPe=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},"* div":b1==null?void 0:b1(t),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},hPe=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:t.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:t.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},yPe=function(t){var n,r,o,a,i;return A({},t.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:t==null||(n=t.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,"&:hover":{color:t==null||(r=t.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:t==null||(o=t.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover},"&-active":{color:t==null||(a=t.layout)===null||a===void 0?void 0:a.colorTextAppListIconHover,backgroundColor:t==null||(i=t.layout)===null||i===void 0?void 0:i.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":A({},"".concat(t.antCls,"-popover-arrow"),{display:"none"}),"&-simple":hPe(t),"&-default":gPe(t)})};function bPe(e){return Cn("AppsLogoComponents",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[yPe(n)]})}var hw=function(t){return typeof t=="string"?L.jsx("img",{width:"auto",height:22,src:t,alt:"logo"}):typeof t=="function"?t():t},yw=function(t){var n,r=t.appList,o=t.prefixCls,a=o===void 0?"ant-pro":o,i=t.itemClick,l=Z.useRef(null),s=Z.useRef(null),u="".concat(a,"-layout-apps"),d=bPe(u),f=d.wrapSSR,v=d.hashId,p=c.useState(!1),m=U(p,2),y=m[0],g=m[1],h=function(S){i==null||i(S,s)},b=c.useMemo(function(){var x=r==null?void 0:r.some(function(S){return!(S!=null&&S.desc)});return x?L.jsx(mPe,{hashId:v,appList:r,itemClick:i?h:void 0,baseClassName:"".concat(u,"-simple")}):L.jsx(vPe,{hashId:v,appList:r,itemClick:i?h:void 0,baseClassName:"".concat(u,"-default")})},[r,u,v]);if(!(t!=null&&(n=t.appList)!==null&&n!==void 0&&n.length))return null;var C=fh(void 0,function(x){return g(x)});return f(L.jsxs(L.Fragment,{children:[L.jsx("div",{ref:l,onClick:function(S){S.stopPropagation(),S.preventDefault()}}),L.jsx(Mf,E(E({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},C),{},{overlayClassName:"".concat(u,"-popover ").concat(v),content:b,getPopupContainer:function(){return l.current||document.body},children:L.jsx("span",{ref:s,onClick:function(S){S.stopPropagation()},className:Y("".concat(u,"-icon"),v,A({},"".concat(u,"-icon-active"),y)),children:L.jsx(fPe,{})})}))]}))};function CPe(){return L.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:L.jsx("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var xPe=function(t){var n,r,o,a,i,l;return A({},t.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:t==null||(n=t.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorTextCollapsedButton,backgroundColor:t==null||(o=t.layout)===null||o===void 0||(a=o.sider)===null||a===void 0?void 0:a.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:t==null||(i=t.layout)===null||i===void 0||(l=i.sider)===null||l===void 0?void 0:l.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function SPe(e){return Cn("SiderMenuCollapsedIcon",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[xPe(n)]})}var wPe=["isMobile","collapsed"],$Pe=function(t){var n,r=t.isMobile,o=t.collapsed,a=Oe(t,wPe),i=SPe(t.className),l=i.wrapSSR,s=i.hashId;return r&&o?null:l(L.jsx("div",E(E({},a),{},{className:Y(t.className,s,(n={},A(n,"".concat(t.className,"-collapsed"),o),A(n,"".concat(t.className,"-is-mobile"),r),n)),children:L.jsx(CPe,{})})))},__={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},EPe=function(t,n){var r,o,a,i,l,s,u,d=n.includes("horizontal")?(r=t.layout)===null||r===void 0?void 0:r.header:(o=t.layout)===null||o===void 0?void 0:o.sider;return A({},"".concat(t.componentCls),(u={background:"transparent",color:d==null?void 0:d.colorTextMenu,border:"none"},A(u,"".concat(t.componentCls,"-menu-item"),{transition:"none !important"}),A(u,"".concat(t.componentCls,"-submenu-has-icon"),A({},"> ".concat(t.antCls,"-menu-sub"),{paddingInlineStart:10})),A(u,"".concat(t.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),A(u,"".concat(t.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),A(u,"&&-collapsed",(a={},A(a,"".concat(t.antCls,`-menu-item, - `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,`-menu-item, - `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu > ").concat(t.antCls,`-menu-submenu-title, - `).concat(t.antCls,"-menu-submenu > ").concat(t.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),A(a,"".concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu-selected > ").concat(t.antCls,`-menu-submenu-title, - `).concat(t.antCls,"-menu-submenu-selected > ").concat(t.antCls,"-menu-submenu-title"),{backgroundColor:d==null?void 0:d.colorBgMenuItemSelected,borderRadius:t.borderRadiusLG}),A(a,"".concat(t.componentCls,"-group"),A({},"".concat(t.antCls,"-menu-item-group-title"),{paddingInline:0})),a)),A(u,"".concat(t.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",lineHeight:"14px","> span.anticon":{lineHeight:"14px!important",height:"14px"}}),A(u,"& &-item-title",(s={display:"flex",flexDirection:"row",alignItems:"center",gap:8,color:d==null?void 0:d.colorTextMenu,"&-collapsed":(i={flexDirection:"column",justifyContent:"center",minWidth:40,height:40},A(i,"".concat(t.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),A(i,"".concat(t.componentCls,"-item-text"),{maxWidth:"100%"}),A(i,"".concat(t.componentCls,"-item-text-has-icon"),{display:"none !important"}),i)},A(s,"&".concat(t.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),A(s,"&".concat(t.componentCls,"-item-collapsed-show-title"),A({lineHeight:"16px",height:"48px"},"&".concat(t.componentCls,"-item-title-collapsed"),(l={display:"flex"},A(l,"".concat(t.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),A(l,"".concat(t.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),l))),s)),A(u,"&-group",A({},"".concat(t.antCls,"-menu-item-group-title"),{fontSize:12,color:t.colorTextLabel,".anticon":{marginInlineEnd:8}})),A(u,"&-group-divider",{color:t.colorTextSecondary,fontSize:12,lineHeight:20}),u))};function PPe(e,t){return Cn("ProLayoutBaseMenu"+t,function(n){var r=E(E({},n),{},{componentCls:".".concat(e)});return[EPe(r,t||"inline")]})}var k_=O7({scriptUrl:__.iconfontUrl}),$5=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",r=arguments.length>2?arguments[2]:void 0;if(typeof t=="string"&&t!==""){if(H2(t)||sue(t))return L.jsx("img",{width:16,src:t,alt:"icon",className:r},t);if(t.startsWith(n))return L.jsx(k_,{type:t})}return t},E5=function(t){if(t&&typeof t=="string"){var n=t.substring(0,1).toUpperCase();return n}return null},OPe=_n(function e(t){var n=this;Tn(this,e),A(this,"props",void 0),A(this,"getNavMenuItems",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;return r.map(function(a){return n.getSubMenuOrItem(a,o)}).filter(function(a){return a}).flat(1)}),A(this,"getSubMenuOrItem",function(r,o){var a=n.props,i=a.subMenuItemRender,l=a.baseClassName,s=a.prefixCls,u=a.collapsed,d=a.menu,f=a.iconPrefixes,v=a.layout,p=(d==null?void 0:d.type)==="group"&&v!=="top",m=n.props.token,y=n.getIntlName(r),g=(r==null?void 0:r.children)||(r==null?void 0:r.routes),h=p&&o===0?"group":void 0;if(Array.isArray(g)&&g.length>0){var b,C,x,S,w,$,R,I,N=o===0||p&&o===1,_=$5(r.icon,f,"".concat(l,"-icon ").concat((b=n.props)===null||b===void 0?void 0:b.hashId)),M=u&&N?E5(y):null,P=L.jsxs("div",{className:Y("".concat(l,"-item-title"),(C=n.props)===null||C===void 0?void 0:C.hashId,(x={},A(x,"".concat(l,"-item-title-collapsed"),u),A(x,"".concat(l,"-group-item-title"),h==="group"),A(x,"".concat(l,"-item-collapsed-show-title"),(d==null?void 0:d.collapsedShowTitle)&&u),x)),children:[h==="group"&&u?null:N&&_?L.jsx("span",{className:"".concat(l,"-item-icon ").concat((S=n.props)===null||S===void 0?void 0:S.hashId),children:_}):M,L.jsx("span",{className:Y("".concat(l,"-item-text"),(w=n.props)===null||w===void 0?void 0:w.hashId,A({},"".concat(l,"-item-text-has-icon"),h!=="group"&&N&&(_||M))),children:y})]}),O=i?i(E(E({},r),{},{isUrl:!1}),P,n.props):P,T=n.getNavMenuItems(g,o+1);return p&&o===0&&n.props.collapsed&&!d.collapsedShowGroupTitle?T:[{type:h,key:r.key||r.path,label:O,onClick:p?void 0:r.onTitleClick,children:T,className:Y(($={},A($,"".concat(l,"-group"),h==="group"),A($,"".concat(l,"-submenu"),h!=="group"),A($,"".concat(l,"-submenu-has-icon"),h!=="group"&&N&&_),$))},p&&o===0?{type:"divider",prefixCls:s,className:"".concat(l,"-divider"),key:(r.key||r.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:m==null||(R=m.layout)===null||R===void 0||(I=R.sider)===null||I===void 0?void 0:I.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),disabled:r.disabled,key:r.key||r.path,onClick:r.onTitleClick,label:n.getMenuItemPath(r,o)}}),A(this,"getIntlName",function(r){var o=r.name,a=r.locale,i=n.props,l=i.menu,s=i.formatMessage;return a&&(l==null?void 0:l.locale)!==!1?s==null?void 0:s({id:a,defaultMessage:o}):o}),A(this,"getMenuItemPath",function(r,o){var a,i,l,s,u,d=n.conversionPath(r.path||"/"),f=n.props,v=f.location,p=v===void 0?{pathname:"/"}:v,m=f.isMobile,y=f.onCollapse,g=f.menuItemRender,h=f.iconPrefixes,b=n.getIntlName(r),C=n.props,x=C.baseClassName,S=C.menu,w=C.collapsed,$=(S==null?void 0:S.type)==="group",R=o===0||$&&o===1,I=R?$5(r.icon,h,"".concat(x,"-icon ").concat((a=n.props)===null||a===void 0?void 0:a.hashId)):null,N=w&&R?E5(b):null,_=L.jsxs("div",{className:Y("".concat(x,"-item-title"),(i=n.props)===null||i===void 0?void 0:i.hashId,(l={},A(l,"".concat(x,"-item-title-collapsed"),w),A(l,"".concat(x,"-item-collapsed-show-title"),(S==null?void 0:S.collapsedShowTitle)&&w),l)),children:[I?L.jsx("span",{className:"".concat(x,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId),children:I}):N,L.jsx("span",{className:Y("".concat(x,"-item-text"),(u=n.props)===null||u===void 0?void 0:u.hashId,A({},"".concat(x,"-item-text-has-icon"),R&&(I||N))),children:b})]},d),M=H2(d);if(M){var P,O,T,k;_=L.jsxs("span",{onClick:function(){var j,z;(j=window)===null||j===void 0||(z=j.open)===null||z===void 0||z.call(j,d,"_blank")},className:Y("".concat(x,"-item-title"),(P=n.props)===null||P===void 0?void 0:P.hashId,(O={},A(O,"".concat(x,"-item-title-collapsed"),w),A(O,"".concat(x,"-item-link"),!0),A(O,"".concat(x,"-item-collapsed-show-title"),(S==null?void 0:S.collapsedShowTitle)&&w),O)),children:[I?L.jsx("span",{className:"".concat(x,"-item-icon ").concat((T=n.props)===null||T===void 0?void 0:T.hashId),children:I}):N,L.jsx("span",{className:Y("".concat(x,"-item-text"),(k=n.props)===null||k===void 0?void 0:k.hashId,A({},"".concat(x,"-item-text-has-icon"),R&&(I||N))),children:b})]},d)}if(g){var F=E(E({},r),{},{isUrl:M,itemPath:d,isMobile:m,replace:d===p.pathname,onClick:function(){return y&&y(!0)},children:void 0});return g(F,_,n.props)}return _}),A(this,"conversionPath",function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")}),this.props=t}),MPe=function(t,n){var r=n.layout,o=n.collapsed,a={};return t&&!o&&["side","mix"].includes(r||"mix")&&(a={openKeys:t}),a},F_=function(t){var n,r=t.mode,o=t.className,a=t.handleOpenChange,i=t.style,l=t.menuData,s=t.prefixCls,u=t.menu,d=t.matchMenuKeys,f=t.iconfontUrl,v=t.selectedKeys,p=t.onSelect,m=t.menuRenderType,y=t.openKeys,g=c.useContext(ri),h=g.dark,b=g.token,C="".concat(s,"-base-menu-").concat(r),x=c.useRef([]),S=yt(u==null?void 0:u.defaultOpenAll),w=U(S,2),$=w[0],R=w[1],I=yt(function(){return u!=null&&u.defaultOpenAll?w5(l)||[]:y===!1?!1:[]},{value:y===!1?void 0:y,onChange:a}),N=U(I,2),_=N[0],M=N[1],P=yt([],{value:v,onChange:p?function(V){p&&V&&p(V)}:void 0}),O=U(P,2),T=O[0],k=O[1];c.useEffect(function(){u!=null&&u.defaultOpenAll||y===!1||d&&(M(d),k(d))},[d.join("-")]),c.useEffect(function(){f&&(k_=O7({scriptUrl:f}))},[f]),c.useEffect(function(){if(d.join("-")!==(T||[]).join("-")&&k(d),!$&&y!==!1&&d.join("-")!==(_||[]).join("-")){var V=d;(u==null?void 0:u.autoClose)===!1&&(V=Array.from(new Set([].concat(xe(d),xe(_||[]))))),M(V)}else u!=null&&u.ignoreFlatMenu&&$?M(w5(l)):R(!1)},[d.join("-")]);var F=c.useMemo(function(){return MPe(_,t)},[_&&_.join(","),t.layout,t.collapsed]),D=PPe(C,r),j=D.wrapSSR,z=D.hashId,B=c.useMemo(function(){return new OPe(E(E({},t),{},{token:b,menuRenderType:m,baseClassName:C,hashId:z}))},[t,b,m,C,z]);if(u!=null&&u.loading)return L.jsx("div",{style:r!=null&&r.includes("inline")?{padding:24}:{marginBlockStart:16},children:L.jsx(RZ,{active:!0,title:!1,paragraph:{rows:r!=null&&r.includes("inline")?6:1}})});t.openKeys===!1&&!t.handleOpenChange&&(x.current=d);var H=t.postMenuData?t.postMenuData(l):l;return H&&(H==null?void 0:H.length)<1?null:j(c.createElement(o2,E(E({},F),{},{key:"Menu",mode:r,inlineIndent:16,defaultOpenKeys:x.current,theme:h?"dark":"light",selectedKeys:T,style:E({backgroundColor:"transparent",border:"none"},i),className:Y(o,z,C,(n={},A(n,"".concat(C,"-horizontal"),r==="horizontal"),A(n,"".concat(C,"-collapsed"),t.collapsed),n)),items:B.getNavMenuItems(H,0),onOpenChange:function(K){t.collapsed||M(K)}},t.menuProps)))};function RPe(e,t){var n=t.stylish,r=t.proLayoutCollapsedWidth;return Cn("ProLayoutSiderMenuStylish",function(o){var a=E(E({},o),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return n?[A({},"div".concat(o.proComponentsCls,"-layout"),A({},"".concat(a.componentCls),n==null?void 0:n(a)))]:[]})}var IPe=["title","render"],NPe=Ic.Sider,bw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=t.logo,o=t.title,a=t.layout,i=t[n||""];if(i===!1)return null;var l=hw(r),s=L.jsx("h1",{children:o??"Ant Design Pro"});return i?i(l,t.collapsed?null:s,t):t.isMobile?null:a==="mix"&&n==="menuHeaderRender"?!1:t.collapsed?L.jsx("a",{children:l},"title"):L.jsxs("a",{children:[l,s]},"title")},P5=function(t){var n,r,o=t.collapsed,a=t.originCollapsed,i=t.fixSiderbar,l=t.menuFooterRender,s=t.onCollapse,u=t.theme,d=t.siderWidth,f=t.isMobile,v=t.onMenuHeaderClick,p=t.breakpoint,m=p===void 0?"lg":p,y=t.style,g=t.layout,h=t.menuExtraRender,b=h===void 0?!1:h,C=t.links,x=t.menuContentRender,S=t.collapsedButtonRender,w=t.prefixCls,$=t.avatarProps,R=t.rightContentRender,I=t.actionsRender,N=t.onOpenChange,_=t.stylish,M=t.logoStyle,P=c.useContext(ri),O=P.hashId,T=c.useMemo(function(){return!(f||g==="mix")},[f,g]),k="".concat(w,"-sider"),F=64,D=RPe("".concat(k,".").concat(k,"-stylish"),{stylish:_,proLayoutCollapsedWidth:F}),j=Y("".concat(k),O,(n={},A(n,"".concat(k,"-fixed"),i),A(n,"".concat(k,"-fixed-mix"),g==="mix"&&!f&&i),A(n,"".concat(k,"-collapsed"),t.collapsed),A(n,"".concat(k,"-layout-").concat(g),g&&!f),A(n,"".concat(k,"-light"),u!=="dark"),A(n,"".concat(k,"-mix"),g==="mix"&&!f),A(n,"".concat(k,"-stylish"),!!_),n)),z=bw(t),B=b&&b(t),H=c.useMemo(function(){return x!==!1&&c.createElement(F_,E(E({},t),{},{key:"base-menu",mode:"inline",handleOpenChange:N,style:{width:"100%"},className:"".concat(k,"-menu ").concat(O)}))},[k,O,x,N,t]),V=(C||[]).map(function(te,J){return{className:"".concat(k,"-link"),label:te,key:J}}),K=c.useMemo(function(){return x?x(t,H):H},[x,H,t]),W=c.useMemo(function(){if(!$)return null;var te=$.title,J=$.render,ne=Oe($,IPe),oe=L.jsxs("div",{className:"".concat(k,"-actions-avatar"),children:[L.jsx(VS,E({size:28},ne)),$.title&&!o&&L.jsx("span",{children:te})]});return J?J($,oe):oe},[$,k,o]),G=c.useMemo(function(){return I?L.jsx(nl,{align:"center",size:4,direction:o?"vertical":"horizontal",className:Y(["".concat(k,"-actions-list"),o&&"".concat(k,"-actions-list-collapsed"),O]),children:I==null?void 0:I(t).map(function(te,J){return L.jsx("div",{className:"".concat(k,"-actions-list-item ").concat(O),children:te},J)})}):null},[I,k,o]),X=c.useMemo(function(){return L.jsx(yw,{itemClick:t.itemClick,appList:t.appList,prefixCls:t.prefixCls})},[t.appList,t.prefixCls]),Q=c.useMemo(function(){if(S===!1)return null;var te=L.jsx($Pe,{isMobile:f,collapsed:a,className:"".concat(k,"-collapsed-button"),onClick:function(){s==null||s(!a)}});return S?S(o,te):te},[S,f,a,k,o,s]),ae=c.useMemo(function(){return!W&&!G?null:L.jsxs("div",{className:Y("".concat(k,"-actions"),O,o&&"".concat(k,"-actions-collapsed")),children:[W,G]})},[G,W,k,o,O]),ee=c.useMemo(function(){var te;return t!=null&&(te=t.menu)!==null&&te!==void 0&&te.hideMenuWhenCollapsed&&o?"".concat(k,"-hide-menu-collapsed"):null},[k,o,t==null||(r=t.menu)===null||r===void 0?void 0:r.hideMenuWhenCollapsed]),q=l&&(l==null?void 0:l(t)),re=L.jsxs(L.Fragment,{children:[z&&L.jsxs("div",{className:Y([Y("".concat(k,"-logo"),O,A({},"".concat(k,"-logo-collapsed"),o))]),onClick:T?v:void 0,id:"logo",style:M,children:[z,X]}),B&&L.jsx("div",{className:Y(["".concat(k,"-extra"),!z&&"".concat(k,"-extra-no-logo"),O]),children:B}),L.jsx("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:K}),C?L.jsx("div",{className:"".concat(k,"-links ").concat(O),children:L.jsx(o2,{inlineIndent:16,className:"".concat(k,"-link-menu ").concat(O),selectedKeys:[],openKeys:[],theme:u,mode:"inline",items:V})}):null,T&&L.jsxs(L.Fragment,{children:[ae,!G&&R?L.jsx("div",{className:Y("".concat(k,"-actions"),O,A({},"".concat(k,"-actions-collapsed"),o)),children:R==null?void 0:R(t)}):null]}),q&&L.jsx("div",{className:Y(["".concat(k,"-footer"),O,A({},"".concat(k,"-footer-collapsed"),o)]),children:q})]});return D.wrapSSR(L.jsxs(L.Fragment,{children:[i&&!f&&!ee&&L.jsx("div",{style:E({width:o?F:d,overflow:"hidden",flex:"0 0 ".concat(o?F:d,"px"),maxWidth:o?F:d,minWidth:o?F:d,transition:"all 0.2s ease 0s"},y)}),L.jsxs(NPe,{collapsible:!0,trigger:null,collapsed:o,breakpoint:m===!1?void 0:m,onCollapse:function(J){f||s==null||s(J)},collapsedWidth:F,style:y,theme:u,width:d,className:Y(j,O,ee),children:[ee?L.jsx("div",{className:"".concat(k,"-hide-when-collapsed ").concat(O),style:{height:"100%",width:"100%",opacity:ee?0:1},children:re}):re,Q]})]}))},TPe=function(t){var n,r,o,a,i,l;return A({},t.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:t.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:t.borderRadius,"&:hover":{backgroundColor:t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:t.padding,paddingInlineEnd:t.padding,cursor:"pointer",color:t.colorTextSecondary,"> div":{height:"44px",color:t.colorTextSecondary,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:t.borderRadius,"&:hover":{backgroundColor:t==null||(i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgRightActionsItemHover}}}}})};function _Pe(e){return Cn("ProLayoutRightContent",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[TPe(n)]})}var kPe=["rightContentRender","avatarProps","actionsRender","headerContentRender"],FPe=["title","render"],D_=function(t){var n=t.rightContentRender,r=t.avatarProps,o=t.actionsRender;t.headerContentRender;var a=Oe(t,kPe),i=c.useContext(tt.ConfigContext),l=i.getPrefixCls,s="".concat(l(),"-pro-global-header"),u=_Pe(s),d=u.wrapSSR,f=u.hashId,v=c.useState("auto"),p=U(v,2),m=p[0],y=p[1],g=c.useMemo(function(){if(!r)return null;var x=r.title,S=r.render,w=Oe(r,FPe),$=[c.createElement(VS,E(E({},w),{},{size:28,key:"avatar"})),x?L.jsx("span",{style:{marginInlineStart:8},children:x},"name"):void 0];return S?S(r,L.jsx("div",{children:$})):L.jsx("div",{children:$})},[r]),h=o||g?function(x){var S=o&&(o==null?void 0:o(x));return!S&&!g?null:(Array.isArray(S)||(S=[S]),d(L.jsxs("div",{className:"".concat(s,"-header-actions ").concat(f),children:[S.filter(Boolean).map(function(w,$){var R=!1;if(Z.isValidElement(w)){var I;R=!!(w!=null&&(I=w.props)!==null&&I!==void 0&&I["aria-hidden"])}return L.jsx("div",{className:Y("".concat(s,"-header-actions-item ").concat(f),A({},"".concat(s,"-header-actions-hover"),!R)),children:w},$)}),g&&L.jsx("span",{className:"".concat(s,"-header-actions-avatar ").concat(f),children:g})]})))}:void 0,b=Zce(function(){var x=tr(Dt().mark(function S(w){return Dt().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:y(w);case 1:case"end":return R.stop()}},S)}));return function(S){return x.apply(this,arguments)}}(),160),C=h||n;return L.jsx("div",{className:"".concat(s,"-right-content ").concat(f),style:{minWidth:m,height:"100%"},children:L.jsx("div",{style:{height:"100%"},children:L.jsx(la,{onResize:function(S){var w=S.width;b.run(w)},children:C?L.jsx("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:C(E(E({},a),{},{rightContentSize:m}))}):null})})})},DPe=function(t){var n,r,o,a;return A({},t.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":A({display:"flex",alignItems:"center"},"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(((t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56)-12,"px")}})};function LPe(e){return Cn("ProLayoutTopNavHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[DPe(n)]})}var L_=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m=c.useRef(null),y=t.onMenuHeaderClick,g=t.contentWidth,h=t.rightContentRender,b=t.className,C=t.style,x=t.headerContentRender,S=t.layout,w=t.actionsRender,$=c.useContext(tt.ConfigContext),R=$.getPrefixCls,I=c.useContext(ri),N=I.dark,_=I.token,M="".concat(t.prefixCls||R("pro"),"-top-nav-header"),P=LPe(M),O=P.wrapSSR,T=P.hashId,k=void 0;t.menuHeaderRender!==void 0?k="menuHeaderRender":(S==="mix"||S==="top")&&(k="headerTitleRender");var F=bw(E(E({},t),{},{collapsed:!1}),k),D=c.useMemo(function(){var j,z=L.jsx(F_,E(E(E({theme:N?"dark":"light"},t),{},{className:"".concat(M,"-base-menu ").concat(T)},t.menuProps),{},{style:E({width:"100%"},(j=t.menuProps)===null||j===void 0?void 0:j.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}));return x?x(t,z):z},[_==null||(n=_.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorBgHeader,_==null||(o=_.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorBgMenuItemSelected,_==null||(i=_.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgMenuItemHover,_==null||(s=_.layout)===null||s===void 0||(u=s.header)===null||u===void 0?void 0:u.colorTextMenu,_==null||(d=_.layout)===null||d===void 0||(f=d.header)===null||f===void 0?void 0:f.colorTextMenuActive,_==null||(v=_.layout)===null||v===void 0||(p=v.header)===null||p===void 0?void 0:p.colorTextMenuSelected,_==null?void 0:_.colorBgTextHover,_==null?void 0:_.colorTextSecondary,_==null?void 0:_.colorText,_==null?void 0:_.colorTextBase,t,M,T,x]);return O(L.jsx("div",{className:Y(M,T,b,A({},"".concat(M,"-light"),!0)),style:C,children:L.jsxs("div",{ref:m,className:Y("".concat(M,"-main"),T,A({},"".concat(M,"-wide"),g==="Fixed")),children:[F&&L.jsxs("div",{className:Y("".concat(M,"-main-left ").concat(T)),onClick:y,children:[L.jsx(yw,E({},t)),L.jsx("div",{className:"".concat(M,"-logo ").concat(T),id:"logo",children:F},"logo")]}),L.jsx("div",{style:{flex:1},className:"".concat(M,"-menu ").concat(T),children:D}),(h||w||t.avatarProps)&&L.jsx(D_,E(E({rightContentRender:h},t),{},{prefixCls:M}))]})}))},APe=function(t){var n,r,o,a,i,l,s;return A({},t.componentCls,(s={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},A(s,"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),A(s,"&-collapsed-button",{minHeight:"22px",color:t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),A(s,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorHeaderTitle)||t.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),A(s,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),s))};function jPe(e){return Cn("ProLayoutGlobalHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[APe(n)]})}var zPe=function(t,n){return t===!1?null:t?t(n,null):n},HPe=function(t){var n,r=t.isMobile,o=t.logo,a=t.collapsed,i=t.onCollapse,l=t.rightContentRender,s=t.menuHeaderRender,u=t.onMenuHeaderClick,d=t.className,f=t.style,v=t.layout,p=t.children,m=t.splitMenus,y=t.menuData,g=t.prefixCls,h=c.useContext(tt.ConfigContext),b=h.getPrefixCls,C=h.direction,x="".concat(g||b("pro"),"-global-header"),S=jPe(x),w=S.wrapSSR,$=S.hashId,R=Y(d,x,$);if(v==="mix"&&!r&&m){var I=(y||[]).map(function(P){return E(E({},P),{},{children:void 0,routes:void 0})}),N=Ah(I);return L.jsx(L_,E(E({mode:"horizontal"},t),{},{splitMenus:!1,menuData:N}))}var _=Y("".concat(x,"-logo"),$,(n={},A(n,"".concat(x,"-logo-rtl"),C==="rtl"),A(n,"".concat(x,"-logo-mix"),v==="mix"),A(n,"".concat(x,"-logo-mobile"),r),n)),M=L.jsx("span",{className:_,children:L.jsx("a",{children:hw(o)})},"logo");return w(L.jsxs("div",{className:R,style:E({},f),children:[r&&L.jsx("span",{className:"".concat(x,"-collapsed-button ").concat($),onClick:function(){i==null||i(!a)},children:L.jsx(Koe,{})}),r&&zPe(s,M),v==="mix"&&!r&&L.jsxs(L.Fragment,{children:[L.jsx(yw,E({},t)),L.jsx("div",{className:_,onClick:u,children:bw(E(E({},t),{},{collapsed:!1}),"headerTitleRender")})]}),L.jsx("div",{style:{flex:1},children:p}),(l||t.actionsRender||t.avatarProps)&&L.jsx(D_,E({rightContentRender:l},t))]}))};function BPe(e,t){var n=t.stylish,r=t.proLayoutCollapsedWidth;return Cn("ProLayoutHeaderStylish",function(o){var a=E(E({},o),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return n?[A({},"div".concat(o.proComponentsCls,"-layout"),A({},"".concat(a.componentCls),n==null?void 0:n(a)))]:[]})}var O5=Ic.Header,VPe=function(t){var n,r,o,a,i,l=t.isMobile,s=t.fixedHeader,u=t.className,d=t.style,f=t.collapsed,v=t.prefixCls,p=t.onCollapse,m=t.layout,y=t.headerRender,g=t.headerContentRender,h=c.useContext(ri),b=h.token,C=c.useCallback(function(){var M=m==="top",P=Ah(t.menuData||[]),O=L.jsx(HPe,E(E({onCollapse:p},t),{},{menuData:P,children:g&&g(t,null)}));return M&&!l&&(O=L.jsx(L_,E(E({mode:"horizontal",onCollapse:p},t),{},{menuData:P}))),y&&typeof y=="function"?y(t,O):O},[g,y,l,m,p,t]),x=s||m==="mix",S=m==="top",w="".concat(v,"-layout-header"),$=dPe(w),R=$.wrapSSR,I=$.hashId,N=BPe("".concat(w,".").concat(w,"-stylish"),{proLayoutCollapsedWidth:64,stylish:t.stylish}),_=Y(u,I,w,(n={},A(n,"".concat(w,"-fixed-header"),x),A(n,"".concat(w,"-mix"),m==="mix"),A(n,"".concat(w,"-fixed-header-action"),!f),A(n,"".concat(w,"-top-menu"),S),A(n,"".concat(w,"-header"),!0),A(n,"".concat(w,"-stylish"),!!t.stylish),n));return m==="side"&&!l?null:N.wrapSSR(R(L.jsx(L.Fragment,{children:L.jsxs(tt,{theme:{hashed:dc(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[x&&L.jsx(O5,{style:E({height:(b==null||(r=b.layout)===null||r===void 0||(o=r.header)===null||o===void 0?void 0:o.heightLayoutHeader)||56,lineHeight:"".concat((b==null||(a=b.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),L.jsx(O5,{className:_,style:d,children:C()})]})})))};const WPe={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success,please replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},KPe=E({},WPe),UPe={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalità di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello è visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},YPe=E({},UPe),GPe={"app.setting.pagestyle":"스타일 설정","app.setting.pagestyle.dark":"다크 모드","app.setting.pagestyle.light":"라이트 모드","app.setting.content-width":"컨텐츠 너비","app.setting.content-width.fixed":"고정","app.setting.content-width.fluid":"흐름","app.setting.themecolor":"테마 색상","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"네비게이션 모드","app.setting.regionalsettings":"영역별 설정","app.setting.regionalsettings.header":"헤더","app.setting.regionalsettings.menu":"메뉴","app.setting.regionalsettings.footer":"바닥글","app.setting.regionalsettings.menuHeader":"메뉴 헤더","app.setting.sidemenu":"메뉴 사이드 배치","app.setting.topmenu":"메뉴 상단 배치","app.setting.mixmenu":"혼합형 배치","app.setting.splitMenus":"메뉴 분리","app.setting.fixedheader":"헤더 고정","app.setting.fixedsidebar":"사이드바 고정","app.setting.fixedsidebar.hint":"'메뉴 사이드 배치'를 선택했을 때 동작함","app.setting.hideheader":"스크롤 중 헤더 감추기","app.setting.hideheader.hint":"'헤더 감추기 옵션'을 선택했을 때 동작함","app.setting.othersettings":"다른 설정","app.setting.weakmode":"고대비 모드","app.setting.copy":"설정값 복사","app.setting.loading":"테마 로딩 중","app.setting.copyinfo":"복사 성공. src/models/settings.js에 있는 defaultSettings를 교체해 주세요.","app.setting.production.hint":"설정 판넬은 개발 환경에서만 보여집니다. 직접 수동으로 변경바랍니다."},XPe=E({},GPe),qPe={"app.setting.pagestyle":"整体风格设置","app.setting.pagestyle.dark":"暗色菜单风格","app.setting.pagestyle.light":"亮色菜单风格","app.setting.pagestyle.realdark":"暗色风格(实验功能)","app.setting.content-width":"内容区域宽度","app.setting.content-width.fixed":"定宽","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主题色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"极光绿","app.setting.themecolor.techBlue":"科技蓝(默认)","app.setting.themecolor.daybreak":"拂晓","app.setting.themecolor.geekblue":"极客蓝","app.setting.themecolor.purple":"酱紫","app.setting.navigationmode":"导航模式","app.setting.sidermenutype":"侧边菜单类型","app.setting.sidermenutype-sub":"经典模式","app.setting.sidermenutype-group":"分组模式","app.setting.regionalsettings":"内容区域","app.setting.regionalsettings.header":"顶栏","app.setting.regionalsettings.menu":"菜单","app.setting.regionalsettings.footer":"页脚","app.setting.regionalsettings.menuHeader":"菜单头","app.setting.sidemenu":"侧边菜单布局","app.setting.topmenu":"顶部菜单布局","app.setting.mixmenu":"混合菜单布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定侧边菜单","app.setting.fixedsidebar.hint":"侧边菜单布局时可配置","app.setting.hideheader":"下滑时隐藏 Header","app.setting.hideheader.hint":"固定 Header 时可配置","app.setting.othersettings":"其他设置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷贝设置","app.setting.loading":"正在加载主题","app.setting.copyinfo":"拷贝成功,请到 src/defaultSettings.js 中替换默认配置","app.setting.production.hint":"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件"},QPe=E({},qPe),ZPe={"app.setting.pagestyle":"整體風格設置","app.setting.pagestyle.dark":"暗色菜單風格","app.setting.pagestyle.realdark":"暗色風格(实验功能)","app.setting.pagestyle.light":"亮色菜單風格","app.setting.content-width":"內容區域寬度","app.setting.content-width.fixed":"定寬","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主題色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"極光綠","app.setting.themecolor.techBlue":"科技蓝(默認)","app.setting.themecolor.daybreak":"拂曉藍","app.setting.themecolor.geekblue":"極客藍","app.setting.themecolor.purple":"醬紫","app.setting.navigationmode":"導航模式","app.setting.sidemenu":"側邊菜單布局","app.setting.topmenu":"頂部菜單布局","app.setting.mixmenu":"混合菜單布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定側邊菜單","app.setting.fixedsidebar.hint":"側邊菜單布局時可配置","app.setting.hideheader":"下滑時隱藏 Header","app.setting.hideheader.hint":"固定 Header 時可配置","app.setting.othersettings":"其他設置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷貝設置","app.setting.loading":"正在加載主題","app.setting.copyinfo":"拷貝成功,請到 src/defaultSettings.js 中替換默認配置","app.setting.production.hint":"配置欄只在開發環境用於預覽,生產環境不會展現,請拷貝後手動修改配置文件"},JPe=E({},ZPe);var M5={"zh-CN":QPe,"zh-TW":JPe,"en-US":KPe,"it-IT":YPe,"ko-KR":XPe},e5e=function(){if(!z2())return"zh-CN";var t=window.localStorage.getItem("umi_locale");return t||window.g_locale||navigator.language},t5e=function(){var t=e5e();return M5[t]||M5["zh-CN"]},ii={},n5e={get exports(){return ii},set exports(e){ii=e}};n5e.exports=V_;ii.parse=Cw;ii.compile=o5e;ii.tokensToFunction=z_;ii.tokensToRegExp=B_;var A_="/",j_="./",r5e=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function Cw(e,t){for(var n=[],r=0,o=0,a="",i=t&&t.delimiter||A_,l=t&&t.delimiters||j_,s=!1,u;(u=r5e.exec(e))!==null;){var d=u[0],f=u[1],v=u.index;if(a+=e.slice(o,v),o=v+d.length,f){a+=f[1],s=!0;continue}var p="",m=e[o],y=u[2],g=u[3],h=u[4],b=u[5];if(!s&&a.length){var C=a.length-1;l.indexOf(a[C])>-1&&(p=a[C],a=a.slice(0,C))}a&&(n.push(a),a="",s=!1);var x=p!==""&&m!==void 0&&m!==p,S=b==="+"||b==="*",w=b==="?"||b==="*",$=p||i,R=g||h;n.push({name:y||r++,prefix:p,delimiter:$,optional:w,repeat:S,partial:x,pattern:R?a5e(R):"[^"+Ci($)+"]+?"})}return(a||o-1;else{var p=v.repeat?"(?:"+v.pattern+")(?:"+Ci(v.delimiter)+"(?:"+v.pattern+"))*":v.pattern;t&&t.push(v),v.optional?v.partial?u+=Ci(v.prefix)+"("+p+")?":u+="(?:"+Ci(v.prefix)+"("+p+"))?":u+=Ci(v.prefix)+"("+p+")"}}return a?(r||(u+="(?:"+i+")?"),u+=s==="$"?"$":"(?="+s+")"):(r||(u+="(?:"+i+"(?="+s+"))?"),d||(u+="(?="+i+"|"+s+")")),new RegExp(u,H_(n))}function V_(e,t,n){return e instanceof RegExp?i5e(e,t):Array.isArray(e)?l5e(e,t,n):s5e(e,t,n)}var c5e=function(t,n,r){if(r){var o=xe(r.keys()).find(function(i){return ii(i).test(t)});if(o)return r.get(o)}if(n){var a=Object.keys(n).find(function(i){return ii(i).test(t)});if(a)return n[a]}return{path:""}},R5=function(t,n){var r=t.pathname,o=r===void 0?"/":r,a=t.breadcrumb,i=t.breadcrumbMap,l=t.formatMessage,s=t.title,u=t.menu,d=u===void 0?{locale:!1}:u,f=n?"":s||"",v=c5e(o,a,i);if(!v)return{title:f,id:"",pageName:f};var p=v.name;return d.locale!==!1&&v.locale&&l&&(p=l({id:v.locale||"",defaultMessage:v.name})),p?n||!s?{title:p,id:v.locale||"",pageName:p}:{title:"".concat(p," - ").concat(s),id:v.locale||"",pageName:p}:{title:f,id:v.locale||"",pageName:f}},Pr={};function UC(e){return UC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},UC(e)}Object.defineProperty(Pr,"__esModule",{value:!0});var hd=Pr.pathToRegexp=Pr.tokensToRegexp=Pr.regexpToFunction=Pr.match=Pr.tokensToFunction=Pr.compile=Pr.parse=void 0;function u5e(e){for(var t=[],n=0;n=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){o+=e[a++];continue}break}if(!o)throw new TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:o}),n=a;continue}if(r==="("){var l=1,s="",a=n+1;if(e[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a-1:x===void 0;o||(p+="(?:"+v+"(?="+f+"))?"),S||(p+="(?="+v+"|"+f+")")}return new RegExp(p,Sw(n))}Pr.tokensToRegexp=U_;function ww(e,t,n){return e instanceof RegExp?v5e(e,t):Array.isArray(e)?p5e(e,t,n):m5e(e,t,n)}hd=Pr.pathToRegexp=ww;function wa(e,t){return t>>>e|t<<32-e}function g5e(e,t,n){return e&t^~e&n}function h5e(e,t,n){return e&t^e&n^t&n}function y5e(e){return wa(2,e)^wa(13,e)^wa(22,e)}function b5e(e){return wa(6,e)^wa(11,e)^wa(25,e)}function C5e(e){return wa(7,e)^wa(18,e)^e>>>3}function x5e(e){return wa(17,e)^wa(19,e)^e>>>10}function S5e(e,t){return e[t&15]+=x5e(e[t+14&15])+e[t+9&15]+C5e(e[t+1&15])}var w5e=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],hn,Cr,Kn,$5e="0123456789abcdef";function I5(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function E5e(){hn=new Array(8),Cr=new Array(2),Kn=new Array(64),Cr[0]=Cr[1]=0,hn[0]=1779033703,hn[1]=3144134277,hn[2]=1013904242,hn[3]=2773480762,hn[4]=1359893119,hn[5]=2600822924,hn[6]=528734635,hn[7]=1541459225}function YC(){var e,t,n,r,o,a,i,l,s,u,d=new Array(16);e=hn[0],t=hn[1],n=hn[2],r=hn[3],o=hn[4],a=hn[5],i=hn[6],l=hn[7];for(var f=0;f<16;f++)d[f]=Kn[(f<<2)+3]|Kn[(f<<2)+2]<<8|Kn[(f<<2)+1]<<16|Kn[f<<2]<<24;for(var v=0;v<64;v++)s=l+b5e(o)+g5e(o,a,i)+w5e[v],v<16?s+=d[v]:s+=S5e(d,v),u=y5e(e)+h5e(e,t,n),l=i,i=a,a=o,o=I5(r,s),r=n,n=t,t=e,e=I5(s,u);hn[0]+=e,hn[1]+=t,hn[2]+=n,hn[3]+=r,hn[4]+=o,hn[5]+=a,hn[6]+=i,hn[7]+=l}function P5e(e,t){var n,r,o=0;r=Cr[0]>>3&63;var a=t&63;for((Cr[0]+=t<<3)>29,n=0;n+63>3&63;if(Kn[e++]=128,e<=56)for(var t=e;t<56;t++)Kn[t]=0;else{for(var n=e;n<64;n++)Kn[n]=0;YC();for(var r=0;r<56;r++)Kn[r]=0}Kn[56]=Cr[1]>>>24&255,Kn[57]=Cr[1]>>>16&255,Kn[58]=Cr[1]>>>8&255,Kn[59]=Cr[1]&255,Kn[60]=Cr[0]>>>24&255,Kn[61]=Cr[0]>>>16&255,Kn[62]=Cr[0]>>>8&255,Kn[63]=Cr[0]&255,YC()}function M5e(){for(var e=new String,t=0;t<8;t++)for(var n=28;n>=0;n-=4)e+=$5e.charAt(hn[t]>>>n&15);return e}function R5e(e){return E5e(),P5e(e,e.length),O5e(),M5e()}function GC(e){return GC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},GC(e)}var I5e=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function N5e(e,t){return k5e(e)||_5e(e,t)||$w(e,t)||T5e()}function T5e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _5e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,i,l;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));o=!0);}catch(s){a=!0,l=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function k5e(e){if(Array.isArray(e))return e}function F5e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=$w(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,l;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){i=!0,l=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}}}function D5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N5(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function B5e(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function uf(e,t){return uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},uf(e,t)}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},df(e)}function T5(e){return K5e(e)||W5e(e)||$w(e)||V5e()}function V5e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $w(e,t){if(e){if(typeof e=="string")return qC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qC(e,t)}}function W5e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function K5e(e){if(Array.isArray(e))return qC(e)}function qC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Y5e(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}function _5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Un(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return t.endsWith("/*")?t.replace("/*","/"):(t||n).startsWith("/")||Ew(t)?t:"/".concat(n,"/").concat(t).replace(/\/\//g,"/").replace(/\/\//g,"/")},Q5e=function(t,n){var r=t.menu,o=r===void 0?{}:r,a=t.indexRoute,i=t.path,l=i===void 0?"":i,s=t.children||[],u=o.name,d=u===void 0?t.name:u,f=o.icon,v=f===void 0?t.icon:f,p=o.hideChildren,m=p===void 0?t.hideChildren:p,y=o.flatMenu,g=y===void 0?t.flatMenu:y,h=a&&Object.keys(a).join(",")!=="redirect"?[Un({path:l,menu:o},a)].concat(s||[]):s,b=Un({},t);if(d&&(b.name=d),v&&(b.icon=v),h&&h.length){if(m)return delete b.children,b;var C=Pw(Un(Un({},n),{},{data:h}),t);if(g)return C;delete b[oo]}return b},Tl=function(t){return Array.isArray(t)&&t.length>0};function Pw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=e.data,r=e.formatMessage,o=e.parentName,a=e.locale;return!n||!Array.isArray(n)?[]:n.filter(function(i){return i?Tl(i.children)||i.path||i.originPath||i.layout?!0:(i.redirect||i.unaccessible,!1):!1}).filter(function(i){var l,s;return!(i==null||(l=i.menu)===null||l===void 0)&&l.name||i!=null&&i.flatMenu||!(i==null||(s=i.menu)===null||s===void 0)&&s.flatMenu?!0:i.menu!==!1}).map(function(i){var l=Un(Un({},i),{},{path:i.path||i.originPath});return!l.children&&l[oo]&&(l.children=l[oo],delete l[oo]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=i.children||i[oo]||[],s=G_(i.path,t?t.path:"/"),u=i.name,d=q5e(i,o||"menu"),f=d!==!1&&a!==!1&&r&&d?r({id:d,defaultMessage:u}):u,v=t.pro_layout_parentKeys,p=v===void 0?[]:v;t.children,t.icon,t.flatMenu,t.indexRoute,t.routes;var m=U5e(t,I5e),y=new Set([].concat(T5(p),T5(i.parentKeys||[])));t.key&&y.add(t.key);var g=Un(Un(Un({},m),{},{menu:void 0},i),{},{path:s,locale:d,key:i.key||X5e(Un(Un({},i),{},{path:s})),pro_layout_parentKeys:Array.from(y).filter(function(b){return b&&b!=="/"})});if(f?g.name=f:delete g.name,g.menu===void 0&&delete g.menu,Tl(l)){var h=Pw(Un(Un({},e),{},{data:l,parentName:d||""}),g);Tl(h)&&(g.children=h)}return Q5e(g,e)}).flat(1)}var Z5e=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.filter(function(n){return n&&(n.name||Tl(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var r=Un({},n),o=r.children||n[oo]||[];if(delete r[oo],Tl(o)&&!r.hideChildrenInMenu&&o.some(function(i){return i&&!!i.name})){var a=e(o);if(a.length)return Un(Un({},r),{},{children:a})}return Un({},n)}).filter(function(n){return n})},J5e=function(e){A5e(n,e);var t=j5e(n);function n(){return D5e(this,n),t.apply(this,arguments)}return L5e(n,[{key:"get",value:function(o){var a;try{var i=F5e(this.entries()),l;try{for(i.s();!(l=i.n()).done;){var s=N5e(l.value,2),u=s[0],d=s[1],f=nv(u);if(!Ew(u)&&hd(f,[]).test(o)){a=d;break}}}catch(v){i.e(v)}finally{i.f()}}catch{a=void 0}return a}}]),n}(XC(Map)),e8e=function(t){var n=new J5e,r=function o(a,i){a.forEach(function(l){var s=l.children||l[oo]||[];Tl(s)&&o(s,l);var u=G_(l.path,i?i.path:"/");n.set(nv(u),l)})};return r(t),n},t8e=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.map(function(n){var r=n.children||n[oo];if(Tl(r)){var o=e(r);if(o.length)return Un({},n)}var a=Un({},n);return delete a[oo],delete a.children,a}).filter(function(n){return n})},n8e=function(t,n,r,o){var a=Pw({data:t,formatMessage:r,locale:n}),i=o?t8e(a):Z5e(a),l=e8e(a);return{breadcrumb:l,menuData:i}};function k5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Lu(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[],n={};return t.forEach(function(r){var o=Lu({},r);if(!(!o||!o.key)){!o.children&&o[oo]&&(o.children=o[oo],delete o[oo]);var a=o.children||[];n[nv(o.path||o.key||"/")]=Lu({},o),n[o.key||o.path||"/"]=Lu({},o),a&&(n=Lu(Lu({},n),e(a)))}}),n},a8e=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return t.filter(function(o){if(o==="/"&&n==="/")return!0;if(o!=="/"&&o!=="/*"&&o&&!Ew(o)){var a=nv(o);try{if(r&&hd("".concat(a)).test(n)||hd("".concat(a),[]).test(n)||hd("".concat(a,"/(.*)")).test(n))return!0}catch{}}return!1}).sort(function(o,a){return o===n?10:a===n?-10:o.substr(1).split("/").length-a.substr(1).split("/").length})},i8e=function(t,n,r,o){var a=o8e(n),i=Object.keys(a),l=a8e(i,t||"/",o);return!l||l.length<1?[]:(r||(l=[l[l.length-1]]),l.map(function(s){var u=a[s]||{pro_layout_parentKeys:"",key:""},d=new Map,f=(u.pro_layout_parentKeys||[]).map(function(v){return d.has(v)?null:(d.set(v,!0),a[v])}).filter(function(v){return v});return u.key&&f.push(u),f}).flat(1))},l8e=function(){return L.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[L.jsxs("defs",{children:[L.jsxs("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[L.jsx("stop",{stopColor:"#4285EB",offset:"0%"}),L.jsx("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[L.jsx("stop",{stopColor:"#29CDFF",offset:"0%"}),L.jsx("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),L.jsx("stop",{stopColor:"#0A60FF",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[L.jsx("stop",{stopColor:"#FA816E",offset:"0%"}),L.jsx("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),L.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[L.jsx("stop",{stopColor:"#FA8E7D",offset:"0%"}),L.jsx("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),L.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),L.jsx("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:L.jsx("g",{transform:"translate(-20.000000, -20.000000)",children:L.jsx("g",{transform:"translate(20.000000, 20.000000)",children:L.jsxs("g",{children:[L.jsxs("g",{fillRule:"nonzero",children:[L.jsxs("g",{children:[L.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),L.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),L.jsx("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),L.jsx("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},s8e=new Rt("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),c8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,g,h,b,C,x,S,w,$,R,I,N,_,M;return A({},"".concat(t.proComponentsCls,"-layout"),(M={},A(M,t.componentCls,($={position:"relative",background:((n=t.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},A($,"".concat(t.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(o=t.layout)===null||o===void 0||(a=o.sider)===null||a===void 0?void 0:a.paddingInlineLayoutMenu,paddingBlock:(i=t.layout)===null||i===void 0||(l=i.sider)===null||l===void 0?void 0:l.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(t.colorSplit),marginInlineEnd:-1}),A($,"".concat(t.antCls,"-menu"),(d={},A(d,"".concat(t.antCls,"-menu-item-group-title"),{fontSize:t.fontSizeSM,paddingBottom:4}),A(d,"".concat(t.antCls,"-menu-item:hover"),{color:t==null||(s=t.layout)===null||s===void 0||(u=s.sider)===null||u===void 0?void 0:u.colorTextMenuItemHover}),d)),A($,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(f=t.layout)===null||f===void 0||(v=f.sider)===null||v===void 0?void 0:v.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((p=t.layout)===null||p===void 0||(m=p.sider)===null||m===void 0?void 0:m.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(y=t.layout)===null||y===void 0||(g=y.sider)===null||g===void 0?void 0:g.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":A({flexDirection:"column-reverse",margin:0,padding:12},"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),A($,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(h=t.layout)===null||h===void 0||(b=h.sider)===null||b===void 0?void 0:b.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(C=t.layout)===null||C===void 0||(x=C.sider)===null||x===void 0?void 0:x.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:t.borderRadius,"&:hover":{background:t.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:8,borderRadius:t.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:t.colorBgTextHover}}}),A($,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(t.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),A($,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),A($,"&-links",{width:"100%",ul:{height:"auto"}}),A($,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),A($,"&-footer",{color:(S=t.layout)===null||S===void 0||(w=S.sider)===null||w===void 0?void 0:w.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:t.fontSize,animationName:s8e,animationDuration:".3s",animationTimingFunction:"ease"}),$)),A(M,"".concat(t.componentCls).concat(t.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((t==null||(R=t.layout)===null||R===void 0||(I=R.header)===null||I===void 0?void 0:I.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((t==null||(N=t.layout)===null||N===void 0||(_=N.header)===null||_===void 0?void 0:_.heightLayoutHeader)||56,"px")}}),M))};function u8e(e,t){var n=t.proLayoutCollapsedWidth;return Cn("ProLayoutSiderMenu",function(r){var o=E(E({},r),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:n});return[c8e(o)]})}var F5=function(t){var n,r,o=t.isMobile,a=t.siderWidth,i=t.collapsed,l=t.onCollapse,s=t.style,u=t.className,d=t.hide,f=t.getContainer,v=f===void 0?!1:f,p=t.prefixCls,m=c.useContext(ri),y=m.token;c.useEffect(function(){o===!0&&(l==null||l(!0))},[o]);var g=oi(t,["className","style"]),h=Z.useContext(tt.ConfigContext),b=h.direction,C=u8e("".concat(p,"-sider"),{proLayoutCollapsedWidth:64}),x=C.wrapSSR,S=C.hashId,w=Y("".concat(p,"-sider"),u,S);if(d)return null;var $=fh(!i,function(){return l==null?void 0:l(!0)});return x(o?L.jsx(RT,E(E({placement:b==="rtl"?"right":"left",className:Y("".concat(p,"-drawer-sider"),u)},$),{},{style:E({padding:0,height:"100vh"},s),onClose:function(){l==null||l(!0)},maskClosable:!0,closable:!1,getContainer:v,width:a,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:y==null||(n=y.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorMenuBackground},children:L.jsx(P5,E(E({},g),{},{isMobile:!0,className:w,collapsed:o?!1:i,splitMenus:!1,originCollapsed:i}))})):L.jsx(P5,E(E({className:w,originCollapsed:i},g),{},{style:s})))},d8e=function(){var t,n;return typeof process>"u"?zl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||zl},f8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,g,h,b,C,x,S,w,$,R,I,N,_,M,P,O,T,k,F,D,j,z,B,H,V,K,W,G,X,Q,ae,ee,q,re,te,J,ne,oe,le,de,pe,se,ve,ge,ce,ie,fe,me,Ce,ye,Ne,_e,Ke,Ye,$e,Ie,je,gt;return(n=d8e())!==null&&n!==void 0&&n.startsWith("5")?{}:(gt={},A(gt,t.componentCls,(ce={width:"100%",height:"100%"},A(ce,"".concat(t.proComponentsCls,"-base-menu"),(Q={color:t==null||(r=t.layout)===null||r===void 0||(o=r.sider)===null||o===void 0?void 0:o.colorTextMenu},A(Q,"".concat(t.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:t==null||(a=t.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorTextMenu}),A(Q,"& ".concat(t.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),A(Q,"".concat(t.antCls,"-menu-submenu-expand-icon, ").concat(t.antCls,"-menu-submenu-arrow"),{color:"inherit"}),A(Q,"&".concat(t.antCls,"-menu"),(u={color:t==null||(l=t.layout)===null||l===void 0||(s=l.sider)===null||s===void 0?void 0:s.colorTextMenu},A(u,"".concat(t.antCls,"-menu-item"),{"*":{transition:"none !important"}}),A(u,"".concat(t.antCls,"-menu-item a"),{color:"inherit"}),u)),A(Q,"&".concat(t.antCls,"-menu-inline"),A({},"".concat(t.antCls,"-menu-selected::after,").concat(t.antCls,"-menu-item-selected::after"),{display:"none"})),A(Q,"".concat(t.antCls,"-menu-sub ").concat(t.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),A(Q,"".concat(t.antCls,`-menu-item:active, - `).concat(t.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),A(Q,"&".concat(t.antCls,"-menu-light"),A({},"".concat(t.antCls,`-menu-item:hover, - `).concat(t.antCls,`-menu-item-active, - `).concat(t.antCls,`-menu-submenu-active, - `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(d=t.layout)===null||d===void 0||(f=d.sider)===null||f===void 0?void 0:f.colorTextMenuActive,borderRadius:t.borderRadius},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(v=t.layout)===null||v===void 0||(p=v.sider)===null||p===void 0?void 0:p.colorTextMenuActive}))),A(Q,"&".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-horizontal)"),(w={},A(w,"".concat(t.antCls,"-menu-item-selected"),{backgroundColor:t==null||(m=t.layout)===null||m===void 0||(y=m.sider)===null||y===void 0?void 0:y.colorBgMenuItemSelected,borderRadius:t.borderRadius}),A(w,"".concat(t.antCls,`-menu-item:hover, - `).concat(t.antCls,`-menu-item-active, - `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(g=t.layout)===null||g===void 0||(h=g.sider)===null||h===void 0?void 0:h.colorTextMenuActive,borderRadius:t.borderRadius,backgroundColor:"".concat(t==null||(b=t.layout)===null||b===void 0||(C=b.header)===null||C===void 0?void 0:C.colorBgMenuItemHover," !important")},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(x=t.layout)===null||x===void 0||(S=x.sider)===null||S===void 0?void 0:S.colorTextMenuActive})),w)),A(Q,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||($=t.layout)===null||$===void 0||(R=$.sider)===null||R===void 0?void 0:R.colorTextMenuSelected}),A(Q,"".concat(t.antCls,"-menu-submenu-selected"),{color:t==null||(I=t.layout)===null||I===void 0||(N=I.sider)===null||N===void 0?void 0:N.colorTextMenuSelected}),A(Q,"&".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-inline) ").concat(t.antCls,"-menu-submenu-open"),{color:t==null||(_=t.layout)===null||_===void 0||(M=_.sider)===null||M===void 0?void 0:M.colorTextMenuSelected}),A(Q,"&".concat(t.antCls,"-menu-vertical"),A({},"".concat(t.antCls,"-menu-submenu-selected"),{borderRadius:t.borderRadius,color:t==null||(P=t.layout)===null||P===void 0||(O=P.sider)===null||O===void 0?void 0:O.colorTextMenuSelected})),A(Q,"".concat(t.antCls,"-menu-submenu:hover > ").concat(t.antCls,"-menu-submenu-title > ").concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(T=t.layout)===null||T===void 0||(k=T.sider)===null||k===void 0?void 0:k.colorTextMenuActive}),A(Q,"&".concat(t.antCls,"-menu-horizontal"),(X={},A(X,"".concat(t.antCls,`-menu-item:hover, - `).concat(t.antCls,`-menu-submenu:hover, - `).concat(t.antCls,`-menu-item-active, - `).concat(t.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:t==null||(F=t.layout)===null||F===void 0||(D=F.header)===null||D===void 0?void 0:D.colorTextMenuActive,backgroundColor:"".concat(t==null||(j=t.layout)===null||j===void 0||(z=j.header)===null||z===void 0?void 0:z.colorBgMenuItemHover," !important")}),A(X,"".concat(t.antCls,`-menu-item-open, - `).concat(t.antCls,`-menu-submenu-open, - `).concat(t.antCls,`-menu-item-selected, - `).concat(t.antCls,"-menu-submenu-selected"),A({backgroundColor:t==null||(B=t.layout)===null||B===void 0||(H=B.header)===null||H===void 0?void 0:H.colorBgMenuItemSelected,borderRadius:t.borderRadius,transition:"none",color:"".concat(t==null||(V=t.layout)===null||V===void 0||(K=V.header)===null||K===void 0?void 0:K.colorTextMenuSelected," !important")},"".concat(t.antCls,"-menu-submenu-arrow"),{color:"".concat(t==null||(W=t.layout)===null||W===void 0||(G=W.header)===null||G===void 0?void 0:G.colorTextMenuSelected," !important")})),A(X,"> ".concat(t.antCls,"-menu-item, > ").concat(t.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),A(X,"> ".concat(t.antCls,"-menu-item::after, > ").concat(t.antCls,"-menu-submenu::after"),{display:"none"}),X)),Q)),A(ce,"".concat(t.proComponentsCls,"-top-nav-header-base-menu"),(ge={},A(ge,"&".concat(t.antCls,"-menu"),A({color:t==null||(ae=t.layout)===null||ae===void 0||(ee=ae.header)===null||ee===void 0?void 0:ee.colorTextMenu},"".concat(t.antCls,"-menu-item a"),{color:"inherit"})),A(ge,"&".concat(t.antCls,"-menu-light"),(ve={},A(ve,"".concat(t.antCls,`-menu-item:hover, - `).concat(t.antCls,`-menu-item-active, - `).concat(t.antCls,`-menu-submenu-active, - `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(q=t.layout)===null||q===void 0||(re=q.header)===null||re===void 0?void 0:re.colorTextMenuActive,borderRadius:t.borderRadius,transition:"none",backgroundColor:t==null||(te=t.layout)===null||te===void 0||(J=te.header)===null||J===void 0?void 0:J.colorBgMenuItemSelected},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(ne=t.layout)===null||ne===void 0||(oe=ne.header)===null||oe===void 0?void 0:oe.colorTextMenuActive})),A(ve,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||(le=t.layout)===null||le===void 0||(de=le.header)===null||de===void 0?void 0:de.colorTextMenuSelected,borderRadius:t.borderRadius,backgroundColor:t==null||(pe=t.layout)===null||pe===void 0||(se=pe.header)===null||se===void 0?void 0:se.colorBgMenuItemSelected}),ve)),ge)),ce)),A(gt,"".concat(t.antCls,"-menu-sub").concat(t.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),A(gt,"".concat(t.antCls,"-menu-submenu-popup"),(je={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},A(je,"".concat(t.antCls,"-menu"),A({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(t.antCls,`-menu-item:active, - `).concat(t.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),A(je,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||(ie=t.layout)===null||ie===void 0||(fe=ie.sider)===null||fe===void 0?void 0:fe.colorTextMenuSelected}),A(je,"".concat(t.antCls,"-menu-submenu-selected"),{color:t==null||(me=t.layout)===null||me===void 0||(Ce=me.sider)===null||Ce===void 0?void 0:Ce.colorTextMenuSelected}),A(je,"".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-horizontal)"),(Ie={},A(Ie,"".concat(t.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:t.borderRadius,color:t==null||(ye=t.layout)===null||ye===void 0||(Ne=ye.sider)===null||Ne===void 0?void 0:Ne.colorTextMenuSelected}),A(Ie,"".concat(t.antCls,`-menu-item:hover, - `).concat(t.antCls,`-menu-item-active, - `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(_e=t.layout)===null||_e===void 0||(Ke=_e.sider)===null||Ke===void 0?void 0:Ke.colorTextMenuActive,borderRadius:t.borderRadius},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(Ye=t.layout)===null||Ye===void 0||($e=Ye.sider)===null||$e===void 0?void 0:$e.colorTextMenuActive})),Ie)),je)),gt)},v8e=function(t){var n,r,o,a,i,l,s,u,d;return d={},A(d,"".concat(t.antCls,"-layout"),{backgroundColor:"transparent !important"}),A(d,t.componentCls,(u={},A(u,"& ".concat(t.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),A(u,"".concat(t.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(t==null||(n=t.layout)===null||n===void 0||(r=n.pageContainer)===null||r===void 0?void 0:r.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:t==null||(o=t.layout)===null||o===void 0||(a=o.pageContainer)===null||a===void 0?void 0:a.paddingBlockPageContainerContent,paddingInline:t==null||(i=t.layout)===null||i===void 0||(l=i.pageContainer)===null||l===void 0?void 0:l.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),A(u,"".concat(t.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),A(u,"".concat(t.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:t==null||(s=t.layout)===null||s===void 0?void 0:s.bgLayout}),u)),A(d,"".concat(t.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),d};function p8e(e){return Cn("ProLayout",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[v8e(n),f8e(n)]})}function m8e(e){if(!e||e==="/")return["/"];var t=e.split("/").filter(function(n){return n});return t.map(function(n,r){return"/".concat(t.slice(0,r+1).join("/"))})}var g8e=function(){var t,n;return typeof process>"u"?zl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||zl},h8e=function(t,n,r){var o=t,a=o.breadcrumbName,i=o.title,l=o.path,s=r.indexOf(t)===r.length-1;return s?L.jsx("span",{children:i||a}):L.jsx("span",{onClick:l?function(){location.href=l}:void 0,children:i||a})},y8e=function(t,n){var r=n.formatMessage,o=n.menu;return t.locale&&r&&(o==null?void 0:o.locale)!==!1?r({id:t.locale,defaultMessage:t.name}):t.name},b8e=function(t,n){var r=t.get(n);if(!r){var o=Array.from(t.keys())||[],a=o.find(function(i){return ii(i.replace("?","")).test(n)});a&&(r=t.get(a))}return r||{path:""}},C8e=function(t){var n=t.location,r=t.breadcrumbMap;return{location:n,breadcrumbMap:r}},x8e=function(t,n,r){var o=m8e(t==null?void 0:t.pathname),a=o.map(function(i){var l=b8e(n,i),s=y8e(l,r),u=l.hideInBreadcrumb;return s&&!u?{linkPath:i,breadcrumbName:s,title:s,component:l.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(i){return i&&i.linkPath});return a},S8e=function(t){var n=C8e(t),r=n.location,o=n.breadcrumbMap;return r&&r.pathname&&o?x8e(r,o,t):[]},w8e=function(t,n){var r=t.breadcrumbRender,o=t.itemRender,a=n.breadcrumbProps||{},i=a.minLength,l=i===void 0?2:i,s=S8e(t),u=function(v){for(var p=o||h8e,m=arguments.length,y=new Array(m>1?m-1:0),g=1;g-1?{items:d,itemRender:u}:{routes:d,itemRender:u}};function $8e(e){return xe(e).reduce(function(t,n){var r=U(n,2),o=r[0],a=r[1];return t[o]=a,t},{})}var E8e=function e(t,n,r,o){var a=n8e(t,(n==null?void 0:n.locale)||!1,r,!0),i=a.menuData,l=a.breadcrumb;return o?e(o(i),n,r,void 0):{breadcrumb:$8e(l),breadcrumbMap:l,menuData:i}},P8e=function(t){var n=c.useState({}),r=U(n,2),o=r[0],a=r[1];return c.useEffect(function(){a(eo({layout:We(t.layout)!=="object"?t.layout:void 0,navTheme:t.navTheme,menuRender:t.menuRender,footerRender:t.footerRender,menuHeaderRender:t.menuHeaderRender,headerRender:t.headerRender,fixSiderbar:t.fixSiderbar}))},[t.layout,t.navTheme,t.menuRender,t.footerRender,t.menuHeaderRender,t.headerRender,t.fixSiderbar]),o},O8e=function(t){var n,r=c.useContext(ri),o=r.hashId,a=t.style,i=t.prefixCls,l=t.children,s=t.hasPageContainer,u=s===void 0?0:s,d=Y("".concat(i,"-content"),o,(n={},A(n,"".concat(i,"-has-header"),t.hasHeader),A(n,"".concat(i,"-content-has-page-container"),u>0),n)),f=t.ErrorBoundary||Tce;return t.ErrorBoundary===!1?L.jsx(Ic.Content,{className:d,style:a,children:l}):L.jsx(f,{children:L.jsx(Ic.Content,{className:d,style:a,children:l})})},M8e=["id","defaultMessage"],R8e=["fixSiderbar","navTheme","layout"],D5=0,I8e=function(t,n){var r;return t.headerRender===!1||t.pure?null:L.jsx(VPe,E(E({matchMenuKeys:n},t),{},{stylish:(r=t.stylish)===null||r===void 0?void 0:r.header}))},N8e=function(t){return t.footerRender===!1||t.pure?null:t.footerRender?t.footerRender(E({},t),L.jsx(cPe,{})):null},T8e=function(t,n){var r,o=t.layout,a=t.isMobile,i=t.selectedKeys,l=t.openKeys,s=t.splitMenus,u=t.suppressSiderWhenMenuEmpty,d=t.menuRender;if(t.menuRender===!1||t.pure)return null;var f=t.menuData;if(s&&(l!==!1||o==="mix")&&!a){var v=i||n,p=U(v,1),m=p[0];if(m){var y,g;f=((y=t.menuData)===null||y===void 0||(g=y.find(function(x){return x.key===m}))===null||g===void 0?void 0:g.children)||[]}else f=[]}var h=Ah(f||[]);if(h&&(h==null?void 0:h.length)<1&&(s||u))return null;if(o==="top"&&!a){var b;return L.jsx(F5,E(E({matchMenuKeys:n},t),{},{hide:!0,stylish:(b=t.stylish)===null||b===void 0?void 0:b.sider}))}var C=L.jsx(F5,E(E({matchMenuKeys:n},t),{},{menuData:h,stylish:(r=t.stylish)===null||r===void 0?void 0:r.sider}));return d?d(t,C):C},_8e=function(t,n){var r=n.pageTitleRender,o=R5(t);if(r===!1)return{title:n.title||"",id:"",pageName:""};if(r){var a=r(t,o.title,o);if(typeof a=="string")return R5(E(E({},o),{},{title:a}));Wt(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return o},k8e=function(t,n,r){return t?n?60:r:0},F8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,g,h,b,C,x,S,w,$,R,I,N,_,M,P,O,T,k,F,D,j,z,B,H,V,K,W,G,X,Q,ae,ee,q=t||{},re=q.children,te=q.onCollapse,J=q.location,ne=J===void 0?{pathname:"/"}:J,oe=q.contentStyle,le=q.route,de=q.defaultCollapsed,pe=q.style,se=q.siderWidth,ve=q.menu,ge=q.siderMenuType,ce=q.isChildrenLayout,ie=q.menuDataRender,fe=q.actionRef,me=q.bgLayoutImgList,Ce=q.formatMessage,ye=q.loading,Ne=c.useMemo(function(){return se||(t.layout==="mix"?215:256)},[t.layout,se]),_e=c.useContext(tt.ConfigContext),Ke=(n=t.prefixCls)!==null&&n!==void 0?n:_e.getPrefixCls("pro"),Ye=yt(!1,{value:ve==null?void 0:ve.loading,onChange:ve==null?void 0:ve.onLoadingChange}),$e=U(Ye,2),Ie=$e[0],je=$e[1],gt=c.useState(function(){return D5+=1,"pro-layout-".concat(D5)}),dt=U(gt,1),bt=dt[0],Ee=c.useCallback(function(Jt){var kn=Jt.id,zn=Jt.defaultMessage,Tr=Oe(Jt,M8e);if(Ce)return Ce(E({id:kn,defaultMessage:zn},Tr));var zo=t5e();return zo[kn]?zo[kn]:zn},[Ce]),Se=L2([bt,ve==null?void 0:ve.params],function(){var Jt=tr(Dt().mark(function kn(zn){var Tr,zo,di,Ra;return Dt().wrap(function(Ho){for(;;)switch(Ho.prev=Ho.next){case 0:return zo=U(zn,2),di=zo[1],je(!0),Ho.next=4,ve==null||(Tr=ve.request)===null||Tr===void 0?void 0:Tr.call(ve,di||{},(le==null?void 0:le.children)||(le==null?void 0:le.routes)||[]);case 4:return Ra=Ho.sent,je(!1),Ho.abrupt("return",Ra);case 7:case"end":return Ho.stop()}},kn)}));return function(kn){return Jt.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ke=Se.data,De=Se.mutate,ze=D2(),Me=ze.cache;c.useEffect(function(){return function(){Me instanceof Map&&Me.clear()}},[]);var ht=c.useMemo(function(){return E8e(ke||(le==null?void 0:le.children)||(le==null?void 0:le.routes)||[],ve,Ee,ie)},[Ee,ve,ie,ke,le==null?void 0:le.children,le==null?void 0:le.routes]),rt=ht||{},he=rt.breadcrumb,Re=he===void 0?{}:he,we=rt.breadcrumbMap,Le=rt.menuData,Ze=Le===void 0?[]:Le;fe&&ve!==null&&ve!==void 0&&ve.request&&(fe.current={reload:function(){De()}});var st=c.useMemo(function(){return i8e(ne.pathname||"/",Ze||[],!0)},[ne.pathname,Ze]),Ct=c.useMemo(function(){return Array.from(new Set(st.map(function(Jt){return Jt.key||Jt.path||""})))},[st]),it=st[st.length-1]||{},Te=P8e(it),Be=E(E({},t),Te),Xe=Be.fixSiderbar;Be.navTheme;var He=Be.layout,Fe=Oe(Be,R8e),Qe=nPe(),Ue=(Qe==="sm"||Qe==="xs")&&!t.disableMobile,ct=He!=="top"&&!Ue,ot=yt(function(){return de!==void 0?de:dc()===!1?!1:!!(Ue||Qe==="md")},{value:t.collapsed,onChange:te}),Je=U(ot,2),et=Je[0],ut=Je[1],$t=oi(E(E(E({prefixCls:Ke},t),{},{siderWidth:Ne},Te),{},{formatMessage:Ee,breadcrumb:Re,menu:E(E({},ve),{},{type:ge||(ve==null?void 0:ve.type),loading:Ie}),layout:He}),["className","style","breadcrumbRender"]),Tt=_8e(E(E({pathname:ne.pathname},$t),{},{breadcrumbMap:we}),t),dn=w8e(E(E({},$t),{},{breadcrumbRender:t.breadcrumbRender,breadcrumbMap:we}),t),St=T8e(E(E({},$t),{},{menuData:Ze,onCollapse:ut,isMobile:Ue,collapsed:et}),Ct),Ge=I8e(E(E({},$t),{},{children:null,hasSiderMenu:!!St,menuData:Ze,isMobile:Ue,collapsed:et,onCollapse:ut}),Ct),Bt=N8e(E({isMobile:Ue,collapsed:et},$t)),Zt=c.useContext(S5),pn=Zt.isChildrenLayout,tn=ce!==void 0?ce:pn,In="".concat(Ke,"-layout"),go=p8e(In),ho=go.wrapSSR,gr=go.hashId,Zn=Y(t.className,gr,"ant-design-pro",In,(r={},A(r,"screen-".concat(Qe),Qe),A(r,"".concat(In,"-top-menu"),He==="top"),A(r,"".concat(In,"-is-children"),tn),A(r,"".concat(In,"-fix-siderbar"),Xe),A(r,"".concat(In,"-").concat(He),He),r)),Wr=k8e(!!ct,et,Ne),Nr={position:"relative"};(tn||oe&&oe.minHeight)&&(Nr.minHeight=0),c.useEffect(function(){var Jt;(Jt=t.onPageChange)===null||Jt===void 0||Jt.call(t,t.location)},[ne.pathname,(o=ne.pathname)===null||o===void 0?void 0:o.search]);var Ma=c.useState(!1),Kr=U(Ma,2),yo=Kr[0],at=Kr[1],Ve=c.useState(0),wt=U(Ve,2),Ft=wt[0],It=wt[1];aue(Tt,t.title||!1);var Gt=c.useMemo(function(){return me&&me.length>0?me.map(function(Jt,kn){return L.jsx("img",{src:Jt.src,style:E({position:"absolute"},Jt)},kn)}):null},[me]),mn=c.useContext(ri),Pe=mn.token;return ho(L.jsx(S5.Provider,{value:E(E({},$t),{},{breadcrumb:dn,menuData:Ze,isMobile:Ue,collapsed:et,hasPageContainer:Ft,setHasPageContainer:It,isChildrenLayout:!0,title:Tt.pageName,hasSiderMenu:!!St,hasHeader:!!Ge,siderWidth:Wr,hasFooter:!!Bt,hasFooterToolbar:yo,setHasFooterToolbar:at,pageTitleInfo:Tt,matchMenus:st,matchMenuKeys:Ct,currentMenu:it}),children:t.pure?L.jsx(L.Fragment,{children:re}):L.jsxs("div",{className:Zn,children:[L.jsx("div",{className:Y("".concat(In,"-bg-list"),gr),children:Gt}),L.jsxs(Ic,{style:E({minHeight:"100%",flexDirection:St?"row":void 0},pe),children:[L.jsx(tt,{theme:{hashed:dc(),components:{Menu:{colorItemBg:(Pe==null||(a=Pe.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:(Pe==null||(l=Pe.layout)===null||l===void 0||(s=l.sider)===null||s===void 0?void 0:s.colorMenuBackground)||"transparent",radiusItem:4,controlHeightLG:(Pe==null||(u=Pe.layout)===null||u===void 0||(d=u.sider)===null||d===void 0?void 0:d.menuHeight)||(Pe==null?void 0:Pe.controlHeightLG),colorItemBgSelected:(Pe==null||(f=Pe.layout)===null||f===void 0||(v=f.sider)===null||v===void 0?void 0:v.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgActive:(Pe==null||(p=Pe.layout)===null||p===void 0||(m=p.sider)===null||m===void 0?void 0:m.colorBgMenuItemHover)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgSelectedHorizontal:(Pe==null||(y=Pe.layout)===null||y===void 0||(g=y.sider)===null||g===void 0?void 0:g.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(Pe==null||(h=Pe.layout)===null||h===void 0||(b=h.sider)===null||b===void 0?void 0:b.colorTextMenu)||(Pe==null?void 0:Pe.colorTextSecondary),colorItemTextHover:(Pe==null||(C=Pe.layout)===null||C===void 0||(x=C.sider)===null||x===void 0?void 0:x.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(Pe==null||(S=Pe.layout)===null||S===void 0||(w=S.sider)===null||w===void 0?void 0:w.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorBgElevated:(Pe==null||($=Pe.layout)===null||$===void 0||(R=$.sider)===null||R===void 0?void 0:R.colorBgMenuItemCollapsedElevated)||"#fff"}}},children:St}),L.jsxs("div",{style:Nr,className:"".concat(In,"-container ").concat(gr),children:[L.jsx(tt,{theme:{hashed:dc(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"},Menu:{colorItemBg:(Pe==null||(I=Pe.layout)===null||I===void 0||(N=I.header)===null||N===void 0?void 0:N.colorBgHeader)||"transparent",colorSubItemBg:(Pe==null||(_=Pe.layout)===null||_===void 0||(M=_.header)===null||M===void 0?void 0:M.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(Pe==null||(P=Pe.layout)===null||P===void 0||(O=P.header)===null||O===void 0?void 0:O.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgActive:(Pe==null||(T=Pe.layout)===null||T===void 0||(k=T.header)===null||k===void 0?void 0:k.colorBgMenuItemHover)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgSelectedHorizontal:(Pe==null||(F=Pe.layout)===null||F===void 0||(D=F.header)===null||D===void 0?void 0:D.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(Pe==null||(j=Pe.layout)===null||j===void 0||(z=j.header)===null||z===void 0?void 0:z.colorTextMenu)||(Pe==null?void 0:Pe.colorTextSecondary),colorItemTextHoverHorizontal:(Pe==null||(B=Pe.layout)===null||B===void 0||(H=B.header)===null||H===void 0?void 0:H.colorTextMenuActive)||(Pe==null?void 0:Pe.colorText),colorItemTextSelectedHorizontal:(Pe==null||(V=Pe.layout)===null||V===void 0||(K=V.header)===null||K===void 0?void 0:K.colorTextMenuSelected)||(Pe==null?void 0:Pe.colorTextBase),colorItemTextHover:(Pe==null||(W=Pe.layout)===null||W===void 0||(G=W.header)===null||G===void 0?void 0:G.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(Pe==null||(X=Pe.layout)===null||X===void 0||(Q=X.header)===null||Q===void 0?void 0:Q.colorTextMenuSelected)||"rgba(0, 0, 0, 1)"}}},children:Ge}),L.jsx(O8e,E(E({hasPageContainer:Ft,isChildrenLayout:tn},Fe),{},{hasHeader:!!Ge,prefixCls:In,style:oe,children:ye?L.jsx(oPe,{}):re})),Bt,yo&&L.jsx("div",{className:"".concat(In,"-has-footer"),style:{height:64,marginBlockStart:Pe==null||(ae=Pe.layout)===null||ae===void 0||(ee=ae.pageContainer)===null||ee===void 0?void 0:ee.paddingBlockPageContainerContent}})]})]})]})}))},D8e=function(t){var n=t.colorPrimary,r=t.navTheme!==void 0?{dark:t.navTheme==="realDark"}:{};return L.jsx(tt,{theme:n?{token:{colorPrimary:n}}:void 0,children:L.jsx(r9,E(E({autoClearCache:!0},r),{},{token:t.token,prefixCls:t.prefixCls,children:L.jsx(F8e,E(E({logo:L.jsx(l8e,{})},__),{},{location:z2()?window.location:void 0},t))}))})},L8e={name:"akpk48",styles:"color:rgba(0, 0, 0, 0.2);font-size:18px;vertical-align:middle;cursor:pointer"},A8e={name:"zdn661",styles:"display:flex;justify-content:center;align-items:center;flex-direction:column;height:40px;width:40px;border:1px solid #D4D8DD;border-radius:50%"};const j8e=()=>({container:A8e,icon:L8e}),_1=({icon:e})=>{const t=j8e();return Ot("div",{css:t.container,children:Ot("span",{css:t.icon,children:e})})},z8e=()=>{const[e,t]=c.useState("phone");return cs(W6e,{backgroundImageUrl:"https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png",logo:"https://github.githubassets.com/images/modules/logos_page/Octocat.png",title:"Github",subTitle:"全球最大的代码托管平台",style:{height:"100vh"},actions:cs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},children:[Ot(Qee,{plain:!0,children:Ot("span",{style:{color:"#CCC",fontWeight:"normal",fontSize:14},children:"其他登录方式"})}),cs(nl,{align:"center",size:24,children:[Ot(_1,{icon:Ot(Coe,{style:{color:"#1677FF"}})}),Ot(_1,{icon:Ot(yae,{style:{color:"#FF6A10"}})}),Ot(_1,{icon:Ot(xae,{style:{color:"#333333"}})})]})]}),children:[Ot(iT,{centered:!0,activeKey:e,onChange:n=>t(n),items:[{key:"account",label:"账号密码登录"},{key:"phone",label:"手机号登录"}]}),e==="account"&&cs(Zw,{children:[Ot(T1,{name:"username",fieldProps:{size:"large",prefix:Ot(fae,{className:"prefixIcon"})},placeholder:"用户名: admin or user",rules:[{required:!0,message:"请输入用户名!"}]}),Ot(T1.Password,{name:"password",fieldProps:{size:"large",prefix:Ot(Z3,{className:"prefixIcon"})},placeholder:"密码: ant.design",rules:[{required:!0,message:"请输入密码!"}]})]}),e==="phone"&&cs(Zw,{children:[Ot(T1,{fieldProps:{size:"large",prefix:Ot(Qoe,{className:"prefixIcon"})},name:"mobile",placeholder:"手机号",rules:[{required:!0,message:"请输入手机号!"},{pattern:/^1\d{10}$/,message:"手机号格式错误!"}]}),Ot(Gde,{fieldProps:{size:"large",prefix:Ot(Z3,{className:"prefixIcon"})},captchaProps:{size:"large"},placeholder:"请输入验证码",captchaTextRender:(n,r)=>n?`${r} 获取验证码`:"获取验证码",name:"captcha",rules:[{required:!0,message:"请输入验证码!"}],onGetCaptcha:async()=>{Bre.success("获取验证码成功!验证码为:1234")}})]}),cs("div",{style:{marginBlockEnd:24},children:[Ot(p6e,{noStyle:!0,name:"autoLogin",children:"自动登录"}),Ot("a",{style:{float:"right"},children:"忘记密码"})]})]})},H8e=[{path:"/dashboard",name:"欢迎",icon:Ot(rae,{})},{path:"/admin",name:"管理页",icon:Ot(Fa,{}),access:"canAdmin",component:"./Admin",routes:[{path:"/admin/sub-page1",name:"一级页面",icon:"https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg",component:"./Welcome"},{path:"/admin/sub-page2",name:"二级页面",icon:Ot(Fa,{}),component:"./Welcome"},{path:"/admin/sub-page3",name:"三级页面",icon:Ot(Fa,{}),component:"./Welcome"}]},{name:"列表页",icon:Ot(cae,{}),path:"/list",component:"./ListTableList",routes:[{path:"/list/sub-page",name:"列表页面",icon:Ot(Fa,{}),routes:[{path:"sub-sub-page1",name:"一一级列表页面",icon:Ot(Fa,{}),component:"./Welcome"},{path:"sub-sub-page2",name:"一二级列表页面",icon:Ot(Fa,{}),component:"./Welcome"},{path:"sub-sub-page3",name:"一三级列表页面",icon:Ot(Fa,{}),component:"./Welcome"}]},{path:"/list/sub-page2",name:"二级列表页面",icon:Ot(Fa,{}),component:"./Welcome"},{path:"/list/sub-page3",name:"三级列表页面",icon:Ot(Fa,{}),component:"./Welcome"}]},{path:"https://ant.design",name:"Ant Design 官网外链",icon:Ot(Poe,{})}],B8e=()=>{const e=yA(),t=Eg();return Ot(D8e,{path:"/",title:"Vite React Starter",logo:"/vite.svg",bgLayoutImgList:[{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",left:85,bottom:100,height:"303px"},{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",bottom:-68,right:-45,height:"303px"},{src:"https://img.alicdn.com/imgextra/i3/O1CN018NxReL1shX85Yz6Cx_!!6000000005798-2-tps-884-496.png",bottom:0,left:0,width:"331px"}],location:t,siderMenuType:"group",menu:{collapsedShowGroupTitle:!0},fixSiderbar:!0,layout:"mix",avatarProps:{src:"https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg",size:"small",title:"七妮妮",render:(n,r)=>Ot(SN,{menu:{items:[{key:"logout",icon:Ot(Boe,{}),label:"退出登录"}]},children:r})},onMenuHeaderClick:n=>{},route:{path:"/",routes:H8e},children:e})},L5=Object.assign({"./modules/components.tsx":kle,"./modules/dashboard.tsx":Fle}),X_=[];Object.keys(L5).forEach(e=>{X_.push(...L5[e])});const V8e=[{element:Ot(B8e,{}),children:[...X_]},{path:"/",element:Ot(NA,{to:"/map"})},{path:"/login",element:Ot(z8e,{}),meta:{key:"login",title:"登录页"}},{path:"/map",element:T2(Z.lazy(()=>Jx(()=>import("./index-49e87341.js"),[]))),meta:{title:"全景地图",key:"map"}}],W8e=()=>bA(V8e);function K8e(){return Ot(_A,{children:Ot(W8e,{})})}L1.createRoot(document.getElementById("root")).render(Ot(Z.StrictMode,{children:Ot(K8e,{})}));export{Z as R,K2 as _,Ot as a,W2 as b,tf as c,B2 as d,wue as e,Eue as f,Dm as g,v9 as h,Fm as i,L as j,Ya as k,qt as l,rf as m,c as r}; diff --git a/assets/js/index-143b534b.js b/assets/js/index-143b534b.js deleted file mode 100644 index f59082e..0000000 --- a/assets/js/index-143b534b.js +++ /dev/null @@ -1 +0,0 @@ -import{a as r}from"./index-0545c621.js";const d=()=>r("div",{children:"dashboard"});export{d as default}; diff --git a/assets/js/index-6rLtl1Ps.js b/assets/js/index-6rLtl1Ps.js new file mode 100644 index 0000000..851438f --- /dev/null +++ b/assets/js/index-6rLtl1Ps.js @@ -0,0 +1,12 @@ +import{r as y,b as be,a as fe}from"./index-nVNNlwDH.js";function k(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function re(r){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},re(r)}function Bt(r,i){if(re(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var e=t.call(r,i||"default");if(re(e)!=="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}function vt(r){var i=Bt(r,"string");return re(i)==="symbol"?i:String(i)}function Ae(r,i){for(var t=0;t=0&&s===a&&c())}function Vt(r,i){if(r==null)return{};var t={},e=Object.keys(r),o,n;for(n=0;n=0)&&(t[o]=r[o]);return t}function se(r,i){if(r==null)return{};var t=Vt(r,i),e,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(r,e)&&(t[e]=r[e])}return t}var qt=function(){function r(i){var t=i.cellCount,e=i.cellSizeGetter,o=i.estimatedCellSize;k(this,r),h(this,"_cellSizeAndPositionData",{}),h(this,"_lastMeasuredIndex",-1),h(this,"_lastBatchedIndex",-1),h(this,"_cellCount",void 0),h(this,"_cellSizeGetter",void 0),h(this,"_estimatedCellSize",void 0),this._cellSizeGetter=e,this._cellCount=t,this._estimatedCellSize=o}return A(r,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(t){var e=t.cellCount,o=t.estimatedCellSize,n=t.cellSizeGetter;this._cellCount=e,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(t){if(t<0||t>=this._cellCount)throw Error("Requested index ".concat(t," is outside of range 0..").concat(this._cellCount));if(t>this._lastMeasuredIndex)for(var e=this.getSizeAndPositionOfLastMeasuredCell(),o=e.offset+e.size,n=this._lastMeasuredIndex+1;n<=t;n++){var l=this._cellSizeGetter({index:n});if(l===void 0||isNaN(l))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(l));l===null?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=t):(this._cellSizeAndPositionData[n]={offset:o,size:l},o+=l,this._lastMeasuredIndex=t)}return this._cellSizeAndPositionData[t]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var t=this.getSizeAndPositionOfLastMeasuredCell(),e=t.offset+t.size,o=this._cellCount-this._lastMeasuredIndex-1,n=o*this._estimatedCellSize;return e+n}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,o=e===void 0?"auto":e,n=t.containerSize,l=t.currentOffset,a=t.targetIndex;if(n<=0)return 0;var s=this.getSizeAndPositionOfCell(a),c=s.offset,d=c-n+s.size,u;switch(o){case"start":u=c;break;case"end":u=d;break;case"center":u=c-(n-s.size)/2;break;default:u=Math.max(d,Math.min(c,l));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-n,u))}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,o=t.offset,n=this.getTotalSize();if(n===0)return{};var l=o+e,a=this._findNearestCell(o),s=this.getSizeAndPositionOfCell(a);o=s.offset+s.size;for(var c=a;oo&&(t=n-1)}return e>0?e-1:0}},{key:"_exponentialSearch",value:function(t,e){for(var o=1;t=t?this._binarySearch(o,0,t):this._exponentialSearch(o,t)}}]),r}(),Kt=15e5,Qt=16777100,Xt=function(){return typeof window<"u"},Yt=function(){return!!window.chrome},Zt=function(){return Xt()&&Yt()?Qt:Kt},Ee=function(){function r(i){var t=i.maxScrollSize,e=t===void 0?Zt():t,o=se(i,["maxScrollSize"]);k(this,r),h(this,"_cellSizeAndPositionManager",void 0),h(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new qt(o),this._maxScrollSize=e}return A(r,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(t){this._cellSizeAndPositionManager.configure(t)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize(),a=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:l});return Math.round(a*(l-n))}},{key:"getSizeAndPositionOfCell",value:function(t){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(t)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,o=e===void 0?"auto":e,n=t.containerSize,l=t.currentOffset,a=t.targetIndex;l=this._safeOffsetToOffset({containerSize:n,offset:l});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n,currentOffset:l,targetIndex:a});return this._offsetToSafeOffset({containerSize:n,offset:s})}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,o=t.offset;return o=this._safeOffsetToOffset({containerSize:e,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:e,offset:o})}},{key:"resetCell",value:function(t){this._cellSizeAndPositionManager.resetCell(t)}},{key:"_getOffsetPercentage",value:function(t){var e=t.containerSize,o=t.offset,n=t.totalSize;return n<=e?0:o/(n-e)}},{key:"_offsetToSafeOffset",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(n===l)return o;var a=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:n});return Math.round(a*(l-e))}},{key:"_safeOffsetToOffset",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(n===l)return o;var a=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:l});return Math.round(a*(n-e))}}]),r}();function ie(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,i={};return function(t){var e=t.callback,o=t.indices,n=Object.keys(o),l=!r||n.every(function(s){var c=o[s];return Array.isArray(c)?c.length>0:c>=0}),a=n.length!==Object.keys(i).length||n.some(function(s){var c=i[s],d=o[s];return Array.isArray(d)?c.join(",")!==d.join(","):c!==d});i=o,l&&a&&e(o)}}var pe=-1,B=1;function Jt(r){var i=r.cellCount,t=r.overscanCellsCount,e=r.scrollDirection,o=r.startIndex,n=r.stopIndex;return e===B?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(i-1,n+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(i-1,n)}}function De(r){var i=r.cellSize,t=r.cellSizeAndPositionManager,e=r.previousCellsCount,o=r.previousCellSize,n=r.previousScrollToAlignment,l=r.previousScrollToIndex,a=r.previousSize,s=r.scrollOffset,c=r.scrollToAlignment,d=r.scrollToIndex,u=r.size,p=r.sizeJustIncreasedFromZero,f=r.updateScrollIndexCallback,v=t.getCellCount(),m=d>=0&&d0&&(ut.getTotalSize()-u&&f(v-1)}function eo(r){for(var i=r.cellCache,t=r.cellRenderer,e=r.columnSizeAndPositionManager,o=r.columnStartIndex,n=r.columnStopIndex,l=r.deferredMeasurementCache,a=r.horizontalOffsetAdjustment,s=r.isScrolling,c=r.isScrollingOptOut,d=r.parent,u=r.rowSizeAndPositionManager,p=r.rowStartIndex,f=r.rowStopIndex,v=r.styleCache,m=r.verticalOffsetAdjustment,_=r.visibleColumnIndices,C=r.visibleRowIndices,w=[],R=e.areOffsetsAdjusted()||u.areOffsetsAdjusted(),O=!s&&!R,b=p;b<=f;b++)for(var M=u.getSizeAndPositionOfCell(b),T=o;T<=n;T++){var S=e.getSizeAndPositionOfCell(T),x=T>=_.start&&T<=_.stop&&b>=C.start&&b<=C.stop,z="".concat(b,"-").concat(T),I=void 0;O&&v[z]?I=v[z]:l&&!l.has(b,T)?I={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(I={height:M.size,left:S.offset+a,position:"absolute",top:M.offset+m,width:S.size},v[z]=I);var L={columnIndex:T,isScrolling:s,isVisible:x,key:z,parent:d,rowIndex:b,style:I},P=void 0;(c||s)&&!a&&!m?(i[z]||(i[z]=t(L)),P=i[z]):P=t(L),!(P==null||P===!1)&&w.push(P)}return w}const to=!!(typeof window<"u"&&window.document&&window.document.createElement);var ge;function Te(r){if((!ge&&ge!==0||r)&&to){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),ge=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return ge}var D;typeof window<"u"?D=window:typeof self<"u"?D=self:D={};var oo=D.requestAnimationFrame||D.webkitRequestAnimationFrame||D.mozRequestAnimationFrame||D.oRequestAnimationFrame||D.msRequestAnimationFrame||function(r){return D.setTimeout(r,1e3/60)},ro=D.cancelAnimationFrame||D.webkitCancelAnimationFrame||D.mozCancelAnimationFrame||D.oCancelAnimationFrame||D.msCancelAnimationFrame||function(r){D.clearTimeout(r)},He=oo,io=ro,ne=function(i){return io(i.id)},xe=function(i,t){var e;Promise.resolve().then(function(){e=Date.now()});var o=function l(){Date.now()-e>=t?i.call():n.id=He(l)},n={id:He(o)};return n},We,Fe;function Ne(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function X(r){for(var i=1;i0&&(e._initialScrollTop=e._getCalculatedScrollTop(t,e.state)),t.scrollToColumn>0&&(e._initialScrollLeft=e._getCalculatedScrollLeft(t,e.state)),e}return A(i,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.alignment,n=o===void 0?this.props.scrollToAlignment:o,l=e.columnIndex,a=l===void 0?this.props.scrollToColumn:l,s=e.rowIndex,c=s===void 0?this.props.scrollToRow:s,d=X({},this.props,{scrollToAlignment:n,scrollToColumn:a,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(d),scrollTop:this._getCalculatedScrollTop(d)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var o=e.scrollLeft,n=o===void 0?0:o,l=e.scrollTop,a=l===void 0?0:l;if(!(a<0)){this._debounceScrollEnded();var s=this.props,c=s.autoHeight,d=s.autoWidth,u=s.height,p=s.width,f=this.state.instanceProps,v=f.scrollbarSize,m=f.rowSizeAndPositionManager.getTotalSize(),_=f.columnSizeAndPositionManager.getTotalSize(),C=Math.min(Math.max(0,_-p+v),n),w=Math.min(Math.max(0,m-u+v),a);if(this.state.scrollLeft!==C||this.state.scrollTop!==w){var R=C!==this.state.scrollLeft?C>this.state.scrollLeft?B:pe:this.state.scrollDirectionHorizontal,O=w!==this.state.scrollTop?w>this.state.scrollTop?B:pe:this.state.scrollDirectionVertical,b={isScrolling:!0,scrollDirectionHorizontal:R,scrollDirectionVertical:O,scrollPositionChangeReason:_e.OBSERVED};c||(b.scrollTop=w),d||(b.scrollLeft=C),b.needToResetStyleCache=!1,this.setState(b)}this._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:w,totalColumnsWidth:_,totalRowsHeight:m})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var o=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,o=e.columnCount,n=e.rowCount,l=this.state.instanceProps;l.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),l.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,a=l===void 0?0:l,s=this.props,c=s.scrollToColumn,d=s.scrollToRow,u=this.state.instanceProps;u.columnSizeAndPositionManager.resetCell(n),u.rowSizeAndPositionManager.resetCell(a),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===B?n<=c:n>=c),this._recomputeScrollTopFlag=d>=0&&(this.state.scrollDirectionVertical===B?a<=d:a>=d),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var o=e.columnIndex,n=e.rowIndex,l=this.props.columnCount,a=this.props;l>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(X({},a,{scrollToColumn:o})),n!==void 0&&this._updateScrollTopForScrollToRow(X({},a,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,l=e.scrollLeft,a=e.scrollToColumn,s=e.scrollTop,c=e.scrollToRow,d=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState(function(v){var m=X({},v,{needToResetStyleCache:!1});return m.instanceProps.scrollbarSize=o(),m.instanceProps.scrollbarSizeMeasured=!0,m}),typeof l=="number"&&l>=0||typeof s=="number"&&s>=0){var p=i._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:l,scrollTop:s});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=n>0&&d>0;a>=0&&f&&this._updateScrollLeftForScrollToColumn(),c>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:l||0,scrollTop:s||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,o){var n=this,l=this.props,a=l.autoHeight,s=l.autoWidth,c=l.columnCount,d=l.height,u=l.rowCount,p=l.scrollToAlignment,f=l.scrollToColumn,v=l.scrollToRow,m=l.width,_=this.state,C=_.scrollLeft,w=_.scrollPositionChangeReason,R=_.scrollTop,O=_.instanceProps;this._handleInvalidatedGridSize();var b=c>0&&e.columnCount===0||u>0&&e.rowCount===0;w===_e.REQUESTED&&(!s&&C>=0&&(C!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=C),!a&&R>=0&&(R!==this._scrollingContainer.scrollTop||b)&&(this._scrollingContainer.scrollTop=R));var M=(e.width===0||e.height===0)&&d>0&&m>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):De({cellSizeAndPositionManager:O.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:C,scrollToAlignment:p,scrollToIndex:f,size:m,sizeJustIncreasedFromZero:M,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):De({cellSizeAndPositionManager:O.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:R,scrollToAlignment:p,scrollToIndex:v,size:d,sizeJustIncreasedFromZero:M,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),C!==o.scrollLeft||R!==o.scrollTop){var T=O.rowSizeAndPositionManager.getTotalSize(),S=O.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:R,totalColumnsWidth:S,totalRowsHeight:T})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&ne(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,o=e.autoContainerWidth,n=e.autoHeight,l=e.autoWidth,a=e.className,s=e.containerProps,c=e.containerRole,d=e.containerStyle,u=e.height,p=e.id,f=e.noContentRenderer,v=e.role,m=e.style,_=e.tabIndex,C=e.width,w=this.state,R=w.instanceProps,O=w.needToResetStyleCache,b=this._isScrolling(),M={boxSizing:"border-box",direction:"ltr",height:n?"auto":u,position:"relative",width:l?"auto":C,WebkitOverflowScrolling:"touch",willChange:"transform"};O&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var T=R.columnSizeAndPositionManager.getTotalSize(),S=R.rowSizeAndPositionManager.getTotalSize(),x=S>u?R.scrollbarSize:0,z=T>C?R.scrollbarSize:0;(z!==this._horizontalScrollBarSize||x!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=z,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),M.overflowX=T+x<=C?"hidden":"auto",M.overflowY=S+z<=u?"hidden":"auto";var I=this._childrenToDisplay,L=I.length===0&&u>0&&C>0;return y.createElement("div",U({ref:this._setScrollingContainerRef},s,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:$("ReactVirtualized__Grid",a),id:p,onScroll:this._onScroll,role:v,style:X({},M,{},m),tabIndex:_}),I.length>0&&y.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:X({width:o?"auto":T,height:S,maxWidth:T,maxHeight:S,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},d)},I),L&&f())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=e.cellRenderer,l=e.cellRangeRenderer,a=e.columnCount,s=e.deferredMeasurementCache,c=e.height,d=e.overscanColumnCount,u=e.overscanIndicesGetter,p=e.overscanRowCount,f=e.rowCount,v=e.width,m=e.isScrollingOptOut,_=o.scrollDirectionHorizontal,C=o.scrollDirectionVertical,w=o.instanceProps,R=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,O=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,b=this._isScrolling(e,o);if(this._childrenToDisplay=[],c>0&&v>0){var M=w.columnSizeAndPositionManager.getVisibleCellRange({containerSize:v,offset:O}),T=w.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:R}),S=w.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:v,offset:O}),x=w.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:R});this._renderedColumnStartIndex=M.start,this._renderedColumnStopIndex=M.stop,this._renderedRowStartIndex=T.start,this._renderedRowStopIndex=T.stop;var z=u({direction:"horizontal",cellCount:a,overscanCellsCount:d,scrollDirection:_,startIndex:typeof M.start=="number"?M.start:0,stopIndex:typeof M.stop=="number"?M.stop:-1}),I=u({direction:"vertical",cellCount:f,overscanCellsCount:p,scrollDirection:C,startIndex:typeof T.start=="number"?T.start:0,stopIndex:typeof T.stop=="number"?T.stop:-1}),L=z.overscanStartIndex,P=z.overscanStopIndex,G=I.overscanStartIndex,j=I.overscanStopIndex;if(s){if(!s.hasFixedHeight()){for(var V=G;V<=j;V++)if(!s.has(V,0)){L=0,P=a-1;break}}if(!s.hasFixedWidth()){for(var N=L;N<=P;N++)if(!s.has(0,N)){G=0,j=f-1;break}}}this._childrenToDisplay=l({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:w.columnSizeAndPositionManager,columnStartIndex:L,columnStopIndex:P,deferredMeasurementCache:s,horizontalOffsetAdjustment:S,isScrolling:b,isScrollingOptOut:m,parent:this,rowSizeAndPositionManager:w.rowSizeAndPositionManager,rowStartIndex:G,rowStopIndex:j,scrollLeft:O,scrollTop:R,styleCache:this._styleCache,verticalOffsetAdjustment:x,visibleColumnIndices:M,visibleRowIndices:T}),this._columnStartIndex=L,this._columnStopIndex=P,this._rowStartIndex=G,this._rowStopIndex=j}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&ne(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=xe(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var e=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var o=this,n=e.scrollLeft,l=e.scrollTop,a=e.totalColumnsWidth,s=e.totalRowsHeight;this._onScrollMemoizer({callback:function(d){var u=d.scrollLeft,p=d.scrollTop,f=o.props,v=f.height,m=f.onScroll,_=f.width;m({clientHeight:v,clientWidth:_,scrollHeight:s,scrollLeft:u,scrollTop:p,scrollWidth:a})},indices:{scrollLeft:n,scrollTop:l}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,l=i._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});l&&(l.needToResetStyleCache=!1,this.setState(l))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return i._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=i._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return i._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,o=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var l=this._rowStartIndex;l<=this._rowStopIndex;l++)for(var a=this._columnStartIndex;a<=this._columnStopIndex;a++){var s="".concat(l,"-").concat(a);this._styleCache[s]=e[s],n&&(this._cellCache[s]=o[s])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=i._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n={};e.columnCount===0&&o.scrollLeft!==0||e.rowCount===0&&o.scrollTop!==0?(n.scrollLeft=0,n.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(n,i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;n.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(n.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:i._getEstimatedColumnSize(e),cellSizeGetter:i._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:i._getEstimatedRowSize(e),cellSizeGetter:i._wrapSizeGetter(e.rowHeight)}),(l.prevColumnCount===0||l.prevRowCount===0)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&e.isScrolling===!1&&l.prevIsScrolling===!0&&Object.assign(n,{isScrolling:!1});var a,s;return Ge({cellCount:l.prevColumnCount,cellSize:typeof l.prevColumnWidth=="number"?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:typeof e.columnWidth=="number"?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){a=i._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),Ge({cellCount:l.prevRowCount,cellSize:typeof l.prevRowHeight=="number"?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:typeof e.rowHeight=="number"?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){s=i._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=e.isScrolling===!0,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),l.scrollbarSize===void 0?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,n.instanceProps=l,X({},n,{},a,{},s)}},{key:"_getEstimatedColumnSize",value:function(e){return typeof e.columnWidth=="number"?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return typeof e.rowHeight=="number"?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var o=e.prevState,n=e.scrollLeft,l=e.scrollTop,a={scrollPositionChangeReason:_e.REQUESTED};return typeof n=="number"&&n>=0&&(a.scrollDirectionHorizontal=n>o.scrollLeft?B:pe,a.scrollLeft=n),typeof l=="number"&&l>=0&&(a.scrollDirectionVertical=l>o.scrollTop?B:pe,a.scrollTop=l),typeof n=="number"&&n>=0&&n!==o.scrollLeft||typeof l=="number"&&l>=0&&l!==o.scrollTop?a:{}}},{key:"_wrapSizeGetter",value:function(e){return typeof e=="function"?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,o){var n=e.columnCount,l=e.height,a=e.scrollToAlignment,s=e.scrollToColumn,c=e.width,d=o.scrollLeft,u=o.instanceProps;if(n>0){var p=n-1,f=s<0?p:Math.min(p,s),v=u.rowSizeAndPositionManager.getTotalSize(),m=u.scrollbarSizeMeasured&&v>l?u.scrollbarSize:0;return u.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:a,containerSize:c-m,currentOffset:d,targetIndex:f})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,l=i._getCalculatedScrollLeft(e,o);return typeof l=="number"&&l>=0&&n!==l?i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:l,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,o){var n=e.height,l=e.rowCount,a=e.scrollToAlignment,s=e.scrollToRow,c=e.width,d=o.scrollTop,u=o.instanceProps;if(l>0){var p=l-1,f=s<0?p:Math.min(p,s),v=u.columnSizeAndPositionManager.getTotalSize(),m=u.scrollbarSizeMeasured&&v>c?u.scrollbarSize:0;return u.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:a,containerSize:n-m,currentOffset:d,targetIndex:f})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,l=i._getCalculatedScrollTop(e,o);return typeof l=="number"&&l>=0&&n!==l?i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:l}):{}}}]),i}(y.PureComponent),h(We,"propTypes",null),Fe);h(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:eo,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Te,noContentRenderer:lo,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:Jt,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:no,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});ue(q);var ao=1;function wt(r){var i=r.cellCount,t=r.overscanCellsCount,e=r.scrollDirection,o=r.startIndex,n=r.stopIndex;return t=Math.max(1,t),e===ao?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(i-1,n+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(i-1,n+1)}}var Ue,$e;function je(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function so(r){for(var i=1;i div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',z=S.head||S.getElementsByTagName("head")[0],I=S.createElement("style");I.id="detectElementResize",I.type="text/css",r!=null&&I.setAttribute("nonce",r),I.styleSheet?I.styleSheet.cssText=x:I.appendChild(S.createTextNode(x)),z.appendChild(I)}},b=function(S,x){if(e)S.attachEvent("onresize",x);else{if(!S.__resizeTriggers__){var z=S.ownerDocument,I=t.getComputedStyle(S);I&&I.position=="static"&&(S.style.position="relative"),O(z),S.__resizeLast__={},S.__resizeListeners__=[],(S.__resizeTriggers__=z.createElement("div")).className="resize-triggers";var L='
';if(window.trustedTypes){var P=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return L}});S.__resizeTriggers__.innerHTML=P.createHTML("")}else S.__resizeTriggers__.innerHTML=L;S.appendChild(S.__resizeTriggers__),l(S),S.addEventListener("scroll",s,!0),u&&(S.__resizeTriggers__.__animationListener__=function(j){j.animationName==C&&l(S)},S.__resizeTriggers__.addEventListener(u,S.__resizeTriggers__.__animationListener__))}S.__resizeListeners__.push(x)}},M=function(S,x){if(e)S.detachEvent("onresize",x);else if(S.__resizeListeners__.splice(S.__resizeListeners__.indexOf(x),1),!S.__resizeListeners__.length){S.removeEventListener("scroll",s,!0),S.__resizeTriggers__.__animationListener__&&(S.__resizeTriggers__.removeEventListener(u,S.__resizeTriggers__.__animationListener__),S.__resizeTriggers__.__animationListener__=null);try{S.__resizeTriggers__=!S.removeChild(S.__resizeTriggers__)}catch{}}};return{addResizeListener:b,removeResizeListener:M}}var Be,Ve;function qe(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function co(r){for(var i=1;i=0){var _=s.getScrollPositionForCell({align:d,cellIndex:u,height:c,scrollLeft:v,scrollTop:m,width:p});(_.scrollLeft!==v||_.scrollTop!==m)&&e._setScrollPosition(_)}}),h(g(e),"_onScroll",function(a){if(a.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var s=e.props,c=s.cellLayoutManager,d=s.height,u=s.isScrollingChange,p=s.width,f=e._scrollbarSize,v=c.getTotalSize(),m=v.height,_=v.width,C=Math.max(0,Math.min(_-p+f,a.target.scrollLeft)),w=Math.max(0,Math.min(m-d+f,a.target.scrollTop));if(e.state.scrollLeft!==C||e.state.scrollTop!==w){var R=a.cancelable?ee.OBSERVED:ee.REQUESTED;e.state.isScrolling||u(!0),e.setState({isScrolling:!0,scrollLeft:C,scrollPositionChangeReason:R,scrollTop:w})}e._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:w,totalWidth:_,totalHeight:m})}}),e._scrollbarSize=Te(),e._scrollbarSize===void 0?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return A(i,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,o=e.cellLayoutManager,n=e.scrollLeft,l=e.scrollToCell,a=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Te(),this._scrollbarSizeMeasured=!0,this.setState({})),l>=0?this._updateScrollPositionForScrollToCell():(n>=0||a>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:a}),this._invokeOnSectionRenderedHelper();var s=o.getTotalSize(),c=s.height,d=s.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:a||0,totalHeight:c,totalWidth:d})}},{key:"componentDidUpdate",value:function(e,o){var n=this.props,l=n.height,a=n.scrollToAlignment,s=n.scrollToCell,c=n.width,d=this.state,u=d.scrollLeft,p=d.scrollPositionChangeReason,f=d.scrollTop;p===ee.REQUESTED&&(u>=0&&u!==o.scrollLeft&&u!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=u),f>=0&&f!==o.scrollTop&&f!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=f)),(l!==e.height||a!==e.scrollToAlignment||s!==e.scrollToCell||c!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,o=e.autoHeight,n=e.cellCount,l=e.cellLayoutManager,a=e.className,s=e.height,c=e.horizontalOverscanSize,d=e.id,u=e.noContentRenderer,p=e.style,f=e.verticalOverscanSize,v=e.width,m=this.state,_=m.isScrolling,C=m.scrollLeft,w=m.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==l||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=l,this._calculateSizeAndPositionDataOnNextUpdate=!1,l.calculateSizeAndPositionData());var R=l.getTotalSize(),O=R.height,b=R.width,M=Math.max(0,C-c),T=Math.max(0,w-f),S=Math.min(b,C+v+c),x=Math.min(O,w+s+f),z=s>0&&v>0?l.cellRenderers({height:x-T,isScrolling:_,width:S-M,x:M,y:T}):[],I={boxSizing:"border-box",direction:"ltr",height:o?"auto":s,position:"relative",WebkitOverflowScrolling:"touch",width:v,willChange:"transform"},L=O>s?this._scrollbarSize:0,P=b>v?this._scrollbarSize:0;return I.overflowX=b+L<=v?"hidden":"auto",I.overflowY=O+P<=s?"hidden":"auto",y.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:$("ReactVirtualized__Collection",a),id:d,onScroll:this._onScroll,role:"grid",style:ho({},I,{},p),tabIndex:0},n>0&&y.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:O,maxHeight:O,maxWidth:b,overflow:"hidden",pointerEvents:_?"none":"",width:b}},z),n===0&&u())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=e.props.isScrollingChange;o(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},fo)}},{key:"_invokeOnScrollMemoizer",value:function(e){var o=this,n=e.scrollLeft,l=e.scrollTop,a=e.totalHeight,s=e.totalWidth;this._onScrollMemoizer({callback:function(d){var u=d.scrollLeft,p=d.scrollTop,f=o.props,v=f.height,m=f.onScroll,_=f.width;m({clientHeight:v,clientWidth:_,scrollHeight:a,scrollLeft:u,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:n,scrollTop:l}})}},{key:"_setScrollPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,l={scrollPositionChangeReason:ee.REQUESTED};o>=0&&(l.scrollLeft=o),n>=0&&(l.scrollTop=n),(o>=0&&o!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(l)}}],[{key:"getDerivedStateFromProps",value:function(e,o){return e.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:ee.REQUESTED}:e.scrollLeft!==o.scrollLeft||e.scrollTop!==o.scrollTop?{scrollLeft:e.scrollLeft!=null?e.scrollLeft:o.scrollLeft,scrollTop:e.scrollTop!=null?e.scrollTop:o.scrollTop,scrollPositionChangeReason:ee.REQUESTED}:null}}]),i}(y.PureComponent);h(Se,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Se.propTypes={};ue(Se);var po=function(){function r(i){var t=i.height,e=i.width,o=i.x,n=i.y;k(this,r),this.height=t,this.width=e,this.x=o,this.y=n,this._indexMap={},this._indices=[]}return A(r,[{key:"addCellIndex",value:function(t){var e=t.index;this._indexMap[e]||(this._indexMap[e]=!0,this._indices.push(e))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),r}(),go=100,vo=function(){function r(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:go;k(this,r),this._sectionSize=i,this._cellMetadata=[],this._sections={}}return A(r,[{key:"getCellIndices",value:function(t){var e=t.height,o=t.width,n=t.x,l=t.y,a={};return this.getSections({height:e,width:o,x:n,y:l}).forEach(function(s){return s.getCellIndices().forEach(function(c){a[c]=c})}),Object.keys(a).map(function(s){return a[s]})}},{key:"getCellMetadata",value:function(t){var e=t.index;return this._cellMetadata[e]}},{key:"getSections",value:function(t){for(var e=t.height,o=t.width,n=t.x,l=t.y,a=Math.floor(n/this._sectionSize),s=Math.floor((n+o-1)/this._sectionSize),c=Math.floor(l/this._sectionSize),d=Math.floor((l+e-1)/this._sectionSize),u=[],p=a;p<=s;p++)for(var f=c;f<=d;f++){var v="".concat(p,".").concat(f);this._sections[v]||(this._sections[v]=new po({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:f*this._sectionSize})),u.push(this._sections[v])}return u}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var t=this;return Object.keys(this._sections).map(function(e){return t._sections[e].toString()})}},{key:"registerCell",value:function(t){var e=t.cellMetadatum,o=t.index;this._cellMetadata[o]=e,this.getSections(e).forEach(function(n){return n.addCellIndex({index:o})})}}]),r}();function mo(r){for(var i=r.cellCount,t=r.cellSizeAndPositionGetter,e=r.sectionSize,o=[],n=new vo(e),l=0,a=0,s=0;s=0&&nr.length)&&(i=r.length);for(var t=0,e=new Array(i);tt||o0;){var v=f.startIndex-1;if(!i({index:v}))f.startIndex=v;else break}return l}function zo(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=typeof r.recomputeGridSize=="function"?r.recomputeGridSize:r.recomputeRowHeights;t?t.call(r,i):r.forceUpdate()}var Ze,Je,xt=(Je=Ze=function(r){F(i,r);function i(){var t,e;k(this,i);for(var o=arguments.length,n=new Array(o),l=0;l0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,a=l===void 0?0:l;this.Grid&&this.Grid.recomputeGridSize({rowIndex:a,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,o=e.className,n=e.noRowsRenderer,l=e.scrollToIndex,a=e.width,s=$("ReactVirtualized__List",o);return y.createElement(q,U({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:s,columnWidth:a,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:l}))}}]),i}(y.PureComponent),h(Ze,"propTypes",null),Je);h(xt,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:wt,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function Io(r){if(Array.isArray(r))return r}function bo(r,i){var t=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var e,o,n,l,a=[],s=!0,c=!1;try{if(n=(t=t.call(r)).next,i===0){if(Object(t)!==t)return;s=!1}else for(;!(s=(e=n.call(t)).done)&&(a.push(e.value),a.length!==i);s=!0);}catch(d){c=!0,o=d}finally{try{if(!s&&t.return!=null&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}function xo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oo(r,i){return Io(r)||bo(r,i)||It(r,i)||xo()}function Mo(r,i,t,e){for(var o=t+1;i<=t;){var n=i+t>>>1,l=r[n];l>=e?(o=n,t=n-1):i=n+1}return o}function Po(r,i,t,e,o){for(var n=t+1;i<=t;){var l=i+t>>>1,a=r[l];o(a,e)>=0?(n=l,t=l-1):i=l+1}return n}function Lo(r,i,t,e,o){return typeof t=="function"?Po(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):Mo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function ko(r,i,t,e){for(var o=t+1;i<=t;){var n=i+t>>>1,l=r[n];l>e?(o=n,t=n-1):i=n+1}return o}function Ao(r,i,t,e,o){for(var n=t+1;i<=t;){var l=i+t>>>1,a=r[l];o(a,e)>0?(n=l,t=l-1):i=l+1}return n}function Go(r,i,t,e,o){return typeof t=="function"?Ao(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):ko(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function Eo(r,i,t,e){for(var o=i-1;i<=t;){var n=i+t>>>1,l=r[n];l>>1,a=r[l];o(a,e)<0?(n=l,i=l+1):t=l-1}return n}function Ho(r,i,t,e,o){return typeof t=="function"?Do(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):Eo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function Wo(r,i,t,e){for(var o=i-1;i<=t;){var n=i+t>>>1,l=r[n];l<=e?(o=n,i=n+1):t=n-1}return o}function Fo(r,i,t,e,o){for(var n=i-1;i<=t;){var l=i+t>>>1,a=r[l];o(a,e)<=0?(n=l,i=l+1):t=l-1}return n}function No(r,i,t,e,o){return typeof t=="function"?Fo(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):Wo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function Uo(r,i,t,e){for(;i<=t;){var o=i+t>>>1,n=r[o];if(n===e)return o;n<=e?i=o+1:t=o-1}return-1}function $o(r,i,t,e,o){for(;i<=t;){var n=i+t>>>1,l=r[n],a=o(l,e);if(a===0)return n;a<=0?i=n+1:t=n-1}return-1}function jo(r,i,t,e,o){return typeof t=="function"?$o(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):Uo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}const me={ge:Lo,gt:Go,lt:Ho,le:No,eq:jo};var oe=0,Y=1,ve=2;function Oe(r,i,t,e,o){this.mid=r,this.left=i,this.right=t,this.leftPoints=e,this.rightPoints=o,this.count=(i?i.count:0)+(t?t.count:0)+e.length}var he=Oe.prototype;function Ce(r,i){r.mid=i.mid,r.left=i.left,r.right=i.right,r.leftPoints=i.leftPoints,r.rightPoints=i.rightPoints,r.count=i.count}function Ot(r,i){var t=le(i);r.mid=t.mid,r.left=t.left,r.right=t.right,r.leftPoints=t.leftPoints,r.rightPoints=t.rightPoints,r.count=t.count}function et(r,i){var t=r.intervals([]);t.push(i),Ot(r,t)}function tt(r,i){var t=r.intervals([]),e=t.indexOf(i);return e<0?oe:(t.splice(e,1),Ot(r,t),Y)}he.intervals=function(r){return r.push.apply(r,this.leftPoints),this.left&&this.left.intervals(r),this.right&&this.right.intervals(r),r};he.insert=function(r){var i=this.count-this.leftPoints.length;if(this.count+=1,r[1]3*(i+1)?et(this,r):this.left.insert(r):this.left=le([r]);else if(r[0]>this.mid)this.right?4*(this.right.count+1)>3*(i+1)?et(this,r):this.right.insert(r):this.right=le([r]);else{var t=me.ge(this.leftPoints,r,Me),e=me.ge(this.rightPoints,r,Pe);this.leftPoints.splice(t,0,r),this.rightPoints.splice(e,0,r)}};he.remove=function(r){var i=this.count-this.leftPoints;if(r[1]3*(i-1))return tt(this,r);var e=this.left.remove(r);return e===ve?(this.left=null,this.count-=1,Y):(e===Y&&(this.count-=1),e)}else if(r[0]>this.mid){if(!this.right)return oe;var o=this.left?this.left.count:0;if(4*o>3*(i-1))return tt(this,r);var e=this.right.remove(r);return e===ve?(this.right=null,this.count-=1,Y):(e===Y&&(this.count-=1),e)}else{if(this.count===1)return this.leftPoints[0]===r?ve:oe;if(this.leftPoints.length===1&&this.leftPoints[0]===r){if(this.left&&this.right){for(var n=this,l=this.left;l.right;)n=l,l=l.right;if(n===this)l.right=this.right;else{var a=this.left,e=this.right;n.count-=l.count,n.right=l.left,l.left=a,l.right=e}Ce(this,l),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Ce(this,this.left):Ce(this,this.right);return Y}for(var a=me.ge(this.leftPoints,r,Me);a=0&&r[e][1]>=i;--e){var o=t(r[e]);if(o)return o}}function Lt(r,i){for(var t=0;tthis.mid){if(this.right){var t=this.right.queryPoint(r,i);if(t)return t}return Pt(this.rightPoints,r,i)}else return Lt(this.leftPoints,i)};he.queryInterval=function(r,i,t){if(rthis.mid&&this.right){var e=this.right.queryInterval(r,i,t);if(e)return e}return ithis.mid?Pt(this.rightPoints,r,t):Lt(this.leftPoints,t)};function Bo(r,i){return r-i}function Me(r,i){var t=r[0]-i[0];return t||r[1]-i[1]}function Pe(r,i){var t=r[1]-i[1];return t||r[0]-i[0]}function le(r){if(r.length===0)return null;for(var i=[],t=0;t>1],o=[],n=[],l=[],t=0;t"u"?(z=G,I=G):(z=Math.min(z,G),I=Math.max(I,G)),M.push(s({index:G,isScrolling:O,key:p(G),parent:e,style:(N={height:a.getHeight(G)},h(N,w==="ltr"?"left":"right",j),h(N,"position","absolute"),h(N,"top",V),h(N,"width",a.getWidth(G)),N)}))}),S0&&arguments[0]!==void 0?arguments[0]:{};k(this,r),h(this,"_cellMeasurerCache",void 0),h(this,"_columnIndexOffset",void 0),h(this,"_rowIndexOffset",void 0),h(this,"columnWidth",function(s){var c=s.index;i._cellMeasurerCache.columnWidth({index:c+i._columnIndexOffset})}),h(this,"rowHeight",function(s){var c=s.index;i._cellMeasurerCache.rowHeight({index:c+i._rowIndexOffset})});var e=t.cellMeasurerCache,o=t.columnIndexOffset,n=o===void 0?0:o,l=t.rowIndexOffset,a=l===void 0?0:l;this._cellMeasurerCache=e,this._columnIndexOffset=n,this._rowIndexOffset=a}return A(r,[{key:"clear",value:function(t,e){this._cellMeasurerCache.clear(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"getWidth",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"has",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"set",value:function(t,e,o,n){this._cellMeasurerCache.set(t+this._rowIndexOffset,e+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),r}();function lt(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function E(r){for(var i=1;i0?new ye({cellMeasurerCache:n,columnIndexOffset:0,rowIndexOffset:a}):n,o._deferredMeasurementCacheBottomRightGrid=l>0||a>0?new ye({cellMeasurerCache:n,columnIndexOffset:l,rowIndexOffset:a}):n,o._deferredMeasurementCacheTopRightGrid=l>0?new ye({cellMeasurerCache:n,columnIndexOffset:l,rowIndexOffset:0}):n),o}return A(i,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,a=l===void 0?0:l;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,a):a}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,a=l===void 0?0:l,s=this.props,c=s.fixedColumnCount,d=s.fixedRowCount,u=Math.max(0,n-c),p=Math.max(0,a-d);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:u,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:a}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:u,rowIndex:a}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,o=e.scrollLeft,n=e.scrollTop;if(o>0||n>0){var l={};o>0&&(l.scrollLeft=o),n>0&&(l.scrollTop=n),this.setState(l)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,o=e.onScroll,n=e.onSectionRendered;e.onScrollbarPresenceChange,e.scrollLeft;var l=e.scrollToColumn;e.scrollTop;var a=e.scrollToRow,s=se(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,d=c.scrollLeft,u=c.scrollTop;return y.createElement("div",{style:this._containerOuterStyle},y.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(s),this._renderTopRightGrid(E({},s,{onScroll:o,scrollLeft:d}))),y.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(E({},s,{onScroll:o,scrollTop:u})),this._renderBottomRightGrid(E({},s,{onScroll:o,onSectionRendered:n,scrollLeft:d,scrollToColumn:l,scrollToRow:a,scrollTop:u}))))}},{key:"_getBottomGridHeight",value:function(e){var o=e.height,n=this._getTopGridHeight(e);return o-n}},{key:"_getLeftGridWidth",value:function(e){var o=e.fixedColumnCount,n=e.columnWidth;if(this._leftGridWidth==null)if(typeof n=="function"){for(var l=0,a=0;a=0?e.scrollLeft:o.scrollLeft,scrollTop:e.scrollTop!=null&&e.scrollTop>=0?e.scrollTop:o.scrollTop}:null}}]),i}(y.PureComponent);h(Le,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Le.propTypes={};ue(Le);function Yo(r){var i=r.dataKey,t=r.rowData;return typeof t.get=="function"?t.get(i):t[i]}function Zo(r){var i=r.cellData;return i==null?"":String(i)}function At(r){var i=r.className,t=r.columns,e=r.style;return y.createElement("div",{className:i,role:"row",style:e},t)}At.propTypes=null;var K={ASC:"ASC",DESC:"DESC"};function Gt(r){var i=r.sortDirection,t=$("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":i===K.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":i===K.DESC});return y.createElement("svg",{className:t,width:18,height:18,viewBox:"0 0 24 24"},i===K.ASC?y.createElement("path",{d:"M7 14l5-5 5 5z"}):y.createElement("path",{d:"M7 10l5 5 5-5z"}),y.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Gt.propTypes={};function Et(r){var i=r.dataKey,t=r.label,e=r.sortBy,o=r.sortDirection,n=e===i,l=[y.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof t=="string"?t:null},t)];return n&&l.push(y.createElement(Gt,{key:"SortIndicator",sortDirection:o})),l}Et.propTypes=null;function Dt(r){var i=r.className,t=r.columns,e=r.index,o=r.key,n=r.onRowClick,l=r.onRowDoubleClick,a=r.onRowMouseOut,s=r.onRowMouseOver,c=r.onRowRightClick,d=r.rowData,u=r.style,p={"aria-rowindex":e+1};return(n||l||a||s||c)&&(p["aria-label"]="row",p.tabIndex=0,n&&(p.onClick=function(f){return n({event:f,index:e,rowData:d})}),l&&(p.onDoubleClick=function(f){return l({event:f,index:e,rowData:d})}),a&&(p.onMouseOut=function(f){return a({event:f,index:e,rowData:d})}),s&&(p.onMouseOver=function(f){return s({event:f,index:e,rowData:d})}),c&&(p.onContextMenu=function(f){return c({event:f,index:e,rowData:d})})),y.createElement("div",U({},p,{className:i,key:o,role:"row",style:u}),t)}Dt.propTypes=null;var Ht=function(r){F(i,r);function i(){return k(this,i),W(this,H(i).apply(this,arguments))}return i}(y.Component);h(Ht,"defaultProps",{cellDataGetter:Yo,cellRenderer:Zo,defaultSortDirection:K.ASC,flexGrow:0,flexShrink:1,headerRenderer:Et,style:{}});Ht.propTypes={};function st(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function te(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,a=l===void 0?0:l;this.Grid&&this.Grid.recomputeGridSize({rowIndex:a,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=be.findDOMNode(this.Grid),o=e.clientWidth||0,n=e.offsetWidth||0;return n-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,o=this.props,n=o.children,l=o.className,a=o.disableHeader,s=o.gridClassName,c=o.gridStyle,d=o.headerHeight,u=o.headerRowRenderer,p=o.height,f=o.id,v=o.noRowsRenderer,m=o.rowClassName,_=o.rowStyle,C=o.scrollToIndex,w=o.style,R=o.width,O=this.state.scrollbarWidth,b=a?p:p-d,M=typeof m=="function"?m({index:-1}):m,T=typeof _=="function"?_({index:-1}):_;return this._cachedColumnStyles=[],y.Children.toArray(n).forEach(function(S,x){var z=e._getFlexStyleForColumn(S,S.props.style);e._cachedColumnStyles[x]=te({overflow:"hidden"},z)}),y.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":y.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:$("ReactVirtualized__Table",l),id:f,role:"grid",style:w},!a&&u({className:$("ReactVirtualized__Table__headerRow",M),columns:this._getHeaderColumns(),style:te({height:d,overflow:"hidden",paddingRight:O,width:R},T)}),y.createElement(q,U({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:$("ReactVirtualized__Table__Grid",s),cellRenderer:this._createRow,columnWidth:R,columnCount:1,height:b,id:void 0,noContentRenderer:v,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:O,scrollToRow:C,style:te({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var o=e.column,n=e.columnIndex,l=e.isScrolling,a=e.parent,s=e.rowData,c=e.rowIndex,d=this.props.onColumnClick,u=o.props,p=u.cellDataGetter,f=u.cellRenderer,v=u.className,m=u.columnData,_=u.dataKey,C=u.id,w=p({columnData:m,dataKey:_,rowData:s}),R=f({cellData:w,columnData:m,columnIndex:n,dataKey:_,isScrolling:l,parent:a,rowData:s,rowIndex:c}),O=function(S){d&&d({columnData:m,dataKey:_,event:S})},b=this._cachedColumnStyles[n],M=typeof R=="string"?R:null;return y.createElement("div",{"aria-colindex":n+1,"aria-describedby":C,className:$("ReactVirtualized__Table__rowColumn",v),key:"Row"+c+"-Col"+n,onClick:O,role:"gridcell",style:b,title:M},R)}},{key:"_createHeader",value:function(e){var o=e.column,n=e.index,l=this.props,a=l.headerClassName,s=l.headerStyle,c=l.onHeaderClick,d=l.sort,u=l.sortBy,p=l.sortDirection,f=o.props,v=f.columnData,m=f.dataKey,_=f.defaultSortDirection,C=f.disableSort,w=f.headerRenderer,R=f.id,O=f.label,b=!C&&d,M=$("ReactVirtualized__Table__headerColumn",a,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:b}),T=this._getFlexStyleForColumn(o,te({},s,{},o.props.headerStyle)),S=w({columnData:v,dataKey:m,disableSort:C,label:O,sortBy:u,sortDirection:p}),x,z,I,L,P;if(b||c){var G=u!==m,j=G?_:p===K.DESC?K.ASC:K.DESC,V=function(J){b&&d({defaultSortDirection:_,event:J,sortBy:m,sortDirection:j}),c&&c({columnData:v,dataKey:m,event:J})},N=function(J){(J.key==="Enter"||J.key===" ")&&V(J)};P=o.props["aria-label"]||O||m,L="none",I=0,x=V,z=N}return u===m&&(L=p===K.ASC?"ascending":"descending"),y.createElement("div",{"aria-label":P,"aria-sort":L,className:M,id:R,key:"Header-Col"+n,onClick:x,onKeyDown:z,role:"columnheader",style:T,tabIndex:I},S)}},{key:"_createRow",value:function(e){var o=this,n=e.rowIndex,l=e.isScrolling,a=e.key,s=e.parent,c=e.style,d=this.props,u=d.children,p=d.onRowClick,f=d.onRowDoubleClick,v=d.onRowRightClick,m=d.onRowMouseOver,_=d.onRowMouseOut,C=d.rowClassName,w=d.rowGetter,R=d.rowRenderer,O=d.rowStyle,b=this.state.scrollbarWidth,M=typeof C=="function"?C({index:n}):C,T=typeof O=="function"?O({index:n}):O,S=w({index:n}),x=y.Children.toArray(u).map(function(L,P){return o._createColumn({column:L,columnIndex:P,isScrolling:l,parent:s,rowData:S,rowIndex:n,scrollbarWidth:b})}),z=$("ReactVirtualized__Table__row",M),I=te({},c,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},T);return R({className:z,columns:x,index:n,isScrolling:l,key:a,onRowClick:p,onRowDoubleClick:f,onRowRightClick:v,onRowMouseOver:m,onRowMouseOut:_,rowData:S,style:I})}},{key:"_getFlexStyleForColumn",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),l=te({},o,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(l.maxWidth=e.props.maxWidth),e.props.minWidth&&(l.minWidth=e.props.minWidth),l}},{key:"_getHeaderColumns",value:function(){var e=this,o=this.props,n=o.children,l=o.disableHeader,a=l?[]:y.Children.toArray(n);return a.map(function(s,c){return e._createHeader({column:s,index:c})})}},{key:"_getRowHeight",value:function(e){var o=this.props.rowHeight;return typeof o=="function"?o({index:e}):o}},{key:"_onScroll",value:function(e){var o=e.clientHeight,n=e.scrollHeight,l=e.scrollTop,a=this.props.onScroll;a({clientHeight:o,scrollHeight:n,scrollTop:l})}},{key:"_onSectionRendered",value:function(e){var o=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,l=e.rowStartIndex,a=e.rowStopIndex,s=this.props.onRowsRendered;s({overscanStartIndex:o,overscanStopIndex:n,startIndex:l,stopIndex:a})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),i}(y.PureComponent);h(Wt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:wt,overscanRowCount:10,rowRenderer:Dt,headerRowRenderer:At,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});Wt.propTypes={};var Q=[],de=null,Z=null;function Ft(){Z&&(Z=null,document.body&&de!=null&&(document.body.style.pointerEvents=de),de=null)}function Jo(){Ft(),Q.forEach(function(r){return r.__resetIsScrolling()})}function er(){Z&&ne(Z);var r=0;Q.forEach(function(i){r=Math.max(r,i.props.scrollingResetTimeInterval)}),Z=xe(Jo,r)}function Nt(r){r.currentTarget===window&&de==null&&document.body&&(de=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),er(),Q.forEach(function(i){i.props.scrollElement===r.currentTarget&&i.__handleWindowScrollEvent()})}function ct(r,i){Q.some(function(t){return t.props.scrollElement===i})||i.addEventListener("scroll",Nt),Q.push(r)}function dt(r,i){Q=Q.filter(function(t){return t!==r}),Q.length||(i.removeEventListener("scroll",Nt),Z&&(ne(Z),Ft()))}var ke=function(i){return i===window},ce=function(i){return i.getBoundingClientRect()};function ut(r,i){if(r)if(ke(r)){var t=window,e=t.innerHeight,o=t.innerWidth;return{height:typeof e=="number"?e:0,width:typeof o=="number"?o:0}}else return ce(r);else return{height:i.serverHeight,width:i.serverWidth}}function tr(r,i){if(ke(i)&&document.documentElement){var t=document.documentElement,e=ce(r),o=ce(t);return{top:e.top-o.top,left:e.left-o.left}}else{var n=Ut(i),l=ce(r),a=ce(i);return{top:l.top+n.top-a.top,left:l.left+n.left-a.left}}}function Ut(r){return ke(r)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:r.scrollTop,left:r.scrollLeft}}var ht,ft;function pt(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function or(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,n=this.state,l=n.height,a=n.width,s=this._child||be.findDOMNode(this);if(s instanceof Element&&e){var c=tr(s,e);this._positionFromTop=c.top,this._positionFromLeft=c.left}var d=ut(e,this.props);(l!==d.height||a!==d.width)&&(this.setState({height:d.height,width:d.width}),o({height:d.height,width:d.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Rt(),this.updatePosition(e),e&&(ct(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,o){var n=this.props.scrollElement,l=e.scrollElement;l!==n&&l!=null&&n!=null&&(this.updatePosition(n),dt(this,l),ct(this,n),this._unregisterResizeListener(l),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(dt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,o=this.state,n=o.isScrolling,l=o.scrollTop,a=o.scrollLeft,s=o.height,c=o.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:s,isScrolling:n,scrollLeft:a,scrollTop:l,width:c})}}]),i}(y.PureComponent),h(ht,"propTypes",null),ft);h(ir,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:rr,scrollElement:$t(),serverHeight:0,serverWidth:0});var nr={name:"1jvyu5u",styles:"display:flex;flex-direction:row;align-items:center;padding:0 16px;background-color:#fff;border-bottom:1px solid #e0e0e0"},lr={name:"mkkf9p",styles:"flex:1 1 auto"};const ar=()=>({wrapper:lr,row:nr}),gt=new Array(100).fill(void 0).map((r,i)=>`item${i+1}`),cr=()=>{const r=ar();return fe("div",{style:{height:400},css:r.wrapper,children:fe(Tt,{children:({height:i,width:t})=>fe(xt,{height:i,rowCount:gt.length,rowHeight:30,rowRenderer:({key:e,index:o,style:n})=>fe("div",{style:n,css:r.row,children:gt[o]},e),width:t})})})};export{cr as default}; diff --git a/assets/js/index-O_P1M2gD.js b/assets/js/index-O_P1M2gD.js new file mode 100644 index 0000000..15dc2ba --- /dev/null +++ b/assets/js/index-O_P1M2gD.js @@ -0,0 +1 @@ +import{a as r}from"./index-nVNNlwDH.js";const d=()=>r("div",{children:"dashboard"});export{d as default}; diff --git a/assets/js/index-49e87341.js b/assets/js/index-b0Swbj61.js similarity index 99% rename from assets/js/index-49e87341.js rename to assets/js/index-b0Swbj61.js index 4ad260d..788d587 100644 --- a/assets/js/index-49e87341.js +++ b/assets/js/index-b0Swbj61.js @@ -1,4 +1,4 @@ -import{r as A,j as I,R as q,a as W}from"./index-0545c621.js";var f;(function(e){e.notload="notload",e.loading="loading",e.loaded="loaded",e.failed="failed"})(f||(f={}));var Q={key:"f97efc35164149d0c0f299e7a8adb3d2",AMap:{version:"2.0",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"2.0.0"}};function V(e){return"https://webapi.amap.com/maps?callback=__amap_init_callback"+"&v=".concat(e.AMap.version)+"&key=".concat(e.key)+"&plugin=".concat(e.AMap.plugins.join(","))}function k(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function X(e){for(var n=1;ne.length)&&(n=e.length);for(var r=0,t=new Array(n);r2&&arguments[2]!==void 0?arguments[2]:{},a=t.setterMap,i=a===void 0?{}:a,s=t.converterMap,u=s===void 0?{}:s,o=(r=ue(e))!==null&&r!==void 0?r:{},d=A.useRef([]),g=A.useState(!1),h=le(g,2),y=h[0],b=h[1];A.useEffect(function(){n.current&&p(e,!0)},[e]),A.useEffect(function(){return function(){if(n.current)try{"destroy"in n.current&&n.current.destroy(),"hide"in n.current&&n.current.hide(),"map"in e&&"setMap"in n.current&&n.current.setMap(null)}catch{}}},[]);var l=function(m){if(b(!0),"events"in e&&m){var P,O;(P=(O=e.events).created)===null||P===void 0||P.call(O,m)}p(e,!1)},p=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=n.current;if(O)try{Object.keys(m).forEach(function(M){if(M==="events")return S(m);var C=!0;if(P&&(C=_(M,m,o)),!!C){var j=m[M];if(M in u&&(j=u[M](m[M])),M in i)i[M](j,O);else{var L="set".concat(ie(M));L in O&&O[L](j)}}})}catch{}},S=function(m){var P=n.current,O=Object.keys(m.events||{});O.length&&O.forEach(function(M){d.current.indexOf(M)===-1&&(d.current.push(M),P.on(M,function(C){return function(){if(m.events&&C in m.events){for(var j=arguments.length,L=new Array(j),E=0;Ee.length)&&(n=e.length);for(var r=0,t=new Array(n);r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function Me(e,n){if(e==null)return{};var r={},t=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}var we=function(n){var r=n.loading,t=n.children,a=n.onComplete,i=Ae(n,ve),s=A.useState(!1),u=B(s,2),o=u[0],d=u[1],g=A.useState(!0),h=B(g,2),y=h[0],b=h[1];return A.useEffect(function(){te(R(R({},i),{},{key:i.mapKey})).then(function(){var l=T();a==null||a(l),d(!0),b(!1)}).catch(function(l){b(!1)})},[JSON.stringify(i)]),y&&r?I.jsx(I.Fragment,{children:r}):I.jsx(I.Fragment,{children:o&&t})},Oe=["layers","zoom","zooms","center","labelzIndex","lang","mapStyle","features","cursor","pitch","mask","defaultLayer"],G=["animateEnable","doubleClickZoom","dragEnable","isHotspot","jogEnable","keyboardEnable","pitchEnable","resizeEnable","rotateEnable","scrollWheel","touchZoom","zoomEnable"],Ie=["view","showIndoorMap","indoorMap","expandZoomRange","touchZoomCenter","showBuildingBlock","viewMode","buildingAnimation","skyColor"],Pe={width:"100%",height:"100%",position:"relative"},Se={width:"100%",height:"100%"},Ue=Oe.concat(G,Ie),_e={zoom:function(n,r){r&&r.setZoom(n)},cursor:function(n,r){r&&r.setDefaultCursor(n)},labelzIndex:function(n,r){r&&r.setLabelzIndex(n)}},$={center:oe,mapStyle:function(n){return n.indexOf("amap://styles")===0?n:"amap://styles/".concat(n)}},je=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=A.useRef(),t=A.useRef(),a=pe(n,t,{setterMap:_e,converterMap:$}),i=a.loaded,s=a.prevProps,u=a.onInstanceCreated;A.useEffect(function(){o().then(function(){var b;(b=n.onMapCreate)===null||b===void 0||b.call(n,t.current),u==null||u(t.current)})},[]),A.useEffect(function(){i&&h(s,n)},[n]);var o=function(){var l=d(),p=T();return t.current=new p.Map(r.current,l),Promise.resolve()},d=function(){var l={};return Ue.forEach(function(p){p in n&&(l[p]=g(p,n))}),l},g=function(l,p){return l in $?$[l](p[l]):p[l]},h=function(l,p){var S={},_=!1;G.forEach(function(w){w in p&&y(w,l,p)&&(_=!0,S[w]=p[w])}),_&&t.current.setStatus(S)},y=function(l,p,S){return p[l]!==S[l]};return I.jsxs("div",{style:Pe,children:[I.jsx("div",{ref:r,style:Se,children:i?null:n.loading}),I.jsx("div",{children:i?n.children:null})]})},Ce=q.createContext({}),Le=["mapKey","version","plugins","AMapUI","Loca","loading","onMapCreate"];function Z(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function J(e){for(var n=1;ne.length)&&(n=e.length);for(var r=0,t=new Array(n);r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function ke(e,n){if(e==null)return{};var r={},t=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}var ze=q.forwardRef(function(e,n){var r=e.mapKey,t=e.version,a=e.plugins,i=e.AMapUI,s=e.Loca,u=e.loading;e.onMapCreate;var o=We(e,Le),d=A.useState(),g=F(d,2),h=g[0],y=g[1],b=A.useState(),l=F(b,2),p=l[0],S=l[1];return A.useImperativeHandle(n,function(){return p},[p]),I.jsx(Ce.Provider,{value:{AMap:h,map:p},children:I.jsx(we,{mapKey:r,version:t,plugins:a,Loca:s,AMapUI:i,loading:u,onComplete:function(w){y(w)},children:I.jsx(je,J(J({loading:u},o),{},{onMapCreate:function(w){S(w)}}))})})});const Re=()=>W("div",{style:{height:"100vh"},children:W(ze,{})});export{Re as default}; diff --git a/assets/js/index-c8413a02.js b/assets/js/index-c8413a02.js deleted file mode 100644 index 26aaacc..0000000 --- a/assets/js/index-c8413a02.js +++ /dev/null @@ -1,10 +0,0 @@ -import{_ as G,b as k,c as h,d as se,e as H,f as W,g as F,h as g,r as y,i as j,k as Te,l as Wt,m as Ft,a as he}from"./index-0545c621.js";function ht(){var r=this.constructor.getDerivedStateFromProps(this.props,this.state);r!=null&&this.setState(r)}function ft(r){function i(t){var e=this.constructor.getDerivedStateFromProps(r,t);return e??null}this.setState(i.bind(this))}function pt(r,i){try{var t=this.props,e=this.state;this.props=r,this.state=i,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,e)}finally{this.props=t,this.state=e}}ht.__suppressDeprecationWarning=!0;ft.__suppressDeprecationWarning=!0;pt.__suppressDeprecationWarning=!0;function de(r){var i=r.prototype;if(!i||!i.isReactComponent)throw new Error("Can only polyfill class components");if(typeof r.getDerivedStateFromProps!="function"&&typeof i.getSnapshotBeforeUpdate!="function")return r;var t=null,e=null,o=null;if(typeof i.componentWillMount=="function"?t="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(t="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"?e="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(e="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"?o="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),t!==null||e!==null||o!==null){var n=r.displayName||r.name,l=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. - -`+n+" uses "+l+" but also contains the following legacy lifecycles:"+(t!==null?` - `+t:"")+(e!==null?` - `+e:"")+(o!==null?` - `+o:"")+` - -The above lifecycles should be removed. Learn more about this warning here: -https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof r.getDerivedStateFromProps=="function"&&(i.componentWillMount=ht,i.componentWillReceiveProps=ft),typeof i.getSnapshotBeforeUpdate=="function"){if(typeof i.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");i.componentWillUpdate=pt;var s=i.componentDidUpdate;i.componentDidUpdate=function(c,d,u){var p=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:u;s.call(this,c,d,p)}}return r}function gt(r){var i,t,e="";if(typeof r=="string"||typeof r=="number")e+=r;else if(typeof r=="object")if(Array.isArray(r))for(i=0;i=0&&a===s&&c())}var Nt=function(){function r(i){var t=i.cellCount,e=i.cellSizeGetter,o=i.estimatedCellSize;k(this,r),h(this,"_cellSizeAndPositionData",{}),h(this,"_lastMeasuredIndex",-1),h(this,"_lastBatchedIndex",-1),h(this,"_cellCount",void 0),h(this,"_cellSizeGetter",void 0),h(this,"_estimatedCellSize",void 0),this._cellSizeGetter=e,this._cellCount=t,this._estimatedCellSize=o}return G(r,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(t){var e=t.cellCount,o=t.estimatedCellSize,n=t.cellSizeGetter;this._cellCount=e,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(t){if(t<0||t>=this._cellCount)throw Error("Requested index ".concat(t," is outside of range 0..").concat(this._cellCount));if(t>this._lastMeasuredIndex)for(var e=this.getSizeAndPositionOfLastMeasuredCell(),o=e.offset+e.size,n=this._lastMeasuredIndex+1;n<=t;n++){var l=this._cellSizeGetter({index:n});if(l===void 0||isNaN(l))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(l));l===null?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=t):(this._cellSizeAndPositionData[n]={offset:o,size:l},o+=l,this._lastMeasuredIndex=t)}return this._cellSizeAndPositionData[t]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var t=this.getSizeAndPositionOfLastMeasuredCell(),e=t.offset+t.size,o=this._cellCount-this._lastMeasuredIndex-1,n=o*this._estimatedCellSize;return e+n}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,o=e===void 0?"auto":e,n=t.containerSize,l=t.currentOffset,s=t.targetIndex;if(n<=0)return 0;var a=this.getSizeAndPositionOfCell(s),c=a.offset,d=c-n+a.size,u;switch(o){case"start":u=c;break;case"end":u=d;break;case"center":u=c-(n-a.size)/2;break;default:u=Math.max(d,Math.min(c,l));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-n,u))}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,o=t.offset,n=this.getTotalSize();if(n===0)return{};var l=o+e,s=this._findNearestCell(o),a=this.getSizeAndPositionOfCell(s);o=a.offset+a.size;for(var c=s;oo&&(t=n-1)}return e>0?e-1:0}},{key:"_exponentialSearch",value:function(t,e){for(var o=1;t=t?this._binarySearch(o,0,t):this._exponentialSearch(o,t)}}]),r}(),Ut=15e5,$t=16777100,jt=function(){return typeof window<"u"},Bt=function(){return!!window.chrome},Vt=function(){return jt()&&Bt()?$t:Ut},Pe=function(){function r(i){var t=i.maxScrollSize,e=t===void 0?Vt():t,o=se(i,["maxScrollSize"]);k(this,r),h(this,"_cellSizeAndPositionManager",void 0),h(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Nt(o),this._maxScrollSize=e}return G(r,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(t){this._cellSizeAndPositionManager.configure(t)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize(),s=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:l});return Math.round(s*(l-n))}},{key:"getSizeAndPositionOfCell",value:function(t){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(t)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,o=e===void 0?"auto":e,n=t.containerSize,l=t.currentOffset,s=t.targetIndex;l=this._safeOffsetToOffset({containerSize:n,offset:l});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n,currentOffset:l,targetIndex:s});return this._offsetToSafeOffset({containerSize:n,offset:a})}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,o=t.offset;return o=this._safeOffsetToOffset({containerSize:e,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:e,offset:o})}},{key:"resetCell",value:function(t){this._cellSizeAndPositionManager.resetCell(t)}},{key:"_getOffsetPercentage",value:function(t){var e=t.containerSize,o=t.offset,n=t.totalSize;return n<=e?0:o/(n-e)}},{key:"_offsetToSafeOffset",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(n===l)return o;var s=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:n});return Math.round(s*(l-e))}},{key:"_safeOffsetToOffset",value:function(t){var e=t.containerSize,o=t.offset,n=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(n===l)return o;var s=this._getOffsetPercentage({containerSize:e,offset:o,totalSize:l});return Math.round(s*(n-e))}}]),r}();function re(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,i={};return function(t){var e=t.callback,o=t.indices,n=Object.keys(o),l=!r||n.every(function(a){var c=o[a];return Array.isArray(c)?c.length>0:c>=0}),s=n.length!==Object.keys(i).length||n.some(function(a){var c=i[a],d=o[a];return Array.isArray(d)?c.join(",")!==d.join(","):c!==d});i=o,l&&s&&e(o)}}var fe=-1,B=1;function Kt(r){var i=r.cellCount,t=r.overscanCellsCount,e=r.scrollDirection,o=r.startIndex,n=r.stopIndex;return e===B?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(i-1,n+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(i-1,n)}}function ke(r){var i=r.cellSize,t=r.cellSizeAndPositionManager,e=r.previousCellsCount,o=r.previousCellSize,n=r.previousScrollToAlignment,l=r.previousScrollToIndex,s=r.previousSize,a=r.scrollOffset,c=r.scrollToAlignment,d=r.scrollToIndex,u=r.size,p=r.sizeJustIncreasedFromZero,f=r.updateScrollIndexCallback,v=t.getCellCount(),m=d>=0&&d0&&(ut.getTotalSize()-u&&f(v-1)}function qt(r){for(var i=r.cellCache,t=r.cellRenderer,e=r.columnSizeAndPositionManager,o=r.columnStartIndex,n=r.columnStopIndex,l=r.deferredMeasurementCache,s=r.horizontalOffsetAdjustment,a=r.isScrolling,c=r.isScrollingOptOut,d=r.parent,u=r.rowSizeAndPositionManager,p=r.rowStartIndex,f=r.rowStopIndex,v=r.styleCache,m=r.verticalOffsetAdjustment,_=r.visibleColumnIndices,C=r.visibleRowIndices,w=[],R=e.areOffsetsAdjusted()||u.areOffsetsAdjusted(),O=!a&&!R,I=p;I<=f;I++)for(var M=u.getSizeAndPositionOfCell(I),T=o;T<=n;T++){var S=e.getSizeAndPositionOfCell(T),b=T>=_.start&&T<=_.stop&&I>=C.start&&I<=C.stop,z="".concat(I,"-").concat(T),x=void 0;O&&v[z]?x=v[z]:l&&!l.has(I,T)?x={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(x={height:M.size,left:S.offset+s,position:"absolute",top:M.offset+m,width:S.size},v[z]=x);var P={columnIndex:T,isScrolling:a,isVisible:b,key:z,parent:d,rowIndex:I,style:x},L=void 0;(c||a)&&!s&&!m?(i[z]||(i[z]=t(P)),L=i[z]):L=t(P),!(L==null||L===!1)&&w.push(L)}return w}const Qt=!!(typeof window<"u"&&window.document&&window.document.createElement);var pe;function ye(r){if((!pe&&pe!==0||r)&&Qt){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),pe=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return pe}var D;typeof window<"u"?D=window:typeof self<"u"?D=self:D={};var Xt=D.requestAnimationFrame||D.webkitRequestAnimationFrame||D.mozRequestAnimationFrame||D.oRequestAnimationFrame||D.msRequestAnimationFrame||function(r){return D.setTimeout(r,1e3/60)},Zt=D.cancelAnimationFrame||D.webkitCancelAnimationFrame||D.mozCancelAnimationFrame||D.oCancelAnimationFrame||D.msCancelAnimationFrame||function(r){D.clearTimeout(r)},Ge=Xt,Yt=Zt,ie=function(i){return Yt(i.id)},ze=function(i,t){var e;Promise.resolve().then(function(){e=Date.now()});var o=function l(){Date.now()-e>=t?i.call():n.id=Ge(l)},n={id:Ge(o)};return n},Ae,Ee;function De(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function X(r){for(var i=1;i0&&(e._initialScrollTop=e._getCalculatedScrollTop(t,e.state)),t.scrollToColumn>0&&(e._initialScrollLeft=e._getCalculatedScrollLeft(t,e.state)),e}return G(i,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.alignment,n=o===void 0?this.props.scrollToAlignment:o,l=e.columnIndex,s=l===void 0?this.props.scrollToColumn:l,a=e.rowIndex,c=a===void 0?this.props.scrollToRow:a,d=X({},this.props,{scrollToAlignment:n,scrollToColumn:s,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(d),scrollTop:this._getCalculatedScrollTop(d)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var o=e.scrollLeft,n=o===void 0?0:o,l=e.scrollTop,s=l===void 0?0:l;if(!(s<0)){this._debounceScrollEnded();var a=this.props,c=a.autoHeight,d=a.autoWidth,u=a.height,p=a.width,f=this.state.instanceProps,v=f.scrollbarSize,m=f.rowSizeAndPositionManager.getTotalSize(),_=f.columnSizeAndPositionManager.getTotalSize(),C=Math.min(Math.max(0,_-p+v),n),w=Math.min(Math.max(0,m-u+v),s);if(this.state.scrollLeft!==C||this.state.scrollTop!==w){var R=C!==this.state.scrollLeft?C>this.state.scrollLeft?B:fe:this.state.scrollDirectionHorizontal,O=w!==this.state.scrollTop?w>this.state.scrollTop?B:fe:this.state.scrollDirectionVertical,I={isScrolling:!0,scrollDirectionHorizontal:R,scrollDirectionVertical:O,scrollPositionChangeReason:Se.OBSERVED};c||(I.scrollTop=w),d||(I.scrollLeft=C),I.needToResetStyleCache=!1,this.setState(I)}this._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:w,totalColumnsWidth:_,totalRowsHeight:m})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var o=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,o=e.columnCount,n=e.rowCount,l=this.state.instanceProps;l.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),l.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,s=l===void 0?0:l,a=this.props,c=a.scrollToColumn,d=a.scrollToRow,u=this.state.instanceProps;u.columnSizeAndPositionManager.resetCell(n),u.rowSizeAndPositionManager.resetCell(s),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===B?n<=c:n>=c),this._recomputeScrollTopFlag=d>=0&&(this.state.scrollDirectionVertical===B?s<=d:s>=d),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var o=e.columnIndex,n=e.rowIndex,l=this.props.columnCount,s=this.props;l>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(X({},s,{scrollToColumn:o})),n!==void 0&&this._updateScrollTopForScrollToRow(X({},s,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,l=e.scrollLeft,s=e.scrollToColumn,a=e.scrollTop,c=e.scrollToRow,d=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState(function(v){var m=X({},v,{needToResetStyleCache:!1});return m.instanceProps.scrollbarSize=o(),m.instanceProps.scrollbarSizeMeasured=!0,m}),typeof l=="number"&&l>=0||typeof a=="number"&&a>=0){var p=i._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:l,scrollTop:a});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=n>0&&d>0;s>=0&&f&&this._updateScrollLeftForScrollToColumn(),c>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:l||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,o){var n=this,l=this.props,s=l.autoHeight,a=l.autoWidth,c=l.columnCount,d=l.height,u=l.rowCount,p=l.scrollToAlignment,f=l.scrollToColumn,v=l.scrollToRow,m=l.width,_=this.state,C=_.scrollLeft,w=_.scrollPositionChangeReason,R=_.scrollTop,O=_.instanceProps;this._handleInvalidatedGridSize();var I=c>0&&e.columnCount===0||u>0&&e.rowCount===0;w===Se.REQUESTED&&(!a&&C>=0&&(C!==this._scrollingContainer.scrollLeft||I)&&(this._scrollingContainer.scrollLeft=C),!s&&R>=0&&(R!==this._scrollingContainer.scrollTop||I)&&(this._scrollingContainer.scrollTop=R));var M=(e.width===0||e.height===0)&&d>0&&m>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):ke({cellSizeAndPositionManager:O.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:C,scrollToAlignment:p,scrollToIndex:f,size:m,sizeJustIncreasedFromZero:M,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):ke({cellSizeAndPositionManager:O.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:R,scrollToAlignment:p,scrollToIndex:v,size:d,sizeJustIncreasedFromZero:M,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),C!==o.scrollLeft||R!==o.scrollTop){var T=O.rowSizeAndPositionManager.getTotalSize(),S=O.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:R,totalColumnsWidth:S,totalRowsHeight:T})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&ie(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,o=e.autoContainerWidth,n=e.autoHeight,l=e.autoWidth,s=e.className,a=e.containerProps,c=e.containerRole,d=e.containerStyle,u=e.height,p=e.id,f=e.noContentRenderer,v=e.role,m=e.style,_=e.tabIndex,C=e.width,w=this.state,R=w.instanceProps,O=w.needToResetStyleCache,I=this._isScrolling(),M={boxSizing:"border-box",direction:"ltr",height:n?"auto":u,position:"relative",width:l?"auto":C,WebkitOverflowScrolling:"touch",willChange:"transform"};O&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var T=R.columnSizeAndPositionManager.getTotalSize(),S=R.rowSizeAndPositionManager.getTotalSize(),b=S>u?R.scrollbarSize:0,z=T>C?R.scrollbarSize:0;(z!==this._horizontalScrollBarSize||b!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=z,this._verticalScrollBarSize=b,this._scrollbarPresenceChanged=!0),M.overflowX=T+b<=C?"hidden":"auto",M.overflowY=S+z<=u?"hidden":"auto";var x=this._childrenToDisplay,P=x.length===0&&u>0&&C>0;return y.createElement("div",j({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:U("ReactVirtualized__Grid",s),id:p,onScroll:this._onScroll,role:v,style:X({},M,{},m),tabIndex:_}),x.length>0&&y.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:X({width:o?"auto":T,height:S,maxWidth:T,maxHeight:S,overflow:"hidden",pointerEvents:I?"none":"",position:"relative"},d)},x),P&&f())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=e.cellRenderer,l=e.cellRangeRenderer,s=e.columnCount,a=e.deferredMeasurementCache,c=e.height,d=e.overscanColumnCount,u=e.overscanIndicesGetter,p=e.overscanRowCount,f=e.rowCount,v=e.width,m=e.isScrollingOptOut,_=o.scrollDirectionHorizontal,C=o.scrollDirectionVertical,w=o.instanceProps,R=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,O=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,I=this._isScrolling(e,o);if(this._childrenToDisplay=[],c>0&&v>0){var M=w.columnSizeAndPositionManager.getVisibleCellRange({containerSize:v,offset:O}),T=w.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:R}),S=w.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:v,offset:O}),b=w.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:R});this._renderedColumnStartIndex=M.start,this._renderedColumnStopIndex=M.stop,this._renderedRowStartIndex=T.start,this._renderedRowStopIndex=T.stop;var z=u({direction:"horizontal",cellCount:s,overscanCellsCount:d,scrollDirection:_,startIndex:typeof M.start=="number"?M.start:0,stopIndex:typeof M.stop=="number"?M.stop:-1}),x=u({direction:"vertical",cellCount:f,overscanCellsCount:p,scrollDirection:C,startIndex:typeof T.start=="number"?T.start:0,stopIndex:typeof T.stop=="number"?T.stop:-1}),P=z.overscanStartIndex,L=z.overscanStopIndex,A=x.overscanStartIndex,$=x.overscanStopIndex;if(a){if(!a.hasFixedHeight()){for(var V=A;V<=$;V++)if(!a.has(V,0)){P=0,L=s-1;break}}if(!a.hasFixedWidth()){for(var N=P;N<=L;N++)if(!a.has(0,N)){A=0,$=f-1;break}}}this._childrenToDisplay=l({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:w.columnSizeAndPositionManager,columnStartIndex:P,columnStopIndex:L,deferredMeasurementCache:a,horizontalOffsetAdjustment:S,isScrolling:I,isScrollingOptOut:m,parent:this,rowSizeAndPositionManager:w.rowSizeAndPositionManager,rowStartIndex:A,rowStopIndex:$,scrollLeft:O,scrollTop:R,styleCache:this._styleCache,verticalOffsetAdjustment:b,visibleColumnIndices:M,visibleRowIndices:T}),this._columnStartIndex=P,this._columnStopIndex=L,this._rowStartIndex=A,this._rowStopIndex=$}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&ie(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=ze(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var e=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var o=this,n=e.scrollLeft,l=e.scrollTop,s=e.totalColumnsWidth,a=e.totalRowsHeight;this._onScrollMemoizer({callback:function(d){var u=d.scrollLeft,p=d.scrollTop,f=o.props,v=f.height,m=f.onScroll,_=f.width;m({clientHeight:v,clientWidth:_,scrollHeight:a,scrollLeft:u,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:n,scrollTop:l}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,l=i._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});l&&(l.needToResetStyleCache=!1,this.setState(l))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return i._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=i._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return i._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,o=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var l=this._rowStartIndex;l<=this._rowStopIndex;l++)for(var s=this._columnStartIndex;s<=this._columnStopIndex;s++){var a="".concat(l,"-").concat(s);this._styleCache[a]=e[a],n&&(this._cellCache[a]=o[a])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,n=i._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n={};e.columnCount===0&&o.scrollLeft!==0||e.rowCount===0&&o.scrollTop!==0?(n.scrollLeft=0,n.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(n,i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;n.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(n.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:i._getEstimatedColumnSize(e),cellSizeGetter:i._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:i._getEstimatedRowSize(e),cellSizeGetter:i._wrapSizeGetter(e.rowHeight)}),(l.prevColumnCount===0||l.prevRowCount===0)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&e.isScrolling===!1&&l.prevIsScrolling===!0&&Object.assign(n,{isScrolling:!1});var s,a;return Le({cellCount:l.prevColumnCount,cellSize:typeof l.prevColumnWidth=="number"?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:typeof e.columnWidth=="number"?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){s=i._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),Le({cellCount:l.prevRowCount,cellSize:typeof l.prevRowHeight=="number"?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:typeof e.rowHeight=="number"?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){a=i._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=e.isScrolling===!0,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),l.scrollbarSize===void 0?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,n.instanceProps=l,X({},n,{},s,{},a)}},{key:"_getEstimatedColumnSize",value:function(e){return typeof e.columnWidth=="number"?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return typeof e.rowHeight=="number"?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var o=e.prevState,n=e.scrollLeft,l=e.scrollTop,s={scrollPositionChangeReason:Se.REQUESTED};return typeof n=="number"&&n>=0&&(s.scrollDirectionHorizontal=n>o.scrollLeft?B:fe,s.scrollLeft=n),typeof l=="number"&&l>=0&&(s.scrollDirectionVertical=l>o.scrollTop?B:fe,s.scrollTop=l),typeof n=="number"&&n>=0&&n!==o.scrollLeft||typeof l=="number"&&l>=0&&l!==o.scrollTop?s:{}}},{key:"_wrapSizeGetter",value:function(e){return typeof e=="function"?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,o){var n=e.columnCount,l=e.height,s=e.scrollToAlignment,a=e.scrollToColumn,c=e.width,d=o.scrollLeft,u=o.instanceProps;if(n>0){var p=n-1,f=a<0?p:Math.min(p,a),v=u.rowSizeAndPositionManager.getTotalSize(),m=u.scrollbarSizeMeasured&&v>l?u.scrollbarSize:0;return u.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:c-m,currentOffset:d,targetIndex:f})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,l=i._getCalculatedScrollLeft(e,o);return typeof l=="number"&&l>=0&&n!==l?i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:l,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,o){var n=e.height,l=e.rowCount,s=e.scrollToAlignment,a=e.scrollToRow,c=e.width,d=o.scrollTop,u=o.instanceProps;if(l>0){var p=l-1,f=a<0?p:Math.min(p,a),v=u.columnSizeAndPositionManager.getTotalSize(),m=u.scrollbarSizeMeasured&&v>c?u.scrollbarSize:0;return u.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:n-m,currentOffset:d,targetIndex:f})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,l=i._getCalculatedScrollTop(e,o);return typeof l=="number"&&l>=0&&n!==l?i._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:l}):{}}}]),i}(y.PureComponent),h(Ae,"propTypes",null),Ee);h(K,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:qt,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:ye,noContentRenderer:eo,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:Kt,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:Jt,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});de(K);var to=1;function vt(r){var i=r.cellCount,t=r.overscanCellsCount,e=r.scrollDirection,o=r.startIndex,n=r.stopIndex;return t=Math.max(1,t),e===to?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(i-1,n+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(i-1,n+1)}}var He,We;function Fe(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function oo(r){for(var i=1;i div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',z=S.head||S.getElementsByTagName("head")[0],x=S.createElement("style");x.id="detectElementResize",x.type="text/css",r!=null&&x.setAttribute("nonce",r),x.styleSheet?x.styleSheet.cssText=b:x.appendChild(S.createTextNode(b)),z.appendChild(x)}},I=function(S,b){if(e)S.attachEvent("onresize",b);else{if(!S.__resizeTriggers__){var z=S.ownerDocument,x=t.getComputedStyle(S);x&&x.position=="static"&&(S.style.position="relative"),O(z),S.__resizeLast__={},S.__resizeListeners__=[],(S.__resizeTriggers__=z.createElement("div")).className="resize-triggers";var P='
';if(window.trustedTypes){var L=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return P}});S.__resizeTriggers__.innerHTML=L.createHTML("")}else S.__resizeTriggers__.innerHTML=P;S.appendChild(S.__resizeTriggers__),l(S),S.addEventListener("scroll",a,!0),u&&(S.__resizeTriggers__.__animationListener__=function($){$.animationName==C&&l(S)},S.__resizeTriggers__.addEventListener(u,S.__resizeTriggers__.__animationListener__))}S.__resizeListeners__.push(b)}},M=function(S,b){if(e)S.detachEvent("onresize",b);else if(S.__resizeListeners__.splice(S.__resizeListeners__.indexOf(b),1),!S.__resizeListeners__.length){S.removeEventListener("scroll",a,!0),S.__resizeTriggers__.__animationListener__&&(S.__resizeTriggers__.removeEventListener(u,S.__resizeTriggers__.__animationListener__),S.__resizeTriggers__.__animationListener__=null);try{S.__resizeTriggers__=!S.removeChild(S.__resizeTriggers__)}catch{}}};return{addResizeListener:I,removeResizeListener:M}}var Ne,Ue;function $e(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function ro(r){for(var i=1;i=0){var _=a.getScrollPositionForCell({align:d,cellIndex:u,height:c,scrollLeft:v,scrollTop:m,width:p});(_.scrollLeft!==v||_.scrollTop!==m)&&e._setScrollPosition(_)}}),h(g(e),"_onScroll",function(s){if(s.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var a=e.props,c=a.cellLayoutManager,d=a.height,u=a.isScrollingChange,p=a.width,f=e._scrollbarSize,v=c.getTotalSize(),m=v.height,_=v.width,C=Math.max(0,Math.min(_-p+f,s.target.scrollLeft)),w=Math.max(0,Math.min(m-d+f,s.target.scrollTop));if(e.state.scrollLeft!==C||e.state.scrollTop!==w){var R=s.cancelable?ee.OBSERVED:ee.REQUESTED;e.state.isScrolling||u(!0),e.setState({isScrolling:!0,scrollLeft:C,scrollPositionChangeReason:R,scrollTop:w})}e._invokeOnScrollMemoizer({scrollLeft:C,scrollTop:w,totalWidth:_,totalHeight:m})}}),e._scrollbarSize=ye(),e._scrollbarSize===void 0?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return G(i,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,o=e.cellLayoutManager,n=e.scrollLeft,l=e.scrollToCell,s=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=ye(),this._scrollbarSizeMeasured=!0,this.setState({})),l>=0?this._updateScrollPositionForScrollToCell():(n>=0||s>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:s}),this._invokeOnSectionRenderedHelper();var a=o.getTotalSize(),c=a.height,d=a.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:s||0,totalHeight:c,totalWidth:d})}},{key:"componentDidUpdate",value:function(e,o){var n=this.props,l=n.height,s=n.scrollToAlignment,a=n.scrollToCell,c=n.width,d=this.state,u=d.scrollLeft,p=d.scrollPositionChangeReason,f=d.scrollTop;p===ee.REQUESTED&&(u>=0&&u!==o.scrollLeft&&u!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=u),f>=0&&f!==o.scrollTop&&f!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=f)),(l!==e.height||s!==e.scrollToAlignment||a!==e.scrollToCell||c!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,o=e.autoHeight,n=e.cellCount,l=e.cellLayoutManager,s=e.className,a=e.height,c=e.horizontalOverscanSize,d=e.id,u=e.noContentRenderer,p=e.style,f=e.verticalOverscanSize,v=e.width,m=this.state,_=m.isScrolling,C=m.scrollLeft,w=m.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==l||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=l,this._calculateSizeAndPositionDataOnNextUpdate=!1,l.calculateSizeAndPositionData());var R=l.getTotalSize(),O=R.height,I=R.width,M=Math.max(0,C-c),T=Math.max(0,w-f),S=Math.min(I,C+v+c),b=Math.min(O,w+a+f),z=a>0&&v>0?l.cellRenderers({height:b-T,isScrolling:_,width:S-M,x:M,y:T}):[],x={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",WebkitOverflowScrolling:"touch",width:v,willChange:"transform"},P=O>a?this._scrollbarSize:0,L=I>v?this._scrollbarSize:0;return x.overflowX=I+P<=v?"hidden":"auto",x.overflowY=O+L<=a?"hidden":"auto",y.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:U("ReactVirtualized__Collection",s),id:d,onScroll:this._onScroll,role:"grid",style:no({},x,{},p),tabIndex:0},n>0&&y.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:O,maxHeight:O,maxWidth:I,overflow:"hidden",pointerEvents:_?"none":"",width:I}},z),n===0&&u())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=e.props.isScrollingChange;o(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},lo)}},{key:"_invokeOnScrollMemoizer",value:function(e){var o=this,n=e.scrollLeft,l=e.scrollTop,s=e.totalHeight,a=e.totalWidth;this._onScrollMemoizer({callback:function(d){var u=d.scrollLeft,p=d.scrollTop,f=o.props,v=f.height,m=f.onScroll,_=f.width;m({clientHeight:v,clientWidth:_,scrollHeight:s,scrollLeft:u,scrollTop:p,scrollWidth:a})},indices:{scrollLeft:n,scrollTop:l}})}},{key:"_setScrollPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,l={scrollPositionChangeReason:ee.REQUESTED};o>=0&&(l.scrollLeft=o),n>=0&&(l.scrollTop=n),(o>=0&&o!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(l)}}],[{key:"getDerivedStateFromProps",value:function(e,o){return e.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:ee.REQUESTED}:e.scrollLeft!==o.scrollLeft||e.scrollTop!==o.scrollTop?{scrollLeft:e.scrollLeft!=null?e.scrollLeft:o.scrollLeft,scrollTop:e.scrollTop!=null?e.scrollTop:o.scrollTop,scrollPositionChangeReason:ee.REQUESTED}:null}}]),i}(y.PureComponent);h(me,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});me.propTypes={};de(me);var so=function(){function r(i){var t=i.height,e=i.width,o=i.x,n=i.y;k(this,r),this.height=t,this.width=e,this.x=o,this.y=n,this._indexMap={},this._indices=[]}return G(r,[{key:"addCellIndex",value:function(t){var e=t.index;this._indexMap[e]||(this._indexMap[e]=!0,this._indices.push(e))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),r}(),ao=100,co=function(){function r(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ao;k(this,r),this._sectionSize=i,this._cellMetadata=[],this._sections={}}return G(r,[{key:"getCellIndices",value:function(t){var e=t.height,o=t.width,n=t.x,l=t.y,s={};return this.getSections({height:e,width:o,x:n,y:l}).forEach(function(a){return a.getCellIndices().forEach(function(c){s[c]=c})}),Object.keys(s).map(function(a){return s[a]})}},{key:"getCellMetadata",value:function(t){var e=t.index;return this._cellMetadata[e]}},{key:"getSections",value:function(t){for(var e=t.height,o=t.width,n=t.x,l=t.y,s=Math.floor(n/this._sectionSize),a=Math.floor((n+o-1)/this._sectionSize),c=Math.floor(l/this._sectionSize),d=Math.floor((l+e-1)/this._sectionSize),u=[],p=s;p<=a;p++)for(var f=c;f<=d;f++){var v="".concat(p,".").concat(f);this._sections[v]||(this._sections[v]=new so({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:f*this._sectionSize})),u.push(this._sections[v])}return u}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var t=this;return Object.keys(this._sections).map(function(e){return t._sections[e].toString()})}},{key:"registerCell",value:function(t){var e=t.cellMetadatum,o=t.index;this._cellMetadata[o]=e,this.getSections(e).forEach(function(n){return n.addCellIndex({index:o})})}}]),r}();function uo(r){for(var i=r.cellCount,t=r.cellSizeAndPositionGetter,e=r.sectionSize,o=[],n=new co(e),l=0,s=0,a=0;a=0&&nt||o0;){var v=f.startIndex-1;if(!i({index:v}))f.startIndex=v;else break}return l}function go(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=typeof r.recomputeGridSize=="function"?r.recomputeGridSize:r.recomputeRowHeights;t?t.call(r,i):r.forceUpdate()}var qe,Qe,yt=(Qe=qe=function(r){H(i,r);function i(){var t,e;k(this,i);for(var o=arguments.length,n=new Array(o),l=0;l0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,s=l===void 0?0:l;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,o=e.className,n=e.noRowsRenderer,l=e.scrollToIndex,s=e.width,a=U("ReactVirtualized__List",o);return y.createElement(K,j({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:s,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:l}))}}]),i}(y.PureComponent),h(qe,"propTypes",null),Qe);h(yt,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:vt,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function vo(r,i,t,e){for(var o=t+1;i<=t;){var n=i+t>>>1,l=r[n];l>=e?(o=n,t=n-1):i=n+1}return o}function mo(r,i,t,e,o){for(var n=t+1;i<=t;){var l=i+t>>>1,s=r[l];o(s,e)>=0?(n=l,t=l-1):i=l+1}return n}function So(r,i,t,e,o){return typeof t=="function"?mo(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):vo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function _o(r,i,t,e){for(var o=t+1;i<=t;){var n=i+t>>>1,l=r[n];l>e?(o=n,t=n-1):i=n+1}return o}function Co(r,i,t,e,o){for(var n=t+1;i<=t;){var l=i+t>>>1,s=r[l];o(s,e)>0?(n=l,t=l-1):i=l+1}return n}function wo(r,i,t,e,o){return typeof t=="function"?Co(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):_o(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function yo(r,i,t,e){for(var o=i-1;i<=t;){var n=i+t>>>1,l=r[n];l>>1,s=r[l];o(s,e)<0?(n=l,i=l+1):t=l-1}return n}function To(r,i,t,e,o){return typeof t=="function"?Ro(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):yo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function zo(r,i,t,e){for(var o=i-1;i<=t;){var n=i+t>>>1,l=r[n];l<=e?(o=n,i=n+1):t=n-1}return o}function xo(r,i,t,e,o){for(var n=i-1;i<=t;){var l=i+t>>>1,s=r[l];o(s,e)<=0?(n=l,i=l+1):t=l-1}return n}function Io(r,i,t,e,o){return typeof t=="function"?xo(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):zo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}function bo(r,i,t,e){for(;i<=t;){var o=i+t>>>1,n=r[o];if(n===e)return o;n<=e?i=o+1:t=o-1}return-1}function Oo(r,i,t,e,o){for(;i<=t;){var n=i+t>>>1,l=r[n],s=o(l,e);if(s===0)return n;s<=0?i=n+1:t=n-1}return-1}function Mo(r,i,t,e,o){return typeof t=="function"?Oo(r,e===void 0?0:e|0,o===void 0?r.length-1:o|0,i,t):bo(r,t===void 0?0:t|0,e===void 0?r.length-1:e|0,i)}const ve={ge:So,gt:wo,lt:To,le:Io,eq:Mo};var oe=0,Z=1,ge=2;function xe(r,i,t,e,o){this.mid=r,this.left=i,this.right=t,this.leftPoints=e,this.rightPoints=o,this.count=(i?i.count:0)+(t?t.count:0)+e.length}var ue=xe.prototype;function _e(r,i){r.mid=i.mid,r.left=i.left,r.right=i.right,r.leftPoints=i.leftPoints,r.rightPoints=i.rightPoints,r.count=i.count}function Rt(r,i){var t=ne(i);r.mid=t.mid,r.left=t.left,r.right=t.right,r.leftPoints=t.leftPoints,r.rightPoints=t.rightPoints,r.count=t.count}function Xe(r,i){var t=r.intervals([]);t.push(i),Rt(r,t)}function Ze(r,i){var t=r.intervals([]),e=t.indexOf(i);return e<0?oe:(t.splice(e,1),Rt(r,t),Z)}ue.intervals=function(r){return r.push.apply(r,this.leftPoints),this.left&&this.left.intervals(r),this.right&&this.right.intervals(r),r};ue.insert=function(r){var i=this.count-this.leftPoints.length;if(this.count+=1,r[1]3*(i+1)?Xe(this,r):this.left.insert(r):this.left=ne([r]);else if(r[0]>this.mid)this.right?4*(this.right.count+1)>3*(i+1)?Xe(this,r):this.right.insert(r):this.right=ne([r]);else{var t=ve.ge(this.leftPoints,r,Ie),e=ve.ge(this.rightPoints,r,be);this.leftPoints.splice(t,0,r),this.rightPoints.splice(e,0,r)}};ue.remove=function(r){var i=this.count-this.leftPoints;if(r[1]3*(i-1))return Ze(this,r);var e=this.left.remove(r);return e===ge?(this.left=null,this.count-=1,Z):(e===Z&&(this.count-=1),e)}else if(r[0]>this.mid){if(!this.right)return oe;var o=this.left?this.left.count:0;if(4*o>3*(i-1))return Ze(this,r);var e=this.right.remove(r);return e===ge?(this.right=null,this.count-=1,Z):(e===Z&&(this.count-=1),e)}else{if(this.count===1)return this.leftPoints[0]===r?ge:oe;if(this.leftPoints.length===1&&this.leftPoints[0]===r){if(this.left&&this.right){for(var n=this,l=this.left;l.right;)n=l,l=l.right;if(n===this)l.right=this.right;else{var s=this.left,e=this.right;n.count-=l.count,n.right=l.left,l.left=s,l.right=e}_e(this,l),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?_e(this,this.left):_e(this,this.right);return Z}for(var s=ve.ge(this.leftPoints,r,Ie);s=0&&r[e][1]>=i;--e){var o=t(r[e]);if(o)return o}}function xt(r,i){for(var t=0;tthis.mid){if(this.right){var t=this.right.queryPoint(r,i);if(t)return t}return zt(this.rightPoints,r,i)}else return xt(this.leftPoints,i)};ue.queryInterval=function(r,i,t){if(rthis.mid&&this.right){var e=this.right.queryInterval(r,i,t);if(e)return e}return ithis.mid?zt(this.rightPoints,r,t):xt(this.leftPoints,t)};function Lo(r,i){return r-i}function Ie(r,i){var t=r[0]-i[0];return t||r[1]-i[1]}function be(r,i){var t=r[1]-i[1];return t||r[0]-i[0]}function ne(r){if(r.length===0)return null;for(var i=[],t=0;t>1],o=[],n=[],l=[],t=0;t"u"?(z=A,x=A):(z=Math.min(z,A),x=Math.max(x,A)),M.push(a({index:A,isScrolling:O,key:p(A),parent:e,style:(N={height:s.getHeight(A)},h(N,w==="ltr"?"left":"right",$),h(N,"position","absolute"),h(N,"top",V),h(N,"width",s.getWidth(A)),N)}))}),S0&&arguments[0]!==void 0?arguments[0]:{};k(this,r),h(this,"_cellMeasurerCache",void 0),h(this,"_columnIndexOffset",void 0),h(this,"_rowIndexOffset",void 0),h(this,"columnWidth",function(a){var c=a.index;i._cellMeasurerCache.columnWidth({index:c+i._columnIndexOffset})}),h(this,"rowHeight",function(a){var c=a.index;i._cellMeasurerCache.rowHeight({index:c+i._rowIndexOffset})});var e=t.cellMeasurerCache,o=t.columnIndexOffset,n=o===void 0?0:o,l=t.rowIndexOffset,s=l===void 0?0:l;this._cellMeasurerCache=e,this._columnIndexOffset=n,this._rowIndexOffset=s}return G(r,[{key:"clear",value:function(t,e){this._cellMeasurerCache.clear(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"getWidth",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"has",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"set",value:function(t,e,o,n){this._cellMeasurerCache.set(t+this._rowIndexOffset,e+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),r}();function ot(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function E(r){for(var i=1;i0?new we({cellMeasurerCache:n,columnIndexOffset:0,rowIndexOffset:s}):n,o._deferredMeasurementCacheBottomRightGrid=l>0||s>0?new we({cellMeasurerCache:n,columnIndexOffset:l,rowIndexOffset:s}):n,o._deferredMeasurementCacheTopRightGrid=l>0?new we({cellMeasurerCache:n,columnIndexOffset:l,rowIndexOffset:0}):n),o}return G(i,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,s=l===void 0?0:l;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,s):s}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,s=l===void 0?0:l,a=this.props,c=a.fixedColumnCount,d=a.fixedRowCount,u=Math.max(0,n-c),p=Math.max(0,s-d);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:u,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:s}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:u,rowIndex:s}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,o=e.scrollLeft,n=e.scrollTop;if(o>0||n>0){var l={};o>0&&(l.scrollLeft=o),n>0&&(l.scrollTop=n),this.setState(l)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,o=e.onScroll,n=e.onSectionRendered;e.onScrollbarPresenceChange,e.scrollLeft;var l=e.scrollToColumn;e.scrollTop;var s=e.scrollToRow,a=se(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,d=c.scrollLeft,u=c.scrollTop;return y.createElement("div",{style:this._containerOuterStyle},y.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(a),this._renderTopRightGrid(E({},a,{onScroll:o,scrollLeft:d}))),y.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(E({},a,{onScroll:o,scrollTop:u})),this._renderBottomRightGrid(E({},a,{onScroll:o,onSectionRendered:n,scrollLeft:d,scrollToColumn:l,scrollToRow:s,scrollTop:u}))))}},{key:"_getBottomGridHeight",value:function(e){var o=e.height,n=this._getTopGridHeight(e);return o-n}},{key:"_getLeftGridWidth",value:function(e){var o=e.fixedColumnCount,n=e.columnWidth;if(this._leftGridWidth==null)if(typeof n=="function"){for(var l=0,s=0;s=0?e.scrollLeft:o.scrollLeft,scrollTop:e.scrollTop!=null&&e.scrollTop>=0?e.scrollTop:o.scrollTop}:null}}]),i}(y.PureComponent);h(Oe,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Oe.propTypes={};de(Oe);function Do(r){var i=r.dataKey,t=r.rowData;return typeof t.get=="function"?t.get(i):t[i]}function Ho(r){var i=r.cellData;return i==null?"":String(i)}function bt(r){var i=r.className,t=r.columns,e=r.style;return y.createElement("div",{className:i,role:"row",style:e},t)}bt.propTypes=null;var q={ASC:"ASC",DESC:"DESC"};function Ot(r){var i=r.sortDirection,t=U("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":i===q.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":i===q.DESC});return y.createElement("svg",{className:t,width:18,height:18,viewBox:"0 0 24 24"},i===q.ASC?y.createElement("path",{d:"M7 14l5-5 5 5z"}):y.createElement("path",{d:"M7 10l5 5 5-5z"}),y.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Ot.propTypes={};function Mt(r){var i=r.dataKey,t=r.label,e=r.sortBy,o=r.sortDirection,n=e===i,l=[y.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof t=="string"?t:null},t)];return n&&l.push(y.createElement(Ot,{key:"SortIndicator",sortDirection:o})),l}Mt.propTypes=null;function Lt(r){var i=r.className,t=r.columns,e=r.index,o=r.key,n=r.onRowClick,l=r.onRowDoubleClick,s=r.onRowMouseOut,a=r.onRowMouseOver,c=r.onRowRightClick,d=r.rowData,u=r.style,p={"aria-rowindex":e+1};return(n||l||s||a||c)&&(p["aria-label"]="row",p.tabIndex=0,n&&(p.onClick=function(f){return n({event:f,index:e,rowData:d})}),l&&(p.onDoubleClick=function(f){return l({event:f,index:e,rowData:d})}),s&&(p.onMouseOut=function(f){return s({event:f,index:e,rowData:d})}),a&&(p.onMouseOver=function(f){return a({event:f,index:e,rowData:d})}),c&&(p.onContextMenu=function(f){return c({event:f,index:e,rowData:d})})),y.createElement("div",j({},p,{className:i,key:o,role:"row",style:u}),t)}Lt.propTypes=null;var Pt=function(r){H(i,r);function i(){return k(this,i),W(this,F(i).apply(this,arguments))}return i}(y.Component);h(Pt,"defaultProps",{cellDataGetter:Do,cellRenderer:Ho,defaultSortDirection:q.ASC,flexGrow:0,flexShrink:1,headerRenderer:Mt,style:{}});Pt.propTypes={};function it(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function te(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:{},o=e.columnIndex,n=o===void 0?0:o,l=e.rowIndex,s=l===void 0?0:l;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Te.findDOMNode(this.Grid),o=e.clientWidth||0,n=e.offsetWidth||0;return n-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,o=this.props,n=o.children,l=o.className,s=o.disableHeader,a=o.gridClassName,c=o.gridStyle,d=o.headerHeight,u=o.headerRowRenderer,p=o.height,f=o.id,v=o.noRowsRenderer,m=o.rowClassName,_=o.rowStyle,C=o.scrollToIndex,w=o.style,R=o.width,O=this.state.scrollbarWidth,I=s?p:p-d,M=typeof m=="function"?m({index:-1}):m,T=typeof _=="function"?_({index:-1}):_;return this._cachedColumnStyles=[],y.Children.toArray(n).forEach(function(S,b){var z=e._getFlexStyleForColumn(S,S.props.style);e._cachedColumnStyles[b]=te({overflow:"hidden"},z)}),y.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":y.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:U("ReactVirtualized__Table",l),id:f,role:"grid",style:w},!s&&u({className:U("ReactVirtualized__Table__headerRow",M),columns:this._getHeaderColumns(),style:te({height:d,overflow:"hidden",paddingRight:O,width:R},T)}),y.createElement(K,j({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:U("ReactVirtualized__Table__Grid",a),cellRenderer:this._createRow,columnWidth:R,columnCount:1,height:I,id:void 0,noContentRenderer:v,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:O,scrollToRow:C,style:te({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var o=e.column,n=e.columnIndex,l=e.isScrolling,s=e.parent,a=e.rowData,c=e.rowIndex,d=this.props.onColumnClick,u=o.props,p=u.cellDataGetter,f=u.cellRenderer,v=u.className,m=u.columnData,_=u.dataKey,C=u.id,w=p({columnData:m,dataKey:_,rowData:a}),R=f({cellData:w,columnData:m,columnIndex:n,dataKey:_,isScrolling:l,parent:s,rowData:a,rowIndex:c}),O=function(S){d&&d({columnData:m,dataKey:_,event:S})},I=this._cachedColumnStyles[n],M=typeof R=="string"?R:null;return y.createElement("div",{"aria-colindex":n+1,"aria-describedby":C,className:U("ReactVirtualized__Table__rowColumn",v),key:"Row"+c+"-Col"+n,onClick:O,role:"gridcell",style:I,title:M},R)}},{key:"_createHeader",value:function(e){var o=e.column,n=e.index,l=this.props,s=l.headerClassName,a=l.headerStyle,c=l.onHeaderClick,d=l.sort,u=l.sortBy,p=l.sortDirection,f=o.props,v=f.columnData,m=f.dataKey,_=f.defaultSortDirection,C=f.disableSort,w=f.headerRenderer,R=f.id,O=f.label,I=!C&&d,M=U("ReactVirtualized__Table__headerColumn",s,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:I}),T=this._getFlexStyleForColumn(o,te({},a,{},o.props.headerStyle)),S=w({columnData:v,dataKey:m,disableSort:C,label:O,sortBy:u,sortDirection:p}),b,z,x,P,L;if(I||c){var A=u!==m,$=A?_:p===q.DESC?q.ASC:q.DESC,V=function(J){I&&d({defaultSortDirection:_,event:J,sortBy:m,sortDirection:$}),c&&c({columnData:v,dataKey:m,event:J})},N=function(J){(J.key==="Enter"||J.key===" ")&&V(J)};L=o.props["aria-label"]||O||m,P="none",x=0,b=V,z=N}return u===m&&(P=p===q.ASC?"ascending":"descending"),y.createElement("div",{"aria-label":L,"aria-sort":P,className:M,id:R,key:"Header-Col"+n,onClick:b,onKeyDown:z,role:"columnheader",style:T,tabIndex:x},S)}},{key:"_createRow",value:function(e){var o=this,n=e.rowIndex,l=e.isScrolling,s=e.key,a=e.parent,c=e.style,d=this.props,u=d.children,p=d.onRowClick,f=d.onRowDoubleClick,v=d.onRowRightClick,m=d.onRowMouseOver,_=d.onRowMouseOut,C=d.rowClassName,w=d.rowGetter,R=d.rowRenderer,O=d.rowStyle,I=this.state.scrollbarWidth,M=typeof C=="function"?C({index:n}):C,T=typeof O=="function"?O({index:n}):O,S=w({index:n}),b=y.Children.toArray(u).map(function(P,L){return o._createColumn({column:P,columnIndex:L,isScrolling:l,parent:a,rowData:S,rowIndex:n,scrollbarWidth:I})}),z=U("ReactVirtualized__Table__row",M),x=te({},c,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:I},T);return R({className:z,columns:b,index:n,isScrolling:l,key:s,onRowClick:p,onRowDoubleClick:f,onRowRightClick:v,onRowMouseOver:m,onRowMouseOut:_,rowData:S,style:x})}},{key:"_getFlexStyleForColumn",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),l=te({},o,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(l.maxWidth=e.props.maxWidth),e.props.minWidth&&(l.minWidth=e.props.minWidth),l}},{key:"_getHeaderColumns",value:function(){var e=this,o=this.props,n=o.children,l=o.disableHeader,s=l?[]:y.Children.toArray(n);return s.map(function(a,c){return e._createHeader({column:a,index:c})})}},{key:"_getRowHeight",value:function(e){var o=this.props.rowHeight;return typeof o=="function"?o({index:e}):o}},{key:"_onScroll",value:function(e){var o=e.clientHeight,n=e.scrollHeight,l=e.scrollTop,s=this.props.onScroll;s({clientHeight:o,scrollHeight:n,scrollTop:l})}},{key:"_onSectionRendered",value:function(e){var o=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,l=e.rowStartIndex,s=e.rowStopIndex,a=this.props.onRowsRendered;a({overscanStartIndex:o,overscanStopIndex:n,startIndex:l,stopIndex:s})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),i}(y.PureComponent);h(kt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:vt,overscanRowCount:10,rowRenderer:Lt,headerRowRenderer:bt,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});kt.propTypes={};var Q=[],ce=null,Y=null;function Gt(){Y&&(Y=null,document.body&&ce!=null&&(document.body.style.pointerEvents=ce),ce=null)}function Wo(){Gt(),Q.forEach(function(r){return r.__resetIsScrolling()})}function Fo(){Y&&ie(Y);var r=0;Q.forEach(function(i){r=Math.max(r,i.props.scrollingResetTimeInterval)}),Y=ze(Wo,r)}function At(r){r.currentTarget===window&&ce==null&&document.body&&(ce=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),Fo(),Q.forEach(function(i){i.props.scrollElement===r.currentTarget&&i.__handleWindowScrollEvent()})}function nt(r,i){Q.some(function(t){return t.props.scrollElement===i})||i.addEventListener("scroll",At),Q.push(r)}function lt(r,i){Q=Q.filter(function(t){return t!==r}),Q.length||(i.removeEventListener("scroll",At),Y&&(ie(Y),Gt()))}var Me=function(i){return i===window},ae=function(i){return i.getBoundingClientRect()};function st(r,i){if(r)if(Me(r)){var t=window,e=t.innerHeight,o=t.innerWidth;return{height:typeof e=="number"?e:0,width:typeof o=="number"?o:0}}else return ae(r);else return{height:i.serverHeight,width:i.serverWidth}}function No(r,i){if(Me(i)&&document.documentElement){var t=document.documentElement,e=ae(r),o=ae(t);return{top:e.top-o.top,left:e.left-o.left}}else{var n=Et(i),l=ae(r),s=ae(i);return{top:l.top+n.top-s.top,left:l.left+n.left-s.left}}}function Et(r){return Me(r)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:r.scrollTop,left:r.scrollLeft}}var at,ct;function dt(r,i){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);i&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function Uo(r){for(var i=1;i0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,n=this.state,l=n.height,s=n.width,a=this._child||Te.findDOMNode(this);if(a instanceof Element&&e){var c=No(a,e);this._positionFromTop=c.top,this._positionFromLeft=c.left}var d=st(e,this.props);(l!==d.height||s!==d.width)&&(this.setState({height:d.height,width:d.width}),o({height:d.height,width:d.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=St(),this.updatePosition(e),e&&(nt(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,o){var n=this.props.scrollElement,l=e.scrollElement;l!==n&&l!=null&&n!=null&&(this.updatePosition(n),lt(this,l),nt(this,n),this._unregisterResizeListener(l),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(lt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,o=this.state,n=o.isScrolling,l=o.scrollTop,s=o.scrollLeft,a=o.height,c=o.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:a,isScrolling:n,scrollLeft:s,scrollTop:l,width:c})}}]),i}(y.PureComponent),h(at,"propTypes",null),ct);h(jo,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:$o,scrollElement:Dt(),serverHeight:0,serverWidth:0});var Bo={name:"1jvyu5u",styles:"display:flex;flex-direction:row;align-items:center;padding:0 16px;background-color:#fff;border-bottom:1px solid #e0e0e0"},Vo={name:"mkkf9p",styles:"flex:1 1 auto"};const Ko=()=>({wrapper:Vo,row:Bo}),ut=new Array(100).fill(void 0).map((r,i)=>`item${i+1}`),Qo=()=>{const r=Ko();return he("div",{style:{height:400},css:r.wrapper,children:he(_t,{children:({height:i,width:t})=>he(yt,{height:i,rowCount:ut.length,rowHeight:30,rowRenderer:({key:e,index:o,style:n})=>he("div",{style:n,css:r.row,children:ut[o]},e),width:t})})})};export{Qo as default}; diff --git a/assets/js/index-nVNNlwDH.js b/assets/js/index-nVNNlwDH.js new file mode 100644 index 0000000..e7853b7 --- /dev/null +++ b/assets/js/index-nVNNlwDH.js @@ -0,0 +1,494 @@ +function L5(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A5={exports:{}},Zm={},j5={exports:{}},Bt={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var vf=Symbol.for("react.element"),Lk=Symbol.for("react.portal"),Ak=Symbol.for("react.fragment"),jk=Symbol.for("react.strict_mode"),zk=Symbol.for("react.profiler"),Hk=Symbol.for("react.provider"),Bk=Symbol.for("react.context"),Vk=Symbol.for("react.forward_ref"),Wk=Symbol.for("react.suspense"),Kk=Symbol.for("react.memo"),Uk=Symbol.for("react.lazy"),Bw=Symbol.iterator;function Yk(e){return e===null||typeof e!="object"?null:(e=Bw&&e[Bw]||e["@@iterator"],typeof e=="function"?e:null)}var z5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H5=Object.assign,B5={};function Bc(e,t,n){this.props=e,this.context=t,this.refs=B5,this.updater=n||z5}Bc.prototype.isReactComponent={};Bc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Bc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function V5(){}V5.prototype=Bc.prototype;function XC(e,t,n){this.props=e,this.context=t,this.refs=B5,this.updater=n||z5}var qC=XC.prototype=new V5;qC.constructor=XC;H5(qC,Bc.prototype);qC.isPureReactComponent=!0;var Vw=Array.isArray,W5=Object.prototype.hasOwnProperty,QC={current:null},K5={key:!0,ref:!0,__self:!0,__source:!0};function U5(e,t,n){var r,o={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)W5.call(t,r)&&!K5.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(10?vr(Vc,--Ur):0,mc--,Kn===10&&(mc=1,eh--),Kn}function fo(){return Kn=Ur2||wd(Kn)>3?"":" "}function gF(e,t){for(;--t&&fo()&&!(Kn<48||Kn>102||Kn>57&&Kn<65||Kn>70&&Kn<97););return pf(e,tp()+(t<6&&Oa()==32&&fo()==32))}function G1(e){for(;fo();)switch(Kn){case e:return Ur;case 34:case 39:e!==34&&e!==39&&G1(Kn);break;case 40:e===41&&G1(e);break;case 92:fo();break}return Ur}function yF(e,t){for(;fo()&&e+Kn!==57;)if(e+Kn===84&&Oa()===47)break;return"/*"+pf(t,Ur-1)+"*"+Jm(e===47?e:fo())}function bF(e){for(;!wd(Oa());)fo();return pf(e,Ur)}function e8(e){return J5(rp("",null,null,null,[""],e=Z5(e),0,[0],e))}function rp(e,t,n,r,o,a,i,l,s){for(var u=0,d=0,f=i,v=0,p=0,m=0,y=1,h=1,g=1,b=0,C="",x=o,S=a,w=r,$=C;h;)switch(m=b,b=fo()){case 40:if(m!=108&&vr($,f-1)==58){Y1($+=ln(np(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:$+=np(b);break;case 9:case 10:case 13:case 32:$+=hF(m);break;case 92:$+=gF(tp()-1,7);continue;case 47:switch(Oa()){case 42:case 47:lv(CF(yF(fo(),tp()),t,n),s);break;default:$+="/"}break;case 123*y:l[u++]=Ca($)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+d:g==-1&&($=ln($,/\f/g,"")),p>0&&Ca($)-f&&lv(p>32?Uw($+";",r,n,f-1):Uw(ln($," ","")+";",r,n,f-2),s);break;case 59:$+=";";default:if(lv(w=Kw($,t,n,u,d,o,l,C,x=[],S=[],f),a),b===123)if(d===0)rp($,t,w,w,x,a,f,l,S);else switch(v===99&&vr($,3)===110?100:v){case 100:case 108:case 109:case 115:rp(e,w,w,r&&lv(Kw(e,w,w,0,0,o,l,C,o,x=[],f),S),o,S,f,l,r?x:S);break;default:rp($,w,w,w,[""],S,0,l,S)}}u=d=p=0,y=g=1,C=$="",f=i;break;case 58:f=1+Ca($),p=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&mF()==125)continue}switch($+=Jm(b),b*y){case 38:g=d>0?1:($+="\f",-1);break;case 44:l[u++]=(Ca($)-1)*g,g=1;break;case 64:Oa()===45&&($+=np(fo())),v=Oa(),d=f=Ca(C=$+=bF(tp())),b++;break;case 45:m===45&&Ca($)==2&&(y=0)}}return a}function Kw(e,t,n,r,o,a,i,l,s,u,d){for(var f=o-1,v=o===0?a:[""],p=tx(v),m=0,y=0,h=0;m0?v[g]+" "+b:ln(b,/&\f/g,v[g])))&&(s[h++]=C);return th(e,t,n,o===0?JC:l,s,u,d)}function CF(e,t,n){return th(e,t,n,G5,Jm(pF()),Sd(e,2,-2),0)}function Uw(e,t,n,r){return th(e,t,n,ex,Sd(e,0,r),Sd(e,r+1,-1),r)}function Ol(e,t){for(var n="",r=tx(e),o=0;o6)switch(vr(e,t+1)){case 109:if(vr(e,t+4)!==45)break;case 102:return ln(e,/(.+:)(.+)-([^]+)/,"$1"+an+"$2-$3$1"+Tp+(vr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Y1(e,"stretch")?n8(ln(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(vr(e,t+1)!==115)break;case 6444:switch(vr(e,Ca(e)-3-(~Y1(e,"!important")&&10))){case 107:return ln(e,":",":"+an)+e;case 101:return ln(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+an+(vr(e,14)===45?"inline-":"")+"box$3$1"+an+"$2$3$1"+Er+"$2box$3")+e}break;case 5936:switch(vr(e,t+11)){case 114:return an+e+Er+ln(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return an+e+Er+ln(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return an+e+Er+ln(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return an+e+Er+e+e}return e}var RF=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ex:t.return=n8(t.value,t.length);break;case X5:return Ol([gu(t,{value:ln(t.value,"@","@"+an)})],o);case JC:if(t.length)return vF(t.props,function(a){switch(fF(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ol([gu(t,{props:[ln(a,/:(read-\w+)/,":"+Tp+"$1")]})],o);case"::placeholder":return Ol([gu(t,{props:[ln(a,/:(plac\w+)/,":"+an+"input-$1")]}),gu(t,{props:[ln(a,/:(plac\w+)/,":"+Tp+"$1")]}),gu(t,{props:[ln(a,/:(plac\w+)/,Er+"input-$1")]})],o)}return""})}},IF=[RF],NF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var h=y.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||IF,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var h=y.getAttribute("data-emotion").split(" "),g=1;g=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var WF={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},KF=/[A-Z]|^ms/g,UF=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s8=function(t){return t.charCodeAt(1)===45},Gw=function(t){return t!=null&&typeof t!="boolean"},s0=wF(function(e){return s8(e)?e:e.replace(KF,"-$&").toLowerCase()}),Xw=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(UF,function(r,o,a){return xa={name:o,styles:a,next:xa},o})}return WF[t]!==1&&!s8(t)&&typeof n=="number"&&n!==0?n+"px":n};function $d(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return xa={name:n.name,styles:n.styles,next:xa},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)xa={name:r.name,styles:r.styles,next:xa},r=r.next;var o=n.styles+";";return o}return YF(e,t,n)}case"function":{if(e!==void 0){var a=xa,i=n(e);return xa=a,$d(e,t,i)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function YF(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o>>1,B=D[z];if(0>>1;zo(W,H))Yo(X,W)?(D[z]=X,D[Y]=H,z=Y):(D[z]=W,D[K]=H,z=K);else if(Yo(X,H))D[z]=X,D[Y]=H,z=Y;else break e}}return j}function o(D,j){var H=D.sortIndex-j.sortIndex;return H!==0?H:D.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],d=1,f=null,v=3,p=!1,m=!1,y=!1,h=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(D){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=D)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function x(D){if(y=!1,C(D),!m)if(n(s)!==null)m=!0,k(S);else{var j=n(u);j!==null&&F(x,j.startTime-D)}}function S(D,j){m=!1,y&&(y=!1,g(O),O=-1),p=!0;var H=v;try{for(C(j),f=n(s);f!==null&&(!(f.expirationTime>j)||D&&!T());){var z=f.callback;if(typeof z=="function"){f.callback=null,v=f.priorityLevel;var B=z(f.expirationTime<=j);j=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(s)&&r(s),C(j)}else r(s);f=n(s)}if(f!==null)var V=!0;else{var K=n(u);K!==null&&F(x,K.startTime-j),V=!1}return V}finally{f=null,v=H,p=!1}}var w=!1,$=null,O=-1,P=5,R=-1;function T(){return!(e.unstable_now()-RD||125z?(D.sortIndex=H,t(u,D),n(s)===null&&D===n(u)&&(y?(g(O),O=-1):y=!0,F(x,H-z))):(D.sortIndex=B,t(s,D),m||p||(m=!0,k(S))),D},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(D){var j=v;return function(){var H=v;v=j;try{return D.apply(this,arguments)}finally{v=H}}}})(p8);v8.exports=p8;var nD=v8.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var m8=c,mo=nD;function Ae(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Q1=Object.prototype.hasOwnProperty,rD=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Zw={},Jw={};function oD(e){return Q1.call(Jw,e)?!0:Q1.call(Zw,e)?!1:rD.test(e)?Jw[e]=!0:(Zw[e]=!0,!1)}function aD(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function iD(e,t,n,r){if(t===null||typeof t>"u"||aD(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Dr(e,t,n,r,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var br={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){br[e]=new Dr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];br[t]=new Dr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){br[e]=new Dr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){br[e]=new Dr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){br[e]=new Dr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){br[e]=new Dr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){br[e]=new Dr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){br[e]=new Dr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){br[e]=new Dr(e,5,!1,e.toLowerCase(),null,!1,!1)});var ax=/[\-:]([a-z])/g;function ix(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ax,ix);br[t]=new Dr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ax,ix);br[t]=new Dr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ax,ix);br[t]=new Dr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){br[e]=new Dr(e,1,!1,e.toLowerCase(),null,!1,!1)});br.xlinkHref=new Dr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){br[e]=new Dr(e,1,!1,e.toLowerCase(),null,!0,!0)});function lx(e,t,n,r){var o=br.hasOwnProperty(t)?br[t]:null;(o!==null?o.type!==0:r||!(2l||o[i]!==a[l]){var s=` +`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{u0=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hu(e):""}function lD(e){switch(e.tag){case 5:return Hu(e.type);case 16:return Hu("Lazy");case 13:return Hu("Suspense");case 19:return Hu("SuspenseList");case 0:case 2:case 15:return e=d0(e.type,!1),e;case 11:return e=d0(e.type.render,!1),e;case 1:return e=d0(e.type,!0),e;default:return""}}function ty(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case As:return"Fragment";case Ls:return"Portal";case Z1:return"Profiler";case sx:return"StrictMode";case J1:return"Suspense";case ey:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y8:return(e.displayName||"Context")+".Consumer";case g8:return(e._context.displayName||"Context")+".Provider";case cx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ux:return t=e.displayName||null,t!==null?t:ty(e.type)||"Memo";case wi:t=e._payload,e=e._init;try{return ty(e(t))}catch{}}return null}function sD(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ty(t);case 8:return t===sx?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ui(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C8(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cD(e){var t=C8(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cv(e){e._valueTracker||(e._valueTracker=cD(e))}function x8(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=C8(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _p(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ny(e,t){var n=t.checked;return Tn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function t$(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ui(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function S8(e,t){t=t.checked,t!=null&&lx(e,"checked",t,!1)}function ry(e,t){S8(e,t);var n=Ui(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?oy(e,t.type,n):t.hasOwnProperty("defaultValue")&&oy(e,t.type,Ui(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function n$(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function oy(e,t,n){(t!=="number"||_p(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bu=Array.isArray;function ec(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=uv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},uD=["Webkit","ms","Moz","O"];Object.keys(Zu).forEach(function(e){uD.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zu[t]=Zu[e]})});function P8(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zu.hasOwnProperty(e)&&Zu[e]?(""+t).trim():t+"px"}function O8(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=P8(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dD=Tn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ly(e,t){if(t){if(dD[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ae(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ae(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ae(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ae(62))}}function sy(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cy=null;function dx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uy=null,tc=null,nc=null;function a$(e){if(e=gf(e)){if(typeof uy!="function")throw Error(Ae(280));var t=e.stateNode;t&&(t=gh(t),uy(e.stateNode,e.type,t))}}function M8(e){tc?nc?nc.push(e):nc=[e]:tc=e}function R8(){if(tc){var e=tc,t=nc;if(nc=tc=null,a$(e),t)for(e=0;e>>=0,e===0?32:31-(SD(e)/wD|0)|0}var dv=64,fv=4194304;function Vu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lp(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=Vu(l):(a&=i,a!==0&&(r=Vu(a)))}else i=n&~o,i!==0?r=Vu(i):a!==0&&(r=Vu(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function mf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-sa(t),e[t]=n}function OD(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ed),p$=" ",m$=!1;function X8(e,t){switch(e){case"keyup":return tL.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function q8(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var js=!1;function rL(e,t){switch(e){case"compositionend":return q8(t);case"keypress":return t.which!==32?null:(m$=!0,p$);case"textInput":return e=t.data,e===p$&&m$?null:e;default:return null}}function oL(e,t){if(js)return e==="compositionend"||!bx&&X8(e,t)?(e=Y8(),ap=hx=Mi=null,js=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=b$(n)}}function eO(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eO(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tO(){for(var e=window,t=_p();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_p(e.document)}return t}function Cx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function vL(e){var t=tO(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&eO(n.ownerDocument.documentElement,n)){if(r!==null&&Cx(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=r.end===void 0?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=C$(n,a);var i=C$(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,zs=null,hy=null,nd=null,gy=!1;function x$(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gy||zs==null||zs!==_p(r)||(r=zs,"selectionStart"in r&&Cx(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),nd&&Td(nd,r)||(nd=r,r=zp(hy,"onSelect"),0Vs||(e.current=wy[Vs],wy[Vs]=null,Vs--)}function xn(e,t){Vs++,wy[Vs]=e.current,e.current=t}var Yi={},Rr=Zi(Yi),Vr=Zi(!1),Fl=Yi;function gc(e,t){var n=e.type.contextTypes;if(!n)return Yi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Wr(e){return e=e.childContextTypes,e!=null}function Bp(){Pn(Vr),Pn(Rr)}function M$(e,t,n){if(Rr.current!==Yi)throw Error(Ae(168));xn(Rr,t),xn(Vr,n)}function uO(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Ae(108,sD(e)||"Unknown",o));return Tn({},n,r)}function Vp(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yi,Fl=Rr.current,xn(Rr,e),xn(Vr,Vr.current),!0}function R$(e,t,n){var r=e.stateNode;if(!r)throw Error(Ae(169));n?(e=uO(e,t,Fl),r.__reactInternalMemoizedMergedChildContext=e,Pn(Vr),Pn(Rr),xn(Rr,e)):Pn(Vr),xn(Vr,n)}var Ua=null,yh=!1,E0=!1;function dO(e){Ua===null?Ua=[e]:Ua.push(e)}function EL(e){yh=!0,dO(e)}function Ji(){if(!E0&&Ua!==null){E0=!0;var e=0,t=un;try{var n=Ua;for(un=1;e>=i,o-=i,Ga=1<<32-sa(t)+o|n<O?(P=$,$=null):P=$.sibling;var R=v(g,$,C[O],x);if(R===null){$===null&&($=P);break}e&&$&&R.alternate===null&&t(g,$),b=a(R,b,O),w===null?S=R:w.sibling=R,w=R,$=P}if(O===C.length)return n(g,$),Rn&&vl(g,O),S;if($===null){for(;OO?(P=$,$=null):P=$.sibling;var T=v(g,$,R.value,x);if(T===null){$===null&&($=P);break}e&&$&&T.alternate===null&&t(g,$),b=a(T,b,O),w===null?S=T:w.sibling=T,w=T,$=P}if(R.done)return n(g,$),Rn&&vl(g,O),S;if($===null){for(;!R.done;O++,R=C.next())R=f(g,R.value,x),R!==null&&(b=a(R,b,O),w===null?S=R:w.sibling=R,w=R);return Rn&&vl(g,O),S}for($=r(g,$);!R.done;O++,R=C.next())R=p($,g,O,R.value,x),R!==null&&(e&&R.alternate!==null&&$.delete(R.key===null?O:R.key),b=a(R,b,O),w===null?S=R:w.sibling=R,w=R);return e&&$.forEach(function(N){return t(g,N)}),Rn&&vl(g,O),S}function h(g,b,C,x){if(typeof C=="object"&&C!==null&&C.type===As&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case sv:e:{for(var S=C.key,w=b;w!==null;){if(w.key===S){if(S=C.type,S===As){if(w.tag===7){n(g,w.sibling),b=o(w,C.props.children),b.return=g,g=b;break e}}else if(w.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===wi&&D$(S)===w.type){n(g,w.sibling),b=o(w,C.props),b.ref=wu(g,w,C),b.return=g,g=b;break e}n(g,w);break}else t(g,w);w=w.sibling}C.type===As?(b=Rl(C.props.children,g.mode,x,C.key),b.return=g,g=b):(x=vp(C.type,C.key,C.props,null,g.mode,x),x.ref=wu(g,b,C),x.return=g,g=x)}return i(g);case Ls:e:{for(w=C.key;b!==null;){if(b.key===w)if(b.tag===4&&b.stateNode.containerInfo===C.containerInfo&&b.stateNode.implementation===C.implementation){n(g,b.sibling),b=o(b,C.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else t(g,b);b=b.sibling}b=_0(C,g.mode,x),b.return=g,g=b}return i(g);case wi:return w=C._init,h(g,b,w(C._payload),x)}if(Bu(C))return m(g,b,C,x);if(yu(C))return y(g,b,C,x);bv(g,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,b!==null&&b.tag===6?(n(g,b.sibling),b=o(b,C),b.return=g,g=b):(n(g,b),b=T0(C,g.mode,x),b.return=g,g=b),i(g)):n(g,b)}return h}var bc=bO(!0),CO=bO(!1),yf={},Ra=Zi(yf),Dd=Zi(yf),Ld=Zi(yf);function Cl(e){if(e===yf)throw Error(Ae(174));return e}function Rx(e,t){switch(xn(Ld,t),xn(Dd,e),xn(Ra,yf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:iy(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=iy(t,e)}Pn(Ra),xn(Ra,t)}function Cc(){Pn(Ra),Pn(Dd),Pn(Ld)}function xO(e){Cl(Ld.current);var t=Cl(Ra.current),n=iy(t,e.type);t!==n&&(xn(Dd,e),xn(Ra,n))}function Ix(e){Dd.current===e&&(Pn(Ra),Pn(Dd))}var In=Zi(0);function Xp(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var P0=[];function Nx(){for(var e=0;en?n:4,e(!0);var r=O0.transition;O0.transition={};try{e(!1),t()}finally{un=n,O0.transition=r}}function LO(){return zo().memoizedState}function RL(e,t,n){var r=Bi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},AO(e))jO(t,n);else if(n=mO(e,t,n,r),n!==null){var o=_r();ca(n,e,r,o),zO(n,t,r)}}function IL(e,t,n){var r=Bi(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(AO(e))jO(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,fa(l,i)){var s=t.interleaved;s===null?(o.next=o,Ox(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=mO(e,t,o,r),n!==null&&(o=_r(),ca(n,e,r,o),zO(n,t,r))}}function AO(e){var t=e.alternate;return e===Nn||t!==null&&t===Nn}function jO(e,t){rd=qp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zO(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vx(e,n)}}var Qp={readContext:jo,useCallback:wr,useContext:wr,useEffect:wr,useImperativeHandle:wr,useInsertionEffect:wr,useLayoutEffect:wr,useMemo:wr,useReducer:wr,useRef:wr,useState:wr,useDebugValue:wr,useDeferredValue:wr,useTransition:wr,useMutableSource:wr,useSyncExternalStore:wr,useId:wr,unstable_isNewReconciler:!1},NL={readContext:jo,useCallback:function(e,t){return ba().memoizedState=[e,t===void 0?null:t],e},useContext:jo,useEffect:A$,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cp(4194308,4,TO.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cp(4194308,4,e,t)},useInsertionEffect:function(e,t){return cp(4,2,e,t)},useMemo:function(e,t){var n=ba();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ba();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=RL.bind(null,Nn,e),[r.memoizedState,e]},useRef:function(e){var t=ba();return e={current:e},t.memoizedState=e},useState:L$,useDebugValue:Dx,useDeferredValue:function(e){return ba().memoizedState=e},useTransition:function(){var e=L$(!1),t=e[0];return e=ML.bind(null,e[1]),ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Nn,o=ba();if(Rn){if(n===void 0)throw Error(Ae(407));n=n()}else{if(n=t(),ar===null)throw Error(Ae(349));Ll&30||$O(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,A$(PO.bind(null,r,a,e),[e]),r.flags|=2048,zd(9,EO.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ba(),t=ar.identifierPrefix;if(Rn){var n=Xa,r=Ga;n=(r&~(1<<32-sa(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ad++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Sa]=t,e[Fd]=r,XO(e,t,!1,!1),t.stateNode=e;e:{switch(i=sy(n,r),n){case"dialog":$n("cancel",e),$n("close",e),o=r;break;case"iframe":case"object":case"embed":$n("load",e),o=r;break;case"video":case"audio":for(o=0;oSc&&(t.flags|=128,r=!0,$u(a,!1),t.lanes=4194304)}else{if(!r)if(e=Xp(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$u(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Rn)return $r(t),null}else 2*Hn()-a.renderingStartTime>Sc&&n!==1073741824&&(t.flags|=128,r=!0,$u(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(n=a.last,n!==null?n.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Hn(),t.sibling=null,n=In.current,xn(In,r?n&1|2:n&1),t):($r(t),null);case 22:case 23:return Bx(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?oo&1073741824&&($r(t),t.subtreeFlags&6&&(t.flags|=8192)):$r(t),null;case 24:return null;case 25:return null}throw Error(Ae(156,t.tag))}function jL(e,t){switch(Sx(t),t.tag){case 1:return Wr(t.type)&&Bp(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cc(),Pn(Vr),Pn(Rr),Nx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ix(t),null;case 13:if(Pn(In),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Ae(340));yc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pn(In),null;case 4:return Cc(),null;case 10:return Px(t.type._context),null;case 22:case 23:return Bx(),null;case 24:return null;default:return null}}var xv=!1,Or=!1,zL=typeof WeakSet=="function"?WeakSet:Set,st=null;function Ys(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){kn(e,t,r)}else n.current=null}function Fy(e,t,n){try{n()}catch(r){kn(e,t,r)}}var Y$=!1;function HL(e,t){if(yy=Ap,e=tO(),Cx(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,l=-1,s=-1,u=0,d=0,f=e,v=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(l=i+o),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)v=f,f=p;for(;;){if(f===e)break t;if(v===n&&++u===o&&(l=i),v===a&&++d===r&&(s=i),(p=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=p}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(by={focusedElem:e,selectionRange:n},Ap=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){t=st;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,h=m.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:ta(t.type,y),h);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ae(163))}}catch(x){kn(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,st=e;break}st=t.return}return m=Y$,Y$=!1,m}function od(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Fy(t,n,a)}o=o.next}while(o!==r)}}function xh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Dy(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ZO(e){var t=e.alternate;t!==null&&(e.alternate=null,ZO(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Sa],delete t[Fd],delete t[Sy],delete t[wL],delete t[$L])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function JO(e){return e.tag===5||e.tag===3||e.tag===4}function G$(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||JO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ly(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Hp));else if(r!==4&&(e=e.child,e!==null))for(Ly(e,t,n),e=e.sibling;e!==null;)Ly(e,t,n),e=e.sibling}function Ay(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ay(e,t,n),e=e.sibling;e!==null;)Ay(e,t,n),e=e.sibling}var fr=null,na=!1;function yi(e,t,n){for(n=n.child;n!==null;)eM(e,t,n),n=n.sibling}function eM(e,t,n){if(Ma&&typeof Ma.onCommitFiberUnmount=="function")try{Ma.onCommitFiberUnmount(vh,n)}catch{}switch(n.tag){case 5:Or||Ys(n,t);case 6:var r=fr,o=na;fr=null,yi(e,t,n),fr=r,na=o,fr!==null&&(na?(e=fr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):fr.removeChild(n.stateNode));break;case 18:fr!==null&&(na?(e=fr,n=n.stateNode,e.nodeType===8?$0(e.parentNode,n):e.nodeType===1&&$0(e,n),Id(e)):$0(fr,n.stateNode));break;case 4:r=fr,o=na,fr=n.stateNode.containerInfo,na=!0,yi(e,t,n),fr=r,na=o;break;case 0:case 11:case 14:case 15:if(!Or&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&Fy(n,t,i),o=o.next}while(o!==r)}yi(e,t,n);break;case 1:if(!Or&&(Ys(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){kn(n,t,l)}yi(e,t,n);break;case 21:yi(e,t,n);break;case 22:n.mode&1?(Or=(r=Or)||n.memoizedState!==null,yi(e,t,n),Or=r):yi(e,t,n);break;default:yi(e,t,n)}}function X$(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new zL),t.forEach(function(r){var o=qL.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Xo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~a}if(r=o,r=Hn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VL(r/1960))-r,10e?16:e,Ri===null)var r=!1;else{if(e=Ri,Ri=null,em=0,Zt&6)throw Error(Ae(331));var o=Zt;for(Zt|=4,st=e.current;st!==null;){var a=st,i=a.child;if(st.flags&16){var l=a.deletions;if(l!==null){for(var s=0;sHn()-zx?Ml(e,0):jx|=n),Kr(e,t)}function sM(e,t){t===0&&(e.mode&1?(t=fv,fv<<=1,!(fv&130023424)&&(fv=4194304)):t=1);var n=_r();e=ni(e,t),e!==null&&(mf(e,t,n),Kr(e,n))}function XL(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),sM(e,n)}function qL(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ae(314))}r!==null&&r.delete(t),sM(e,n)}var cM;cM=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Vr.current)Br=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Br=!1,LL(e,t,n);Br=!!(e.flags&131072)}else Br=!1,Rn&&t.flags&1048576&&fO(t,Kp,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;up(e,t),e=t.pendingProps;var o=gc(t,Rr.current);oc(t,n),o=_x(null,t,r,e,o,n);var a=kx();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Wr(r)?(a=!0,Vp(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Mx(t),o.updater=bh,t.stateNode=o,o._reactInternals=t,My(t,r,e,n),t=Ny(null,t,r,!0,a,n)):(t.tag=0,Rn&&a&&xx(t),Nr(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(up(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ZL(r),e=ta(r,e),o){case 0:t=Iy(null,t,r,e,n);break e;case 1:t=W$(null,t,r,e,n);break e;case 11:t=B$(null,t,r,e,n);break e;case 14:t=V$(null,t,r,ta(r.type,e),n);break e}throw Error(Ae(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ta(r,o),Iy(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ta(r,o),W$(e,t,r,o,n);case 3:e:{if(UO(t),e===null)throw Error(Ae(387));r=t.pendingProps,a=t.memoizedState,o=a.element,hO(e,t),Gp(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=xc(Error(Ae(423)),t),t=K$(e,t,r,n,o);break e}else if(r!==o){o=xc(Error(Ae(424)),t),t=K$(e,t,r,n,o);break e}else for(lo=ji(t.stateNode.containerInfo.firstChild),vo=t,Rn=!0,aa=null,n=CO(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(yc(),r===o){t=ri(e,t,n);break e}Nr(e,t,r,n)}t=t.child}return t;case 5:return xO(t),e===null&&Ey(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,Cy(r,o)?i=null:a!==null&&Cy(r,a)&&(t.flags|=32),KO(e,t),Nr(e,t,i,n),t.child;case 6:return e===null&&Ey(t),null;case 13:return YO(e,t,n);case 4:return Rx(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bc(t,null,r,n):Nr(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ta(r,o),B$(e,t,r,o,n);case 7:return Nr(e,t,t.pendingProps,n),t.child;case 8:return Nr(e,t,t.pendingProps.children,n),t.child;case 12:return Nr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,xn(Up,r._currentValue),r._currentValue=i,a!==null)if(fa(a.value,i)){if(a.children===o.children&&!Vr.current){t=ri(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Za(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?s.next=s:(s.next=d.next,d.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Py(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(Ae(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Py(i,n,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Nr(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,oc(t,n),o=jo(o),r=r(o),t.flags|=1,Nr(e,t,r,n),t.child;case 14:return r=t.type,o=ta(r,t.pendingProps),o=ta(r.type,o),V$(e,t,r,o,n);case 15:return VO(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ta(r,o),up(e,t),t.tag=1,Wr(r)?(e=!0,Vp(t)):e=!1,oc(t,n),yO(t,r,o),My(t,r,o,n),Ny(null,t,r,!0,e,n);case 19:return GO(e,t,n);case 22:return WO(e,t,n)}throw Error(Ae(156,t.tag))};function uM(e,t){return D8(e,t)}function QL(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Do(e,t,n,r){return new QL(e,t,n,r)}function Wx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ZL(e){if(typeof e=="function")return Wx(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cx)return 11;if(e===ux)return 14}return 2}function Vi(e,t){var n=e.alternate;return n===null?(n=Do(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function vp(e,t,n,r,o,a){var i=2;if(r=e,typeof e=="function")Wx(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case As:return Rl(n.children,o,a,t);case sx:i=8,o|=8;break;case Z1:return e=Do(12,n,t,o|2),e.elementType=Z1,e.lanes=a,e;case J1:return e=Do(13,n,t,o),e.elementType=J1,e.lanes=a,e;case ey:return e=Do(19,n,t,o),e.elementType=ey,e.lanes=a,e;case b8:return wh(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case g8:i=10;break e;case y8:i=9;break e;case cx:i=11;break e;case ux:i=14;break e;case wi:i=16,r=null;break e}throw Error(Ae(130,e==null?e:typeof e,""))}return t=Do(i,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function Rl(e,t,n,r){return e=Do(7,e,r,t),e.lanes=n,e}function wh(e,t,n,r){return e=Do(22,e,r,t),e.elementType=b8,e.lanes=n,e.stateNode={isHidden:!1},e}function T0(e,t,n){return e=Do(6,e,null,t),e.lanes=n,e}function _0(e,t,n){return t=Do(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function JL(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=v0(0),this.expirationTimes=v0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=v0(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Kx(e,t,n,r,o,a,i,l,s){return e=new JL(e,t,n,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Do(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mx(a),e}function eA(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pM)}catch{}}pM(),f8.exports=go;var Jl=f8.exports;const wc=nr(Jl),aA=L5({__proto__:null,default:wc},[Jl]);var r4=Jl;q1.createRoot=r4.createRoot,q1.hydrateRoot=r4.hydrateRoot;/** + * @remix-run/router v1.6.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Bd(){return Bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Xx(e,t){if(!e)try{throw new Error(t)}catch{}}function lA(){return Math.random().toString(36).substr(2,8)}function a4(e,t){return{usr:e.state,key:e.key,idx:t}}function Vy(e,t,n,r){return n===void 0&&(n=null),Bd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Uc(t):t,{state:n,key:t&&t.key||r||lA()})}function mM(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Uc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function sA(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,l=Ii.Pop,s=null,u=d();u==null&&(u=0,i.replaceState(Bd({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){l=Ii.Pop;let h=d(),g=h==null?null:h-u;u=h,s&&s({action:l,location:y.location,delta:g})}function v(h,g){l=Ii.Push;let b=Vy(y.location,h,g);n&&n(b,h),u=d()+1;let C=a4(b,u),x=y.createHref(b);try{i.pushState(C,"",x)}catch{o.location.assign(x)}a&&s&&s({action:l,location:y.location,delta:1})}function p(h,g){l=Ii.Replace;let b=Vy(y.location,h,g);n&&n(b,h),u=d();let C=a4(b,u),x=y.createHref(b);i.replaceState(C,"",x),a&&s&&s({action:l,location:y.location,delta:0})}function m(h){let g=o.location.origin!=="null"?o.location.origin:o.location.href,b=typeof h=="string"?h:mM(h);return gr(g,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,g)}let y={get action(){return l},get location(){return e(o,i)},listen(h){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(o4,f),s=h,()=>{o.removeEventListener(o4,f),s=null}},createHref(h){return t(o,h)},createURL:m,encodeLocation(h){let g=m(h);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:v,replace:p,go(h){return i.go(h)}};return y}var i4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(i4||(i4={}));function cA(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Uc(t):t,o=yM(r.pathname||"/",n);if(o==null)return null;let a=hM(e);uA(a);let i=null;for(let l=0;i==null&&l{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};s.relativePath.startsWith("/")&&(gr(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Il([r,s.relativePath]),d=n.concat(s);a.children&&a.children.length>0&&(gr(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),hM(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:gA(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))o(a,i);else for(let s of gM(a.path))o(a,i,s)}),t}function gM(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let i=gM(r.join("/")),l=[];return l.push(...i.map(s=>s===""?a:[a,s].join("/"))),o&&l.push(...i),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function uA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:yA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dA=/^:\w+$/,fA=3,vA=2,pA=1,mA=10,hA=-2,l4=e=>e==="*";function gA(e,t){let n=e.split("/"),r=n.length;return n.some(l4)&&(r+=hA),t&&(r+=vA),n.filter(o=>!l4(o)).reduce((o,a)=>o+(dA.test(a)?fA:a===""?pA:mA),r)}function yA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function bA(e,t){let{routesMeta:n}=e,r={},o="/",a=[];for(let i=0;i{if(d==="*"){let v=l[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}return u[d]=wA(l[f]||"",d),u},{}),pathname:a,pathnameBase:i,pattern:e}}function xA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Xx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,l)=>(r.push(l),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function SA(e){try{return decodeURI(e)}catch(t){return Xx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function wA(e,t){try{return decodeURIComponent(e)}catch(n){return Xx(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function yM(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function $A(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Uc(e):e;return{pathname:n?n.startsWith("/")?n:EA(n,t):t,search:OA(r),hash:MA(o)}}function EA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function k0(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function bM(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function CM(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Uc(e):(o=Bd({},e),gr(!o.pathname||!o.pathname.includes("?"),k0("?","pathname","search",o)),gr(!o.pathname||!o.pathname.includes("#"),k0("#","pathname","hash",o)),gr(!o.search||!o.search.includes("#"),k0("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(r||i==null)l=n;else{let f=t.length-1;if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),f-=1;o.pathname=v.join("/")}l=f>=0?t[f]:"/"}let s=$A(o,l),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||d)&&(s.pathname+="/"),s}const Il=e=>e.join("/").replace(/\/\/+/g,"/"),PA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),OA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,MA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function RA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const xM=["post","put","patch","delete"];new Set(xM);const IA=["get",...xM];new Set(IA);/** + * React Router v6.11.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function rm(){return rm=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),a=c.useRef(!1);return $M(()=>{a.current=!0}),c.useCallback(function(l,s){if(s===void 0&&(s={}),!a.current)return;if(typeof l=="number"){t.go(l);return}let u=CM(l,JSON.parse(o),r,s.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Il([e,u.pathname])),(s.replace?t.replace:t.push)(u,s.state,s)},[e,t,o,r])}const kA=c.createContext(null);function FA(e){let t=c.useContext(el).outlet;return t&&c.createElement(kA.Provider,{value:e},t)}function DA(e,t){return LA(e,t)}function LA(e,t,n){bf()||gr(!1);let{navigator:r}=c.useContext(Mh),{matches:o}=c.useContext(el),a=o[o.length-1],i=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let s=Ih(),u;if(t){var d;let y=typeof t=="string"?Uc(t):t;l==="/"||(d=y.pathname)!=null&&d.startsWith(l)||gr(!1),u=y}else u=s;let f=u.pathname||"/",v=l==="/"?f:f.slice(l.length)||"/",p=cA(e,{pathname:v}),m=BA(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:Il([l,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:Il([l,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n);return t&&m?c.createElement(Rh.Provider,{value:{location:rm({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ii.Pop}},m):m}function AA(){let e=UA(),t=RA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:o},n):null,null)}const jA=c.createElement(AA,null);class zA extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){}render(){return this.state.error?c.createElement(el.Provider,{value:this.props.routeContext},c.createElement(wM.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function HA(e){let{routeContext:t,match:n,children:r}=e,o=c.useContext(SM);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(el.Provider,{value:t},r)}function BA(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let a=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let l=a.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));l>=0||gr(!1),a=a.slice(0,Math.min(a.length,l+1))}return a.reduceRight((l,s,u)=>{let d=s.route.id?i==null?void 0:i[s.route.id]:null,f=null;n&&(f=s.route.errorElement||jA);let v=t.concat(a.slice(0,u+1)),p=()=>{let m;return d?m=f:s.route.Component?m=c.createElement(s.route.Component,null):s.route.element?m=s.route.element:m=l,c.createElement(HA,{match:s,routeContext:{outlet:l,matches:v,isDataRoute:n!=null},children:m})};return n&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?c.createElement(zA,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:p(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):p()},null)}var Wy;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(Wy||(Wy={}));var Vd;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Vd||(Vd={}));function VA(e){let t=c.useContext(SM);return t||gr(!1),t}function WA(e){let t=c.useContext(NA);return t||gr(!1),t}function KA(e){let t=c.useContext(el);return t||gr(!1),t}function EM(e){let t=KA(),n=t.matches[t.matches.length-1];return n.route.id||gr(!1),n.route.id}function UA(){var e;let t=c.useContext(wM),n=WA(Vd.UseRouteError),r=EM(Vd.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function YA(){let{router:e}=VA(Wy.UseNavigateStable),t=EM(Vd.UseNavigateStable),n=c.useRef(!1);return $M(()=>{n.current=!0}),c.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,rm({fromRouteId:t},a)))},[e,t])}function GA(e){let{to:t,replace:n,state:r,relative:o}=e;bf()||gr(!1);let{matches:a}=c.useContext(el),{pathname:i}=Ih(),l=TA(),s=CM(t,bM(a).map(d=>d.pathnameBase),i,o==="path"),u=JSON.stringify(s);return c.useEffect(()=>l(JSON.parse(u),{replace:n,state:r,relative:o}),[l,u,o,n,r]),null}function XA(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Ii.Pop,navigator:a,static:i=!1}=e;bf()&&gr(!1);let l=t.replace(/^\/*/,"/"),s=c.useMemo(()=>({basename:l,navigator:a,static:i}),[l,a,i]);typeof r=="string"&&(r=Uc(r));let{pathname:u="/",search:d="",hash:f="",state:v=null,key:p="default"}=r,m=c.useMemo(()=>{let y=yM(u,l);return y==null?null:{location:{pathname:y,search:d,hash:f,state:v,key:p},navigationType:o}},[l,u,d,f,v,p,o]);return m==null?null:c.createElement(Mh.Provider,{value:s},c.createElement(Rh.Provider,{children:n,value:m}))}var s4;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(s4||(s4={}));new Promise(()=>{});/** + * React Router DOM v6.11.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function qA(e){let{basename:t,children:n,window:r}=e,o=c.useRef();o.current==null&&(o.current=iA({window:r,v5Compat:!0}));let a=o.current,[i,l]=c.useState({action:a.action,location:a.location});return c.useLayoutEffect(()=>a.listen(l),[a]),c.createElement(XA,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:a})}var c4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(c4||(c4={}));var u4;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(u4||(u4={}));const QA="modulepreload",ZA=function(e){return"/vite-react-starter/"+e},d4={},qx=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link");o=Promise.all(n.map(i=>{if(i=ZA(i),i in d4)return;d4[i]=!0;const l=i.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let f=a.length-1;f>=0;f--){const v=a[f];if(v.href===i&&(!l||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":QA,l||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),l)return new Promise((f,v)=>{d.addEventListener("load",f),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e){"@babel/helpers - typeof";return Ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ke(e)}function JA(e,t){if(Ke(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ke(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PM(e){var t=JA(e,"string");return Ke(t)==="symbol"?t:String(t)}function f4(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tj(e,t){if(t&&(Ke(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ht(e)}function Vo(e){var t=ej();return function(){var r=om(e),o;if(t){var a=om(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return tj(this,o)}}var OM={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Z.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(kr(r)):IM.isFragment(r)&&r.props?n=n.concat(kr(r.props.children,t)):n.push(r))}),n}var Uy={},sj=function(t){};function cj(e,t){}function uj(e,t){}function dj(){Uy={}}function NM(e,t,n){!t&&!Uy[n]&&(e(!1,n),Uy[n]=!0)}function Kt(e,t){NM(cj,e,t)}function zl(e,t){NM(uj,e,t)}Kt.preMessage=sj;Kt.resetWarned=dj;Kt.noteOnce=zl;function A(e,t,n){return t=PM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0},e.prototype.connect_=function(){!Yy||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gj?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Yy||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=hj.some(function(a){return!!~r.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),_M=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ec(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Pj(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ec(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Oj(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),FM=typeof WeakMap<"u"?new WeakMap:new TM,DM=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=yj.getInstance(),r=new Mj(t,n,this);FM.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){DM.prototype[e]=function(){var t;return(t=FM.get(this))[e].apply(t,arguments)}});var LM=function(){return typeof im.ResizeObserver<"u"?im.ResizeObserver:DM}(),Ni=new Map;function Rj(e){e.forEach(function(t){var n,r=t.target;(n=Ni.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var AM=new LM(Rj);function Ij(e,t){Ni.has(e)||(Ni.set(e,new Set),AM.observe(e)),Ni.get(e).add(t)}function Nj(e,t){Ni.has(e)&&(Ni.get(e).delete(t),Ni.get(e).size||(AM.unobserve(e),Ni.delete(e)))}var Tj=function(e){Bo(n,e);var t=Vo(n);function n(){return Fn(this,n),t.apply(this,arguments)}return Dn(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),Gy=c.createContext(null);function _j(e){var t=e.children,n=e.onBatchResize,r=c.useRef(0),o=c.useRef([]),a=c.useContext(Gy),i=c.useCallback(function(l,s,u){r.current+=1;var d=r.current;o.current.push({size:l,element:s,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(l,s,u)},[n,a]);return c.createElement(Gy.Provider,{value:i},t)}function kj(e,t){var n=e.children,r=e.disabled,o=c.useRef(null),a=c.useRef(null),i=c.useContext(Gy),l=typeof n=="function",s=l?n(o):n,u=c.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&c.isValidElement(s)&&es(s),f=d?s.ref:null,v=c.useMemo(function(){return cr(f,o)},[f,o]),p=function(){return $c(o.current)||$c(a.current)};c.useImperativeHandle(t,function(){return p()});var m=c.useRef(e);m.current=e;var y=c.useCallback(function(h){var g=m.current,b=g.onResize,C=g.data,x=h.getBoundingClientRect(),S=x.width,w=x.height,$=h.offsetWidth,O=h.offsetHeight,P=Math.floor(S),R=Math.floor(w);if(u.current.width!==P||u.current.height!==R||u.current.offsetWidth!==$||u.current.offsetHeight!==O){var T={width:P,height:R,offsetWidth:$,offsetHeight:O};u.current=T;var N=$===Math.round(S)?S:$,M=O===Math.round(w)?w:O,I=E(E({},T),{},{offsetWidth:N,offsetHeight:M});i==null||i(I,h,C),b&&Promise.resolve().then(function(){b(I,h)})}},[]);return c.useEffect(function(){var h=p();return h&&!r&&Ij(h,y),function(){return Nj(h,y)}},[o.current,r]),c.createElement(Tj,{ref:a},d?c.cloneElement(s,{ref:v}):s)}var Fj=c.forwardRef(kj),Dj="rc-observer-key";function Lj(e,t){var n=e.children,r=typeof n=="function"?[n]:kr(n);return r.map(function(o,a){var i=(o==null?void 0:o.key)||"".concat(Dj,"-").concat(a);return c.createElement(Fj,be({},e,{key:i,ref:a===0?t:void 0}),o)})}var va=c.forwardRef(Lj);va.Collection=_j;function On(e,t){var n=E({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}function Xy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function zj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}function Oe(e,t){if(e==null)return{};var n=zj(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(Kt(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(n&&l>1)return!1;r.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Wj}function Vh(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Kj(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function HM(e){return Array.from((Qy.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function BM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ir())return null;var n=t.csp,r=t.prepend,o=document.createElement("style");o.setAttribute(m4,Kj(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;var a=Vh(t),i=a.firstChild;if(r){if(r==="queue"){var l=HM(a).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(m4))});if(l.length)return a.insertBefore(o,l[l.length-1].nextSibling),o}a.insertBefore(o,i)}else a.appendChild(o);return o}function VM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Vh(t);return HM(n).find(function(r){return r.getAttribute(zM(t))===e})}function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=VM(e,t);if(n){var r=Vh(t);r.removeChild(n)}}function Uj(e,t){var n=Qy.get(e);if(!n||!Nl(document,n)){var r=BM("",t),o=r.parentNode;Qy.set(e,o),e.removeChild(r)}}function Pc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Vh(n);Uj(r,n);var o=VM(t,n);if(o){var a,i;if((a=n.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)){var l;o.nonce=(l=n.csp)===null||l===void 0?void 0:l.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=BM(e,n);return s.setAttribute(zM(n),t),s}function cm(e){var t="";return Object.keys(e).forEach(function(n){var r=e[n];t+=n,r&&Ke(r)==="object"?t+=cm(r):t+=r}),t}function Yj(e,t){return t2("".concat(t,"_").concat(cm(e)))}var ld="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),WM="903px";function Gj(e,t){if(Ir()){var n;Pc(e,ld);var r=document.createElement("div");r.style.position="fixed",r.style.left="0",r.style.top="0",t==null||t(r),document.body.appendChild(r);var o=getComputedStyle(r).width===WM;return(n=r.parentNode)===null||n===void 0||n.removeChild(r),sm(ld),o}return!1}var F0=void 0;function Xj(){return F0===void 0&&(F0=Gj("@layer ".concat(ld," { .").concat(ld," { width: ").concat(WM,"!important; } }"),function(e){e.className=ld})),F0}function KM(e){if(Array.isArray(e))return e}function qj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function UM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(e,t){return KM(e)||qj(e,t)||Bh(e,t)||UM()}function YM(e,t,n,r){var o=c.useContext(n2),a=o.cache,i=[e].concat(xe(t));return c.useMemo(function(){a.update(i,function(l){var s=l||[],u=U(s,2),d=u[0],f=d===void 0?0:d,v=u[1],p=v,m=p||n();return[f+1,m]})},[i.join("_")]),c.useEffect(function(){return function(){a.update(i,function(l){var s=l||[],u=U(s,2),d=u[0],f=d===void 0?0:d,v=u[1],p=f-1;return p===0?(r==null||r(v,!1),null):[f-1,v]})}},i),a.get(i)[1]}var Qj={},Zj="css",gl=new Map;function Jj(e){gl.set(e,(gl.get(e)||0)+1)}function ez(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(qy,'="').concat(e,'"]'));n.forEach(function(r){if(r[Xs]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}function tz(e,t){gl.set(e,(gl.get(e)||0)-1);var n=Array.from(gl.keys()),r=n.filter(function(o){var a=gl.get(o)||0;return a<=0});r.length2&&arguments[2]!==void 0?arguments[2]:{},r=c.useContext(n2),o=r.cache.instanceId,a=n.salt,i=a===void 0?"":a,l=n.override,s=l===void 0?Qj:l,u=n.formatToken,d=c.useMemo(function(){return Object.assign.apply(Object,[{}].concat(xe(t)))},[t]),f=c.useMemo(function(){return cm(d)},[d]),v=c.useMemo(function(){return cm(s)},[s]),p=YM("token",[i,e.id,f,v],function(){var m=e.getDerivativeToken(d),y=E(E({},m),s);u&&(y=u(y));var h=Yj(y,i);y._tokenKey=h,Jj(h);var g="".concat(Zj,"-").concat(t2(h));return y._hashId=g,[y,g]},function(m){tz(m[0]._tokenKey,o)});return p}var nz={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},h4=Ir(),rz="_skip_check_",XM="_multi_value_";function g4(e){var t=Ol(e8(e),t8);return t.replace(/\{%%%\:[^;];}/g,";")}function oz(e){return Ke(e)==="object"&&e&&(rz in e||XM in e)}function az(e,t,n){if(!t)return e;var r=".".concat(t),o=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(i){var l,s=i.trim().split(/\s+/),u=s[0]||"",d=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u="".concat(d).concat(o).concat(u.slice(d.length)),[u].concat(xe(s.slice(1))).join(" ")});return a.join(",")}var iz=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,a=r.injectHash,i=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var v="",p={};function m(C){var x=C.getName(l);if(!p[x]){var S=e(C.style,n,{root:!1,parentSelectors:i}),w=U(S,1),$=w[0];p[x]="@keyframes ".concat(C.getName(l)).concat($)}}function y(C){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function(S){Array.isArray(S)?y(S,x):S&&x.push(S)}),x}var h=y(Array.isArray(t)?t:[t]);if(h.forEach(function(C){var x=typeof C=="string"&&!o?{}:C;if(typeof x=="string")v+="".concat(x,` +`);else if(x._keyframe)m(x);else{var S=f.reduce(function(w,$){var O;return($==null||(O=$.visit)===null||O===void 0?void 0:O.call($,w))||w},x);Object.keys(S).forEach(function(w){var $=S[w];if(Ke($)==="object"&&$&&(w!=="animationName"||!$._keyframe)&&!oz($)){var O=!1,P=w.trim(),R=!1;(o||a)&&l?P.startsWith("@")?O=!0:P=az(w,l,u):o&&!l&&(P==="&"||P==="")&&(P="",R=!0);var T=e($,n,{root:R,injectHash:O,parentSelectors:[].concat(xe(i),[P])}),N=U(T,2),M=N[0],I=N[1];p=E(E({},p),I),v+="".concat(P).concat(M)}else{let F=function(D,j){var H=D.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),z=j;!nz[D]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),D==="animationName"&&j!==null&&j!==void 0&&j._keyframe&&(m(j),z=j.getName(l)),v+="".concat(H,":").concat(z,";")};var _,k=(_=$==null?void 0:$.value)!==null&&_!==void 0?_:$;Ke($)==="object"&&$!==null&&$!==void 0&&$[XM]&&Array.isArray(k)?k.forEach(function(D){F(w,D)}):F(w,k)}})}}),!o)v="{".concat(v,"}");else if(s&&Xj()){var g=s.split(","),b=g[g.length-1].trim();v="@layer ".concat(b," {").concat(v,"}"),g.length>1&&(v="@layer ".concat(s,"{%%%:%}").concat(v))}return[v,p]};function lz(e,t){return t2("".concat(e.join("%")).concat(t))}function sz(){return null}function um(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,l=c.useContext(n2),s=l.autoClear;l.mock;var u=l.defaultCache,d=l.hashPriority,f=l.container,v=l.ssrInline,p=l.transformers,m=l.linters,y=l.cache,h=n._tokenKey,g=[h].concat(xe(r)),b=h4,C=YM("style",g,function(){var O=t(),P=iz(O,{hashId:o,hashPriority:d,layer:a,path:r.join("-"),transformers:p,linters:m}),R=U(P,2),T=R[0],N=R[1],M=g4(T),I=lz(g,M);if(b){var _={mark:ic,prepend:"queue",attachTo:f},k=typeof i=="function"?i():i;k&&(_.csp={nonce:k});var F=Pc(M,I,_);F[Xs]=y.instanceId,F.setAttribute(qy,h),Object.keys(N).forEach(function(D){Pc(g4(N[D]),"_effect-".concat(D),_)})}return[M,h,I]},function(O,P){var R=U(O,3),T=R[2];(P||s)&&h4&&sm(T,{mark:ic})}),x=U(C,3),S=x[0],w=x[1],$=x[2];return function(O){var P;if(!v||b||!u)P=c.createElement(sz,null);else{var R;P=c.createElement("style",be({},(R={},A(R,qy,w),A(R,ic,$),R),{dangerouslySetInnerHTML:{__html:S}}))}return c.createElement(c.Fragment,null,P,O)}}var It=function(){function e(t,n){Fn(this,e),A(this,"name",void 0),A(this,"style",void 0),A(this,"_keyframe",!0),this.name=t,this.style=n}return Dn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function cz(e,t){if(e.length!==t.length)return!1;for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(l){if(!i)i=void 0;else{var s,u;i=(s=i)===null||s===void 0||(u=s.map)===null||u===void 0?void 0:u.get(l)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(u,d){var f=U(u,2),v=f[1];return o.internalGet(d)[1]0,void 0),y4+=1}return Dn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),D0=new r2;function o2(e){var t=Array.isArray(e)?e:[e];return D0.has(t)||D0.set(t,new uz(t)),D0.get(t)}function vs(e){return e.notSplit=!0,e}vs(["borderTop","borderBottom"]),vs(["borderTop"]),vs(["borderBottom"]),vs(["borderLeft","borderRight"]),vs(["borderLeft"]),vs(["borderRight"]);var dz=c.createContext({});const Wh=dz;var xl="RC_FORM_INTERNAL_HOOKS",mn=function(){Kt(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Hl=c.createContext({getFieldValue:mn,getFieldsValue:mn,getFieldError:mn,getFieldWarning:mn,getFieldsError:mn,isFieldsTouched:mn,isFieldTouched:mn,isFieldValidating:mn,isFieldsValidating:mn,resetFields:mn,setFields:mn,setFieldValue:mn,setFieldsValue:mn,validateFields:mn,submit:mn,getInternalHooks:function(){return mn(),{dispatch:mn,initEntityValue:mn,registerField:mn,useSubscribe:mn,setInitialValues:mn,destroyForm:mn,setCallbacks:mn,registerWatch:mn,getFields:mn,setValidateMessages:mn,setPreserve:mn,getInitialValue:mn}}}),dm=c.createContext(null);function Zy(e){return e==null?[]:Array.isArray(e)?e:[e]}function fz(e){return e&&!!e._init}function Lt(){Lt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(N,M,I){N[M]=I.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(N,M,I){return Object.defineProperty(N,M,{value:I,enumerable:!0,configurable:!0,writable:!0}),N[M]}try{s({},"")}catch{s=function(I,_,k){return I[_]=k}}function u(N,M,I,_){var k=M&&M.prototype instanceof v?M:v,F=Object.create(k.prototype),D=new P(_||[]);return r(F,"_invoke",{value:S(N,I,D)}),F}function d(N,M,I){try{return{type:"normal",arg:N.call(M,I)}}catch(_){return{type:"throw",arg:_}}}e.wrap=u;var f={};function v(){}function p(){}function m(){}var y={};s(y,a,function(){return this});var h=Object.getPrototypeOf,g=h&&h(h(R([])));g&&g!==t&&n.call(g,a)&&(y=g);var b=m.prototype=v.prototype=Object.create(y);function C(N){["next","throw","return"].forEach(function(M){s(N,M,function(I){return this._invoke(M,I)})})}function x(N,M){function I(k,F,D,j){var H=d(N[k],N,F);if(H.type!=="throw"){var z=H.arg,B=z.value;return B&&Ke(B)=="object"&&n.call(B,"__await")?M.resolve(B.__await).then(function(V){I("next",V,D,j)},function(V){I("throw",V,D,j)}):M.resolve(B).then(function(V){z.value=V,D(z)},function(V){return I("throw",V,D,j)})}j(H.arg)}var _;r(this,"_invoke",{value:function(F,D){function j(){return new M(function(H,z){I(F,D,H,z)})}return _=_?_.then(j,j):j()}})}function S(N,M,I){var _="suspendedStart";return function(k,F){if(_==="executing")throw new Error("Generator is already running");if(_==="completed"){if(k==="throw")throw F;return T()}for(I.method=k,I.arg=F;;){var D=I.delegate;if(D){var j=w(D,I);if(j){if(j===f)continue;return j}}if(I.method==="next")I.sent=I._sent=I.arg;else if(I.method==="throw"){if(_==="suspendedStart")throw _="completed",I.arg;I.dispatchException(I.arg)}else I.method==="return"&&I.abrupt("return",I.arg);_="executing";var H=d(N,M,I);if(H.type==="normal"){if(_=I.done?"completed":"suspendedYield",H.arg===f)continue;return{value:H.arg,done:I.done}}H.type==="throw"&&(_="completed",I.method="throw",I.arg=H.arg)}}}function w(N,M){var I=M.method,_=N.iterator[I];if(_===void 0)return M.delegate=null,I==="throw"&&N.iterator.return&&(M.method="return",M.arg=void 0,w(N,M),M.method==="throw")||I!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+I+"' method")),f;var k=d(_,N.iterator,M.arg);if(k.type==="throw")return M.method="throw",M.arg=k.arg,M.delegate=null,f;var F=k.arg;return F?F.done?(M[N.resultName]=F.value,M.next=N.nextLoc,M.method!=="return"&&(M.method="next",M.arg=void 0),M.delegate=null,f):F:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,f)}function $(N){var M={tryLoc:N[0]};1 in N&&(M.catchLoc=N[1]),2 in N&&(M.finallyLoc=N[2],M.afterLoc=N[3]),this.tryEntries.push(M)}function O(N){var M=N.completion||{};M.type="normal",delete M.arg,N.completion=M}function P(N){this.tryEntries=[{tryLoc:"root"}],N.forEach($,this),this.reset(!0)}function R(N){if(N){var M=N[a];if(M)return M.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var I=-1,_=function k(){for(;++I=0;--k){var F=this.tryEntries[k],D=F.completion;if(F.tryLoc==="root")return _("end");if(F.tryLoc<=this.prev){var j=n.call(F,"catchLoc"),H=n.call(F,"finallyLoc");if(j&&H){if(this.prev=0;--_){var k=this.tryEntries[_];if(k.tryLoc<=this.prev&&n.call(k,"finallyLoc")&&this.prev=0;--I){var _=this.tryEntries[I];if(_.finallyLoc===M)return this.complete(_.completion,_.afterLoc),O(_),f}},catch:function(M){for(var I=this.tryEntries.length-1;I>=0;--I){var _=this.tryEntries[I];if(_.tryLoc===M){var k=_.completion;if(k.type==="throw"){var F=k.arg;O(_)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(M,I,_){return this.delegate={iterator:R(M),resultName:I,nextLoc:_},this.method==="next"&&(this.arg=void 0),f}},e}function b4(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,o)}function ir(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(s){b4(a,r,o,i,l,"next",s)}function l(s){b4(a,r,o,i,l,"throw",s)}i(void 0)})}}function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pp(e,t,n){return pz()?pp=Reflect.construct.bind():pp=function(o,a,i){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(o,l),u=new s;return i&&Wd(u,i.prototype),u},pp.apply(null,arguments)}function mz(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function eb(e){var t=typeof Map=="function"?new Map:void 0;return eb=function(r){if(r===null||!mz(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return pp(r,arguments,Jy(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Wd(o,r)},eb(e)}var hz=/%[sdj%]/g,gz=function(){};function tb(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function so(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function yz(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Jn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||yz(t)&&typeof e=="string"&&!e)}function bz(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,l||[]),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function C4(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ku={integer:function(t){return Ku.number(t)&&parseInt(t,10)===t},float:function(t){return Ku.number(t)&&!Ku.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ku.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match($4.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Ez())},hex:function(t){return typeof t=="string"&&!!t.match($4.hex)}},Pz=function(t,n,r,o,a){if(t.required&&n===void 0){qM(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?Ku[l](n)||o.push(so(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(so(a.messages.types[l],t.fullField,t.type))},Oz=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,v=typeof n=="number",p=typeof n=="string",m=Array.isArray(n);if(v?f="number":p?f="string":m&&(f="array"),!f)return!1;m&&(d=n.length),p&&(d=n.replace(u,"_").length),i?d!==t.len&&o.push(so(a.messages[f].len,t.fullField,t.len)):l&&!s&&dt.max?o.push(so(a.messages[f].max,t.fullField,t.max)):l&&s&&(dt.max)&&o.push(so(a.messages[f].range,t.fullField,t.min,t.max))},ps="enum",Mz=function(t,n,r,o,a){t[ps]=Array.isArray(t[ps])?t[ps]:[],t[ps].indexOf(n)===-1&&o.push(so(a.messages[ps],t.fullField,t[ps].join(", ")))},Rz=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(so(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(so(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},zt={required:qM,whitespace:$z,type:Pz,range:Oz,enum:Mz,pattern:Rz},Iz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n,"string")&&!t.required)return r();zt.required(t,n,o,i,a,"string"),Jn(n,"string")||(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a),zt.pattern(t,n,o,i,a),t.whitespace===!0&&zt.whitespace(t,n,o,i,a))}r(i)},Nz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},Tz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},_z=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},kz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),Jn(n)||zt.type(t,n,o,i,a)}r(i)},Fz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},Dz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},Lz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();zt.required(t,n,o,i,a,"array"),n!=null&&(zt.type(t,n,o,i,a),zt.range(t,n,o,i,a))}r(i)},Az=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt.type(t,n,o,i,a)}r(i)},jz="enum",zz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a),n!==void 0&&zt[jz](t,n,o,i,a)}r(i)},Hz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n,"string")&&!t.required)return r();zt.required(t,n,o,i,a),Jn(n,"string")||zt.pattern(t,n,o,i,a)}r(i)},Bz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n,"date")&&!t.required)return r();if(zt.required(t,n,o,i,a),!Jn(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),zt.type(t,s,o,i,a),s&&zt.range(t,s.getTime(),o,i,a)}}r(i)},Vz=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":typeof n;zt.required(t,n,o,i,a,l),r(i)},L0=function(t,n,r,o,a){var i=t.type,l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Jn(n,i)&&!t.required)return r();zt.required(t,n,o,l,a,i),Jn(n,i)||zt.type(t,n,o,l,a)}r(l)},Wz=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Jn(n)&&!t.required)return r();zt.required(t,n,o,i,a)}r(i)},sd={string:Iz,method:Nz,number:Tz,boolean:_z,regexp:kz,integer:Fz,float:Dz,array:Lz,object:Az,enum:zz,pattern:Hz,date:Bz,url:L0,hex:L0,email:L0,required:Vz,any:Wz};function nb(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var rb=nb(),xf=function(){function e(n){this.rules=null,this._messages=rb,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var i=r[a];o.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=w4(nb(),r)),this._messages},t.validate=function(r,o,a){var i=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var l=r,s=o,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(y){var h=[],g={};function b(x){if(Array.isArray(x)){var S;h=(S=h).concat.apply(S,x)}else h.push(x)}for(var C=0;C3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Mr(e,t.slice(0,-1))?e:JM(e,t,n,r)}function Kh(e){return Array.isArray(e)?Uz(e):Ke(e)==="object"&&e!==null?Kz(e):e}function Kz(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=Kh(e[n]);return t}return e}function Uz(e){return e.map(function(t){return Kh(t)})}function jn(e){return Zy(e)}function E4(e,t){var n={};return t.forEach(function(r){var o=Mr(e,r);n=pr(n,r,o)}),n}function cd(e,t){return e&&e.some(function(n){return tR(n,t)})}function P4(e){return Ke(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function eR(e,t){var n=Array.isArray(e)?xe(e):E({},e);return t&&Object.keys(t).forEach(function(r){var o=n[r],a=t[r],i=P4(o)&&P4(a);n[r]=i?eR(o,a||{}):Kh(a)}),n}function ud(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(xe(e.slice(0,n)),[o],xe(e.slice(n,t)),xe(e.slice(t+1,r))):a<0?[].concat(xe(e.slice(0,t)),xe(e.slice(t+1,n+1)),[o],xe(e.slice(n+1,r))):e}var M4=xf;function Xz(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var R4="CODE_LOGIC_ERROR";function ob(e,t,n,r,o){return ab.apply(this,arguments)}function ab(){return ab=ir(Lt().mark(function e(t,n,r,o,a){var i,l,s,u,d,f,v,p,m;return Lt().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=E({},r),delete i.ruleIndex,M4.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch{return Promise.reject(R4)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),u=new M4(A({},t,[i])),d=ud({},QM,o.validateMessages),u.messages(d),f=[],h.prev=10,h.next=13,Promise.resolve(u.validate(A({},t,n),E({},o)));case 13:h.next=18;break;case 15:h.prev=15,h.t0=h.catch(10),h.t0.errors&&(f=h.t0.errors.map(function(g,b){var C=g.message,x=C===R4?d.default:C;return c.isValidElement(x)?c.cloneElement(x,{key:"error_".concat(b)}):x}));case 18:if(!(!f.length&&s)){h.next=23;break}return h.next=21,Promise.all(n.map(function(g,b){return ob("".concat(t,".").concat(b),g,s,o,a)}));case 21:return v=h.sent,h.abrupt("return",v.reduce(function(g,b){return[].concat(xe(g),xe(b))},[]));case 23:return p=E(E({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),m=f.map(function(g){return typeof g=="string"?Xz(g,p):g}),h.abrupt("return",m);case 26:case"end":return h.stop()}},e,null,[[10,15]])})),ab.apply(this,arguments)}function qz(e,t,n,r,o,a){var i=e.join("."),l=n.map(function(d,f){var v=d.validator,p=E(E({},d),{},{ruleIndex:f});return v&&(p.validator=function(m,y,h){var g=!1,b=function(){for(var S=arguments.length,w=new Array(S),$=0;$0&&arguments[0]!==void 0?arguments[0]:Eo;if(o.validatePromise===f){var S;o.validatePromise=null;var w=[],$=[];(S=x.forEach)===null||S===void 0||S.call(x,function(O){var P=O.rule.warningOnly,R=O.errors,T=R===void 0?Eo:R;P?$.push.apply($,xe(T)):w.push.apply(w,xe(T))}),o.errors=w,o.warnings=$,o.triggerMetaEvent(),o.reRender()}}),C});return o.validatePromise=f,o.dirty=!0,o.errors=Eo,o.warnings=Eo,o.triggerMetaEvent(),o.reRender(),f},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,u=s.getInternalHooks(xl),d=u.getInitialValue;return d(o.getNamePath())!==void 0},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){o.prevValidating=o.isFieldValidating();var s={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return s},o.getOnlyChild=function(s){if(typeof s=="function"){var u=o.getMeta();return E(E({},o.getOnlyChild(s(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=kr(s);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}},o.getValue=function(s){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Mr(s||u(!0),d)},o.getControlled=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,v=u.getValueFromEvent,p=u.normalize,m=u.valuePropName,y=u.getValueProps,h=u.fieldContext,g=f!==void 0?f:h.validateTrigger,b=o.getNamePath(),C=h.getInternalHooks,x=h.getFieldsValue,S=C(xl),w=S.dispatch,$=o.getValue(),O=y||function(N){return A({},m,N)},P=s[d],R=E(E({},s),O($));R[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var N,M=arguments.length,I=new Array(M),_=0;_=0&&T<=N.length?(f.keys=[].concat(xe(f.keys.slice(0,T)),[f.id],xe(f.keys.slice(T))),x([].concat(xe(N.slice(0,T)),[R],xe(N.slice(T))))):(f.keys=[].concat(xe(f.keys),[f.id]),x([].concat(xe(N),[R]))),f.id+=1},remove:function(R){var T=w(),N=new Set(Array.isArray(R)?R:[R]);N.size<=0||(f.keys=f.keys.filter(function(M,I){return!N.has(I)}),x(T.filter(function(M,I){return!N.has(I)})))},move:function(R,T){if(R!==T){var N=w();R<0||R>=N.length||T<0||T>=N.length||(f.keys=O4(f.keys,R,T),x(O4(N,R,T)))}}},O=C||[];return Array.isArray(O)||(O=[]),o(O.map(function(P,R){var T=f.keys[R];return T===void 0&&(f.keys[R]=f.id,T=f.keys[R],f.id+=1),{name:R,key:T,isListField:!0}}),$,g)})))};function eH(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var rR="__@field_split__";function A0(e){return e.map(function(t){return"".concat(Ke(t),":").concat(t)}).join(rR)}var ms=function(){function e(){Fn(this,e),this.kvs=new Map}return Dn(e,[{key:"set",value:function(n,r){this.kvs.set(A0(n),r)}},{key:"get",value:function(n){return this.kvs.get(A0(n))}},{key:"update",value:function(n,r){var o=this.get(n),a=r(o);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(A0(n))}},{key:"map",value:function(n){return xe(this.kvs.entries()).map(function(r){var o=U(r,2),a=o[0],i=o[1],l=a.split(rR);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),d=U(u,3),f=d[1],v=d[2];return f==="number"?Number(v):v}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,a=r.value;return n[o.join(".")]=a,null}),n}}]),e}(),tH=["name"],nH=Dn(function e(t){var n=this;Fn(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(r){return r===xl?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Kt(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(r){n.subscribable=r},this.prevWithoutPreserves=null,this.setInitialValues=function(r,o){if(n.initialValues=r||{},o){var a,i=ud({},r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=pr(i,s,Mr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(i)}},this.destroyForm=function(){var r=new ms;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r},this.getInitialValue=function(r){var o=Mr(n.initialValues,r);return r.length?Kh(o):o},this.setCallbacks=function(r){n.callbacks=r},this.setValidateMessages=function(r){n.validateMessages=r},this.setPreserve=function(r){n.preserve=r},this.watchList=[],this.registerWatch=function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}},this.notifyWatch=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(r){n.store=r},this.getFieldEntities=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new ms;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o},this.getFieldEntitiesForNamePathList=function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=jn(a);return o.get(i)||{INVALIDATE_NAME_PATH:jn(a)}})},this.getFieldsValue=function(r,o){if(n.warningUnhooked(),r===!0&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),i=[];return a.forEach(function(l){var s,u="INVALIDATE_NAME_PATH"in l?l.INVALIDATE_NAME_PATH:l.getNamePath();if(!(!r&&(!((s=l.isListField)===null||s===void 0)&&s.call(l))))if(!o)i.push(u);else{var d="getMeta"in l?l.getMeta():null;o(d)&&i.push(u)}}),E4(n.store,i.map(jn))},this.getFieldValue=function(r){n.warningUnhooked();var o=jn(r);return Mr(n.store,o)},this.getFieldsError=function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:jn(r[i]),errors:[],warnings:[]}})},this.getFieldError=function(r){n.warningUnhooked();var o=jn(r),a=n.getFieldsError([o])[0];return a.errors},this.getFieldWarning=function(r){n.warningUnhooked();var o=jn(r),a=n.getFieldsError([o])[0];return a.warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=new ms,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,d=s.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:s,value:u}),o.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var v=d.getNamePath(),p=n.getInitialValue(v);if(p!==void 0)Kt(!1,"Form already set 'initialValues' with path '".concat(v.join("."),"'. Field can not overwrite it."));else{var m=o.get(v);if(m&&m.size>1)Kt(!1,"Multiple Field with path '".concat(v.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var y=n.getFieldValue(v);(!r.skipExist||y===void 0)&&n.updateStore(pr(n.store,v,xe(m)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=o.get(s);if(u){var d;(d=l).push.apply(d,xe(xe(u).map(function(f){return f.entity})))}})):l=a,i(l)},this.resetFields=function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(ud({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(jn);a.forEach(function(i){var l=n.getInitialValue(i);n.updateStore(pr(n.store,i,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)},this.setFields=function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var l=i.name,s=Oe(i,tH),u=jn(l);a.push(u),"value"in s&&n.updateStore(pr(n.store,u,s.value)),n.notifyObservers(o,[u],{type:"setField",data:i})}),n.notifyWatch(a)},this.getFields=function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=E(E({},l),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o},this.initEntityValue=function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Mr(n.store,a);i===void 0&&n.updateStore(pr(n.store,a,o))}},this.isMergedPreserve=function(r){var o=r!==void 0?r:n.preserve;return o??!0},this.registerField=function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!i||s.length>1)){var u=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!tR(f.getNamePath(),o)})){var d=n.store;n.updateStore(pr(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}},this.dispatch=function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,l=r.triggerName;n.validateFields([i],{triggerName:l});break}}},this.notifyObservers=function(r,o,a){if(n.subscribable){var i=E(E({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,o,i)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(xe(a))}),a},this.updateValue=function(r,o){var a=jn(r),i=n.store;n.updateStore(pr(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(i,a),s=n.callbacks.onValuesChange;if(s){var u=E4(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(xe(l)))},this.setFieldsValue=function(r){n.warningUnhooked();var o=n.store;if(r){var a=ud(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(r,o){n.setFields([{name:r,value:o}])},this.getDependencyChildrenFields=function(r){var o=new Set,a=[],i=new ms;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(d){var f=jn(d);i.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(s),v})})});var l=function s(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(a.push(v),s(v))}})};return l(r),a},this.triggerOnFieldsChange=function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var l=new ms;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),i.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=i.filter(function(u){var d=u.name;return cd(r,d)});a(s,i)}},this.validateFields=function(r,o){n.warningUnhooked();var a=!!r,i=a?r.map(jn):[],l=[];n.getFieldEntities(!0).forEach(function(d){if(a||i.push(d.getNamePath()),o!=null&&o.recursive&&a){var f=d.getNamePath();f.every(function(m,y){return r[y]===m||r[y]===void 0})&&i.push(f)}if(!(!d.props.rules||!d.props.rules.length)){var v=d.getNamePath();if(!a||cd(i,v)){var p=d.validateRules(E({validateMessages:E(E({},QM),n.validateMessages)},o));l.push(p.then(function(){return{name:v,errors:[],warnings:[]}}).catch(function(m){var y,h=[],g=[];return(y=m.forEach)===null||y===void 0||y.call(m,function(b){var C=b.rule.warningOnly,x=b.errors;C?g.push.apply(g,xe(x)):h.push.apply(h,xe(x))}),h.length?Promise.reject({name:v,errors:h,warnings:g}):{name:v,errors:h,warnings:g}}))}}});var s=eH(l);n.lastValidatePromise=s,s.catch(function(d){return d}).then(function(d){var f=d.map(function(v){var p=v.name;return p});n.notifyObservers(n.store,f,{type:"validateFinish"}),n.triggerOnFieldsChange(f,d)});var u=s.then(function(){return n.lastValidatePromise===s?Promise.resolve(n.getFieldsValue(i)):Promise.reject([])}).catch(function(d){var f=d.filter(function(v){return v&&v.errors.length});return Promise.reject({values:n.getFieldsValue(i),errorFields:f,outOfDate:n.lastValidatePromise!==s})});return u.catch(function(d){return d}),n.triggerOnFieldsChange(i),u},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch{}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})},this.forceRootUpdate=t});function l2(e){var t=c.useRef(),n=c.useState({}),r=U(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new nH(a);t.current=i.getForm()}return[t.current]}var sb=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),s2=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=c.useContext(sb),l=c.useRef({});return c.createElement(sb.Provider,{value:E(E({},i),{},{validateMessages:E(E({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=E(E({},l.current),{},A({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=E({},l.current);delete d[u],l.current=d,i.unregisterForm(u)}})},a)},rH=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],oH=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,v=t.validateTrigger,p=v===void 0?"onChange":v,m=t.onValuesChange,y=t.onFieldsChange,h=t.onFinish,g=t.onFinishFailed,b=Oe(t,rH),C=c.useContext(sb),x=l2(i),S=U(x,1),w=S[0],$=w.getInternalHooks(xl),O=$.useSubscribe,P=$.setInitialValues,R=$.setCallbacks,T=$.setValidateMessages,N=$.setPreserve,M=$.destroyForm;c.useImperativeHandle(n,function(){return w}),c.useEffect(function(){return C.registerForm(r,w),function(){C.unregisterForm(r)}},[C,w,r]),T(E(E({},C.validateMessages),f)),R({onValuesChange:m,onFieldsChange:function(B){if(C.triggerFormChange(r,B),y){for(var V=arguments.length,K=new Array(V>1?V-1:0),W=1;W{const n=c.useContext(c2),r=c.useMemo(()=>{var a;const i=t||Gi[e],l=(a=n==null?void 0:n[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),l||{})},[e,t,n]),o=c.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Gi.locale:a},[n]);return[r,o]},dH="internalMark",fH=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;c.useEffect(()=>(T4(t&&t.Modal),()=>{T4()}),[t]);const o=c.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return c.createElement(c2.Provider,{value:o},n)},vH=fH,Bl="5.4.7",Kd=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function yr(e,t){pH(e)&&(e="100%");var n=mH(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ev(e){return Math.min(1,Math.max(0,e))}function pH(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function mH(e){return typeof e=="string"&&e.indexOf("%")!==-1}function iR(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Pv(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wl(e){return e.length===1?"0"+e:String(e)}function hH(e,t,n){return{r:yr(e,255)*255,g:yr(t,255)*255,b:yr(n,255)*255}}function _4(e,t,n){e=yr(e,255),t=yr(t,255),n=yr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else{var s=r-o;switch(i=l>.5?s/(2-r-o):s/(r+o),r){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function gH(e,t,n){var r,o,a;if(e=yr(e,360),t=yr(t,100),n=yr(n,100),t===0)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=z0(l,i,e+1/3),o=z0(l,i,e),a=z0(l,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function cb(e,t,n){e=yr(e,255),t=yr(t,255),n=yr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,s=r===0?0:l/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var db={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _s(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=$H(e)),typeof e=="object"&&(za(e.r)&&za(e.g)&&za(e.b)?(t=hH(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):za(e.h)&&za(e.s)&&za(e.v)?(r=Pv(e.s),o=Pv(e.v),t=yH(e.h,r,o),i=!0,l="hsv"):za(e.h)&&za(e.s)&&za(e.l)&&(r=Pv(e.s),a=Pv(e.l),t=gH(e.h,r,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=iR(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var SH="[-\\+]?\\d+%?",wH="[-\\+]?\\d*\\.\\d+%?",Ti="(?:".concat(wH,")|(?:").concat(SH,")"),H0="[\\s|\\(]+(".concat(Ti,")[,|\\s]+(").concat(Ti,")[,|\\s]+(").concat(Ti,")\\s*\\)?"),B0="[\\s|\\(]+(".concat(Ti,")[,|\\s]+(").concat(Ti,")[,|\\s]+(").concat(Ti,")[,|\\s]+(").concat(Ti,")\\s*\\)?"),Qo={CSS_UNIT:new RegExp(Ti),rgb:new RegExp("rgb"+H0),rgba:new RegExp("rgba"+B0),hsl:new RegExp("hsl"+H0),hsla:new RegExp("hsla"+B0),hsv:new RegExp("hsv"+H0),hsva:new RegExp("hsva"+B0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function $H(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(db[e])e=db[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Qo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Qo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Qo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qo.hex8.exec(e),n?{r:no(n[1]),g:no(n[2]),b:no(n[3]),a:k4(n[4]),format:t?"name":"hex8"}:(n=Qo.hex6.exec(e),n?{r:no(n[1]),g:no(n[2]),b:no(n[3]),format:t?"name":"hex"}:(n=Qo.hex4.exec(e),n?{r:no(n[1]+n[1]),g:no(n[2]+n[2]),b:no(n[3]+n[3]),a:k4(n[4]+n[4]),format:t?"name":"hex8"}:(n=Qo.hex3.exec(e),n?{r:no(n[1]+n[1]),g:no(n[2]+n[2]),b:no(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function za(e){return!!Qo.CSS_UNIT.exec(String(e))}var Yt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=xH(t)),this.originalInput=t;var o=_s(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=iR(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=cb(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=cb(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=_4(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=_4(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),ub(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),bH(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(yr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(yr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+ub(this.r,this.g,this.b,!1),n=0,r=Object.entries(db);n=0,a=!n&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ev(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ev(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ev(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ev(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Ov*t:Math.round(e.h)+Ov*t:r=n?Math.round(e.h)+Ov*t:Math.round(e.h)-Ov*t,r<0?r+=360:r>=360&&(r-=360),r}function A4(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-F4*t:t===sR?r=e.s+F4:r=e.s+EH*t,r>1&&(r=1),n&&t===lR&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function j4(e,t,n){var r;return n?r=e.v+PH*t:r=e.v-OH*t,r>1&&(r=1),Number(r.toFixed(2))}function oi(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=_s(e),o=lR;o>0;o-=1){var a=D4(r),i=Mv(_s({h:L4(a,o,!0),s:A4(a,o,!0),v:j4(a,o,!0)}));n.push(i)}n.push(Mv(r));for(var l=1;l<=sR;l+=1){var s=D4(r),u=Mv(_s({h:L4(s,l),s:A4(s,l),v:j4(s,l)}));n.push(u)}return t.theme==="dark"?MH.map(function(d){var f=d.index,v=d.opacity,p=Mv(RH(_s(t.backgroundColor||"#141414"),_s(n[f]),v*100));return p}):n}var lc={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},V0={},W0={};Object.keys(lc).forEach(function(e){V0[e]=oi(lc[e]),V0[e].primary=V0[e][5],W0[e]=oi(lc[e],{theme:"dark",backgroundColor:"#141414"}),W0[e].primary=W0[e][5]});const cR=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function IH(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const u2={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},NH=Object.assign(Object.assign({},u2),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),Yh=NH;function uR(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:d}=e,f=n(s),v=n(o),p=n(a),m=n(i),y=n(l),h=r(u,d);return Object.assign(Object.assign({},h),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorBgMask:new Yt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const TH=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function _H(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},TH(r))}const Ha=(e,t)=>new Yt(e).setAlpha(t).toRgbString(),Pu=(e,t)=>new Yt(e).darken(t).toHexString(),kH=e=>{const t=oi(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},FH=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ha(r,.88),colorTextSecondary:Ha(r,.65),colorTextTertiary:Ha(r,.45),colorTextQuaternary:Ha(r,.25),colorFill:Ha(r,.15),colorFillSecondary:Ha(r,.06),colorFillTertiary:Ha(r,.04),colorFillQuaternary:Ha(r,.02),colorBgLayout:Pu(n,4),colorBgContainer:Pu(n,0),colorBgElevated:Pu(n,0),colorBgSpotlight:Ha(r,.85),colorBorder:Pu(n,15),colorBorderSecondary:Pu(n,6)}};function DH(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,a=e*Math.pow(2.71828,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const dR=e=>{const t=DH(e),n=t.map(o=>o.size),r=t.map(o=>o.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Gh(e){const t=Object.keys(u2).map(n=>{const r=oi(e[n]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),uR(e,{generateColorPalettes:kH,generateNeutralColorPalettes:FH})),dR(e.fontSize)),IH(e)),cR(e)),_H(e))}function K0(e){return e>=0&&e<=255}function Rv(e,t){const{r:n,g:r,b:o,a}=new Yt(e).toRgb();if(a<1)return e;const{r:i,g:l,b:s}=new Yt(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-i*(1-u))/u),f=Math.round((r-l*(1-u))/u),v=Math.round((o-s*(1-u))/u);if(K0(d)&&K0(f)&&K0(v))return new Yt({r:d,g:f,b:v,a:Math.round(u*100)/100}).toRgbString()}return new Yt({r:n,g:r,b:o,a:1}).toRgbString()}var LH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{delete r[v]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,l=768,s=992,u=1200,d=1600;return Object.assign(Object.assign(Object.assign({},o),{colorLink:o.colorInfoText,colorLinkHover:o.colorInfoHover,colorLinkActive:o.colorInfoActive,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Rv(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Rv(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Rv(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Rv(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new Yt("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new Yt("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new Yt("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const d2="anticon",jH=(e,t)=>t||(e?`ant-${e}`:"ant"),rt=c.createContext({getPrefixCls:jH,iconPrefixCls:d2}),fR=(e,t,n,r,o)=>{const a=e/2,i=0,l=a,s=n*1/Math.sqrt(2),u=a-n*(1-1/Math.sqrt(2)),d=a-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),v=2*a-d,p=f,m=2*a-s,y=u,h=2*a-i,g=l,b=a*Math.sqrt(2)+n*(Math.sqrt(2)-2),C=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${C}px 100%, 50% ${C}px, ${2*a-C}px 100%, ${C}px 100%)`,`path('M ${i} ${l} A ${n} ${n} 0 0 0 ${s} ${u} L ${d} ${f} A ${t} ${t} 0 0 1 ${v} ${p} L ${m} ${y} A ${n} ${n} 0 0 0 ${h} ${g} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},ua={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},At=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Sf=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),fb=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),zH=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),HH=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Vl=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Oc=e=>({"&:focus-visible":Object.assign({},Vl(e))});function Ut(e,t,n,r){return o=>{const[a,i,l]=ts(),{getPrefixCls:s,iconPrefixCls:u,csp:d}=c.useContext(rt),f=s(),v={theme:a,token:i,hashId:l,nonce:()=>d==null?void 0:d.nonce};return um(Object.assign(Object.assign({},v),{path:["Shared",f]}),()=>[{"&":zH(i)}]),[um(Object.assign(Object.assign({},v),{path:[e,o,u]}),()=>{const{token:p,flush:m}=VH(i),y=typeof n=="function"?n(p):n,h=Object.assign(Object.assign({},y),i[e]),g=`.${o}`,b=St(p,{componentCls:g,prefixCls:o,iconCls:`.${u}`,antCls:`.${f}`},h),C=t(b,{hashId:l,prefixCls:o,rootPrefixCls:f,iconPrefixCls:u,overrideComponentToken:i[e]});return m(e,h),[(r==null?void 0:r.resetStyle)===!1?null:HH(i,o),C]}),l]}}const vR=typeof CSSINJS_STATISTIC<"u";let vb=!0;function St(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(o).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),vb=!0,r}function BH(){}function VH(e){let t,n=e,r=BH;return vR&&(t=new Set,n=new Proxy(e,{get(o,a){return vb&&t.add(a),o[a]}}),r=(o,a)=>{Array.from(t)}),{token:n,keys:t,flush:r}}function pb(e,t){return Kd.reduce((n,r)=>{const o=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:l}))},{})}const WH=o2(Gh),vm={token:Yh,hashed:!0},pR=Z.createContext(vm);function ts(){const{token:e,hashed:t,theme:n,components:r}=Z.useContext(pR),o=`${Bl}-${t||""}`,a=n||WH,[i,l]=GM(a,[Yh,e],{salt:o,override:Object.assign({override:e},r),formatToken:AH});return[a,i,t?l:""]}const KH=`-ant-${Date.now()}-${Math.random()}`;function UH(e,t){const n={},r=(i,l)=>{let s=i.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},o=(i,l)=>{const s=new Yt(i),u=oi(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new Yt(t.primaryColor),l=oi(i.toRgbString());l.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setAlpha(u.getAlpha()*.12));const s=new Yt(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(` +`)} + } + `.trim()}function YH(e,t){const n=UH(e,t);Ir()&&Pc(n,`${KH}-dynamic-theme`)}const mb=c.createContext(!1),mR=e=>{let{children:t,disabled:n}=e;const r=c.useContext(mb);return c.createElement(mb.Provider,{value:n??r},t)},Xr=mb,hb=c.createContext(void 0),hR=e=>{let{children:t,size:n}=e;const r=c.useContext(hb);return c.createElement(hb.Provider,{value:n||r},t)},ur=hb;function GH(){const e=c.useContext(Xr),t=c.useContext(ur);return{componentDisabled:e,componentSize:t}}function XH(e,t){const n=e||{},r=n.inherit===!1||!t?vm:t;return tl(()=>{if(!e)return t;const a=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(i=>{a[i]=Object.assign(Object.assign({},a[i]),e.components[i])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:a})},[n,r],(a,i)=>a.some((l,s)=>{const u=i[s];return!Yc(l,u,!0)}))}const qH=(e,t)=>{const[n,r]=ts();return um({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Sf()),{[`.${e} .${e}-icon`]:{display:"block"}})}])};var QH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;t!==void 0&&(pm=t),n!==void 0&&(gR=n),r&&YH(mp(),r)},yR=()=>({getPrefixCls:(e,t)=>t||(e?`${mp()}-${e}`:mp()),getIconPrefixCls:eB,getRootPrefixCls:()=>pm||mp()}),nB=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,form:o,locale:a,componentSize:i,direction:l,space:s,virtual:u,dropdownMatchSelectWidth:d,legacyLocale:f,parentContext:v,iconPrefixCls:p,theme:m,componentDisabled:y}=e,h=c.useCallback((M,I)=>{const{prefixCls:_}=e;if(I)return I;const k=_||v.getPrefixCls("");return M?`${k}-${M}`:k},[v.getPrefixCls,e.prefixCls]),g=p||v.iconPrefixCls||d2,b=g!==v.iconPrefixCls,C=n||v.csp,x=qH(g,C),S=XH(m,v.theme),w={csp:C,autoInsertSpaceInButton:r,locale:a||f,direction:l,space:s,virtual:u,dropdownMatchSelectWidth:d,getPrefixCls:h,iconPrefixCls:g,theme:S},$=Object.assign({},v);Object.keys(w).forEach(M=>{w[M]!==void 0&&($[M]=w[M])}),ZH.forEach(M=>{const I=e[M];I&&($[M]=I)});const O=tl(()=>$,$,(M,I)=>{const _=Object.keys(M),k=Object.keys(I);return _.length!==k.length||_.some(F=>M[F]!==I[F])}),P=c.useMemo(()=>({prefixCls:g,csp:C}),[g,C]);let R=b?x(t):t;const T=c.useMemo(()=>{var M,I,_;return ud({},((M=Gi.Form)===null||M===void 0?void 0:M.defaultValidateMessages)||{},((_=(I=O.locale)===null||I===void 0?void 0:I.Form)===null||_===void 0?void 0:_.defaultValidateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[O,o==null?void 0:o.validateMessages]);Object.keys(T).length>0&&(R=c.createElement(s2,{validateMessages:T},t)),a&&(R=c.createElement(vH,{locale:a,_ANT_MARK__:dH},R)),(g||C)&&(R=c.createElement(Wh.Provider,{value:P},R)),i&&(R=c.createElement(hR,{size:i},R));const N=c.useMemo(()=>{const M=S||{},{algorithm:I,token:_}=M,k=QH(M,["algorithm","token"]),F=I&&(!Array.isArray(I)||I.length>0)?o2(I):void 0;return Object.assign(Object.assign({},k),{theme:F,token:Object.assign(Object.assign({},Yh),_)})},[S]);return m&&(R=c.createElement(pR.Provider,{value:N},R)),y!==void 0&&(R=c.createElement(mR,{disabled:y},R)),c.createElement(rt.Provider,{value:O},R)},nt=e=>{const t=c.useContext(rt),n=c.useContext(c2);return c.createElement(nB,Object.assign({parentContext:t,legacyLocale:n},e))};nt.ConfigContext=rt;nt.SizeContext=ur;nt.config=tB;nt.useConfig=GH;Object.defineProperty(nt,"SizeContext",{get:()=>ur});var bR=function(t){return+setTimeout(t,16)},CR=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(bR=function(t){return window.requestAnimationFrame(t)},CR=function(t){return window.cancelAnimationFrame(t)});var z4=0,f2=new Map;function xR(e){f2.delete(e)}var Ft=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;z4+=1;var r=z4;function o(a){if(a===0)xR(r),t();else{var i=bR(function(){o(a-1)});f2.set(r,i)}}return o(n),r};Ft.cancel=function(e){var t=f2.get(e);return xR(t),CR(t)};function wa(e,t,n,r){var o=wc.unstable_batchedUpdates?function(i){wc.unstable_batchedUpdates(n,i)}:n;return e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e.removeEventListener&&e.removeEventListener(t,o,r)}}}var rB={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const oB=rB;function gb(e,t){Kt(e,"[@ant-design/icons] ".concat(t))}function H4(e){return Ke(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Ke(e.icon)==="object"||typeof e.icon=="function")}function B4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t},{})}function yb(e,t,n){return n?Z.createElement(e.tag,E(E({key:t},B4(e.attrs)),n),(e.children||[]).map(function(r,o){return yb(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):Z.createElement(e.tag,E({key:t},B4(e.attrs)),(e.children||[]).map(function(r,o){return yb(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function SR(e){return oi(e)[0]}function wR(e){return e?Array.isArray(e)?e:[e]:[]}var aB={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},iB=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,$R=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:iB,n=c.useContext(Wh),r=n.csp,o=n.prefixCls,a=t;o&&(a=a.replace(/anticon/g,o)),c.useEffect(function(){Pc(a,"@ant-design-icons",{prepend:!0,csp:r})},[])},lB=["icon","className","onClick","style","primaryColor","secondaryColor"],dd={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function sB(e){var t=e.primaryColor,n=e.secondaryColor;dd.primaryColor=t,dd.secondaryColor=n||SR(t),dd.calculated=!!n}function cB(){return E({},dd)}var Xh=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,l=t.secondaryColor,s=Oe(t,lB),u=dd;if(i&&(u={primaryColor:i,secondaryColor:l||SR(i)}),$R(),gb(H4(n),"icon should be icon definiton, but got ".concat(n)),!H4(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=E(E({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),yb(d.icon,"svg-".concat(d.name),E({className:r,onClick:o,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s))};Xh.displayName="IconReact";Xh.getTwoToneColors=cB;Xh.setTwoToneColors=sB;const v2=Xh;function ER(e){var t=wR(e),n=U(t,2),r=n[0],o=n[1];return v2.setTwoToneColors({primaryColor:r,secondaryColor:o})}function uB(){var e=v2.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var dB=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ER("#1890ff");var qh=c.forwardRef(function(e,t){var n,r=e.className,o=e.icon,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,u=e.twoToneColor,d=Oe(e,dB),f=c.useContext(Wh),v=f.prefixCls,p=v===void 0?"anticon":v,m=f.rootClassName,y=G(m,p,(n={},A(n,"".concat(p,"-").concat(o.name),!!o.name),A(n,"".concat(p,"-spin"),!!a||o.name==="loading"),n),r),h=l;h===void 0&&s&&(h=-1);var g=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=wR(u),C=U(b,2),x=C[0],S=C[1];return c.createElement("span",E(E({role:"img","aria-label":o.name},d),{},{ref:t,tabIndex:h,onClick:s,className:y}),c.createElement(v2,{icon:o,primaryColor:x,secondaryColor:S,style:g}))});qh.displayName="AntdIcon";qh.getTwoToneColor=uB;qh.setTwoToneColor=ER;const Pt=qh;var PR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:oB}))};PR.displayName="CheckCircleFilled";const Qh=c.forwardRef(PR);var fB={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 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const vB=fB;var OR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:vB}))};OR.displayName="CloseCircleFilled";const fi=c.forwardRef(OR);var pB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"};const mB=pB;var MR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:mB}))};MR.displayName="CloseOutlined";const ns=c.forwardRef(MR);var hB={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const gB=hB;var RR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:gB}))};RR.displayName="ExclamationCircleFilled";const p2=c.forwardRef(RR);var yB={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const bB=yB;var IR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:bB}))};IR.displayName="InfoCircleFilled";const CB=c.forwardRef(IR);var xB=c.createContext({}),SB=function(e){Bo(n,e);var t=Vo(n);function n(){return Fn(this,n),t.apply(this,arguments)}return Dn(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);function Wi(e){var t=c.useRef(!1),n=c.useState(e),r=U(n,2),o=r[0],a=r[1];c.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(l,s){s&&t.current||a(l)}return[o,i]}var ml="none",Iv="appear",Nv="enter",Tv="leave",V4="none",ra="prepare",qs="start",Qs="active",m2="end",NR="prepared";function W4(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}function wB(e,t){var n={animationend:W4("Animation","AnimationEnd"),transitionend:W4("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var $B=wB(Ir(),typeof window<"u"?window:{}),TR={};if(Ir()){var EB=document.createElement("div");TR=EB.style}var _v={};function _R(e){if(_v[e])return _v[e];var t=$B[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Ft(function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)});e.current=a}return c.useEffect(function(){return function(){t()}},[]),[n,t]};var MB=[ra,qs,Qs,m2],RB=[ra,NR],AR=!1,IB=!0;function jR(e){return e===Qs||e===m2}const NB=function(e,t,n){var r=Wi(V4),o=U(r,2),a=o[0],i=o[1],l=OB(),s=U(l,2),u=s[0],d=s[1];function f(){i(ra,!0)}var v=t?RB:MB;return LR(function(){if(a!==V4&&a!==m2){var p=v.indexOf(a),m=v[p+1],y=n(a);y===AR?i(m,!0):m&&u(function(h){function g(){h.isCanceled()||i(m,!0)}y===!0?g():Promise.resolve(y).then(g)})}},[e,a]),c.useEffect(function(){return function(){d()}},[]),[f,a]};function TB(e,t,n,r){var o=r.motionEnter,a=o===void 0?!0:o,i=r.motionAppear,l=i===void 0?!0:i,s=r.motionLeave,u=s===void 0?!0:s,d=r.motionDeadline,f=r.motionLeaveImmediately,v=r.onAppearPrepare,p=r.onEnterPrepare,m=r.onLeavePrepare,y=r.onAppearStart,h=r.onEnterStart,g=r.onLeaveStart,b=r.onAppearActive,C=r.onEnterActive,x=r.onLeaveActive,S=r.onAppearEnd,w=r.onEnterEnd,$=r.onLeaveEnd,O=r.onVisibleChanged,P=Wi(),R=U(P,2),T=R[0],N=R[1],M=Wi(ml),I=U(M,2),_=I[0],k=I[1],F=Wi(null),D=U(F,2),j=D[0],H=D[1],z=c.useRef(!1),B=c.useRef(null);function V(){return n()}var K=c.useRef(!1);function W(){k(ml,!0),H(null,!0)}function Y(pe){var se=V();if(!(pe&&!pe.deadline&&pe.target!==se)){var ve=K.current,he;_===Iv&&ve?he=S==null?void 0:S(se,pe):_===Nv&&ve?he=w==null?void 0:w(se,pe):_===Tv&&ve&&(he=$==null?void 0:$(se,pe)),_!==ml&&ve&&he!==!1&&W()}}var X=PB(Y),Q=U(X,1),ae=Q[0],ee=function(se){var ve,he,ce;switch(se){case Iv:return ve={},A(ve,ra,v),A(ve,qs,y),A(ve,Qs,b),ve;case Nv:return he={},A(he,ra,p),A(he,qs,h),A(he,Qs,C),he;case Tv:return ce={},A(ce,ra,m),A(ce,qs,g),A(ce,Qs,x),ce;default:return{}}},q=c.useMemo(function(){return ee(_)},[_]),re=NB(_,!e,function(pe){if(pe===ra){var se=q[ra];return se?se(V()):AR}if(ne in q){var ve;H(((ve=q[ne])===null||ve===void 0?void 0:ve.call(q,V(),null))||null)}return ne===Qs&&(ae(V()),d>0&&(clearTimeout(B.current),B.current=setTimeout(function(){Y({deadline:!0})},d))),ne===NR&&W(),IB}),te=U(re,2),J=te[0],ne=te[1],oe=jR(ne);K.current=oe,LR(function(){N(t);var pe=z.current;z.current=!0;var se;!pe&&t&&l&&(se=Iv),pe&&t&&a&&(se=Nv),(pe&&!t&&u||!pe&&f&&!t&&u)&&(se=Tv);var ve=ee(se);se&&(e||ve[ra])?(k(se),J()):k(ml)},[t]),c.useEffect(function(){(_===Iv&&!l||_===Nv&&!a||_===Tv&&!u)&&k(ml)},[l,a,u]),c.useEffect(function(){return function(){z.current=!1,clearTimeout(B.current)}},[]);var le=c.useRef(!1);c.useEffect(function(){T&&(le.current=!0),T!==void 0&&_===ml&&((le.current||T)&&(O==null||O(T)),le.current=!0)},[T,_]);var de=j;return q[ra]&&ne===qs&&(de=E({transition:"none"},de)),[_,ne,de,T??t]}function _B(e){var t=e;Ke(e)==="object"&&(t=e.transitionSupport);function n(o,a){return!!(o.motionName&&t&&a!==!1)}var r=c.forwardRef(function(o,a){var i=o.visible,l=i===void 0?!0:i,s=o.removeOnLeave,u=s===void 0?!0:s,d=o.forceRender,f=o.children,v=o.motionName,p=o.leavedClassName,m=o.eventProps,y=c.useContext(xB),h=y.motion,g=n(o,h),b=c.useRef(),C=c.useRef();function x(){try{return b.current instanceof HTMLElement?b.current:$c(C.current)}catch{return null}}var S=TB(g,l,x,o),w=U(S,4),$=w[0],O=w[1],P=w[2],R=w[3],T=c.useRef(R);R&&(T.current=!0);var N=c.useCallback(function(H){b.current=H,e2(a,H)},[a]),M,I=E(E({},m),{},{visible:l});if(!f)M=null;else if($===ml)R?M=f(E({},I),N):!u&&T.current&&p?M=f(E(E({},I),{},{className:p}),N):d||!u&&!p?M=f(E(E({},I),{},{style:{display:"none"}}),N):M=null;else{var _,k;O===ra?k="prepare":jR(O)?k="active":O===qs&&(k="start");var F=Y4(v,"".concat($,"-").concat(k));M=f(E(E({},I),{},{className:G(Y4(v,$),(_={},A(_,F,F&&k),A(_,v,typeof v=="string"),_)),style:P}),N)}if(c.isValidElement(M)&&es(M)){var D=M,j=D.ref;j||(M=c.cloneElement(M,{ref:N}))}return c.createElement(SB,{ref:C},M)});return r.displayName="CSSMotion",r}const er=_B(DR);var bb="add",Cb="keep",xb="remove",U0="removed";function kB(e){var t;return e&&Ke(e)==="object"&&"key"in e?t=e:t={key:e},E(E({},t),{},{key:String(t.key)})}function Sb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(kB)}function FB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,a=Sb(e),i=Sb(t);a.forEach(function(u){for(var d=!1,f=r;f1});return s.forEach(function(u){n=n.filter(function(d){var f=d.key,v=d.status;return f!==u||v!==xb}),n.forEach(function(d){d.key===u&&(d.status=Cb)})}),n}var DB=["component","children","onVisibleChanged","onAllRemoved"],LB=["status"],AB=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function jB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:er,n=function(r){Bo(a,r);var o=Vo(a);function a(){var i;Fn(this,a);for(var l=arguments.length,s=new Array(l),u=0;u((n.startsWith("data-")||n.startsWith("aria-")||n==="role")&&!n.startsWith("data-__")&&(t[n]=e[n]),t),{})}const{isValidElement:Ho}=Np;function HR(e){return e&&Ho(e)&&e.type===c.Fragment}function HB(e,t,n){return Ho(e)?c.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Yn(e,t){return HB(e,e,t)}function ao(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;itypeof e=="object"&&e!=null&&e.nodeType===1,X4=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",Y0=(e,t)=>{if(e.clientHeight{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeightat||a>e&&i=t&&l>=n?a-e-r:i>t&&ln?i-t+o:0,BB=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},q4=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:l,inline:s,boundary:u,skipOverflowHiddenElements:d}=t,f=typeof u=="function"?u:N=>N!==u;if(!G4(e))throw new TypeError("Invalid target");const v=document.scrollingElement||document.documentElement,p=[];let m=e;for(;G4(m)&&f(m);){if(m=BB(m),m===v){p.push(m);break}m!=null&&m===document.body&&Y0(m)&&!Y0(document.documentElement)||m!=null&&Y0(m,d)&&p.push(m)}const y=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,h=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:g,scrollY:b}=window,{height:C,width:x,top:S,right:w,bottom:$,left:O}=e.getBoundingClientRect();let P=l==="start"||l==="nearest"?S:l==="end"?$:S+C/2,R=s==="center"?O+x/2:s==="end"?w:O;const T=[];for(let N=0;N=0&&O>=0&&$<=h&&w<=y&&S>=k&&$<=D&&O>=j&&w<=F)return T;const H=getComputedStyle(M),z=parseInt(H.borderLeftWidth,10),B=parseInt(H.borderTopWidth,10),V=parseInt(H.borderRightWidth,10),K=parseInt(H.borderBottomWidth,10);let W=0,Y=0;const X="offsetWidth"in M?M.offsetWidth-M.clientWidth-z-V:0,Q="offsetHeight"in M?M.offsetHeight-M.clientHeight-B-K:0,ae="offsetWidth"in M?M.offsetWidth===0?0:_/M.offsetWidth:0,ee="offsetHeight"in M?M.offsetHeight===0?0:I/M.offsetHeight:0;if(v===M)W=l==="start"?P:l==="end"?P-h:l==="nearest"?kv(b,b+h,h,B,K,b+P,b+P+C,C):P-h/2,Y=s==="start"?R:s==="center"?R-y/2:s==="end"?R-y:kv(g,g+y,y,z,V,g+R,g+R+x,x),W=Math.max(0,W+b),Y=Math.max(0,Y+g);else{W=l==="start"?P-k-B:l==="end"?P-D+K+Q:l==="nearest"?kv(k,D,I,B,K+Q,P,P+C,C):P-(k+I/2)+Q/2,Y=s==="start"?R-j-z:s==="center"?R-(j+_/2)+X/2:s==="end"?R-F+V+X:kv(j,F,_,z,V+X,R,R+x,x);const{scrollLeft:q,scrollTop:re}=M;W=Math.max(0,Math.min(re+W/ee,M.scrollHeight-I/ee+Q)),Y=Math.max(0,Math.min(q+Y/ae,M.scrollWidth-_/ae+X)),P+=re-W,R+=q-Y}T.push({el:M,top:W,left:Y})}return T},VB=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function WB(e,t){if(!e.isConnected||!(r=>{let o=r;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((r=>typeof r=="object"&&typeof r.behavior=="function")(t))return t.behavior(q4(e,t));const n=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:r,top:o,left:a}of q4(e,VB(t)))r.scroll({top:o,left:a,behavior:n})}var ue={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ue.F1&&n<=ue.F12)return!1;switch(n){case ue.ALT:case ue.CAPS_LOCK:case ue.CONTEXT_MENU:case ue.CTRL:case ue.DOWN:case ue.END:case ue.ESC:case ue.HOME:case ue.INSERT:case ue.LEFT:case ue.MAC_FF_META:case ue.META:case ue.NUMLOCK:case ue.NUM_CENTER:case ue.PAGE_DOWN:case ue.PAGE_UP:case ue.PAUSE:case ue.PRINT_SCREEN:case ue.RIGHT:case ue.SHIFT:case ue.UP:case ue.WIN_KEY:case ue.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ue.ZERO&&t<=ue.NINE||t>=ue.NUM_ZERO&&t<=ue.NUM_MULTIPLY||t>=ue.A&&t<=ue.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ue.SPACE:case ue.QUESTION_MARK:case ue.NUM_PLUS:case ue.NUM_MINUS:case ue.NUM_PERIOD:case ue.NUM_DIVISION:case ue.SEMICOLON:case ue.DASH:case ue.EQUALS:case ue.COMMA:case ue.PERIOD:case ue.SLASH:case ue.APOSTROPHE:case ue.SINGLE_QUOTE:case ue.OPEN_SQUARE_BRACKET:case ue.BACKSLASH:case ue.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},KB=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.className,a=e.duration,i=a===void 0?4.5:a,l=e.eventKey,s=e.content,u=e.closable,d=e.closeIcon,f=d===void 0?"x":d,v=e.props,p=e.onClick,m=e.onNoticeClose,y=e.times,h=c.useState(!1),g=U(h,2),b=g[0],C=g[1],x=function(){m(l)},S=function(O){(O.key==="Enter"||O.code==="Enter"||O.keyCode===ue.ENTER)&&x()};c.useEffect(function(){if(!b&&i>0){var $=setTimeout(function(){x()},i*1e3);return function(){clearTimeout($)}}},[i,b,y]);var w="".concat(n,"-notice");return c.createElement("div",be({},v,{ref:t,className:G(w,o,A({},"".concat(w,"-closable"),u)),style:r,onMouseEnter:function(){C(!0)},onMouseLeave:function(){C(!1)},onClick:p}),c.createElement("div",{className:"".concat(w,"-content")},s),u&&c.createElement("a",{tabIndex:0,className:"".concat(w,"-close"),onKeyDown:S,onClick:function(O){O.preventDefault(),O.stopPropagation(),x()}},f))});const BR=KB;var UB=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,o=e.container,a=e.motion,i=e.maxCount,l=e.className,s=e.style,u=e.onAllRemoved,d=c.useState([]),f=U(d,2),v=f[0],p=f[1],m=function($){var O,P=v.find(function(R){return R.key===$});P==null||(O=P.onClose)===null||O===void 0||O.call(P),p(function(R){return R.filter(function(T){return T.key!==$})})};c.useImperativeHandle(t,function(){return{open:function($){p(function(O){var P=xe(O),R=P.findIndex(function(M){return M.key===$.key}),T=E({},$);if(R>=0){var N;T.times=(((N=O[R])===null||N===void 0?void 0:N.times)||0)+1,P[R]=T}else T.times=0,P.push(T);return i>0&&P.length>i&&(P=P.slice(-i)),P})},close:function($){m($)},destroy:function(){p([])}}});var y=c.useState({}),h=U(y,2),g=h[0],b=h[1];c.useEffect(function(){var w={};v.forEach(function($){var O=$.placement,P=O===void 0?"topRight":O;P&&(w[P]=w[P]||[],w[P].push($))}),Object.keys(g).forEach(function($){w[$]=w[$]||[]}),b(w)},[v]);var C=function($){b(function(O){var P=E({},O),R=P[$]||[];return R.length||delete P[$],P})},x=c.useRef(!1);if(c.useEffect(function(){Object.keys(g).length>0?x.current=!0:x.current&&(u==null||u(),x.current=!1)},[g]),!o)return null;var S=Object.keys(g);return Jl.createPortal(c.createElement(c.Fragment,null,S.map(function(w){var $=g[w],O=$.map(function(R){return{config:R,key:R.key}}),P=typeof a=="function"?a(w):a;return c.createElement(zR,be({key:w,className:G(r,"".concat(r,"-").concat(w),l==null?void 0:l(w)),style:s==null?void 0:s(w),keys:O,motionAppear:!0},P,{onAllRemoved:function(){C(w)}}),function(R,T){var N=R.config,M=R.className,I=R.style,_=N.key,k=N.times,F=N.className,D=N.style;return c.createElement(BR,be({},N,{ref:T,prefixCls:r,className:G(M,F),style:E(E({},I),D),times:k,key:_,eventKey:_,onNoticeClose:m}))})})),o)}),YB=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],GB=function(){return document.body},Q4=0;function XB(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?GB:t,r=e.motion,o=e.prefixCls,a=e.maxCount,i=e.className,l=e.style,s=e.onAllRemoved,u=Oe(e,YB),d=c.useState(),f=U(d,2),v=f[0],p=f[1],m=c.useRef(),y=c.createElement(UB,{container:v,ref:m,prefixCls:o,motion:r,maxCount:a,className:i,style:l,onAllRemoved:s}),h=c.useState([]),g=U(h,2),b=g[0],C=g[1],x=c.useMemo(function(){return{open:function(w){var $=XB(u,w);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat(Q4),Q4+=1),C(function(O){return[].concat(xe(O),[{type:"open",config:$}])})},close:function(w){C(function($){return[].concat(xe($),[{type:"close",key:w}])})},destroy:function(){C(function(w){return[].concat(xe(w),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){p(n())}),c.useEffect(function(){m.current&&b.length&&(b.forEach(function(S){switch(S.type){case"open":m.current.open(S.config);break;case"close":m.current.close(S.key);break;case"destroy":m.current.destroy();break}}),C([]))},[b]),[x,y]}const QB=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorBgElevated:a,colorSuccess:i,colorError:l,colorWarning:s,colorInfo:u,fontSizeLG:d,motionEaseInOutCirc:f,motionDurationSlow:v,marginXS:p,paddingXS:m,borderRadiusLG:y,zIndexPopup:h,messageNoticeContentPadding:g}=e,b=`${t}-notice`,C=new It("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),x=new It("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),S={padding:m,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:d},[`${b}-content`]:{display:"inline-block",padding:g,background:a,borderRadius:y,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:l},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, + ${t}-loading > ${n}`]:{color:u}};return[{[t]:Object.assign(Object.assign({},At(e)),{color:o,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:C,animationDuration:v,animationPlayState:"paused",animationTimingFunction:f},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:v,animationPlayState:"paused",animationTimingFunction:f},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[b]:Object.assign({},S)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},S),{padding:0,textAlign:"start"})}]},VR=Ut("Message",e=>{const t=St(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[QB(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10}));function ZB(e,t){return{motionName:t??`${e}-move-up`}}function h2(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,a)=>n.then(o,a),r.promise=n,r}var JB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const eV=JB;var WR=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:eV}))};WR.displayName="LoadingOutlined";const ai=c.forwardRef(WR);var tV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{top:n,prefixCls:r,getContainer:o,maxCount:a,duration:i=iV,rtl:l,transitionName:s,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f}=c.useContext(rt),v=r||d("message"),[,p]=VR(v),m=()=>({left:"50%",transform:"translateX(-50%)",top:n??aV}),y=()=>G(p,l?`${v}-rtl`:""),h=()=>ZB(v,s),g=c.createElement("span",{className:`${v}-close-x`},c.createElement(ns,{className:`${v}-close-icon`})),[b,C]=qB({prefixCls:v,style:m,className:y,motion:h,closable:!1,closeIcon:g,duration:i,getContainer:()=>(o==null?void 0:o())||(f==null?void 0:f())||document.body,maxCount:a,onAllRemoved:u});return c.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:v,hashId:p})),C});let Z4=0;function UR(e){const t=c.useRef(null);return[c.useMemo(()=>{const r=s=>{var u;(u=t.current)===null||u===void 0||u.close(s)},o=s=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:u,prefixCls:d,hashId:f}=t.current,v=`${d}-notice`,{content:p,icon:m,type:y,key:h,className:g,onClose:b}=s,C=oV(s,["content","icon","type","key","className","onClose"]);let x=h;return x==null&&(Z4+=1,x=`antd-message-${Z4}`),h2(S=>(u(Object.assign(Object.assign({},C),{key:x,content:c.createElement(KR,{prefixCls:d,type:y,icon:m},p),placement:"top",className:G(y&&`${v}-${y}`,f,g),onClose:()=>{b==null||b(),S()}})),()=>{r(x)}))},i={open:o,destroy:s=>{var u;s!==void 0?r(s):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(d,f,v)=>{let p;d&&typeof d=="object"&&"content"in d?p=d:p={content:d};let m,y;typeof f=="function"?y=f:(m=f,y=v);const h=Object.assign(Object.assign({onClose:y,duration:m},p),{type:s});return o(h)};i[s]=u}),i},[]),c.createElement(lV,Object.assign({key:"message-holder"},e,{ref:t}))]}function sV(e){return UR(e)}var wf=E({},aA),cV=wf.version,uV=wf.render,dV=wf.unmountComponentAtNode,Zh;try{var fV=Number((cV||"").split(".")[0]);fV>=18&&(Zh=wf.createRoot)}catch{}function J4(e){var t=wf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Ke(t)==="object"&&(t.usingClientEntryPoint=e)}var mm="__rc_react_root__";function vV(e,t){J4(!0);var n=t[mm]||Zh(t);J4(!1),n.render(e),t[mm]=n}function pV(e,t){uV(e,t)}function YR(e,t){if(Zh){vV(e,t);return}pV(e,t)}function mV(e){return wb.apply(this,arguments)}function wb(){return wb=ir(Lt().mark(function e(t){return Lt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[mm])===null||o===void 0||o.unmount(),delete t[mm]}));case 1:case"end":return r.stop()}},e)})),wb.apply(this,arguments)}function hV(e){dV(e)}function gV(e){return $b.apply(this,arguments)}function $b(){return $b=ir(Lt().mark(function e(t){return Lt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Zh===void 0){r.next=2;break}return r.abrupt("return",mV(t));case 2:hV(t);case 3:case"end":return r.stop()}},e)})),$b.apply(this,arguments)}const Xc=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1},yV=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},bV=Ut("Wave",e=>[yV(e)]);function CV(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function G0(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&CV(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function xV(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return G0(t)?t:G0(n)?n:G0(r)?r:null}function X0(e){return Number.isNaN(e)?0:e}const SV=e=>{const{className:t,target:n}=e,r=c.useRef(null),[o,a]=c.useState(null),[i,l]=c.useState([]),[s,u]=c.useState(0),[d,f]=c.useState(0),[v,p]=c.useState(0),[m,y]=c.useState(0),[h,g]=c.useState(!1),b={left:s,top:d,width:v,height:m,borderRadius:i.map(x=>`${x}px`).join(" ")};o&&(b["--wave-color"]=o);function C(){const x=getComputedStyle(n);a(xV(n));const S=x.position==="static",{borderLeftWidth:w,borderTopWidth:$}=x;u(S?n.offsetLeft:X0(-parseFloat(w))),f(S?n.offsetTop:X0(-parseFloat($))),p(n.offsetWidth),y(n.offsetHeight);const{borderTopLeftRadius:O,borderTopRightRadius:P,borderBottomLeftRadius:R,borderBottomRightRadius:T}=x;l([O,P,T,R].map(N=>X0(parseFloat(N))))}return c.useEffect(()=>{if(n){const x=Ft(()=>{C(),g(!0)});let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(C),S.observe(n)),()=>{Ft.cancel(x),S==null||S.disconnect()}}},[]),h?c.createElement(er,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,S)=>{var w;if(S.deadline||S.propertyName==="opacity"){const $=(w=r.current)===null||w===void 0?void 0:w.parentElement;gV($).then(()=>{$==null||$.remove()})}return!1}},x=>{let{className:S}=x;return c.createElement("div",{ref:r,className:G(t,S),style:b})}):null};function wV(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),YR(c.createElement(SV,{target:e,className:t}),n)}function $V(e,t){function n(){const r=e.current;wV(r,t)}return n}const EV=e=>{const{children:t,disabled:n}=e,{getPrefixCls:r}=c.useContext(rt),o=c.useRef(null),a=r("wave"),[,i]=bV(a),l=$V(o,G(a,i));if(Z.useEffect(()=>{const u=o.current;if(!u||u.nodeType!==1||n)return;const d=f=>{f.target.tagName==="INPUT"||!Xc(f.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l()};return u.addEventListener("click",d,!0),()=>{u.removeEventListener("click",d,!0)}},[n]),!Z.isValidElement(t))return t??null;const s=es(t)?cr(t.ref,o):o;return Yn(t,{ref:s})},GR=EV,PV=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},OV=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},XR=Ut("Space",e=>[OV(e),PV(e)],()=>({}),{resetStyle:!1});var qR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(Jh),r=c.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:a,isLastItem:i}=n,l=o==="vertical"?"-vertical-":"-";return G({[`${e}-compact${l}item`]:!0,[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Wl=e=>{let{children:t}=e;return c.createElement(Jh.Provider,{value:null},t)},MV=e=>{var{children:t}=e,n=qR(e,["children"]);return c.createElement(Jh.Provider,{value:n},t)},RV=e=>{const{getPrefixCls:t,direction:n}=c.useContext(rt),{size:r="middle",direction:o,block:a,prefixCls:i,className:l,rootClassName:s,children:u}=e,d=qR(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=t("space-compact",i),[v,p]=XR(f),m=G(f,p,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:a,[`${f}-vertical`]:o==="vertical"},l,s),y=c.useContext(Jh),h=kr(u),g=c.useMemo(()=>h.map((b,C)=>{const x=b&&b.key||`${f}-item-${C}`;return c.createElement(MV,{key:x,compactSize:r,compactDirection:o,isFirstItem:C===0&&(!y||(y==null?void 0:y.isFirstItem)),isLastItem:C===h.length-1&&(!y||(y==null?void 0:y.isLastItem))},b)}),[r,h,y]);return h.length===0?null:v(c.createElement("div",Object.assign({className:m},d),g))},IV=RV,q0=()=>({width:0,opacity:0,transform:"scale(0)"}),Q0=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),NV=e=>{let{prefixCls:t,loading:n,existIcon:r}=e;const o=!!n;return r?Z.createElement("span",{className:`${t}-loading-icon`},Z.createElement(ai,null)):Z.createElement(er,{visible:o,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:q0,onAppearActive:Q0,onEnterStart:q0,onEnterActive:Q0,onLeaveStart:Q0,onLeaveActive:q0},(a,i)=>{let{className:l,style:s}=a;return Z.createElement("span",{className:`${t}-loading-icon`,style:s,ref:i},Z.createElement(ai,{className:l}))})},TV=NV;var _V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=c.useContext(rt),{prefixCls:r,size:o,className:a}=e,i=_V(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=ts();let u="";switch(o){case"large":u="lg";break;case"small":u="sm";break}const d=G(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},a,s);return c.createElement(QR.Provider,{value:o},c.createElement("div",Object.assign({},i,{className:d})))},FV=kV,eE=/^[\u4e00-\u9fa5]{2}$/,Eb=eE.test.bind(eE);function DV(e){return typeof e=="string"}function Z0(e){return e==="text"||e==="link"}function LV(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&DV(e.type)&&Eb(e.props.children)?Yn(e,{children:e.props.children.split("").join(n)}):typeof e=="string"?Eb(e)?Z.createElement("span",null,e.split("").join(n)):Z.createElement("span",null,e):HR(e)?Z.createElement("span",null,e):e}function AV(e,t){let n=!1;const r=[];return Z.Children.forEach(e,o=>{const a=typeof o,i=a==="string"||a==="number";if(n&&i){const l=r.length-1,s=r[l];r[l]=`${s}${o}`}else r.push(o);n=i}),Z.Children.map(r,o=>LV(o,t))}const tE=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),jV=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},tE(`${t}-primary`,o),tE(`${t}-danger`,a)]}};function zV(e,t,n){const{focusElCls:r,focus:o,borderElCls:a}=n,i=a?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function HV(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function qc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},zV(e,r,t)),HV(n,r,t))}}function BV(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function VV(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function WV(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},BV(e,t)),VV(e.componentCls,t))}}const KV=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Oc(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},ii=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),UV=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),YV=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Pb=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),hm=(e,t,n,r,o,a,i)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},ii(Object.assign({backgroundColor:"transparent"},a),Object.assign({backgroundColor:"transparent"},i))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),g2=e=>({"&:disabled":Object.assign({},Pb(e))}),ZR=e=>Object.assign({},g2(e)),gm=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),JR=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ZR(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),ii({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),hm(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ii({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),hm(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),g2(e))}),GV=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ZR(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),ii({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),hm(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},ii({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),hm(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),g2(e))}),XV=e=>Object.assign(Object.assign({},JR(e)),{borderStyle:"dashed"}),qV=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ii({color:e.colorLinkHover},{color:e.colorLinkActive})),gm(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ii({color:e.colorErrorHover},{color:e.colorErrorActive})),gm(e))}),QV=e=>Object.assign(Object.assign(Object.assign({},ii({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),gm(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},gm(e)),ii({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),ZV=e=>Object.assign(Object.assign({},Pb(e)),{[`&${e.componentCls}:hover`]:Object.assign({},Pb(e))}),JV=e=>{const{componentCls:t}=e;return{[`${t}-default`]:JR(e),[`${t}-primary`]:GV(e),[`${t}-dashed`]:XV(e),[`${t}-link`]:qV(e),[`${t}-text`]:QV(e),[`${t}-disabled`]:ZV(e)}},y2=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:o,fontSize:a,lineHeight:i,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:u}=e,d=Math.max(0,(o-a*i)/2-l),f=u-l,v=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:a,height:o,padding:`${d}px ${f}px`,borderRadius:s,[`&${v}`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${v}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:UV(e)},{[`${n}${n}-round${t}`]:YV(e)}]},eW=e=>y2(e),tW=e=>{const t=St(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return y2(t,`${e.componentCls}-sm`)},nW=e=>{const t=St(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return y2(t,`${e.componentCls}-lg`)},rW=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},oW=Ut("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=St(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[KV(r),tW(r),eW(r),nW(r),rW(r),JV(r),jV(r),qc(e),WV(e)]});var aW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{loading:n=!1,prefixCls:r,type:o="default",danger:a,shape:i="default",size:l,disabled:s,className:u,rootClassName:d,children:f,icon:v,ghost:p=!1,block:m=!1,htmlType:y="button"}=e,h=aW(e,["loading","prefixCls","type","danger","shape","size","disabled","className","rootClassName","children","icon","ghost","block","htmlType"]),{getPrefixCls:g,autoInsertSpaceInButton:b,direction:C}=c.useContext(rt),x=g("btn",r),[S,w]=oW(x),$=c.useContext(ur),O=c.useContext(Xr),P=s??O,R=c.useContext(QR),T=c.useMemo(()=>iW(n),[n]),[N,M]=c.useState(T.loading),[I,_]=c.useState(!1),F=cr(t,c.createRef()),D=c.Children.count(f)===1&&!v&&!Z0(o);c.useEffect(()=>{let te=null;T.delay>0?te=setTimeout(()=>{te=null,M(!0)},T.delay):M(T.loading);function J(){te&&(clearTimeout(te),te=null)}return J},[T]),c.useEffect(()=>{if(!F||!F.current||b===!1)return;const te=F.current.textContent;D&&Eb(te)?I||_(!0):I&&_(!1)},[F]);const j=te=>{const{onClick:J}=e;if(N||P){te.preventDefault();return}J==null||J(te)},H=b!==!1,{compactSize:z,compactItemClassnames:B}=ka(x,C),V={large:"lg",small:"sm",middle:void 0},K=z||R||l||$,W=K&&V[K]||"",Y=N?"loading":v,X=On(h,["navigate"]),Q=X.href!==void 0&&P,ae=G(x,w,{[`${x}-${i}`]:i!=="default"&&i,[`${x}-${o}`]:o,[`${x}-${W}`]:W,[`${x}-icon-only`]:!f&&f!==0&&!!Y,[`${x}-background-ghost`]:p&&!Z0(o),[`${x}-loading`]:N,[`${x}-two-chinese-chars`]:I&&H&&!N,[`${x}-block`]:m,[`${x}-dangerous`]:!!a,[`${x}-rtl`]:C==="rtl",[`${x}-disabled`]:Q},B,u,d),ee=v&&!N?v:Z.createElement(TV,{existIcon:!!v,prefixCls:x,loading:!!N}),q=f||f===0?AV(f,D&&H):null;if(X.href!==void 0)return S(Z.createElement("a",Object.assign({},X,{className:ae,onClick:j,ref:F}),ee,q));let re=Z.createElement("button",Object.assign({},h,{type:y,className:ae,onClick:j,disabled:P,ref:F}),ee,q);return Z0(o)||(re=Z.createElement(GR,{disabled:!!N},re)),S(re)},b2=c.forwardRef(lW);b2.Group=FV;b2.__ANT_BUTTON=!0;const li=b2,J0=()=>({height:0,opacity:0}),nE=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},sW=e=>({height:e?e.offsetHeight:0}),e1=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Ob=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:J0,onEnterStart:J0,onAppearActive:nE,onEnterActive:nE,onLeaveStart:sW,onLeaveActive:J0,onAppearEnd:e1,onEnterEnd:e1,onLeaveEnd:e1,motionDeadline:500}},C2=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Yr=(e,t,n)=>n!==void 0?n:`${e}-${t}`;var eI=c.createContext(null),tn=Ir()?c.useLayoutEffect:c.useEffect,sc=function(t,n){var r=c.useRef(!0);tn(function(){if(!r.current)return t()},n),tn(function(){return r.current=!1,function(){r.current=!0}},[])},rE=[];function cW(e,t){var n=c.useState(function(){if(!Ir())return null;var m=document.createElement("div");return m}),r=U(n,1),o=r[0],a=c.useRef(!1),i=c.useContext(eI),l=c.useState(rE),s=U(l,2),u=s[0],d=s[1],f=i||(a.current?void 0:function(m){d(function(y){var h=[m].concat(xe(y));return h})});function v(){o.parentElement||document.body.appendChild(o),a.current=!0}function p(){var m;(m=o.parentElement)===null||m===void 0||m.removeChild(o),a.current=!1}return tn(function(){return e?i?i(v):v():p(),p},[e]),tn(function(){u.length&&(u.forEach(function(m){return m()}),d(rE))},[u]),[o,f]}var t1;function uW(e){if(typeof document>"u")return 0;if(e||t1===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=n.clientWidth),document.body.removeChild(n),t1=o-a}return t1}function dW(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var fW="rc-util-locker-".concat(Date.now()),oE=0;function vW(e){var t=!!e,n=c.useState(function(){return oE+=1,"".concat(fW,"_").concat(oE)}),r=U(n,1),o=r[0];tn(function(){if(t){var a=uW(),i=dW();Pc(` +html body { + overflow-y: hidden; + `.concat(i?"width: calc(100% - ".concat(a,"px);"):"",` +}`),o)}else sm(o);return function(){sm(o)}},[t,o])}var aE=!1;function pW(e){return typeof e=="boolean"&&(aE=e),aE}var iE=function(t){return t===!1?!1:!Ir()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},$f=c.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var a=e.autoDestroy,i=a===void 0?!0:a,l=e.children,s=c.useState(n),u=U(s,2),d=u[0],f=u[1],v=d||n;c.useEffect(function(){(i||n)&&f(n)},[n,i]);var p=c.useState(function(){return iE(o)}),m=U(p,2),y=m[0],h=m[1];c.useEffect(function(){var T=iE(o);h(T??null)});var g=cW(v&&!y),b=U(g,2),C=b[0],x=b[1],S=y??C;vW(r&&n&&Ir()&&(S===C||S===document.body));var w=null;if(l&&es(l)&&t){var $=l;w=$.ref}var O=Cf(w,t);if(!v||!Ir()||y===void 0)return null;var P=S===!1||pW(),R=l;return t&&(R=c.cloneElement(l,{ref:O})),c.createElement(eI.Provider,{value:x},P?R:Jl.createPortal(R,S))});function mW(){var e=E({},Np);return e.useId}var lE=0;function tI(e){var t=c.useState("ssr-id"),n=U(t,2),r=n[0],o=n[1],a=mW(),i=a==null?void 0:a();return c.useEffect(function(){if(!a){var l=lE;lE+=1,o("rc_unique_".concat(l))}},[]),e||i||r}var hW=`accept acceptCharset accessKey action allowFullScreen allowTransparency + alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge + charSet checked classID className colSpan cols content contentEditable contextMenu + controls coords crossOrigin data dateTime default defer dir disabled download draggable + encType form formAction formEncType formMethod formNoValidate formTarget frameBorder + headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity + is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media + mediaGroup method min minLength multiple muted name noValidate nonce open + optimum pattern placeholder poster preload radioGroup readOnly rel required + reversed role rowSpan rows sandbox scope scoped scrolling seamless selected + shape size sizes span spellCheck src srcDoc srcLang srcSet start step style + summary tabIndex target title type useMap value width wmode wrap`,gW=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick + onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown + onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel + onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough + onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,yW="".concat(hW," ").concat(gW).split(/[\s\n]+/),bW="aria-",CW="data-";function sE(e,t){return e.indexOf(t)===0}function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=E({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||sE(o,bW))||n.data&&sE(o,CW)||n.attr&&yW.includes(o))&&(r[o]=e[o])}),r}function cE(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function uE(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function xW(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=uE(o),n.top+=uE(o,!0),n}const SW=c.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var dE={width:0,height:0,overflow:"hidden",outline:"none"},wW=Z.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,i=e.ariaId,l=e.footer,s=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,v=e.bodyStyle,p=e.bodyProps,m=e.modalRender,y=e.onMouseDown,h=e.onMouseUp,g=e.holderRef,b=e.visible,C=e.forceRender,x=e.width,S=e.height,w=c.useRef(),$=c.useRef();Z.useImperativeHandle(t,function(){return{focus:function(){var I;(I=w.current)===null||I===void 0||I.focus()},changeActive:function(I){var _=document,k=_.activeElement;I&&k===$.current?w.current.focus():!I&&k===w.current&&$.current.focus()}}});var O={};x!==void 0&&(O.width=x),S!==void 0&&(O.height=S);var P;l&&(P=Z.createElement("div",{className:"".concat(n,"-footer")},l));var R;a&&(R=Z.createElement("div",{className:"".concat(n,"-header")},Z.createElement("div",{className:"".concat(n,"-title"),id:i},a)));var T;s&&(T=Z.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:"".concat(n,"-close")},u||Z.createElement("span",{className:"".concat(n,"-close-x")})));var N=Z.createElement("div",{className:"".concat(n,"-content")},T,R,Z.createElement("div",be({className:"".concat(n,"-body"),style:v},p),f),P);return Z.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:g,style:E(E({},o),O),className:G(n,r),onMouseDown:y,onMouseUp:h},Z.createElement("div",{tabIndex:0,ref:w,style:dE,"aria-hidden":"true"}),Z.createElement(SW,{shouldUpdate:b||C},m?m(N):N),Z.createElement("div",{tabIndex:0,ref:$,style:dE,"aria-hidden":"true"}))}),nI=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,i=e.visible,l=e.forceRender,s=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,v=e.mousePosition,p=c.useRef(),m=c.useState(),y=U(m,2),h=y[0],g=y[1],b={};h&&(b.transformOrigin=h);function C(){var x=xW(p.current);g(v?"".concat(v.x-x.left,"px ").concat(v.y-x.top,"px"):"")}return c.createElement(er,{visible:i,onVisibleChanged:f,onAppearPrepare:C,onEnterPrepare:C,forceRender:l,motionName:u,removeOnLeave:s,ref:p},function(x,S){var w=x.className,$=x.style;return c.createElement(wW,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:S,style:E(E(E({},$),o),b),className:G(a,w)}))})});nI.displayName="Content";function $W(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName;return c.createElement(er,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},function(i,l){var s=i.className,u=i.style;return c.createElement("div",be({ref:l,style:E(E({},u),n),className:G("".concat(t,"-mask"),s)},o))})}function EW(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,a=o===void 0?!1:o,i=e.keyboard,l=i===void 0?!0:i,s=e.focusTriggerAfterClose,u=s===void 0?!0:s,d=e.wrapStyle,f=e.wrapClassName,v=e.wrapProps,p=e.onClose,m=e.afterOpenChange,y=e.afterClose,h=e.transitionName,g=e.animation,b=e.closable,C=b===void 0?!0:b,x=e.mask,S=x===void 0?!0:x,w=e.maskTransitionName,$=e.maskAnimation,O=e.maskClosable,P=O===void 0?!0:O,R=e.maskStyle,T=e.maskProps,N=e.rootClassName,M=c.useRef(),I=c.useRef(),_=c.useRef(),k=c.useState(a),F=U(k,2),D=F[0],j=F[1],H=tI();function z(){Nl(I.current,document.activeElement)||(M.current=document.activeElement)}function B(){if(!Nl(I.current,document.activeElement)){var q;(q=_.current)===null||q===void 0||q.focus()}}function V(q){if(q)B();else{if(j(!1),S&&M.current&&u){try{M.current.focus({preventScroll:!0})}catch{}M.current=null}D&&(y==null||y())}m==null||m(q)}function K(q){p==null||p(q)}var W=c.useRef(!1),Y=c.useRef(),X=function(){clearTimeout(Y.current),W.current=!0},Q=function(){Y.current=setTimeout(function(){W.current=!1})},ae=null;P&&(ae=function(re){W.current?W.current=!1:I.current===re.target&&K(re)});function ee(q){if(l&&q.keyCode===ue.ESC){q.stopPropagation(),K(q);return}a&&q.keyCode===ue.TAB&&_.current.changeActive(!q.shiftKey)}return c.useEffect(function(){a&&(j(!0),z())},[a]),c.useEffect(function(){return function(){clearTimeout(Y.current)}},[]),c.createElement("div",be({className:G("".concat(n,"-root"),N)},Kl(e,{data:!0})),c.createElement($W,{prefixCls:n,visible:S&&a,motionName:cE(n,w,$),style:E({zIndex:r},R),maskProps:T}),c.createElement("div",be({tabIndex:-1,onKeyDown:ee,className:G("".concat(n,"-wrap"),f),ref:I,onClick:ae,style:E(E({zIndex:r},d),{},{display:D?null:"none"})},v),c.createElement(nI,be({},e,{onMouseDown:X,onMouseUp:Q,ref:_,closable:C,ariaId:H,prefixCls:n,visible:a&&D,onClose:K,onVisibleChanged:V,motionName:cE(n,h,g)}))))}var rI=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,a=t.destroyOnClose,i=a===void 0?!1:a,l=t.afterClose,s=c.useState(n),u=U(s,2),d=u[0],f=u[1];return c.useEffect(function(){n&&f(!0)},[n]),!o&&i&&!d?null:c.createElement($f,{open:n||o||d,autoDestroy:!1,getContainer:r,autoLock:n||d},c.createElement(EW,be({},t,{destroyOnClose:i,afterClose:function(){l==null||l(),f(!1)}})))};rI.displayName="Dialog";const Xi=c.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),oI=c.createContext(null),PW=e=>{const t=On(e,["prefixCls"]);return c.createElement(s2,Object.assign({},t))},x2=c.createContext({prefixCls:""}),Cr=c.createContext({}),Ud=e=>{let{children:t,status:n,override:r}=e;const o=c.useContext(Cr),a=c.useMemo(()=>{const i=Object.assign({},o);return r&&delete i.isFormItemInput,n&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[n,r,o]);return c.createElement(Cr.Provider,{value:a},t)},OW=()=>Ir()&&window.document.documentElement;let Fv;const MW=()=>{if(!OW())return!1;if(Fv!==void 0)return Fv;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),Fv=e.scrollHeight===1,document.body.removeChild(e),Fv},RW=e=>({animationDuration:e,animationFillMode:"both"}),IW=e=>({animationDuration:e,animationFillMode:"both"}),eg=function(e,t,n,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${a}${e}-enter, + ${a}${e}-appear + `]:Object.assign(Object.assign({},RW(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},IW(r)),{animationPlayState:"paused"}),[` + ${a}${e}-enter${e}-enter-active, + ${a}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},NW=new It("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),TW=new It("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),aI=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[eg(r,NW,TW,e.motionDurationMid,t),{[` + ${o}${r}-enter, + ${o}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},_W=new It("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),kW=new It("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),FW=new It("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),DW=new It("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),LW=new It("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),AW=new It("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),jW=new It("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zW=new It("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),HW={"move-up":{inKeyframes:jW,outKeyframes:zW},"move-down":{inKeyframes:_W,outKeyframes:kW},"move-left":{inKeyframes:FW,outKeyframes:DW},"move-right":{inKeyframes:LW,outKeyframes:AW}},Mc=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=HW[t];return[eg(r,o,a,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},tg=new It("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ng=new It("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),rg=new It("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),og=new It("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),BW=new It("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),VW=new It("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),WW=new It("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),KW=new It("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),UW={"slide-up":{inKeyframes:tg,outKeyframes:ng},"slide-down":{inKeyframes:rg,outKeyframes:og},"slide-left":{inKeyframes:BW,outKeyframes:VW},"slide-right":{inKeyframes:WW,outKeyframes:KW}},Ta=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=UW[t];return[eg(r,o,a,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},S2=new It("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),YW=new It("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),fE=new It("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),vE=new It("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),GW=new It("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),XW=new It("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),qW=new It("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),QW=new It("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),ZW=new It("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),JW=new It("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),eK=new It("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),tK=new It("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),nK={zoom:{inKeyframes:S2,outKeyframes:YW},"zoom-big":{inKeyframes:fE,outKeyframes:vE},"zoom-big-fast":{inKeyframes:fE,outKeyframes:vE},"zoom-left":{inKeyframes:qW,outKeyframes:QW},"zoom-right":{inKeyframes:ZW,outKeyframes:JW},"zoom-up":{inKeyframes:GW,outKeyframes:XW},"zoom-down":{inKeyframes:eK,outKeyframes:tK}},Ef=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=nK[t];return[eg(r,o,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},iI=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}});function pE(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const rK=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},pE("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},pE("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:aI(e)}]};function n1(e){return e!==void 0}function bt(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,l=Wi(function(){return n1(o)?o:n1(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=U(l,2),u=s[0],d=s[1],f=o!==void 0?o:u,v=i?i(f):f,p=ao(a),m=Wi([f]),y=U(m,2),h=y[0],g=y[1];sc(function(){var C=h[0];u!==C&&p(u,C)},[h]),sc(function(){n1(o)||d(o)},[o]);var b=ao(function(C,x){d(C,x),g([f],x)});return[v,b]}const Pf=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var lI=c.createContext(null);function Of(){return c.useContext(lI)}function oK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=c.useState(!1),n=U(t,2),r=n[0],o=n[1],a=c.useRef(null),i=function(){window.clearTimeout(a.current)};c.useEffect(function(){return i},[]);var l=function(u,d){i(),a.current=window.setTimeout(function(){o(u),d&&d()},e)};return[r,l,i]}function sI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=c.useRef(null),n=c.useRef(null);c.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function aK(e,t,n,r){var o=c.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},c.useEffect(function(){function a(i){var l;if(!((l=o.current)!==null&&l!==void 0&&l.customizedTrigger)){var s=i.target;s.shadowRoot&&i.composed&&(s=i.composedPath()[0]||s),o.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(s)&&u!==s})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",a),function(){return window.removeEventListener("mousedown",a)}},[])}var iK=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],hs=void 0;function lK(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,l=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,d=e.className,f=e.style,v=e.children,p=e.display,m=e.order,y=e.component,h=y===void 0?"div":y,g=Oe(e,iK),b=i&&!p;function C(O){s(u,O)}c.useEffect(function(){return function(){C(null)}},[]);var x=a&&o!==hs?a(o):v,S;r||(S={opacity:b?0:1,height:b?0:hs,overflowY:b?"hidden":hs,order:i?m:hs,pointerEvents:b?"none":hs,position:b?"absolute":hs});var w={};b&&(w["aria-hidden"]=!0);var $=c.createElement(h,be({className:G(!r&&n,d),style:E(E({},S),f)},w,g,{ref:t}),x);return i&&($=c.createElement(va,{onResize:function(P){var R=P.offsetWidth;C(R)},disabled:l},$)),$}var fd=c.forwardRef(lK);fd.displayName="Item";function sK(e){if(typeof MessageChannel>"u")Ft(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function cK(){var e=c.useRef(null),t=function(r){e.current||(e.current=[],sK(function(){Jl.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function Ou(e,t){var n=c.useState(t),r=U(n,2),o=r[0],a=r[1],i=ao(function(l){e(function(){a(l)})});return[o,i]}var uK=["component"],dK=["className"],fK=["className"],vK=function(t,n){var r=c.useContext(ym);if(!r){var o=t.component,a=o===void 0?"div":o,i=Oe(t,uK);return c.createElement(a,be({},i,{ref:n}))}var l=r.className,s=Oe(r,dK),u=t.className,d=Oe(t,fK);return c.createElement(ym.Provider,{value:null},c.createElement(fd,be({ref:n,className:G(l,u)},s,d)))},cI=c.forwardRef(vK);cI.displayName="RawItem";var pK=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ym=c.createContext(null),uI="responsive",dI="invalidate";function mK(e){return"+ ".concat(e.length," ...")}function hK(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,a=o===void 0?[]:o,i=e.renderItem,l=e.renderRawItem,s=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,v=e.style,p=e.className,m=e.maxCount,y=e.renderRest,h=e.renderRawRest,g=e.suffix,b=e.component,C=b===void 0?"div":b,x=e.itemComponent,S=e.onVisibleChange,w=Oe(e,pK),$=f==="full",O=cK(),P=Ou(O,null),R=U(P,2),T=R[0],N=R[1],M=T||0,I=Ou(O,new Map),_=U(I,2),k=_[0],F=_[1],D=Ou(O,0),j=U(D,2),H=j[0],z=j[1],B=Ou(O,0),V=U(B,2),K=V[0],W=V[1],Y=Ou(O,0),X=U(Y,2),Q=X[0],ae=X[1],ee=c.useState(null),q=U(ee,2),re=q[0],te=q[1],J=c.useState(null),ne=U(J,2),oe=ne[0],le=ne[1],de=c.useMemo(function(){return oe===null&&$?Number.MAX_SAFE_INTEGER:oe||0},[oe,T]),pe=c.useState(!1),se=U(pe,2),ve=se[0],he=se[1],ce="".concat(r,"-item"),ie=Math.max(H,K),fe=m===uI,me=a.length&&fe,Ce=m===dI,ye=me||typeof m=="number"&&a.length>m,Ne=c.useMemo(function(){var ge=a;return me?T===null&&$?ge=a:ge=a.slice(0,Math.min(a.length,M/d)):typeof m=="number"&&(ge=a.slice(0,m)),ge},[a,d,T,m,me]),_e=c.useMemo(function(){return me?a.slice(de+1):a.slice(Ne.length)},[a,Ne,me,de]),Ue=c.useCallback(function(ge,Re){var we;return typeof s=="function"?s(ge):(we=s&&(ge==null?void 0:ge[s]))!==null&&we!==void 0?we:Re},[s]),Ge=c.useCallback(i||function(ge){return ge},[i]);function $e(ge,Re,we){oe===ge&&(Re===void 0||Re===re)||(le(ge),we||(he(geM){$e(Le-1,ge-Je-Q+K);break}}g&&Ct(0)+Q>M&&te(null)}},[M,k,K,Q,Ue,Ne]);var Ee=ve&&!!_e.length,Se={};re!==null&&me&&(Se={position:"absolute",left:re,top:0});var ke={prefixCls:ce,responsive:me,component:x,invalidate:Ce},De=l?function(ge,Re){var we=Ue(ge,Re);return c.createElement(ym.Provider,{key:we,value:E(E({},ke),{},{order:Re,item:ge,itemKey:we,registerSize:ze,display:Re<=de})},l(ge,Re))}:function(ge,Re){var we=Ue(ge,Re);return c.createElement(fd,be({},ke,{order:Re,key:we,item:ge,renderItem:Ge,itemKey:we,registerSize:ze,display:Re<=de}))},He,Me={order:Ee?de:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:gt,display:Ee};if(h)h&&(He=c.createElement(ym.Provider,{value:E(E({},ke),Me)},h(_e)));else{var yt=y||mK;He=c.createElement(fd,be({},ke,Me),typeof yt=="function"?yt(_e):yt)}var ot=c.createElement(C,be({className:G(!Ce&&r,p),style:v,ref:t},w),Ne.map(De),ye?He:null,g&&c.createElement(fd,be({},ke,{responsive:fe,responsiveDisabled:!me,order:de,className:"".concat(ce,"-suffix"),registerSize:ft,display:!0,style:Se}),g));return fe&&(ot=c.createElement(va,{onResize:Ie,disabled:!me},ot)),ot}var Ia=c.forwardRef(hK);Ia.displayName="Overflow";Ia.Item=cI;Ia.RESPONSIVE=uI;Ia.INVALIDATE=dI;var bm=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,a=t.onMouseDown,i=t.onClick,l=t.children,s;return typeof r=="function"?s=r(o):s=r,c.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),a&&a(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},s!==void 0?s:c.createElement("span",{className:G(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},l))},gK=function(t,n){var r,o,a=t.prefixCls,i=t.id,l=t.inputElement,s=t.disabled,u=t.tabIndex,d=t.autoFocus,f=t.autoComplete,v=t.editable,p=t.activeDescendantId,m=t.value,y=t.maxLength,h=t.onKeyDown,g=t.onMouseDown,b=t.onChange,C=t.onPaste,x=t.onCompositionStart,S=t.onCompositionEnd,w=t.open,$=t.attrs,O=l||c.createElement("input",null),P=O,R=P.ref,T=P.props,N=T.onKeyDown,M=T.onChange,I=T.onMouseDown,_=T.onCompositionStart,k=T.onCompositionEnd,F=T.style;return"maxLength"in O.props,O=c.cloneElement(O,E(E(E({type:"search"},T),{},{id:i,ref:cr(n,R),disabled:s,tabIndex:u,autoComplete:f||"off",autoFocus:d,className:G("".concat(a,"-selection-search-input"),(r=O)===null||r===void 0||(o=r.props)===null||o===void 0?void 0:o.className),role:"combobox","aria-expanded":w,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":p},$),{},{value:v?m:"",maxLength:y,readOnly:!v,unselectable:v?null:"on",style:E(E({},F),{},{opacity:v?null:0}),onKeyDown:function(j){h(j),N&&N(j)},onMouseDown:function(j){g(j),I&&I(j)},onChange:function(j){b(j),M&&M(j)},onCompositionStart:function(j){x(j),_&&_(j)},onCompositionEnd:function(j){S(j),k&&k(j)},onPaste:C})),O},w2=c.forwardRef(gK);w2.displayName="Input";function fI(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var yK=typeof window<"u"&&window.document&&window.document.documentElement,bK=yK;function CK(e){return e!=null}function mE(e){return["string","number"].includes(Ke(e))}function vI(e){var t=void 0;return e&&(mE(e.title)?t=e.title.toString():mE(e.label)&&(t=e.label.toString())),t}function xK(e,t){bK?c.useLayoutEffect(e,t):c.useEffect(e,t)}function SK(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var hE=function(t){t.preventDefault(),t.stopPropagation()},wK=function(t){var n=t.id,r=t.prefixCls,o=t.values,a=t.open,i=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,v=t.showSearch,p=t.autoFocus,m=t.autoComplete,y=t.activeDescendantId,h=t.tabIndex,g=t.removeIcon,b=t.maxTagCount,C=t.maxTagTextLength,x=t.maxTagPlaceholder,S=x===void 0?function(te){return"+ ".concat(te.length," ...")}:x,w=t.tagRender,$=t.onToggleOpen,O=t.onRemove,P=t.onInputChange,R=t.onInputPaste,T=t.onInputKeyDown,N=t.onInputMouseDown,M=t.onInputCompositionStart,I=t.onInputCompositionEnd,_=c.useRef(null),k=c.useState(0),F=U(k,2),D=F[0],j=F[1],H=c.useState(!1),z=U(H,2),B=z[0],V=z[1],K="".concat(r,"-selection"),W=a||f==="multiple"&&l===!1||f==="tags"?i:"",Y=f==="tags"||f==="multiple"&&l===!1||v&&(a||B);xK(function(){j(_.current.scrollWidth)},[W]);function X(te,J,ne,oe,le){return c.createElement("span",{className:G("".concat(K,"-item"),A({},"".concat(K,"-item-disabled"),ne)),title:vI(te)},c.createElement("span",{className:"".concat(K,"-item-content")},J),oe&&c.createElement(bm,{className:"".concat(K,"-item-remove"),onMouseDown:hE,onClick:le,customizeIcon:g},"×"))}function Q(te,J,ne,oe,le){var de=function(se){hE(se),$(!a)};return c.createElement("span",{onMouseDown:de},w({label:J,value:te,disabled:ne,closable:oe,onClose:le}))}function ae(te){var J=te.disabled,ne=te.label,oe=te.value,le=!d&&!J,de=ne;if(typeof C=="number"&&(typeof ne=="string"||typeof ne=="number")){var pe=String(de);pe.length>C&&(de="".concat(pe.slice(0,C),"..."))}var se=function(he){he&&he.stopPropagation(),O(te)};return typeof w=="function"?Q(oe,de,J,le,se):X(te,de,J,le,se)}function ee(te){var J=typeof S=="function"?S(te):S;return X({title:J},J,!1)}var q=c.createElement("div",{className:"".concat(K,"-search"),style:{width:D},onFocus:function(){V(!0)},onBlur:function(){V(!1)}},c.createElement(w2,{ref:s,open:a,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:p,autoComplete:m,editable:Y,activeDescendantId:y,value:W,onKeyDown:T,onMouseDown:N,onChange:P,onPaste:R,onCompositionStart:M,onCompositionEnd:I,tabIndex:h,attrs:Kl(t,!0)}),c.createElement("span",{ref:_,className:"".concat(K,"-search-mirror"),"aria-hidden":!0},W," ")),re=c.createElement(Ia,{prefixCls:"".concat(K,"-overflow"),data:o,renderItem:ae,renderRest:ee,suffix:q,itemKey:SK,maxCount:b});return c.createElement(c.Fragment,null,re,!o.length&&!W&&c.createElement("span",{className:"".concat(K,"-placeholder")},u))},$K=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,a=t.inputRef,i=t.disabled,l=t.autoFocus,s=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,v=t.values,p=t.placeholder,m=t.tabIndex,y=t.showSearch,h=t.searchValue,g=t.activeValue,b=t.maxLength,C=t.onInputKeyDown,x=t.onInputMouseDown,S=t.onInputChange,w=t.onInputPaste,$=t.onInputCompositionStart,O=t.onInputCompositionEnd,P=t.title,R=c.useState(!1),T=U(R,2),N=T[0],M=T[1],I=d==="combobox",_=I||y,k=v[0],F=h||"";I&&g&&!N&&(F=g),c.useEffect(function(){I&&M(!1)},[I,g]);var D=d!=="combobox"&&!f&&!y?!1:!!F,j=P===void 0?vI(k):P,H=function(){if(k)return null;var B=D?{visibility:"hidden"}:void 0;return c.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:B},p)};return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(r,"-selection-search")},c.createElement(w2,{ref:a,prefixCls:r,id:o,open:f,inputElement:n,disabled:i,autoFocus:l,autoComplete:s,editable:_,activeDescendantId:u,value:F,onKeyDown:C,onMouseDown:x,onChange:function(B){M(!0),S(B)},onPaste:w,onCompositionStart:$,onCompositionEnd:O,tabIndex:m,attrs:Kl(t,!0),maxLength:I?b:void 0})),!I&&k?c.createElement("span",{className:"".concat(r,"-selection-item"),title:j,style:D?{visibility:"hidden"}:void 0},k.label):null,H())};function EK(e){return![ue.ESC,ue.SHIFT,ue.BACKSPACE,ue.TAB,ue.WIN_KEY,ue.ALT,ue.META,ue.WIN_KEY_RIGHT,ue.CTRL,ue.SEMICOLON,ue.EQUALS,ue.CAPS_LOCK,ue.CONTEXT_MENU,ue.F1,ue.F2,ue.F3,ue.F4,ue.F5,ue.F6,ue.F7,ue.F8,ue.F9,ue.F10,ue.F11,ue.F12].includes(e)}var PK=function(t,n){var r=c.useRef(null),o=c.useRef(!1),a=t.prefixCls,i=t.open,l=t.mode,s=t.showSearch,u=t.tokenWithEnter,d=t.autoClearSearchValue,f=t.onSearch,v=t.onSearchSubmit,p=t.onToggleOpen,m=t.onInputKeyDown,y=t.domRef;c.useImperativeHandle(n,function(){return{focus:function(){r.current.focus()},blur:function(){r.current.blur()}}});var h=sI(0),g=U(h,2),b=g[0],C=g[1],x=function(F){var D=F.which;(D===ue.UP||D===ue.DOWN)&&F.preventDefault(),m&&m(F),D===ue.ENTER&&l==="tags"&&!o.current&&!i&&(v==null||v(F.target.value)),EK(D)&&p(!0)},S=function(){C(!0)},w=c.useRef(null),$=function(F){f(F,!0,o.current)!==!1&&p(!0)},O=function(){o.current=!0},P=function(F){o.current=!1,l!=="combobox"&&$(F.target.value)},R=function(F){var D=F.target.value;if(u&&w.current&&/[\r\n]/.test(w.current)){var j=w.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");D=D.replace(j,w.current)}w.current=null,$(D)},T=function(F){var D=F.clipboardData,j=D.getData("text");w.current=j},N=function(F){var D=F.target;if(D!==r.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(F){var D=b();F.target!==r.current&&!D&&l!=="combobox"&&F.preventDefault(),(l!=="combobox"&&(!s||!D)||!i)&&(i&&d!==!1&&f("",!0,!1),p())},I={inputRef:r,onInputKeyDown:x,onInputMouseDown:S,onInputChange:R,onInputPaste:T,onInputCompositionStart:O,onInputCompositionEnd:P},_=l==="multiple"||l==="tags"?c.createElement(wK,be({},t,I)):c.createElement($K,be({},t,I));return c.createElement("div",{ref:y,className:"".concat(a,"-selector"),onClick:N,onMouseDown:M},_)},pI=c.forwardRef(PK);pI.displayName="Selector";var gE=c.createContext(null);function yE(e){return e?Array.isArray(e)?e:[e]:[]}function OK(e,t,n,r){return c.useMemo(function(){var o=yE(n??t),a=yE(r??t),i=new Set(o),l=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[i,l]},[e,t,n,r])}function MK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function RK(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Mu(e){return Yd(parseFloat(e),0)}function IK(e,t){var n=E({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement)){var o=Mf(r).getComputedStyle(r),a=o.overflow,i=o.overflowClipMargin,l=o.borderTopWidth,s=o.borderBottomWidth,u=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),v=r.offsetHeight,p=r.clientHeight,m=r.offsetWidth,y=r.clientWidth,h=Mu(l),g=Mu(s),b=Mu(u),C=Mu(d),x=Yd(Math.round(f.width/m*1e3)/1e3),S=Yd(Math.round(f.height/v*1e3)/1e3),w=(m-y-b-C)*x,$=(v-p-h-g)*S,O=h*S,P=g*S,R=b*x,T=C*x,N=0,M=0;if(a==="clip"){var I=Mu(i);N=I*x,M=I*S}var _=f.x+R-N,k=f.y+O-M,F=_+f.width+2*N-R-T-w,D=k+f.height+2*M-O-P-$;n.left=Math.max(n.left,_),n.top=Math.max(n.top,k),n.right=Math.min(n.right,F),n.bottom=Math.min(n.bottom,D)}}),n}function CE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function xE(e,t){var n=t||[],r=U(n,2),o=r[0],a=r[1];return[CE(e.width,o),CE(e.height,a)]}function SE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function gs(e,t){var n=t[0],r=t[1],o,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function bi(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function NK(e,t,n,r,o,a,i){var l=c.useState({ready:!1,offsetX:0,offsetY:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),s=U(l,2),u=s[0],d=s[1],f=c.useRef(0),v=c.useMemo(function(){return t?Mb(t):[]},[t]),p=c.useRef({}),m=function(){p.current={}};e||m();var y=ao(function(){if(t&&n&&e){let wt=function(Vt,Jt){var gn=R.x+Vt,nn=R.y+Jt,_n=gn+B,xo=nn+z,So=Math.max(gn,W.left),Sr=Math.max(nn,W.top),rr=Math.min(_n,W.right),qr=Math.min(xo,W.bottom);return Math.max(0,(rr-So)*(qr-Sr))},Xe=function(){Se=R.y+ye,ke=Se+z,De=R.x+Ce,He=De+B};var b=t,C=b.style.left,x=b.style.top,S=b.ownerDocument,w=Mf(b),$=E(E({},o[r]),a);b.style.left="0",b.style.top="0";var O;if(Array.isArray(n))O={x:n[0],y:n[1],width:0,height:0};else{var P=n.getBoundingClientRect();O={x:P.x,y:P.y,width:P.width,height:P.height}}var R=b.getBoundingClientRect(),T=w.getComputedStyle(b),N=T.width,M=T.height,I=S.documentElement,_=I.clientWidth,k=I.clientHeight,F=I.scrollWidth,D=I.scrollHeight,j=I.scrollTop,H=I.scrollLeft,z=R.height,B=R.width,V=O.height,K=O.width,W=$.htmlRegion==="scroll"?{left:-H,top:-j,right:F-H,bottom:D-j}:{left:0,top:0,right:_,bottom:k};W=IK(W,v),b.style.left=C,b.style.top=x;var Y=Yd(Math.round(B/parseFloat(N)*1e3)/1e3),X=Yd(Math.round(z/parseFloat(M)*1e3)/1e3);if(Y===0||X===0||am(n)&&!Xc(n))return;var Q=$.offset,ae=$.targetOffset,ee=xE(R,Q),q=U(ee,2),re=q[0],te=q[1],J=xE(O,ae),ne=U(J,2),oe=ne[0],le=ne[1];O.x-=oe,O.y-=le;var de=$.points||[],pe=U(de,2),se=pe[0],ve=pe[1],he=SE(ve),ce=SE(se),ie=gs(O,he),fe=gs(R,ce),me=E({},$),Ce=ie.x-fe.x+re,ye=ie.y-fe.y+te,Ne=wt(Ce,ye),_e=gs(O,["t","l"]),Ue=gs(R,["t","l"]),Ge=gs(O,["b","r"]),$e=gs(R,["b","r"]),Ie=$.overflow||{},ze=Ie.adjustX,gt=Ie.adjustY,ft=Ie.shiftX,Ct=Ie.shiftY,Ee=function(Jt){return typeof Jt=="boolean"?Jt:Jt>=0},Se,ke,De,He;Xe();var Me=Ee(gt),yt=ce[0]===he[0];if(Me&&ce[0]==="t"&&(ke>W.bottom||p.current.bt)){var ot=ye;yt?ot-=z-V:ot=_e.y-$e.y-te,wt(Ce,ot)>=Ne?(p.current.bt=!0,ye=ot,me.points=[bi(ce,0),bi(he,0)]):p.current.bt=!1}if(Me&&ce[0]==="b"&&(Se=Ne?(p.current.tb=!0,ye=ge,me.points=[bi(ce,0),bi(he,0)]):p.current.tb=!1}var Re=Ee(ze),we=ce[1]===he[1];if(Re&&ce[1]==="l"&&(He>W.right||p.current.rl)){var Le=Ce;we?Le-=B-K:Le=_e.x-$e.x-re,wt(Le,ye)>=Ne?(p.current.rl=!0,Ce=Le,me.points=[bi(ce,1),bi(he,1)]):p.current.rl=!1}if(Re&&ce[1]==="r"&&(De=Ne?(p.current.lr=!0,Ce=Je,me.points=[bi(ce,1),bi(he,1)]):p.current.lr=!1}Xe();var ct=ft===!0?0:ft;typeof ct=="number"&&(DeW.right&&(Ce-=He-W.right,O.x>W.right-ct&&(Ce+=O.x-W.right+ct)));var xt=Ct===!0?0:Ct;typeof xt=="number"&&(SeW.bottom&&(ye-=ke-W.bottom,O.y>W.bottom-xt&&(ye+=O.y-W.bottom+xt)));var lt=R.x+Ce,Te=lt+B,Ve=R.y+ye,qe=Ve+z,Be=O.x,Fe=Be+K,Ze=O.y,Ye=Ze+V,ut=Math.max(lt,Be),at=Math.min(Te,Fe),et=(ut+at)/2,tt=et-lt,dt=Math.max(Ve,Ze),Et=Math.min(qe,Ye),_t=(dt+Et)/2,pn=_t-Ve;i==null||i(t,me),d({ready:!0,offsetX:Ce/Y,offsetY:ye/X,arrowX:tt/Y,arrowY:pn/X,scaleX:Y,scaleY:X,align:me})}}),h=function(){f.current+=1;var C=f.current;Promise.resolve().then(function(){f.current===C&&y()})},g=function(){d(function(C){return E(E({},C),{},{ready:!1})})};return tn(g,[r]),tn(function(){e||g()},[e]),[u.ready,u.offsetX,u.offsetY,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,h]}function TK(e,t,n,r){tn(function(){if(e&&t&&n){let d=function(){r()};var o=t,a=n,i=Mb(o),l=Mb(a),s=Mf(a),u=new Set([s].concat(xe(i),xe(l)));return u.forEach(function(f){f.addEventListener("scroll",d,{passive:!0})}),s.addEventListener("resize",d,{passive:!0}),r(),function(){u.forEach(function(f){f.removeEventListener("scroll",d),s.removeEventListener("resize",d)})}}},[e,t,n])}function _K(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,a=r||{},i=a.className,l=a.content,s=o.x,u=s===void 0?0:s,d=o.y,f=d===void 0?0:d,v=c.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var m=n.points[0],y=n.points[1],h=m[0],g=m[1],b=y[0],C=y[1];h===b||!["t","b"].includes(h)?p.top=f:h==="t"?p.top=0:p.bottom=0,g===C||!["l","r"].includes(g)?p.left=u:g==="l"?p.left=0:p.right=0}return c.createElement("div",{ref:v,className:G("".concat(t,"-arrow"),i),style:p},l)}function kK(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?c.createElement(er,be({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var l=i.className;return c.createElement("div",{style:{zIndex:r},className:G("".concat(t,"-mask"),l)})}):null}var FK=c.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),DK=c.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,a=e.style,i=e.target,l=e.onVisibleChanged,s=e.open,u=e.keepDom,d=e.onClick,f=e.mask,v=e.arrow,p=e.arrowPos,m=e.align,y=e.motion,h=e.maskMotion,g=e.forceRender,b=e.getPopupContainer,C=e.autoDestroy,x=e.portal,S=e.zIndex,w=e.onMouseEnter,$=e.onMouseLeave,O=e.ready,P=e.offsetX,R=e.offsetY,T=e.onAlign,N=e.onPrepare,M=e.stretch,I=e.targetWidth,_=e.targetHeight,k=typeof n=="function"?n():n,F=s||u,D=(b==null?void 0:b.length)>0,j=c.useState(!b||!D),H=U(j,2),z=H[0],B=H[1];if(tn(function(){!z&&D&&i&&B(!0)},[z,D,i]),!z)return null;var V=O||!s?{left:P,top:R}:{left:"-1000vw",top:"-1000vh"},K={};return M&&(M.includes("height")&&_?K.height=_:M.includes("minHeight")&&_&&(K.minHeight=_),M.includes("width")&&I?K.width=I:M.includes("minWidth")&&I&&(K.minWidth=I)),s||(K.pointerEvents="none"),c.createElement(x,{open:g||F,getContainer:b&&function(){return b(i)},autoDestroy:C},c.createElement(kK,{prefixCls:o,open:s,zIndex:S,mask:f,motion:h}),c.createElement(va,{onResize:T,disabled:!s},function(W){return c.createElement(er,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:g,leavedClassName:"".concat(o,"-hidden")},y,{onAppearPrepare:N,onEnterPrepare:N,visible:s,onVisibleChanged:function(X){var Q;y==null||(Q=y.onVisibleChanged)===null||Q===void 0||Q.call(y,X),l(X)}}),function(Y,X){var Q=Y.className,ae=Y.style,ee=G(o,Q,r);return c.createElement("div",{ref:cr(W,t,X),className:ee,style:E(E(E(E({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},V),K),ae),{},{boxSizing:"border-box",zIndex:S},a),onMouseEnter:w,onMouseLeave:$,onClick:d},v&&c.createElement(_K,{prefixCls:o,arrow:v,arrowPos:p,align:m}),c.createElement(FK,{cache:!s},k))})}))}),LK=c.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=es(n),a=c.useCallback(function(l){e2(t,r?r(l):l)},[r]),i=Cf(a,n.ref);return o?c.cloneElement(n,{ref:i}):n}),AK=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function jK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$f,t=c.forwardRef(function(n,r){var o=n.prefixCls,a=o===void 0?"rc-trigger-popup":o,i=n.children,l=n.action,s=l===void 0?"hover":l,u=n.showAction,d=n.hideAction,f=n.popupVisible,v=n.defaultPopupVisible,p=n.onPopupVisibleChange,m=n.afterPopupVisibleChange,y=n.mouseEnterDelay,h=n.mouseLeaveDelay,g=h===void 0?.1:h,b=n.focusDelay,C=n.blurDelay,x=n.mask,S=n.maskClosable,w=S===void 0?!0:S,$=n.getPopupContainer,O=n.forceRender,P=n.autoDestroy,R=n.destroyPopupOnHide,T=n.popup,N=n.popupClassName,M=n.popupStyle,I=n.popupPlacement,_=n.builtinPlacements,k=_===void 0?{}:_,F=n.popupAlign,D=n.zIndex,j=n.stretch,H=n.getPopupClassNameFromAlign,z=n.alignPoint,B=n.onPopupClick,V=n.onPopupAlign,K=n.arrow,W=n.popupMotion,Y=n.maskMotion,X=n.popupTransitionName,Q=n.popupAnimation,ae=n.maskTransitionName,ee=n.maskAnimation,q=n.className,re=n.getTriggerDOMNode,te=Oe(n,AK),J=P||R||!1,ne=c.useState(!1),oe=U(ne,2),le=oe[0],de=oe[1];tn(function(){de(Pf())},[]);var pe=c.useRef({}),se=c.useContext(gE),ve=c.useMemo(function(){return{registerSubPopup:function(Ot,rn){pe.current[Ot]=rn,se==null||se.registerSubPopup(Ot,rn)}}},[se]),he=tI(),ce=c.useState(null),ie=U(ce,2),fe=ie[0],me=ie[1],Ce=ao(function(pt){am(pt)&&fe!==pt&&me(pt),se==null||se.registerSubPopup(he,pt)}),ye=c.useState(null),Ne=U(ye,2),_e=Ne[0],Ue=Ne[1],Ge=ao(function(pt){am(pt)&&_e!==pt&&Ue(pt)}),$e=c.Children.only(i),Ie=($e==null?void 0:$e.props)||{},ze={},gt=ao(function(pt){var Ot,rn,sn=_e;return(sn==null?void 0:sn.contains(pt))||(sn==null||(Ot=sn.getRootNode())===null||Ot===void 0?void 0:Ot.host)===pt||pt===sn||(fe==null?void 0:fe.contains(pt))||(fe==null||(rn=fe.getRootNode())===null||rn===void 0?void 0:rn.host)===pt||pt===fe||Object.values(pe.current).some(function(Xt){return(Xt==null?void 0:Xt.contains(pt))||pt===Xt})}),ft=bE(a,W,Q,X),Ct=bE(a,Y,ee,ae),Ee=c.useState(v||!1),Se=U(Ee,2),ke=Se[0],De=Se[1],He=f??ke,Me=ao(function(pt){f===void 0&&De(pt)});tn(function(){De(f||!1)},[f]);var yt=c.useRef(He);yt.current=He;var ot=ao(function(pt){He!==pt&&(Me(pt),p==null||p(pt))}),ge=c.useRef(),Re=function(){clearTimeout(ge.current)},we=function(Ot){var rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Re(),rn===0?ot(Ot):ge.current=setTimeout(function(){ot(Ot)},rn*1e3)};c.useEffect(function(){return Re},[]);var Le=c.useState(!1),Je=U(Le,2),ct=Je[0],xt=Je[1],lt=c.useRef(!0);tn(function(){(!lt.current||He)&&xt(!0),lt.current=!0},[He]);var Te=c.useState(null),Ve=U(Te,2),qe=Ve[0],Be=Ve[1],Fe=c.useState([0,0]),Ze=U(Fe,2),Ye=Ze[0],ut=Ze[1],at=function(Ot){ut([Ot.clientX,Ot.clientY])},et=NK(He,fe,z?Ye:_e,I,k,F,V),tt=U(et,9),dt=tt[0],Et=tt[1],_t=tt[2],pn=tt[3],wt=tt[4],Xe=tt[5],Vt=tt[6],Jt=tt[7],gn=tt[8],nn=ao(function(){ct||gn()});TK(He,_e,fe,nn),tn(function(){nn()},[Ye]),tn(function(){He&&!(k!=null&&k[I])&&nn()},[JSON.stringify(F)]);var _n=c.useMemo(function(){var pt=RK(k,a,Jt,z);return G(pt,H==null?void 0:H(Jt))},[Jt,H,k,a,z]);c.useImperativeHandle(r,function(){return{forceAlign:nn}});var xo=function(Ot){xt(!1),gn(),m==null||m(Ot)},So=function(){return new Promise(function(Ot){Be(function(){return Ot})})};tn(function(){qe&&(gn(),qe(),Be(null))},[qe]);var Sr=c.useState(0),rr=U(Sr,2),qr=rr[0],Lr=rr[1],Da=c.useState(0),Qr=U(Da,2),wo=Qr[0],it=Qr[1],We=function(Ot,rn){if(nn(),j){var sn=rn.getBoundingClientRect();Lr(sn.width),it(sn.height)}},$t=OK(le,s,u,d),Dt=U($t,2),Nt=Dt[0],Gt=Dt[1],yn=function(Ot,rn,sn,Xt){ze[Ot]=function($o){var Aa;Xt==null||Xt($o),we(rn,sn);for(var ja=arguments.length,ga=new Array(ja>1?ja-1:0),cl=1;cl1?rn-1:0),Xt=1;Xt1?rn-1:0),Xt=1;Xt1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=hI(n,!1),i=a.label,l=a.value,s=a.options;function u(d,f){d.forEach(function(v){var p=v[i];if(f||!(s in v)){var m=v[l];o.push({key:wE(v,o.length),groupOption:f,data:v,label:p,value:m})}else{var y=p;y===void 0&&r&&(y=v.label),o.push({key:wE(v,o.length),group:!0,data:v,label:y}),u(v[s],!0)}})}return u(e,!1),o}function Rb(e){var t=E({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Kt(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function WK(e,t){if(!t||!t.length)return null;var n=!1;function r(a,i){var l=ZM(i),s=l[0],u=l.slice(1);if(!s)return[a];var d=a.split(s);return n=n||d.length>1,d.reduce(function(f,v){return[].concat(xe(f),xe(r(v,u)))},[]).filter(function(f){return f})}var o=r(e,t);return n?o:null}var KK=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],UK=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ib(e){return e==="tags"||e==="multiple"}var E2=c.forwardRef(function(e,t){var n,r,o=e.id,a=e.prefixCls,i=e.className,l=e.showSearch,s=e.tagRender,u=e.direction,d=e.omitDomProps,f=e.displayValues,v=e.onDisplayValuesChange,p=e.emptyOptions,m=e.notFoundContent,y=m===void 0?"Not Found":m,h=e.onClear,g=e.mode,b=e.disabled,C=e.loading,x=e.getInputElement,S=e.getRawInputElement,w=e.open,$=e.defaultOpen,O=e.onDropdownVisibleChange,P=e.activeValue,R=e.onActiveValueChange,T=e.activeDescendantId,N=e.searchValue,M=e.autoClearSearchValue,I=e.onSearch,_=e.onSearchSplit,k=e.tokenSeparators,F=e.allowClear,D=e.showArrow,j=e.inputIcon,H=e.clearIcon,z=e.OptionList,B=e.animation,V=e.transitionName,K=e.dropdownStyle,W=e.dropdownClassName,Y=e.dropdownMatchSelectWidth,X=e.dropdownRender,Q=e.dropdownAlign,ae=e.placement,ee=e.builtinPlacements,q=e.getPopupContainer,re=e.showAction,te=re===void 0?[]:re,J=e.onFocus,ne=e.onBlur,oe=e.onKeyUp,le=e.onKeyDown,de=e.onMouseDown,pe=Oe(e,KK),se=Ib(g),ve=(l!==void 0?l:se)||g==="combobox",he=E({},pe);UK.forEach(function(it){delete he[it]}),d==null||d.forEach(function(it){delete he[it]});var ce=c.useState(!1),ie=U(ce,2),fe=ie[0],me=ie[1];c.useEffect(function(){me(Pf())},[]);var Ce=c.useRef(null),ye=c.useRef(null),Ne=c.useRef(null),_e=c.useRef(null),Ue=c.useRef(null),Ge=oK(),$e=U(Ge,3),Ie=$e[0],ze=$e[1],gt=$e[2];c.useImperativeHandle(t,function(){var it,We;return{focus:(it=_e.current)===null||it===void 0?void 0:it.focus,blur:(We=_e.current)===null||We===void 0?void 0:We.blur,scrollTo:function(Dt){var Nt;return(Nt=Ue.current)===null||Nt===void 0?void 0:Nt.scrollTo(Dt)}}});var ft=c.useMemo(function(){var it;if(g!=="combobox")return N;var We=(it=f[0])===null||it===void 0?void 0:it.value;return typeof We=="string"||typeof We=="number"?String(We):""},[N,g,f]),Ct=g==="combobox"&&typeof x=="function"&&x()||null,Ee=typeof S=="function"&&S(),Se=Cf(ye,Ee==null||(n=Ee.props)===null||n===void 0?void 0:n.ref),ke=c.useState(!1),De=U(ke,2),He=De[0],Me=De[1];tn(function(){Me(!0)},[]);var yt=bt(!1,{defaultValue:$,value:w}),ot=U(yt,2),ge=ot[0],Re=ot[1],we=He?ge:!1,Le=!y&&p;(b||Le&&we&&g==="combobox")&&(we=!1);var Je=Le?!1:we,ct=c.useCallback(function(it){var We=it!==void 0?it:!we;b||(Re(We),we!==We&&(O==null||O(We)))},[b,we,Re,O]),xt=c.useMemo(function(){return(k||[]).some(function(it){return[` +`,`\r +`].includes(it)})},[k]),lt=function(We,$t,Dt){var Nt=!0,Gt=We;R==null||R(null);var yn=Dt?null:WK(We,k);return g!=="combobox"&&yn&&(Gt="",_==null||_(yn),ct(!1),Nt=!1),I&&ft!==Gt&&I(Gt,{source:$t?"typing":"effect"}),Nt},Te=function(We){!We||!We.trim()||I(We,{source:"submit"})};c.useEffect(function(){!we&&!se&&g!=="combobox"&<("",!1,!1)},[we]),c.useEffect(function(){ge&&b&&Re(!1),b&&ze(!1)},[b]);var Ve=sI(),qe=U(Ve,2),Be=qe[0],Fe=qe[1],Ze=function(We){var $t=Be(),Dt=We.which;if(Dt===ue.ENTER&&(g!=="combobox"&&We.preventDefault(),we||ct(!0)),Fe(!!ft),Dt===ue.BACKSPACE&&!$t&&se&&!ft&&f.length){for(var Nt=xe(f),Gt=null,yn=Nt.length-1;yn>=0;yn-=1){var Pe=Nt[yn];if(!Pe.disabled){Nt.splice(yn,1),Gt=Pe;break}}Gt&&v(Nt,{type:"remove",values:[Gt]})}for(var en=arguments.length,Ln=new Array(en>1?en-1:0),Vn=1;Vn1?$t-1:0),Nt=1;Nt<$t;Nt++)Dt[Nt-1]=arguments[Nt];if(we&&Ue.current){var Gt;(Gt=Ue.current).onKeyUp.apply(Gt,[We].concat(Dt))}oe==null||oe.apply(void 0,[We].concat(Dt))},ut=function(We){var $t=f.filter(function(Dt){return Dt!==We});v($t,{type:"remove",values:[We]})},at=c.useRef(!1),et=function(){ze(!0),b||(J&&!at.current&&J.apply(void 0,arguments),te.includes("focus")&&ct(!0)),at.current=!0},tt=function(){ze(!1,function(){at.current=!1,ct(!1)}),!b&&(ft&&(g==="tags"?I(ft,{source:"submit"}):g==="multiple"&&I("",{source:"blur"})),ne&&ne.apply(void 0,arguments))},dt=[];c.useEffect(function(){return function(){dt.forEach(function(it){return clearTimeout(it)}),dt.splice(0,dt.length)}},[]);var Et=function(We){var $t,Dt=We.target,Nt=($t=Ne.current)===null||$t===void 0?void 0:$t.getPopupElement();if(Nt&&Nt.contains(Dt)){var Gt=setTimeout(function(){var Ln=dt.indexOf(Gt);if(Ln!==-1&&dt.splice(Ln,1),gt(),!fe&&!Nt.contains(document.activeElement)){var Vn;(Vn=_e.current)===null||Vn===void 0||Vn.focus()}});dt.push(Gt)}for(var yn=arguments.length,Pe=new Array(yn>1?yn-1:0),en=1;en1&&arguments[1]!==void 0?arguments[1]:!1;return kr(e).map(function(n,r){if(!c.isValidElement(n)||!n.type)return null;var o=n,a=o.type.isSelectOptGroup,i=o.key,l=o.props,s=l.children,u=Oe(l,ZK);return t||!a?JK(n):E(E({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:gI(s)})}).filter(function(n){return n})}function eU(e,t,n,r,o){return c.useMemo(function(){var a=e,i=!e;i&&(a=gI(t));var l=new Map,s=new Map,u=function(v,p,m){m&&typeof m=="string"&&v.set(p[m],p)};function d(f){for(var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=0;ps},r}return Dn(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(o){o.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var o=this.state,a=o.dragging,i=o.visible,l=this.props.prefixCls,s=this.getSpinHeight(),u=this.getTop(),d=this.showScroll(),f=d&&i;return c.createElement("div",{ref:this.scrollbarRef,className:G("".concat(l,"-scrollbar"),A({},"".concat(l,"-scrollbar-show"),d)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:f?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},c.createElement("div",{ref:this.thumbRef,className:G("".concat(l,"-scrollbar-thumb"),A({},"".concat(l,"-scrollbar-thumb-moving"),a)),style:{width:"100%",height:s,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(c.Component);function rU(e){var t=e.children,n=e.setRef,r=c.useCallback(function(o){n(o)},[]);return c.cloneElement(t,{ref:r})}function oU(e,t,n,r,o,a){var i=a.getKey;return e.slice(t,n+1).map(function(l,s){var u=t+s,d=o(l,u,{}),f=i(l);return c.createElement(rU,{key:f,setRef:function(p){return r(l,p)}},d)})}var aU=function(){function e(){Fn(this,e),this.maps=void 0,this.maps=Object.create(null)}return Dn(e,[{key:"set",value:function(n,r){this.maps[n]=r}},{key:"get",value:function(n){return this.maps[n]}}]),e}();function iU(e,t,n){var r=c.useState(0),o=U(r,2),a=o[0],i=o[1],l=c.useRef(new Map),s=c.useRef(new aU),u=c.useRef();function d(){Ft.cancel(u.current)}function f(){d(),u.current=Ft(function(){l.current.forEach(function(p,m){if(p&&p.offsetParent){var y=$c(p),h=y.offsetHeight;s.current.get(m)!==h&&s.current.set(m,y.offsetHeight)}}),i(function(p){return p+1})})}function v(p,m){var y=e(p),h=l.current.get(y);m?(l.current.set(y,m),f()):l.current.delete(y),!h!=!m&&(m?t==null||t(p):n==null||n(p))}return c.useEffect(function(){return d},[]),[v,f,s.current,a]}function lU(e,t,n,r,o,a,i,l){var s=c.useRef();return function(u){if(u==null){l();return}if(Ft.cancel(s.current),typeof u=="number")i(u);else if(u&&Ke(u)==="object"){var d,f=u.align;"index"in u?d=u.index:d=t.findIndex(function(y){return o(y)===u.key});var v=u.offset,p=v===void 0?0:v,m=function y(h,g){if(!(h<0||!e.current)){var b=e.current.clientHeight,C=!1,x=g;if(b){for(var S=g||f,w=0,$=0,O=0,P=Math.min(t.length,d),R=0;R<=P;R+=1){var T=o(t[R]);$=w;var N=n.get(T);O=$+(N===void 0?r:N),w=O,R===d&&N===void 0&&(C=!0)}var M=null;switch(S){case"top":M=$-p;break;case"bottom":M=O-b+p;break;default:{var I=e.current.scrollTop,_=I+b;$_&&(x="bottom")}}M!==null&&M!==e.current.scrollTop&&i(M)}s.current=Ft(function(){C&&a(),y(h-1,x)},2)}};m(3)}}}function sU(e,t,n){var r=e.length,o=t.length,a,i;if(r===0&&o===0)return null;r"u"?"undefined":Ke(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const bI=function(e,t){var n=c.useRef(!1),r=c.useRef(null);function o(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var a=c.useRef({top:e,bottom:t});return a.current.top=e,a.current.bottom=t,function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=i<0&&a.current.top||i>0&&a.current.bottom;return l&&s?(clearTimeout(r.current),n.current=!1):(!s||n.current)&&o(),!n.current&&s}};function dU(e,t,n,r){var o=c.useRef(0),a=c.useRef(null),i=c.useRef(null),l=c.useRef(!1),s=bI(t,n);function u(f){if(e){Ft.cancel(a.current);var v=f.deltaY;o.current+=v,i.current=v,!s(v)&&(uU||f.preventDefault(),a.current=Ft(function(){var p=l.current?10:1;r(o.current*p),o.current=0}))}}function d(f){e&&(l.current=f.detail===i.current)}return[u,d]}var fU=14/15;function vU(e,t,n){var r=c.useRef(!1),o=c.useRef(0),a=c.useRef(null),i=c.useRef(null),l,s=function(v){if(r.current){var p=Math.ceil(v.touches[0].pageY),m=o.current-p;o.current=p,n(m)&&v.preventDefault(),clearInterval(i.current),i.current=setInterval(function(){m*=fU,(!n(m,!0)||Math.abs(m)<=.1)&&clearInterval(i.current)},16)}},u=function(){r.current=!1,l()},d=function(v){l(),v.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(v.touches[0].pageY),a.current=v.target,a.current.addEventListener("touchmove",s),a.current.addEventListener("touchend",u))};l=function(){a.current&&(a.current.removeEventListener("touchmove",s),a.current.removeEventListener("touchend",u))},tn(function(){return e&&t.current.addEventListener("touchstart",d),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(i.current)}},[e])}var pU=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],mU=[],hU={overflowY:"auto",overflowAnchor:"none"};function gU(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,o=e.className,a=e.height,i=e.itemHeight,l=e.fullHeight,s=l===void 0?!0:l,u=e.style,d=e.data,f=e.children,v=e.itemKey,p=e.virtual,m=e.component,y=m===void 0?"div":m,h=e.onScroll,g=e.onVisibleChange,b=e.innerProps,C=Oe(e,pU),x=!!(p!==!1&&a&&i),S=x&&d&&i*d.length>a,w=c.useState(0),$=U(w,2),O=$[0],P=$[1],R=c.useState(!1),T=U(R,2),N=T[0],M=T[1],I=G(r,o),_=d||mU,k=c.useRef(),F=c.useRef(),D=c.useRef(),j=c.useCallback(function($e){return typeof v=="function"?v($e):$e==null?void 0:$e[v]},[v]),H={getKey:j};function z($e){P(function(Ie){var ze;typeof $e=="function"?ze=$e(Ie):ze=$e;var gt=se(ze);return k.current.scrollTop=gt,gt})}var B=c.useRef({start:0,end:_.length}),V=c.useRef(),K=cU(_,j),W=U(K,1),Y=W[0];V.current=Y;var X=iU(j,null,null),Q=U(X,4),ae=Q[0],ee=Q[1],q=Q[2],re=Q[3],te=c.useMemo(function(){if(!x)return{scrollHeight:void 0,start:0,end:_.length-1,offset:void 0};if(!S){var $e;return{scrollHeight:(($e=F.current)===null||$e===void 0?void 0:$e.offsetHeight)||0,start:0,end:_.length-1,offset:void 0}}for(var Ie=0,ze,gt,ft,Ct=_.length,Ee=0;Ee=O&&ze===void 0&&(ze=Ee,gt=Ie),He>O+a&&ft===void 0&&(ft=Ee),Ie=He}return ze===void 0&&(ze=0,gt=0,ft=Math.ceil(a/i)),ft===void 0&&(ft=_.length-1),ft=Math.min(ft+1,_.length),{scrollHeight:Ie,start:ze,end:ft,offset:gt}},[S,x,O,_,re,a]),J=te.scrollHeight,ne=te.start,oe=te.end,le=te.offset;B.current.start=ne,B.current.end=oe;var de=J-a,pe=c.useRef(de);pe.current=de;function se($e){var Ie=$e;return Number.isNaN(pe.current)||(Ie=Math.min(Ie,pe.current)),Ie=Math.max(Ie,0),Ie}var ve=O<=0,he=O>=de,ce=bI(ve,he);function ie($e){var Ie=$e;z(Ie)}function fe($e){var Ie=$e.currentTarget.scrollTop;Ie!==O&&z(Ie),h==null||h($e)}var me=dU(x,ve,he,function($e){z(function(Ie){var ze=Ie+$e;return ze})}),Ce=U(me,2),ye=Ce[0],Ne=Ce[1];vU(x,k,function($e,Ie){return ce($e,Ie)?!1:(ye({preventDefault:function(){},deltaY:$e}),!0)}),tn(function(){function $e(Ie){x&&Ie.preventDefault()}return k.current.addEventListener("wheel",ye),k.current.addEventListener("DOMMouseScroll",Ne),k.current.addEventListener("MozMousePixelScroll",$e),function(){k.current&&(k.current.removeEventListener("wheel",ye),k.current.removeEventListener("DOMMouseScroll",Ne),k.current.removeEventListener("MozMousePixelScroll",$e))}},[x]);var _e=lU(k,_,q,i,j,ee,z,function(){var $e;($e=D.current)===null||$e===void 0||$e.delayHidden()});c.useImperativeHandle(t,function(){return{scrollTo:_e}}),tn(function(){if(g){var $e=_.slice(ne,oe+1);g($e,_)}},[ne,oe,_]);var Ue=oU(_,ne,oe,ae,f,H),Ge=null;return a&&(Ge=E(A({},s?"height":"maxHeight",a),hU),x&&(Ge.overflowY="hidden",N&&(Ge.pointerEvents="none"))),c.createElement("div",be({style:E(E({},u),{},{position:"relative"}),className:I},C),c.createElement(y,{className:"".concat(r,"-holder"),style:Ge,ref:k,onScroll:fe},c.createElement(yI,{prefixCls:r,height:J,offset:le,onInnerResize:ee,ref:F,innerProps:b},Ue)),x&&c.createElement(nU,{ref:D,prefixCls:r,scrollTop:O,height:a,scrollHeight:J,count:_.length,onScroll:ie,onStartMove:function(){M(!0)},onStopMove:function(){M(!1)}}))}var R2=c.forwardRef(gU);R2.displayName="List";var CI=c.createContext(null);function yU(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var bU=["disabled","title","children","style","className"];function OE(e){return typeof e=="string"||typeof e=="number"}var CU=function(t,n){var r=Of(),o=r.prefixCls,a=r.id,i=r.open,l=r.multiple,s=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,v=r.onPopupScroll,p=c.useContext(CI),m=p.flattenOptions,y=p.onActiveValue,h=p.defaultActiveFirstOption,g=p.onSelect,b=p.menuItemSelectedIcon,C=p.rawValues,x=p.fieldNames,S=p.virtual,w=p.listHeight,$=p.listItemHeight,O="".concat(o,"-item"),P=tl(function(){return m},[i,m],function(Y,X){return X[0]&&Y[1]!==X[1]}),R=c.useRef(null),T=function(X){X.preventDefault()},N=function(X){R.current&&R.current.scrollTo(typeof X=="number"?{index:X}:X)},M=function(X){for(var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ae=P.length,ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1;F(X);var ae={source:Q?"keyboard":"mouse"},ee=P[X];if(!ee){y(null,-1,ae);return}y(ee.value,X,ae)};c.useEffect(function(){D(h!==!1?M(0):-1)},[P.length,u]);var j=c.useCallback(function(Y){return C.has(Y)&&s!=="combobox"},[s,xe(C).toString(),C.size]);c.useEffect(function(){var Y=setTimeout(function(){if(!l&&i&&C.size===1){var Q=Array.from(C)[0],ae=P.findIndex(function(ee){var q=ee.data;return q.value===Q});ae!==-1&&(D(ae),N(ae))}});if(i){var X;(X=R.current)===null||X===void 0||X.scrollTo(void 0)}return function(){return clearTimeout(Y)}},[i,u,m.length]);var H=function(X){X!==void 0&&g(X,{selected:!C.has(X)}),l||d(!1)};if(c.useImperativeHandle(n,function(){return{onKeyDown:function(X){var Q=X.which,ae=X.ctrlKey;switch(Q){case ue.N:case ue.P:case ue.UP:case ue.DOWN:{var ee=0;if(Q===ue.UP?ee=-1:Q===ue.DOWN?ee=1:yU()&&ae&&(Q===ue.N?ee=1:Q===ue.P&&(ee=-1)),ee!==0){var q=M(k+ee,ee);N(q),D(q,!0)}break}case ue.ENTER:{var re=P[k];re&&!re.data.disabled?H(re.value):H(void 0),i&&X.preventDefault();break}case ue.ESC:d(!1),i&&X.stopPropagation()}},onKeyUp:function(){},scrollTo:function(X){N(X)}}}),P.length===0)return c.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(O,"-empty"),onMouseDown:T},f);var z=Object.keys(x).map(function(Y){return x[Y]}),B=function(X){return X.label};function V(Y,X){var Q=Y.group;return{role:Q?"presentation":"option",id:"".concat(a,"_list_").concat(X)}}var K=function(X){var Q=P[X];if(!Q)return null;var ae=Q.data||{},ee=ae.value,q=Q.group,re=Kl(ae,!0),te=B(Q);return Q?c.createElement("div",be({"aria-label":typeof te=="string"&&!q?te:null},re,{key:X},V(Q,X),{"aria-selected":j(ee)}),ee):null},W={role:"listbox",id:"".concat(a,"_list")};return c.createElement(c.Fragment,null,S&&c.createElement("div",be({},W,{style:{height:0,width:0,overflow:"hidden"}}),K(k-1),K(k),K(k+1)),c.createElement(R2,{itemKey:"key",ref:R,data:P,height:w,itemHeight:$,fullHeight:!1,onMouseDown:T,onScroll:v,virtual:S,innerProps:S?null:W},function(Y,X){var Q,ae=Y.group,ee=Y.groupOption,q=Y.data,re=Y.label,te=Y.value,J=q.key;if(ae){var ne,oe=(ne=q.title)!==null&&ne!==void 0?ne:OE(re)?re.toString():void 0;return c.createElement("div",{className:G(O,"".concat(O,"-group")),title:oe},re!==void 0?re:J)}var le=q.disabled,de=q.title;q.children;var pe=q.style,se=q.className,ve=Oe(q,bU),he=On(ve,z),ce=j(te),ie="".concat(O,"-option"),fe=G(O,ie,se,(Q={},A(Q,"".concat(ie,"-grouped"),ee),A(Q,"".concat(ie,"-active"),k===X&&!le),A(Q,"".concat(ie,"-disabled"),le),A(Q,"".concat(ie,"-selected"),ce),Q)),me=B(Y),Ce=!b||typeof b=="function"||ce,ye=typeof me=="number"?me:me||te,Ne=OE(ye)?ye.toString():void 0;return de!==void 0&&(Ne=de),c.createElement("div",be({},Kl(he),S?{}:V(Y,X),{"aria-selected":ce,className:fe,title:Ne,onMouseMove:function(){k===X||le||D(X)},onClick:function(){le||H(te)},style:pe}),c.createElement("div",{className:"".concat(ie,"-content")},ye),c.isValidElement(b)||ce,Ce&&c.createElement(bm,{className:"".concat(O,"-option-state"),customizeIcon:b,customizeIconProps:{isSelected:ce}},ce?"✓":null))}))},xI=c.forwardRef(CU);xI.displayName="OptionList";var xU=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],SU=["inputValue"];function wU(e){return!e||Ke(e)!=="object"}var $U=c.forwardRef(function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,a=o===void 0?"rc-select":o,i=e.backfill,l=e.fieldNames,s=e.inputValue,u=e.searchValue,d=e.onSearch,f=e.autoClearSearchValue,v=f===void 0?!0:f,p=e.onSelect,m=e.onDeselect,y=e.dropdownMatchSelectWidth,h=y===void 0?!0:y,g=e.filterOption,b=e.filterSort,C=e.optionFilterProp,x=e.optionLabelProp,S=e.options,w=e.children,$=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,P=e.virtual,R=e.listHeight,T=R===void 0?200:R,N=e.listItemHeight,M=N===void 0?20:N,I=e.value,_=e.defaultValue,k=e.labelInValue,F=e.onChange,D=Oe(e,xU),j=P2(n),H=Ib(r),z=!!(!S&&w),B=c.useMemo(function(){return g===void 0&&r==="combobox"?!1:g},[g,r]),V=c.useMemo(function(){return hI(l,z)},[JSON.stringify(l),z]),K=bt("",{value:u!==void 0?u:s,postState:function(Re){return Re||""}}),W=U(K,2),Y=W[0],X=W[1],Q=eU(S,w,V,C,x),ae=Q.valueOptions,ee=Q.labelOptions,q=Q.options,re=c.useCallback(function(ge){var Re=fI(ge);return Re.map(function(we){var Le,Je,ct,xt,lt;if(wU(we))Le=we;else{var Te;ct=we.key,Je=we.label,Le=(Te=we.value)!==null&&Te!==void 0?Te:ct}var Ve=ae.get(Le);if(Ve){var qe;Je===void 0&&(Je=Ve==null?void 0:Ve[x||V.label]),ct===void 0&&(ct=(qe=Ve==null?void 0:Ve.key)!==null&&qe!==void 0?qe:Le),xt=Ve==null?void 0:Ve.disabled,lt=Ve==null?void 0:Ve.title}return{label:Je,value:Le,key:ct,disabled:xt,title:lt}})},[V,x,ae]),te=bt(_,{value:I}),J=U(te,2),ne=J[0],oe=J[1],le=c.useMemo(function(){var ge,Re=re(ne);return r==="combobox"&&!((ge=Re[0])!==null&&ge!==void 0&&ge.value)?[]:Re},[ne,re,r]),de=YK(le,ae),pe=U(de,2),se=pe[0],ve=pe[1],he=c.useMemo(function(){if(!r&&se.length===1){var ge=se[0];if(ge.value===null&&(ge.label===null||ge.label===void 0))return[]}return se.map(function(Re){var we;return E(E({},Re),{},{label:(we=Re.label)!==null&&we!==void 0?we:Re.value})})},[r,se]),ce=c.useMemo(function(){return new Set(se.map(function(ge){return ge.value}))},[se]);c.useEffect(function(){if(r==="combobox"){var ge,Re=(ge=se[0])===null||ge===void 0?void 0:ge.value;X(CK(Re)?String(Re):"")}},[se]);var ie=EE(function(ge,Re){var we,Le=Re??ge;return we={},A(we,V.value,ge),A(we,V.label,Le),we}),fe=c.useMemo(function(){if(r!=="tags")return q;var ge=xe(q),Re=function(Le){return ae.has(Le)};return xe(se).sort(function(we,Le){return we.value2&&arguments[2]!==void 0?arguments[2]:{},Le=we.source,Je=Le===void 0?"keyboard":Le;Ct(Re),i&&r==="combobox"&&ge!==null&&Je==="keyboard"&&Ie(String(ge))},[i,r]),ke=function(Re,we,Le){var Je=function(){var Ye,ut=ve(Re);return[k?{label:ut==null?void 0:ut[V.label],value:Re,key:(Ye=ut==null?void 0:ut.key)!==null&&Ye!==void 0?Ye:Re}:Re,Rb(ut)]};if(we&&p){var ct=Je(),xt=U(ct,2),lt=xt[0],Te=xt[1];p(lt,Te)}else if(!we&&m&&Le!=="clear"){var Ve=Je(),qe=U(Ve,2),Be=qe[0],Fe=qe[1];m(Be,Fe)}},De=EE(function(ge,Re){var we,Le=H?Re.selected:!0;Le?we=H?[].concat(xe(se),[ge]):[ge]:we=se.filter(function(Je){return Je.value!==ge}),_e(we),ke(ge,Le),r==="combobox"?Ie(""):(!Ib||v)&&(X(""),Ie(""))}),He=function(Re,we){_e(Re);var Le=we.type,Je=we.values;(Le==="remove"||Le==="clear")&&Je.forEach(function(ct){ke(ct.value,!1,Le)})},Me=function(Re,we){if(X(Re),Ie(null),we.source==="submit"){var Le=(Re||"").trim();if(Le){var Je=Array.from(new Set([].concat(xe(ce),[Le])));_e(Je),ke(Le,!0),X("")}return}we.source!=="blur"&&(r==="combobox"&&_e(Re),d==null||d(Re))},yt=function(Re){var we=Re;r!=="tags"&&(we=Re.map(function(Je){var ct=ee.get(Je);return ct==null?void 0:ct.value}).filter(function(Je){return Je!==void 0}));var Le=Array.from(new Set([].concat(xe(ce),xe(we))));_e(Le),Le.forEach(function(Je){ke(Je,!0)})},ot=c.useMemo(function(){var ge=P!==!1&&h!==!1;return E(E({},Q),{},{flattenOptions:Ne,onActiveValue:Se,defaultActiveFirstOption:Ee,onSelect:De,menuItemSelectedIcon:O,rawValues:ce,fieldNames:V,virtual:ge,listHeight:T,listItemHeight:M,childrenAsData:z})},[Q,Ne,Se,Ee,De,O,ce,V,P,h,T,M,z]);return c.createElement(CI.Provider,{value:ot},c.createElement(E2,be({},D,{id:j,prefixCls:a,ref:t,omitDomProps:SU,mode:r,displayValues:he,onDisplayValuesChange:He,searchValue:Y,onSearch:Me,autoClearSearchValue:v,onSearchSplit:yt,dropdownMatchSelectWidth:h,OptionList:xI,emptyOptions:!Ne.length,activeValue:$e,activeDescendantId:"".concat(j,"_list_").concat(ft)})))}),I2=$U;I2.Option=M2;I2.OptGroup=O2;function rs(e,t,n,r){return function(a){const{prefixCls:i,style:l}=a,s=c.useRef(null),[u,d]=c.useState(0),[f,v]=c.useState(0),[p,m]=bt(!1,{value:a.open}),{getPrefixCls:y}=c.useContext(rt),h=y(t||"select",i);c.useEffect(()=>{if(m(!0),typeof ResizeObserver<"u"){const b=new ResizeObserver(x=>{const S=x[0].target;d(S.offsetHeight+8),v(S.offsetWidth)}),C=setInterval(()=>{var x;const S=n?`.${n(h)}`:`.${h}-dropdown`,w=(x=s.current)===null||x===void 0?void 0:x.querySelector(S);w&&(clearInterval(C),b.observe(w))},10);return()=>{clearInterval(C),b.disconnect()}}},[]);let g=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},l),{margin:0}),open:p,visible:p,getPopupContainer:()=>s.current});return r&&(g=r(g)),c.createElement(nt,{theme:{token:{motionDurationFast:"0.01s",motionDurationMid:"0.01s",motionDurationSlow:"0.01s"}}},c.createElement("div",{ref:s,style:{paddingBottom:u,position:"relative",width:"fit-content",minWidth:f}},c.createElement(e,Object.assign({},g))))}}function po(e,t,n){return G({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const nl=(e,t)=>t||e,EU=()=>{const[,e]=ts(),t=new Yt(e.colorBgBase);let n={};return t.toHsl().l<.5&&(n={opacity:.65}),c.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),c.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),c.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),c.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),c.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},PU=EU,OU=()=>{const[,e]=ts(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:a,shadowColor:i,contentColor:l}=c.useMemo(()=>({borderColor:new Yt(t).onBackground(o).toHexShortString(),shadowColor:new Yt(n).onBackground(o).toHexShortString(),contentColor:new Yt(r).onBackground(o).toHexShortString()}),[t,n,r,o]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:a},c.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),c.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},MU=OU,RU=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},IU=Ut("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=St(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[RU(r)]});var NU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{className:t,rootClassName:n,prefixCls:r,image:o=SI,description:a,children:i,imageStyle:l}=e,s=NU(e,["className","rootClassName","prefixCls","image","description","children","imageStyle"]);const{getPrefixCls:u,direction:d}=c.useContext(rt),f=u("empty",r),[v,p]=IU(f),[m]=Uh("Empty"),y=typeof a<"u"?a:m==null?void 0:m.description,h=typeof y=="string"?y:"empty";let g=null;return typeof o=="string"?g=c.createElement("img",{alt:h,src:o}):g=o,v(c.createElement("div",Object.assign({className:G(p,f,{[`${f}-normal`]:o===wI,[`${f}-rtl`]:d==="rtl"},t,n)},s),c.createElement("div",{className:`${f}-image`,style:l},g),y&&c.createElement("div",{className:`${f}-description`},y),i&&c.createElement("div",{className:`${f}-footer`},i)))};N2.PRESENTED_IMAGE_DEFAULT=SI;N2.PRESENTED_IMAGE_SIMPLE=wI;const Ru=N2,TU=e=>{const{componentName:t}=e,{getPrefixCls:n}=c.useContext(rt),r=n("empty");switch(t){case"Table":case"List":return Z.createElement(Ru,{image:Ru.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Z.createElement(Ru,{image:Ru.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return Z.createElement(Ru,null)}},T2=TU,_U=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},kU=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},At(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft + `]:{animationName:tg},[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft + `]:{animationName:rg},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:ng},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:og},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},_U(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign(Object.assign({flex:"auto"},ua),{"> *":Object.assign({},ua)}),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},Ta(e,"slide-up"),Ta(e,"slide-down"),Mc(e,"move-up"),Mc(e,"move-down")]},ys=2;function $I(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r,a=Math.ceil(o/2);return[o,a]}function o1(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,a=e.controlHeightSM,[i]=$I(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${i-ys}px ${ys*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ys}px 0`,lineHeight:`${a}px`,content:'"\\a0"'}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:a,marginTop:ys,marginBottom:ys,lineHeight:`${a-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:ys*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Sf()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-i,"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function FU(e){const{componentCls:t}=e,n=St(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=$I(e);return[o1(e),o1(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:r}}},o1(St(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function a1(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.controlHeight-e.lineWidth*2,i=Math.ceil(e.fontSize*1.25),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},At(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${a}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:i},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:`${a}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function DU(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[a1(e),a1(St(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.fontSize*1.5}}}},a1(St(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const LU=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},i1=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:o,outlineColor:a,antCls:i}=t,l=n?{[`${r}-selector`]:{borderColor:o}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${i}-pagination-size-changer)`]:Object.assign(Object.assign({},l),{[`${r}-focused& ${r}-selector`]:{borderColor:o,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${r}-selector`]:{borderColor:o}})}}},AU=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},jU=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},LU(e)),AU(e)),[`${t}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal"},ua),{"> *":Object.assign({lineHeight:"inherit"},ua)}),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},ua),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},Sf()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},zU=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},jU(e),DU(e),FU(e),kU(e),{[`${t}-rtl`]:{direction:"rtl"}},i1(t,St(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),i1(`${t}-status-error`,St(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),i1(`${t}-status-warning`,St(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),qc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},_2=Ut("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=St(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[zU(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),Dv={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"visible"},HU={bottomLeft:Object.assign(Object.assign({},Dv),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Dv),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Dv),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Dv),{points:["br","tr"],offset:[0,-4]})};function k2(e){return e||HU}function F2(e){return e??!0}var BU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const VU=BU;var EI=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:VU}))};EI.displayName="CheckOutlined";const PI=c.forwardRef(EI);var WU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const KU=WU;var OI=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:KU}))};OI.displayName="DownOutlined";const D2=c.forwardRef(OI);var UU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const YU=UU;var MI=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:YU}))};MI.displayName="SearchOutlined";const L2=c.forwardRef(MI);function A2(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:a,multiple:i,hasFeedback:l,prefixCls:s,showArrow:u,feedbackIcon:d}=e;const f=n??c.createElement(fi,null),v=h=>c.createElement(c.Fragment,null,u!==!1&&h,l&&d);let p=null;if(t!==void 0)p=v(t);else if(a)p=v(c.createElement(ai,{spin:!0}));else{const h=`${s}-suffix`;p=g=>{let{open:b,showSearch:C}=g;return v(b&&C?c.createElement(L2,{className:h}):c.createElement(D2,{className:h}))}}let m=null;r!==void 0?m=r:i?m=c.createElement(PI,null):m=null;let y=null;return o!==void 0?y=o:y=c.createElement(ns,null),{clearIcon:f,suffixIcon:p,itemIcon:m,removeIcon:y}}var GU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,bordered:r=!0,className:o,rootClassName:a,getPopupContainer:i,popupClassName:l,dropdownClassName:s,listHeight:u=256,placement:d,listItemHeight:f=24,size:v,disabled:p,notFoundContent:m,status:y,showArrow:h,builtinPlacements:g}=e,b=GU(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow","builtinPlacements"]);const{getPopupContainer:C,getPrefixCls:x,renderEmpty:S,direction:w,virtual:$,dropdownMatchSelectWidth:O,select:P}=c.useContext(rt),R=c.useContext(ur),T=x("select",n),N=x(),{compactSize:M,compactItemClassnames:I}=ka(T,w),[_,k]=_2(T),F=c.useMemo(()=>{const{mode:de}=b;if(de!=="combobox")return de===RI?"combobox":de},[b.mode]),D=F==="multiple"||F==="tags",j=F2(h),{status:H,hasFeedback:z,isFormItemInput:B,feedbackIcon:V}=c.useContext(Cr),K=nl(H,y);let W;m!==void 0?W=m:F==="combobox"?W=null:W=(S==null?void 0:S("Select"))||c.createElement(T2,{componentName:"Select"});const{suffixIcon:Y,itemIcon:X,removeIcon:Q,clearIcon:ae}=A2(Object.assign(Object.assign({},b),{multiple:D,hasFeedback:z,feedbackIcon:V,showArrow:j,prefixCls:T})),ee=On(b,["suffixIcon","itemIcon"]),q=G(l||s,{[`${T}-dropdown-${w}`]:w==="rtl"},a,k),re=M||v||R,te=c.useContext(Xr),J=p??te,ne=G({[`${T}-lg`]:re==="large",[`${T}-sm`]:re==="small",[`${T}-rtl`]:w==="rtl",[`${T}-borderless`]:!r,[`${T}-in-form-item`]:B},po(T,K,z),I,o,a,k),oe=c.useMemo(()=>d!==void 0?d:w==="rtl"?"bottomRight":"bottomLeft",[d,w]),le=k2(g);return _(c.createElement(I2,Object.assign({ref:t,virtual:$,dropdownMatchSelectWidth:O,showSearch:P==null?void 0:P.showSearch},ee,{builtinPlacements:le,transitionName:Yr(N,C2(d),b.transitionName),listHeight:u,listItemHeight:f,mode:F,prefixCls:T,placement:oe,direction:w,inputIcon:Y,menuItemSelectedIcon:X,removeIcon:Q,clearIcon:ae,notFoundContent:W,className:ne,getPopupContainer:i||C,dropdownClassName:q,showArrow:z||j,disabled:J})))},Qc=c.forwardRef(XU),qU=rs(Qc);Qc.SECRET_COMBOBOX_MODE_DO_NOT_USE=RI;Qc.Option=M2;Qc.OptGroup=O2;Qc._InternalPanelDoNotUseOrYouWillBeFired=qU;const ag=Qc;function QU(){const[,e]=c.useReducer(t=>t+1,0);return e}const Rc=["xxl","xl","lg","md","sm","xs"],ZU=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),JU=e=>{const t=e,n=[].concat(Rc).reverse();return n.forEach((r,o)=>{const a=r.toUpperCase(),i=`screen${a}Min`,l=`screen${a}`;if(!(t[i]<=t[l]))throw new Error(`${i}<=${l} fails : !(${t[i]}<=${t[l]})`);if(o{const n=new Map;let r=-1,o={};return{matchHandlers:{},dispatch(a){return o=a,n.forEach(i=>i(o)),n.size>=1},subscribe(a){return n.size||this.register(),r+=1,n.set(r,a),a(o),r},unsubscribe(a){n.delete(a),n.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const i=t[a],l=this.matchHandlers[i];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(a=>{const i=t[a],l=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},o),{[a]:d}))},s=window.matchMedia(i);s.addListener(l),this.matchHandlers[i]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}function eY(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=c.useRef({}),n=QU(),r=II();return c.useEffect(()=>{const o=r.subscribe(a=>{t.current=a,e&&n()});return()=>r.unsubscribe(o)},[]),t.current}const Nb=c.createContext("default"),ME=e=>{let{children:t,size:n}=e;const r=c.useContext(Nb);return c.createElement(Nb.Provider,{value:n||r},t)},tY=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:a,avatarSizeBase:i,avatarSizeLG:l,avatarSizeSM:s,avatarFontSizeBase:u,avatarFontSizeLG:d,avatarFontSizeSM:f,borderRadius:v,borderRadiusLG:p,borderRadiusSM:m,lineWidth:y,lineType:h}=e,g=(b,C,x)=>({width:b,height:b,lineHeight:`${b-y*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:x},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:C,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${y}px ${h} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),g(i,u,v)),{"&-lg":Object.assign({},g(l,d,p)),"&-sm":Object.assign({},g(s,f,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},nY=e=>{const{componentCls:t,avatarGroupBorderColor:n,avatarGroupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}}}},NI=Ut("Avatar",e=>{const{colorTextLightSolid:t,controlHeight:n,controlHeightLG:r,controlHeightSM:o,fontSize:a,fontSizeLG:i,fontSizeXL:l,fontSizeHeading3:s,marginXS:u,colorBorderBg:d,colorTextPlaceholder:f}=e,v=St(e,{avatarBg:f,avatarColor:t,avatarSizeBase:n,avatarSizeLG:r,avatarSizeSM:o,avatarFontSizeBase:Math.round((i+l)/2),avatarFontSizeLG:s,avatarFontSizeSM:a,avatarGroupSpace:-u,avatarGroupBorderColor:d});return[tY(v),nY(v)]});var rY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(Nb),[r,o]=c.useState(1),[a,i]=c.useState(!1),[l,s]=c.useState(!0),u=c.useRef(null),d=c.useRef(null),f=cr(t,u),{getPrefixCls:v}=c.useContext(rt),p=()=>{if(!d.current||!u.current)return;const K=d.current.offsetWidth,W=u.current.offsetWidth;if(K!==0&&W!==0){const{gap:Y=4}=e;Y*2{i(!0)},[]),c.useEffect(()=>{s(!0),o(1)},[e.src]),c.useEffect(()=>{p()},[e.gap]);const m=()=>{const{onError:K}=e;(K?K():void 0)!==!1&&s(!1)},{prefixCls:y,shape:h="circle",size:g="default",src:b,srcSet:C,icon:x,className:S,rootClassName:w,alt:$,draggable:O,children:P,crossOrigin:R}=e,T=rY(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),N=g==="default"?n:g,M=Object.keys(typeof N=="object"?N||{}:{}).some(K=>["xs","sm","md","lg","xl","xxl"].includes(K)),I=eY(M),_=c.useMemo(()=>{if(typeof N!="object")return{};const K=Rc.find(Y=>I[Y]),W=N[K];return W?{width:W,height:W,lineHeight:`${W}px`,fontSize:x?W/2:18}:{}},[I,N]),k=v("avatar",y),[F,D]=NI(k),j=G({[`${k}-lg`]:N==="large",[`${k}-sm`]:N==="small"}),H=c.isValidElement(b),z=G(k,j,{[`${k}-${h}`]:!!h,[`${k}-image`]:H||b&&l,[`${k}-icon`]:!!x},S,w,D),B=typeof N=="number"?{width:N,height:N,lineHeight:`${N}px`,fontSize:x?N/2:18}:{};let V;if(typeof b=="string"&&l)V=c.createElement("img",{src:b,draggable:O,srcSet:C,onError:m,alt:$,crossOrigin:R});else if(H)V=b;else if(x)V=x;else if(a||r!==1){const K=`scale(${r}) translateX(-50%)`,W={msTransform:K,WebkitTransform:K,transform:K},Y=typeof N=="number"?{lineHeight:`${N}px`}:{};V=c.createElement(va,{onResize:p},c.createElement("span",{className:`${k}-string`,ref:d,style:Object.assign(Object.assign({},Y),W)},P))}else V=c.createElement("span",{className:`${k}-string`,style:{opacity:0},ref:d},P);return delete T.onError,delete T.gap,F(c.createElement("span",Object.assign({},T,{style:Object.assign(Object.assign(Object.assign({},B),_),T.style),className:z,ref:f}),V))},aY=c.forwardRef(oY),TI=aY;var bs={shiftX:64,adjustY:1},Cs={adjustX:1,shiftY:!0},Po=[0,0],iY={left:{points:["cr","cl"],overflow:Cs,offset:[-4,0],targetOffset:Po},right:{points:["cl","cr"],overflow:Cs,offset:[4,0],targetOffset:Po},top:{points:["bc","tc"],overflow:bs,offset:[0,-4],targetOffset:Po},bottom:{points:["tc","bc"],overflow:bs,offset:[0,4],targetOffset:Po},topLeft:{points:["bl","tl"],overflow:bs,offset:[0,-4],targetOffset:Po},leftTop:{points:["tr","tl"],overflow:Cs,offset:[-4,0],targetOffset:Po},topRight:{points:["br","tr"],overflow:bs,offset:[0,-4],targetOffset:Po},rightTop:{points:["tl","tr"],overflow:Cs,offset:[4,0],targetOffset:Po},bottomRight:{points:["tr","br"],overflow:bs,offset:[0,4],targetOffset:Po},rightBottom:{points:["bl","br"],overflow:Cs,offset:[4,0],targetOffset:Po},bottomLeft:{points:["tl","bl"],overflow:bs,offset:[0,4],targetOffset:Po},leftBottom:{points:["br","bl"],overflow:Cs,offset:[-4,0],targetOffset:Po}};function j2(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.className,i=e.style;return c.createElement("div",{className:G("".concat(n,"-content"),a),style:i},c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var lY=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],sY=function(t,n){var r=t.overlayClassName,o=t.trigger,a=o===void 0?["hover"]:o,i=t.mouseEnterDelay,l=i===void 0?0:i,s=t.mouseLeaveDelay,u=s===void 0?.1:s,d=t.overlayStyle,f=t.prefixCls,v=f===void 0?"rc-tooltip":f,p=t.children,m=t.onVisibleChange,y=t.afterVisibleChange,h=t.transitionName,g=t.animation,b=t.motion,C=t.placement,x=C===void 0?"right":C,S=t.align,w=S===void 0?{}:S,$=t.destroyTooltipOnHide,O=$===void 0?!1:$,P=t.defaultVisible,R=t.getTooltipContainer,T=t.overlayInnerStyle;t.arrowContent;var N=t.overlay,M=t.id,I=t.showArrow,_=I===void 0?!0:I,k=Oe(t,lY),F=c.useRef(null);c.useImperativeHandle(n,function(){return F.current});var D=E({},k);"visible"in t&&(D.popupVisible=t.visible);var j=function(){return c.createElement(j2,{key:"content",prefixCls:v,id:M,overlayInnerStyle:T},N)};return c.createElement($2,be({popupClassName:r,prefixCls:v,popup:j,action:a,builtinPlacements:iY,popupPlacement:x,ref:F,popupAlign:w,getPopupContainer:R,onPopupVisibleChange:m,afterPopupVisibleChange:y,popupTransitionName:h,popupAnimation:g,popupMotion:b,defaultPopupVisible:P,autoDestroy:O,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:l,arrow:_},D),p)};const cY=c.forwardRef(sY),Ci=(e,t)=>new Yt(e).setAlpha(t).toRgbString(),xs=(e,t)=>new Yt(e).lighten(t).toHexString(),uY=e=>{const t=oi(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},dY=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Ci(r,.85),colorTextSecondary:Ci(r,.65),colorTextTertiary:Ci(r,.45),colorTextQuaternary:Ci(r,.25),colorFill:Ci(r,.18),colorFillSecondary:Ci(r,.12),colorFillTertiary:Ci(r,.08),colorFillQuaternary:Ci(r,.04),colorBgElevated:xs(n,12),colorBgContainer:xs(n,8),colorBgLayout:xs(n,0),colorBgSpotlight:xs(n,26),colorBorder:xs(n,26),colorBorderSecondary:xs(n,19)}},fY=(e,t)=>{const n=Object.keys(u2).map(o=>{const a=oi(e[o],{theme:"dark"});return new Array(10).fill(1).reduce((i,l,s)=>(i[`${o}-${s+1}`]=a[s],i[`${o}${s+1}`]=a[s],i),{})}).reduce((o,a)=>(o=Object.assign(Object.assign({},o),a),o),{}),r=t??Gh(e);return Object.assign(Object.assign(Object.assign({},r),n),uR(e,{generateColorPalettes:uY,generateNeutralColorPalettes:dY}))},vY=fY;function pY(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const mY=(e,t)=>{const n=t??Gh(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),pY(t??e)),dR(r)),{controlHeight:o}),cR(Object.assign(Object.assign({},n),{controlHeight:o})))},hY=mY;function gY(){const[e,t,n]=ts();return{theme:e,token:t,hashId:n}}const No={defaultConfig:vm,defaultSeed:vm.token,useToken:gY,defaultAlgorithm:Gh,darkAlgorithm:vY,compactAlgorithm:hY},_I=8;function z2(e){const t=_I,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function Lv(e,t){return e?t:{}}function H2(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:a,boxShadowPopoverArrow:i}=e,{colorBg:l,contentRadius:s=e.borderRadiusLG,limitVerticalRadius:u,arrowDistance:d=0,arrowPlacement:f={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:v,dropdownArrowOffset:p}=z2({contentRadius:s,limitVerticalRadius:u});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},fR(r,o,a,l,i)),{"&:before":{background:l}})]},Lv(!!f.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:d,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}}})),Lv(!!f.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:d,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}}})),Lv(!!f.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:d},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:v},[`&-placement-leftBottom ${n}-arrow`]:{bottom:v}})),Lv(!!f.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:d},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:v},[`&-placement-rightBottom ${n}-arrow`]:{bottom:v}}))}}function yY(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.dropdownArrowOffset*2+n;break;case"left":case"right":a.shiftY=t.dropdownArrowOffsetVertical*2+n;break}const i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const RE={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},bY={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},CY=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function kI(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:a}=e,i=t/2,l={};return Object.keys(RE).forEach(s=>{const u=r&&bY[s]||RE[s],d=Object.assign(Object.assign({},u),{offset:[0,0]});switch(l[s]=d,CY.has(s)&&(d.autoArrow=!1),s){case"top":case"topLeft":case"topRight":d.offset[1]=-i-o;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=i+o;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-i-o;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=i+o;break}const f=z2({contentRadius:a,limitVerticalRadius:!0});if(r)switch(s){case"topLeft":case"bottomLeft":d.offset[0]=-f.dropdownArrowOffset-i;break;case"topRight":case"bottomRight":d.offset[0]=f.dropdownArrowOffset+i;break;case"leftTop":case"rightTop":d.offset[1]=-f.dropdownArrowOffset-i;break;case"leftBottom":case"rightBottom":d.offset[1]=f.dropdownArrowOffset+i;break}d.overflow=yY(s,f,t,n)}),l}const xY=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:i,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${u/2}px ${d}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,_I)}},[`${t}-content`]:{position:"relative"}}),pb(e,(v,p)=>{let{darkColor:m}=p;return{[`&${t}-${v}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},H2(St(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},FI=(e,t)=>Ut("Tooltip",r=>{if(t===!1)return[];const{borderRadius:o,colorTextLightSolid:a,colorBgDefault:i,borderRadiusOuter:l}=r,s=St(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:i,tooltipRadiusOuter:l>4?4:l});return[xY(s),Ef(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:o,colorBgSpotlight:a}=r;return{zIndexPopup:o+70,colorBgDefault:a}})(e),SY=Kd.map(e=>`${e}-inverse`);function B2(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(xe(SY),xe(Kd)).includes(e):Kd.includes(e)}function DI(e,t){const n=B2(t),r=G({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}function wY(e){const{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:l}=c.useContext(rt),s=l("tooltip",t),[u,d]=FI(s,!0),f=DI(s,a),v=Object.assign(Object.assign({},i),f.overlayStyle),p=f.arrowStyle;return u(c.createElement("div",{className:G(d,s,`${s}-pure`,`${s}-placement-${r}`,n,f.className),style:p},c.createElement("div",{className:`${s}-arrow`}),c.createElement(j2,Object.assign({},e,{className:d,prefixCls:s,overlayInnerStyle:v}),o)))}var $Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n={},r=Object.assign({},e);return t.forEach(o=>{e&&o in e&&(n[o]=e[o],delete r[o])}),{picked:n,omitted:r}};function OY(e,t){const n=e.type;if((n.__ANT_BUTTON===!0||e.type==="button")&&e.props.disabled||n.__ANT_SWITCH===!0&&(e.props.disabled||e.props.loading)||n.__ANT_RADIO===!0&&e.props.disabled){const{picked:r,omitted:o}=PY(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=Object.assign(Object.assign({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=Object.assign(Object.assign({},o),{pointerEvents:"none"}),l=Yn(e,{style:i,className:null});return c.createElement("span",{style:a,className:G(e.props.className,`${t}-disabled-compatible-wrapper`)},l)}return e}const LI=c.forwardRef((e,t)=>{var n,r;const{prefixCls:o,openClassName:a,getTooltipContainer:i,overlayClassName:l,color:s,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:v,destroyTooltipOnHide:p,arrow:m=!0,title:y,overlay:h,builtinPlacements:g,arrowPointAtCenter:b=!1,autoAdjustOverflow:C=!0}=e,x=!!m,{token:S}=EY(),{getPopupContainer:w,getPrefixCls:$,direction:O}=c.useContext(rt),P=c.useRef(null),R=()=>{var pe;(pe=P.current)===null||pe===void 0||pe.forceAlign()};c.useImperativeHandle(t,()=>({forceAlign:R,forcePopupAlign:()=>{R()}}));const[T,N]=bt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),M=!y&&!h&&y!==0,I=pe=>{var se,ve;N(M?!1:pe),M||((se=e.onOpenChange)===null||se===void 0||se.call(e,pe),(ve=e.onVisibleChange)===null||ve===void 0||ve.call(e,pe))},_=c.useMemo(()=>{var pe,se;let ve=b;return typeof m=="object"&&(ve=(se=(pe=m.pointAtCenter)!==null&&pe!==void 0?pe:m.arrowPointAtCenter)!==null&&se!==void 0?se:b),g||kI({arrowPointAtCenter:ve,autoAdjustOverflow:C,arrowWidth:x?S.sizePopupArrow:0,borderRadius:S.borderRadius,offset:S.marginXXS})},[b,m,g,S]),k=(pe,se)=>{const ve=Object.keys(_).find(he=>{var ce,ie;return _[he].points[0]===((ce=se.points)===null||ce===void 0?void 0:ce[0])&&_[he].points[1]===((ie=se.points)===null||ie===void 0?void 0:ie[1])});if(ve){const he=pe.getBoundingClientRect(),ce={top:"50%",left:"50%"};/top|Bottom/.test(ve)?ce.top=`${he.height-se.offset[1]}px`:/Top|bottom/.test(ve)&&(ce.top=`${-se.offset[1]}px`),/left|Right/.test(ve)?ce.left=`${he.width-se.offset[0]}px`:/right|Left/.test(ve)&&(ce.left=`${-se.offset[0]}px`),pe.style.transformOrigin=`${ce.left} ${ce.top}`}},F=c.useMemo(()=>y===0?y:h||y||"",[h,y]),D=c.createElement(Wl,null,typeof F=="function"?F():F),{getPopupContainer:j,placement:H="top",mouseEnterDelay:z=.1,mouseLeaveDelay:B=.1,overlayStyle:V,rootClassName:K}=e,W=$Y(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Y=$("tooltip",o),X=$(),Q=e["data-popover-inject"];let ae=T;!("open"in e)&&!("visible"in e)&&M&&(ae=!1);const ee=OY(Ho(d)&&!HR(d)?d:c.createElement("span",null,d),Y),q=ee.props,re=!q.className||typeof q.className=="string"?G(q.className,{[a||`${Y}-open`]:!0}):q.className,[te,J]=FI(Y,!Q),ne=DI(Y,s),oe=Object.assign(Object.assign({},u),ne.overlayStyle),le=ne.arrowStyle,de=G(l,{[`${Y}-rtl`]:O==="rtl"},ne.className,K,J);return te(c.createElement(cY,Object.assign({},W,{showArrow:x,placement:H,mouseEnterDelay:z,mouseLeaveDelay:B,prefixCls:Y,overlayClassName:de,overlayStyle:Object.assign(Object.assign({},le),V),getTooltipContainer:j||i||w,ref:P,builtinPlacements:_,overlay:D,visible:ae,onVisibleChange:I,afterVisibleChange:f??v,onPopupAlign:k,overlayInnerStyle:oe,arrowContent:c.createElement("span",{className:`${Y}-arrow-content`}),motion:{motionName:Yr(X,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!p}),ae?Yn(ee,{className:re}):ee))});LI._InternalPanelDoNotUseOrYouWillBeFired=wY;const rl=LI,Cm=e=>e?typeof e=="function"?e():e:null,MY=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:o,fontWeightStrong:a,popoverPadding:i,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:d,marginXS:f,colorBgElevated:v}=e;return[{[t]:Object.assign(Object.assign({},At(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":v,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:i},[`${t}-title`]:{minWidth:o,marginBottom:f,color:s,fontWeight:a},[`${t}-inner-content`]:{color:r}})},H2(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},RY=e=>{const{componentCls:t}=e;return{[t]:Kd.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},IY=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:o,paddingSM:a,controlHeight:i,fontSize:l,lineHeight:s,padding:u}=e,d=i-Math.round(l*s),f=d/2,v=d/2-n,p=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${f}px ${p}px ${v}px`,borderBottom:`${n}px ${r} ${o}`},[`${t}-inner-content`]:{padding:`${a}px ${p}px`}}}},AI=Ut("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,o=St(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[MY(o),RY(o),r&&IY(o),Ef(o,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}});var NY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(!(!t&&!n))return c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${e}-title`},Cm(t)),c.createElement("div",{className:`${e}-inner-content`},Cm(n)))};function _Y(e){const{hashId:t,prefixCls:n,className:r,style:o,placement:a="top",title:i,content:l,children:s}=e;return c.createElement("div",{className:G(t,n,`${n}-pure`,`${n}-placement-${a}`,r),style:o},c.createElement("div",{className:`${n}-arrow`}),c.createElement(j2,Object.assign({},e,{className:t,prefixCls:n}),s||TY(n,i,l)))}function kY(e){const{prefixCls:t}=e,n=NY(e,["prefixCls"]),{getPrefixCls:r}=c.useContext(rt),o=r("popover",t),[a,i]=AI(o);return a(c.createElement(_Y,Object.assign({},n,{prefixCls:o,hashId:i})))}var FY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${r}-title`},Cm(t)),c.createElement("div",{className:`${r}-inner-content`},Cm(n)))},jI=c.forwardRef((e,t)=>{const{prefixCls:n,title:r,content:o,overlayClassName:a,placement:i="top",trigger:l="hover",mouseEnterDelay:s=.1,mouseLeaveDelay:u=.1,overlayStyle:d={}}=e,f=FY(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:v}=c.useContext(rt),p=v("popover",n),[m,y]=AI(p),h=v(),g=G(a,y);return m(c.createElement(rl,Object.assign({placement:i,trigger:l,mouseEnterDelay:s,mouseLeaveDelay:u,overlayStyle:d},f,{prefixCls:p,overlayClassName:g,ref:t,overlay:c.createElement(DY,{prefixCls:p,title:r,content:o}),transitionName:Yr(h,"zoom-big",f.transitionName),"data-popover-inject":!0})))});jI._InternalPanelDoNotUseOrYouWillBeFired=kY;const Rf=jI,LY=e=>{const{getPrefixCls:t,direction:n}=c.useContext(rt),{prefixCls:r,className:o,rootClassName:a,maxCount:i,maxStyle:l,size:s}=e,u=t("avatar",r),d=`${u}-group`,[f,v]=NI(u),p=G(d,{[`${d}-rtl`]:n==="rtl"},o,a,v),{children:m,maxPopoverPlacement:y="top",maxPopoverTrigger:h="hover"}=e,g=kr(m).map((C,x)=>Yn(C,{key:`avatar-key-${x}`})),b=g.length;if(i&&i{const{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:o,badgeShadowSize:a,badgeHeightSm:i,motionDurationSlow:l,badgeStatusSize:s,marginXS:u,badgeRibbonOffset:d}=e,f=`${r}-scroll-number`,v=`${r}-ribbon`,p=`${r}-ribbon-wrapper`,m=pb(e,(h,g)=>{let{darkColor:b}=g;return{[`${t}-color-${h}`]:{background:b}}}),y=pb(e,(h,g)=>{let{darkColor:b}=g;return{[`&${v}-color-${h}`]:{background:b,color:b}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:i,height:i,fontSize:e.badgeFontSizeSm,lineHeight:`${i}px`,borderRadius:i/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${f}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${f}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`${n}-spin`]:{animationName:WY,animationDuration:e.motionDurationMid,animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:jY,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}}}),m),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:zY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:HY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:BY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:VY,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${f}-custom-component, ${t}-count`]:{transform:"none"},[`${f}-custom-component, ${f}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f}`]:{overflow:"hidden",[`${f}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${f}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${p}`]:{position:"relative"},[`${v}`]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{position:"absolute",top:u,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${o}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${v}-text`]:{color:e.colorTextLightSolid},[`${v}-corner`]:{position:"absolute",top:"100%",width:d,height:d,color:"currentcolor",border:`${d/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),y),{[`&${v}-placement-end`]:{insetInlineEnd:-d,borderEndEndRadius:0,[`${v}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${v}-placement-start`]:{insetInlineStart:-d,borderEndStartRadius:0,[`${v}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},HI=Ut("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o,marginXS:a,colorBorderBg:i}=e,l=Math.round(t*n),s=o,u="auto",d=l-2*s,f=e.colorBgContainer,v="normal",p=r,m=e.colorError,y=e.colorErrorHover,h=t,g=r/2,b=r,C=r/2,x=St(e,{badgeFontHeight:l,badgeShadowSize:s,badgeZIndex:u,badgeHeight:d,badgeTextColor:f,badgeFontWeight:v,badgeFontSize:p,badgeColor:m,badgeColorHover:y,badgeShadowColor:i,badgeHeightSm:h,badgeDotSize:g,badgeFontSizeSm:b,badgeStatusSize:C,badgeProcessingDuration:"1.2s",badgeRibbonOffset:a,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[KY(x)]}),UY=e=>{let{className:t,prefixCls:n,style:r,color:o,children:a,text:i,placement:l="end"}=e;const{getPrefixCls:s,direction:u}=c.useContext(rt),d=s("ribbon",n),f=B2(o,!1),v=G(d,`${d}-placement-${l}`,{[`${d}-rtl`]:u==="rtl",[`${d}-color-${o}`]:f},t),[p,m]=HI(d),y={},h={};return o&&!f&&(y.background=o,h.color=o),p(c.createElement("div",{className:G(`${d}-wrapper`,m)},a,c.createElement("div",{className:G(v,m),style:Object.assign(Object.assign({},y),r)},c.createElement("span",{className:`${d}-text`},i),c.createElement("div",{className:`${d}-corner`,style:h}))))},YY=UY;function IE(e){let{prefixCls:t,value:n,current:r,offset:o=0}=e,a;return o&&(a={position:"absolute",top:`${o}00%`,left:0}),c.createElement("span",{style:a,className:G(`${t}-only-unit`,{current:r})},n)}function GY(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}function XY(e){const{prefixCls:t,count:n,value:r}=e,o=Number(r),a=Math.abs(n),[i,l]=c.useState(o),[s,u]=c.useState(a),d=()=>{l(o),u(a)};c.useEffect(()=>{const p=setTimeout(()=>{d()},1e3);return()=>{clearTimeout(p)}},[o]);let f,v;if(i===o||Number.isNaN(o)||Number.isNaN(i))f=[c.createElement(IE,Object.assign({},e,{key:o,current:!0}))],v={transition:"none"};else{f=[];const p=o+10,m=[];for(let g=o;g<=p;g+=1)m.push(g);const y=m.findIndex(g=>g%10===i);f=m.map((g,b)=>{const C=g%10;return c.createElement(IE,Object.assign({},e,{key:g,value:C,offset:b-y,current:b===y}))});const h=s{var{prefixCls:n,count:r,className:o,motionClassName:a,style:i,title:l,show:s,component:u="sup",children:d}=e,f=qY(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]);const{getPrefixCls:v}=c.useContext(rt),p=v("scroll-number",n),m=Object.assign(Object.assign({},f),{"data-show":s,style:i,className:G(p,o,a),title:l});let y=r;if(r&&Number(r)%1===0){const h=String(r).split("");y=h.map((g,b)=>c.createElement(XY,{prefixCls:p,count:Number(r),value:g,key:h.length-b}))}return i&&i.borderColor&&(m.style=Object.assign(Object.assign({},i),{boxShadow:`0 0 0 1px ${i.borderColor} inset`})),d?Yn(d,h=>({className:G(`${p}-custom-component`,h==null?void 0:h.className,a)})):c.createElement(u,Object.assign({},m,{ref:t}),y)}),ZY=QY;var JY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,scrollNumberPrefixCls:r,children:o,status:a,text:i,color:l,count:s=null,overflowCount:u=99,dot:d=!1,size:f="default",title:v,offset:p,style:m,className:y,rootClassName:h,showZero:g=!1}=e,b=JY(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","showZero"]),{getPrefixCls:C,direction:x}=c.useContext(rt),S=C("badge",n),[w,$]=HI(S),O=s>u?`${u}+`:s,P=O==="0"||O===0,R=s===null||P&&!g,T=(a!=null||l!=null)&&R,N=d&&!P,M=N?"":O,I=c.useMemo(()=>(M==null||M===""||P&&!g)&&!N,[M,P,g,N]),_=c.useRef(s);I||(_.current=s);const k=_.current,F=c.useRef(M);I||(F.current=M);const D=F.current,j=c.useRef(N);I||(j.current=N);const H=c.useMemo(()=>{if(!p)return Object.assign({},m);const Q={marginTop:p[1]};return x==="rtl"?Q.left=parseInt(p[0],10):Q.right=-parseInt(p[0],10),Object.assign(Object.assign({},Q),m)},[x,p,m]),z=v??(typeof k=="string"||typeof k=="number"?k:void 0),B=I||!i?null:c.createElement("span",{className:`${S}-status-text`},i),V=!k||typeof k!="object"?void 0:Yn(k,Q=>({style:Object.assign(Object.assign({},H),Q.style)})),K=B2(l,!1),W=G({[`${S}-status-dot`]:T,[`${S}-status-${a}`]:!!a,[`${S}-color-${l}`]:K}),Y={};l&&!K&&(Y.color=l,Y.background=l);const X=G(S,{[`${S}-status`]:T,[`${S}-not-a-wrapper`]:!o,[`${S}-rtl`]:x==="rtl"},y,h,$);if(!o&&T){const Q=H.color;return w(c.createElement("span",Object.assign({},b,{className:X,style:H}),c.createElement("span",{className:W,style:Y}),i&&c.createElement("span",{style:{color:Q},className:`${S}-status-text`},i)))}return w(c.createElement("span",Object.assign({ref:t},b,{className:X}),o,c.createElement(er,{visible:!I,motionName:`${S}-zoom`,motionAppear:!1,motionDeadline:1e3},Q=>{let{className:ae,ref:ee}=Q;const q=C("scroll-number",r),re=j.current,te=G({[`${S}-dot`]:re,[`${S}-count`]:!re,[`${S}-count-sm`]:f==="small",[`${S}-multiple-words`]:!re&&D&&D.toString().length>1,[`${S}-status-${a}`]:!!a,[`${S}-color-${l}`]:K});let J=Object.assign({},H);return l&&!K&&(J=J||{},J.background=l),c.createElement(ZY,{prefixCls:q,show:!I,motionClassName:ae,className:te,count:D,title:z,style:J,key:"scrollNumber",ref:ee},V)}),B))},BI=c.forwardRef(eG);BI.Ribbon=YY;const Zo=BI;var tG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const nG=tG;var VI=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:nG}))};VI.displayName="RightOutlined";const Ic=c.forwardRef(VI);var rG=c.forwardRef(function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,a=c.useRef(),i=c.useRef();c.useImperativeHandle(t,function(){return{}});var l=c.useRef(!1);return!l.current&&Ir()&&(i.current=r(),a.current=i.current.parentNode,l.current=!0),c.useEffect(function(){n==null||n(e)}),c.useEffect(function(){return i.current.parentNode===null&&a.current!==null&&a.current.appendChild(i.current),function(){var s,u;(s=i.current)===null||s===void 0||(u=s.parentNode)===null||u===void 0||u.removeChild(i.current)}},[]),i.current?wc.createPortal(o,i.current):null});function oG(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function aG(e,t,n){var r=e[t]||{};return E(E({},r),n)}function iG(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function IG(e,t,n,r){var o=Tt.clone(e),a={width:t.width,height:t.height};return r.adjustX&&o.left=n.left&&o.left+a.width>n.right&&(a.width-=o.left+a.width-n.right),r.adjustX&&o.left+a.width>n.right&&(o.left=Math.max(n.right-a.width,n.left)),r.adjustY&&o.top=n.top&&o.top+a.height>n.bottom&&(a.height-=o.top+a.height-n.bottom),r.adjustY&&o.top+a.height>n.bottom&&(o.top=Math.max(n.bottom-a.height,n.top)),Tt.mix(o,a)}function Y2(e){var t,n,r;if(!Tt.isWindow(e)&&e.nodeType!==9)t=Tt.offset(e),n=Tt.outerWidth(e),r=Tt.outerHeight(e);else{var o=Tt.getWindow(e);t={left:Tt.getWindowScrollLeft(o),top:Tt.getWindowScrollTop(o)},n=Tt.viewportWidth(o),r=Tt.viewportHeight(o)}return t.width=n,t.height=r,t}function zE(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,a=e.height,i=e.left,l=e.top;return n==="c"?l+=a/2:n==="b"&&(l+=a),r==="c"?i+=o/2:r==="r"&&(i+=o),{left:i,top:l}}function jv(e,t,n,r,o){var a=zE(t,n[1]),i=zE(e,n[0]),l=[i.left-a.left,i.top-a.top];return{left:Math.round(e.left-l[0]+r[0]-o[0]),top:Math.round(e.top-l[1]+r[1]-o[1])}}function HE(e,t,n){return e.leftn.right}function BE(e,t,n){return e.topn.bottom}function NG(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function G2(e,t,n){var r=n.target||t,o=Y2(r),a=!_G(r,n.overflow&&n.overflow.alwaysByViewport);return ZI(e,o,n,a)}G2.__getOffsetParent=Fb;G2.__getVisibleRectForElement=U2;function kG(e,t,n){var r,o,a=Tt.getDocument(e),i=a.defaultView||a.parentWindow,l=Tt.getWindowScrollLeft(i),s=Tt.getWindowScrollTop(i),u=Tt.viewportWidth(i),d=Tt.viewportHeight(i);"pageX"in t?r=t.pageX:r=l+t.clientX,"pageY"in t?o=t.pageY:o=s+t.clientY;var f={left:r,top:o,width:0,height:0},v=r>=0&&r<=l+u&&o>=0&&o<=s+d,p=[n.points[0],"cc"];return ZI(e,f,TE(TE({},n),{},{points:p}),v)}const FG=function(e,t){var n=Z.useRef(!1),r=Z.useRef(null);function o(){window.clearTimeout(r.current)}function a(i){if(o(),!n.current||i===!0){if(e(i)===!1)return;n.current=!0,r.current=window.setTimeout(function(){n.current=!1},t)}else r.current=window.setTimeout(function(){n.current=!1,a()},t)}return[a,function(){n.current=!1,o()}]};function DG(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function LG(e,t){e!==document.activeElement&&Nl(t,e)&&typeof e.focus=="function"&&e.focus()}function KE(e,t){var n=null,r=null;function o(i){var l=U(i,1),s=l[0].target;if(document.documentElement.contains(s)){var u=s.getBoundingClientRect(),d=u.width,f=u.height,v=Math.floor(d),p=Math.floor(f);(n!==v||r!==p)&&Promise.resolve().then(function(){t({width:v,height:p})}),n=v,r=p}}var a=new LM(o);return e&&a.observe(e),function(){a.disconnect()}}function UE(e){return typeof e!="function"?null:e()}function YE(e){return Ke(e)!=="object"||!e?null:e}var AG=function(t,n){var r=t.children,o=t.disabled,a=t.target,i=t.align,l=t.onAlign,s=t.monitorWindowResize,u=t.monitorBufferTime,d=u===void 0?0:u,f=Z.useRef({}),v=Z.useRef(),p=Z.Children.only(r),m=Z.useRef({});m.current.disabled=o,m.current.target=a,m.current.align=i,m.current.onAlign=l;var y=FG(function(){var T=m.current,N=T.disabled,M=T.target,I=T.align,_=T.onAlign,k=v.current;if(!N&&M&&k){var F,D=UE(M),j=YE(M);f.current.element=D,f.current.point=j,f.current.align=I;var H=document,z=H.activeElement;return D&&Xc(D)?F=G2(k,D,I):j&&(F=kG(k,j,I)),LG(z,k),_&&F&&_(k,F),!0}return!1},d),h=U(y,2),g=h[0],b=h[1],C=Z.useState(),x=U(C,2),S=x[0],w=x[1],$=Z.useState(),O=U($,2),P=O[0],R=O[1];return tn(function(){w(UE(a)),R(YE(a))}),Z.useEffect(function(){(f.current.element!==S||!DG(f.current.point,P)||!Yc(f.current.align,i))&&g()}),Z.useEffect(function(){var T=KE(v.current,g);return T},[v.current]),Z.useEffect(function(){var T=KE(S,g);return T},[S]),Z.useEffect(function(){o?b():g()},[o]),Z.useEffect(function(){if(s){var T=wa(window,"resize",g);return T.remove}},[s]),Z.useEffect(function(){return function(){b()}},[]),Z.useImperativeHandle(n,function(){return{forceAlign:function(){return g(!0)}}}),Z.isValidElement(p)&&(p=Z.cloneElement(p,{ref:cr(p.ref,v)})),p},JI=Z.forwardRef(AG);JI.displayName="Align";var GE=["measure","alignPre","align",null,"motion"];const jG=function(e,t){var n=Wi(null),r=U(n,2),o=r[0],a=r[1],i=c.useRef();function l(d){a(d,!0)}function s(){Ft.cancel(i.current)}function u(d){s(),i.current=Ft(function(){l(function(f){switch(o){case"align":return"motion";case"motion":return"stable"}return f}),d==null||d()})}return c.useEffect(function(){l("measure")},[e]),c.useEffect(function(){switch(o){case"measure":t();break}o&&(i.current=Ft(ir(Lt().mark(function d(){var f,v;return Lt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:f=GE.indexOf(o),v=GE[f+1],v&&f!==-1&&l(v);case 3:case"end":return m.stop()}},d)}))))},[o]),c.useEffect(function(){return function(){s()}},[]),[o,u]},zG=function(e){var t=c.useState({width:0,height:0}),n=U(t,2),r=n[0],o=n[1];function a(l){var s=l.offsetWidth,u=l.offsetHeight,d=l.getBoundingClientRect(),f=d.width,v=d.height;Math.abs(s-f)<1&&Math.abs(u-v)<1&&(s=f,u=v),o({width:s,height:u})}var i=c.useMemo(function(){var l={};if(e){var s=r.width,u=r.height;e.indexOf("height")!==-1&&u?l.height=u:e.indexOf("minHeight")!==-1&&u&&(l.minHeight=u),e.indexOf("width")!==-1&&s?l.width=s:e.indexOf("minWidth")!==-1&&s&&(l.minWidth=s)}return l},[e,r]);return[i,a]};var eN=c.forwardRef(function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,a=e.style,i=e.children,l=e.zIndex,s=e.stretch,u=e.destroyPopupOnHide,d=e.forceRender,f=e.align,v=e.point,p=e.getRootDomNode,m=e.getClassNameFromAlign,y=e.onAlign,h=e.onMouseEnter,g=e.onMouseLeave,b=e.onMouseDown,C=e.onTouchStart,x=e.onClick,S=c.useRef(),w=c.useRef(),$=c.useState(),O=U($,2),P=O[0],R=O[1],T=zG(s),N=U(T,2),M=N[0],I=N[1];function _(){s&&I(p())}var k=jG(n,_),F=U(k,2),D=F[0],j=F[1],H=c.useState(0),z=U(H,2),B=z[0],V=z[1],K=c.useRef();tn(function(){D==="alignPre"&&V(0)},[D]);function W(){return v||p}function Y(){var te;(te=S.current)===null||te===void 0||te.forceAlign()}function X(te,J){var ne=m(J);P!==ne&&R(ne),V(function(oe){return oe+1}),D==="align"&&(y==null||y(te,J))}tn(function(){D==="align"&&(B<3?Y():j(function(){var te;(te=K.current)===null||te===void 0||te.call(K)}))},[B]);var Q=E({},WI(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(te){var J=Q[te];Q[te]=function(ne,oe){return j(),J==null?void 0:J(ne,oe)}});function ae(){return new Promise(function(te){K.current=te})}c.useEffect(function(){!Q.motionName&&D==="motion"&&j()},[Q.motionName,D]),c.useImperativeHandle(t,function(){return{forceAlign:Y,getElement:function(){return w.current}}});var ee=E(E({},M),{},{zIndex:l,opacity:D==="motion"||D==="stable"||!n?void 0:0,pointerEvents:!n&&D!=="stable"?"none":void 0},a),q=!0;f!=null&&f.points&&(D==="align"||D==="stable")&&(q=!1);var re=i;return c.Children.count(i)>1&&(re=c.createElement("div",{className:"".concat(r,"-content")},i)),c.createElement(er,be({visible:n,ref:w,leavedClassName:"".concat(r,"-hidden")},Q,{onAppearPrepare:ae,onEnterPrepare:ae,removeOnLeave:u,forceRender:d}),function(te,J){var ne=te.className,oe=te.style,le=G(r,o,P,ne);return c.createElement(JI,{target:W(),key:"popup",ref:S,monitorWindowResize:!0,disabled:q,align:f,onAlign:X},c.createElement("div",{ref:J,className:le,onMouseEnter:h,onMouseLeave:g,onMouseDownCapture:b,onTouchStartCapture:C,onClick:x,style:E(E({},oe),ee)},re))})});eN.displayName="PopupInner";var tN=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,a=e.children,i=e.mobile;i=i===void 0?{}:i;var l=i.popupClassName,s=i.popupStyle,u=i.popupMotion,d=u===void 0?{}:u,f=i.popupRender,v=e.onClick,p=c.useRef();c.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var m=E({zIndex:o},s),y=a;return c.Children.count(a)>1&&(y=c.createElement("div",{className:"".concat(n,"-content")},a)),f&&(y=f(y)),c.createElement(er,be({visible:r,ref:p,removeOnLeave:!0},d),function(h,g){var b=h.className,C=h.style,x=G(n,l,b);return c.createElement("div",{ref:g,className:x,onClick:v,style:E(E({},C),m)},y)})});tN.displayName="MobilePopupInner";var HG=["visible","mobile"],nN=c.forwardRef(function(e,t){var n=e.visible,r=e.mobile,o=Oe(e,HG),a=c.useState(n),i=U(a,2),l=i[0],s=i[1],u=c.useState(!1),d=U(u,2),f=d[0],v=d[1],p=E(E({},o),{},{visible:l});c.useEffect(function(){s(n),n&&r&&v(Pf())},[n,r]);var m=f?c.createElement(tN,be({},p,{mobile:r,ref:t})):c.createElement(eN,be({},p,{ref:t}));return c.createElement("div",null,c.createElement(lG,p),m)});nN.displayName="Popup";var XE=c.createContext(null);function d1(){}function BG(){return""}function VG(e){return e?e.ownerDocument:window.document}var WG=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function KG(e){var t=function(n){Bo(o,n);var r=Vo(o);function o(a){var i;Fn(this,o),i=r.call(this,a),A(ht(i),"popupRef",c.createRef()),A(ht(i),"triggerRef",c.createRef()),A(ht(i),"portalContainer",void 0),A(ht(i),"attachId",void 0),A(ht(i),"clickOutsideHandler",void 0),A(ht(i),"touchOutsideHandler",void 0),A(ht(i),"contextMenuOutsideHandler1",void 0),A(ht(i),"contextMenuOutsideHandler2",void 0),A(ht(i),"mouseDownTimeout",void 0),A(ht(i),"focusTime",void 0),A(ht(i),"preClickTime",void 0),A(ht(i),"preTouchTime",void 0),A(ht(i),"delayTimer",void 0),A(ht(i),"hasPopupMouseDown",void 0),A(ht(i),"onMouseEnter",function(s){var u=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",s),i.delaySetPopupVisible(!0,u,u?null:s)}),A(ht(i),"onMouseMove",function(s){i.fireEvents("onMouseMove",s),i.setPoint(s)}),A(ht(i),"onMouseLeave",function(s){i.fireEvents("onMouseLeave",s),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)}),A(ht(i),"onPopupMouseEnter",function(){i.clearDelayTimer()}),A(ht(i),"onPopupMouseLeave",function(s){var u;s.relatedTarget&&!s.relatedTarget.setTimeout&&Nl((u=i.popupRef.current)===null||u===void 0?void 0:u.getElement(),s.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)}),A(ht(i),"onFocus",function(s){i.fireEvents("onFocus",s),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))}),A(ht(i),"onMouseDown",function(s){i.fireEvents("onMouseDown",s),i.preClickTime=Date.now()}),A(ht(i),"onTouchStart",function(s){i.fireEvents("onTouchStart",s),i.preTouchTime=Date.now()}),A(ht(i),"onBlur",function(s){i.fireEvents("onBlur",s),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)}),A(ht(i),"onContextMenu",function(s){s.preventDefault(),i.fireEvents("onContextMenu",s),i.setPopupVisible(!0,s)}),A(ht(i),"onContextMenuClose",function(){i.isContextMenuToShow()&&i.close()}),A(ht(i),"onClick",function(s){if(i.fireEvents("onClick",s),i.focusTime){var u;if(i.preClickTime&&i.preTouchTime?u=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?u=i.preClickTime:i.preTouchTime&&(u=i.preTouchTime),Math.abs(u-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&s&&s.preventDefault&&s.preventDefault();var d=!i.state.popupVisible;(i.isClickToHide()&&!d||d&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,s)}),A(ht(i),"onPopupMouseDown",function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var s;(s=i.context).onPopupMouseDown.apply(s,arguments)}}),A(ht(i),"onDocumentClick",function(s){if(!(i.props.mask&&!i.props.maskClosable)){var u=s.target,d=i.getRootDomNode(),f=i.getPopupDomNode();(!Nl(d,u)||i.isContextMenuOnly())&&!Nl(f,u)&&!i.hasPopupMouseDown&&i.close()}}),A(ht(i),"getRootDomNode",function(){var s=i.props.getTriggerDOMNode;if(s)return s(i.triggerRef.current);try{var u=$c(i.triggerRef.current);if(u)return u}catch{}return wc.findDOMNode(ht(i))}),A(ht(i),"getPopupClassNameFromAlign",function(s){var u=[],d=i.props,f=d.popupPlacement,v=d.builtinPlacements,p=d.prefixCls,m=d.alignPoint,y=d.getPopupClassNameFromAlign;return f&&v&&u.push(iG(v,p,s,m)),y&&u.push(y(s)),u.join(" ")}),A(ht(i),"getComponent",function(){var s=i.props,u=s.prefixCls,d=s.destroyPopupOnHide,f=s.popupClassName,v=s.onPopupAlign,p=s.popupMotion,m=s.popupAnimation,y=s.popupTransitionName,h=s.popupStyle,g=s.mask,b=s.maskAnimation,C=s.maskTransitionName,x=s.maskMotion,S=s.zIndex,w=s.popup,$=s.stretch,O=s.alignPoint,P=s.mobile,R=s.forceRender,T=s.onPopupClick,N=i.state,M=N.popupVisible,I=N.point,_=i.getPopupAlign(),k={};return i.isMouseEnterToShow()&&(k.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(k.onMouseLeave=i.onPopupMouseLeave),k.onMouseDown=i.onPopupMouseDown,k.onTouchStart=i.onPopupMouseDown,c.createElement(nN,be({prefixCls:u,destroyPopupOnHide:d,visible:M,point:O&&I,className:f,align:_,onAlign:v,animation:m,getClassNameFromAlign:i.getPopupClassNameFromAlign},k,{stretch:$,getRootDomNode:i.getRootDomNode,style:h,mask:g,zIndex:S,transitionName:y,maskAnimation:b,maskTransitionName:C,maskMotion:x,ref:i.popupRef,motion:p,mobile:P,forceRender:R,onClick:T}),typeof w=="function"?w():w)}),A(ht(i),"attachParent",function(s){Ft.cancel(i.attachId);var u=i.props,d=u.getPopupContainer,f=u.getDocument,v=i.getRootDomNode(),p;d?(v||d.length===0)&&(p=d(v)):p=f(i.getRootDomNode()).body,p?p.appendChild(s):i.attachId=Ft(function(){i.attachParent(s)})}),A(ht(i),"getContainer",function(){if(!i.portalContainer){var s=i.props.getDocument,u=s(i.getRootDomNode()).createElement("div");u.style.position="absolute",u.style.top="0",u.style.left="0",u.style.width="100%",i.portalContainer=u}return i.attachParent(i.portalContainer),i.portalContainer}),A(ht(i),"setPoint",function(s){var u=i.props.alignPoint;!u||!s||i.setState({point:{pageX:s.pageX,pageY:s.pageY}})}),A(ht(i),"handlePortalUpdate",function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)}),A(ht(i),"triggerContextValue",{onPopupMouseDown:i.onPopupMouseDown});var l;return"popupVisible"in a?l=!!a.popupVisible:l=!!a.defaultPopupVisible,i.state={prevPopupVisible:l,popupVisible:l},WG.forEach(function(s){i["fire".concat(s)]=function(u){i.fireEvents(s,u)}}),i}return Dn(o,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,l=this.state;if(l.popupVisible){var s;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(s=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=wa(s,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(s=s||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=wa(s,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(s=s||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=wa(s,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=wa(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Ft.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,l=i.popupPlacement,s=i.popupAlign,u=i.builtinPlacements;return l&&u?aG(u,l,s):s}},{key:"setPopupVisible",value:function(i,l){var s=this.props.alignPoint,u=this.state.popupVisible;this.clearDelayTimer(),u!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:u}),this.props.onPopupVisibleChange(i)),s&&l&&i&&this.setPoint(l)}},{key:"delaySetPopupVisible",value:function(i,l,s){var u=this,d=l*1e3;if(this.clearDelayTimer(),d){var f=s?{pageX:s.pageX,pageY:s.pageY}:null;this.delayTimer=window.setTimeout(function(){u.setPopupVisible(i,f),u.clearDelayTimer()},d)}else this.setPopupVisible(i,s)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var l=this.props.children.props,s=this.props;return l[i]&&s[i]?this["fire".concat(i)]:l[i]||s[i]}},{key:"isClickToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("contextMenu")!==-1||s.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("click")!==-1||s.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("hover")!==-1||s.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("hover")!==-1||s.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,l=i.action,s=i.showAction;return l.indexOf("focus")!==-1||s.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,l=i.action,s=i.hideAction;return l.indexOf("focus")!==-1||s.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,l){var s=this.props.children.props[i];s&&s(l);var u=this.props[i];u&&u(l)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,l=this.props,s=l.children,u=l.forceRender,d=l.alignPoint,f=l.className,v=l.autoDestroy,p=c.Children.only(s),m={key:"trigger"};this.isContextMenuToShow()?m.onContextMenu=this.onContextMenu:m.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(m.onClick=this.onClick,m.onMouseDown=this.onMouseDown,m.onTouchStart=this.onTouchStart):(m.onClick=this.createTwoChains("onClick"),m.onMouseDown=this.createTwoChains("onMouseDown"),m.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(m.onMouseEnter=this.onMouseEnter,d&&(m.onMouseMove=this.onMouseMove)):m.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?m.onMouseLeave=this.onMouseLeave:m.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(m.onFocus=this.onFocus,m.onBlur=this.onBlur):(m.onFocus=this.createTwoChains("onFocus"),m.onBlur=this.createTwoChains("onBlur"));var y=G(p&&p.props&&p.props.className,f);y&&(m.className=y);var h=E({},m);es(p)&&(h.ref=cr(this.triggerRef,p.ref));var g=c.cloneElement(p,h),b;return(i||this.popupRef.current||u)&&(b=c.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(b=null),c.createElement(XE.Provider,{value:this.triggerContextValue},g,b)}}],[{key:"getDerivedStateFromProps",value:function(i,l){var s=i.popupVisible,u={};return s!==void 0&&l.popupVisible!==s&&(u.popupVisible=s,u.prevPopupVisible=l.popupVisible),u}}]),o}(c.Component);return A(t,"contextType",XE),A(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:BG,getDocument:VG,onPopupVisibleChange:d1,afterPopupVisibleChange:d1,onPopupAlign:d1,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}const rN=KG(rG);var Ss={adjustX:1,adjustY:1},ws=[0,0],UG={topLeft:{points:["bl","tl"],overflow:Ss,offset:[0,-4],targetOffset:ws},topCenter:{points:["bc","tc"],overflow:Ss,offset:[0,-4],targetOffset:ws},topRight:{points:["br","tr"],overflow:Ss,offset:[0,-4],targetOffset:ws},bottomLeft:{points:["tl","bl"],overflow:Ss,offset:[0,4],targetOffset:ws},bottomCenter:{points:["tc","bc"],overflow:Ss,offset:[0,4],targetOffset:ws},bottomRight:{points:["tr","br"],overflow:Ss,offset:[0,4],targetOffset:ws}};function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Xc(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function oN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=xe(e.querySelectorAll("*")).filter(function(r){return qE(r,t)});return qE(e,t)&&n.unshift(e),n}var YG=ue.ESC,GG=ue.TAB;function XG(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,a=e.autoFocus,i=c.useRef(!1),l=function(){if(t&&r.current){var f,v,p,m;(f=r.current)===null||f===void 0||(v=f.triggerRef)===null||v===void 0||(p=v.current)===null||p===void 0||(m=p.focus)===null||m===void 0||m.call(p),n(!1),typeof o=="function"&&o(!1)}},s=function(){var f,v,p,m,y=oN((f=r.current)===null||f===void 0||(v=f.popupRef)===null||v===void 0||(p=v.current)===null||p===void 0||(m=p.getElement)===null||m===void 0?void 0:m.call(p)),h=y[0];return h!=null&&h.focus?(h.focus(),i.current=!0,!0):!1},u=function(f){switch(f.keyCode){case YG:l();break;case GG:{var v=!1;i.current||(v=s()),v?f.preventDefault():l();break}}};c.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Ft(s,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var qG=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function QG(e,t){var n=e.arrow,r=n===void 0?!1:n,o=e.prefixCls,a=o===void 0?"rc-dropdown":o,i=e.transitionName,l=e.animation,s=e.align,u=e.placement,d=u===void 0?"bottomLeft":u,f=e.placements,v=f===void 0?UG:f,p=e.getPopupContainer,m=e.showAction,y=e.hideAction,h=e.overlayClassName,g=e.overlayStyle,b=e.visible,C=e.trigger,x=C===void 0?["hover"]:C,S=e.autoFocus,w=Oe(e,qG),$=c.useState(),O=U($,2),P=O[0],R=O[1],T="visible"in e?b:P,N=c.useRef(null);c.useImperativeHandle(t,function(){return N.current}),XG({visible:T,setTriggerVisible:R,triggerRef:N,onVisibleChange:e.onVisibleChange,autoFocus:S});var M=function(){var V=e.overlay,K;return typeof V=="function"?K=V():K=V,K},I=function(V){var K=e.onOverlayClick;R(!1),K&&K(V)},_=function(V){var K=e.onVisibleChange;R(V),typeof K=="function"&&K(V)},k=function(){var V=M();return c.createElement(c.Fragment,null,r&&c.createElement("div",{className:"".concat(a,"-arrow")}),V)},F=function(){var V=e.overlay;return typeof V=="function"?k:k()},D=function(){var V=e.minOverlayWidthMatchTrigger,K=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?V:!K},j=function(){var V=e.openClassName;return V!==void 0?V:"".concat(a,"-open")},H=function(){var V=e.children,K=V.props?V.props:{},W=G(K.className,j());return T&&V?c.cloneElement(V,{className:W}):V},z=y;return!z&&x.indexOf("contextMenu")!==-1&&(z=["click"]),c.createElement(rN,E(E({builtinPlacements:v},w),{},{prefixCls:a,ref:N,popupClassName:G(h,A({},"".concat(a,"-show-arrow"),r)),popupStyle:g,action:x,showAction:m,hideAction:z||[],popupPlacement:d,popupAlign:s,popupTransitionName:i,popupAnimation:l,popupVisible:T,stretch:D()?"minWidth":"",popup:F(),onPopupVisibleChange:_,onPopupClick:I,getPopupContainer:p}),H())}const aN=c.forwardRef(QG);var iN=c.createContext(null);function X2(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function lN(e){var t=c.useContext(iN);return X2(t,e)}var ZG=["children","locked"],pa=c.createContext(null);function JG(e,t){var n=E({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function Xd(e){var t=e.children,n=e.locked,r=Oe(e,ZG),o=c.useContext(pa),a=tl(function(){return JG(o,r)},[o,r],function(i,l){return!n&&(i[0]!==l[0]||!Yc(i[1],l[1],!0))});return c.createElement(pa.Provider,{value:a},t)}var eX=[],sN=c.createContext(null);function lg(){return c.useContext(sN)}var cN=c.createContext(eX);function Zc(e){var t=c.useContext(cN);return c.useMemo(function(){return e!==void 0?[].concat(xe(t),[e]):t},[t,e])}var uN=c.createContext(null),q2=c.createContext({}),Db=ue.LEFT,Lb=ue.RIGHT,Ab=ue.UP,hp=ue.DOWN,gp=ue.ENTER,dN=ue.ESC,Nu=ue.HOME,Tu=ue.END,QE=[Ab,hp,Db,Lb];function tX(e,t,n,r){var o,a,i,l,s="prev",u="next",d="children",f="parent";if(e==="inline"&&r===gp)return{inlineTrigger:!0};var v=(o={},A(o,Ab,s),A(o,hp,u),o),p=(a={},A(a,Db,n?u:s),A(a,Lb,n?s:u),A(a,hp,d),A(a,gp,d),a),m=(i={},A(i,Ab,s),A(i,hp,u),A(i,gp,d),A(i,dN,f),A(i,Db,n?d:f),A(i,Lb,n?f:d),i),y={inline:v,horizontal:p,vertical:m,inlineSub:v,horizontalSub:m,verticalSub:m},h=(l=y["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[r];switch(h){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function nX(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function rX(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function fN(e,t){var n=oN(e,!0);return n.filter(function(r){return t.has(r)})}function ZE(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=fN(e,t),a=o.length,i=o.findIndex(function(l){return n===l});return r<0?i===-1?i=a-1:i-=1:r>0&&(i+=1),i=(i+a)%a,o[i]}function oX(e,t,n,r,o,a,i,l,s,u){var d=c.useRef(),f=c.useRef();f.current=t;var v=function(){Ft.cancel(d.current)};return c.useEffect(function(){return function(){v()}},[]),function(p){var m=p.which;if([].concat(QE,[gp,dN,Nu,Tu]).includes(m)){var y,h,g,b=function(){y=new Set,h=new Map,g=new Map;var _=a();return _.forEach(function(k){var F=document.querySelector("[data-menu-id='".concat(X2(r,k),"']"));F&&(y.add(F),g.set(F,k),h.set(k,F))}),y};b();var C=h.get(t),x=rX(C,y),S=g.get(x),w=tX(e,i(S,!0).length===1,n,m);if(!w&&m!==Nu&&m!==Tu)return;(QE.includes(m)||[Nu,Tu].includes(m))&&p.preventDefault();var $=function(_){if(_){var k=_,F=_.querySelector("a");F!=null&&F.getAttribute("href")&&(k=F);var D=g.get(_);l(D),v(),d.current=Ft(function(){f.current===D&&k.focus()})}};if([Nu,Tu].includes(m)||w.sibling||!x){var O;!x||e==="inline"?O=o.current:O=nX(x);var P,R=fN(O,y);m===Nu?P=R[0]:m===Tu?P=R[R.length-1]:P=ZE(O,y,x,w.offset),$(P)}else if(w.inlineTrigger)s(S);else if(w.offset>0)s(S,!0),v(),d.current=Ft(function(){b();var I=x.getAttribute("aria-controls"),_=document.getElementById(I),k=ZE(_,y);$(k)},5);else if(w.offset<0){var T=i(S,!0),N=T[T.length-2],M=h.get(N);s(N,!1),$(M)}}u==null||u(p)}}function aX(e){Promise.resolve().then(e)}var Q2="__RC_UTIL_PATH_SPLIT__",JE=function(t){return t.join(Q2)},iX=function(t){return t.split(Q2)},jb="rc-menu-more";function lX(){var e=c.useState({}),t=U(e,2),n=t[1],r=c.useRef(new Map),o=c.useRef(new Map),a=c.useState([]),i=U(a,2),l=i[0],s=i[1],u=c.useRef(0),d=c.useRef(!1),f=function(){d.current||n({})},v=c.useCallback(function(C,x){var S=JE(x);o.current.set(S,C),r.current.set(C,S),u.current+=1;var w=u.current;aX(function(){w===u.current&&f()})},[]),p=c.useCallback(function(C,x){var S=JE(x);o.current.delete(S),r.current.delete(C)},[]),m=c.useCallback(function(C){s(C)},[]),y=c.useCallback(function(C,x){var S=r.current.get(C)||"",w=iX(S);return x&&l.includes(w[0])&&w.unshift(jb),w},[l]),h=c.useCallback(function(C,x){return C.some(function(S){var w=y(S,!0);return w.includes(x)})},[y]),g=function(){var x=xe(r.current.keys());return l.length&&x.push(jb),x},b=c.useCallback(function(C){var x="".concat(r.current.get(C)).concat(Q2),S=new Set;return xe(o.current.keys()).forEach(function(w){w.startsWith(x)&&S.add(o.current.get(w))}),S},[]);return c.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:v,unregisterPath:p,refreshOverflowKeys:m,isSubPathKey:h,getKeyPath:y,getKeys:g,getSubPathKeys:b}}function ks(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i1&&(b.motionAppear=!1);var C=b.onVisibleChanged;return b.onVisibleChanged=function(x){return!v.current&&!x&&h(!0),C==null?void 0:C(x)},y?null:c.createElement(Xd,{mode:a,locked:!v.current},c.createElement(er,be({visible:g},b,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(x){var S=x.className,w=x.style;return c.createElement(Z2,{id:t,className:S,style:w},o)}))}var PX=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],OX=["active"],MX=function(t){var n,r=t.style,o=t.className,a=t.title,i=t.eventKey;t.warnKey;var l=t.disabled,s=t.internalPopupClose,u=t.children,d=t.itemIcon,f=t.expandIcon,v=t.popupClassName,p=t.popupOffset,m=t.onClick,y=t.onMouseEnter,h=t.onMouseLeave,g=t.onTitleClick,b=t.onTitleMouseEnter,C=t.onTitleMouseLeave,x=Oe(t,PX),S=lN(i),w=c.useContext(pa),$=w.prefixCls,O=w.mode,P=w.openKeys,R=w.disabled,T=w.overflowDisabled,N=w.activeKey,M=w.selectedKeys,I=w.itemIcon,_=w.expandIcon,k=w.onItemClick,F=w.onOpenChange,D=w.onActive,j=c.useContext(q2),H=j._internalRenderSubMenuItem,z=c.useContext(uN),B=z.isSubPathKey,V=Zc(),K="".concat($,"-submenu"),W=R||l,Y=c.useRef(),X=c.useRef(),Q=d||I,ae=f||_,ee=P.includes(i),q=!T&&ee,re=B(M,i),te=vN(i,W,b,C),J=te.active,ne=Oe(te,OX),oe=c.useState(!1),le=U(oe,2),de=le[0],pe=le[1],se=function(ze){W||pe(ze)},ve=function(ze){se(!0),y==null||y({key:i,domEvent:ze})},he=function(ze){se(!1),h==null||h({key:i,domEvent:ze})},ce=c.useMemo(function(){return J||(O!=="inline"?de||B([N],i):!1)},[O,J,N,de,i,B]),ie=pN(V.length),fe=function(ze){W||(g==null||g({key:i,domEvent:ze}),O==="inline"&&F(i,!ee))},me=ks(function(Ie){m==null||m(Sm(Ie)),k(Ie)}),Ce=function(ze){O!=="inline"&&F(i,ze)},ye=function(){D(i)},Ne=S&&"".concat(S,"-popup"),_e=c.createElement("div",be({role:"menuitem",style:ie,className:"".concat(K,"-title"),tabIndex:W?null:-1,ref:Y,title:typeof a=="string"?a:null,"data-menu-id":T&&S?null:S,"aria-expanded":q,"aria-haspopup":!0,"aria-controls":Ne,"aria-disabled":W,onClick:fe,onFocus:ye},ne),a,c.createElement(mN,{icon:O!=="horizontal"?ae:null,props:E(E({},t),{},{isOpen:q,isSubMenu:!0})},c.createElement("i",{className:"".concat(K,"-arrow")}))),Ue=c.useRef(O);if(O!=="inline"&&V.length>1?Ue.current="vertical":Ue.current=O,!T){var Ge=Ue.current;_e=c.createElement($X,{mode:Ge,prefixCls:K,visible:!s&&q&&O!=="inline",popupClassName:v,popupOffset:p,popup:c.createElement(Xd,{mode:Ge==="horizontal"?"vertical":Ge},c.createElement(Z2,{id:Ne,ref:X},u)),disabled:W,onVisibleChange:Ce},_e)}var $e=c.createElement(Ia.Item,be({role:"none"},x,{component:"li",style:r,className:G(K,"".concat(K,"-").concat(O),o,(n={},A(n,"".concat(K,"-open"),q),A(n,"".concat(K,"-active"),ce),A(n,"".concat(K,"-selected"),re),A(n,"".concat(K,"-disabled"),W),n)),onMouseEnter:ve,onMouseLeave:he}),_e,!T&&c.createElement(EX,{id:Ne,open:q,keyPath:V},u));return H&&($e=H($e,t,{selected:re,active:ce,open:q,disabled:W})),c.createElement(Xd,{onItemClick:me,mode:O==="horizontal"?"vertical":O,itemIcon:Q,expandIcon:ae},$e)};function sg(e){var t=e.eventKey,n=e.children,r=Zc(t),o=J2(n,r),a=lg();c.useEffect(function(){if(a)return a.registerPath(t,r),function(){a.unregisterPath(t,r)}},[r]);var i;return a?i=o:i=c.createElement(MX,e,o),c.createElement(cN.Provider,{value:r},i)}var RX=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],$s=[],IX=c.forwardRef(function(e,t){var n,r,o=e,a=o.prefixCls,i=a===void 0?"rc-menu":a,l=o.rootClassName,s=o.style,u=o.className,d=o.tabIndex,f=d===void 0?0:d,v=o.items,p=o.children,m=o.direction,y=o.id,h=o.mode,g=h===void 0?"vertical":h,b=o.inlineCollapsed,C=o.disabled,x=o.disabledOverflow,S=o.subMenuOpenDelay,w=S===void 0?.1:S,$=o.subMenuCloseDelay,O=$===void 0?.1:$,P=o.forceSubMenuRender,R=o.defaultOpenKeys,T=o.openKeys,N=o.activeKey,M=o.defaultActiveFirst,I=o.selectable,_=I===void 0?!0:I,k=o.multiple,F=k===void 0?!1:k,D=o.defaultSelectedKeys,j=o.selectedKeys,H=o.onSelect,z=o.onDeselect,B=o.inlineIndent,V=B===void 0?24:B,K=o.motion,W=o.defaultMotions,Y=o.triggerSubMenuAction,X=Y===void 0?"hover":Y,Q=o.builtinPlacements,ae=o.itemIcon,ee=o.expandIcon,q=o.overflowedIndicator,re=q===void 0?"...":q,te=o.overflowedIndicatorPopupClassName,J=o.getPopupContainer,ne=o.onClick,oe=o.onOpenChange,le=o.onKeyDown;o.openAnimation,o.openTransitionName;var de=o._internalRenderMenuItem,pe=o._internalRenderSubMenuItem,se=Oe(o,RX),ve=c.useMemo(function(){return CX(p,v,$s)},[p,v]),he=c.useState(!1),ce=U(he,2),ie=ce[0],fe=ce[1],me=c.useRef(),Ce=cX(y),ye=m==="rtl",Ne=bt(R,{value:T,postState:function(We){return We||$s}}),_e=U(Ne,2),Ue=_e[0],Ge=_e[1],$e=function(We){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Dt(){Ge(We),oe==null||oe(We)}$t?Jl.flushSync(Dt):Dt()},Ie=c.useState(Ue),ze=U(Ie,2),gt=ze[0],ft=ze[1],Ct=c.useRef(!1),Ee=c.useMemo(function(){return(g==="inline"||g==="vertical")&&b?["vertical",b]:[g,!1]},[g,b]),Se=U(Ee,2),ke=Se[0],De=Se[1],He=ke==="inline",Me=c.useState(ke),yt=U(Me,2),ot=yt[0],ge=yt[1],Re=c.useState(De),we=U(Re,2),Le=we[0],Je=we[1];c.useEffect(function(){ge(ke),Je(De),Ct.current&&(He?Ge(gt):$e($s))},[ke,De]);var ct=c.useState(0),xt=U(ct,2),lt=xt[0],Te=xt[1],Ve=lt>=ve.length-1||ot!=="horizontal"||x;c.useEffect(function(){He&&ft(Ue)},[Ue]),c.useEffect(function(){return Ct.current=!0,function(){Ct.current=!1}},[]);var qe=lX(),Be=qe.registerPath,Fe=qe.unregisterPath,Ze=qe.refreshOverflowKeys,Ye=qe.isSubPathKey,ut=qe.getKeyPath,at=qe.getKeys,et=qe.getSubPathKeys,tt=c.useMemo(function(){return{registerPath:Be,unregisterPath:Fe}},[Be,Fe]),dt=c.useMemo(function(){return{isSubPathKey:Ye}},[Ye]);c.useEffect(function(){Ze(Ve?$s:ve.slice(lt+1).map(function(it){return it.key}))},[lt,Ve]);var Et=bt(N||M&&((n=ve[0])===null||n===void 0?void 0:n.key),{value:N}),_t=U(Et,2),pn=_t[0],wt=_t[1],Xe=ks(function(it){wt(it)}),Vt=ks(function(){wt(void 0)});c.useImperativeHandle(t,function(){return{list:me.current,focus:function(We){var $t,Dt=pn??(($t=ve.find(function(Pe){return!Pe.props.disabled}))===null||$t===void 0?void 0:$t.key);if(Dt){var Nt,Gt,yn;(Nt=me.current)===null||Nt===void 0||(Gt=Nt.querySelector("li[data-menu-id='".concat(X2(Ce,Dt),"']")))===null||Gt===void 0||(yn=Gt.focus)===null||yn===void 0||yn.call(Gt,We)}}}});var Jt=bt(D||[],{value:j,postState:function(We){return Array.isArray(We)?We:We==null?$s:[We]}}),gn=U(Jt,2),nn=gn[0],_n=gn[1],xo=function(We){if(_){var $t=We.key,Dt=nn.includes($t),Nt;F?Dt?Nt=nn.filter(function(yn){return yn!==$t}):Nt=[].concat(xe(nn),[$t]):Nt=[$t],_n(Nt);var Gt=E(E({},We),{},{selectedKeys:Nt});Dt?z==null||z(Gt):H==null||H(Gt)}!F&&Ue.length&&ot!=="inline"&&$e($s)},So=ks(function(it){ne==null||ne(Sm(it)),xo(it)}),Sr=ks(function(it,We){var $t=Ue.filter(function(Nt){return Nt!==it});if(We)$t.push(it);else if(ot!=="inline"){var Dt=et(it);$t=$t.filter(function(Nt){return!Dt.has(Nt)})}Yc(Ue,$t,!0)||$e($t,!0)}),rr=ks(J),qr=function(We,$t){var Dt=$t??!Ue.includes(We);Sr(We,Dt)},Lr=oX(ot,pn,ye,Ce,me,at,ut,wt,qr,le);c.useEffect(function(){fe(!0)},[]);var Da=c.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:pe}},[de,pe]),Qr=ot!=="horizontal"||x?ve:ve.map(function(it,We){return c.createElement(Xd,{key:it.key,overflowDisabled:We>lt},it)}),wo=c.createElement(Ia,be({id:y,ref:me,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:Nf,className:G(i,"".concat(i,"-root"),"".concat(i,"-").concat(ot),u,(r={},A(r,"".concat(i,"-inline-collapsed"),Le),A(r,"".concat(i,"-rtl"),ye),r),l),dir:m,style:s,role:"menu",tabIndex:f,data:Qr,renderRawItem:function(We){return We},renderRawRest:function(We){var $t=We.length,Dt=$t?ve.slice(-$t):null;return c.createElement(sg,{eventKey:jb,title:re,disabled:Ve,internalPopupClose:$t===0,popupClassName:te},Dt)},maxCount:ot!=="horizontal"||x?Ia.INVALIDATE:Ia.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(We){Te(We)},onKeyDown:Lr},se));return c.createElement(q2.Provider,{value:Da},c.createElement(iN.Provider,{value:Ce},c.createElement(Xd,{prefixCls:i,rootClassName:l,mode:ot,openKeys:Ue,rtl:ye,disabled:C,motion:ie?K:null,defaultMotions:ie?W:null,activeKey:pn,onActive:Xe,onInactive:Vt,selectedKeys:nn,inlineIndent:V,subMenuOpenDelay:w,subMenuCloseDelay:O,forceSubMenuRender:P,builtinPlacements:Q,triggerSubMenuAction:X,getPopupContainer:rr,itemIcon:ae,expandIcon:ee,onItemClick:So,onOpenChange:Sr},c.createElement(uN.Provider,{value:dt},wo),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(sN.Provider,{value:tt},ve)))))}),NX=["className","title","eventKey","children"],TX=["children"],_X=function(t){var n=t.className,r=t.title;t.eventKey;var o=t.children,a=Oe(t,NX),i=c.useContext(pa),l=i.prefixCls,s="".concat(l,"-item-group");return c.createElement("li",be({role:"presentation"},a,{onClick:function(d){return d.stopPropagation()},className:G(s,n)}),c.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:typeof r=="string"?r:void 0},r),c.createElement("ul",{role:"group",className:"".concat(s,"-list")},o))};function cg(e){var t=e.children,n=Oe(e,TX),r=Zc(n.eventKey),o=J2(t,r),a=lg();return a?o:c.createElement(_X,On(n,["warnKey"]),o)}function eS(e){var t=e.className,n=e.style,r=c.useContext(pa),o=r.prefixCls,a=lg();return a?null:c.createElement("li",{className:G("".concat(o,"-item-divider"),t),style:n})}var Jc=IX;Jc.Item=Nf;Jc.SubMenu=sg;Jc.ItemGroup=cg;Jc.Divider=eS;var kX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const FX=kX;var gN=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:FX}))};gN.displayName="EllipsisOutlined";const tS=c.forwardRef(gN),DX=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:o,lineWidth:a,lineType:i,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${a}px ${i} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},LX=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},t3=e=>Object.assign({},Vl(e)),n3=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:o,colorGroupTitle:a,colorItemBg:i,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:d,colorActiveBarBorderSize:f,motionDurationSlow:v,motionEaseInOut:p,motionEaseOut:m,menuItemPaddingInline:y,motionDurationMid:h,colorItemTextHover:g,lineType:b,colorSplit:C,colorItemTextDisabled:x,colorDangerItemText:S,colorDangerItemTextHover:w,colorDangerItemTextSelected:$,colorDangerItemBgActive:O,colorDangerItemBgSelected:P,colorItemBgHover:R,menuSubMenuBg:T,colorItemTextSelectedHorizontal:N,colorItemBgSelectedHorizontal:M}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:i,[`&${n}-root:focus-visible`]:Object.assign({},t3(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:g}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:w}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:$},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:P}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},t3(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:T},[`&${n}-popup > ${n}`]:{backgroundColor:i},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:y,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${v} ${p}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:M,"&::after":{borderBottomWidth:u,borderBottomColor:N}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${b} ${C}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:f&&d?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${m}`,`opacity ${h} ${m}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:$}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${p}`,`opacity ${h} ${p}`].join(",")}}}}}},r3=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:a,marginXS:i,marginXXS:l}=e,s=o+a+i;return{[`${t}-item`]:{position:"relative","&:not(:last-child)":{marginBottom:i}},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:s}}},AX=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:o,dropdownWidth:a,controlHeightLG:i,motionDurationMid:l,motionEaseOut:s,paddingXL:u,fontSizeSM:d,fontSizeLG:f,motionDurationSlow:v,paddingXS:p,boxShadowSecondary:m}=e,y={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},r3(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},r3(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${i*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${v}`,`background ${v}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d}px)`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:f,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},ua),{paddingInline:p})}}]},o3=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:o,motionEaseInOut:a,motionEaseOut:i,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${a}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${o} ${i}`,`margin ${r} ${a}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${r} ${a}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Sf()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},a3=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.15,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${i})`},"&::after":{transform:`rotate(-45deg) translateY(${i})`}}}}},jX=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:i,lineHeight:l,paddingXS:s,padding:u,colorSplit:d,lineWidth:f,zIndexPopup:v,borderRadiusLG:p,radiusSubMenuItem:m,menuArrowSize:y,menuArrowOffset:h,lineType:g,menuPanelMaskInset:b}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},fb()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),fb()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:r,lineHeight:l,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:g,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),o3(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:v,background:"transparent",borderRadius:p,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},o3(e)),a3(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${i}`}})}}),a3(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${y*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},zX=(e,t)=>Ut("Menu",(r,o)=>{let{overrideComponentToken:a}=o;if(t===!1)return[];const{colorBgElevated:i,colorPrimary:l,colorError:s,colorErrorHover:u,colorTextLightSolid:d,controlHeightLG:f,fontSize:v}=r,p=v/7*5,m=St(r,{menuItemHeight:f,menuItemPaddingInline:r.margin,menuArrowSize:p,menuHorizontalHeight:f*1.15,menuArrowOffset:`${p*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:i}),y=new Yt(d).setAlpha(.65).toRgbString(),h=St(m,{colorItemText:y,colorItemTextHover:d,colorGroupTitle:y,colorItemTextSelected:d,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Yt(d).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:d,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:d,colorItemBgSelectedHorizontal:l},Object.assign({},a));return[jX(m),DX(m),AX(m),n3(m,"light"),n3(h,"dark"),LX(m),iI(m),Ta(m,"slide-up"),Ta(m,"slide-down"),Ef(m,"zoom-big")]},r=>{const{colorPrimary:o,colorError:a,colorTextDisabled:i,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:v,lineWidth:p,lineWidthBold:m,controlItemBgActive:y,colorBgTextHover:h}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:o,colorGroupTitle:u,colorItemTextSelected:o,colorItemTextSelectedHorizontal:o,colorItemBg:d,colorItemBgHover:h,colorItemBgActive:v,colorSubItemBg:f,colorItemBgSelected:y,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:m,colorActiveBarBorderSize:p,colorItemTextDisabled:i,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:r.marginXXS}})(e);var HX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{children:t}=e,n=HX(e,["children"]),r=c.useContext(wm),o=c.useMemo(()=>Object.assign(Object.assign({},r),n),[r,n.prefixCls,n.mode,n.selectable]);return c.createElement(wm.Provider,{value:o},t)};var VX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,dashed:r}=e,o=VX(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=c.useContext(rt),i=a("menu",t),l=G({[`${i}-item-divider-dashed`]:!!r},n);return c.createElement(eS,Object.assign({className:l},o))},yN=WX;var KX={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const UX=KX;var bN=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:UX}))};bN.displayName="BarsOutlined";const YX=c.forwardRef(bN);var GX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const XX=GX;var CN=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:XX}))};CN.displayName="LeftOutlined";const $m=c.forwardRef(CN),qX=e=>!isNaN(parseFloat(e))&&isFinite(e),QX=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:o}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:o,background:n},[`${t}-sider-zero-width-trigger`]:{color:o,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},ZX=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:o,colorBgHeader:a,colorBgBody:i,colorBgTrigger:l,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:d,layoutFooterPadding:f,layoutTriggerHeight:v,layoutZeroTriggerSize:p,motionDurationMid:m,motionDurationSlow:y,fontSize:h,borderRadius:g}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:i,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:a,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:v},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:v,color:o,lineHeight:`${v}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-p,zIndex:1,width:p,height:p,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:a,borderStartStartRadius:0,borderStartEndRadius:g,borderEndEndRadius:g,borderEndStartRadius:0,cursor:"pointer",transition:`background ${y} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${y}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-p,borderStartStartRadius:g,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:g}}}}},QX(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,paddingInline:u,color:d,lineHeight:`${s}px`,background:a,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:f,color:r,fontSize:h,background:i},[`${n}-content`]:{flex:"auto",minHeight:0}}},xN=Ut("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:o,marginXXS:a}=e,i=o*1.25,l=St(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:i,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${i}px`,layoutTriggerHeight:o+a*2,layoutZeroTriggerSize:o});return[ZX(l)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}});var SN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);onull,removeSider:()=>null}});function ug(e){let{suffixCls:t,tagName:n,displayName:r}=e;return o=>c.forwardRef((i,l)=>c.createElement(o,Object.assign({ref:l,suffixCls:t,tagName:n},i)))}const nS=c.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:o,tagName:a}=e,i=SN(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=c.useContext(rt),s=l("layout",n),[u,d]=xN(s),f=r?`${s}-${r}`:s;return u(c.createElement(a,Object.assign({className:G(n||f,o,d),ref:t},i)))}),JX=c.forwardRef((e,t)=>{const{direction:n}=c.useContext(rt),[r,o]=c.useState([]),{prefixCls:a,className:i,rootClassName:l,children:s,hasSider:u,tagName:d}=e,f=SN(e,["prefixCls","className","rootClassName","children","hasSider","tagName"]),v=On(f,["suffixCls"]),{getPrefixCls:p}=c.useContext(rt),m=p("layout",a),[y,h]=xN(m),g=G(m,{[`${m}-has-sider`]:typeof u=="boolean"?u:r.length>0,[`${m}-rtl`]:n==="rtl"},i,l,h),b=c.useMemo(()=>({siderHook:{addSider:C=>{o(x=>[].concat(xe(x),[C]))},removeSider:C=>{o(x=>x.filter(S=>S!==C))}}}),[]);return y(c.createElement(wN.Provider,{value:b},c.createElement(d,Object.assign({ref:t,className:g},v),s)))}),eq=ug({tagName:"section",displayName:"Layout"})(JX),tq=ug({suffixCls:"header",tagName:"header",displayName:"Header"})(nS),nq=ug({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(nS),rq=ug({suffixCls:"content",tagName:"main",displayName:"Content"})(nS),oq=eq;var aq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),lq=c.forwardRef((e,t)=>{var{prefixCls:n,className:r,trigger:o,children:a,defaultCollapsed:i=!1,theme:l="dark",style:s={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:v=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:y,onBreakpoint:h}=e,g=aq(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]);const{siderHook:b}=c.useContext(wN),[C,x]=c.useState("collapsed"in g?g.collapsed:i),[S,w]=c.useState(!1);c.useEffect(()=>{"collapsed"in g&&x(g.collapsed)},[g.collapsed]);const $=(M,I)=>{"collapsed"in g||x(M),y==null||y(M,I)},O=c.useRef();O.current=M=>{w(M.matches),h==null||h(M.matches),C!==M.matches&&$(M.matches,"responsive")},c.useEffect(()=>{function M(_){return O.current(_)}let I;if(typeof window<"u"){const{matchMedia:_}=window;if(_&&m&&m in i3){I=_(`(max-width: ${i3[m]})`);try{I.addEventListener("change",M)}catch{I.addListener(M)}M(I)}}return()=>{try{I==null||I.removeEventListener("change",M)}catch{I==null||I.removeListener(M)}}},[m]),c.useEffect(()=>{const M=iq("ant-sider-");return b.addSider(M),()=>b.removeSider(M)},[]);const P=()=>{$(!C,"clickTrigger")},{getPrefixCls:R}=c.useContext(rt),T=()=>{const M=R("layout-sider",n),I=On(g,["collapsed"]),_=C?v:f,k=qX(_)?`${_}px`:String(_),F=parseFloat(String(v||0))===0?c.createElement("span",{onClick:P,className:G(`${M}-zero-width-trigger`,`${M}-zero-width-trigger-${d?"right":"left"}`),style:p},o||c.createElement(YX,null)):null,H={expanded:d?c.createElement(Ic,null):c.createElement($m,null),collapsed:d?c.createElement($m,null):c.createElement(Ic,null)}[C?"collapsed":"expanded"],z=o!==null?F||c.createElement("div",{className:`${M}-trigger`,onClick:P,style:{width:k}},o||H):null,B=Object.assign(Object.assign({},s),{flex:`0 0 ${k}`,maxWidth:k,minWidth:k,width:k}),V=G(M,`${M}-${l}`,{[`${M}-collapsed`]:!!C,[`${M}-has-trigger`]:u&&o!==null&&!F,[`${M}-below`]:!!S,[`${M}-zero-width`]:parseFloat(k)===0},r);return c.createElement("aside",Object.assign({className:V},I,{style:B,ref:t}),c.createElement("div",{className:`${M}-children`},a),u||S&&F?z:null)},N=c.useMemo(()=>({siderCollapsed:C}),[C]);return c.createElement(rS.Provider,{value:N},T())}),sq=lq,cq=c.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Em=cq,uq=e=>{var t;const{className:n,children:r,icon:o,title:a,danger:i}=e,{prefixCls:l,firstLevel:s,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=c.useContext(Em),v=b=>{const C=c.createElement("span",{className:`${l}-title-content`},r);return(!o||Ho(r)&&r.type==="span")&&r&&b&&s&&typeof r=="string"?c.createElement("div",{className:`${l}-inline-collapsed-noicon`},r.charAt(0)):C},{siderCollapsed:p}=c.useContext(rS);let m=a;typeof a>"u"?m=s?r:"":a===!1&&(m="");const y={title:m};!p&&!f&&(y.title=null,y.open=!1);const h=kr(r).length;let g=c.createElement(Nf,Object.assign({},On(e,["title","icon","danger"]),{className:G({[`${l}-item-danger`]:i,[`${l}-item-only-child`]:(o?h+1:h)===1},n),title:typeof a=="string"?a:void 0}),Yn(o,{className:G(Ho(o)?(t=o.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),v(f));return d||(g=c.createElement(rl,Object.assign({},y,{placement:u==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`}),g)),g},$N=uq,dq=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:a}=e,i=c.useContext(Em),{prefixCls:l,inlineCollapsed:s,theme:u,mode:d}=i,f=Zc();let v;if(!r)v=s&&!f.length&&o&&typeof o=="string"?c.createElement("div",{className:`${l}-inline-collapsed-noicon`},o.charAt(0)):c.createElement("span",{className:`${l}-title-content`},o);else{const y=Ho(o)&&o.type==="span";v=c.createElement(c.Fragment,null,Yn(r,{className:G(Ho(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),y?o:c.createElement("span",{className:`${l}-title-content`},o))}const p=c.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),m=d==="horizontal"?[0,8]:[10,0];return c.createElement(Em.Provider,{value:p},c.createElement(sg,Object.assign({popupOffset:m},On(e,["icon"]),{title:v,popupClassName:G(l,n,`${l}-${a||u}`)})))},EN=dq;var fq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(t&&typeof t=="object"){const r=t,{label:o,children:a,key:i,type:l}=r,s=fq(r,["label","children","key","type"]),u=i??`tmp-${n}`;return a||l==="group"?l==="group"?c.createElement(cg,Object.assign({key:u},s,{title:o}),Hb(a)):c.createElement(EN,Object.assign({key:u},s,{title:o}),Hb(a)):l==="divider"?c.createElement(yN,Object.assign({key:u},s)):c.createElement($N,Object.assign({key:u},s),o)}return null}).filter(t=>t)}function vq(e){return c.useMemo(()=>e&&Hb(e),[e])}var pq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const o=c.useContext(wm),a=o||{},{getPrefixCls:i,getPopupContainer:l,direction:s}=c.useContext(rt),u=i(),{prefixCls:d,className:f,theme:v="light",expandIcon:p,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:y,siderCollapsed:h,items:g,children:b,rootClassName:C,mode:x,selectable:S,onClick:w}=e,$=pq(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick"]),O=On($,["collapsedWidth"]),P=vq(g)||b;(n=a.validator)===null||n===void 0||n.call(a,{mode:x});const R=ao(function(){var z;w==null||w.apply(void 0,arguments),(z=a.onClick)===null||z===void 0||z.call(a)}),T=a.mode||x,N=S??a.selectable,M=c.useMemo(()=>h!==void 0?h:y,[y,h]),I={horizontal:{motionName:`${u}-slide-up`},inline:Ob(u),other:{motionName:`${u}-zoom-big`}},_=i("menu",d||a.prefixCls),[k,F]=zX(_,!o),D=G(`${_}-${v}`,f);let j;if(typeof p=="function")j=p;else{const z=p||a.expandIcon;j=Yn(z,{className:G(`${_}-submenu-expand-icon`,(r=z==null?void 0:z.props)===null||r===void 0?void 0:r.className)})}const H=c.useMemo(()=>({prefixCls:_,inlineCollapsed:M||!1,direction:s,firstLevel:!0,theme:v,mode:T,disableMenuItemTitleTooltip:m}),[_,M,s,m,v]);return k(c.createElement(wm.Provider,{value:null},c.createElement(Em.Provider,{value:H},c.createElement(Jc,Object.assign({getPopupContainer:l,overflowedIndicator:c.createElement(tS,null),overflowedIndicatorPopupClassName:`${_}-${v}`,mode:T,selectable:N,onClick:R},O,{inlineCollapsed:M,className:D,prefixCls:_,direction:s,defaultMotions:I,expandIcon:j,ref:t,rootClassName:G(C,F)}),P))))}),hq=mq,Tf=c.forwardRef((e,t)=>{const n=c.useRef(null),r=c.useContext(rS);return c.useImperativeHandle(t,()=>({menu:n.current,focus:o=>{var a;(a=n.current)===null||a===void 0||a.focus(o)}})),c.createElement(hq,Object.assign({ref:n},e,r))});Tf.Item=$N;Tf.SubMenu=EN;Tf.Divider=yN;Tf.ItemGroup=cg;const oS=Tf,PN=()=>{const[e,t]=c.useState(!1);return c.useEffect(()=>{t(MW())},[]),e};function gq(e){let{className:t,direction:n,index:r,marginDirection:o,children:a,split:i,wrap:l}=e;const{horizontalSize:s,verticalSize:u,latestIndex:d,supportFlexGap:f}=c.useContext(ON);let v={};return f||(n==="vertical"?r{const{getPrefixCls:t,space:n,direction:r}=c.useContext(rt),{size:o=(n==null?void 0:n.size)||"small",align:a,className:i,rootClassName:l,children:s,direction:u="horizontal",prefixCls:d,split:f,style:v,wrap:p=!1}=e,m=yq(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap"]),y=PN(),[h,g]=c.useMemo(()=>(Array.isArray(o)?o:[o,o]).map(I=>Cq(I)),[o]),b=kr(s,{keepEmpty:!0}),C=a===void 0&&u==="horizontal"?"center":a,x=t("space",d),[S,w]=XR(x),$=G(x,w,`${x}-${u}`,{[`${x}-rtl`]:r==="rtl",[`${x}-align-${C}`]:C},i,l),O=`${x}-item`,P=r==="rtl"?"marginLeft":"marginRight";let R=0;const T=b.map((I,_)=>{I!=null&&(R=_);const k=I&&I.key||`${O}-${_}`;return c.createElement(gq,{className:O,key:k,direction:u,index:_,marginDirection:P,split:f,wrap:p},I)}),N=c.useMemo(()=>({horizontalSize:h,verticalSize:g,latestIndex:R,supportFlexGap:y}),[h,g,R,y]);if(b.length===0)return null;const M={};return p&&(M.flexWrap="wrap",y||(M.marginBottom=-g)),y&&(M.columnGap=h,M.rowGap=g),S(c.createElement("div",Object.assign({className:$,style:Object.assign(Object.assign({},M),v)},m),c.createElement(ON.Provider,{value:N},T)))},MN=xq;MN.Compact=IV;const ol=MN,Sq=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},wq=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:a,antCls:i,iconCls:l,motionDurationMid:s,dropdownPaddingVertical:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:v,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:y}=e;return[{[t]:Object.assign(Object.assign({},At(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-o+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn > ${l}-down`]:{fontSize:p,transform:"none"},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:tg},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:rg},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:ng},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:og}})},H2(e,{colorBg:y,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:y,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Oc(e)),{[`${n}-item-group-title`]:{padding:`${u}px ${m}px`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${u}px ${m}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Oc(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:y,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:m+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:v,backgroundColor:y,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[Ta(e,"slide-up"),Ta(e,"slide-down"),Mc(e,"move-up"),Mc(e,"move-down"),Ef(e,"zoom-big")]]},RN=Ut("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:o,controlHeight:a,fontSize:i,lineHeight:l,paddingXXS:s,componentCls:u,borderRadiusLG:d}=e,f=(a-i*l)/2,{dropdownArrowOffset:v}=z2({contentRadius:d}),p=St(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:o/2+r,dropdownArrowOffset:v,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[wq(p),Sq(p)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var $q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPopupContainer:t,getPrefixCls:n,direction:r}=c.useContext(rt),{prefixCls:o,type:a="default",danger:i,disabled:l,loading:s,onClick:u,htmlType:d,children:f,className:v,menu:p,arrow:m,autoFocus:y,overlay:h,trigger:g,align:b,open:C,onOpenChange:x,placement:S,getPopupContainer:w,href:$,icon:O=c.createElement(tS,null),title:P,buttonsRender:R=ee=>ee,mouseEnterDelay:T,mouseLeaveDelay:N,overlayClassName:M,overlayStyle:I,destroyPopupOnHide:_,dropdownRender:k}=e,F=$q(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),D=n("dropdown",o),j=`${D}-button`,[H,z]=RN(D),B={menu:p,arrow:m,autoFocus:y,align:b,disabled:l,trigger:l?[]:g,onOpenChange:x,getPopupContainer:w||t,mouseEnterDelay:T,mouseLeaveDelay:N,overlayClassName:M,overlayStyle:I,destroyPopupOnHide:_,dropdownRender:k},{compactSize:V,compactItemClassnames:K}=ka(D,r),W=G(j,K,v,z);"overlay"in e&&(B.overlay=h),"open"in e&&(B.open=C),"placement"in e?B.placement=S:B.placement=r==="rtl"?"bottomLeft":"bottomRight";const Y=c.createElement(li,{type:a,danger:i,disabled:l,loading:s,onClick:u,htmlType:d,href:$,title:P},f),X=c.createElement(li,{type:a,danger:i,icon:O}),[Q,ae]=R([Y,X]);return H(c.createElement(ol.Compact,Object.assign({className:W,size:V,block:!0},F),Q,c.createElement(NN,Object.assign({},B),ae)))};IN.__ANT_BUTTON=!0;const Eq=IN,dg=e=>{const{menu:t,arrow:n,prefixCls:r,children:o,trigger:a,disabled:i,dropdownRender:l,getPopupContainer:s,overlayClassName:u,rootClassName:d,open:f,onOpenChange:v,visible:p,onVisibleChange:m,mouseEnterDelay:y=.15,mouseLeaveDelay:h=.1,autoAdjustOverflow:g=!0,placement:b="",overlay:C,transitionName:x}=e,{getPopupContainer:S,getPrefixCls:w,direction:$}=c.useContext(rt),O=c.useMemo(()=>{const W=w();return x!==void 0?x:b.includes("top")?`${W}-slide-down`:`${W}-slide-up`},[w,b,x]),P=c.useMemo(()=>b?b.includes("Center")?b.slice(0,b.indexOf("Center")):b:$==="rtl"?"bottomRight":"bottomLeft",[b,$]),R=w("dropdown",r),[T,N]=RN(R),{token:M}=No.useToken(),I=c.Children.only(o),_=Yn(I,{className:G(`${R}-trigger`,{[`${R}-rtl`]:$==="rtl"},I.props.className),disabled:i}),k=i?[]:a;let F;k&&k.includes("contextMenu")&&(F=!0);const[D,j]=bt(!1,{value:f??p}),H=ao(W=>{v==null||v(W),m==null||m(W),j(W)}),z=G(u,d,N,{[`${R}-rtl`]:$==="rtl"}),B=kI({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:g,offset:M.marginXXS,arrowWidth:n?M.sizePopupArrow:0,borderRadius:M.borderRadius}),V=c.useCallback(()=>{j(!1)},[]),K=()=>{let W;return t!=null&&t.items?W=c.createElement(oS,Object.assign({},t)):typeof C=="function"?W=C():W=C,l&&(W=l(W)),W=c.Children.only(typeof W=="string"?c.createElement("span",null,W):W),c.createElement(BX,{prefixCls:`${R}-menu`,expandIcon:c.createElement("span",{className:`${R}-menu-submenu-arrow`},c.createElement(Ic,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:V,validator:Y=>{}},c.createElement(Wl,null,W))};return T(c.createElement(aN,Object.assign({alignPoint:F},On(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:h,visible:D,builtinPlacements:B,arrow:!!n,overlayClassName:z,prefixCls:R,getPopupContainer:s||S,transitionName:O,trigger:k,overlay:K,placement:P,onVisibleChange:H}),_))};dg.Button=Eq;const Pq=rs(dg,"dropdown",e=>e),Oq=e=>c.createElement(Pq,Object.assign({},e),c.createElement("span",null));dg._InternalPanelDoNotUseOrYouWillBeFired=Oq;const NN=dg;var TN={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){var n=1e3,r=6e4,o=36e5,a="millisecond",i="second",l="minute",s="hour",u="day",d="week",f="month",v="quarter",p="year",m="date",y="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var I=["th","st","nd","rd"],_=M%100;return"["+M+(I[(_-20)%10]||I[_]||I[0])+"]"}},C=function(M,I,_){var k=String(M);return!k||k.length>=I?M:""+Array(I+1-k.length).join(_)+M},x={s:C,z:function(M){var I=-M.utcOffset(),_=Math.abs(I),k=Math.floor(_/60),F=_%60;return(I<=0?"+":"-")+C(k,2,"0")+":"+C(F,2,"0")},m:function M(I,_){if(I.date()<_.date())return-M(_,I);var k=12*(_.year()-I.year())+(_.month()-I.month()),F=I.clone().add(k,f),D=_-F<0,j=I.clone().add(k+(D?-1:1),f);return+(-(k+(_-F)/(D?F-j:j-F))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:p,w:d,d:u,D:m,h:s,m:l,s:i,ms:a,Q:v}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},S="en",w={};w[S]=b;var $=function(M){return M instanceof T},O=function M(I,_,k){var F;if(!I)return S;if(typeof I=="string"){var D=I.toLowerCase();w[D]&&(F=D),_&&(w[D]=_,F=D);var j=I.split("-");if(!F&&j.length>1)return M(j[0])}else{var H=I.name;w[H]=I,F=H}return!k&&F&&(S=F),F||!k&&S},P=function(M,I){if($(M))return M.clone();var _=typeof I=="object"?I:{};return _.date=M,_.args=arguments,new T(_)},R=x;R.l=O,R.i=$,R.w=function(M,I){return P(M,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var T=function(){function M(_){this.$L=O(_.locale,null,!0),this.parse(_)}var I=M.prototype;return I.parse=function(_){this.$d=function(k){var F=k.date,D=k.utc;if(F===null)return new Date(NaN);if(R.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var j=F.match(h);if(j){var H=j[2]-1||0,z=(j[7]||"0").substring(0,3);return D?new Date(Date.UTC(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,z)):new Date(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,z)}}return new Date(F)}(_),this.$x=_.x||{},this.init()},I.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},I.$utils=function(){return R},I.isValid=function(){return this.$d.toString()!==y},I.isSame=function(_,k){var F=P(_);return this.startOf(k)<=F&&F<=this.endOf(k)},I.isAfter=function(_,k){return P(_)25){var d=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(d.isBefore(f))return 1}var v=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),p=this.diff(v,n,!0);return p<0?i(this).startOf("week").week():Math.ceil(p)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(LN);var Nq=LN.exports;const aS=nr(Nq);var AN={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){return function(n,r){r.prototype.weekYear=function(){var o=this.month(),a=this.week(),i=this.year();return a===1&&o===11?i+1:o===0&&a>=52?i-1:i}}})})(AN);var Tq=AN.exports;const _q=nr(Tq);var jN={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){return function(n,r){var o=r.prototype,a=o.format;o.format=function(i){var l=this,s=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return a.bind(this)(d)}}})})(jN);var kq=jN.exports;const zN=nr(kq);var HN={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){var n={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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,a=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,l={},s=function(y){return(y=+y)+(y>68?1900:2e3)},u=function(y){return function(h){this[y]=+h}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var g=h.match(/([+-]|\d\d)/g),b=60*g[1]+(+g[2]||0);return b===0?0:g[0]==="+"?-b:b}(y)}],f=function(y){var h=l[y];return h&&(h.indexOf?h:h.s.concat(h.f))},v=function(y,h){var g,b=l.meridiem;if(b){for(var C=1;C<=24;C+=1)if(y.indexOf(b(C,0,h))>-1){g=C>12;break}}else g=y===(h?"pm":"PM");return g},p={A:[i,function(y){this.afternoon=v(y,!1)}],a:[i,function(y){this.afternoon=v(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[o,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[a,u("seconds")],ss:[a,u("seconds")],m:[a,u("minutes")],mm:[a,u("minutes")],H:[a,u("hours")],h:[a,u("hours")],HH:[a,u("hours")],hh:[a,u("hours")],D:[a,u("day")],DD:[o,u("day")],Do:[i,function(y){var h=l.ordinal,g=y.match(/\d+/);if(this.day=g[0],h)for(var b=1;b<=31;b+=1)h(b).replace(/\[|\]/g,"")===y&&(this.day=b)}],M:[a,u("month")],MM:[o,u("month")],MMM:[i,function(y){var h=f("months"),g=(f("monthsShort")||h.map(function(b){return b.slice(0,3)})).indexOf(y)+1;if(g<1)throw new Error;this.month=g%12||g}],MMMM:[i,function(y){var h=f("months").indexOf(y)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(y){this.year=s(y)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function m(y){var h,g;h=y,g=l&&l.formats;for(var b=(y=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,R,T){var N=T&&T.toUpperCase();return R||g[T]||n[T]||g[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,I,_){return I||_.slice(1)})})).match(r),C=b.length,x=0;x-1)return new Date((F==="X"?1e3:1)*k);var j=m(F)(k),H=j.year,z=j.month,B=j.day,V=j.hours,K=j.minutes,W=j.seconds,Y=j.milliseconds,X=j.zone,Q=new Date,ae=B||(H||z?1:Q.getDate()),ee=H||Q.getFullYear(),q=0;H&&!z||(q=z>0?z-1:Q.getMonth());var re=V||0,te=K||0,J=W||0,ne=Y||0;return X?new Date(Date.UTC(ee,q,ae,re,te,J,ne+60*X.offset*1e3)):D?new Date(Date.UTC(ee,q,ae,re,te,J,ne)):new Date(ee,q,ae,re,te,J,ne)}catch{return new Date("")}}(S,O,w),this.init(),N&&N!==!0&&(this.$L=this.locale(N).$L),T&&S!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var M=O.length,I=1;I<=M;I+=1){$[1]=O[I-1];var _=g.apply(this,$);if(_.isValid()){this.$d=_.$d,this.$L=_.$L,this.init();break}I===M&&(this.$d=new Date(""))}else C.call(this,x)}}})})(HN);var Fq=HN.exports;const BN=nr(Fq);Rt.extend(BN);Rt.extend(zN);Rt.extend(kN);Rt.extend(DN);Rt.extend(aS);Rt.extend(_q);Rt.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(a){var i=(a||"").replace("Wo","wo");return r.bind(this)(i)}});var Dq={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},fl=function(t){var n=Dq[t];return n||t.split("_")[0]},l3=function(){zl(!1,"Not match any format. Please help to fire a issue about this.")},Lq={getNow:function(){return Rt()},getFixedDate:function(t){return Rt(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Rt().locale(fl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(fl(t)).weekday(0)},getWeek:function(t,n){return n.locale(fl(t)).week()},getShortWeekDays:function(t){return Rt().locale(fl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Rt().locale(fl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(fl(t)).format(r)},parse:function(t,n,r){for(var o=fl(t),a=0;a1&&(i=t.addDate(i,-7)),i}function pd(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function mr(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return typeof o=="function"?o(e):n.locale.format(r.locale,e,o)}function XN(e,t){var n=t.generateConfig,r=t.locale,o=t.formatList;return!e||typeof o[0]=="function"?null:n.locale.parse(r.locale,e,o)}function Pm(e){var t=e.cellDate,n=e.mode,r=e.disabledDate,o=e.generateConfig;if(!r)return!1;var a=function(m,y,h){for(var g=y;g<=h;){var b=void 0;switch(m){case"date":{if(b=o.setDate(t,g),!r(b))return!1;break}case"month":{if(b=o.setMonth(t,g),!Pm({cellDate:b,mode:"month",generateConfig:o,disabledDate:r}))return!1;break}case"year":{if(b=o.setYear(t,g),!Pm({cellDate:b,mode:"year",generateConfig:o,disabledDate:r}))return!1;break}}g+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{var i=1,l=o.getDate(o.getEndDate(t));return a("date",i,l)}case"quarter":{var s=Math.floor(o.getMonth(t)/3)*3,u=s+2;return a("month",s,u)}case"year":return a("month",0,11);case"decade":{var d=o.getYear(t),f=Math.floor(d/ia)*ia,v=f+ia-1;return a("year",f,v)}}}function Om(e,t){var n=t.formatList,r=t.generateConfig,o=t.locale;return tl(function(){if(!e)return[[""],""];for(var a="",i=[],l=0;l1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(u.current),g){s(h);return}u.current=requestAnimationFrame(function(){s(h)})}var f=Om(l,{formatList:n,generateConfig:r,locale:o}),v=U(f,2),p=v[1];function m(h){d(h)}function y(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;d(null,h)}return c.useEffect(function(){y(!0)},[e]),c.useEffect(function(){return function(){return cancelAnimationFrame(u.current)}},[]),[p,m,y]}function Ub(e){var t=e.open,n=e.value,r=e.isClickOutside,o=e.triggerOpen,a=e.forwardKeyDown,i=e.onKeyDown,l=e.blurToCancel,s=e.onSubmit,u=e.onCancel,d=e.onFocus,f=e.onBlur,v=c.useState(!1),p=U(v,2),m=p[0],y=p[1],h=c.useState(!1),g=U(h,2),b=g[0],C=g[1],x=c.useRef(!1),S=c.useRef(!1),w=c.useRef(!1),$={onMouseDown:function(){y(!0),o(!0)},onKeyDown:function(P){var R=function(){w.current=!0};if(i(P,R),!w.current){switch(P.which){case ue.ENTER:{t?s()!==!1&&y(!0):o(!0),P.preventDefault();return}case ue.TAB:{m&&t&&!P.shiftKey?(y(!1),P.preventDefault()):!m&&t&&!a(P)&&P.shiftKey&&(y(!0),P.preventDefault());return}case ue.ESC:{y(!0),u();return}}!t&&![ue.SHIFT].includes(P.which)?o(!0):m||a(P)}},onFocus:function(P){y(!0),C(!0),d&&d(P)},onBlur:function(P){if(x.current||!r(document.activeElement)){x.current=!1;return}l?setTimeout(function(){for(var R=document,T=R.activeElement;T&&T.shadowRoot;)T=T.shadowRoot.activeElement;r(T)&&u()},0):t&&(o(!1),S.current&&s()),C(!1),f&&f(P)}};return c.useEffect(function(){S.current=!1},[t]),c.useEffect(function(){S.current=!0},[n]),c.useEffect(function(){return Vq(function(O){var P=Wq(O);if(t){var R=r(P);R?(!b||R)&&o(!1):(x.current=!0,requestAnimationFrame(function(){x.current=!1}))}})}),[$,{focused:b,typing:m}]}function qN(e,t){return c.useMemo(function(){if(e)return e;if(t){Kt(!1,"`ranges` is deprecated. Please use `presets` instead.");var n=Object.keys(t);return n.map(function(r){var o=t[r],a=typeof o=="function"?o():o;return{label:r,value:a}})}return[]},[e,t])}function Yb(e){var t=e.valueTexts,n=e.onTextChange,r=c.useState(""),o=U(r,2),a=o[0],i=o[1],l=c.useRef([]);l.current=t;function s(d){i(d),n(d)}function u(){i(l.current[0])}return tn(function(){t.every(function(d){return d!==a})&&u()},[t.join("||")]),[a,s,u]}function QN(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length=1?n|0:1,i=e;i<=t;i+=a)o.push({label:QN(i,2),value:i,disabled:(r||[]).includes(i)});return o}function iQ(e){var t=e.generateConfig,n=e.prefixCls,r=e.operationRef,o=e.activeColumnIndex,a=e.value,i=e.showHour,l=e.showMinute,s=e.showSecond,u=e.use12Hours,d=e.hourStep,f=d===void 0?1:d,v=e.minuteStep,p=v===void 0?1:v,m=e.secondStep,y=m===void 0?1:m,h=e.disabledHours,g=e.disabledMinutes,b=e.disabledSeconds,C=e.disabledTime,x=e.hideDisabledOptions,S=e.onSelect,w=e.cellRender,$=e.locale,O=[],P="".concat(n,"-content"),R="".concat(n,"-time-panel"),T,N=a?t.getHour(a):-1,M=N,I=a?t.getMinute(a):-1,_=a?t.getSecond(a):-1,k=t.getNow(),F=c.useMemo(function(){if(C){var J=C(k);return[J.disabledHours,J.disabledMinutes,J.disabledSeconds]}return[h,g,b]},[h,g,b,C,k]),D=U(F,3),j=D[0],H=D[1],z=D[2],B=function(ne,oe,le,de){var pe=a||t.getNow(),se=Math.max(0,oe),ve=Math.max(0,le),he=Math.max(0,de);return pe=VN(t,pe,!u||!ne?se:se+12,ve,he),pe},V=f1(0,23,f,j&&j()),K=tl(function(){return V},V,aQ);u&&(T=M>=12,M%=12);var W=c.useMemo(function(){if(!u)return[!1,!1];var J=[!0,!0];return K.forEach(function(ne){var oe=ne.disabled,le=ne.value;oe||(le>=12?J[1]=!1:J[0]=!1)}),J},[u,K]),Y=U(W,2),X=Y[0],Q=Y[1],ae=c.useMemo(function(){return u?K.filter(T?function(J){return J.value>=12}:function(J){return J.value<12}).map(function(J){var ne=J.value%12,oe=ne===0?"12":QN(ne,2);return E(E({},J),{},{label:oe,value:ne})}):K},[u,T,K]),ee=f1(0,59,p,H&&H(N)),q=f1(0,59,y,z&&z(N,I));r.current={onUpDown:function(ne){var oe=O[o];if(oe)for(var le=oe.units.findIndex(function(ve){return ve.value===oe.value}),de=oe.units.length,pe=1;pe2&&arguments[2]!==void 0?arguments[2]:!1;($e===h||qe)&&(ie(Te),O&&O(Te),q&&q(Te,Ve),P&&!Nc(s,Te,ce)&&!(p!=null&&p(Te))&&P(Te))},ke=function(Te){if(SQ.includes($e)){var Ve,qe,Be=$e==="date";switch(Te===ue.PAGE_UP||Te===ue.PAGE_DOWN?qe=Be?s.addMonth:s.addYear:qe=Be?s.addDate:s.addMonth,Te){case ue.LEFT:case ue.PAGE_UP:Ve=qe(Ce,-1);break;case ue.RIGHT:case ue.PAGE_DOWN:Ve=qe(Ce,1);break;case ue.UP:case ue.DOWN:Ve=qe(Ce,Number("".concat(Te===ue.UP?"-":"").concat(Be?vd:sS)));break}if(Ve)return!(p!=null&&p(Ve))}return!0},De=function(Te){if(pe.current&&pe.current.onKeyDown){var Ve=!0,qe=Te.which;if([ue.LEFT,ue.RIGHT,ue.UP,ue.DOWN,ue.PAGE_UP,ue.PAGE_DOWN,ue.ENTER].includes(qe)&&(Te.preventDefault(),qe!==ue.ENTER&&b===0&&(Ve=ke(qe))),Ve)return pe.current.onKeyDown(Te)}return Kt(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},He=function(Te){pe.current&&pe.current.onBlur&&pe.current.onBlur(Te)};ee&&oe!=="right"&&(ee.current={onKeyDown:De,onClose:function(){pe.current&&pe.current.onClose&&pe.current.onClose()}}),c.useEffect(function(){u&&!se.current&&ye(u)},[u]),c.useEffect(function(){se.current=!1},[]);var Me,yt=r7({cellRender:K,monthCellRender:V,dateRender:B}),ot=E(E({},e),{},{cellRender:yt,operationRef:pe,prefixCls:o,viewDate:Ce,value:ce,onViewDateChange:Ne,sourceMode:ft,onPanelChange:Ee,disabledDate:p});switch(delete ot.onChange,delete ot.onSelect,$e){case"decade":Me=c.createElement(qq,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;case"year":Me=c.createElement(xQ,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;case"month":Me=c.createElement(fQ,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;case"quarter":Me=c.createElement(gQ,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;case"week":Me=c.createElement(yQ,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;case"time":delete ot.showTime,Me=c.createElement(e7,be({},ot,Ke(x)==="object"?x:null,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}));break;default:x?Me=c.createElement(sQ,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}})):Me=c.createElement(lS,be({},ot,{onSelect:function(Te,Ve){Ne(Te),Se(Te,Ve)}}))}var ge,Re,we=function(){var Te=s.getNow(),Ve=jq(s.getHour(Te),s.getMinute(Te),s.getSecond(Te),Y?F:1,X?j:1,Q?z:1),qe=VN(s,Te,Ve[0],Ve[1],Ve[2]);Se(qe,"submit")};re||(ge=t7(o,$e,w),Re=n7({prefixCls:o,components:I,needConfirmButton:W,okDisabled:!ce||p&&p(ce),locale:l,showNow:C,onNow:W&&we,onOk:function(){ce&&(Se(ce,"submit",!0),M&&M(ce))}}));var Le;if(S&&$e==="date"&&h==="date"&&!x){var Je=s.getNow(),ct="".concat(o,"-today-btn"),xt=p&&p(Je);Le=c.createElement("a",{className:G(ct,xt&&"".concat(ct,"-disabled")),"aria-disabled":xt,onClick:function(){xt||Se(Je,"mouse",!0)}},l.today)}return c.createElement(Gr.Provider,{value:E(E({},ae),{},{mode:$e,hideHeader:"hideHeader"in e?$:ae.hideHeader,hidePrevBtn:ne&&oe==="right",hideNextBtn:ne&&oe==="left"})},c.createElement("div",{tabIndex:b,className:G("".concat(o,"-panel"),a,(t={},A(t,"".concat(o,"-panel-has-range"),le&&le[0]&&le[1]),A(t,"".concat(o,"-panel-has-range-hover"),de&&de[0]&&de[1]),A(t,"".concat(o,"-panel-rtl"),_==="rtl"),t)),style:i,onKeyDown:De,onBlur:He,onMouseDown:T},Me,ge||Re||Le?c.createElement("div",{className:"".concat(o,"-footer")},ge,Re,Le):null))}var wQ={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function a7(e){var t,n=e.prefixCls,r=e.popupElement,o=e.popupStyle,a=e.visible,i=e.dropdownClassName,l=e.dropdownAlign,s=e.transitionName,u=e.getPopupContainer,d=e.children,f=e.range,v=e.popupPlacement,p=e.direction,m="".concat(n,"-dropdown"),y=function(){return v!==void 0?v:p==="rtl"?"bottomRight":"bottomLeft"};return c.createElement($2,{showAction:[],hideAction:[],popupPlacement:y(),builtinPlacements:wQ,prefixCls:m,popupTransitionName:s,popup:r,popupAlign:l,popupVisible:a,popupClassName:G(i,(t={},A(t,"".concat(m,"-range"),f),A(t,"".concat(m,"-rtl"),p==="rtl"),t)),popupStyle:o,getPopupContainer:u},d)}function i7(e){var t=e.prefixCls,n=e.presets,r=e.onClick,o=e.onHover;return n.length?c.createElement("div",{className:"".concat(t,"-presets")},c.createElement("ul",null,n.map(function(a,i){var l=a.label,s=a.value;return c.createElement("li",{key:i,onClick:function(){r(s)},onMouseEnter:function(){o==null||o(s)},onMouseLeave:function(){o==null||o(null)}},l)}))):null}function $Q(e){var t,n=e,r=n.prefixCls,o=r===void 0?"rc-picker":r,a=n.id,i=n.tabIndex,l=n.style,s=n.className,u=n.dropdownClassName,d=n.dropdownAlign,f=n.popupStyle,v=n.transitionName,p=n.generateConfig,m=n.locale,y=n.inputReadOnly,h=n.allowClear,g=n.autoFocus,b=n.showTime,C=n.picker,x=C===void 0?"date":C,S=n.format,w=n.use12Hours,$=n.value,O=n.defaultValue,P=n.presets,R=n.open,T=n.defaultOpen,N=n.defaultOpenValue,M=n.suffixIcon,I=n.clearIcon,_=n.disabled,k=n.disabledDate,F=n.placeholder,D=n.getPopupContainer,j=n.pickerRef,H=n.panelRender,z=n.onChange,B=n.onOpenChange,V=n.onFocus,K=n.onBlur,W=n.onMouseDown,Y=n.onMouseUp,X=n.onMouseEnter,Q=n.onMouseLeave,ae=n.onContextMenu,ee=n.onClick,q=n.onKeyDown,re=n.onSelect,te=n.direction,J=n.autoComplete,ne=J===void 0?"off":J,oe=n.inputRender,le=c.useRef(null),de=x==="date"&&!!b||x==="time",pe=qN(P),se=ZN(KN(S,x,b,w)),ve=c.useRef(null),he=c.useRef(null),ce=c.useRef(null),ie=bt(null,{value:$,defaultValue:O}),fe=U(ie,2),me=fe[0],Ce=fe[1],ye=c.useState(me),Ne=U(ye,2),_e=Ne[0],Ue=Ne[1],Ge=c.useRef(null),$e=bt(!1,{value:R,defaultValue:T,postState:function(Xe){return _?!1:Xe},onChange:function(Xe){B&&B(Xe),!Xe&&Ge.current&&Ge.current.onClose&&Ge.current.onClose()}}),Ie=U($e,2),ze=Ie[0],gt=Ie[1],ft=Om(_e,{formatList:se,generateConfig:p,locale:m}),Ct=U(ft,2),Ee=Ct[0],Se=Ct[1],ke=Yb({valueTexts:Ee,onTextChange:function(Xe){var Vt=XN(Xe,{locale:m,formatList:se,generateConfig:p});Vt&&(!k||!k(Vt))&&Ue(Vt)}}),De=U(ke,3),He=De[0],Me=De[1],yt=De[2],ot=function(Xe){Ue(Xe),Ce(Xe),z&&!Nc(p,me,Xe)&&z(Xe,Xe?mr(Xe,{generateConfig:p,locale:m,format:se[0]}):"")},ge=function(Xe){_&&Xe||gt(Xe)},Re=function(Xe){return ze&&Ge.current&&Ge.current.onKeyDown?Ge.current.onKeyDown(Xe):(Kt(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},we=function(){for(var Xe=arguments.length,Vt=new Array(Xe),Jt=0;Jtp(d);case"month":return v(h)>v(d);case"week":return f(h)>f(d);default:return!Qa(s,h,d)&&s.isAfter(h,d)}return!1},[i,l[1],d,t]),y=c.useCallback(function(h){if(i&&i(h))return!0;if(l[0]&&u)return!Qa(s,h,d)&&s.isAfter(u,h);if(n&&u)switch(r){case"quarter":return p(h)0&&arguments[0]!==void 0?arguments[0]:!1,Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=null;Xe&&$o&&$o[0]&&$o[1]&&y.isAfter($o[1],$o[0])&&(mt=$o);var Wt=$;if($&&Ke($)==="object"&&$.defaultValue){var An=$.defaultValue;Wt=E(E({},$),{},{defaultValue:jt(An,Me)||void 0})}return c.createElement(as.Provider,{value:{inRange:!0,panelPosition:kt,rangedValue:Ot||Be,hoverRangedValue:mt}},c.createElement(o7,be({},e,Qe,{cellRender:Rk,showTime:Wt,mode:ut[Me],generateConfig:y,style:void 0,direction:Ce,disabledDate:Me===0?Et:_t,disabledTime:function(Go){return F?F(Go,Me===0?"start":"end"):!1},className:G(A({},"".concat(i,"-panel-focused"),Me===0?!Nw:!Fw)),value:jt(Be,Me),locale:h,tabIndex:-1,onPanelChange:function(Go,hi){Me===0&&e0(!0),Me===1&&n0(!0),et(Ro(ut,hi,Me),Ro(Be,Go,Me));var gi=Go;kt==="right"&&ut[Me]===hi&&(gi=pd(gi,hi,y,-1)),Te(gi,Me)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Me===0?jt(Be,1):jt(Be,0)})))}var mi=0,Dw=0;if(Me&&ze.current&&ft.current&&Ie.current){mi=ze.current.offsetWidth+ft.current.offsetWidth;var Nk=Se.current.offsetLeft>mi?Se.current.offsetLeft-mi:Se.current.offsetLeft,Lw=Ie.current.offsetWidth,Aw=Se.current.offsetWidth;Lw&&Aw&&mi>Lw-Aw-(Ce==="rtl"?0:Nk)&&(Dw=mi)}var Tk=Ce==="rtl"?{right:mi}:{left:mi};function _k(){var kt,Qe=t7(i,ut[Me],q),mt=n7({prefixCls:i,components:fe,needConfirmButton:Ue,okDisabled:!jt(Be,Me)||k&&k(Be[Me]),locale:h,onOk:function(){jt(Be,Me)&&(Lr(Be,Me),ce&&ce(Be))}});if(w!=="time"&&!$){var Wt=lt(Me),An=pd(Wt,w,y),us=ut[Me],Go=us===w,hi=o0(Go?"left":!1,{pickerValue:Wt,onPickerValueChange:function(dr){Te(dr,Me)}}),gi=o0("right",{pickerValue:An,onPickerValueChange:function(dr){Te(pd(dr,w,y,-1),Me)}});Ce==="rtl"?kt=c.createElement(c.Fragment,null,gi,Go&&hi):kt=c.createElement(c.Fragment,null,hi,Go&&gi)}else kt=o0();var hu=c.createElement("div",{className:"".concat(i,"-panel-layout")},c.createElement(i7,{prefixCls:i,presets:Ik,onClick:function(dr){Lr(dr,null),rr(!1,Me)},onHover:function(dr){rn(dr)}}),c.createElement("div",null,c.createElement("div",{className:"".concat(i,"-panels")},kt),(Qe||mt)&&c.createElement("div",{className:"".concat(i,"-footer")},Qe,mt)));return z&&(hu=z(hu)),c.createElement("div",{className:"".concat(i,"-panel-container"),style:{marginLeft:Dw},ref:Ie,onMouseDown:function(dr){dr.preventDefault()}},hu)}var kk=c.createElement("div",{className:G("".concat(i,"-range-wrapper"),"".concat(i,"-").concat(w,"-range-wrapper")),style:{minWidth:xo}},c.createElement("div",{ref:Se,className:"".concat(i,"-range-arrow"),style:Tk}),_k()),jw;Y&&(jw=c.createElement("span",{className:"".concat(i,"-suffix")},Y));var zw;W&&(jt(Le,0)&&!ge[0]||jt(Le,1)&&!ge[1])&&(zw=c.createElement("span",{onMouseDown:function(Qe){Qe.preventDefault(),Qe.stopPropagation()},onMouseUp:function(Qe){Qe.preventDefault(),Qe.stopPropagation();var mt=Le;ge[0]||(mt=Ro(mt,null,0)),ge[1]||(mt=Ro(mt,null,1)),Lr(mt,null),rr(!1,Me)},className:"".concat(i,"-clear")},X||c.createElement("span",{className:"".concat(i,"-clear-btn")})));var Hw={size:UN(w,ke[0],y)},a0=0,i0=0;ze.current&>.current&&ft.current&&(Me===0?i0=ze.current.offsetWidth:(a0=mi,i0=gt.current.offsetWidth));var Fk=Ce==="rtl"?{right:a0}:{left:a0},Dk=function(Qe,mt){var Wt=Ro(Be,Qe,Me);mt==="submit"||mt!=="key"&&!Ue?(Lr(Wt,Me),Me===0?e0():n0()):Fe(Wt)};return c.createElement(Gr.Provider,{value:{operationRef:ot,hideHeader:w==="time",onDateMouseEnter:bk,onDateMouseLeave:Ck,hideRanges:!0,onSelect:Dk,open:Xe}},c.createElement(a7,{visible:Xe,popupElement:kk,popupStyle:d,prefixCls:i,dropdownClassName:f,dropdownAlign:p,getPopupContainer:m,transitionName:v,range:!0,direction:Ce},c.createElement("div",be({ref:$e,className:G(i,"".concat(i,"-range"),u,(t={},A(t,"".concat(i,"-disabled"),ge[0]&&ge[1]),A(t,"".concat(i,"-focused"),Me===0?Iw:kw),A(t,"".concat(i,"-rtl"),Ce==="rtl"),t)),style:s,onClick:Ek,onMouseEnter:se,onMouseLeave:ve,onMouseDown:Pk,onMouseUp:pe},JN(e)),c.createElement("div",{className:G("".concat(i,"-input"),(n={},A(n,"".concat(i,"-input-active"),Me===0),A(n,"".concat(i,"-input-placeholder"),!!cl),n)),ref:ze},c.createElement("input",be({id:l,disabled:ge[0],readOnly:ae||typeof ke[0]=="function"||!Nw,value:cl||Vn,onChange:function(Qe){Ar(Qe.target.value)},autoFocus:b,placeholder:jt(g,0)||"",ref:Ct},Sk,Hw,{autoComplete:_e}))),c.createElement("div",{className:"".concat(i,"-range-separator"),ref:ft},R),c.createElement("div",{className:G("".concat(i,"-input"),(r={},A(r,"".concat(i,"-input-active"),Me===1),A(r,"".concat(i,"-input-placeholder"),!!Pw),r)),ref:gt},c.createElement("input",be({disabled:ge[1],readOnly:ae||typeof ke[0]=="function"||!Fw,value:Pw||sl,onChange:function(Qe){Yo(Qe.target.value)},placeholder:jt(g,1)||"",ref:Ee},$k,Hw,{autoComplete:_e}))),c.createElement("div",{className:"".concat(i,"-active-bar"),style:E(E({},Fk),{},{width:i0,position:"absolute"})}),jw,zw)))}var NQ=function(e){Bo(n,e);var t=Vo(n);function n(){var r;Fn(this,n);for(var o=arguments.length,a=new Array(o),i=0;i{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},At(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},LQ=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:o,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:l,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:d,lineWidth:f,radioDotSize:v,colorBgContainerDisabled:p,colorTextDisabled:m,paddingXS:y,radioDotDisabledColor:h,lineType:g,radioDotDisabledSize:b,wireframe:C,colorWhite:x}=e,S=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${f}px ${g} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:FQ,animationDuration:a,animationTimingFunction:l,animationFillMode:"both",content:'""'},[t]:Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, + &:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Vl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:o,height:o,marginBlockStart:o/-2,marginInlineStart:o/-2,backgroundColor:C?r:x,borderBlockStart:0,borderInlineStart:0,borderRadius:o,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:o,height:o,backgroundColor:u,borderColor:d,borderStyle:"solid",borderWidth:f,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:C?u:r,"&::after":{transform:`scale(${v/o})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:p,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b/o})`}}}},[`span${t} + *`]:{paddingInlineStart:y,paddingInlineEnd:y}})}},AQ=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationSlow:l,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:d,radioButtonBg:f,fontSizeLG:v,controlHeightLG:p,controlHeightSM:m,paddingXS:y,borderRadius:h,borderRadiusSM:g,borderRadiusLG:b,radioCheckedColor:C,radioButtonCheckedBg:x,radioButtonHoverColor:S,radioButtonActiveColor:w,radioSolidCheckedColor:$,colorTextDisabled:O,colorBgContainerDisabled:P,radioDisabledButtonCheckedColor:R,radioDisabledButtonCheckedBg:T}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:`${n-o*2}px`,background:f,border:`${o}px ${a} ${i}`,borderBlockStartWidth:o+.02,borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-o,insetInlineStart:-o,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${o}px ${a} ${i}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:p,fontSize:v,lineHeight:`${p-o*2}px`,"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:y-o,paddingBlock:0,lineHeight:`${m-o*2}px`,"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:C},"&:has(:focus-visible)":Object.assign({},Vl(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:C,background:x,borderColor:C,"&::before":{backgroundColor:C},"&:first-child":{borderColor:C},"&:hover":{color:S,borderColor:S,"&::before":{backgroundColor:S}},"&:active":{color:w,borderColor:w,"&::before":{backgroundColor:w}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:$,background:C,borderColor:C,"&:hover":{color:$,background:S,borderColor:S},"&:active":{color:$,background:w,borderColor:w}},"&-disabled":{color:O,backgroundColor:P,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:O,backgroundColor:P,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:T,borderColor:i,boxShadow:"none"}}}},u7=Ut("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:o,colorBgContainer:a,fontSizeLG:i,controlOutline:l,colorPrimaryHover:s,colorPrimaryActive:u,colorText:d,colorPrimary:f,marginXS:v,controlOutlineWidth:p,colorTextLightSolid:m,wireframe:y}=e,h=`0 0 0 ${p}px ${l}`,g=h,b=i,C=4,x=b-C*2,S=y?x:b-(C+n)*2,w=f,$=d,O=s,P=u,R=t-n,M=St(e,{radioFocusShadow:h,radioButtonFocusShadow:g,radioSize:b,radioDotSize:S,radioDotDisabledSize:x,radioCheckedColor:w,radioDotDisabledColor:o,radioSolidCheckedColor:m,radioButtonBg:a,radioButtonCheckedBg:a,radioButtonColor:$,radioButtonHoverColor:O,radioButtonActiveColor:P,radioButtonPaddingHorizontal:R,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:o,radioWrapperMarginRight:v});return[DQ(M),LQ(M),AQ(M)]});var jQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const o=c.useContext(l7),a=c.useContext(s7),{getPrefixCls:i,direction:l}=c.useContext(rt),s=c.useRef(null),u=cr(t,s),{isFormItemInput:d}=c.useContext(Cr),f=P=>{var R,T;(R=e.onChange)===null||R===void 0||R.call(e,P),(T=o==null?void 0:o.onChange)===null||T===void 0||T.call(o,P)},{prefixCls:v,className:p,rootClassName:m,children:y,style:h}=e,g=jQ(e,["prefixCls","className","rootClassName","children","style"]),b=i("radio",v),C=((o==null?void 0:o.optionType)||a)==="button"?`${b}-button`:b,[x,S]=u7(b),w=Object.assign({},g),$=c.useContext(Xr);o&&(w.name=o.name,w.onChange=f,w.checked=e.value===o.value,w.disabled=(n=w.disabled)!==null&&n!==void 0?n:o.disabled),w.disabled=(r=w.disabled)!==null&&r!==void 0?r:$;const O=G(`${C}-wrapper`,{[`${C}-wrapper-checked`]:w.checked,[`${C}-wrapper-disabled`]:w.disabled,[`${C}-wrapper-rtl`]:l==="rtl",[`${C}-wrapper-in-form-item`]:d},p,m,S);return x(c.createElement("label",{className:O,style:h,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},c.createElement(c7,Object.assign({},w,{type:"radio",prefixCls:C,ref:u})),y!==void 0?c.createElement("span",null,y):null))},Mm=c.forwardRef(zQ),HQ=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=c.useContext(rt),o=c.useContext(ur),[a,i]=bt(e.defaultValue,{value:e.value}),l=M=>{const I=a,_=M.target.value;"value"in e||i(_);const{onChange:k}=e;k&&_!==I&&k(M)},{prefixCls:s,className:u,rootClassName:d,options:f,buttonStyle:v="outline",disabled:p,children:m,size:y,style:h,id:g,onMouseEnter:b,onMouseLeave:C,onFocus:x,onBlur:S}=e,w=n("radio",s),$=`${w}-group`,[O,P]=u7(w);let R=m;f&&f.length>0&&(R=f.map(M=>typeof M=="string"||typeof M=="number"?c.createElement(Mm,{key:M.toString(),prefixCls:w,disabled:p,value:M,checked:a===M},M):c.createElement(Mm,{key:`radio-group-value-options-${M.value}`,prefixCls:w,disabled:M.disabled||p,value:M.value,checked:a===M.value,style:M.style},M.label)));const T=y||o,N=G($,`${$}-${v}`,{[`${$}-${T}`]:T,[`${$}-rtl`]:r==="rtl"},u,d,P);return O(c.createElement("div",Object.assign({},zB(e),{className:N,style:h,onMouseEnter:b,onMouseLeave:C,onFocus:x,onBlur:S,id:g,ref:t}),c.createElement(TQ,{value:{onChange:l,value:a,disabled:e.disabled,name:e.name,optionType:e.optionType}},R)))}),BQ=c.memo(HQ);var VQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n}=c.useContext(rt),{prefixCls:r}=e,o=VQ(e,["prefixCls"]),a=n("radio",r);return c.createElement(_Q,{value:"button"},c.createElement(Mm,Object.assign({prefixCls:a},o,{type:"radio",ref:t})))},KQ=c.forwardRef(WQ),pg=Mm;pg.Button=KQ;pg.Group=BQ;pg.__ANT_RADIO=!0;const d7=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),nu=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Ul=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),cS=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},nu(St(e,{inputBorderHoverColor:e.colorBorder})))}),f7=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:a}=e;return{padding:`${t}px ${a}px`,fontSize:n,lineHeight:r,borderRadius:o}},v7=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),mg=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:a,colorWarningOutline:i,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},Ul(St(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},Ul(St(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},kf=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},d7(e.colorTextPlaceholder)),{"&:hover":Object.assign({},nu(e)),"&:focus, &-focused":Object.assign({},Ul(e)),"&-disabled, &[disabled]":Object.assign({},cS(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},f7(e)),"&-sm":Object.assign({},v7(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),p7=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},f7(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},v7(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},fb()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},UQ=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,a=(n-r*2-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),kf(e)),mg(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},YQ=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},GQ=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},kf(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},nu(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),YQ(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),mg(e,`${t}-affix-wrapper`))}},XQ=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},At(e)),p7(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},cS(e))}}})}},qQ=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function uS(e){return St(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const QQ=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},dS=Ut("Input",e=>{const t=uS(e);return[UQ(t),QQ(t),GQ(t),XQ(t),qQ(t),qc(t)]}),v1=(e,t,n,r)=>{const{lineHeight:o}=e,a=Math.floor(n*o)+2,i=Math.max((t-a)/2,0),l=Math.max(t-a-i,0);return{padding:`${i}px ${r}px ${l}px`}},ZQ=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:o,motionDurationSlow:a,borderRadiusSM:i,motionDurationMid:l,controlItemBgHover:s,lineWidth:u,lineType:d,colorPrimary:f,controlItemBgActive:v,colorTextLightSolid:p,controlHeightSM:m,pickerDateHoverRangeBorderColor:y,pickerCellBorderGap:h,pickerBasicCellHoverWithRangeColor:g,pickerPanelCellWidth:b,colorTextDisabled:C,colorBgContainerDisabled:x}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:o,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:o,height:o,lineHeight:`${o}px`,borderRadius:i,transition:`background ${l}, border ${l}`},[`&:hover:not(${n}-in-view), + &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[r]:{background:s}},[`&-in-view${n}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${u}px ${d} ${f}`,borderRadius:i,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:v}},[`&-in-view${n}-selected ${r}, + &-in-view${n}-range-start ${r}, + &-in-view${n}-range-end ${r}`]:{color:p,background:f},[`&-in-view${n}-range-start:not(${n}-range-start-single), + &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:v}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-start${n}-range-start-single, + &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover, + &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover, + &-in-view${n}-range-hover-end${n}-range-end-single, + &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:m,borderTop:`${u}px dashed ${y}`,borderBottom:`${u}px dashed ${y}`,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:h},[`&-in-view${n}-in-range${n}-range-hover::before, + &-in-view${n}-in-range${n}-range-hover-start::before, + &-in-view${n}-in-range${n}-range-hover-end::before, + &-in-view${n}-range-start${n}-range-hover::before, + &-in-view${n}-range-end${n}-range-hover::before, + &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before, + &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-start::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:g},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${r}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after, + tr > &-in-view${n}-range-hover-end:first-child::after, + &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after, + &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after, + &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(b-o)/2,borderInlineStart:`${u}px dashed ${y}`,borderStartStartRadius:u,borderEndStartRadius:u},[`tr > &-in-view${n}-range-hover:last-child::after, + tr > &-in-view${n}-range-hover-start:last-child::after, + &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after, + &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, + &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(b-o)/2,borderInlineEnd:`${u}px dashed ${y}`,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:C,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:x}},[`&-disabled${n}-today ${r}::before`]:{borderColor:C}}},JQ=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:a,pickerPanelCellWidth:i,paddingSM:l,paddingXS:s,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:v,borderRadiusLG:p,colorPrimary:m,colorTextHeading:y,colorSplit:h,pickerControlIconBorderWidth:g,colorIcon:b,pickerTextHeight:C,motionDurationMid:x,colorIconHover:S,fontWeightStrong:w,pickerPanelCellHeight:$,pickerCellPaddingVertical:O,colorTextDisabled:P,colorText:R,fontSize:T,pickerBasicCellHoverWithRangeColor:N,motionDurationSlow:M,pickerPanelWithoutTimeCellHeight:I,pickerQuarterPanelContentHeight:_,colorLink:k,colorLinkActive:F,colorLinkHover:D,pickerDateHoverRangeBorderColor:j,borderRadiusSM:H,colorTextLightSolid:z,controlItemBgHover:B,pickerTimePanelColumnHeight:V,pickerTimePanelColumnWidth:K,pickerTimePanelCellHeight:W,controlItemBgActive:Y,marginXXS:X,pickerDatePanelPaddingHorizontal:Q}=e,ae=i*7+Q*2,ee=(ae-s*2)/3-o-l,q=(ae-s*2)/4-o;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,border:`${f}px ${v} ${h}`,borderRadius:p,outline:"none","&-focused":{borderColor:m},"&-rtl":{direction:"rtl",[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ae},"&-header":{display:"flex",padding:`0 ${s}px`,color:y,borderBottom:`${f}px ${v} ${h}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:`${C}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:T,"&:hover":{color:S}},"&-view":{flex:"auto",fontWeight:w,lineHeight:`${C}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:m}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:a,height:a,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(a/2),insetInlineStart:Math.ceil(a/2),display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:$+O*2,color:R,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${O}px 0`,color:P,cursor:"pointer","&-in-view":{color:R}},ZQ(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${r}, + &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${r}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:N,transition:`all ${M}`,content:'""'}},[`&-date-panel + ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start + ${r}::after`]:{insetInlineEnd:-(i-$)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${r}::after`]:{insetInlineEnd:0,insetInlineStart:-(i-$)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:I*4},[r]:{padding:`0 ${s}px`}},"&-quarter-panel":{[`${t}-content`]:{height:_},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:q,borderInlineStart:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineEnd:q,borderInlineEnd:`${f}px dashed ${j}`}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:q,borderInlineEnd:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineStart:q,borderInlineStart:`${f}px dashed ${j}`}}},[`&-panel ${t}-footer`]:{borderTop:`${f}px ${v} ${h}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${C-2*f}px`,textAlign:"center","&-extra":{padding:`0 ${l}`,lineHeight:`${C-2*f}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${f}px ${v} ${h}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:k,"&:hover":{color:D},"&:active":{color:F},[`&${t}-today-btn-disabled`]:{color:P,cursor:"not-allowed"}},"&-decade-panel":{[r]:{padding:`0 ${s/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${s}px`},[r]:{width:o},[`${t}-cell-range-hover-start::after`]:{borderStartStartRadius:H,borderEndStartRadius:H,borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:H,borderEndEndRadius:H}},[`${t}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:H,borderEndEndRadius:H,[`${t}-panel-rtl &`]:{borderStartStartRadius:H,borderEndStartRadius:H,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${t}-cell-range-hover-start::after`]:{insetInlineStart:ee,borderInlineStart:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineEnd:ee,borderInlineEnd:`${f}px dashed ${j}`}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:ee,borderInlineEnd:`${f}px dashed ${j}`,[`${t}-panel-rtl &`]:{insetInlineStart:ee,borderInlineStart:`${f}px dashed ${j}`}}},"&-week-panel":{[`${t}-body`]:{padding:`${s}px ${l}px`},[`${t}-cell`]:{[`&:hover ${r}, + &-selected ${r}, + ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child:before":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover td":{"&:before":{background:B}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Yt(z).setAlpha(.5).toHexString()},[r]:{color:z}}},"&-range-hover td:before":{background:Y}}},"&-date-panel":{[`${t}-body`]:{padding:`${s}px ${Q}px`},[`${t}-content`]:{width:i*7,th:{width:i}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${f}px ${v} ${h}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${M}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:V},"&-column":{flex:"1 0 auto",width:K,margin:`${u}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::after":{display:"block",height:V-W,content:'""'},"&:not(:first-child)":{borderInlineStart:`${f}px ${v} ${h}`},"&-active":{background:new Yt(Y).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:X,[`${t}-time-panel-cell-inner`]:{display:"block",width:K-2*X,height:W,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(K-W)/2,color:R,lineHeight:`${W}px`,borderRadius:H,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:B}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:Y}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:P,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:V-W+u*2}}}},eZ=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:o,colorWarning:a,colorWarningOutline:i}=e;return{[`${t}:not(${t}-disabled)`]:{[`&${t}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},[`&${t}-focused, &:focus`]:Object.assign({},Ul(St(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:o}))),[`${t}-active-bar`]:{background:r}},[`&${t}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:a},[`&${t}-focused, &:focus`]:Object.assign({},Ul(St(e,{inputBorderActiveColor:a,inputBorderHoverColor:a,controlOutline:i}))),[`${t}-active-bar`]:{background:a}}}}},tZ=e=>{const{componentCls:t,antCls:n,controlHeight:r,fontSize:o,inputPaddingHorizontal:a,colorBgContainer:i,lineWidth:l,lineType:s,colorBorder:u,borderRadius:d,motionDurationMid:f,colorBgContainerDisabled:v,colorTextDisabled:p,colorTextPlaceholder:m,controlHeightLG:y,fontSizeLG:h,controlHeightSM:g,inputPaddingHorizontalSM:b,paddingXS:C,marginXS:x,colorTextDescription:S,lineWidthBold:w,lineHeight:$,colorPrimary:O,motionDurationSlow:P,zIndexPopup:R,paddingXXS:T,paddingSM:N,pickerTextHeight:M,controlItemBgActive:I,colorPrimaryBorder:_,sizePopupArrow:k,borderRadiusXS:F,borderRadiusOuter:D,colorBgElevated:j,borderRadiusLG:H,boxShadowSecondary:z,borderRadiusSM:B,colorSplit:V,controlItemBgHover:K,presetsWidth:W,presetsMaxWidth:Y,boxShadowPopoverArrow:X}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},At(e)),v1(e,r,o,a)),{position:"relative",display:"inline-flex",alignItems:"center",background:i,lineHeight:1,border:`${l}px ${s} ${u}`,borderRadius:d,transition:`border ${f}, box-shadow ${f}`,"&:hover, &-focused":Object.assign({},nu(e)),"&-focused":Object.assign({},Ul(e)),[`&${t}-disabled`]:{background:v,borderColor:u,cursor:"not-allowed",[`${t}-suffix`]:{color:p}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},kf(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:m}}},"&-large":Object.assign(Object.assign({},v1(e,y,h,a)),{[`${t}-input > input`]:{fontSize:h}}),"&-small":Object.assign({},v1(e,g,o,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:C/2,color:p,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:x}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:p,lineHeight:1,background:i,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${f}, color ${f}`,"> *":{verticalAlign:"top"},"&:hover":{color:S}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:h,color:p,fontSize:h,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:S},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:a},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-l,height:w,marginInlineStart:a,background:O,opacity:0,transition:`all ${P} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${C}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b},[`${t}-active-bar`]:{marginInlineStart:b}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},At(e)),JQ(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:R,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:rg},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:tg},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:og},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ng},[`${t}-panel > ${t}-time-panel`]:{paddingTop:T},[`${t}-ranges`]:{marginBottom:0,padding:`${T}px ${N}px`,overflow:"hidden",lineHeight:`${M-2*l-C/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:O,background:I,borderColor:_,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:a*1.5,transition:`left ${P} ease-out`},fR(k,F,D,j,X)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:j,borderRadius:H,boxShadow:z,transition:`margin ${P}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:W,maxWidth:Y,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:C,borderInlineEnd:`${l}px ${s} ${V}`,li:Object.assign(Object.assign({},ua),{borderRadius:B,paddingInline:C,paddingBlock:(g-Math.round(o*$))/2,cursor:"pointer",transition:`all ${P}`,"+ li":{marginTop:x},"&:hover":{background:K}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${l}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${k*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ta(e,"slide-up"),Ta(e,"slide-down"),Mc(e,"move-up"),Mc(e,"move-down")]},nZ=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:o,colorPrimary:a,paddingXXS:i,padding:l}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:o*1.5,pickerPanelCellHeight:o,pickerDateHoverRangeBorderColor:new Yt(a).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new Yt(a).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:i+i/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:l+i/2}},m7=Ut("DatePicker",e=>{const t=St(uS(e),nZ(e));return[tZ(t),eZ(t),qc(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),rZ=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:a}=e,i=G({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=G({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),s=c.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return c.createElement("span",{className:G(t,i,l,n),style:Object.assign(Object.assign({},s),r)})},hg=rZ,oZ=new It("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),gg=e=>({height:e,lineHeight:`${e}px`}),uc=e=>Object.assign({width:e},gg(e)),aZ=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:oZ,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),p1=e=>Object.assign({width:e*5,minWidth:e*5},gg(e)),iZ=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},uc(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},uc(o)),[`${t}${t}-sm`]:Object.assign({},uc(a))}},lZ=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:a,color:i}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},p1(t)),[`${r}-lg`]:Object.assign({},p1(o)),[`${r}-sm`]:Object.assign({},p1(a))}},v3=e=>Object.assign({width:e},gg(e)),sZ=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},v3(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},v3(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},m1=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},h1=e=>Object.assign({width:e*2,minWidth:e*2},gg(e)),cZ=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a,color:i}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:r*2,minWidth:r*2},h1(r))},m1(e,r,n)),{[`${n}-lg`]:Object.assign({},h1(o))}),m1(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},h1(a))}),m1(e,a,`${n}-sm`))},uZ=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:d,color:f,padding:v,marginSM:p,borderRadius:m,skeletonTitleHeight:y,skeletonBlockRadius:h,skeletonParagraphLineHeight:g,controlHeightXS:b,skeletonParagraphMarginTop:C}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:v,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},uc(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},uc(u)),[`${n}-sm`]:Object.assign({},uc(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:y,background:f,borderRadius:h,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:g,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:b}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},cZ(e)),iZ(e)),lZ(e)),sZ(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${o} > li, + ${n}, + ${a}, + ${i}, + ${l} + `]:Object.assign({},aZ(e))}}},ru=Ut("Skeleton",e=>{const{componentCls:t}=e,n=St(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[uZ(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),dZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:l}=c.useContext(rt),s=l("skeleton",t),[u,d]=ru(s),f=On(e,["prefixCls","className"]),v=G(s,`${s}-element`,{[`${s}-active`]:o},n,r,d);return u(c.createElement("div",{className:v},c.createElement(hg,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:i},f))))},fZ=dZ,vZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:l}=c.useContext(rt),s=l("skeleton",t),[u,d]=ru(s),f=On(e,["prefixCls"]),v=G(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d);return u(c.createElement("div",{className:v},c.createElement(hg,Object.assign({prefixCls:`${s}-button`,size:i},f))))},pZ=vZ;var mZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const hZ=mZ;var h7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:hZ}))};h7.displayName="DotChartOutlined";const gZ=c.forwardRef(h7),yZ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:l}=c.useContext(rt),s=l("skeleton",t),[u,d]=ru(s),f=G(s,`${s}-element`,{[`${s}-active`]:a},d,n,r),v=i??c.createElement(gZ,null);return u(c.createElement("div",{className:f},c.createElement("div",{className:G(`${s}-image`,n),style:o},v)))},bZ=yZ,CZ="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",xZ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=c.useContext(rt),l=i("skeleton",t),[s,u]=ru(l),d=G(l,`${l}-element`,{[`${l}-active`]:a},n,r,u);return s(c.createElement("div",{className:d},c.createElement("div",{className:G(`${l}-image`,n),style:o},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},c.createElement("path",{d:CZ,className:`${l}-image-path`})))))},SZ=xZ,wZ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:l}=c.useContext(rt),s=l("skeleton",t),[u,d]=ru(s),f=On(e,["prefixCls"]),v=G(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d);return u(c.createElement("div",{className:v},c.createElement(hg,Object.assign({prefixCls:`${s}-input`,size:i},f))))},$Z=wZ,EZ=e=>{const t=l=>{const{width:s,rows:u=2}=e;if(Array.isArray(s))return s[l];if(u-1===l)return s},{prefixCls:n,className:r,style:o,rows:a}=e,i=xe(Array(a)).map((l,s)=>c.createElement("li",{key:s,style:{width:t(s)}}));return c.createElement("ul",{className:G(n,r),style:o},i)},PZ=EZ,OZ=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return c.createElement("h3",{className:G(t,n),style:Object.assign({width:r},o)})},MZ=OZ;function g1(e){return e&&typeof e=="object"?e:{}}function RZ(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function IZ(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function NZ(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const ou=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:l=!1,title:s=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:v,direction:p}=c.useContext(rt),m=v("skeleton",t),[y,h]=ru(m);if(n||!("loading"in e)){const g=!!l,b=!!s,C=!!u;let x;if(g){const $=Object.assign(Object.assign({prefixCls:`${m}-avatar`},RZ(b,C)),g1(l));x=c.createElement("div",{className:`${m}-header`},c.createElement(hg,Object.assign({},$)))}let S;if(b||C){let $;if(b){const P=Object.assign(Object.assign({prefixCls:`${m}-title`},IZ(g,C)),g1(s));$=c.createElement(MZ,Object.assign({},P))}let O;if(C){const P=Object.assign(Object.assign({prefixCls:`${m}-paragraph`},NZ(g,b)),g1(u));O=c.createElement(PZ,Object.assign({},P))}S=c.createElement("div",{className:`${m}-content`},$,O)}const w=G(m,{[`${m}-with-avatar`]:g,[`${m}-active`]:d,[`${m}-rtl`]:p==="rtl",[`${m}-round`]:f},r,o,h);return y(c.createElement("div",{className:w,style:a},x,S))}return typeof i<"u"?i:null};ou.Button=pZ;ou.Avatar=fZ;ou.Input=$Z;ou.Image=SZ;ou.Node=bZ;const TZ=ou;var _Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const kZ=_Z;var g7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:kZ}))};g7.displayName="PlusOutlined";const FZ=c.forwardRef(g7),yg=c.createContext(null);var y7=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.id,i=e.active,l=e.tabKey,s=e.children;return c.createElement("div",{id:a&&"".concat(a,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(l),"aria-hidden":!i,style:o,className:G(n,i&&"".concat(n,"-active"),r),ref:t},s)}),DZ=["key","forceRender","style","className"];function LZ(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,a=e.destroyInactiveTabPane,i=c.useContext(yg),l=i.prefixCls,s=i.tabs,u=r.tabPane,d="".concat(l,"-tabpane");return c.createElement("div",{className:G("".concat(l,"-content-holder"))},c.createElement("div",{className:G("".concat(l,"-content"),"".concat(l,"-content-").concat(o),A({},"".concat(l,"-content-animated"),u))},s.map(function(f){var v=f.key,p=f.forceRender,m=f.style,y=f.className,h=Oe(f,DZ),g=v===n;return c.createElement(er,be({key:v,visible:g,forceRender:p,removeOnLeave:!!a,leavedClassName:"".concat(d,"-hidden")},r.tabPaneMotion),function(b,C){var x=b.style,S=b.className;return c.createElement(y7,be({},h,{prefixCls:d,id:t,tabKey:v,animated:u,active:g,style:E(E({},m),x),className:G(y,S),ref:C}))})})))}var p3={width:0,height:0,left:0,top:0};function AZ(e,t,n){return c.useMemo(function(){for(var r,o=new Map,a=t.get((r=e[0])===null||r===void 0?void 0:r.key)||p3,i=a.left+a.width,l=0;lI?(N=R,w.current="x"):(N=T,w.current="y"),t(-N,-N)&&P.preventDefault()}var O=c.useRef(null);O.current={onTouchStart:C,onTouchMove:x,onTouchEnd:S,onWheel:$},c.useEffect(function(){function P(M){O.current.onTouchStart(M)}function R(M){O.current.onTouchMove(M)}function T(M){O.current.onTouchEnd(M)}function N(M){O.current.onWheel(M)}return document.addEventListener("touchmove",R,{passive:!1}),document.addEventListener("touchend",T,{passive:!1}),e.current.addEventListener("touchstart",P,{passive:!1}),e.current.addEventListener("wheel",N),function(){document.removeEventListener("touchmove",R),document.removeEventListener("touchend",T)}},[])}function b7(e){var t=c.useState(0),n=U(t,2),r=n[0],o=n[1],a=c.useRef(0),i=c.useRef();return i.current=e,sc(function(){var l;(l=i.current)===null||l===void 0||l.call(i)},[r]),function(){a.current===r&&(a.current+=1,o(a.current))}}function HZ(e){var t=c.useRef([]),n=c.useState({}),r=U(n,2),o=r[1],a=c.useRef(typeof e=="function"?e():e),i=b7(function(){var s=a.current;t.current.forEach(function(u){s=u(s)}),t.current=[],a.current=s,o({})});function l(s){t.current.push(s),i()}return[a.current,l]}var y3={width:0,height:0,left:0,top:0,right:0};function BZ(e,t,n,r,o,a,i){var l=i.tabs,s=i.tabPosition,u=i.rtl,d,f,v;return["top","bottom"].includes(s)?(d="width",f=u?"right":"left",v=Math.abs(n)):(d="height",f="top",v=-n),c.useMemo(function(){if(!l.length)return[0,0];for(var p=l.length,m=p,y=0;yv+t){m=y-1;break}}for(var g=0,b=p-1;b>=0;b-=1){var C=e.get(l[b].key)||y3;if(C[f]et?"left":"right"})}),M=U(N,2),I=M[0],_=M[1],k=m3(0,function(at,et){!T&&C&&C({direction:at>et?"top":"bottom"})}),F=U(k,2),D=F[0],j=F[1],H=c.useState([0,0]),z=U(H,2),B=z[0],V=z[1],K=c.useState([0,0]),W=U(K,2),Y=W[0],X=W[1],Q=c.useState([0,0]),ae=U(Q,2),ee=ae[0],q=ae[1],re=c.useState([0,0]),te=U(re,2),J=te[0],ne=te[1],oe=HZ(new Map),le=U(oe,2),de=le[0],pe=le[1],se=AZ(a,de,Y[0]),ve=Uv(B,T),he=Uv(Y,T),ce=Uv(ee,T),ie=Uv(J,T),fe=veNe?Ne:at}var Ue=c.useRef(),Ge=c.useState(),$e=U(Ge,2),Ie=$e[0],ze=$e[1];function gt(){ze(Date.now())}function ft(){window.clearTimeout(Ue.current)}zZ($,function(at,et){function tt(dt,Et){dt(function(_t){var pn=_e(_t+Et);return pn})}return fe?(T?tt(_,at):tt(j,et),ft(),gt(),!0):!1}),c.useEffect(function(){return ft(),Ie&&(Ue.current=window.setTimeout(function(){ze(0)},100)),ft},[Ie]);var Ct=BZ(se,me,T?I:D,he,ce,ie,E(E({},e),{},{tabs:a})),Ee=U(Ct,2),Se=Ee[0],ke=Ee[1],De=ao(function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,et=se.get(at)||{width:0,height:0,left:0,right:0,top:0};if(T){var tt=I;f?et.rightI+me&&(tt=et.right+et.width-me):et.left<-I?tt=-et.left:et.left+et.width>-I+me&&(tt=-(et.left+et.width-me)),j(0),_(_e(tt))}else{var dt=D;et.top<-D?dt=-et.top:et.top+et.height>-D+me&&(dt=-(et.top+et.height-me)),_(0),j(_e(dt))}}),He={};y==="top"||y==="bottom"?He[f?"marginRight":"marginLeft"]=h:He.marginTop=h;var Me=a.map(function(at,et){var tt=at.key;return c.createElement(YZ,{id:s,prefixCls:o,key:tt,tab:at,style:et===0?void 0:He,closable:at.closable,editable:p,active:tt===d,renderWrapper:g,removeAriaLabel:m==null?void 0:m.removeAriaLabel,onClick:function(Et){b(tt,Et)},onFocus:function(){De(tt),gt(),$.current&&(f||($.current.scrollLeft=0),$.current.scrollTop=0)}})}),yt=function(){return pe(function(){var et=new Map;return a.forEach(function(tt){var dt,Et=tt.key,_t=(dt=O.current)===null||dt===void 0?void 0:dt.querySelector('[data-node-key="'.concat(C7(Et),'"]'));_t&&et.set(Et,{width:_t.offsetWidth,height:_t.offsetHeight,left:_t.offsetLeft,top:_t.offsetTop})}),et})};c.useEffect(function(){yt()},[a.map(function(at){return at.key}).join("_")]);var ot=b7(function(){var at=Es(x),et=Es(S),tt=Es(w);V([at[0]-et[0]-tt[0],at[1]-et[1]-tt[1]]);var dt=Es(R);q(dt);var Et=Es(P);ne(Et);var _t=Es(O);X([_t[0]-dt[0],_t[1]-dt[1]]),yt()}),ge=a.slice(0,Se),Re=a.slice(ke+1),we=[].concat(xe(ge),xe(Re)),Le=c.useState(),Je=U(Le,2),ct=Je[0],xt=Je[1],lt=se.get(d),Te=c.useRef();function Ve(){Ft.cancel(Te.current)}c.useEffect(function(){var at={};return lt&&(T?(f?at.right=lt.right:at.left=lt.left,at.width=lt.width):(at.top=lt.top,at.height=lt.height)),Ve(),Te.current=Ft(function(){xt(at)}),Ve},[lt,T,f]),c.useEffect(function(){De()},[d,ye,Ne,b3(lt),b3(se),T]),c.useEffect(function(){ot()},[f]);var qe=!!we.length,Be="".concat(o,"-nav-wrap"),Fe,Ze,Ye,ut;return T?f?(Ze=I>0,Fe=I!==Ne):(Fe=I<0,Ze=I!==ye):(Ye=D<0,ut=D!==ye),c.createElement(va,{onResize:ot},c.createElement("div",{ref:Cf(t,x),role:"tablist",className:G("".concat(o,"-nav"),i),style:l,onKeyDown:function(){gt()}},c.createElement(C3,{ref:S,position:"left",extra:v,prefixCls:o}),c.createElement("div",{className:G(Be,(n={},A(n,"".concat(Be,"-ping-left"),Fe),A(n,"".concat(Be,"-ping-right"),Ze),A(n,"".concat(Be,"-ping-top"),Ye),A(n,"".concat(Be,"-ping-bottom"),ut),n)),ref:$},c.createElement(va,{onResize:ot},c.createElement("div",{ref:O,className:"".concat(o,"-nav-list"),style:{transform:"translate(".concat(I,"px, ").concat(D,"px)"),transition:Ie?"none":void 0}},Me,c.createElement(x7,{ref:R,prefixCls:o,locale:m,editable:p,style:E(E({},Me.length===0?void 0:He),{},{visibility:qe?"hidden":null})}),c.createElement("div",{className:G("".concat(o,"-ink-bar"),A({},"".concat(o,"-ink-bar-animated"),u.inkBar)),style:ct})))),c.createElement(UZ,be({},e,{removeAriaLabel:m==null?void 0:m.removeAriaLabel,ref:P,prefixCls:o,tabs:we,className:!qe&&Ce,tabMoving:!!Ie})),c.createElement(C3,{ref:w,position:"right",extra:v,prefixCls:o})))}const x3=c.forwardRef(GZ);var XZ=["renderTabBar"],qZ=["label","key"];function QZ(e){var t=e.renderTabBar,n=Oe(e,XZ),r=c.useContext(yg),o=r.tabs;if(t){var a=E(E({},n),{},{panes:o.map(function(i){var l=i.label,s=i.key,u=Oe(i,qZ);return c.createElement(y7,be({tab:l,key:s,tabKey:s},u))})});return t(a,x3)}return c.createElement(x3,n)}function ZZ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=E({inkBar:!0},Ke(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var JZ=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],S3=0;function eJ(e,t){var n,r=e.id,o=e.prefixCls,a=o===void 0?"rc-tabs":o,i=e.className,l=e.items,s=e.direction,u=e.activeKey,d=e.defaultActiveKey,f=e.editable,v=e.animated,p=e.tabPosition,m=p===void 0?"top":p,y=e.tabBarGutter,h=e.tabBarStyle,g=e.tabBarExtraContent,b=e.locale,C=e.moreIcon,x=e.moreTransitionName,S=e.destroyInactiveTabPane,w=e.renderTabBar,$=e.onChange,O=e.onTabClick,P=e.onTabScroll,R=e.getPopupContainer,T=e.popupClassName,N=Oe(e,JZ),M=c.useMemo(function(){return(l||[]).filter(function(oe){return oe&&Ke(oe)==="object"&&"key"in oe})},[l]),I=s==="rtl",_=ZZ(v),k=c.useState(!1),F=U(k,2),D=F[0],j=F[1];c.useEffect(function(){j(Pf())},[]);var H=bt(function(){var oe;return(oe=M[0])===null||oe===void 0?void 0:oe.key},{value:u,defaultValue:d}),z=U(H,2),B=z[0],V=z[1],K=c.useState(function(){return M.findIndex(function(oe){return oe.key===B})}),W=U(K,2),Y=W[0],X=W[1];c.useEffect(function(){var oe=M.findIndex(function(de){return de.key===B});if(oe===-1){var le;oe=Math.max(0,Math.min(Y,M.length-1)),V((le=M[oe])===null||le===void 0?void 0:le.key)}X(oe)},[M.map(function(oe){return oe.key}).join("_"),B,Y]);var Q=bt(null,{value:r}),ae=U(Q,2),ee=ae[0],q=ae[1];c.useEffect(function(){r||(q("rc-tabs-".concat(S3)),S3+=1)},[]);function re(oe,le){O==null||O(oe,le);var de=oe!==B;V(oe),de&&($==null||$(oe))}var te={id:ee,activeKey:B,animated:_,tabPosition:m,rtl:I,mobile:D},J,ne=E(E({},te),{},{editable:f,locale:b,moreIcon:C,moreTransitionName:x,tabBarGutter:y,onTabClick:re,onTabScroll:P,extra:g,style:h,panes:null,getPopupContainer:R,popupClassName:T});return c.createElement(yg.Provider,{value:{tabs:M,prefixCls:a}},c.createElement("div",be({ref:t,id:r,className:G(a,"".concat(a,"-").concat(m),(n={},A(n,"".concat(a,"-mobile"),D),A(n,"".concat(a,"-editable"),f),A(n,"".concat(a,"-rtl"),I),n),i)},N),J,c.createElement(QZ,be({},ne,{renderTabBar:w})),c.createElement(LZ,be({destroyInactiveTabPane:S},te,{animated:_}))))}var tJ=c.forwardRef(eJ);const nJ={motionAppear:!1,motionEnter:!0,motionLeave:!0};function rJ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},nJ),{motionName:Yr(e,"switch")})),n}var oJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot)}function iJ(e,t){if(e)return e;const n=kr(t).map(r=>{if(c.isValidElement(r)){const{key:o,props:a}=r,i=a||{},{tab:l}=i,s=oJ(i,["tab"]);return Object.assign(Object.assign({key:String(o)},s),{label:l})}return null});return aJ(n)}const lJ=()=>null,sJ=lJ,cJ=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Ta(e,"slide-up"),Ta(e,"slide-down")]]},uJ=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:o,colorBorderSecondary:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},dJ=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},At(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ua),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},fJ=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},vJ=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},pJ=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:o,tabsHorizontalGutter:a}=e,i=`${t}-tab`;return{[i]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Oc(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${i}-active ${i}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${i}-disabled ${i}-btn, &${i}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${i}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${i} + ${i}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`}}}},mJ=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${o}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},hJ=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:o,tabsHoverColor:a,tabsActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${o}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},Oc(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),pJ(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},gJ=Ut("Tabs",e=>{const t=e.controlHeightLG,n=St(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[vJ(n),mJ(n),fJ(n),dJ(n),uJ(n),hJ(n),cJ(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var yJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{key:I,event:_}=M;a==null||a(N==="add"?_:I,N)},removeIcon:c.createElement(ns,null),addIcon:s||c.createElement(FZ,null),showAdd:i!==!0});const $=g(),O=iJ(f,d),P=rJ(C,v),R=c.useContext(ur),T=o!==void 0?o:R;return x(c.createElement(tJ,Object.assign({direction:h,getPopupContainer:b,moreTransitionName:`${$}-slide-up`},p,{items:O,className:G({[`${C}-${T}`]:T,[`${C}-card`]:["card","editable-card"].includes(t),[`${C}-editable-card`]:t==="editable-card",[`${C}-centered`]:l},n,r,S),popupClassName:G(u,S),editable:w,moreIcon:y,prefixCls:C,animated:P})))}S7.TabPane=sJ;function bJ(e,t,n){var r=n||{},o=r.noTrailing,a=o===void 0?!1:o,i=r.noLeading,l=i===void 0?!1:i,s=r.debounceMode,u=s===void 0?void 0:s,d,f=!1,v=0;function p(){d&&clearTimeout(d)}function m(h){var g=h||{},b=g.upcomingOnly,C=b===void 0?!1:b;p(),f=!C}function y(){for(var h=arguments.length,g=new Array(h),b=0;be?l?(v=Date.now(),a||(d=setTimeout(u?w:S,e))):S():a!==!0&&(d=setTimeout(u?w:S,u===void 0?e-x:e))}return y.cancel=m,y}function CJ(e,t,n){var r=n||{},o=r.atBegin,a=o===void 0?!1:o;return bJ(e,t,{debounceMode:a!==!1})}function w7(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function xJ(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||o===!1}function SJ(e,t,n,r){for(var o=new Set(e),a=new Set,i=0;i<=n;i+=1){var l=t.get(i)||new Set;l.forEach(function(f){var v=f.key,p=f.node,m=f.children,y=m===void 0?[]:m;o.has(v)&&!r(p)&&y.filter(function(h){return!r(h.node)}).forEach(function(h){o.add(h.key)})})}for(var s=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var v=f.parent,p=f.node;if(!(r(p)||!f.parent||s.has(f.parent.key))){if(r(f.parent.node)){s.add(v.key);return}var m=!0,y=!1;(v.children||[]).filter(function(h){return!r(h.node)}).forEach(function(h){var g=h.key,b=o.has(g);m&&!b&&(m=!1),!y&&(b||a.has(g))&&(y=!0)}),m&&o.add(v.key),y&&a.add(v.key),s.add(v.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(w7(a,o))}}function wJ(e,t,n,r,o){for(var a=new Set(e),i=new Set(t),l=0;l<=r;l+=1){var s=n.get(l)||new Set;s.forEach(function(v){var p=v.key,m=v.node,y=v.children,h=y===void 0?[]:y;!a.has(p)&&!i.has(p)&&!o(m)&&h.filter(function(g){return!o(g.node)}).forEach(function(g){a.delete(g.key)})})}i=new Set;for(var u=new Set,d=r;d>=0;d-=1){var f=n.get(d)||new Set;f.forEach(function(v){var p=v.parent,m=v.node;if(!(o(m)||!v.parent||u.has(v.parent.key))){if(o(v.parent.node)){u.add(p.key);return}var y=!0,h=!1;(p.children||[]).filter(function(g){return!o(g.node)}).forEach(function(g){var b=g.key,C=a.has(b);y&&!C&&(y=!1),!h&&(C||i.has(b))&&(h=!0)}),y||a.delete(p.key),h&&i.add(p.key),u.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(w7(i,a))}}function Ja(e,t,n,r){var o=[],a;r?a=r:a=xJ;var i=new Set(e.filter(function(d){var f=!!n[d];return f||o.push(d),f})),l=new Map,s=0;Object.keys(n).forEach(function(d){var f=n[d],v=f.level,p=l.get(v);p||(p=new Set,l.set(v,p)),p.add(f),s=Math.max(s,v)}),Kt(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=SJ(i,l,s,a):u=wJ(i,t.halfCheckedKeys,l,s,a),u}var Ff=c.createContext(null),dc="__rc_cascader_search_mark__",$J=function(t,n,r){var o=r.label;return n.some(function(a){return String(a[o]).toLowerCase().includes(t.toLowerCase())})},EJ=function(t,n,r,o){return n.map(function(a){return a[o.label]}).join(" / ")};const PJ=function(e,t,n,r,o,a){var i=o.filter,l=i===void 0?$J:i,s=o.render,u=s===void 0?EJ:s,d=o.limit,f=d===void 0?50:d,v=o.sort;return c.useMemo(function(){var p=[];if(!e)return[];function m(y,h){y.forEach(function(g){if(!(!v&&f>0&&p.length>=f)){var b=[].concat(xe(h),[g]),C=g[n.children];if((!C||C.length===0||a)&&l(e,b,{label:n.label})){var x;p.push(E(E({},g),{},(x={},A(x,n.label,u(e,b,r,n)),A(x,dc,b),A(x,n.children,void 0),x)))}C&&m(g[n.children],b)}})}return m(t,[]),v&&p.sort(function(y,h){return v(y[dc],h[dc],e,n)}),f>0?p.slice(0,f):p},[e,t,n,r,u,a,l,v,f])};var fS="__RC_CASCADER_SPLIT__",$7="SHOW_PARENT",E7="SHOW_CHILD";function da(e){return e.join(fS)}function Zs(e){return e.map(da)}function OJ(e){return e.split(fS)}function MJ(e){var t=e||{},n=t.label,r=t.value,o=t.children,a=r||"value";return{label:n||"label",value:a,key:a,children:o||"children"}}function Gu(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!((r=e[t.children])!==null&&r!==void 0&&r.length)}function RJ(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}function P7(e,t){return e.map(function(n){var r;return(r=n[dc])===null||r===void 0?void 0:r.map(function(o){return o[t.value]})})}function w3(e,t,n){var r=new Set(e),o=t();return e.filter(function(a){var i=o[a],l=i?i.parent:null,s=i?i.children:null;return n===E7?!(s&&s.some(function(u){return u.key&&r.has(u.key)})):!(l&&!l.node.disabled&&r.has(l.key))})}function qd(e,t,n){for(var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=t,a=[],i=function(){var u,d,f,v=e[l],p=(u=o)===null||u===void 0?void 0:u.findIndex(function(y){var h=y[n.value];return r?String(h)===String(v):h===v}),m=p!==-1?(d=o)===null||d===void 0?void 0:d[p]:null;a.push({value:(f=m==null?void 0:m[n.value])!==null&&f!==void 0?f:v,index:p,option:m}),o=m==null?void 0:m[n.children]},l=0;l=0&&n.splice(r,1),n}function xi(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function pS(e){return e.split("-")}function O7(e,t){return"".concat(e,"-").concat(t)}function DJ(e){return e&&e.type&&e.type.isTreeNode}function LJ(e,t){var n=[],r=t[e];function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.forEach(function(i){var l=i.key,s=i.children;n.push(l),o(s)})}return o(r.children),n}function AJ(e){if(e.parent){var t=pS(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function jJ(e){var t=pS(e.pos);return Number(t[t.length-1])===0}function P3(e,t,n,r,o,a,i,l,s,u){var d,f=e.clientX,v=e.clientY,p=e.target.getBoundingClientRect(),m=p.top,y=p.height,h=(u==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),g=(h-12)/r,b=l[n.props.eventKey];if(v-1.5?a({dragNode:N,dropNode:M,dropPosition:1})?P=1:I=!1:a({dragNode:N,dropNode:M,dropPosition:0})?P=0:a({dragNode:N,dropNode:M,dropPosition:1})?P=1:I=!1:a({dragNode:N,dropNode:M,dropPosition:1})?P=1:I=!1,{dropPosition:P,dropLevelOffset:R,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:O,dropContainerKey:P===0?null:((d=b.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:I}}function O3(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function y1(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(Ke(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Kt(!1,"`checkedKeys` is not an array or an object"),null;return t}function M3(e,t){var n=new Set;function r(o){if(!n.has(o)){var a=t[o];if(a){n.add(o);var i=a.parent,l=a.node;l.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(o){r(o)}),xe(n)}var zJ=["children"];function Df(e,t){return e??t}function Rm(e){var t=e||{},n=t.title,r=t._title,o=t.key,a=t.children,i=n||"title";return{title:i,_title:r||[i],key:o||"key",children:a||"children"}}function HJ(e){function t(n){var r=kr(n);return r.map(function(o){if(!DJ(o))return Kt(!o,"Tree/TreeNode can only accept TreeNode as children."),null;var a=o.key,i=o.props,l=i.children,s=Oe(i,zJ),u=E({key:a},s),d=t(l);return d.length&&(u.children=d),u}).filter(function(o){return o})}return t(e)}function b1(e,t,n){var r=Rm(n),o=r._title,a=r.key,i=r.children,l=new Set(t===!0?[]:t),s=[];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(v,p){for(var m=O7(f?f.pos:"0",p),y=Df(v[a],m),h,g=0;g1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a=t.externalGetKey,i=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,u=a||s,d={},f={},v={posEntities:d,keyEntities:f};return n&&(v=n(v)||v),BJ(e,function(p){var m=p.node,y=p.index,h=p.pos,g=p.key,b=p.parentPos,C=p.level,x=p.nodes,S={node:m,nodes:x,index:y,key:g,pos:h,level:C},w=Df(g,h);d[h]=S,f[w]=S,S.parent=d[b],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),r&&r(S,v)},{externalGetKey:u,childrenPropName:i,fieldNames:l}),o&&o(v),v}function md(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=d[e],v={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:a.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:l.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1};return v}function Wn(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,i=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,v=e.active,p=e.eventKey,m=E(E({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:v,key:p});return"props"in m||Object.defineProperty(m,"props",{get:function(){return Kt(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}const VJ=function(e,t){var n=c.useRef({options:null,info:null}),r=c.useCallback(function(){return n.current.options!==e&&(n.current.options=e,n.current.info=mS(e,{fieldNames:t,initWrapper:function(a){return E(E({},a),{},{pathKeyEntities:{}})},processEntity:function(a,i){var l=a.nodes.map(function(s){return s[t.value]}).join(fS);i.pathKeyEntities[l]=a,a.key=l}})),n.current.info.pathKeyEntities},[t,e]);return r},WJ=function(e,t){return c.useCallback(function(n){var r=[],o=[];return n.forEach(function(a){var i=qd(a,e,t);i.every(function(l){return l.option})?o.push(a):r.push(a)}),[o,r]},[e,t])};function R3(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function KJ(e){return c.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&Ke(e)==="object"&&(t=E(E({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}var UJ=c.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function YJ(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,a=e.disabled,i=e.onClick,l=c.useContext(Ff),s=l.checkable,u=typeof s!="boolean"?s:null;return c.createElement("span",{className:G("".concat(n),(t={},A(t,"".concat(n,"-checked"),r),A(t,"".concat(n,"-indeterminate"),!r&&o),A(t,"".concat(n,"-disabled"),a),t)),onClick:i},u)}var M7="__cascader_fix_label__";function GJ(e){var t=e.prefixCls,n=e.multiple,r=e.options,o=e.activeValue,a=e.prevValuePath,i=e.onToggleOpen,l=e.onSelect,s=e.onActive,u=e.checkedSet,d=e.halfCheckedSet,f=e.loadingKeys,v=e.isSelectable,p=e.searchValue,m="".concat(t,"-menu"),y="".concat(t,"-menu-item"),h=c.useContext(Ff),g=h.fieldNames,b=h.changeOnSelect,C=h.expandTrigger,x=h.expandIcon,S=h.loadingIcon,w=h.dropdownMenuColumnStyle,$=C==="hover",O=c.useMemo(function(){return r.map(function(P){var R,T=P.disabled,N=P[dc],M=(R=P[M7])!==null&&R!==void 0?R:P[g.label],I=P[g.value],_=Gu(P,g),k=N?N.map(function(z){return z[g.value]}):[].concat(xe(a),[I]),F=da(k),D=f.includes(F),j=u.has(F),H=d.has(F);return{disabled:T,label:M,value:I,isLeaf:_,isLoading:D,checked:j,halfChecked:H,option:P,fullPath:k,fullPathKey:F}})},[r,u,g,d,f,a]);return c.createElement("ul",{className:m,role:"menu"},O.map(function(P){var R,T=P.disabled,N=P.label,M=P.value,I=P.isLeaf,_=P.isLoading,k=P.checked,F=P.halfChecked,D=P.option,j=P.fullPath,H=P.fullPathKey,z=function(){if(!(T||p)){var W=xe(j);$&&I&&W.pop(),s(W)}},B=function(){v(D)&&l(j,I)},V;return typeof D.title=="string"?V=D.title:typeof N=="string"&&(V=N),c.createElement("li",{key:H,className:G(y,(R={},A(R,"".concat(y,"-expand"),!I),A(R,"".concat(y,"-active"),o===M||o===H),A(R,"".concat(y,"-disabled"),T),A(R,"".concat(y,"-loading"),_),R)),style:w,role:"menuitemcheckbox",title:V,"aria-checked":k,"data-path-key":H,onClick:function(){z(),(!n||I)&&B()},onDoubleClick:function(){b&&i(!1)},onMouseEnter:function(){$&&z()},onMouseDown:function(W){W.preventDefault()}},n&&c.createElement(YJ,{prefixCls:"".concat(t,"-checkbox"),checked:k,halfChecked:F,disabled:T,onClick:function(W){W.stopPropagation(),B()}}),c.createElement("div",{className:"".concat(y,"-content")},N),!_&&x&&!I&&c.createElement("div",{className:"".concat(y,"-expand-icon")},x),_&&S&&c.createElement("div",{className:"".concat(y,"-loading-icon")},S))}))}const XJ=function(){var e=Of(),t=e.multiple,n=e.open,r=c.useContext(Ff),o=r.values,a=c.useState([]),i=U(a,2),l=i[0],s=i[1];return c.useEffect(function(){if(n&&!t){var u=o[0];s(u||[])}},[n]),[l,s]},qJ=function(e,t,n,r,o,a){var i=Of(),l=i.direction,s=i.searchValue,u=i.toggleOpen,d=i.open,f=l==="rtl",v=c.useMemo(function(){for(var w=-1,$=t,O=[],P=[],R=r.length,T=P7(t,n),N=function(D){var j=$.findIndex(function(H,z){return(T[z]?da(T[z]):H[n.value])===r[D]});if(j===-1)return"break";w=j,O.push(w),P.push(r[D]),$=$[w][n.children]},M=0;M1){var $=m.slice(0,-1);b($)}else u(!1)},S=function(){var $,O=(($=h[y])===null||$===void 0?void 0:$[n.children])||[],P=O.find(function(T){return!T.disabled});if(P){var R=[].concat(xe(m),[P[n.value]]);b(R)}};c.useImperativeHandle(e,function(){return{onKeyDown:function($){var O=$.which;switch(O){case ue.UP:case ue.DOWN:{var P=0;O===ue.UP?P=-1:O===ue.DOWN&&(P=1),P!==0&&C(P);break}case ue.LEFT:{f?S():x();break}case ue.RIGHT:{f?x():S();break}case ue.BACKSPACE:{s||x();break}case ue.ENTER:{if(m.length){var R=h[y],T=(R==null?void 0:R[dc])||[];T.length?a(T.map(function(N){return N[n.value]}),T[T.length-1]):a(m,h[y])}break}case ue.ESC:u(!1),d&&$.stopPropagation()}},onKeyUp:function(){}}})};var QJ=c.forwardRef(function(e,t){var n,r,o,a,i=Of(),l=i.prefixCls,s=i.multiple,u=i.searchValue,d=i.toggleOpen,f=i.notFoundContent,v=i.direction,p=i.open,m=c.useRef(),y=v==="rtl",h=c.useContext(Ff),g=h.options,b=h.values,C=h.halfValues,x=h.fieldNames,S=h.changeOnSelect,w=h.onSelect,$=h.searchOptions,O=h.dropdownPrefixCls,P=h.loadData,R=h.expandTrigger,T=O||l,N=c.useState([]),M=U(N,2),I=M[0],_=M[1],k=function(ne){if(!(!P||u)){var oe=qd(ne,g,x),le=oe.map(function(se){var ve=se.option;return ve}),de=le[le.length-1];if(de&&!Gu(de,x)){var pe=da(ne);_(function(se){return[].concat(xe(se),[pe])}),P(le)}}};c.useEffect(function(){I.length&&I.forEach(function(J){var ne=OJ(J),oe=qd(ne,g,x,!0).map(function(de){var pe=de.option;return pe}),le=oe[oe.length-1];(!le||le[x.children]||Gu(le,x))&&_(function(de){return de.filter(function(pe){return pe!==J})})})},[g,I,x]);var F=c.useMemo(function(){return new Set(Zs(b))},[b]),D=c.useMemo(function(){return new Set(Zs(C))},[C]),j=XJ(),H=U(j,2),z=H[0],B=H[1],V=function(ne){B(ne),k(ne)},K=function(ne){var oe=ne.disabled,le=Gu(ne,x);return!oe&&(le||S||s)},W=function(ne,oe){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;w(ne),!s&&(oe||S&&(R==="hover"||le))&&d(!1)},Y=c.useMemo(function(){return u?$:g},[u,$,g]),X=c.useMemo(function(){for(var J=[{options:Y}],ne=Y,oe=P7(ne,x),le=function(){var ve=z[de],he=ne.find(function(ie,fe){return(oe[fe]?da(oe[fe]):ie[x.value])===ve}),ce=he==null?void 0:he[x.children];if(!(ce!=null&&ce.length))return"break";ne=ce,J.push({options:ce})},de=0;de":N,I=e.loadingIcon,_=e.children,k=e.dropdownMatchSelectWidth,F=k===void 0?!1:k,D=e.showCheckedStrategy,j=D===void 0?$7:D,H=Oe(e,ZJ),z=P2(n),B=!!f,V=bt(i,{value:l,postState:I3}),K=U(V,2),W=K[0],Y=K[1],X=c.useMemo(function(){return MJ(a)},[JSON.stringify(a)]),Q=c.useMemo(function(){return h||[]},[h]),ae=VJ(Q,X),ee=c.useCallback(function(Ee){var Se=ae();return Ee.map(function(ke){var De=Se[ke].nodes;return De.map(function(He){return He[X.value]})})},[ae,X]),q=bt("",{value:v,postState:function(Se){return Se||""}}),re=U(q,2),te=re[0],J=re[1],ne=function(Se,ke){J(Se),ke.source!=="blur"&&p&&p(Se)},oe=KJ(m),le=U(oe,2),de=le[0],pe=le[1],se=PJ(te,Q,X,g||o,pe,s),ve=WJ(Q,X),he=c.useMemo(function(){var Ee=ve(W),Se=U(Ee,2),ke=Se[0],De=Se[1];if(!B||!W.length)return[ke,[],De];var He=Zs(ke),Me=ae(),yt=Ja(He,!0,Me),ot=yt.checkedKeys,ge=yt.halfCheckedKeys;return[ee(ot),ee(ge),De]},[B,W,ae,ee,ve]),ce=U(he,3),ie=ce[0],fe=ce[1],me=ce[2],Ce=c.useMemo(function(){var Ee=Zs(ie),Se=w3(Ee,ae,j);return[].concat(xe(me),xe(ee(Se)))},[ie,ae,ee,me,j]),ye=IJ(Ce,Q,X,B,d),Ne=R3(function(Ee){if(Y(Ee),u){var Se=I3(Ee),ke=Se.map(function(Me){return qd(Me,Q,X).map(function(yt){return yt.option})}),De=B?Se:Se[0],He=B?ke:ke[0];u(De,He)}}),_e=R3(function(Ee){if(J(""),!B)Ne(Ee);else{var Se=da(Ee),ke=Zs(ie),De=Zs(fe),He=ke.includes(Se),Me=me.some(function(xt){return da(xt)===Se}),yt=ie,ot=me;if(Me&&!He)ot=me.filter(function(xt){return da(xt)!==Se});else{var ge=He?ke.filter(function(xt){return xt!==Se}):[].concat(xe(ke),[Se]),Re=ae(),we;if(He){var Le=Ja(ge,{checked:!1,halfCheckedKeys:De},Re);we=Le.checkedKeys}else{var Je=Ja(ge,!0,Re);we=Je.checkedKeys}var ct=w3(we,ae,j);yt=ee(ct)}Ne([].concat(xe(ot),xe(yt)))}}),Ue=function(Se,ke){if(ke.type==="clear"){Ne([]);return}var De=ke.values[0],He=De.valueCells;_e(He)},Ge=x!==void 0?x:C,$e=w||S,Ie=P||O,ze=function(Se){R==null||R(Se),T==null||T(Se)},gt=c.useMemo(function(){return{options:Q,fieldNames:X,values:ie,halfValues:fe,changeOnSelect:s,onSelect:_e,checkable:f,searchOptions:se,dropdownPrefixCls:g,loadData:b,expandTrigger:y,expandIcon:M,loadingIcon:I,dropdownMenuColumnStyle:$}},[Q,X,ie,fe,s,_e,f,se,g,b,y,M,I,$]),ft=!(te?se:Q).length,Ct=te&&pe.matchInputWidth||ft?{}:{minWidth:"auto"};return c.createElement(Ff.Provider,{value:gt},c.createElement(E2,be({},H,{ref:t,id:z,prefixCls:o,dropdownMatchSelectWidth:F,dropdownStyle:Ct,displayValues:ye,onDisplayValuesChange:Ue,mode:B?"multiple":void 0,searchValue:te,onSearch:ne,showSearch:de,OptionList:QJ,emptyOptions:ft,open:Ge,dropdownClassName:$e,placement:Ie,onDropdownVisibleChange:ze,getRawInputElement:function(){return _}})))});bg.SHOW_PARENT=$7;bg.SHOW_CHILD=E7;const eee=new It("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),tee=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},At(e)),{display:"inline-flex"}),[n]:Object.assign(Object.assign({},At(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:e.marginXS},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},At(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"start",transform:`translate(0, ${e.lineHeight*e.fontSize/2-e.checkboxSize/2}px)`,[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Vl(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px 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}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:eee,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function hS(e,t){const n=St(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[tee(n)]}const R7=Ut("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[hS(n,e)]}),nee=e=>{const{prefixCls:t,componentCls:n,antCls:r}=e,o=`${n}-menu-item`,a=` + &${o}-expand ${o}-expand-icon, + ${o}-loading-icon + `,i=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[hS(`${t}-checkbox`,e),{[`&${r}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[o]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},ua),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${i}px ${e.paddingSM}px`,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"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${o}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},qc(e)]},ree=Ut("Cascader",e=>[nee(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var oee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);os===0?[l]:[].concat(xe(i),[t,l]),[]),o=[];let a=0;return r.forEach((i,l)=>{const s=a+i.length;let u=e.slice(a,s);a=s,l%2===1&&(u=c.createElement("span",{className:`${n}-menu-item-keyword`,key:`separator-${l}`},u)),o.push(u)}),o}const see=(e,t,n,r)=>{const o=[],a=e.toLowerCase();return t.forEach((i,l)=>{l!==0&&o.push(" / ");let s=i[r.label];const u=typeof s;(u==="string"||u==="number")&&(s=lee(String(s),a,n)),o.push(s)}),o},Lf=c.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,className:a,rootClassName:i,multiple:l,bordered:s=!0,transitionName:u,choiceTransitionName:d="",popupClassName:f,dropdownClassName:v,expandIcon:p,placement:m,showSearch:y,allowClear:h=!0,notFoundContent:g,direction:b,getPopupContainer:C,status:x,showArrow:S,builtinPlacements:w}=e,$=oee(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements"]),O=On($,["suffixIcon"]),{getPopupContainer:P,getPrefixCls:R,renderEmpty:T,direction:N}=c.useContext(rt),M=b||N,I=M==="rtl",{status:_,hasFeedback:k,isFormItemInput:F,feedbackIcon:D}=c.useContext(Cr),j=nl(_,x),H=g||(T==null?void 0:T("Cascader"))||c.createElement(T2,{componentName:"Cascader"}),z=R(),B=R("select",n),V=R("cascader",n),[K,W]=_2(B),[Y]=ree(V),{compactSize:X,compactItemClassnames:Q}=ka(B,b),ae=G(f||v,`${V}-dropdown`,{[`${V}-dropdown-rtl`]:M==="rtl"},i,W),ee=c.useMemo(()=>{if(!y)return y;let fe={render:see};return typeof y=="object"&&(fe=Object.assign(Object.assign({},fe),y)),fe},[y]),q=c.useContext(ur),re=X||r||q,te=c.useContext(Xr),J=o??te;let ne=p;p||(ne=I?c.createElement($m,null):c.createElement(Ic,null));const oe=c.createElement("span",{className:`${B}-menu-item-loading-icon`},c.createElement(ai,{spin:!0})),le=c.useMemo(()=>l?c.createElement("span",{className:`${V}-checkbox-inner`}):!1,[l]),de=F2(S),{suffixIcon:pe,removeIcon:se,clearIcon:ve}=A2(Object.assign(Object.assign({},e),{hasFeedback:k,feedbackIcon:D,showArrow:de,multiple:l,prefixCls:B})),he=c.useMemo(()=>m!==void 0?m:I?"bottomRight":"bottomLeft",[m,I]),ce=k2(w),ie=c.createElement(bg,Object.assign({prefixCls:B,className:G(!n&&V,{[`${B}-lg`]:re==="large",[`${B}-sm`]:re==="small",[`${B}-rtl`]:I,[`${B}-borderless`]:!s,[`${B}-in-form-item`]:F},po(B,j,k),Q,a,i,W),disabled:J},O,{builtinPlacements:ce,direction:M,placement:he,notFoundContent:H,allowClear:h,showSearch:ee,expandIcon:ne,inputIcon:pe,removeIcon:se,clearIcon:ve,loadingIcon:oe,checkable:le,dropdownClassName:ae,dropdownPrefixCls:n||V,choiceTransitionName:Yr(z,"",d),transitionName:Yr(z,C2(m),u),getPopupContainer:C||P,ref:t,showArrow:k||de}));return Y(K(ie))}),cee=rs(Lf);Lf.SHOW_PARENT=iee;Lf.SHOW_CHILD=aee;Lf._InternalPanelDoNotUseOrYouWillBeFired=cee;const uee=Lf;var dee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{defaultValue:n,children:r,options:o=[],prefixCls:a,className:i,rootClassName:l,style:s,onChange:u}=e,d=dee(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]);const{getPrefixCls:f,direction:v}=c.useContext(rt),[p,m]=c.useState(d.value||n||[]),[y,h]=c.useState([]);c.useEffect(()=>{"value"in d&&m(d.value||[])},[d.value]);const g=()=>o.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),b=N=>{h(M=>M.filter(I=>I!==N))},C=N=>{h(M=>[].concat(xe(M),[N]))},x=N=>{const M=p.indexOf(N.value),I=xe(p);M===-1?I.push(N.value):I.splice(M,1),"value"in d||m(I);const _=g();u==null||u(I.filter(k=>y.includes(k)).sort((k,F)=>{const D=_.findIndex(H=>H.value===k),j=_.findIndex(H=>H.value===F);return D-j}))},S=f("checkbox",a),w=`${S}-group`,[$,O]=R7(S),P=On(d,["value","disabled"]);o&&o.length>0&&(r=g().map(N=>c.createElement(N7,{prefixCls:S,key:N.value.toString(),disabled:"disabled"in N?N.disabled:d.disabled,value:N.value,checked:p.includes(N.value),onChange:N.onChange,className:`${w}-item`,style:N.style},N.label)));const R={toggleOption:x,value:p,disabled:d.disabled,name:d.name,registerValue:C,cancelValue:b},T=G(w,{[`${w}-rtl`]:v==="rtl"},i,l,O);return $(c.createElement("div",Object.assign({className:T,style:s},P,{ref:t}),c.createElement(I7.Provider,{value:R},r)))},vee=c.forwardRef(fee),pee=c.memo(vee);var mee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,{prefixCls:r,className:o,rootClassName:a,children:i,indeterminate:l=!1,style:s,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:v}=e,p=mee(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]);const{getPrefixCls:m,direction:y}=c.useContext(rt),h=c.useContext(I7),{isFormItemInput:g}=c.useContext(Cr),b=c.useContext(Xr),C=(n=(h==null?void 0:h.disabled)||v)!==null&&n!==void 0?n:b,x=c.useRef(p.value);c.useEffect(()=>{h==null||h.registerValue(p.value)},[]),c.useEffect(()=>{if(!f)return p.value!==x.current&&(h==null||h.cancelValue(x.current),h==null||h.registerValue(p.value),x.current=p.value),()=>h==null?void 0:h.cancelValue(p.value)},[p.value]);const S=m("checkbox",r),[w,$]=R7(S),O=Object.assign({},p);h&&!f&&(O.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),h.toggleOption&&h.toggleOption({label:i,value:p.value})},O.name=h.name,O.checked=h.value.includes(p.value));const P=G({[`${S}-wrapper`]:!0,[`${S}-rtl`]:y==="rtl",[`${S}-wrapper-checked`]:O.checked,[`${S}-wrapper-disabled`]:C,[`${S}-wrapper-in-form-item`]:g},o,a,$),R=G({[`${S}-indeterminate`]:l},$),T=l?"mixed":void 0;return w(c.createElement("label",{className:P,style:s,onMouseEnter:u,onMouseLeave:d},c.createElement(c7,Object.assign({"aria-checked":T},O,{prefixCls:S,className:R,disabled:C,ref:t})),i!==void 0&&c.createElement("span",null,i)))},gee=c.forwardRef(hee),N7=gee,gS=N7;gS.Group=pee;gS.__ANT_CHECKBOX=!0;const T7=gS,yee=c.createContext({}),_7=yee,bee=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},Cee=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},xee=(e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let a=r;a>=0;a--)a===0?(o[`${n}${t}-${a}`]={display:"none"},o[`${n}-push-${a}`]={insetInlineStart:"auto"},o[`${n}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${a}`]={marginInlineStart:0},o[`${n}${t}-order-${a}`]={order:0}):(o[`${n}${t}-${a}`]={display:"block",flex:`0 0 ${a/r*100}%`,maxWidth:`${a/r*100}%`},o[`${n}${t}-push-${a}`]={insetInlineStart:`${a/r*100}%`},o[`${n}${t}-pull-${a}`]={insetInlineEnd:`${a/r*100}%`},o[`${n}${t}-offset-${a}`]={marginInlineStart:`${a/r*100}%`},o[`${n}${t}-order-${a}`]={order:a});return o},Xb=(e,t)=>xee(e,t),See=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},Xb(e,n))}),wee=Ut("Grid",e=>[bee(e)]),$ee=Ut("Grid",e=>{const t=St(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[Cee(t),Xb(t,""),Xb(t,"-xs"),Object.keys(n).map(r=>See(t,n[r],r)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]});var Eee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=c.useContext(rt),{gutter:o,wrap:a,supportFlexGap:i}=c.useContext(_7),{prefixCls:l,span:s,order:u,offset:d,push:f,pull:v,className:p,children:m,flex:y,style:h}=e,g=Eee(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),b=n("col",l),[C,x]=$ee(b);let S={};Oee.forEach(O=>{let P={};const R=e[O];typeof R=="number"?P.span=R:typeof R=="object"&&(P=R||{}),delete g[O],S=Object.assign(Object.assign({},S),{[`${b}-${O}-${P.span}`]:P.span!==void 0,[`${b}-${O}-order-${P.order}`]:P.order||P.order===0,[`${b}-${O}-offset-${P.offset}`]:P.offset||P.offset===0,[`${b}-${O}-push-${P.push}`]:P.push||P.push===0,[`${b}-${O}-pull-${P.pull}`]:P.pull||P.pull===0,[`${b}-${O}-flex-${P.flex}`]:P.flex||P.flex==="auto",[`${b}-rtl`]:r==="rtl"})});const w=G(b,{[`${b}-${s}`]:s!==void 0,[`${b}-order-${u}`]:u,[`${b}-offset-${d}`]:d,[`${b}-push-${f}`]:f,[`${b}-pull-${v}`]:v},p,S,x),$={};if(o&&o[0]>0){const O=o[0]/2;$.paddingLeft=O,$.paddingRight=O}if(o&&o[1]>0&&!i){const O=o[1]/2;$.paddingTop=O,$.paddingBottom=O}return y&&($.flex=Pee(y),a===!1&&!$.minWidth&&($.minWidth=0)),C(c.createElement("div",Object.assign({},g,{style:Object.assign(Object.assign({},$),h),className:w,ref:t}),m))}),yS=Mee;var Ree=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(typeof e=="string"&&r(e),typeof e=="object")for(let a=0;a{o()},[JSON.stringify(e),t]),n}const Iee=c.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:a,style:i,children:l,gutter:s=0,wrap:u}=e,d=Ree(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:v}=c.useContext(rt),[p,m]=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[y,h]=c.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),g=N3(o,y),b=N3(r,y),C=PN(),x=c.useRef(s),S=II();c.useEffect(()=>{const D=S.subscribe(j=>{h(j);const H=x.current||0;(!Array.isArray(H)&&typeof H=="object"||Array.isArray(H)&&(typeof H[0]=="object"||typeof H[1]=="object"))&&m(j)});return()=>S.unsubscribe(D)},[]);const w=()=>{const D=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((H,z)=>{if(typeof H=="object")for(let B=0;B0?R[0]/-2:void 0,I=R[1]!=null&&R[1]>0?R[1]/-2:void 0;M&&(N.marginLeft=M,N.marginRight=M),C?[,N.rowGap]=R:I&&(N.marginTop=I,N.marginBottom=I);const[_,k]=R,F=c.useMemo(()=>({gutter:[_,k],wrap:u,supportFlexGap:C}),[_,k,u,C]);return O(c.createElement(_7.Provider,{value:F},c.createElement("div",Object.assign({},d,{className:T,style:Object.assign(Object.assign({},N),i),ref:t}),l)))}),k7=Iee;function Nee(e){return c.createElement(li,Object.assign({size:"small",type:"primary"},e))}var Tee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const _ee=Tee;var F7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:_ee}))};F7.displayName="CalendarOutlined";const D7=c.forwardRef(F7);var kee={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const Fee=kee;var L7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Fee}))};L7.displayName="ClockCircleOutlined";const A7=c.forwardRef(L7);var Dee={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const Lee=Dee;var j7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Lee}))};j7.displayName="SwapRightOutlined";const Aee=c.forwardRef(j7);function jee(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function zee(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function bS(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}var Hee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:o,getPopupContainer:a,className:i,placement:l,size:s,disabled:u,bordered:d=!0,placeholder:f,popupClassName:v,dropdownClassName:p,status:m}=n,y=Hee(n,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),h=c.useRef(null),{getPrefixCls:g,direction:b,getPopupContainer:C}=c.useContext(rt),x=g("picker",o),{compactSize:S,compactItemClassnames:w}=ka(x,b),{format:$,showTime:O,picker:P}=n,R=g(),[T,N]=m7(x);let M={};M=Object.assign(Object.assign(Object.assign({},M),O?Im(Object.assign({format:$,picker:P},O)):{}),P==="time"?Im(Object.assign(Object.assign({format:$},n),{picker:P})):{});const I=c.useContext(ur),_=S||s||I,k=c.useContext(Xr),F=u??k,D=c.useContext(Cr),{hasFeedback:j,status:H,feedbackIcon:z}=D,B=c.createElement(c.Fragment,null,P==="time"?c.createElement(A7,null):c.createElement(D7,null),j&&z);c.useImperativeHandle(r,()=>({focus:()=>{var W;return(W=h.current)===null||W===void 0?void 0:W.focus()},blur:()=>{var W;return(W=h.current)===null||W===void 0?void 0:W.blur()}}));const[V]=Uh("Calendar",fm),K=Object.assign(Object.assign({},V),n.locale);return T(c.createElement(NQ,Object.assign({separator:c.createElement("span",{"aria-label":"to",className:`${x}-separator`},c.createElement(Aee,null)),disabled:F,ref:h,dropdownAlign:bS(b,l),placeholder:zee(K,P,f),suffixIcon:B,clearIcon:c.createElement(fi,null),prevIcon:c.createElement("span",{className:`${x}-prev-icon`}),nextIcon:c.createElement("span",{className:`${x}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${x}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${x}-super-next-icon`}),allowClear:!0,transitionName:`${R}-slide-up`},y,M,{className:G({[`${x}-${_}`]:_,[`${x}-borderless`]:!d},po(x,nl(H,m),j),N,w,i),locale:K.lang,prefixCls:x,getPopupContainer:a||C,generateConfig:e,components:z7,direction:b,dropdownClassName:G(N,v||p)})))})}var Vee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:p,getPopupContainer:m,className:y,rootClassName:h,size:g,bordered:b=!0,placement:C,placeholder:x,popupClassName:S,dropdownClassName:w,disabled:$,status:O}=f,P=Vee(f,["prefixCls","getPopupContainer","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),{getPrefixCls:R,direction:T,getPopupContainer:N}=c.useContext(rt),M=R("picker",p),{compactSize:I,compactItemClassnames:_}=ka(M,T),k=c.useRef(null),{format:F,showTime:D}=f,[j,H]=m7(M);c.useImperativeHandle(v,()=>({focus:()=>{var oe;return(oe=k.current)===null||oe===void 0?void 0:oe.focus()},blur:()=>{var oe;return(oe=k.current)===null||oe===void 0?void 0:oe.blur()}}));const z={showToday:!0};let B={};s&&(B.picker=s);const V=s||f.picker;B=Object.assign(Object.assign(Object.assign({},B),D?Im(Object.assign({format:F,picker:V},D)):{}),V==="time"?Im(Object.assign(Object.assign({format:F},f),{picker:V})):{});const K=R(),W=c.useContext(ur),Y=I||g||W,X=c.useContext(Xr),Q=$??X,ae=c.useContext(Cr),{hasFeedback:ee,status:q,feedbackIcon:re}=ae,te=c.createElement(c.Fragment,null,V==="time"?c.createElement(A7,null):c.createElement(D7,null),ee&&re),[J]=Uh("DatePicker",fm),ne=Object.assign(Object.assign({},J),f.locale);return j(c.createElement(EQ,Object.assign({ref:k,placeholder:jee(ne,V,x),suffixIcon:te,dropdownAlign:bS(T,C),clearIcon:c.createElement(fi,null),prevIcon:c.createElement("span",{className:`${M}-prev-icon`}),nextIcon:c.createElement("span",{className:`${M}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${M}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${M}-super-next-icon`}),allowClear:!0,transitionName:`${K}-slide-up`},z,P,B,{locale:ne.lang,className:G({[`${M}-${Y}`]:Y,[`${M}-borderless`]:!b},po(M,nl(q,O),ee),H,_,y,h),prefixCls:M,getPopupContainer:m||N,generateConfig:e,components:z7,direction:T,disabled:Q,dropdownClassName:G(H,h,S||w)})))});return u&&(d.displayName=u),d}const n=t(),r=t("week","WeekPicker"),o=t("month","MonthPicker"),a=t("year","YearPicker"),i=t("time","TimePicker"),l=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:a,TimePicker:i,QuarterPicker:l}}const z7={button:Nee};function Kee(e){return e?Array.isArray(e)?e:[e]:[]}function Im(e){const{format:t,picker:n,showHour:r,showMinute:o,showSecond:a,use12Hours:i}=e,l=Kee(t)[0],s=Object.assign({},e);return l&&typeof l=="string"&&(!l.includes("s")&&a===void 0&&(s.showSecond=!1),!l.includes("m")&&o===void 0&&(s.showMinute=!1),!l.includes("H")&&!l.includes("h")&&r===void 0&&(s.showHour=!1),(l.includes("a")||l.includes("A"))&&i===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof l=="function"&&delete s.format,{showTime:s})}function Uee(e){const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:a,QuarterPicker:i}=Wee(e),l=Bee(e),s=t;return s.WeekPicker=n,s.MonthPicker=r,s.YearPicker=o,s.RangePicker=l,s.TimePicker=a,s.QuarterPicker=i,s}const Af=Uee(Lq);function H7(e){const t=bS(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Yee=rs(Af,"picker",null,H7);Af._InternalPanelDoNotUseOrYouWillBeFired=Yee;const Gee=rs(Af.RangePicker,"picker",null,H7);Af._InternalRangePanelDoNotUseOrYouWillBeFired=Gee;const Tc=Af,Xee=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},At(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStart:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},qee=Ut("Divider",e=>{const t=St(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[Xee(t)]},{sizePaddingEdgeHorizontal:0});var Qee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=c.useContext(rt),{prefixCls:r,type:o="horizontal",orientation:a="center",orientationMargin:i,className:l,rootClassName:s,children:u,dashed:d,plain:f}=e,v=Qee(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain"]),p=t("divider",r),[m,y]=qee(p),h=a.length>0?`-${a}`:a,g=!!u,b=a==="left"&&i!=null,C=a==="right"&&i!=null,x=G(p,y,`${p}-${o}`,{[`${p}-with-text`]:g,[`${p}-with-text${h}`]:g,[`${p}-dashed`]:!!d,[`${p}-plain`]:!!f,[`${p}-rtl`]:n==="rtl",[`${p}-no-default-orientation-margin-left`]:b,[`${p}-no-default-orientation-margin-right`]:C},l,s),S=Object.assign(Object.assign({},b&&{marginLeft:i}),C&&{marginRight:i});return m(c.createElement("div",Object.assign({className:x},v,{role:"separator"}),u&&o!=="vertical"&&c.createElement("span",{className:`${p}-inner-text`,style:S},u)))},Jee=Zee;var ete=function(t){var n=t.prefixCls,r=t.className,o=t.style,a=t.children,i=t.containerRef;return c.createElement(c.Fragment,null,c.createElement("div",{className:G("".concat(n,"-content"),r),style:E({},o),"aria-modal":"true",role:"dialog",ref:i},a))},T3=c.createContext(null);function _3(e){return typeof e=="string"&&String(Number(e))===e?(Kt(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var k3={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function tte(e,t){var n,r,o,a,i=e.prefixCls,l=e.open,s=e.placement,u=e.inline,d=e.push,f=e.forceRender,v=e.autoFocus,p=e.keyboard,m=e.rootClassName,y=e.rootStyle,h=e.zIndex,g=e.className,b=e.style,C=e.motion,x=e.width,S=e.height,w=e.children,$=e.contentWrapperStyle,O=e.mask,P=e.maskClosable,R=e.maskMotion,T=e.maskClassName,N=e.maskStyle,M=e.afterOpenChange,I=e.onClose,_=c.useRef(),k=c.useRef(),F=c.useRef();c.useImperativeHandle(t,function(){return _.current});var D=function(te){var J=te.keyCode,ne=te.shiftKey;switch(J){case ue.TAB:{if(J===ue.TAB){if(!ne&&document.activeElement===F.current){var oe;(oe=k.current)===null||oe===void 0||oe.focus({preventScroll:!0})}else if(ne&&document.activeElement===k.current){var le;(le=F.current)===null||le===void 0||le.focus({preventScroll:!0})}}break}case ue.ESC:{I&&p&&(te.stopPropagation(),I(te));break}}};c.useEffect(function(){if(l&&v){var re;(re=_.current)===null||re===void 0||re.focus({preventScroll:!0})}},[l]);var j=c.useState(!1),H=U(j,2),z=H[0],B=H[1],V=c.useContext(T3),K;d===!1?K={distance:0}:d===!0?K={}:K=d||{};var W=(n=(r=(o=K)===null||o===void 0?void 0:o.distance)!==null&&r!==void 0?r:V==null?void 0:V.pushDistance)!==null&&n!==void 0?n:180,Y=c.useMemo(function(){return{pushDistance:W,push:function(){B(!0)},pull:function(){B(!1)}}},[W]);c.useEffect(function(){if(l){var re;V==null||(re=V.push)===null||re===void 0||re.call(V)}else{var te;V==null||(te=V.pull)===null||te===void 0||te.call(V)}},[l]),c.useEffect(function(){return function(){var re;V==null||(re=V.pull)===null||re===void 0||re.call(V)}},[]);var X=O&&c.createElement(er,be({key:"mask"},R,{visible:l}),function(re,te){var J=re.className,ne=re.style;return c.createElement("div",{className:G("".concat(i,"-mask"),J,T),style:E(E({},ne),N),onClick:P&&l?I:void 0,ref:te})}),Q=typeof C=="function"?C(s):C,ae={};if(z&&W)switch(s){case"top":ae.transform="translateY(".concat(W,"px)");break;case"bottom":ae.transform="translateY(".concat(-W,"px)");break;case"left":ae.transform="translateX(".concat(W,"px)");break;default:ae.transform="translateX(".concat(-W,"px)");break}s==="left"||s==="right"?ae.width=_3(x):ae.height=_3(S);var ee=c.createElement(er,be({key:"panel"},Q,{visible:l,forceRender:f,onVisibleChanged:function(te){M==null||M(te)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(re,te){var J=re.className,ne=re.style;return c.createElement("div",{className:G("".concat(i,"-content-wrapper"),J),style:E(E(E({},ae),ne),$)},c.createElement(ete,{containerRef:te,prefixCls:i,className:g,style:b},w))}),q=E({},y);return h&&(q.zIndex=h),c.createElement(T3.Provider,{value:Y},c.createElement("div",{className:G(i,"".concat(i,"-").concat(s),m,(a={},A(a,"".concat(i,"-open"),l),A(a,"".concat(i,"-inline"),u),a)),style:q,tabIndex:-1,ref:_,onKeyDown:D},X,c.createElement("div",{tabIndex:0,ref:k,style:k3,"aria-hidden":"true","data-sentinel":"start"}),ee,c.createElement("div",{tabIndex:0,ref:F,style:k3,"aria-hidden":"true","data-sentinel":"end"})))}var nte=c.forwardRef(tte),rte=function(t){var n=t.open,r=n===void 0?!1:n,o=t.prefixCls,a=o===void 0?"rc-drawer":o,i=t.placement,l=i===void 0?"right":i,s=t.autoFocus,u=s===void 0?!0:s,d=t.keyboard,f=d===void 0?!0:d,v=t.width,p=v===void 0?378:v,m=t.mask,y=m===void 0?!0:m,h=t.maskClosable,g=h===void 0?!0:h,b=t.getContainer,C=t.forceRender,x=t.afterOpenChange,S=t.destroyOnClose,w=c.useState(!1),$=U(w,2),O=$[0],P=$[1],R=c.useState(!1),T=U(R,2),N=T[0],M=T[1];tn(function(){M(!0)},[]);var I=N?r:!1,_=c.useRef(),k=c.useRef();tn(function(){I&&(k.current=document.activeElement)},[I]);var F=function(H){var z;if(P(H),x==null||x(H),!H&&k.current&&!(!((z=_.current)===null||z===void 0)&&z.contains(k.current))){var B;(B=k.current)===null||B===void 0||B.focus()}};if(!C&&!O&&!I&&S)return null;var D=E(E({},t),{},{open:I,prefixCls:a,placement:l,autoFocus:u,keyboard:f,width:p,mask:y,maskClosable:g,inline:b===!1,afterOpenChange:F,ref:_});return c.createElement($f,{open:I||C||O,autoDestroy:!1,getContainer:b,autoLock:y&&(I||O)},c.createElement(nte,D))};const ote=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closable:a=!0,closeIcon:i=c.createElement(ns,null),onClose:l,headerStyle:s,drawerStyle:u,bodyStyle:d,footerStyle:f,children:v}=e,p=a&&c.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${t}-close`},i),m=c.useMemo(()=>!n&&!a?null:c.createElement("div",{style:s,className:G(`${t}-header`,{[`${t}-header-close-only`]:a&&!n&&!o})},c.createElement("div",{className:`${t}-header-title`},p,n&&c.createElement("div",{className:`${t}-title`},n)),o&&c.createElement("div",{className:`${t}-extra`},o)),[a,p,o,s,t,n]),y=c.useMemo(()=>{if(!r)return null;const h=`${t}-footer`;return c.createElement("div",{className:h,style:f},r)},[r,f,t]);return c.createElement("div",{className:`${t}-wrapper-body`,style:u},m,c.createElement("div",{className:`${t}-body`,style:d},v),y)},B7=ote,ate=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},ite=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:a,motionDurationMid:i,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:d,lineWidth:f,lineType:v,colorSplit:p,marginSM:m,colorIcon:y,colorIconHover:h,colorText:g,fontWeightStrong:b,drawerFooterPaddingVertical:C,drawerFooterPaddingHorizontal:x}=e,S=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[S]:{position:"absolute",zIndex:n,transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${S}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${S}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${S}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${S}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:u,lineHeight:d,borderBottom:`${f}px ${v} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:m,color:y,fontWeight:b,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${i}`,textRendering:"auto","&:focus, &:hover":{color:h,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:g,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:d},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${C}px ${x}px`,borderTop:`${f}px ${v} ${p}`},"&-rtl":{direction:"rtl"}}}},V7=Ut("Drawer",e=>{const t=St(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[ite(t),ate(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var W7=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oy(document.body):f,w=G({"no-mask":!a,[`${b}-rtl`]:g==="rtl"},t,x),$=c.useMemo(()=>n??(o==="large"?736:378),[n,o]),O=c.useMemo(()=>r??(o==="large"?736:378),[r,o]),P={motionName:Yr(b,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},R=T=>({motionName:Yr(b,`panel-motion-${T}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500});return C(c.createElement(Wl,null,c.createElement(Ud,{status:!0,override:!0},c.createElement(rte,Object.assign({prefixCls:b,onClose:u,maskMotion:P,motion:R},m,{open:l??v,mask:a,push:i,width:$,height:O,rootClassName:w,getContainer:S,afterOpenChange:s??p}),c.createElement(B7,Object.assign({prefixCls:b},m,{onClose:u}))))))}function ste(e){var{prefixCls:t,style:n,className:r,placement:o="right"}=e,a=W7(e,["prefixCls","style","className","placement"]);const{getPrefixCls:i}=c.useContext(rt),l=i("drawer",t),[s,u]=V7(l);return s(c.createElement("div",{className:G(l,`${l}-pure`,`${l}-${o}`,u,r),style:n},c.createElement(B7,Object.assign({prefixCls:l},a))))}K7._InternalPanelDoNotUseOrYouWillBeFired=ste;function Nm(e){const[t,n]=c.useState(e);return c.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const cte=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},ute=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),F3=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},dte=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},At(e)),ute(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},F3(e,e.controlHeightSM)),"&-large":Object.assign({},F3(e,e.controlHeightLG))})}},fte=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},At(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:S2,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},vte=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},pte=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Fs=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),mte=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:Fs(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, + ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},hte=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:Fs(e),[`@media (max-width: ${e.screenXSMax}px)`]:[mte(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:Fs(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:Fs(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:Fs(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:Fs(e)}}}},CS=Ut("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=St(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[dte(r),fte(r),cte(r),vte(r),pte(r),hte(r),iI(r),S2]}),D3=[];function C1(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}function U7(e){let{help:t,helpStatus:n,errors:r=D3,warnings:o=D3,className:a,fieldId:i,onVisibleChanged:l}=e;const{prefixCls:s}=c.useContext(x2),u=`${s}-item-explain`,[,d]=CS(s),f=c.useMemo(()=>Ob(s),[s]),v=Nm(r),p=Nm(o),m=c.useMemo(()=>t!=null?[C1(t,"help",n)]:[].concat(xe(v.map((h,g)=>C1(h,"error","error",g))),xe(p.map((h,g)=>C1(h,"warning","warning",g)))),[t,n,v,p]),y={};return i&&(y.id=`${i}_help`),c.createElement(er,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!m.length,onVisibleChanged:l},h=>{const{className:g,style:b}=h;return c.createElement("div",Object.assign({},y,{className:G(u,g,a,d),style:b,role:"alert"}),c.createElement(zR,Object.assign({keys:m},Ob(s),{motionName:`${s}-show-help-item`,component:!1}),C=>{const{key:x,error:S,errorStatus:w,className:$,style:O}=C;return c.createElement("div",{key:x,className:G($,{[`${u}-${w}`]:w}),style:O},S)}))})}const gte=["parentNode"],yte="form_item";function hd(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Y7(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:gte.includes(n)?`${yte}_${n}`:n}function L3(e){return hd(e).join("_")}function G7(e){const[t]=l2(),n=c.useRef({}),r=c.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>a=>{const i=L3(o);a?n.current[i]=a:delete n.current[i]}},scrollToField:function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=hd(o),l=Y7(i,r.__INTERNAL__.name),s=l?document.getElementById(l):null;s&&WB(s,Object.assign({scrollMode:"if-needed",block:"nearest"},a))},getFieldInstance:o=>{const a=L3(o);return n.current[a]}}),[e,t]);return[r]}var bte=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=c.useContext(ur),r=c.useContext(Xr),{getPrefixCls:o,direction:a,form:i}=c.useContext(rt),{prefixCls:l,className:s,rootClassName:u,size:d=n,disabled:f=r,form:v,colon:p,labelAlign:m,labelWrap:y,labelCol:h,wrapperCol:g,hideRequiredMark:b,layout:C="horizontal",scrollToFirstError:x,requiredMark:S,onFinishFailed:w,name:$}=e,O=bte(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),P=c.useMemo(()=>S!==void 0?S:i&&i.requiredMark!==void 0?i.requiredMark:!b,[b,S,i]),R=p??(i==null?void 0:i.colon),T=o("form",l),[N,M]=CS(T),I=G(T,{[`${T}-${C}`]:!0,[`${T}-hide-required-mark`]:P===!1,[`${T}-rtl`]:a==="rtl",[`${T}-${d}`]:d},M,s,u),[_]=G7(v),{__INTERNAL__:k}=_;k.name=$;const F=c.useMemo(()=>({name:$,labelAlign:m,labelCol:h,labelWrap:y,wrapperCol:g,vertical:C==="vertical",colon:R,requiredMark:P,itemRef:k.itemRef,form:_}),[$,m,h,g,C,R,P,_]);c.useImperativeHandle(t,()=>_);const D=(H,z)=>{if(H){let B={block:"nearest"};typeof H=="object"&&(B=H),_.scrollToField(z,B)}},j=H=>{if(w==null||w(H),H.errorFields.length){const z=H.errorFields[0].name;if(x!==void 0){D(x,z);return}i&&i.scrollToFirstError!==void 0&&D(i.scrollToFirstError,z)}};return N(c.createElement(mR,{disabled:f},c.createElement(hR,{size:d},c.createElement(Xi.Provider,{value:F},c.createElement(Gc,Object.assign({id:$},O,{name:$,onFinishFailed:j,form:_,className:I}))))))},xte=c.forwardRef(Cte),X7=()=>{const{status:e,errors:t=[],warnings:n=[]}=c.useContext(Cr);return{status:e,errors:t,warnings:n}};X7.Context=Cr;const Ste=X7;function wte(e){const[t,n]=c.useState(e),r=c.useRef(null),o=c.useRef([]),a=c.useRef(!1);c.useEffect(()=>(a.current=!1,()=>{a.current=!0,Ft.cancel(r.current),r.current=null}),[]);function i(l){a.current||(r.current===null&&(o.current=[],r.current=Ft(()=>{r.current=null,n(s=>{let u=s;return o.current.forEach(d=>{u=d(u)}),u})})),o.current.push(l))}return[t,i]}function $te(){const{itemRef:e}=c.useContext(Xi),t=c.useRef({});function n(r,o){const a=o&&typeof o=="object"&&o.ref,i=r.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=cr(e(r),a)),t.current.ref}return n}const Ete=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:a,warnings:i,_internalItemRender:l,extra:s,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:v}=e,p=`${t}-item`,m=c.useContext(Xi),y=r||m.wrapperCol||{},h=G(`${p}-control`,y.className),g=c.useMemo(()=>Object.assign({},m),[m]);delete g.labelCol,delete g.wrapperCol;const b=c.createElement("div",{className:`${p}-control-input`},c.createElement("div",{className:`${p}-control-input-content`},o)),C=c.useMemo(()=>({prefixCls:t,status:n}),[t,n]),x=f!==null||a.length||i.length?c.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},c.createElement(x2.Provider,{value:C},c.createElement(U7,{fieldId:d,errors:a,warnings:i,help:u,helpStatus:n,className:`${p}-explain-connected`,onVisibleChanged:v})),!!f&&c.createElement("div",{style:{width:0,height:f}})):null,S={};d&&(S.id=`${d}_extra`);const w=s?c.createElement("div",Object.assign({},S,{className:`${p}-extra`}),s):null,$=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:b,errorList:x,extra:w}):c.createElement(c.Fragment,null,b,x,w);return c.createElement(Xi.Provider,{value:g},c.createElement(yS,Object.assign({},y,{className:h}),$))},Pte=Ete;var Ote={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const Mte=Ote;var q7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Mte}))};q7.displayName="QuestionCircleOutlined";const Rte=c.forwardRef(q7);var Ite=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:a,colon:i,required:l,requiredMark:s,tooltip:u}=e;var d;const[f]=Uh("Form"),{vertical:v,labelAlign:p,labelCol:m,labelWrap:y,colon:h}=c.useContext(Xi);if(!n)return null;const g=o||m||{},b=a||p,C=`${t}-item-label`,x=G(C,b==="left"&&`${C}-left`,g.className,{[`${C}-wrap`]:!!y});let S=n;const w=i===!0||h!==!1&&i!==!1;w&&!v&&typeof n=="string"&&n.trim()!==""&&(S=n.replace(/[:|:]\s*$/,""));const O=Nte(u);if(O){const{icon:R=c.createElement(Rte,null)}=O,T=Ite(O,["icon"]),N=c.createElement(rl,Object.assign({},T),c.cloneElement(R,{className:`${t}-item-tooltip`,title:""}));S=c.createElement(c.Fragment,null,S,N)}s==="optional"&&!l&&(S=c.createElement(c.Fragment,null,S,c.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((d=Gi.Form)===null||d===void 0?void 0:d.optional))));const P=G({[`${t}-item-required`]:l,[`${t}-item-required-mark-optional`]:s==="optional",[`${t}-item-no-colon`]:!w});return c.createElement(yS,Object.assign({},g,{className:x}),c.createElement("label",{htmlFor:r,className:P,title:typeof n=="string"?n:""},S))},_te=Tte;var kte=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(O&&x.current){const F=getComputedStyle(x.current);T(parseInt(F.marginBottom,10))}},[O,P]);const N=F=>{F||T(null)},I=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,D="";const j=F?S:u.errors,H=F?w:u.warnings;return s!==void 0?D=s:u.validating?D="validating":j.length?D="error":H.length?D="warning":(u.touched||d&&u.validated)&&(D="success"),D}(),_=c.useMemo(()=>{let F;if(d){const D=I&&Fte[I];F=D?c.createElement("span",{className:G(`${b}-feedback-icon`,`${b}-feedback-icon-${I}`)},c.createElement(D,null)):null}return{status:I,errors:i,warnings:l,hasFeedback:d,feedbackIcon:F,isFormItemInput:!0}},[I,d]),k=G(b,n,r,{[`${b}-with-help`]:$||S.length||w.length,[`${b}-has-feedback`]:I&&d,[`${b}-has-success`]:I==="success",[`${b}-has-warning`]:I==="warning",[`${b}-has-error`]:I==="error",[`${b}-is-validating`]:I==="validating",[`${b}-hidden`]:f});return c.createElement("div",{className:k,style:o,ref:x},c.createElement(k7,Object.assign({className:`${b}-row`},On(g,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),c.createElement(_te,Object.assign({htmlFor:p},e,{requiredMark:C,required:m??y,prefixCls:t})),c.createElement(Pte,Object.assign({},e,u,{errors:S,warnings:w,prefixCls:t,status:I,help:a,marginBottom:R,onErrorVisibleChanged:N}),c.createElement(oI.Provider,{value:h},c.createElement(Cr.Provider,{value:_},v)))),!!R&&c.createElement("div",{className:`${b}-margin-offset`,style:{marginBottom:-R}}))}function Lte(e){if(typeof e=="function")return e;const t=kr(e);return t.length<=1?t[0]:t}const Ate="__SPLIT__",jte=c.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function zte(e){return e!=null}function A3(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Hte(e){const{name:t,noStyle:n,className:r,dependencies:o,prefixCls:a,shouldUpdate:i,rules:l,children:s,required:u,label:d,messageVariables:f,trigger:v="onChange",validateTrigger:p,hidden:m,help:y}=e,{getPrefixCls:h}=c.useContext(rt),{name:g}=c.useContext(Xi),b=Lte(s),C=typeof b=="function",x=c.useContext(oI),{validateTrigger:S}=c.useContext(Hl),w=p!==void 0?p:S,$=zte(t),O=h("form",a),[P,R]=CS(O),T=c.useContext(dm),N=c.useRef(),[M,I]=wte({}),[_,k]=Wi(()=>A3()),F=K=>{const W=T==null?void 0:T.getKey(K.name);if(k(K.destroy?A3():K,!0),n&&y!==!1&&x){let Y=K.name;if(K.destroy)Y=N.current||Y;else if(W!==void 0){const[X,Q]=W;Y=[X].concat(xe(Q)),N.current=Y}x(K,Y)}},D=(K,W)=>{I(Y=>{const X=Object.assign({},Y),ae=[].concat(xe(K.name.slice(0,-1)),xe(W)).join(Ate);return K.destroy?delete X[ae]:X[ae]=K,X})},[j,H]=c.useMemo(()=>{const K=xe(_.errors),W=xe(_.warnings);return Object.values(M).forEach(Y=>{K.push.apply(K,xe(Y.errors||[])),W.push.apply(W,xe(Y.warnings||[]))}),[K,W]},[M,_.errors,_.warnings]),z=$te();function B(K,W,Y){return n&&!m?K:c.createElement(Dte,Object.assign({key:"row"},e,{className:G(r,R),prefixCls:O,fieldId:W,isRequired:Y,errors:j,warnings:H,meta:_,onSubItemMetaChange:D}),K)}if(!$&&!C&&!o)return P(B(b));let V={};return typeof d=="string"?V.label=d:t&&(V.label=String(t)),f&&(V=Object.assign(Object.assign({},V),f)),P(c.createElement(i2,Object.assign({},e,{messageVariables:V,trigger:v,validateTrigger:w,onMetaChange:F}),(K,W,Y)=>{const X=hd(t).length&&W?W.name:[],Q=Y7(X,g),ae=u!==void 0?u:!!(l&&l.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const te=re(Y);return te&&te.required&&!te.warningOnly}return!1})),ee=Object.assign({},K);let q=null;if(Array.isArray(b)&&$)q=b;else if(!(C&&(!(i||o)||$))){if(!(o&&!C&&!$))if(Ho(b)){const re=Object.assign(Object.assign({},b.props),ee);if(re.id||(re.id=Q),y||j.length>0||H.length>0||e.extra){const ne=[];(y||j.length>0)&&ne.push(`${Q}_help`),e.extra&&ne.push(`${Q}_extra`),re["aria-describedby"]=ne.join(" ")}j.length>0&&(re["aria-invalid"]="true"),ae&&(re["aria-required"]="true"),es(b)&&(re.ref=z(X,b)),new Set([].concat(xe(hd(v)),xe(hd(w)))).forEach(ne=>{re[ne]=function(){for(var oe,le,de,pe,se,ve=arguments.length,he=new Array(ve),ce=0;ce{var{prefixCls:t,children:n}=e,r=Vte(e,["prefixCls","children"]);const{getPrefixCls:o}=c.useContext(rt),a=o("form",t),i=c.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return c.createElement(nR,Object.assign({},r),(l,s,u)=>c.createElement(x2.Provider,{value:i},n(l.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),s,{errors:u.errors,warnings:u.warnings})))},Kte=Wte;function Ute(){const{form:e}=c.useContext(Xi);return e}const Gn=xte;Gn.Item=Bte;Gn.List=Kte;Gn.ErrorList=U7;Gn.useForm=G7;Gn.useFormInstance=Ute;Gn.useWatch=oR;Gn.Provider=PW;Gn.create=()=>{};var Yte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const Gte=Yte;var Z7=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Gte}))};Z7.displayName="EyeOutlined";const xS=c.forwardRef(Z7);function J7(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function Xte(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var qte=["visible","onVisibleChange","getContainer","current","countRender","onChange"],SS=c.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),Qte=SS.Provider;function x1(e,t){if(t!==void 0){var n=e.indexOf(t);if(n!==-1)return n}}var Zte=function(t){var n=t.previewPrefixCls,r=n===void 0?"rc-image-preview":n,o=t.children,a=t.icons,i=a===void 0?{}:a,l=t.preview,s=Ke(l)==="object"?l:{},u=s.visible,d=u===void 0?void 0:u,f=s.onVisibleChange,v=f===void 0?void 0:f,p=s.getContainer,m=p===void 0?void 0:p,y=s.current,h=y===void 0?0:y,g=s.countRender,b=g===void 0?void 0:g,C=s.onChange,x=C===void 0?void 0:C,S=Oe(s,qte),w=c.useState(new Map),$=U(w,2),O=$[0],P=$[1],R=Array.from(O.keys()),T=c.useRef(),N=bt(void 0,{onChange:function(ee,q){T.current!==void 0&&(x==null||x(x1(R,ee),x1(R,q))),T.current=q}}),M=U(N,2),I=M[0],_=M[1],k=bt(!!d,{value:d,onChange:function(ee,q){v==null||v(ee,q,x1(R,I)),T.current=ee?I:void 0}}),F=U(k,2),D=F[0],j=F[1],H=c.useState(null),z=U(H,2),B=z[0],V=z[1],K=d!==void 0,W=R[h],Y=new Map(Array.from(O).filter(function(ae){var ee=U(ae,2),q=ee[1].canPreview;return!!q}).map(function(ae){var ee=U(ae,2),q=ee[0],re=ee[1].url;return[q,re]})),X=function(ee,q){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,te=function(){P(function(ne){var oe=new Map(ne),le=oe.delete(ee);return le?oe:ne})};return P(function(J){return new Map(J).set(ee,{url:q,canPreview:re})}),te},Q=function(ee){ee.stopPropagation(),j(!1),V(null)};return c.useEffect(function(){_(W)},[W]),c.useEffect(function(){!D&&K&&_(W)},[W,K,D]),c.createElement(Qte,{value:{isPreviewGroup:!0,previewUrls:Y,setPreviewUrls:P,current:I,setCurrent:_,setShowPreview:j,setMousePosition:V,registerImage:X}},o,c.createElement(eT,be({"aria-hidden":!D,visible:D,prefixCls:r,onClose:Q,mousePosition:B,src:Y.get(I),icons:i,getContainer:m,countRender:b},S)))},Cp=1,xp=50,ku=1,Jte=1,ene=function(t){var n,r=t.visible,o=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,l=t.rootClassName,s=t.icons,u=t.countRender,d=t.showSwitch,f=t.showProgress,v=t.current,p=t.count,m=t.scale,y=t.onSwitchLeft,h=t.onSwitchRight,g=t.onClose,b=t.onZoomIn,C=t.onZoomOut,x=t.onRotateRight,S=t.onRotateLeft,w=t.onFlipX,$=t.onFlipY,O=s.rotateLeft,P=s.rotateRight,R=s.zoomIn,T=s.zoomOut,N=s.close,M=s.left,I=s.right,_=s.flipX,k=s.flipY,F="".concat(i,"-operations-operation"),D="".concat(i,"-operations-icon"),j=[{icon:N,onClick:g,type:"close"},{icon:R,onClick:b,type:"zoomIn",disabled:m===xp},{icon:T,onClick:C,type:"zoomOut",disabled:m===Cp},{icon:P,onClick:x,type:"rotateRight"},{icon:O,onClick:S,type:"rotateLeft"},{icon:_,onClick:w,type:"flipX"},{icon:k,onClick:$,type:"flipY"}],H=c.createElement(c.Fragment,null,d&&c.createElement(c.Fragment,null,c.createElement("div",{className:G("".concat(i,"-switch-left"),A({},"".concat(i,"-switch-left-disabled"),v===0)),onClick:y},M),c.createElement("div",{className:G("".concat(i,"-switch-right"),A({},"".concat(i,"-switch-right-disabled"),v===p-1)),onClick:h},I)),c.createElement("ul",{className:"".concat(i,"-operations")},f&&c.createElement("li",{className:"".concat(i,"-operations-progress")},(n=u==null?void 0:u(v+1,p))!==null&&n!==void 0?n:"".concat(v+1," / ").concat(p)),j.map(function(z){var B,V=z.icon,K=z.onClick,W=z.type,Y=z.disabled;return c.createElement("li",{className:G(F,(B={},A(B,"".concat(i,"-operations-operation-").concat(W),!0),A(B,"".concat(i,"-operations-operation-disabled"),!!Y),B)),onClick:K,key:W},c.isValidElement(V)?c.cloneElement(V,{className:D}):V)})));return c.createElement(er,{visible:r,motionName:o},function(z){var B=z.className,V=z.style;return c.createElement($f,{open:!0,getContainer:a??document.body},c.createElement("div",{className:G("".concat(i,"-operations-wrapper"),B,l),style:V},H))})},j3={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function tne(e){var t=c.useRef(null),n=c.useRef([]),r=c.useState(j3),o=U(r,2),a=o[0],i=o[1],l=function(){i(j3)},s=function(f){t.current===null&&(n.current=[],t.current=Ft(function(){i(function(v){var p=v;return n.current.forEach(function(m){p=E(E({},p),m)}),t.current=null,p})})),n.current.push(E(E({},a),f))},u=function(f,v,p){var m=e.current,y=m.width,h=m.height,g=m.offsetWidth,b=m.offsetHeight,C=m.offsetLeft,x=m.offsetTop,S=f,w=a.scale*f;w>xp?(S=xp/a.scale,w=xp):wr){if(t>0)return A({},e,a);if(t<0&&or)return A({},e,t<0?a:-a);return{}}function nne(e,t,n,r){var o=J7(),a=o.width,i=o.height,l=null;return e<=a&&t<=i?l={x:0,y:0}:(e>a||t>i)&&(l=E(E({},z3("x",n,e,a)),z3("y",r,t,i))),l}var rne=["prefixCls","src","alt","onClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],eT=function(t){var n=t.prefixCls,r=t.src,o=t.alt,a=t.onClose,i=t.visible,l=t.icons,s=l===void 0?{}:l,u=t.rootClassName,d=t.getContainer,f=t.countRender,v=t.scaleStep,p=v===void 0?.5:v,m=t.transitionName,y=m===void 0?"zoom":m,h=t.maskTransitionName,g=h===void 0?"fade":h,b=Oe(t,rne),C=c.useRef(),x=c.useRef({deltaX:0,deltaY:0,transformX:0,transformY:0}),S=c.useState(!1),w=U(S,2),$=w[0],O=w[1],P=c.useContext(SS),R=P.previewUrls,T=P.current,N=P.isPreviewGroup,M=P.setCurrent,I=R.size,_=Array.from(R.keys()),k=_.indexOf(T),F=N?R.get(T):r,D=N&&I>1,j=N&&I>=1,H=tne(C),z=H.transform,B=H.resetTransform,V=H.updateTransform,K=H.dispatchZoomChange,W=z.rotate,Y=z.scale,X=G(A({},"".concat(n,"-moving"),$)),Q=function(){B()},ae=function(){K(ku+p)},ee=function(){K(ku-p)},q=function(){V({rotate:W+90})},re=function(){V({rotate:W-90})},te=function(){V({flipX:!z.flipX})},J=function(){V({flipY:!z.flipY})},ne=function(ie){ie.preventDefault(),ie.stopPropagation(),k>0&&M(_[k-1])},oe=function(ie){ie.preventDefault(),ie.stopPropagation(),k0&&(Ce=ku/Ce),K(Ce,ie.clientX,ie.clientY)}},ve=c.useCallback(function(ce){!i||!D||(ce.keyCode===ue.LEFT?k>0&&M(_[k-1]):ce.keyCode===ue.RIGHT&&k({position:e||"absolute",inset:0}),xne=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new Yt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${a}-mask-info`]:Object.assign(Object.assign({},ua),{padding:`0 ${r}px`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},Sne=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,imagePreviewOperationDisabledColor:o,motionDurationSlow:a}=e,i=new Yt(n).setAlpha(.1),l=i.clone().setAlpha(.2);return{[`${t}-operations`]:Object.assign(Object.assign({},At(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.imagePreviewOperationColor,listStyle:"none",background:i.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${a}`,"&:hover":{background:l.toRgbString()},"&-disabled":{color:o,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.imagePreviewOperationSize}})}},wne=e=>{const{modalMaskBg:t,iconCls:n,imagePreviewOperationDisabledColor:r,previewCls:o,zIndexPopup:a,motionDurationSlow:i}=e,l=new Yt(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:a+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.imagePreviewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${i}`,pointerEvents:"auto","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.imagePreviewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},$ne=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},qb()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":Object.assign(Object.assign({},qb()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[Sne(e),wne(e)]}]},Ene=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},xne(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},qb())}}},Pne=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Ef(e,"zoom"),"&":aI(e,!0)}},iT=Ut("Image",e=>{const t=new Yt(e.colorTextLightSolid),n=`${e.componentCls}-preview`,r=St(e,{previewCls:n,imagePreviewOperationColor:t.toRgbString(),imagePreviewOperationDisabledColor:new Yt(t).setAlpha(.25).toRgbString(),modalMaskBg:new Yt("#000").setAlpha(.45).toRgbString(),imagePreviewOperationSize:e.fontSizeIcon*1.5,imagePreviewSwitchSize:e.controlHeightLG});return[Ene(r),$ne(r),rK(St(r,{componentCls:n})),Pne(r)]},e=>({zIndexPopup:e.zIndexPopupBase+80}));var One=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:n}=e,r=One(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=c.useContext(rt),a=o("image",t),i=`${a}-preview`,l=o(),[s,u]=iT(a),d=c.useMemo(()=>{var f;if(n===!1)return n;const v=typeof n=="object"?n:{},p=G(u,(f=v.rootClassName)!==null&&f!==void 0?f:"");return Object.assign(Object.assign({},v),{transitionName:Yr(l,"zoom",v.transitionName),maskTransitionName:Yr(l,"fade",v.maskTransitionName),rootClassName:p})},[n]);return s(c.createElement(Cg.PreviewGroup,Object.assign({preview:d,previewPrefixCls:i,icons:lT},r)))},Rne=Mne;var V3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,preview:n,rootClassName:r}=e,o=V3(e,["prefixCls","preview","rootClassName"]);const{getPrefixCls:a,locale:i=Gi,getPopupContainer:l}=c.useContext(rt),s=a("image",t),u=a(),d=i.Image||Gi.Image,[f,v]=iT(s),p=G(r,v),m=c.useMemo(()=>{if(n===!1)return n;const y=typeof n=="object"?n:{},{getContainer:h}=y,g=V3(y,["getContainer"]);return Object.assign(Object.assign({mask:c.createElement("div",{className:`${s}-mask-info`},c.createElement(xS,null),d==null?void 0:d.preview),icons:lT},g),{getContainer:h||l,transitionName:Yr(u,"zoom",y.transitionName),maskTransitionName:Yr(u,"fade",y.maskTransitionName)})},[n,d]);return f(c.createElement(Cg,Object.assign({prefixCls:`${s}`,preview:m,rootClassName:p},o)))};sT.PreviewGroup=Rne;const Ine=sT,Nne=e=>{const{getPrefixCls:t,direction:n}=c.useContext(rt),{prefixCls:r,className:o=""}=e,a=t("input-group",r),i=t("input"),[l,s]=dS(i),u=G(a,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:n==="rtl"},s,o),d=c.useContext(Cr),f=c.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return l(c.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(Cr.Provider,{value:f},e.children)))},Tne=Nne;function Ps(e){return!!(e.addonBefore||e.addonAfter)}function S1(e){return!!(e.prefix||e.suffix||e.allowClear)}function gd(e,t,n,r){if(n){var o=t;if(t.type==="click"){var a=e.cloneNode(!0);o=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(o);return}if(r!==void 0){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function _ne(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}function Qb(e){return typeof e>"u"||e===null?"":String(e)}var cT=function(t){var n,r,o=t.inputElement,a=t.prefixCls,i=t.prefix,l=t.suffix,s=t.addonBefore,u=t.addonAfter,d=t.className,f=t.style,v=t.disabled,p=t.readOnly,m=t.focused,y=t.triggerFocus,h=t.allowClear,g=t.value,b=t.handleReset,C=t.hidden,x=t.classes,S=t.classNames,w=t.dataAttrs,$=t.styles,O=c.useRef(null),P=function(z){var B;(B=O.current)!==null&&B!==void 0&&B.contains(z.target)&&(y==null||y())},R=function(){var z;if(!h)return null;var B=!v&&!p&&g,V="".concat(a,"-clear-icon"),K=Ke(h)==="object"&&h!==null&&h!==void 0&&h.clearIcon?h.clearIcon:"✖";return Z.createElement("span",{onClick:b,onMouseDown:function(Y){return Y.preventDefault()},className:G(V,(z={},A(z,"".concat(V,"-hidden"),!B),A(z,"".concat(V,"-has-suffix"),!!l),z)),role:"button",tabIndex:-1},K)},T=c.cloneElement(o,{value:g,hidden:C,className:G((n=o.props)===null||n===void 0?void 0:n.className,!S1(t)&&!Ps(t)&&d)||null,style:E(E({},(r=o.props)===null||r===void 0?void 0:r.style),!S1(t)&&!Ps(t)?f:{})});if(S1(t)){var N,M="".concat(a,"-affix-wrapper"),I=G(M,(N={},A(N,"".concat(M,"-disabled"),v),A(N,"".concat(M,"-focused"),m),A(N,"".concat(M,"-readonly"),p),A(N,"".concat(M,"-input-with-clear-btn"),l&&h&&g),N),!Ps(t)&&d,x==null?void 0:x.affixWrapper),_=(l||h)&&Z.createElement("span",{className:G("".concat(a,"-suffix"),S==null?void 0:S.suffix),style:$==null?void 0:$.suffix},R(),l);T=Z.createElement("span",be({className:I,style:Ps(t)?void 0:f,hidden:!Ps(t)&&C,onClick:P},w==null?void 0:w.affixWrapper,{ref:O}),i&&Z.createElement("span",{className:G("".concat(a,"-prefix"),S==null?void 0:S.prefix),style:$==null?void 0:$.prefix},i),c.cloneElement(o,{value:g,hidden:null}),_)}if(Ps(t)){var k="".concat(a,"-group"),F="".concat(k,"-addon"),D=G("".concat(a,"-wrapper"),k,x==null?void 0:x.wrapper),j=G("".concat(a,"-group-wrapper"),d,x==null?void 0:x.group);return Z.createElement("span",{className:j,style:f,hidden:C},Z.createElement("span",{className:D},s&&Z.createElement("span",{className:F},s),c.cloneElement(T,{hidden:null}),u&&Z.createElement("span",{className:F},u)))}return T},kne=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Fne=c.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,a=e.onBlur,i=e.onPressEnter,l=e.onKeyDown,s=e.prefixCls,u=s===void 0?"rc-input":s,d=e.disabled,f=e.htmlSize,v=e.className,p=e.maxLength,m=e.suffix,y=e.showCount,h=e.type,g=h===void 0?"text":h,b=e.classes,C=e.classNames,x=e.styles,S=Oe(e,kne),w=bt(e.defaultValue,{value:e.value}),$=U(w,2),O=$[0],P=$[1],R=c.useState(!1),T=U(R,2),N=T[0],M=T[1],I=c.useRef(null),_=function(K){I.current&&_ne(I.current,K)};c.useImperativeHandle(t,function(){return{focus:_,blur:function(){var K;(K=I.current)===null||K===void 0||K.blur()},setSelectionRange:function(K,W,Y){var X;(X=I.current)===null||X===void 0||X.setSelectionRange(K,W,Y)},select:function(){var K;(K=I.current)===null||K===void 0||K.select()},input:I.current}}),c.useEffect(function(){M(function(V){return V&&d?!1:V})},[d]);var k=function(K){e.value===void 0&&P(K.target.value),I.current&&gd(I.current,K,r)},F=function(K){i&&K.key==="Enter"&&i(K),l==null||l(K)},D=function(K){M(!0),o==null||o(K)},j=function(K){M(!1),a==null||a(K)},H=function(K){P(""),_(),I.current&&gd(I.current,K,r)},z=function(){var K=On(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return Z.createElement("input",be({autoComplete:n},K,{onChange:k,onFocus:D,onBlur:j,onKeyDown:F,className:G(u,A({},"".concat(u,"-disabled"),d),C==null?void 0:C.input),style:x==null?void 0:x.input,ref:I,size:f,type:g}))},B=function(){var K=Number(p)>0;if(m||y){var W=Qb(O),Y=xe(W).length,X=Ke(y)==="object"?y.formatter({value:W,count:Y,maxLength:p}):"".concat(Y).concat(K?" / ".concat(p):"");return Z.createElement(Z.Fragment,null,!!y&&Z.createElement("span",{className:G("".concat(u,"-show-count-suffix"),A({},"".concat(u,"-show-count-has-suffix"),!!m),C==null?void 0:C.count),style:E({},x==null?void 0:x.count)},X),m)}return null};return Z.createElement(cT,be({},S,{prefixCls:u,className:v,inputElement:z(),handleReset:H,value:Qb(O),focused:N,triggerFocus:_,suffix:B(),disabled:d,classes:b,classNames:C,styles:x}))});function uT(e,t){const n=c.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var o,a,i,l;!((o=e.current)===null||o===void 0)&&o.input&&((a=e.current)===null||a===void 0?void 0:a.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return c.useEffect(()=>(t&&r(),()=>n.current.forEach(o=>{o&&clearTimeout(o)})),[]),r}function Dne(e){return!!(e.prefix||e.suffix||e.allowClear)}var Lne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,bordered:r=!0,status:o,size:a,disabled:i,onBlur:l,onFocus:s,suffix:u,allowClear:d,addonAfter:f,addonBefore:v,className:p,rootClassName:m,onChange:y,classNames:h}=e,g=Lne(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","rootClassName","onChange","classNames"]),{getPrefixCls:b,direction:C,input:x}=Z.useContext(rt),S=b("input",n),w=c.useRef(null),[$,O]=dS(S),{compactSize:P,compactItemClassnames:R}=ka(S,C),T=Z.useContext(ur),N=P||a||T,M=Z.useContext(Xr),I=i??M,{status:_,hasFeedback:k,feedbackIcon:F}=c.useContext(Cr),D=nl(_,o),j=Dne(e)||!!k,H=c.useRef(j);c.useEffect(()=>{j&&H.current,H.current=j},[j]);const z=uT(w,!0),B=X=>{z(),l==null||l(X)},V=X=>{z(),s==null||s(X)},K=X=>{z(),y==null||y(X)},W=(k||u)&&Z.createElement(Z.Fragment,null,u,k&&F);let Y;return typeof d=="object"&&(d!=null&&d.clearIcon)?Y=d:d&&(Y={clearIcon:Z.createElement(fi,null)}),$(Z.createElement(Fne,Object.assign({ref:cr(t,w),prefixCls:S,autoComplete:x==null?void 0:x.autoComplete},g,{disabled:I,onBlur:B,onFocus:V,suffix:W,allowClear:Y,className:G(p,m,R),onChange:K,addonAfter:f&&Z.createElement(Wl,null,Z.createElement(Ud,{override:!0,status:!0},f)),addonBefore:v&&Z.createElement(Wl,null,Z.createElement(Ud,{override:!0,status:!0},v)),classNames:Object.assign(Object.assign({},h),{input:G({[`${S}-sm`]:N==="small",[`${S}-lg`]:N==="large",[`${S}-rtl`]:C==="rtl",[`${S}-borderless`]:!r},!j&&po(S,D),h==null?void 0:h.input,O)}),classes:{affixWrapper:G({[`${S}-affix-wrapper-sm`]:N==="small",[`${S}-affix-wrapper-lg`]:N==="large",[`${S}-affix-wrapper-rtl`]:C==="rtl",[`${S}-affix-wrapper-borderless`]:!r},po(`${S}-affix-wrapper`,D,k),O),wrapper:G({[`${S}-group-rtl`]:C==="rtl"},O),group:G({[`${S}-group-wrapper-sm`]:N==="small",[`${S}-group-wrapper-lg`]:N==="large",[`${S}-group-wrapper-rtl`]:C==="rtl",[`${S}-group-wrapper-disabled`]:I},po(`${S}-group-wrapper`,D,k),O)}})))}),wS=jne;var zne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const Hne=zne;var dT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Hne}))};dT.displayName="EyeInvisibleOutlined";const fT=c.forwardRef(dT);var Bne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oe?c.createElement(xS,null):c.createElement(fT,null),Wne={click:"onClick",hover:"onMouseOver"},Kne=c.forwardRef((e,t)=>{const{visibilityToggle:n=!0}=e,r=typeof n=="object"&&n.visible!==void 0,[o,a]=c.useState(()=>r?n.visible:!1),i=c.useRef(null);c.useEffect(()=>{r&&a(n.visible)},[r,n]);const l=uT(i),s=()=>{const{disabled:S}=e;S||(o&&l(),a(w=>{var $;const O=!w;return typeof n=="object"&&(($=n.onVisibleChange)===null||$===void 0||$.call(n,O)),O}))},u=S=>{const{action:w="click",iconRender:$=Vne}=e,O=Wne[w]||"",P=$(o),R={[O]:s,className:`${S}-icon`,key:"passwordIcon",onMouseDown:T=>{T.preventDefault()},onMouseUp:T=>{T.preventDefault()}};return c.cloneElement(c.isValidElement(P)?P:c.createElement("span",null,P),R)},{className:d,prefixCls:f,inputPrefixCls:v,size:p}=e,m=Bne(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=c.useContext(rt),h=y("input",v),g=y("input-password",f),b=n&&u(g),C=G(g,d,{[`${g}-${p}`]:!!p}),x=Object.assign(Object.assign({},On(m,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:C,prefixCls:h,suffix:b});return p&&(x.size=p),c.createElement(wS,Object.assign({ref:cr(t,i)},x))}),Une=Kne;var Yne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,inputPrefixCls:r,className:o,size:a,suffix:i,enterButton:l=!1,addonAfter:s,loading:u,disabled:d,onSearch:f,onChange:v,onCompositionStart:p,onCompositionEnd:m}=e,y=Yne(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:g}=c.useContext(rt),b=c.useContext(ur),C=c.useRef(!1),x=h("input-search",n),S=h("input",r),{compactSize:w}=ka(x,g),$=w||a||b,O=c.useRef(null),P=z=>{z&&z.target&&z.type==="click"&&f&&f(z.target.value,z),v&&v(z)},R=z=>{var B;document.activeElement===((B=O.current)===null||B===void 0?void 0:B.input)&&z.preventDefault()},T=z=>{var B,V;f&&f((V=(B=O.current)===null||B===void 0?void 0:B.input)===null||V===void 0?void 0:V.value,z)},N=z=>{C.current||u||T(z)},M=typeof l=="boolean"?c.createElement(L2,null):null,I=`${x}-button`;let _;const k=l||{},F=k.type&&k.type.__ANT_BUTTON===!0;F||k.type==="button"?_=Yn(k,Object.assign({onMouseDown:R,onClick:z=>{var B,V;(V=(B=k==null?void 0:k.props)===null||B===void 0?void 0:B.onClick)===null||V===void 0||V.call(B,z),T(z)},key:"enterButton"},F?{className:I,size:$}:{})):_=c.createElement(li,{className:I,type:l?"primary":void 0,size:$,disabled:d,key:"enterButton",onMouseDown:R,onClick:T,loading:u,icon:M},l),s&&(_=[_,Yn(s,{key:"addonAfter"})]);const D=G(x,{[`${x}-rtl`]:g==="rtl",[`${x}-${$}`]:!!$,[`${x}-with-button`]:!!l},o),j=z=>{C.current=!0,p==null||p(z)},H=z=>{C.current=!1,m==null||m(z)};return c.createElement(wS,Object.assign({ref:cr(O,t),onPressEnter:N},y,{size:$,onCompositionStart:j,onCompositionEnd:H,prefixCls:S,addonAfter:_,suffix:i,onChange:P,className:D,disabled:d}))}),Xne=Gne;var qne=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,Qne=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],w1={},Oo;function Zne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&w1[n])return w1[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=Qne.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),s={sizingStyle:l,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(w1[n]=s),s}function Jne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Oo||(Oo=document.createElement("textarea"),Oo.setAttribute("tab-index","-1"),Oo.setAttribute("aria-hidden","true"),document.body.appendChild(Oo)),e.getAttribute("wrap")?Oo.setAttribute("wrap",e.getAttribute("wrap")):Oo.removeAttribute("wrap");var o=Zne(e,t),a=o.paddingSize,i=o.borderSize,l=o.boxSizing,s=o.sizingStyle;Oo.setAttribute("style","".concat(s,";").concat(qne)),Oo.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,v=Oo.scrollHeight;if(l==="border-box"?v+=i:l==="content-box"&&(v-=a),n!==null||r!==null){Oo.value=" ";var p=Oo.scrollHeight-a;n!==null&&(u=p*n,l==="border-box"&&(u=u+a+i),v=Math.max(u,v)),r!==null&&(d=p*r,l==="border-box"&&(d=d+a+i),f=v>d?"":"hidden",v=Math.min(d,v))}var m={height:v,overflowY:f,resize:"none"};return u&&(m.minHeight=u),d&&(m.maxHeight=d),m}var ere=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],$1=0,E1=1,P1=2,tre=c.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,a=n.value,i=n.autoSize,l=n.onResize,s=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var v=Oe(n,ere),p=bt(o,{value:a,postState:function(K){return K??""}}),m=U(p,2),y=m[0],h=m[1],g=function(K){h(K.target.value),f==null||f(K)},b=c.useRef();c.useImperativeHandle(t,function(){return{textArea:b.current}});var C=c.useMemo(function(){return i&&Ke(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),x=U(C,2),S=x[0],w=x[1],$=!!i,O=function(){try{if(document.activeElement===b.current){var K=b.current,W=K.selectionStart,Y=K.selectionEnd,X=K.scrollTop;b.current.setSelectionRange(W,Y),b.current.scrollTop=X}}catch{}},P=c.useState(P1),R=U(P,2),T=R[0],N=R[1],M=c.useState(),I=U(M,2),_=I[0],k=I[1],F=function(){N($1)};tn(function(){$&&F()},[a,S,w,$]),tn(function(){if(T===$1)N(E1);else if(T===E1){var V=Jne(b.current,!1,S,w);N(P1),k(V)}else O()},[T]);var D=c.useRef(),j=function(){Ft.cancel(D.current)},H=function(K){T===P1&&(l==null||l(K),i&&(j(),D.current=Ft(function(){F()})))};c.useEffect(function(){return j},[]);var z=$?_:null,B=E(E({},u),z);return(T===$1||T===E1)&&(B.overflowY="hidden",B.overflowX="hidden"),c.createElement(va,{onResize:H,disabled:!(i||l)},c.createElement("textarea",be({},v,{ref:b,style:B,className:G(r,s,A({},"".concat(r,"-disabled"),d)),disabled:d,value:y,onChange:g})))}),nre=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function vT(e,t){return xe(e||"").slice(0,t).join("")}function W3(e,t,n,r){var o=n;return e?o=vT(n,r):xe(t||"").lengthr&&(o=t),o}var rre=Z.forwardRef(function(e,t){var n,r=e.defaultValue,o=e.value,a=e.onFocus,i=e.onBlur,l=e.onChange,s=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,v=e.suffix,p=e.prefixCls,m=p===void 0?"rc-textarea":p,y=e.classes,h=e.showCount,g=e.className,b=e.style,C=e.disabled,x=e.hidden,S=e.classNames,w=e.styles,$=e.onResize,O=Oe(e,nre),P=bt(r,{value:o,defaultValue:r}),R=U(P,2),T=R[0],N=R[1],M=c.useRef(null),I=Z.useState(!1),_=U(I,2),k=_[0],F=_[1],D=Z.useState(!1),j=U(D,2),H=j[0],z=j[1],B=Z.useRef(),V=Z.useRef(0),K=Z.useState(null),W=U(K,2),Y=W[0],X=W[1],Q=function(){M.current.textArea.focus()};c.useImperativeHandle(t,function(){return{resizableTextArea:M.current,focus:Q,blur:function(){M.current.textArea.blur()}}}),c.useEffect(function(){F(function(ce){return!C&&ce})},[C]);var ae=Number(u)>0,ee=function(ie){z(!0),B.current=T,V.current=ie.currentTarget.selectionStart,d==null||d(ie)},q=function(ie){z(!1);var fe=ie.currentTarget.value;if(ae){var me,Ce=V.current>=u+1||V.current===((me=B.current)===null||me===void 0?void 0:me.length);fe=W3(Ce,B.current,fe,u)}fe!==T&&(N(fe),gd(ie.currentTarget,ie,l,fe)),f==null||f(ie)},re=function(ie){var fe=ie.target.value;if(!H&&ae){var me=ie.target.selectionStart>=u+1||ie.target.selectionStart===fe.length||!ie.target.selectionStart;fe=W3(me,T,fe,u)}N(fe),gd(ie.currentTarget,ie,l,fe)},te=function(ie){var fe=O.onPressEnter,me=O.onKeyDown;ie.key==="Enter"&&fe&&fe(ie),me==null||me(ie)},J=function(ie){F(!0),a==null||a(ie)},ne=function(ie){F(!1),i==null||i(ie)},oe=function(ie){N(""),Q(),gd(M.current.textArea,ie,l)},le=Qb(T);!H&&ae&&o==null&&(le=vT(le,u));var de=v,pe;if(h){var se=xe(le).length;Ke(h)==="object"?pe=h.formatter({value:le,count:se,maxLength:u}):pe="".concat(se).concat(ae?" / ".concat(u):""),de=Z.createElement(Z.Fragment,null,de,Z.createElement("span",{className:G("".concat(m,"-data-count"),S==null?void 0:S.count),style:w==null?void 0:w.count},pe))}var ve=function(ie){$==null||$(ie),Y===null?X("mounted"):Y==="mounted"&&X("resized")},he=Z.createElement(cT,{value:le,allowClear:s,handleReset:oe,suffix:de,prefixCls:m,classes:{affixWrapper:G(y==null?void 0:y.affixWrapper,(n={},A(n,"".concat(m,"-show-count"),h),A(n,"".concat(m,"-textarea-allow-clear"),s),n))},disabled:C,focused:k,className:g,style:E(E({},b),Y==="resized"?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof pe=="string"?pe:void 0}},hidden:x,inputElement:Z.createElement(tre,be({},O,{onKeyDown:te,onChange:re,onFocus:J,onBlur:ne,onCompositionStart:ee,onCompositionEnd:q,className:S==null?void 0:S.textarea,style:E(E({},w==null?void 0:w.textarea),{},{resize:b==null?void 0:b.resize}),disabled:C,prefixCls:m,onResize:ve,ref:M}))});return he}),ore=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,bordered:r=!0,size:o,disabled:a,status:i,allowClear:l,showCount:s,classNames:u}=e,d=ore(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]);const{getPrefixCls:f,direction:v}=c.useContext(rt),p=c.useContext(ur),m=o||p,y=c.useContext(Xr),h=a??y,{status:g,hasFeedback:b,feedbackIcon:C}=c.useContext(Cr),x=nl(g,i),S=c.useRef(null);c.useImperativeHandle(t,()=>{var R;return{resizableTextArea:(R=S.current)===null||R===void 0?void 0:R.resizableTextArea,focus:T=>{var N,M;Ane((M=(N=S.current)===null||N===void 0?void 0:N.resizableTextArea)===null||M===void 0?void 0:M.textArea,T)},blur:()=>{var T;return(T=S.current)===null||T===void 0?void 0:T.blur()}}});const w=f("input",n);let $;typeof l=="object"&&(l!=null&&l.clearIcon)?$=l:l&&($={clearIcon:c.createElement(fi,null)});const[O,P]=dS(w);return O(c.createElement(rre,Object.assign({},d,{disabled:h,allowClear:$,classes:{affixWrapper:G(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:v==="rtl",[`${w}-affix-wrapper-borderless`]:!r,[`${w}-affix-wrapper-sm`]:m==="small",[`${w}-affix-wrapper-lg`]:m==="large",[`${w}-textarea-show-count`]:s},po(`${w}-affix-wrapper`,x),P)},classNames:Object.assign(Object.assign({},u),{textarea:G({[`${w}-borderless`]:!r,[`${w}-sm`]:m==="small",[`${w}-lg`]:m==="large"},po(w,x),P,u==null?void 0:u.textarea)}),prefixCls:w,suffix:b&&c.createElement("span",{className:`${w}-textarea-suffix`},C),showCount:s,ref:S})))}),ire=are,jf=wS;jf.Group=Tne;jf.Search=Xne;jf.TextArea=ire;jf.Password=Une;const _a=jf;var lre={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const sre=lre;var pT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:sre}))};pT.displayName="UpOutlined";const cre=c.forwardRef(pT);function Zb(){return typeof BigInt=="function"}function Tl(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),a=o[0]||"0",i=o[1]||"0";a==="0"&&i==="0"&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:a,decimalStr:i,fullStr:"".concat(l).concat(r)}}function $S(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Zd(e){var t=String(e);if($S(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&ES(t)?t.length-t.indexOf(".")-1:0}function xg(e){var t=String(e);if($S(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Zb()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":xg(this.number):this.origin}}]),e}(),dre=function(){function e(t){if(Fn(this,e),A(this,"origin",""),A(this,"negative",void 0),A(this,"integer",void 0),A(this,"decimal",void 0),A(this,"decimalLen",void 0),A(this,"empty",void 0),A(this,"nan",void 0),mT(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}var n=t;if($S(n)&&(n=Number(n)),n=typeof n=="string"?n:xg(n),ES(n)){var r=Tl(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var a=o[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Dn(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(n){var r="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(n,"0"));return BigInt(r)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=new e(n);if(r.isInvalidate())return this;var o=Math.max(this.getDecimalStr().length,r.getDecimalStr().length),a=this.alignDecimal(o),i=r.alignDecimal(o),l=(a+i).toString(),s=Tl(l),u=s.negativeStr,d=s.trimStr,f="".concat(u).concat(d.padStart(o+1,"0"));return new e("".concat(f.slice(0,-o),".").concat(f.slice(-o)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toString()===(n==null?void 0:n.toString())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Tl("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function ea(e){return Zb()?new dre(e):new ure(e)}function Sp(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=Tl(e),a=o.negativeStr,i=o.integerStr,l=o.decimalStr,s="".concat(t).concat(l),u="".concat(a).concat(i);if(n>=0){var d=Number(l[n]);if(d>=5&&!r){var f=ea(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-d));return Sp(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return s===".0"?u:"".concat(u).concat(s)}var fre=function(){var t=c.useState(!1),n=U(t,2),r=n[0],o=n[1];return tn(function(){o(Pf())},[]),r},vre=200,pre=600;function mre(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,a=e.downDisabled,i=e.onStep,l=c.useRef(),s=c.useRef();s.current=i;var u=function(g,b){g.preventDefault(),s.current(b);function C(){s.current(b),l.current=setTimeout(C,vre)}l.current=setTimeout(C,pre)},d=function(){clearTimeout(l.current)};c.useEffect(function(){return d},[]);var f=fre();if(f)return null;var v="".concat(t,"-handler"),p=G(v,"".concat(v,"-up"),A({},"".concat(v,"-up-disabled"),o)),m=G(v,"".concat(v,"-down"),A({},"".concat(v,"-down-disabled"),a)),y={unselectable:"on",role:"button",onMouseUp:d,onMouseLeave:d};return c.createElement("div",{className:"".concat(v,"-wrap")},c.createElement("span",be({},y,{onMouseDown:function(g){u(g,!0)},"aria-label":"Increase Value","aria-disabled":o,className:p}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",be({},y,{onMouseDown:function(g){u(g,!1)},"aria-label":"Decrease Value","aria-disabled":a,className:m}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function K3(e){var t=typeof e=="number"?xg(e):Tl(e).fullStr,n=t.includes(".");return n?Tl(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function hre(e,t){var n=c.useRef(null);function r(){try{var a=e.selectionStart,i=e.selectionEnd,l=e.value,s=l.substring(0,a),u=l.substring(i);n.current={start:a,end:i,value:l,beforeTxt:s,afterTxt:u}}catch{}}function o(){if(e&&n.current&&t)try{var a=e.value,i=n.current,l=i.beforeTxt,s=i.afterTxt,u=i.start,d=a.length;if(a.endsWith(s))d=a.length-n.current.afterTxt.length;else if(a.startsWith(l))d=l.length;else{var f=l[u-1],v=a.indexOf(f,u-1);v!==-1&&(d=v+1)}e.setSelectionRange(d,d)}catch(p){Kt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}return[r,o]}const gre=function(){var e=c.useRef(0),t=function(){Ft.cancel(e.current)};return c.useEffect(function(){return t},[]),function(n){t(),e.current=Ft(function(){n()})}};var yre=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],U3=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},Y3=function(t){var n=ea(t);return n.isInvalidate()?null:n},hT=c.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-input-number":r,a=e.className,i=e.style,l=e.min,s=e.max,u=e.step,d=u===void 0?1:u,f=e.defaultValue,v=e.value,p=e.disabled,m=e.readOnly,y=e.upHandler,h=e.downHandler,g=e.keyboard,b=e.controls,C=b===void 0?!0:b,x=e.stringMode,S=e.parser,w=e.formatter,$=e.precision,O=e.decimalSeparator,P=e.onChange,R=e.onInput,T=e.onPressEnter,N=e.onStep,M=Oe(e,yre),I="".concat(o,"-input"),_=c.useRef(null),k=c.useState(!1),F=U(k,2),D=F[0],j=F[1],H=c.useRef(!1),z=c.useRef(!1),B=c.useRef(!1),V=c.useState(function(){return ea(v??f)}),K=U(V,2),W=K[0],Y=K[1];function X(Ee){v===void 0&&Y(Ee)}var Q=c.useCallback(function(Ee,Se){if(!Se)return $>=0?$:Math.max(Zd(Ee),Zd(d))},[$,d]),ae=c.useCallback(function(Ee){var Se=String(Ee);if(S)return S(Se);var ke=Se;return O&&(ke=ke.replace(O,".")),ke.replace(/[^\w.-]+/g,"")},[S,O]),ee=c.useRef(""),q=c.useCallback(function(Ee,Se){if(w)return w(Ee,{userTyping:Se,input:String(ee.current)});var ke=typeof Ee=="number"?xg(Ee):Ee;if(!Se){var De=Q(ke,Se);if(ES(ke)&&(O||De>=0)){var He=O||".";ke=Sp(ke,He,De)}}return ke},[w,Q,O]),re=c.useState(function(){var Ee=f??v;return W.isInvalidate()&&["string","number"].includes(Ke(Ee))?Number.isNaN(Ee)?"":Ee:q(W.toString(),!1)}),te=U(re,2),J=te[0],ne=te[1];ee.current=J;function oe(Ee,Se){ne(q(Ee.isInvalidate()?Ee.toString(!1):Ee.toString(!Se),Se))}var le=c.useMemo(function(){return Y3(s)},[s,$]),de=c.useMemo(function(){return Y3(l)},[l,$]),pe=c.useMemo(function(){return!le||!W||W.isInvalidate()?!1:le.lessEquals(W)},[le,W]),se=c.useMemo(function(){return!de||!W||W.isInvalidate()?!1:W.lessEquals(de)},[de,W]),ve=hre(_.current,D),he=U(ve,2),ce=he[0],ie=he[1],fe=function(Se){return le&&!Se.lessEquals(le)?le:de&&!de.lessEquals(Se)?de:null},me=function(Se){return!fe(Se)},Ce=function(Se,ke){var De=Se,He=me(De)||De.isEmpty();if(!De.isEmpty()&&!ke&&(De=fe(De)||De,He=!0),!m&&!p&&He){var Me=De.toString(),yt=Q(Me,ke);return yt>=0&&(De=ea(Sp(Me,".",yt)),me(De)||(De=ea(Sp(Me,".",yt,!0)))),De.equals(W)||(X(De),P==null||P(De.isEmpty()?null:U3(x,De)),v===void 0&&oe(De,ke)),De}return W},ye=gre(),Ne=function Ee(Se){if(ce(),ne(Se),!z.current){var ke=ae(Se),De=ea(ke);De.isNaN()||Ce(De,!0)}R==null||R(Se),ye(function(){var He=Se;S||(He=Se.replace(/。/g,".")),He!==Se&&Ee(He)})},_e=function(){z.current=!0},Ue=function(){z.current=!1,Ne(_.current.value)},Ge=function(Se){Ne(Se.target.value)},$e=function(Se){var ke;if(!(Se&&pe||!Se&&se)){H.current=!1;var De=ea(B.current?K3(d):d);Se||(De=De.negate());var He=(W||ea(0)).add(De.toString()),Me=Ce(He,!1);N==null||N(U3(x,Me),{offset:B.current?K3(d):d,type:Se?"up":"down"}),(ke=_.current)===null||ke===void 0||ke.focus()}},Ie=function(Se){var ke=ea(ae(J)),De=ke;ke.isNaN()?De=W:De=Ce(ke,Se),v!==void 0?oe(W,!1):De.isNaN()||oe(De,!1)},ze=function(){H.current=!0},gt=function(Se){var ke=Se.which,De=Se.shiftKey;H.current=!0,De?B.current=!0:B.current=!1,ke===ue.ENTER&&(z.current||(H.current=!1),Ie(!1),T==null||T(Se)),g!==!1&&!z.current&&[ue.UP,ue.DOWN].includes(ke)&&($e(ue.UP===ke),Se.preventDefault())},ft=function(){H.current=!1,B.current=!1},Ct=function(){Ie(!1),j(!1),H.current=!1};return sc(function(){W.isInvalidate()||oe(W,!1)},[$]),sc(function(){var Ee=ea(v);Y(Ee);var Se=ea(ae(J));(!Ee.equals(Se)||!H.current||w)&&oe(Ee,H.current)},[v]),sc(function(){w&&ie()},[J]),c.createElement("div",{className:G(o,a,(n={},A(n,"".concat(o,"-focused"),D),A(n,"".concat(o,"-disabled"),p),A(n,"".concat(o,"-readonly"),m),A(n,"".concat(o,"-not-a-number"),W.isNaN()),A(n,"".concat(o,"-out-of-range"),!W.isInvalidate()&&!me(W)),n)),style:i,onFocus:function(){j(!0)},onBlur:Ct,onKeyDown:gt,onKeyUp:ft,onCompositionStart:_e,onCompositionEnd:Ue,onBeforeInput:ze},C&&c.createElement(mre,{prefixCls:o,upNode:y,downNode:h,upDisabled:pe,downDisabled:se,onStep:$e}),c.createElement("div",{className:"".concat(I,"-wrap")},c.createElement("input",be({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":s,"aria-valuenow":W.isInvalidate()?null:W.toString(),step:d},M,{ref:cr(_,t),className:I,value:J,onChange:Ge,disabled:p,readOnly:m}))))});hT.displayName="InputNumber";const bre=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:a,fontSizeLG:i,controlHeightLG:l,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:d,colorTextDescription:f,motionDurationMid:v,colorPrimary:p,controlHeight:m,inputPaddingHorizontal:y,colorBgContainer:h,colorTextDisabled:g,borderRadiusSM:b,borderRadiusLG:C,controlWidth:x,handleVisible:S}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),kf(e)),mg(e,t)),{display:"inline-block",width:x,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:a,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,borderRadius:C,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:b,[`input${t}-input`]:{height:s-2*n,padding:`0 ${d}px`}},"&:hover":Object.assign({},nu(e)),"&-focused":Object.assign({},Ul(e)),"&-disabled":Object.assign(Object.assign({},cS(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":Object.assign(Object.assign(Object.assign({},At(e)),p7(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:C}},"&-sm":{[`${t}-group-addon`]:{borderRadius:b}}}}),[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{width:"100%",height:m-2*n,padding:`0 ${y}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${v} linear`,appearance:"textfield",fontSize:"inherit",verticalAlign:"top"}),d7(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:h,borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:S===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${v} linear ${v}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:f,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${o}`,transition:`all ${v} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:p}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Sf()),{color:f,transition:`all ${v} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:a},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:g}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Cre=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:o,borderRadiusLG:a,borderRadiusSM:i}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},kf(e)),mg(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:a},"&-sm":{borderRadius:i},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},nu(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},xre=Ut("InputNumber",e=>{const t=uS(e);return[bre(t),Cre(t),qc(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var Sre=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=c.useContext(rt),o=c.useContext(ur),[a,i]=c.useState(!1),l=c.useRef(null);c.useImperativeHandle(t,()=>l.current);const{className:s,rootClassName:u,size:d,disabled:f,prefixCls:v,addonBefore:p,addonAfter:m,prefix:y,bordered:h=!0,readOnly:g,status:b,controls:C}=e,x=Sre(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),S=n("input-number",v),[w,$]=xre(S),{compactSize:O,compactItemClassnames:P}=ka(S,r);let R=c.createElement(cre,{className:`${S}-handler-up-inner`}),T=c.createElement(D2,{className:`${S}-handler-down-inner`});const N=typeof C=="boolean"?C:void 0;typeof C=="object"&&(R=typeof C.upIcon>"u"?R:c.createElement("span",{className:`${S}-handler-up-inner`},C.upIcon),T=typeof C.downIcon>"u"?T:c.createElement("span",{className:`${S}-handler-down-inner`},C.downIcon));const{hasFeedback:M,status:I,isFormItemInput:_,feedbackIcon:k}=c.useContext(Cr),F=nl(I,b),D=O||d||o,j=y!=null||M,H=!!(p||m),z=c.useContext(Xr),B=f??z,V=G({[`${S}-lg`]:D==="large",[`${S}-sm`]:D==="small",[`${S}-rtl`]:r==="rtl",[`${S}-borderless`]:!h,[`${S}-in-form-item`]:_},po(S,F),P,$,s,!j&&!H&&u);let K=c.createElement(hT,Object.assign({ref:l,disabled:B,className:V,upHandler:R,downHandler:T,prefixCls:S,readOnly:g,controls:N},x));if(j){const W=G(`${S}-affix-wrapper`,po(`${S}-affix-wrapper`,F,M),{[`${S}-affix-wrapper-focused`]:a,[`${S}-affix-wrapper-disabled`]:e.disabled,[`${S}-affix-wrapper-sm`]:D==="small",[`${S}-affix-wrapper-lg`]:D==="large",[`${S}-affix-wrapper-rtl`]:r==="rtl",[`${S}-affix-wrapper-readonly`]:g,[`${S}-affix-wrapper-borderless`]:!h},!H&&s,!H&&u,$);K=c.createElement("div",{className:W,style:e.style,onMouseUp:()=>l.current.focus()},y&&c.createElement("span",{className:`${S}-prefix`},y),Yn(K,{style:null,value:e.value,onFocus:Y=>{var X;i(!0),(X=e.onFocus)===null||X===void 0||X.call(e,Y)},onBlur:Y=>{var X;i(!1),(X=e.onBlur)===null||X===void 0||X.call(e,Y)}}),M&&c.createElement("span",{className:`${S}-suffix`},k))}if(H){const W=`${S}-group`,Y=`${W}-addon`,X=p?c.createElement("div",{className:Y},p):null,Q=m?c.createElement("div",{className:Y},m):null,ae=G(`${S}-wrapper`,W,$,{[`${W}-rtl`]:r==="rtl"}),ee=G(`${S}-group-wrapper`,{[`${S}-group-wrapper-sm`]:D==="small",[`${S}-group-wrapper-lg`]:D==="large",[`${S}-group-wrapper-rtl`]:r==="rtl"},po(`${S}-group-wrapper`,F,M),$,s,u);K=c.createElement("div",{className:ee,style:e.style},c.createElement("div",{className:ae},X&&c.createElement(Wl,null,c.createElement(Ud,{status:!0,override:!0},X)),Yn(K,{style:null,disabled:B}),Q&&c.createElement(Wl,null,c.createElement(Ud,{status:!0,override:!0},Q))))}return w(K)}),yT=gT,wre=e=>c.createElement(nt,{theme:{components:{InputNumber:{handleVisible:!0}}}},c.createElement(gT,Object.assign({},e)));yT._InternalPanelDoNotUseOrYouWillBeFired=wre;const Yl=yT,zf=oq;zf.Header=tq;zf.Footer=nq;zf.Content=rq;zf.Sider=sq;const _c=zf,$re={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:"页码"},Ere=new It("antSpinMove",{to:{opacity:1}}),Pre=new It("antRotate",{to:{transform:"rotate(405deg)"}}),Ore=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},At(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Ere,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:Pre,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),Mre=Ut("Spin",e=>{const t=St(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[Ore(t)]},{contentHeight:400});var Rre=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{spinPrefixCls:t,spinning:n=!0,delay:r=0,className:o,rootClassName:a,size:i="default",tip:l,wrapperClassName:s,style:u,children:d,hashId:f}=e,v=Rre(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[p,m]=c.useState(()=>n&&!Nre(n,r));c.useEffect(()=>{if(n){const S=CJ(r,()=>{m(!0)});return S(),()=>{var w;(w=S==null?void 0:S.cancel)===null||w===void 0||w.call(S)}}m(!1)},[r,n]);const y=c.useMemo(()=>typeof d<"u",[d]),{direction:h}=c.useContext(rt),g=G(t,{[`${t}-sm`]:i==="small",[`${t}-lg`]:i==="large",[`${t}-spinning`]:p,[`${t}-show-text`]:!!l,[`${t}-rtl`]:h==="rtl"},o,a,f),b=G(`${t}-container`,{[`${t}-blur`]:p}),C=On(v,["indicator","prefixCls"]),x=c.createElement("div",Object.assign({},C,{style:u,className:g,"aria-live":"polite","aria-busy":p}),Ire(t,e),l?c.createElement("div",{className:`${t}-text`},l):null);return y?c.createElement("div",Object.assign({},C,{className:G(`${t}-nested-loading`,s,f)}),p&&c.createElement("div",{key:"loading"},x),c.createElement("div",{className:b,key:"container"},d)):x},bT=e=>{const{prefixCls:t}=e,{getPrefixCls:n}=c.useContext(rt),r=n("spin",t),[o,a]=Mre(r),i=Object.assign(Object.assign({},e),{spinPrefixCls:r,hashId:a});return o(c.createElement(Tre,Object.assign({},i)))};bT.setDefaultIndicator=e=>{wp=e};const al=bT;let Io=null,$l=e=>e(),Jd=[],Tm={};function _re(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:a}=Tm,i=e??yR().getPrefixCls("message"),l=(t==null?void 0:t())||document.body;return{prefixCls:i,container:l,duration:n,rtl:r,maxCount:o,top:a}}const kre=c.forwardRef((e,t)=>{const n=()=>{const{prefixCls:f,container:v,maxCount:p,duration:m,rtl:y,top:h}=_re();return{prefixCls:f,getContainer:()=>v,maxCount:p,duration:m,rtl:y,top:h}},[r,o]=c.useState(n),[a,i]=UR(r),l=yR(),s=l.getRootPrefixCls(),u=l.getIconPrefixCls(),d=()=>{o(n)};return c.useEffect(d,[]),c.useImperativeHandle(t,()=>{const f=Object.assign({},a);return Object.keys(f).forEach(v=>{f[v]=function(){return d(),a[v].apply(a,arguments)}}),{instance:f,sync:d}}),c.createElement(nt,{prefixCls:s,iconPrefixCls:u},i)});function Sg(){if(!Io){const e=document.createDocumentFragment(),t={fragment:e};Io=t,$l(()=>{YR(c.createElement(kre,{ref:n=>{const{instance:r,sync:o}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=o,Sg())})}}),e)});return}Io.instance&&(Jd.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{$l(()=>{const r=Io.instance.open(Object.assign(Object.assign({},Tm),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":$l(()=>{Io==null||Io.instance.destroy(e.key)});break;default:$l(()=>{var r;const o=(r=Io.instance)[t].apply(r,xe(e.args));o==null||o.then(e.resolve),e.setCloseFn(o)})}}),Jd=[])}function Fre(e){Tm=Object.assign(Object.assign({},Tm),e),$l(()=>{var t;(t=Io==null?void 0:Io.sync)===null||t===void 0||t.call(Io)})}function Dre(e){const t=h2(n=>{let r;const o={type:"open",config:e,resolve:n,setCloseFn:a=>{r=a}};return Jd.push(o),()=>{r?$l(()=>{r()}):o.skipped=!0}});return Sg(),t}function Lre(e,t){const n=h2(r=>{let o;const a={type:e,args:t,resolve:r,setCloseFn:i=>{o=i}};return Jd.push(a),()=>{o?$l(()=>{o()}):a.skipped=!0}});return Sg(),n}function Are(e){Jd.push({type:"destroy",key:e}),Sg()}const jre=["success","info","warning","error","loading"],zre={open:Dre,destroy:Are,config:Fre,useMessage:sV,_InternalPanelDoNotUseOrYouWillBeFired:rV},CT=zre;jre.forEach(e=>{CT[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r10&&arguments[10]!==void 0?arguments[10]:0,v=r/100*360*((360-i)/360),p=i===0?0:{bottom:0,top:180,left:90,right:-90}[l],m=(100-o)/100*n;return u==="round"&&o!==100&&(m+=d/2,m>=n&&(m=n-.01)),{stroke:typeof s=="string"?s:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:m+f,transform:"rotate(".concat(a+v+p,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},PS=function(t){var n=t.id,r=t.prefixCls,o=t.steps,a=t.strokeWidth,i=t.trailWidth,l=t.gapDegree,s=l===void 0?0:l,u=t.gapPosition,d=t.trailColor,f=t.strokeLinecap,v=t.style,p=t.className,m=t.strokeColor,y=t.percent,h=Oe(t,Ure),g=Kre(n),b="".concat(g,"-gradient"),C=Fu/2-a/2,x=Math.PI*2*C,S=s>0?90+s/2:-90,w=x*((360-s)/360),$=Ke(o)==="object"?o:{count:o,space:2},O=$.count,P=$.space,R=O1(x,w,0,100,S,s,u,d,f,a),T=q3(y),N=q3(m),M=N.find(function(F){return F&&Ke(F)==="object"}),I=Bre(),_=function(){var D=0;return T.map(function(j,H){var z=N[H]||N[N.length-1],B=z&&Ke(z)==="object"?"url(#".concat(b,")"):void 0,V=O1(x,w,D,j,S,s,u,z,f,a);return D+=j,c.createElement("circle",{key:H,className:"".concat(r,"-circle-path"),r:C,cx:0,cy:0,stroke:B,strokeLinecap:f,strokeWidth:a,opacity:j===0?0:1,style:V,ref:function(W){I[H]=W}})}).reverse()},k=function(){var D=Math.round(O*(T[0]/100)),j=100/O,H=0;return new Array(O).fill(null).map(function(z,B){var V=B<=D-1?N[0]:d,K=V&&Ke(V)==="object"?"url(#".concat(b,")"):void 0,W=O1(x,w,H,j,S,s,u,V,"butt",a,P);return H+=(w-W.strokeDashoffset+P)*100/w,c.createElement("circle",{key:B,className:"".concat(r,"-circle-path"),r:C,cx:0,cy:0,stroke:K,strokeWidth:a,opacity:1,style:W,ref:function(X){I[B]=X}})})};return c.createElement("svg",be({className:G("".concat(r,"-circle"),p),viewBox:"".concat(-Fu/2," ").concat(-Fu/2," ").concat(Fu," ").concat(Fu),style:v,id:n,role:"presentation"},h),M&&c.createElement("defs",null,c.createElement("linearGradient",{id:b,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(M).sort(function(F,D){return X3(F)-X3(D)}).map(function(F,D){return c.createElement("stop",{key:D,offset:F,stopColor:M[F]})}))),!O&&c.createElement("circle",{className:"".concat(r,"-circle-trail"),r:C,cx:0,cy:0,stroke:d,strokeLinecap:f,strokeWidth:i||a,style:R}),O?k():_())};PS.defaultProps=Hre;PS.displayName="Circle";function _l(e){return!e||e<0?0:e>100?100:e}function _m(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const Yre=e=>{let{percent:t,success:n,successPercent:r}=e;const o=_l(_m({success:n,successPercent:r}));return[o,_l(_l(t)-o)]},Gre=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||lc.green,n||null]},wg=(e,t,n)=>{var r,o,a,i;let l=-1,s=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(l=e==="small"?2:14,s=d??8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(o=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&o!==void 0?o:120,s=(i=(a=e[0])!==null&&a!==void 0?a:e[1])!==null&&i!==void 0?i:120));return[l,s]},Xre=3,qre=e=>Xre/e*100,Qre=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:o,gapDegree:a,width:i=120,type:l,children:s,success:u,size:d}=e,f=d??[i,i],[v,p]=wg(f,"circle");let{strokeWidth:m}=e;m===void 0&&(m=Math.max(qre(v),6));const y={width:v,height:p,fontSize:v*.15+6},h=c.useMemo(()=>{if(a||a===0)return a;if(l==="dashboard")return 75},[a,l]),g=o||l==="dashboard"&&"bottom"||void 0,b=Object.prototype.toString.call(e.strokeColor)==="[object Object]",C=Gre({success:u,strokeColor:e.strokeColor}),x=G(`${t}-inner`,{[`${t}-circle-gradient`]:b}),S=c.createElement(PS,{percent:Yre(e),strokeWidth:m,trailWidth:m,strokeColor:C,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:h,gapPosition:g});return c.createElement("div",{className:x,style:y},v<=20?c.createElement(rl,{title:s},c.createElement("span",null,S)):c.createElement(c.Fragment,null,S,s))},Zre=Qre;var Jre=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:o}=n;return`${o} ${r}%`}).join(", ")},toe=(e,t)=>{const{from:n=lc.blue,to:r=lc.blue,direction:o=t==="rtl"?"to left":"to right"}=e,a=Jre(e,["from","to","direction"]);if(Object.keys(a).length!==0){const i=eoe(a);return{backgroundImage:`linear-gradient(${o}, ${i})`}}return{backgroundImage:`linear-gradient(${o}, ${n}, ${r})`}},noe=e=>{const{prefixCls:t,direction:n,percent:r,size:o,strokeWidth:a,strokeColor:i,strokeLinecap:l="round",children:s,trailColor:u=null,success:d}=e,f=i&&typeof i!="string"?toe(i,n):{backgroundColor:i},v=l==="square"||l==="butt"?0:void 0,p={backgroundColor:u||void 0,borderRadius:v},m=o??[-1,a||(o==="small"?6:8)],[y,h]=wg(m,"line",{strokeWidth:a}),g=Object.assign({width:`${_l(r)}%`,height:h,borderRadius:v},f),b=_m(e),C={width:`${_l(b)}%`,height:h,borderRadius:v,backgroundColor:d==null?void 0:d.strokeColor},x={width:y<0?"100%":y,height:h};return c.createElement(c.Fragment,null,c.createElement("div",{className:`${t}-outer`,style:x},c.createElement("div",{className:`${t}-inner`,style:p},c.createElement("div",{className:`${t}-bg`,style:g}),b!==void 0?c.createElement("div",{className:`${t}-success-bg`,style:C}):null)),s)},roe=noe,ooe=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:o=8,strokeColor:a,trailColor:i=null,prefixCls:l,children:s}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,o],[v,p]=wg(f,"step",{steps:n,strokeWidth:o}),m=v/n,y=new Array(n);for(let h=0;h{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},At(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:ioe,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},soe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},coe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},uoe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},doe=Ut("Progress",e=>{const t=e.marginXXS/2,n=St(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[loe(n),soe(n),coe(n),uoe(n)]});var foe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,rootClassName:r,steps:o,strokeColor:a,percent:i=0,size:l="default",showInfo:s=!0,type:u="line",status:d,format:f}=e,v=foe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format"]),p=c.useMemo(()=>{var P,R;const T=_m(e);return parseInt(T!==void 0?(P=T??0)===null||P===void 0?void 0:P.toString():(R=i??0)===null||R===void 0?void 0:R.toString(),10)},[i,e.success,e.successPercent]),m=c.useMemo(()=>!voe.includes(d)&&p>=100?"success":d||"normal",[d,p]),{getPrefixCls:y,direction:h}=c.useContext(rt),g=y("progress",t),[b,C]=doe(g),x=c.useMemo(()=>{if(!s)return null;const P=_m(e);let R;const T=f||(M=>`${M}%`),N=u==="line";return f||m!=="exception"&&m!=="success"?R=T(_l(i),_l(P)):m==="exception"?R=N?c.createElement(fi,null):c.createElement(ns,null):m==="success"&&(R=N?c.createElement(Qh,null):c.createElement(PI,null)),c.createElement("span",{className:`${g}-text`,title:typeof R=="string"?R:void 0},R)},[s,i,p,m,u,g,f]),S=Array.isArray(a)?a[0]:a,w=typeof a=="string"||Array.isArray(a)?a:void 0;let $;u==="line"?$=o?c.createElement(aoe,Object.assign({},e,{strokeColor:w,prefixCls:g,steps:o}),x):c.createElement(roe,Object.assign({},e,{strokeColor:S,prefixCls:g,direction:h}),x):(u==="circle"||u==="dashboard")&&($=c.createElement(Zre,Object.assign({},e,{strokeColor:S,prefixCls:g,progressStatus:m}),x));const O=G(g,{[`${g}-inline-circle`]:u==="circle"&&wg(l,"circle")[0]<=20,[`${g}-${u==="dashboard"&&"circle"||o&&"steps"||u}`]:!0,[`${g}-status-${m}`]:!0,[`${g}-show-info`]:s,[`${g}-${l}`]:typeof l=="string",[`${g}-rtl`]:h==="rtl"},n,r,C);return b(c.createElement("div",Object.assign({className:O,role:"progressbar"},On(v,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),$))},moe=poe;var hoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 01-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z"}}]},name:"alipay",theme:"outlined"};const goe=hoe;var xT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:goe}))};xT.displayName="AlipayOutlined";const yoe=c.forwardRef(xT);var boe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const Coe=boe;var ST=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Coe}))};ST.displayName="CaretDownFilled";const xoe=c.forwardRef(ST);var Soe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z"}}]},name:"chrome",theme:"filled"};const woe=Soe;var wT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:woe}))};wT.displayName="ChromeFilled";const $oe=c.forwardRef(wT);var Eoe={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"};const Poe=Eoe;var $T=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Poe}))};$T.displayName="CopyrightOutlined";const Ooe=c.forwardRef($T);var Moe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z"}}]},name:"crown",theme:"filled"};const Roe=Moe;var ET=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Roe}))};ET.displayName="CrownFilled";const Va=c.forwardRef(ET);var Ioe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const Noe=Ioe;var PT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Noe}))};PT.displayName="FileOutlined";const Toe=c.forwardRef(PT);var _oe={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 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};const koe=_oe;var OT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:koe}))};OT.displayName="InfoCircleOutlined";const Foe=c.forwardRef(OT);var Doe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"};const Loe=Doe;var MT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Loe}))};MT.displayName="LockOutlined";const Q3=c.forwardRef(MT);var Aoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"};const joe=Aoe;var RT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:joe}))};RT.displayName="LogoutOutlined";const zoe=c.forwardRef(RT);var Hoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};const Boe=Hoe;var IT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Boe}))};IT.displayName="MenuOutlined";const Voe=c.forwardRef(IT);var Woe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const Koe=Woe;var NT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Koe}))};NT.displayName="MinusSquareOutlined";const Uoe=c.forwardRef(NT);var Yoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"};const Goe=Yoe;var TT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Goe}))};TT.displayName="MobileOutlined";const Xoe=c.forwardRef(TT);var qoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 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-8H544V328c0-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 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const Qoe=qoe;var _T=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:Qoe}))};_T.displayName="PlusSquareOutlined";const Zoe=c.forwardRef(_T);var Joe={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"smile",theme:"filled"};const eae=Joe;var kT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:eae}))};kT.displayName="SmileFilled";const tae=c.forwardRef(kT);var nae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const rae=nae;var FT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:rae}))};FT.displayName="StarFilled";const oae=c.forwardRef(FT);var aae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"tablet",theme:"filled"};const iae=aae;var DT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:iae}))};DT.displayName="TabletFilled";const lae=c.forwardRef(DT);var sae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const cae=sae;var LT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:cae}))};LT.displayName="UserOutlined";const uae=c.forwardRef(LT);var dae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const fae=dae;var AT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:fae}))};AT.displayName="WarningFilled";const vae=c.forwardRef(AT);var pae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"};const mae=pae;var jT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:mae}))};jT.displayName="WechatOutlined";const hae=c.forwardRef(jT);var gae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}}]},name:"weibo",theme:"outlined"};const yae=gae;var zT=function(t,n){return c.createElement(Pt,E(E({},t),{},{ref:n,icon:yae}))};zT.displayName="WeiboOutlined";const bae=c.forwardRef(zT);var Cae=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],HT=c.forwardRef(function(e,t){var n=e.className,r=e.component,o=e.viewBox,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,u=e.children,d=Oe(e,Cae);gb(!!(r||u),"Should have `component` prop or `children`."),$R();var f=c.useContext(Wh),v=f.prefixCls,p=v===void 0?"anticon":v,m=f.rootClassName,y=G(m,p,n),h=G(A({},"".concat(p,"-spin"),!!a)),g=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=E(E({},aB),{},{className:h,style:g,viewBox:o});o||delete b.viewBox;var C=function(){return r?c.createElement(r,E({},b),u):u?(gb(!!o||c.Children.count(u)===1&&c.isValidElement(u)&&c.Children.only(u).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),c.createElement("svg",E(E({},b),{},{viewBox:o}),u)):null},x=l;return x===void 0&&s&&(x=-1),c.createElement("span",E(E({role:"img"},d),{},{ref:t,tabIndex:x,onClick:s,className:y}),C())});HT.displayName="AntdIcon";const xae=HT;var Sae=["type","children"],BT=new Set;function wae(e){return!!(typeof e=="string"&&e.length&&!BT.has(e))}function km(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(wae(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){km(e,t+1)},r.onerror=function(){km(e,t+1)}),BT.add(n),document.body.appendChild(r)}}function VT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;t&&typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?km(t.reverse()):km([t]));var o=c.forwardRef(function(a,i){var l=a.type,s=a.children,u=Oe(a,Sae),d=null;return a.type&&(d=c.createElement("use",{xlinkHref:"#".concat(l)})),s&&(d=s),c.createElement(xae,E(E(E({},r),u),{},{ref:i}),d)});return o.displayName="Iconfont",o}function $ae(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function Eae(e){var t,n,r=e.ownerDocument,o=r.body,a=r&&r.documentElement,i=e.getBoundingClientRect();return t=i.left,n=i.top,t-=a.clientLeft||o.clientLeft||0,n-=a.clientTop||o.clientTop||0,{left:t,top:n}}function Pae(e){var t=Eae(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=$ae(r),t.left}function Oae(e,t){var n=e.disabled,r=e.prefixCls,o=e.character,a=e.characterRender,i=e.index,l=e.count,s=e.value,u=e.allowHalf,d=e.focused,f=e.onHover,v=e.onClick,p=function(S){f(S,i)},m=function(S){v(S,i)},y=function(S){S.keyCode===ue.ENTER&&v(S,i)},h=i+1,g=new Set([r]);s===0&&i===0&&d?g.add("".concat(r,"-focused")):u&&s+.5>=h&&si?"true":"false","aria-posinset":i+1,"aria-setsize":l,tabIndex:n?-1:0},Z.createElement("div",{className:"".concat(r,"-first")},b),Z.createElement("div",{className:"".concat(r,"-second")},b)));return a&&(C=a(C,e)),C}const Mae=Z.forwardRef(Oae);function Rae(){var e=c.useRef({});function t(r){return e.current[r]}function n(r){return function(o){e.current[r]=o}}return[t,n]}function Iae(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-rate":r,a=e.className,i=e.style,l=e.defaultValue,s=e.value,u=e.count,d=u===void 0?5:u,f=e.allowHalf,v=f===void 0?!1:f,p=e.allowClear,m=p===void 0?!0:p,y=e.character,h=y===void 0?"★":y,g=e.characterRender,b=e.disabled,C=e.direction,x=C===void 0?"ltr":C,S=e.tabIndex,w=S===void 0?0:S,$=e.autoFocus,O=e.onHoverChange,P=e.onChange,R=e.onFocus,T=e.onBlur,N=e.onKeyDown,M=Rae(),I=U(M,2),_=I[0],k=I[1],F=Z.useRef(null),D=function(){if(!b){var fe;(fe=F.current)===null||fe===void 0||fe.focus()}};Z.useImperativeHandle(t,function(){return{focus:D,blur:function(){if(!b){var fe;(fe=F.current)===null||fe===void 0||fe.blur()}}}});var j=bt(l||0,{value:s}),H=U(j,2),z=H[0],B=H[1],V=bt(null),K=U(V,2),W=K[0],Y=K[1],X=function(fe,me){var Ce=x==="rtl",ye=fe+1;if(v){var Ne=$c(_(fe)),_e=Pae(Ne),Ue=Ne.clientWidth;(Ce&&me-_e>Ue/2||!Ce&&me-_e0&&!Ce||me===ue.RIGHT&&ye>0&&Ce?(v?ye-=.5:ye-=1,Q(ye),fe.preventDefault()):me===ue.LEFT&&ye{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},_ae=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),kae=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Tae(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),_ae(e))}},Fae=Ut("Rate",e=>{const{colorFillContent:t}=e,n=St(e,{rateStarColor:e.yellow6,rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[kae(n)]});var Dae=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,rootClassName:o,tooltips:a,character:i=c.createElement(oae,null)}=e,l=Dae(e,["prefixCls","className","rootClassName","tooltips","character"]),s=(m,y)=>{let{index:h}=y;return a?c.createElement(rl,{title:a[h]},m):m},{getPrefixCls:u,direction:d}=c.useContext(rt),f=u("rate",n),[v,p]=Fae(f);return v(c.createElement(Nae,Object.assign({ref:t,character:i,characterRender:s},l,{className:G(r,o,p),prefixCls:f,direction:d})))}),Z3=Lae,Aae=()=>c.createElement("svg",{width:"252",height:"294"},c.createElement("defs",null,c.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(0 .012)"},c.createElement("mask",{fill:"#fff"}),c.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),c.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),c.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),c.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),c.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),c.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),c.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),c.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),c.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),c.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),c.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),c.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),c.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),c.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),c.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),c.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),c.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),c.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),c.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),c.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),c.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),c.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),c.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),c.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),c.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),c.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),c.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),c.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),c.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),c.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),c.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),c.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),c.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),c.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),c.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),c.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),c.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),c.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),jae=Aae,zae=()=>c.createElement("svg",{width:"254",height:"294"},c.createElement("defs",null,c.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),c.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(0 .067)"},c.createElement("mask",{fill:"#fff"}),c.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),c.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),c.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),c.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),c.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),c.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),c.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),c.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),c.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),c.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),c.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),c.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),c.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),c.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),c.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),c.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),c.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),c.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),c.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),c.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),c.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),c.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),c.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),c.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),c.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),c.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),c.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),c.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),c.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),c.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),c.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),c.createElement("mask",{fill:"#fff"}),c.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),c.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),c.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),c.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),c.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),c.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),c.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),c.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),c.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),Hae=zae,Bae=()=>c.createElement("svg",{width:"251",height:"294"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),c.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),c.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),c.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),c.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),c.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),c.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),c.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),c.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),c.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),c.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),c.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),c.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),c.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),c.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),c.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),c.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),c.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),c.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),c.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),c.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),c.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),c.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),c.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),c.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),c.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),c.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),c.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),c.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),c.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),c.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),c.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),c.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),c.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),c.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),c.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),c.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),Vae=Bae,Wae=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:o,paddingXL:a,paddingXS:i,paddingLG:l,marginXS:s,lineHeight:u}=e;return{[t]:{padding:`${l*2}px ${a}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${l}px ${o*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:i,"&:last-child":{marginInlineEnd:0}}}}},Kae=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},Uae=e=>[Wae(e),Kae(e)],Yae=e=>Uae(e),Gae=Ut("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,o=`${t}px 0 0 0`,a=e.colorInfo,i=e.colorError,l=e.colorSuccess,s=e.colorWarning,u=St(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:o,resultInfoIconColor:a,resultErrorIconColor:i,resultSuccessIconColor:l,resultWarningIconColor:s});return[Yae(u)]},{imageWidth:250,imageHeight:295}),Xae={success:Qh,error:fi,info:p2,warning:vae},Hf={404:jae,500:Hae,403:Vae},qae=Object.keys(Hf),Qae=e=>{let{prefixCls:t,icon:n,status:r}=e;const o=G(`${t}-icon`);if(qae.includes(`${r}`)){const i=Hf[r];return c.createElement("div",{className:`${o} ${t}-image`},c.createElement(i,null))}const a=c.createElement(Xae[r]);return n===null||n===!1?null:c.createElement("div",{className:o},n||a)},Zae=e=>{let{prefixCls:t,extra:n}=e;return n?c.createElement("div",{className:`${t}-extra`},n):null},$g=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:o,title:a,style:i,children:l,status:s="info",icon:u,extra:d}=e;const{getPrefixCls:f,direction:v}=c.useContext(rt),p=f("result",t),[m,y]=Gae(p),h=G(p,`${p}-${s}`,n,r,{[`${p}-rtl`]:v==="rtl"},y);return m(c.createElement("div",{className:h,style:i},c.createElement(Qae,{prefixCls:p,status:s,icon:u}),c.createElement("div",{className:`${p}-title`},a),o&&c.createElement("div",{className:`${p}-subtitle`},o),c.createElement(Zae,{prefixCls:p,extra:d}),l&&c.createElement("div",{className:`${p}-content`},l)))};$g.PRESENTED_IMAGE_403=Hf[403];$g.PRESENTED_IMAGE_404=Hf[404];$g.PRESENTED_IMAGE_500=Hf[500];const Jae=$g;var J3=function(t){return t?{left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth}:null},Os=function(t){return t!==void 0?"".concat(t,"px"):void 0};function eie(e){var t=e.prefixCls,n=e.containerRef,r=e.value,o=e.getValueIndex,a=e.motionName,i=e.onMotionStart,l=e.onMotionEnd,s=e.direction,u=c.useRef(null),d=c.useState(r),f=U(d,2),v=f[0],p=f[1],m=function(M){var I,_=o(M),k=(I=n.current)===null||I===void 0?void 0:I.querySelectorAll(".".concat(t,"-item"))[_];return(k==null?void 0:k.offsetParent)&&k},y=c.useState(null),h=U(y,2),g=h[0],b=h[1],C=c.useState(null),x=U(C,2),S=x[0],w=x[1];tn(function(){if(v!==r){var N=m(v),M=m(r),I=J3(N),_=J3(M);p(r),b(I),w(_),N&&M?i():l()}},[r]);var $=c.useMemo(function(){return Os(s==="rtl"?-(g==null?void 0:g.right):g==null?void 0:g.left)},[s,g]),O=c.useMemo(function(){return Os(s==="rtl"?-(S==null?void 0:S.right):S==null?void 0:S.left)},[s,S]),P=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},R=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},T=function(){b(null),w(null),l()};return!g||!S?null:c.createElement(er,{visible:!0,motionName:a,motionAppear:!0,onAppearStart:P,onAppearActive:R,onAppearEnd:T},function(N,M){var I=N.className,_=N.style,k=E(E({},_),{},{"--thumb-start-left":$,"--thumb-start-width":Os(g==null?void 0:g.width),"--thumb-active-left":O,"--thumb-active-width":Os(S==null?void 0:S.width)}),F={ref:cr(u,M),style:k,className:G("".concat(t,"-thumb"),I)};return c.createElement("div",F)})}var tie=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function nie(e){if(typeof e.title<"u")return e.title;if(Ke(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function rie(e){return e.map(function(t){if(Ke(t)==="object"&&t!==null){var n=nie(t);return E(E({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var oie=function(t){var n=t.prefixCls,r=t.className,o=t.disabled,a=t.checked,i=t.label,l=t.title,s=t.value,u=t.onChange,d=function(v){o||u(v,s)};return c.createElement("label",{className:G(r,A({},"".concat(n,"-item-disabled"),o))},c.createElement("input",{className:"".concat(n,"-item-input"),type:"radio",disabled:o,checked:a,onChange:d}),c.createElement("div",{className:"".concat(n,"-item-label"),title:l},i))},OS=c.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=o===void 0?"rc-segmented":o,i=e.direction,l=e.options,s=e.disabled,u=e.defaultValue,d=e.value,f=e.onChange,v=e.className,p=v===void 0?"":v,m=e.motionName,y=m===void 0?"thumb-motion":m,h=Oe(e,tie),g=c.useRef(null),b=c.useMemo(function(){return cr(g,t)},[g,t]),C=c.useMemo(function(){return rie(l)},[l]),x=bt((n=C[0])===null||n===void 0?void 0:n.value,{value:d,defaultValue:u}),S=U(x,2),w=S[0],$=S[1],O=c.useState(!1),P=U(O,2),R=P[0],T=P[1],N=function(_,k){s||($(k),f==null||f(k))},M=On(h,["children"]);return c.createElement("div",be({},M,{className:G(a,(r={},A(r,"".concat(a,"-rtl"),i==="rtl"),A(r,"".concat(a,"-disabled"),s),r),p),ref:b}),c.createElement("div",{className:"".concat(a,"-group")},c.createElement(eie,{prefixCls:a,value:w,containerRef:g,motionName:"".concat(a,"-").concat(y),direction:i,getValueIndex:function(_){return C.findIndex(function(k){return k.value===_})},onMotionStart:function(){T(!0)},onMotionEnd:function(){T(!1)}}),C.map(function(I){return c.createElement(oie,be({key:I.value,prefixCls:a,className:G(I.className,"".concat(a,"-item"),A({},"".concat(a,"-item-selected"),I.value===w&&!R)),checked:I.value===w,onChange:N},I,{disabled:!!s||!!I.disabled}))})))});OS.displayName="Segmented";OS.defaultProps={options:[]};function e6(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function t6(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadowTertiary}}const aie=Object.assign({overflow:"hidden"},ua),iie=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},t6(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":Object.assign({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},aie),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},t6(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),e6(`&-disabled ${t}-item`,e)),e6(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},lie=Ut("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:r,colorText:o,colorFillSecondary:a,colorBgLayout:i,colorBgElevated:l}=e,s=St(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:r,labelColorHover:o,bgColor:i,bgColorHover:a,bgColorSelected:l});return[iie(s)]});var n6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,rootClassName:o,block:a,options:i=[],size:l="middle"}=e,s=n6(e,["prefixCls","className","rootClassName","block","options","size"]),{getPrefixCls:u,direction:d}=c.useContext(rt),f=u("segmented",n),[v,p]=lie(f),m=c.useContext(ur),y=l||m,h=c.useMemo(()=>i.map(g=>{if(sie(g)){const{icon:b,label:C}=g,x=n6(g,["icon","label"]);return Object.assign(Object.assign({},x),{label:c.createElement(c.Fragment,null,c.createElement("span",{className:`${f}-item-icon`},b),C&&c.createElement("span",null,C))})}return g}),[i,f]);return v(c.createElement(OS,Object.assign({},s,{className:G(r,o,{[`${f}-block`]:a,[`${f}-sm`]:y==="small",[`${f}-lg`]:y==="large"},p),options:h,ref:t,prefixCls:f,direction:d})))}),uie=cie;var is=c.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0});function Jb(e,t,n){return(e-t)/(n-t)}function MS(e,t,n,r){var o=Jb(t,n,r),a={};switch(e){case"rtl":a.right="".concat(o*100,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(o*100,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(o*100,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(o*100,"%"),a.transform="translateX(-50%)";break}return a}function Js(e,t){return Array.isArray(e)?e[t]:e}var die=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],fie=c.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.value,i=e.valueIndex,l=e.onStartMove,s=e.style,u=e.render,d=e.dragging,f=e.onOffsetChange,v=Oe(e,die),p=c.useContext(is),m=p.min,y=p.max,h=p.direction,g=p.disabled,b=p.keyboard,C=p.range,x=p.tabIndex,S=p.ariaLabelForHandle,w=p.ariaLabelledByForHandle,$=p.ariaValueTextFormatterForHandle,O="".concat(o,"-handle"),P=function(I){g||l(I,i)},R=function(I){if(!g&&b){var _=null;switch(I.which||I.keyCode){case ue.LEFT:_=h==="ltr"||h==="btt"?-1:1;break;case ue.RIGHT:_=h==="ltr"||h==="btt"?1:-1;break;case ue.UP:_=h!=="ttb"?1:-1;break;case ue.DOWN:_=h!=="ttb"?-1:1;break;case ue.HOME:_="min";break;case ue.END:_="max";break;case ue.PAGE_UP:_=2;break;case ue.PAGE_DOWN:_=-2;break}_!==null&&(I.preventDefault(),f(_,i))}},T=MS(h,a,m,y),N=c.createElement("div",be({ref:t,className:G(O,(n={},A(n,"".concat(O,"-").concat(i+1),C),A(n,"".concat(O,"-dragging"),d),n)),style:E(E({},T),s),onMouseDown:P,onTouchStart:P,onKeyDown:R,tabIndex:g?null:Js(x,i),role:"slider","aria-valuemin":m,"aria-valuemax":y,"aria-valuenow":a,"aria-disabled":g,"aria-label":Js(S,i),"aria-labelledby":Js(w,i),"aria-valuetext":(r=Js($,i))===null||r===void 0?void 0:r(a)},v));return u&&(N=u(N,{index:i,prefixCls:o,value:a,dragging:d})),N}),vie=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],pie=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,a=e.onOffsetChange,i=e.values,l=e.handleRender,s=e.draggingIndex,u=Oe(e,vie),d=c.useRef({});return c.useImperativeHandle(t,function(){return{focus:function(v){var p;(p=d.current[v])===null||p===void 0||p.focus()}}}),c.createElement(c.Fragment,null,i.map(function(f,v){return c.createElement(fie,be({ref:function(m){m?d.current[v]=m:delete d.current[v]},dragging:s===v,prefixCls:n,style:Js(r,v),key:v,value:f,valueIndex:v,onStartMove:o,onOffsetChange:a,render:l},u))}))});function r6(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function mie(e,t,n,r,o,a,i,l,s){var u=c.useState(null),d=U(u,2),f=d[0],v=d[1],p=c.useState(-1),m=U(p,2),y=m[0],h=m[1],g=c.useState(n),b=U(g,2),C=b[0],x=b[1],S=c.useState(n),w=U(S,2),$=w[0],O=w[1],P=c.useRef(null),R=c.useRef(null);c.useEffect(function(){y===-1&&x(n)},[n,y]),c.useEffect(function(){return function(){document.removeEventListener("mousemove",P.current),document.removeEventListener("mouseup",R.current),document.removeEventListener("touchmove",P.current),document.removeEventListener("touchend",R.current)}},[]);var T=function(F,D){C.some(function(j,H){return j!==F[H]})&&(D!==void 0&&v(D),x(F),i(F))},N=function(F,D){if(F===-1){var j=$[0],H=$[$.length-1],z=r-j,B=o-H,V=D*(o-r);V=Math.max(V,z),V=Math.min(V,B);var K=a(j+V);V=K-j;var W=$.map(function(ae){return ae+V});T(W)}else{var Y=(o-r)*D,X=xe(C);X[F]=$[F];var Q=s(X,Y,F,"dist");T(Q.values,Q.value)}},M=c.useRef(N);M.current=N;var I=function(F,D){F.stopPropagation();var j=n[D];h(D),v(j),O(n);var H=r6(F),z=H.pageX,B=H.pageY,V=function(Y){Y.preventDefault();var X=r6(Y),Q=X.pageX,ae=X.pageY,ee=Q-z,q=ae-B,re=e.current.getBoundingClientRect(),te=re.width,J=re.height,ne;switch(t){case"btt":ne=-q/J;break;case"ttb":ne=q/J;break;case"rtl":ne=-ee/te;break;default:ne=ee/te}M.current(D,ne)},K=function W(Y){Y.preventDefault(),document.removeEventListener("mouseup",W),document.removeEventListener("mousemove",V),document.removeEventListener("touchend",W),document.removeEventListener("touchmove",V),P.current=null,R.current=null,h(-1),l()};document.addEventListener("mouseup",K),document.addEventListener("mousemove",V),document.addEventListener("touchend",K),document.addEventListener("touchmove",V),P.current=V,R.current=K},_=c.useMemo(function(){var k=xe(n).sort(function(D,j){return D-j}),F=xe(C).sort(function(D,j){return D-j});return k.every(function(D,j){return D===F[j]})?C:n},[n,C]);return[y,f,_,I]}function hie(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,a=e.index,i=e.onStartMove,l=c.useContext(is),s=l.direction,u=l.min,d=l.max,f=l.disabled,v=l.range,p="".concat(t,"-track"),m=Jb(r,u,d),y=Jb(o,u,d),h=function(C){!f&&i&&i(C,-1)},g={};switch(s){case"rtl":g.right="".concat(m*100,"%"),g.width="".concat(y*100-m*100,"%");break;case"btt":g.bottom="".concat(m*100,"%"),g.height="".concat(y*100-m*100,"%");break;case"ttb":g.top="".concat(m*100,"%"),g.height="".concat(y*100-m*100,"%");break;default:g.left="".concat(m*100,"%"),g.width="".concat(y*100-m*100,"%")}return c.createElement("div",{className:G(p,v&&"".concat(p,"-").concat(a+1)),style:E(E({},g),n),onMouseDown:h,onTouchStart:h})}function gie(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,a=e.onStartMove,i=c.useContext(is),l=i.included,s=i.range,u=i.min,d=c.useMemo(function(){if(!s){if(r.length===0)return[];var f=o??u,v=r[0];return[{start:Math.min(f,v),end:Math.max(f,v)}]}for(var p=[],m=0;m3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof y=="number"){var b,C=m[h],x=C+y,S=[];r.forEach(function(R){S.push(R.value)}),S.push(e,t),S.push(l(C));var w=y>0?1:-1;g==="unit"?S.push(l(C+w*n)):S.push(l(x)),S=S.filter(function(R){return R!==null}).filter(function(R){return y<0?R<=C:R>=C}),g==="unit"&&(S=S.filter(function(R){return R!==C}));var $=g==="unit"?C:x;b=S[0];var O=Math.abs(b-$);if(S.forEach(function(R){var T=Math.abs(R-$);T1){var P=xe(m);return P[h]=b,p(P,y-w,h,g)}return b}else{if(y==="min")return e;if(y==="max")return t}},d=function(m,y,h){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",b=m[h],C=u(m,y,h,g);return{value:C,changed:C!==b}},f=function(m){return a===null&&m===0||typeof a=="number"&&m3&&arguments[3]!==void 0?arguments[3]:"unit",b=m.map(s),C=b[h],x=u(b,y,h,g);if(b[h]=x,o===!1){var S=a||0;h>0&&b[h-1]!==C&&(b[h]=Math.max(b[h],b[h-1]+S)),h0;P-=1)for(var R=!0;f(b[P]-b[P-1])&&R;){var T=d(b,-1,P-1);b[P-1]=T.value,R=T.changed}for(var N=b.length-1;N>0;N-=1)for(var M=!0;f(b[N]-b[N-1])&&M;){var I=d(b,-1,N-1);b[N-1]=I.value,M=I.changed}for(var _=0;_=0?I:!1},[I,pe]),ve=c.useMemo(function(){var qe=Object.keys(Y||{});return qe.map(function(Be){var Fe=Y[Be],Ze={value:Number(Be)};return Fe&&Ke(Fe)==="object"&&!c.isValidElement(Fe)&&("label"in Fe||"style"in Fe)?(Ze.style=Fe.style,Ze.label=Fe.label):Ze.label=Fe,Ze}).filter(function(Be){var Fe=Be.label;return Fe||typeof Fe=="number"}).sort(function(Be,Fe){return Be.value-Fe.value})},[Y]),he=Sie(le,de,pe,ve,N,se),ce=U(he,2),ie=ce[0],fe=ce[1],me=bt(S,{value:x}),Ce=U(me,2),ye=Ce[0],Ne=Ce[1],_e=c.useMemo(function(){var qe=ye==null?[]:Array.isArray(ye)?ye:[ye],Be=U(qe,1),Fe=Be[0],Ze=Fe===void 0?le:Fe,Ye=ye===null?[]:[Ze];if(w){if(Ye=xe(qe),$||ye===void 0){var ut=$>=0?$+1:2;for(Ye=Ye.slice(0,ut);Ye.length=0&&J.current.focus(qe)}Ee(null)},[Ct]);var ke=c.useMemo(function(){return _&&pe===null?!1:_},[_,pe]),De=function(){R==null||R(Ge(Ue.current))},He=mie(ne,oe,_e,le,de,ie,$e,De,fe),Me=U(He,4),yt=Me[0],ot=Me[1],ge=Me[2],Re=Me[3],we=function(Be,Fe){Re(Be,Fe),P==null||P(Ge(Ue.current))},Le=yt!==-1;c.useEffect(function(){if(!Le){var qe=_e.lastIndexOf(ot);J.current.focus(qe)}},[Le]);var Je=c.useMemo(function(){return xe(ge).sort(function(qe,Be){return qe-Be})},[ge]),ct=c.useMemo(function(){return w?[Je[0],Je[Je.length-1]]:[le,Je[0]]},[Je,w,le]),xt=U(ct,2),lt=xt[0],Te=xt[1];c.useImperativeHandle(t,function(){return{focus:function(){J.current.focus(0)},blur:function(){var Be=document,Fe=Be.activeElement;ne.current.contains(Fe)&&(Fe==null||Fe.blur())}}}),c.useEffect(function(){f&&J.current.focus(0)},[]);var Ve=c.useMemo(function(){return{min:le,max:de,direction:oe,disabled:s,keyboard:d,step:pe,included:j,includedStart:lt,includedEnd:Te,range:w,tabIndex:ee,ariaLabelForHandle:q,ariaLabelledByForHandle:re,ariaValueTextFormatterForHandle:te}},[le,de,oe,s,d,pe,j,lt,Te,w,ee,q,re,te]);return c.createElement(is.Provider,{value:Ve},c.createElement("div",{ref:ne,className:G(o,a,(n={},A(n,"".concat(o,"-disabled"),s),A(n,"".concat(o,"-vertical"),F),A(n,"".concat(o,"-horizontal"),!F),A(n,"".concat(o,"-with-marks"),ve.length),n)),style:i,onMouseDown:ze},c.createElement("div",{className:"".concat(o,"-rail"),style:V}),c.createElement(gie,{prefixCls:o,style:z,values:Je,startPoint:H,onStartMove:ke?we:null}),c.createElement(xie,{prefixCls:o,marks:ve,dots:X,style:K,activeStyle:W}),c.createElement(pie,{ref:J,prefixCls:o,style:B,values:ge,draggingIndex:yt,onStartMove:we,onOffsetChange:Se,onFocus:v,onBlur:p,handleRender:Q}),c.createElement(bie,{prefixCls:o,marks:ve,onClick:Ie})))});const $ie=c.forwardRef((e,t)=>{const{open:n}=e,r=c.useRef(null),o=c.useRef(null);function a(){Ft.cancel(o.current),o.current=null}function i(){o.current=Ft(()=>{var l;(l=r.current)===null||l===void 0||l.forceAlign(),o.current=null})}return c.useEffect(()=>(n?i():a(),a),[n,e.title]),c.createElement(rl,Object.assign({ref:cr(r,t)},e))}),Eie=$ie,Pie=e=>{const{componentCls:t,controlSize:n,dotSize:r,marginFull:o,marginPart:a,colorFillContentHover:i}=e;return{[t]:Object.assign(Object.assign({},At(e)),{position:"relative",height:n,margin:`${a}px ${o}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${o}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${e.motionDurationMid}, + inset-block-start ${e.motionDurationMid}, + width ${e.motionDurationMid}, + height ${e.motionDurationMid}, + box-shadow ${e.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+e.handleLineWidthHover*2,height:e.handleSizeHover+e.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.colorPrimary}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:r,height:r,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.colorPrimaryBorder}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.colorFillSecondary} !important`},[`${t}-track`]:{backgroundColor:`${e.colorTextDisabled} !important`},[` + ${t}-dot + `]:{backgroundColor:e.colorBgElevated,borderColor:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new Yt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}}})}},WT=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:a}=e,i=t?"paddingBlock":"paddingInline",l=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",d=t?"top":"insetInlineStart";return{[i]:r,[s]:r*3,[`${n}-rail`]:{[l]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[u]:(r*3-o)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[d]:o,[l]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[d]:r,[l]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[u]:(r-a)/2}}},Oie=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},WT(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Mie=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},WT(e,!1)),{height:"100%"})}},Rie=Ut("Slider",e=>{const t=St(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[Pie(t),Oie(t),Mie(t)]},e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,o=e.lineWidth+1,a=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:o,handleLineWidthHover:a}});var Iie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);otypeof e=="number"?e.toString():"",Tie=c.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:a,tooltipPrefixCls:i,tipFormatter:l,tooltipVisible:s,getTooltipPopupContainer:u,tooltipPlacement:d}=e,f=Iie(e,["prefixCls","range","className","rootClassName","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{getPrefixCls:v,direction:p,getPopupContainer:m}=c.useContext(rt),[y,h]=c.useState({}),g=(R,T)=>{h(N=>Object.assign(Object.assign({},N),{[R]:T}))},b=(R,T)=>R||(T?p==="rtl"?"left":"right":"top"),C=v("slider",n),[x,S]=Rie(C),w=G(o,a,{[`${C}-rtl`]:p==="rtl"},S);p==="rtl"&&!f.vertical&&(f.reverse=!f.reverse);const[$,O]=c.useMemo(()=>r?typeof r=="object"?[!0,r.draggableTrack]:[!0,!1]:[!1],[r]),P=(R,T)=>{var N;const{index:M,dragging:I}=T,{tooltip:_={},vertical:k}=e,F=Object.assign({},_),{open:D,placement:j,getPopupContainer:H,prefixCls:z,formatter:B}=F;let V;B||B===null?V=B:l||l===null?V=l:V=Nie;const K=V?y[M]||I:!1,W=(N=D??s)!==null&&N!==void 0?N:D===void 0&&K,Y=Object.assign(Object.assign({},R.props),{onMouseEnter:()=>g(M,!0),onMouseLeave:()=>g(M,!1)}),X=v("tooltip",z??i);return c.createElement(Eie,{prefixCls:X,title:V?V(T.value):"",open:W,placement:b(j??d,k),key:M,overlayClassName:`${C}-tooltip`,getPopupContainer:H||u||m},c.cloneElement(R,Y))};return x(c.createElement(wie,Object.assign({},f,{step:f.step,range:$,draggableTrack:O,className:w,ref:t,prefixCls:C,handleRender:P})))}),_ie=Tie;var kie=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],KT=c.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,a=e.className,i=e.checked,l=e.defaultChecked,s=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,v=e.onClick,p=e.onChange,m=e.onKeyDown,y=Oe(e,kie),h=bt(!1,{value:i,defaultValue:l}),g=U(h,2),b=g[0],C=g[1];function x(O,P){var R=b;return s||(R=O,C(R),p==null||p(R,P)),R}function S(O){O.which===ue.LEFT?x(!1,O):O.which===ue.RIGHT&&x(!0,O),m==null||m(O)}function w(O){var P=x(!b,O);v==null||v(P,O)}var $=G(o,a,(n={},A(n,"".concat(o,"-checked"),b),A(n,"".concat(o,"-disabled"),s),n));return c.createElement("button",be({},y,{type:"button",role:"switch","aria-checked":b,disabled:s,className:$,ref:t,onKeyDown:S,onClick:w}),u,c.createElement("span",{className:"".concat(o,"-inner")},c.createElement("span",{className:"".concat(o,"-inner-checked")},d),c.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});KT.displayName="Switch";const Fie=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},Die=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Lie=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Aie=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-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"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},jie=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},At(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Oc(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},zie=Ut("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=2,o=t-r*2,a=n-r*2,i=St(e,{switchMinWidth:o*2+r*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:o/2,switchInnerMarginMax:o+r+r*2,switchPadding:r,switchPinSize:o,switchBg:e.colorBgContainer,switchMinWidthSM:a*2+r*2,switchHeightSM:n,switchInnerMarginMinSM:a/2,switchInnerMarginMaxSM:a+r+r*2,switchPinSizeSM:a,switchHandleShadow:`0 2px 4px 0 ${new Yt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jie(i),Aie(i),Lie(i),Die(i),Fie(i)]});var Hie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,size:r,disabled:o,loading:a,className:i,rootClassName:l}=e,s=Hie(e,["prefixCls","size","disabled","loading","className","rootClassName"]);const{getPrefixCls:u,direction:d}=c.useContext(rt),f=c.useContext(ur),v=c.useContext(Xr),p=(o??v)||a,m=u("switch",n),y=c.createElement("div",{className:`${m}-handle`},a&&c.createElement(ai,{className:`${m}-loading-icon`})),[h,g]=zie(m),b=G({[`${m}-small`]:(r||f)==="small",[`${m}-loading`]:a,[`${m}-rtl`]:d==="rtl"},i,l,g);return h(c.createElement(GR,null,c.createElement(KT,Object.assign({},s,{prefixCls:m,className:b,disabled:p,ref:t,loadingIcon:y}))))});UT.__ANT_SWITCH=!0;const Bie=UT;function YT(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var Vie=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],GT=function(t,n){var r=t.className,o=t.style,a=t.motion,i=t.motionNodes,l=t.motionType,s=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,v=Oe(t,Vie),p=c.useState(!0),m=U(p,2),y=m[0],h=m[1],g=c.useContext(vS),b=g.prefixCls,C=c.useRef(!1),x=function(){C.current||u(),C.current=!0};return c.useEffect(function(){i&&l==="hide"&&y&&h(!1)},[i]),c.useEffect(function(){return i&&s(),function(){i&&x()}},[]),i?c.createElement(er,be({ref:n,visible:y},a,{motionAppear:l==="show",onAppearEnd:x,onLeaveEnd:x}),function(S,w){var $=S.className,O=S.style;return c.createElement("div",{ref:w,className:G("".concat(b,"-treenode-motion"),$),style:O},i.map(function(P){var R=be({},(YT(P.data),P.data)),T=P.title,N=P.key,M=P.isStart,I=P.isEnd;delete R.children;var _=md(N,f);return c.createElement(Qd,be({},R,_,{title:T,active:d,data:P.data,key:N,isStart:M,isEnd:I}))}))}):c.createElement(Qd,be({domRef:n,className:r,style:o},v,{active:d}))};GT.displayName="MotionTreeNode";var Wie=c.forwardRef(GT);function Kie(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function o(a,i){var l=new Map;a.forEach(function(u){l.set(u,!0)});var s=i.filter(function(u){return!l.has(u)});return s.length===1?s[0]:null}return n ").concat(t);return t}var qT=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var o=e.expandedKeys,a=e.selectedKeys,i=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,v=e.dragging,p=e.dragOverNodeKey,m=e.dropPosition,y=e.motion,h=e.height,g=e.itemHeight,b=e.virtual,C=e.focusable,x=e.activeItem,S=e.focused,w=e.tabIndex,$=e.onKeyDown,O=e.onFocus,P=e.onBlur,R=e.onActiveChange,T=e.onListChangeStart,N=e.onListChangeEnd,M=Oe(e,Uie),I=c.useRef(null),_=c.useRef(null);c.useImperativeHandle(t,function(){return{scrollTo:function(ve){I.current.scrollTo(ve)},getIndentWidth:function(){return _.current.offsetWidth}}});var k=c.useState(o),F=U(k,2),D=F[0],j=F[1],H=c.useState(r),z=U(H,2),B=z[0],V=z[1],K=c.useState(r),W=U(K,2),Y=W[0],X=W[1],Q=c.useState([]),ae=U(Q,2),ee=ae[0],q=ae[1],re=c.useState(null),te=U(re,2),J=te[0],ne=te[1],oe=c.useRef(r);oe.current=r;function le(){var se=oe.current;V(se),X(se),q([]),ne(null),N()}c.useEffect(function(){j(o);var se=Kie(D,o);if(se.key!==null)if(se.add){var ve=B.findIndex(function(Ce){var ye=Ce.key;return ye===se.key}),he=l6(o6(B,r,se.key),b,h,g),ce=B.slice();ce.splice(ve+1,0,i6),X(ce),q(he),ne("show")}else{var ie=r.findIndex(function(Ce){var ye=Ce.key;return ye===se.key}),fe=l6(o6(r,B,se.key),b,h,g),me=r.slice();me.splice(ie+1,0,i6),X(me),q(fe),ne("hide")}else B!==r&&(V(r),X(r))},[o,r]),c.useEffect(function(){v||le()},[v]);var de=y?Y:r,pe={expandedKeys:o,selectedKeys:a,loadedKeys:l,loadingKeys:s,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:m,keyEntities:d};return c.createElement(c.Fragment,null,S&&x&&c.createElement("span",{style:a6,"aria-live":"assertive"},Gie(x)),c.createElement("div",null,c.createElement("input",{style:a6,disabled:C===!1||f,tabIndex:C!==!1?w:null,onKeyDown:$,onFocus:O,onBlur:P,value:"",onChange:Yie,"aria-label":"for screen reader"})),c.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},c.createElement("div",{className:"".concat(n,"-indent")},c.createElement("div",{ref:_,className:"".concat(n,"-indent-unit")}))),c.createElement(R2,be({},M,{data:de,itemKey:s6,height:h,fullHeight:!1,virtual:b,itemHeight:g,prefixCls:"".concat(n,"-list"),ref:I,onVisibleChange:function(ve,he){var ce=new Set(ve),ie=he.filter(function(fe){return!ce.has(fe)});ie.some(function(fe){return s6(fe)===Gl})&&le()}}),function(se){var ve=se.pos,he=be({},(YT(se.data),se.data)),ce=se.title,ie=se.key,fe=se.isStart,me=se.isEnd,Ce=Df(ie,ve);delete he.key,delete he.children;var ye=md(Ce,pe);return c.createElement(Wie,be({},he,ye,{title:ce,active:!!x&&ie===x.key,pos:ve,data:se.data,isStart:fe,isEnd:me,motion:y,motionNodes:ie===Gl?ee:null,motionType:J,onMotionStart:T,onMotionEnd:le,treeNodeRequiredProps:pe,onMouseMove:function(){R(null)}}))}))});qT.displayName="NodeList";function Xie(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r;break}return c.createElement("div",{style:o})}var qie=10,RS=function(e){Bo(n,e);var t=Vo(n);function n(){var r;Fn(this,n);for(var o=arguments.length,a=new Array(o),i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,v=f.dragChildrenKeys,p=f.dropPosition,m=f.dropTargetKey,y=f.dropTargetPos,h=f.dropAllowed;if(h){var g=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),m!==null){var b=E(E({},md(m,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===m,data:r.state.keyEntities[m].node}),C=v.indexOf(m)!==-1;Kt(!C,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var x=pS(y),S={event:l,node:Wn(b),dragNode:r.dragNode?Wn(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(v),dropToGap:p!==0,dropPosition:p+Number(x[x.length-1])};d||g==null||g(S),r.dragNode=null}}},r.cleanDragState=function(){var l=r.state.draggingNodeKey;l!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null},r.triggerExpandActionExpand=function(l,s){var u=r.state,d=u.expandedKeys,f=u.flattenNodes,v=s.expanded,p=s.key,m=s.isLeaf;if(!(m||l.shiftKey||l.metaKey||l.ctrlKey)){var y=f.filter(function(g){return g.key===p})[0],h=Wn(E(E({},md(p,r.getTreeNodeRequiredProps())),{},{data:y.data}));r.setExpandedKeys(v?Ba(d,p):xi(d,p)),r.onNodeExpand(l,h)}},r.onNodeClick=function(l,s){var u=r.props,d=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(l,s),d==null||d(l,s)},r.onNodeDoubleClick=function(l,s){var u=r.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(l,s),d==null||d(l,s)},r.onNodeSelect=function(l,s){var u=r.state.selectedKeys,d=r.state,f=d.keyEntities,v=d.fieldNames,p=r.props,m=p.onSelect,y=p.multiple,h=s.selected,g=s[v.key],b=!h;b?y?u=xi(u,g):u=[g]:u=Ba(u,g);var C=u.map(function(x){var S=f[x];return S?S.node:null}).filter(function(x){return x});r.setUncontrolledState({selectedKeys:u}),m==null||m(u,{event:"select",selected:b,node:s,selectedNodes:C,nativeEvent:l.nativeEvent})},r.onNodeCheck=function(l,s,u){var d=r.state,f=d.keyEntities,v=d.checkedKeys,p=d.halfCheckedKeys,m=r.props,y=m.checkStrictly,h=m.onCheck,g=s.key,b,C={event:"check",node:s,checked:u,nativeEvent:l.nativeEvent};if(y){var x=u?xi(v,g):Ba(v,g),S=Ba(p,g);b={checked:x,halfChecked:S},C.checkedNodes=x.map(function(T){return f[T]}).filter(function(T){return T}).map(function(T){return T.node}),r.setUncontrolledState({checkedKeys:x})}else{var w=Ja([].concat(xe(v),[g]),!0,f),$=w.checkedKeys,O=w.halfCheckedKeys;if(!u){var P=new Set($);P.delete(g);var R=Ja(Array.from(P),{checked:!1,halfCheckedKeys:O},f);$=R.checkedKeys,O=R.halfCheckedKeys}b=$,C.checkedNodes=[],C.checkedNodesPositions=[],C.halfCheckedKeys=O,$.forEach(function(T){var N=f[T];if(N){var M=N.node,I=N.pos;C.checkedNodes.push(M),C.checkedNodesPositions.push({node:M,pos:I})}}),r.setUncontrolledState({checkedKeys:$},!1,{halfCheckedKeys:O})}h==null||h(b,C)},r.onNodeLoad=function(l){var s=l.key,u=new Promise(function(d,f){r.setState(function(v){var p=v.loadedKeys,m=p===void 0?[]:p,y=v.loadingKeys,h=y===void 0?[]:y,g=r.props,b=g.loadData,C=g.onLoad;if(!b||m.indexOf(s)!==-1||h.indexOf(s)!==-1)return null;var x=b(l);return x.then(function(){var S=r.state.loadedKeys,w=xi(S,s);C==null||C(w,{event:"load",node:l}),r.setUncontrolledState({loadedKeys:w}),r.setState(function($){return{loadingKeys:Ba($.loadingKeys,s)}}),d()}).catch(function(S){if(r.setState(function($){return{loadingKeys:Ba($.loadingKeys,s)}}),r.loadingRetryTimes[s]=(r.loadingRetryTimes[s]||0)+1,r.loadingRetryTimes[s]>=qie){var w=r.state.loadedKeys;Kt(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:xi(w,s)}),d()}f(S)}),{loadingKeys:xi(h,s)}})});return u.catch(function(){}),u},r.onNodeMouseEnter=function(l,s){var u=r.props.onMouseEnter;u==null||u({event:l,node:s})},r.onNodeMouseLeave=function(l,s){var u=r.props.onMouseLeave;u==null||u({event:l,node:s})},r.onNodeContextMenu=function(l,s){var u=r.props.onRightClick;u&&(l.preventDefault(),u({event:l,node:s}))},r.onFocus=function(){var l=r.props.onFocus;r.setState({focused:!0});for(var s=arguments.length,u=new Array(s),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,f=!0,v={};Object.keys(l).forEach(function(p){if(p in r.props){f=!1;return}d=!0,v[p]=l[p]}),d&&(!s||f)&&r.setState(E(E({},v),u))}},r.scrollTo=function(l){r.listRef.current.scrollTo(l)},r}return Dn(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var o=this.props.activeKey;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var o,a=this.state,i=a.focused,l=a.flattenNodes,s=a.keyEntities,u=a.draggingNodeKey,d=a.activeKey,f=a.dropLevelOffset,v=a.dropContainerKey,p=a.dropTargetKey,m=a.dropPosition,y=a.dragOverNodeKey,h=a.indent,g=this.props,b=g.prefixCls,C=g.className,x=g.style,S=g.showLine,w=g.focusable,$=g.tabIndex,O=$===void 0?0:$,P=g.selectable,R=g.showIcon,T=g.icon,N=g.switcherIcon,M=g.draggable,I=g.checkable,_=g.checkStrictly,k=g.disabled,F=g.motion,D=g.loadData,j=g.filterTreeNode,H=g.height,z=g.itemHeight,B=g.virtual,V=g.titleRender,K=g.dropIndicatorRender,W=g.onContextMenu,Y=g.onScroll,X=g.direction,Q=g.rootClassName,ae=g.rootStyle,ee=Kl(this.props,{aria:!0,data:!0}),q;return M&&(Ke(M)==="object"?q=M:typeof M=="function"?q={nodeDraggable:M}:q={}),c.createElement(vS.Provider,{value:{prefixCls:b,selectable:P,showIcon:R,icon:T,switcherIcon:N,draggable:q,draggingNodeKey:u,checkable:I,checkStrictly:_,disabled:k,keyEntities:s,dropLevelOffset:f,dropContainerKey:v,dropTargetKey:p,dropPosition:m,dragOverNodeKey:y,indent:h,direction:X,dropIndicatorRender:K,loadData:D,filterTreeNode:j,titleRender:V,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c.createElement("div",{role:"tree",className:G(b,C,Q,(o={},A(o,"".concat(b,"-show-line"),S),A(o,"".concat(b,"-focused"),i),A(o,"".concat(b,"-active-focused"),d!==null),o)),style:ae},c.createElement(qT,be({ref:this.listRef,prefixCls:b,style:x,data:l,disabled:k,selectable:P,checkable:!!I,motion:F,dragging:u!==null,height:H,itemHeight:z,virtual:B,focusable:w,focused:i,tabIndex:O,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:Y},this.getTreeNodeRequiredProps(),ee))))}}],[{key:"getDerivedStateFromProps",value:function(o,a){var i=a.prevProps,l={prevProps:o};function s(w){return!i&&w in o||i&&i[w]!==o[w]}var u,d=a.fieldNames;if(s("fieldNames")&&(d=Rm(o.fieldNames),l.fieldNames=d),s("treeData")?u=o.treeData:s("children")&&(Kt(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=HJ(o.children)),u){l.treeData=u;var f=mS(u,{fieldNames:d});l.keyEntities=E(A({},Gl,XT),f.keyEntities)}var v=l.keyEntities||a.keyEntities;if(s("expandedKeys")||i&&s("autoExpandParent"))l.expandedKeys=o.autoExpandParent||!i&&o.defaultExpandParent?M3(o.expandedKeys,v):o.expandedKeys;else if(!i&&o.defaultExpandAll){var p=E({},v);delete p[Gl],l.expandedKeys=Object.keys(p).map(function(w){return p[w].key})}else!i&&o.defaultExpandedKeys&&(l.expandedKeys=o.autoExpandParent||o.defaultExpandParent?M3(o.defaultExpandedKeys,v):o.defaultExpandedKeys);if(l.expandedKeys||delete l.expandedKeys,u||l.expandedKeys){var m=b1(u||a.treeData,l.expandedKeys||a.expandedKeys,d);l.flattenNodes=m}if(o.selectable&&(s("selectedKeys")?l.selectedKeys=O3(o.selectedKeys,o):!i&&o.defaultSelectedKeys&&(l.selectedKeys=O3(o.defaultSelectedKeys,o))),o.checkable){var y;if(s("checkedKeys")?y=y1(o.checkedKeys)||{}:!i&&o.defaultCheckedKeys?y=y1(o.defaultCheckedKeys)||{}:u&&(y=y1(o.checkedKeys)||{checkedKeys:a.checkedKeys,halfCheckedKeys:a.halfCheckedKeys}),y){var h=y,g=h.checkedKeys,b=g===void 0?[]:g,C=h.halfCheckedKeys,x=C===void 0?[]:C;if(!o.checkStrictly){var S=Ja(b,!0,v);b=S.checkedKeys,x=S.halfCheckedKeys}l.checkedKeys=b,l.halfCheckedKeys=x}}return s("loadedKeys")&&(l.loadedKeys=o.loadedKeys),l}}]),n}(c.Component);RS.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Xie,allowDrop:function(){return!0},expandAction:!1};RS.TreeNode=Qd;const Qie=new It("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Zie=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Jie=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ele=(e,t)=>{const{treeCls:n,treeNodeCls:r,controlInteractiveSize:o,treeNodePadding:a,treeTitleHeight:i}=t,l=t.lineHeight*t.fontSize/2-o/2,s=(i-t.fontSizeLG)/2-l,u=t.paddingXS;return{[n]:Object.assign(Object.assign({},At(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Vl(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Qie,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${a}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},Vl(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},Zie(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-a,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:u,marginBlockStart:s},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${i}px`,userSelect:"none"},Jie(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-a,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},tle=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},nle=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,o=t.paddingXS/2,a=t.controlHeightSM,i=St(t,{treeCls:n,treeNodeCls:r,treeNodePadding:o,treeTitleHeight:a});return[ele(e,i),tle(i)]},rle=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:o}=e,{isLeaf:a,expanded:i,loading:l}=r;if(l)return c.createElement(ai,{className:`${t}-switcher-loading-icon`});let s;if(o&&typeof o=="object"&&(s=o.showLeafIcon),a){if(!o)return null;if(typeof s!="boolean"&&s){const f=typeof s=="function"?s(r):s,v=`${t}-switcher-line-custom-icon`;return Ho(f)?Yn(f,{className:G(f.props.className||"",v)}):f}return s?c.createElement(Toe,{className:`${t}-switcher-line-icon`}):c.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,d=typeof n=="function"?n(r):n;return Ho(d)?Yn(d,{className:G(d.props.className||"",u)}):d!==void 0?d:o?i?c.createElement(Uoe,{className:`${t}-switcher-line-icon`}):c.createElement(Zoe,{className:`${t}-switcher-line-icon`}):c.createElement(xoe,{className:u})},ole=rle;var ale=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oc.createElement(lle,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Bf=c.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r}=e,o=ale(e,["addon","renderExtraFooter"]);const a=c.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return c.createElement(ile,Object.assign({},o,{mode:void 0,ref:t,renderExtraFooter:a}))}),QT=rs(Bf,"picker");Bf._InternalPanelDoNotUseOrYouWillBeFired=QT;Bf.RangePicker=sle;Bf._InternalPanelDoNotUseOrYouWillBeFired=QT;const ZT=Bf;var JT=c.createContext(null),e9=c.createContext(null);function cle(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function ule(e){var t=e||{},n=t.label,r=t.value,o=t.children,a=r||"value";return{_title:n?[n]:["title","label"],value:a,key:a,children:o||"children"}}function tC(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function dle(e,t){var n=[];function r(o){o.forEach(function(a){var i=a[t.children];i&&(n.push(a[t.value]),r(i))})}return r(e),n}function c6(e){return e==null}var fle={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},vle=function(t,n){var r=Of(),o=r.prefixCls,a=r.multiple,i=r.searchValue,l=r.toggleOpen,s=r.open,u=r.notFoundContent,d=c.useContext(e9),f=d.virtual,v=d.listHeight,p=d.listItemHeight,m=d.treeData,y=d.fieldNames,h=d.onSelect,g=d.dropdownMatchSelectWidth,b=d.treeExpandAction,C=c.useContext(JT),x=C.checkable,S=C.checkedKeys,w=C.halfCheckedKeys,$=C.treeExpandedKeys,O=C.treeDefaultExpandAll,P=C.treeDefaultExpandedKeys,R=C.onTreeExpand,T=C.treeIcon,N=C.showTreeIcon,M=C.switcherIcon,I=C.treeLine,_=C.treeNodeFilterProp,k=C.loadData,F=C.treeLoadedKeys,D=C.treeMotion,j=C.onTreeLoad,H=C.keyEntities,z=c.useRef(),B=tl(function(){return m},[s,m],function(ie,fe){return fe[0]&&ie[1]!==fe[1]}),V=c.useMemo(function(){return x?{checked:S,halfChecked:w}:null},[x,S,w]);c.useEffect(function(){if(s&&!a&&S.length){var ie;(ie=z.current)===null||ie===void 0||ie.scrollTo({key:S[0]})}},[s]);var K=String(i).toLowerCase(),W=function(fe){return K?String(fe[_]).toLowerCase().includes(K):!1},Y=c.useState(P),X=U(Y,2),Q=X[0],ae=X[1],ee=c.useState(null),q=U(ee,2),re=q[0],te=q[1],J=c.useMemo(function(){return $?xe($):i?re:Q},[Q,re,$,i]);c.useEffect(function(){i&&te(dle(m,y))},[i]);var ne=function(fe){ae(fe),te(fe),R&&R(fe)},oe=function(fe){fe.preventDefault()},le=function(fe,me){var Ce=me.node;x&&tC(Ce)||(h(Ce.key,{selected:!S.includes(Ce.key)}),a||l(!1))},de=c.useState(null),pe=U(de,2),se=pe[0],ve=pe[1],he=H[se];if(c.useImperativeHandle(n,function(){var ie;return{scrollTo:(ie=z.current)===null||ie===void 0?void 0:ie.scrollTo,onKeyDown:function(me){var Ce,ye=me.which;switch(ye){case ue.UP:case ue.DOWN:case ue.LEFT:case ue.RIGHT:(Ce=z.current)===null||Ce===void 0||Ce.onKeyDown(me);break;case ue.ENTER:{if(he){var Ne=(he==null?void 0:he.node)||{},_e=Ne.selectable,Ue=Ne.value;_e!==!1&&le(null,{node:{key:se},selected:!S.includes(Ue)})}break}case ue.ESC:l(!1)}},onKeyUp:function(){}}}),B.length===0)return c.createElement("div",{role:"listbox",className:"".concat(o,"-empty"),onMouseDown:oe},u);var ce={fieldNames:y};return F&&(ce.loadedKeys=F),J&&(ce.expandedKeys=J),c.createElement("div",{onMouseDown:oe},he&&s&&c.createElement("span",{style:fle,"aria-live":"assertive"},he.node.value),c.createElement(RS,be({ref:z,focusable:!1,prefixCls:"".concat(o,"-tree"),treeData:B,height:v,itemHeight:p,virtual:f!==!1&&g!==!1,multiple:a,icon:T,showIcon:N,switcherIcon:M,showLine:I,loadData:i?null:k,motion:D,activeKey:se,checkable:x,checkStrictly:!0,checkedKeys:V,selectedKeys:x?[]:S,defaultExpandAll:O},ce,{onActiveChange:ve,onSelect:le,onCheck:le,onExpand:ne,onLoad:j,filterTreeNode:W,expandAction:b})))},t9=c.forwardRef(vle);t9.displayName="OptionList";var IS=function(){return null},n9="SHOW_ALL",NS="SHOW_PARENT",Eg="SHOW_CHILD";function u6(e,t,n,r){var o=new Set(e);return t===Eg?e.filter(function(a){var i=n[a];return!(i&&i.children&&i.children.some(function(l){var s=l.node;return o.has(s[r.value])})&&i.children.every(function(l){var s=l.node;return tC(s)||o.has(s[r.value])}))}):t===NS?e.filter(function(a){var i=n[a],l=i?i.parent:null;return!(l&&!tC(l.node)&&o.has(l.key))}):e}var ple=["children","value"];function r9(e){return kr(e).map(function(t){if(!c.isValidElement(t)||!t.type)return null;var n=t,r=n.key,o=n.props,a=o.children,i=o.value,l=Oe(o,ple),s=E({key:r,value:i},l),u=r9(a);return u.length&&(s.children=u),s}).filter(function(t){return t})}function nC(e){if(!e)return e;var t=E({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Kt(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function mle(e,t,n,r,o,a){var i=null,l=null;function s(){function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(p,m){var y="".concat(f,"-").concat(m),h=p[a.value],g=n.includes(h),b=u(p[a.children]||[],y,g),C=c.createElement(IS,p,b.map(function(S){return S.node}));if(t===h&&(i=C),g){var x={pos:y,node:C,children:b};return v||l.push(x),x}return null}).filter(function(p){return p})}l||(l=[],u(r),l.sort(function(d,f){var v=d.node.props.value,p=f.node.props.value,m=n.indexOf(v),y=n.indexOf(p);return m-y}))}Object.defineProperty(e,"triggerNode",{get:function(){return Kt(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Kt(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),o?l:l.map(function(d){var f=d.node;return f})}})}function hle(e,t){var n=t.id,r=t.pId,o=t.rootPId,a={},i=[],l=e.map(function(s){var u=E({},s),d=u[n];return a[d]=u,u.key=u.key||d,u});return l.forEach(function(s){var u=s[r],d=a[u];d&&(d.children=d.children||[],d.children.push(s)),(u===o||!d&&o===null)&&i.push(s)}),i}function gle(e,t,n){return c.useMemo(function(){return e?n?hle(e,E({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:r9(t)},[t,n,e])}const yle=function(e){var t=c.useRef({valueLabels:new Map});return c.useMemo(function(){var n=t.current.valueLabels,r=new Map,o=e.map(function(a){var i,l=a.value,s=(i=a.label)!==null&&i!==void 0?i:n.get(l);return r.set(l,s),E(E({},a),{},{label:s})});return t.current.valueLabels=r,[o]},[e])};function d6(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}const ble=function(e,t){return c.useMemo(function(){var n=mS(e,{fieldNames:t,initWrapper:function(o){return E(E({},o),{},{valueEntities:new Map})},processEntity:function(o,a){var i=o.node[t.value];a.valueEntities.set(i,o)}});return n},[e,t])},Cle=function(e,t,n,r){return c.useMemo(function(){var o=e.map(function(s){var u=s.value;return u}),a=t.map(function(s){var u=s.value;return u}),i=o.filter(function(s){return!r[s]});if(n){var l=Ja(o,!0,r);o=l.checkedKeys,a=l.halfCheckedKeys}return[Array.from(new Set([].concat(xe(i),xe(o)))),a]},[e,t,n,r])},xle=function(e,t,n){var r=n.treeNodeFilterProp,o=n.filterTreeNode,a=n.fieldNames,i=a.children;return c.useMemo(function(){if(!t||o===!1)return e;var l;if(typeof o=="function")l=o;else{var s=t.toUpperCase();l=function(f,v){var p=v[r];return String(p).toUpperCase().includes(s)}}function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.map(function(v){var p=v[i],m=f||l(t,nC(v)),y=u(p||[],m);return m||y.length?E(E({},v),{},A({isLeaf:void 0},i,y)):null}).filter(function(v){return v})}return u(e)},[e,t,i,r,o])};var Sle=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function wle(e){return!e||Ke(e)!=="object"}var $le=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=r===void 0?"rc-tree-select":r,a=e.value,i=e.defaultValue,l=e.onChange,s=e.onSelect,u=e.onDeselect,d=e.searchValue,f=e.inputValue,v=e.onSearch,p=e.autoClearSearchValue,m=p===void 0?!0:p,y=e.filterTreeNode,h=e.treeNodeFilterProp,g=h===void 0?"value":h,b=e.showCheckedStrategy,C=b===void 0?Eg:b,x=e.treeNodeLabelProp,S=e.multiple,w=e.treeCheckable,$=e.treeCheckStrictly,O=e.labelInValue,P=e.fieldNames,R=e.treeDataSimpleMode,T=e.treeData,N=e.children,M=e.loadData,I=e.treeLoadedKeys,_=e.onTreeLoad,k=e.treeDefaultExpandAll,F=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,j=e.onTreeExpand,H=e.treeExpandAction,z=e.virtual,B=e.listHeight,V=B===void 0?200:B,K=e.listItemHeight,W=K===void 0?20:K,Y=e.onDropdownVisibleChange,X=e.dropdownMatchSelectWidth,Q=X===void 0?!0:X,ae=e.treeLine,ee=e.treeIcon,q=e.showTreeIcon,re=e.switcherIcon,te=e.treeMotion,J=Oe(e,Sle),ne=P2(n),oe=w&&!$,le=w||$,de=$||O,pe=le||S,se=bt(i,{value:a}),ve=U(se,2),he=ve[0],ce=ve[1],ie=c.useMemo(function(){return ule(P)},[JSON.stringify(P)]),fe=bt("",{value:d!==void 0?d:f,postState:function(Ze){return Ze||""}}),me=U(fe,2),Ce=me[0],ye=me[1],Ne=function(Ze){ye(Ze),v==null||v(Ze)},_e=gle(T,N,R),Ue=ble(_e,ie),Ge=Ue.keyEntities,$e=Ue.valueEntities,Ie=c.useCallback(function(Fe){var Ze=[],Ye=[];return Fe.forEach(function(ut){$e.has(ut)?Ye.push(ut):Ze.push(ut)}),{missingRawValues:Ze,existRawValues:Ye}},[$e]),ze=xle(_e,Ce,{fieldNames:ie,treeNodeFilterProp:g,filterTreeNode:y}),gt=c.useCallback(function(Fe){if(Fe){if(x)return Fe[x];for(var Ze=ie._title,Ye=0;Ye{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,o=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},nle(n,St(e,{colorBgContainer:r})),{[o]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},hS(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Ple(e,t){return Ut("TreeSelect",n=>{const r=St(n,{treePrefixCls:t});return[Ele(r)]})(e)}var Ole=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:n,size:r,disabled:o,bordered:a=!0,className:i,rootClassName:l,treeCheckable:s,multiple:u,listHeight:d=256,listItemHeight:f=26,placement:v,notFoundContent:p,switcherIcon:m,treeLine:y,getPopupContainer:h,popupClassName:g,dropdownClassName:b,treeIcon:C=!1,transitionName:x,choiceTransitionName:S="",status:w,showArrow:$,treeExpandAction:O,builtinPlacements:P}=e,R=Ole(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction","builtinPlacements"]);const{getPopupContainer:T,getPrefixCls:N,renderEmpty:M,direction:I,virtual:_,dropdownMatchSelectWidth:k}=c.useContext(rt),F=c.useContext(ur),D=N(),j=N("select",n),H=N("select-tree",n),z=N("tree-select",n),{compactSize:B,compactItemClassnames:V}=ka(j,I),[K,W]=_2(j),[Y]=Ple(z,H),X=G(g||b,`${z}-dropdown`,{[`${z}-dropdown-rtl`]:I==="rtl"},l,W),Q=!!(s||u),ae=F2($),{status:ee,hasFeedback:q,isFormItemInput:re,feedbackIcon:te}=c.useContext(Cr),J=nl(ee,w),{suffixIcon:ne,removeIcon:oe,clearIcon:le}=A2(Object.assign(Object.assign({},R),{multiple:Q,showArrow:ae,hasFeedback:q,feedbackIcon:te,prefixCls:j}));let de;p!==void 0?de=p:de=(M==null?void 0:M("Select"))||c.createElement(T2,{componentName:"Select"});const pe=On(R,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),se=c.useMemo(()=>v!==void 0?v:I==="rtl"?"bottomRight":"bottomLeft",[v,I]),ve=k2(P),he=B||r||F,ce=c.useContext(Xr),ie=o??ce,fe=G(!n&&z,{[`${j}-lg`]:he==="large",[`${j}-sm`]:he==="small",[`${j}-rtl`]:I==="rtl",[`${j}-borderless`]:!a,[`${j}-in-form-item`]:re},po(j,J,q),V,i,l,W),me=ye=>c.createElement(ole,{prefixCls:H,switcherIcon:m,treeNodeProps:ye,showLine:y}),Ce=c.createElement(Vf,Object.assign({virtual:_,dropdownMatchSelectWidth:k,disabled:ie},pe,{builtinPlacements:ve,ref:t,prefixCls:j,className:fe,listHeight:d,listItemHeight:f,treeCheckable:s&&c.createElement("span",{className:`${j}-tree-checkbox-inner`}),treeLine:!!y,inputIcon:ne,multiple:u,placement:se,removeIcon:oe,clearIcon:le,switcherIcon:me,showTreeIcon:C,notFoundContent:de,getPopupContainer:h||T,treeMotion:null,dropdownClassName:X,choiceTransitionName:Yr(D,"",S),transitionName:Yr(D,C2(v),x),showArrow:q||ae,treeExpandAction:O}));return K(Y(Ce))},Rle=c.forwardRef(Mle),ls=Rle,Ile=rs(ls);ls.TreeNode=IS;ls.SHOW_ALL=n9;ls.SHOW_PARENT=NS;ls.SHOW_CHILD=Eg;ls._InternalPanelDoNotUseOrYouWillBeFired=Ile;const Nle=ls,TS=e=>Mt(c.Suspense,{fallback:Mt(al,{size:"large",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}}),children:Mt(e,{})}),Tle=[{path:"/components",meta:{title:"组件"},children:[{path:"/components/virtualized",element:TS(Z.lazy(()=>qx(()=>import("./index-6rLtl1Ps.js"),__vite__mapDeps([0,1])))),meta:{title:"virtualized"}}]}],_le=[{path:"/dashboard",element:TS(Z.lazy(()=>qx(()=>import("./index-O_P1M2gD.js"),__vite__mapDeps([])))),meta:{title:"概览",key:"dashboard"}}];var kle={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};const Fle={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},o9=Fle,a9={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},kle),timePickerLocale:Object.assign({},o9)};a9.lang.ok="确定";const f6=a9,eo="${label}不是一个有效的${type}",Dle={locale:"zh-cn",Pagination:$re,DatePicker:f6,TimePicker:o9,Calendar:f6,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:eo,method:eo,array:eo,object:eo,number:eo,date:eo,boolean:eo,integer:eo,float:eo,regexp:eo,email:eo,url:eo,hex:eo},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"}},Lle=Dle;var i9={exports:{}},l9={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var kc=c;function Ale(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jle=typeof Object.is=="function"?Object.is:Ale,zle=kc.useState,Hle=kc.useEffect,Ble=kc.useLayoutEffect,Vle=kc.useDebugValue;function Wle(e,t){var n=t(),r=zle({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return Ble(function(){o.value=n,o.getSnapshot=t,M1(o)&&a({inst:o})},[e,n,t]),Hle(function(){return M1(o)&&a({inst:o}),e(function(){M1(o)&&a({inst:o})})},[e]),Vle(n),n}function M1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jle(e,n)}catch{return!0}}function Kle(e,t){return t()}var Ule=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Kle:Wle;l9.useSyncExternalStore=kc.useSyncExternalStore!==void 0?kc.useSyncExternalStore:Ule;i9.exports=l9;var Yle=i9.exports;const Ya=new WeakMap,R1={},Yv={},Fi=()=>{},ko=Fi(),$p=Object,cn=e=>e===ko,$a=e=>typeof e=="function",si=(e,t)=>({...e,...t}),_S="undefined",Pg=typeof window!=_S,rC=typeof document!=_S,Gle=()=>Pg&&typeof window.requestAnimationFrame!=_S,s9=(e,t)=>{const n=Ya.get(e);return[()=>!cn(t)&&e.get(t)||R1,r=>{if(!cn(t)){const o=e.get(t);t in Yv||(Yv[t]=o),n[5](t,si(o,r),o||R1)}},n[6],()=>!cn(t)&&t in Yv?Yv[t]:!cn(t)&&e.get(t)||R1]},Gv=new WeakMap;let Xle=0;const ef=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if($p(e)===e&&!r&&n!=RegExp){if(o=Gv.get(e),o)return o;if(o=++Xle+"~",Gv.set(e,o),n==Array){for(o="@",a=0;aoC,[aC,iC]=Pg&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Fi,Fi],Qle=()=>{const e=rC&&document.visibilityState;return cn(e)||e!=="hidden"},Zle=e=>(rC&&document.addEventListener("visibilitychange",e),aC("focus",e),()=>{rC&&document.removeEventListener("visibilitychange",e),iC("focus",e)}),Jle=e=>{const t=()=>{oC=!0,e()},n=()=>{oC=!1};return aC("online",t),aC("offline",n),()=>{iC("online",t),iC("offline",n)}},ese={isOnline:qle,isVisible:Qle},tse={initFocus:Zle,initReconnect:Jle},v6=!Z.useId,tf=!Pg||"Deno"in window,nse=e=>Gle()?window.requestAnimationFrame(e):setTimeout(e,1),Ep=tf?c.useEffect:c.useLayoutEffect,I1=typeof navigator<"u"&&navigator.connection,p6=!tf&&I1&&(["slow-2g","2g"].includes(I1.effectiveType)||I1.saveData),kS=e=>{if($a(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?ef(e):"",[e,t]};let rse=0;const lC=()=>++rse,c9=0,u9=1,d9=2,ose=3;var Du={__proto__:null,ERROR_REVALIDATE_EVENT:ose,FOCUS_EVENT:c9,MUTATE_EVENT:d9,RECONNECT_EVENT:u9};async function f9(...e){const[t,n,r,o]=e,a=si({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let i=a.populateCache;const l=a.rollbackOnError;let s=a.optimisticData;const u=a.revalidate!==!1,d=p=>typeof l=="function"?l(p):l!==!1,f=a.throwOnError;if($a(n)){const p=n,m=[],y=t.keys();for(let h=y.next();!h.done;h=y.next()){const g=h.value;!/^\$(inf|sub)\$/.test(g)&&p(t.get(g)._k)&&m.push(g)}return Promise.all(m.map(v))}return v(n);async function v(p){const[m]=kS(p);if(!m)return;const[y,h]=s9(t,m),[g,b,C]=Ya.get(t),x=g[m],S=()=>u&&(delete C[m],x&&x[0])?x[0](d9).then(()=>y().data):y().data;if(e.length<3)return S();let w=r,$;const O=lC();b[m]=[O,0];const P=!cn(s),R=y(),T=R.data,N=R._c,M=cn(N)?T:N;if(P&&(s=$a(s)?s(M):s,h({data:s,_c:M})),$a(w))try{w=w(M)}catch(_){$=_}if(w&&$a(w.then))if(w=await w.catch(_=>{$=_}),O!==b[m][0]){if($)throw $;return w}else $&&P&&d($)&&(i=!0,w=M,h({data:w,_c:ko}));i&&($||($a(i)&&(w=i(w,M)),h({data:w,_c:ko}))),b[m][1]=lC();const I=await S();if(h({_c:ko}),$){if(f)throw $;return}return i?I:w}}const m6=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},v9=(e,t)=>{if(!Ya.has(e)){const n=si(tse,t),r={},o=f9.bind(ko,e);let a=Fi;const i={},l=(d,f)=>{const v=i[d]||[];return i[d]=v,v.push(f),()=>v.splice(v.indexOf(f),1)},s=(d,f,v)=>{e.set(d,f);const p=i[d];if(p)for(const m of p)m(f,v)},u=()=>{if(!Ya.has(e)&&(Ya.set(e,[r,{},{},{},o,s,l]),!tf)){const d=n.initFocus(setTimeout.bind(ko,m6.bind(ko,r,c9))),f=n.initReconnect(setTimeout.bind(ko,m6.bind(ko,r,u9)));a=()=>{d&&d(),f&&f(),Ya.delete(e)}}};return u(),[e,o,u,a]}return[e,Ya.get(e)[4]]},ase=(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!cn(a)&&i>a||setTimeout(r,l,o)},ise=(e,t)=>ef(e)==ef(t),[FS,lse]=v9(new Map),p9=si({onLoadingSlow:Fi,onSuccess:Fi,onError:Fi,onErrorRetry:ase,onDiscarded:Fi,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:p6?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:p6?5e3:3e3,compare:ise,isPaused:()=>!1,cache:FS,mutate:lse,fallback:{}},ese),m9=(e,t)=>{const n=si(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=si(o,i))}return n},sC=c.createContext({}),sse=e=>{const{value:t}=e,n=c.useContext(sC),r=$a(t),o=c.useMemo(()=>r?t(n):t,[r,n,t]),a=c.useMemo(()=>r?o:m9(n,o),[r,n,o]),i=o&&o.provider,l=c.useRef(ko);i&&!l.current&&(l.current=v9(i(a.cache||FS),o));const s=l.current;return s&&(a.cache=s[0],a.mutate=s[1]),Ep(()=>{if(s)return s[2]&&s[2](),s[3]},[]),c.createElement(sC.Provider,si(e,{value:a}))},h9=Pg&&window.__SWR_DEVTOOLS_USE__,cse=h9?window.__SWR_DEVTOOLS_USE__:[],use=()=>{h9&&(window.__SWR_DEVTOOLS_REACT__=Z)},dse=e=>$a(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],DS=()=>si(p9,c.useContext(sC)),fse=e=>(t,n,r)=>e(t,n&&((...a)=>{const[i]=kS(t),[,,,l]=Ya.get(FS),s=l[i];return s?(delete l[i],s):n(...a)}),r),vse=cse.concat(fse),pse=e=>function(...n){const r=DS(),[o,a,i]=dse(n),l=m9(r,i);let s=e;const{use:u}=l,d=(u||[]).concat(vse);for(let f=d.length;f--;)s=d[f](s);return s(o,a||l.fetcher||null,l)},mse=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};use();const N1={dedupe:!0},hse=(e,t,n)=>{const{cache:r,compare:o,suspense:a,fallbackData:i,revalidateOnMount:l,revalidateIfStale:s,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:f,keepPreviousData:v}=n,[p,m,y]=Ya.get(r),[h,g]=kS(e),b=c.useRef(!1),C=c.useRef(!1),x=c.useRef(h),S=c.useRef(t),w=c.useRef(n),$=()=>w.current,O=()=>$().isVisible()&&$().isOnline(),[P,R,T,N]=s9(r,h),M=c.useRef({}).current,I=cn(i)?n.fallback[h]:i,_=(q,re)=>{for(const te in M){const J=te;if(J==="data"){if(!o(q[J],re[J])&&(!cn(q[J])||!o(K,re[J])))return!1}else if(re[J]!==q[J])return!1}return!0},k=c.useMemo(()=>{const q=!h||!t?!1:cn(l)?$().isPaused()||a?!1:cn(s)?!0:s:l,re=de=>{const pe=si(de);return delete pe._k,q?{isValidating:!0,isLoading:!0,...pe}:pe},te=P(),J=N(),ne=re(te),oe=te===J?ne:re(J);let le=ne;return[()=>{const de=re(P());return _(de,le)?(le.data=de.data,le.isLoading=de.isLoading,le.isValidating=de.isValidating,le.error=de.error,le):(le=de,de)},()=>oe]},[r,h]),F=Yle.useSyncExternalStore(c.useCallback(q=>T(h,(re,te)=>{_(te,re)||q()}),[r,h]),k[0],k[1]),D=!b.current,j=p[h]&&p[h].length>0,H=F.data,z=cn(H)?I:H,B=F.error,V=c.useRef(z),K=v?cn(H)?V.current:H:z,W=j&&!cn(B)?!1:D&&!cn(l)?l:$().isPaused()?!1:a?cn(z)?!1:s:cn(z)||s,Y=!!(h&&t&&D&&W),X=cn(F.isValidating)?Y:F.isValidating,Q=cn(F.isLoading)?Y:F.isLoading,ae=c.useCallback(async q=>{const re=S.current;if(!h||!re||C.current||$().isPaused())return!1;let te,J,ne=!0;const oe=q||{},le=!y[h]||!oe.dedupe,de=()=>v6?!C.current&&h===x.current&&b.current:h===x.current,pe={isValidating:!1,isLoading:!1},se=()=>{R(pe)},ve=()=>{const ce=y[h];ce&&ce[1]===J&&delete y[h]},he={isValidating:!0};cn(P().data)&&(he.isLoading=!0);try{if(le&&(R(he),n.loadingTimeout&&cn(P().data)&&setTimeout(()=>{ne&&de()&&$().onLoadingSlow(h,n)},n.loadingTimeout),y[h]=[re(g),lC()]),[te,J]=y[h],te=await te,le&&setTimeout(ve,n.dedupingInterval),!y[h]||y[h][1]!==J)return le&&de()&&$().onDiscarded(h),!1;pe.error=ko;const ce=m[h];if(!cn(ce)&&(J<=ce[0]||J<=ce[1]||ce[1]===0))return se(),le&&de()&&$().onDiscarded(h),!1;const ie=P().data;pe.data=o(ie,te)?ie:te,le&&de()&&$().onSuccess(te,h,n)}catch(ce){ve();const ie=$(),{shouldRetryOnError:fe}=ie;ie.isPaused()||(pe.error=ce,le&&de()&&(ie.onError(ce,h,ie),(fe===!0||$a(fe)&&fe(ce))&&O()&&ie.onErrorRetry(ce,h,ie,me=>{const Ce=p[h];Ce&&Ce[0]&&Ce[0](Du.ERROR_REVALIDATE_EVENT,me)},{retryCount:(oe.retryCount||0)+1,dedupe:!0})))}return ne=!1,se(),!0},[h,r]),ee=c.useCallback((...q)=>f9(r,x.current,...q),[]);if(Ep(()=>{S.current=t,w.current=n,cn(H)||(V.current=H)}),Ep(()=>{if(!h)return;const q=ae.bind(ko,N1);let re=0;const J=mse(h,p,(ne,oe={})=>{if(ne==Du.FOCUS_EVENT){const le=Date.now();$().revalidateOnFocus&&le>re&&O()&&(re=le+$().focusThrottleInterval,q())}else if(ne==Du.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&q();else{if(ne==Du.MUTATE_EVENT)return ae();if(ne==Du.ERROR_REVALIDATE_EVENT)return ae(oe)}});return C.current=!1,x.current=h,b.current=!0,R({_k:g}),W&&(cn(z)||tf?q():nse(q)),()=>{C.current=!0,J()}},[h]),Ep(()=>{let q;function re(){const J=$a(u)?u(P().data):u;J&&q!==-1&&(q=setTimeout(te,J))}function te(){!P().error&&(d||$().isVisible())&&(f||$().isOnline())?ae(N1).then(re):re()}return re(),()=>{q&&(clearTimeout(q),q=-1)}},[u,d,f,h]),c.useDebugValue(K),a&&cn(z)&&h)throw!v6&&tf?new Error("Fallback data is required when using suspense in SSR."):(S.current=t,w.current=n,C.current=!1,cn(B)?ae(N1):B);return{mutate:ee,get data(){return M.data=!0,K},get error(){return M.error=!0,B},get isValidating(){return M.isValidating=!0,X},get isLoading(){return M.isLoading=!0,Q}}},gse=$p.defineProperty(sse,"defaultValue",{value:p9}),LS=pse(hse);function Pp(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Bh(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,l;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){i=!0,l=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}}}const yse={moneySymbol:"$",form:{lightFilter:{more:"المزيد",clear:"نظف",confirm:"تأكيد",itemUnit:"عناصر"}},tableForm:{search:"ابحث",reset:"إعادة تعيين",submit:"ارسال",collapsed:"مُقلص",expand:"مُوسع",inputPlaceholder:"الرجاء الإدخال",selectPlaceholder:"الرجاء الإختيار"},alert:{clear:"نظف",selected:"محدد",item:"عنصر"},pagination:{total:{range:" ",total:"من",item:"عناصر"}},tableToolBar:{leftPin:"ثبت على اليسار",rightPin:"ثبت على اليمين",noPin:"الغاء التثبيت",leftFixedTitle:"لصق على اليسار",rightFixedTitle:"لصق على اليمين",noFixedTitle:"إلغاء الإلصاق",reset:"إعادة تعيين",columnDisplay:"الأعمدة المعروضة",columnSetting:"الإعدادات",fullScreen:"وضع كامل الشاشة",exitFullScreen:"الخروج من وضع كامل الشاشة",reload:"تحديث",density:"الكثافة",densityDefault:"افتراضي",densityLarger:"أكبر",densityMiddle:"وسط",densitySmall:"مدمج"},stepsForm:{next:"التالي",prev:"السابق",submit:"أنهى"},loginForm:{submitText:"تسجيل الدخول"},editableTable:{action:{save:"أنقذ",cancel:"إلغاء الأمر",delete:"حذف",add:"إضافة صف من البيانات"}},switch:{open:"مفتوح",close:"غلق"}},bse={moneySymbol:"€",form:{lightFilter:{more:"Més",clear:"Netejar",confirm:"Confirmar",itemUnit:"Elements"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col·lapsar",inputPlaceholder:"Introduïu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuració",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitjà",densitySmall:"Compacte"},stepsForm:{next:"Següent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Cancel·lar",delete:"Eliminar",add:"afegir una fila de dades"}},switch:{open:"obert",close:"tancat"}},Cse={moneySymbol:"Kč",deleteThisLine:"Smazat tento řádek",copyThisLine:"Kopírovat tento řádek",form:{lightFilter:{more:"Víc",clear:"Vymazat",confirm:"Potvrdit",itemUnit:"Položky"}},tableForm:{search:"Dotaz",reset:"Resetovat",submit:"Odeslat",collapsed:"Zvětšit",expand:"Zmenšit",inputPlaceholder:"Zadejte prosím",selectPlaceholder:"Vyberte prosím"},alert:{clear:"Vymazat",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položek"}},tableToolBar:{leftPin:"Připnout doleva",rightPin:"Připnout doprava",noPin:"Odepnuto",leftFixedTitle:"Fixováno nalevo",rightFixedTitle:"Fixováno napravo",noFixedTitle:"Neopraveno",reset:"Resetovat",columnDisplay:"Zobrazení sloupců",columnSetting:"Nastavení",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončete celou obrazovku",reload:"Obnovit",density:"Hustota",densityDefault:"Výchozí",densityLarger:"Větší",densityMiddle:"Střední",densitySmall:"Kompaktní"},stepsForm:{next:"Další",prev:"Předchozí",submit:"Dokončit"},loginForm:{submitText:"Přihlásit se"},editableTable:{onlyOneLineEditor:"Upravit lze pouze jeden řádek",action:{save:"Uložit",cancel:"Zrušit",delete:"Vymazat",add:"přidat řádek dat"}},switch:{open:"otevřít",close:"zavřít"}},xse={moneySymbol:"€",form:{lightFilter:{more:"Mehr",clear:"Zurücksetzen",confirm:"Bestätigen",itemUnit:"Einträge"}},tableForm:{search:"Suchen",reset:"Zurücksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte auswählen"},alert:{clear:"Zurücksetzen",selected:"Ausgewählt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Einträgen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zurücksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Größer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"Löschen",add:"Hinzufügen einer Datenzeile"}},switch:{open:"offen",close:"schließen"}},Sse={moneySymbol:"£",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},wse={moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},$se={moneySymbol:"€",form:{lightFilter:{more:"Más",clear:"Limpiar",confirm:"Confirmar",itemUnit:"artículos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"artículos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuración",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"añadir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}},Ese={moneySymbol:"تومان",form:{lightFilter:{more:"بیشتر",clear:"پاک کردن",confirm:"تایید",itemUnit:"مورد"}},tableForm:{search:"جستجو",reset:"بازنشانی",submit:"تایید",collapsed:"نمایش بیشتر",expand:"نمایش کمتر",inputPlaceholder:"پیدا کنید",selectPlaceholder:"انتخاب کنید"},alert:{clear:"پاک سازی",selected:"انتخاب",item:"مورد"},pagination:{total:{range:" ",total:"از",item:"مورد"}},tableToolBar:{leftPin:"سنجاق به چپ",rightPin:"سنجاق به راست",noPin:"سنجاق نشده",leftFixedTitle:"ثابت شده در چپ",rightFixedTitle:"ثابت شده در راست",noFixedTitle:"شناور",reset:"بازنشانی",columnDisplay:"نمایش همه",columnSetting:"تنظیمات",fullScreen:"تمام صفحه",exitFullScreen:"خروج از حالت تمام صفحه",reload:"تازه سازی",density:"تراکم",densityDefault:"پیش فرض",densityLarger:"بزرگ",densityMiddle:"متوسط",densitySmall:"کوچک"},stepsForm:{next:"بعدی",prev:"قبلی",submit:"اتمام"},loginForm:{submitText:"ورود"},editableTable:{action:{save:"ذخیره",cancel:"لغو",delete:"حذف",add:"یک ردیف داده اضافه کنید"}},switch:{open:"باز",close:"نزدیک"}},Pse={moneySymbol:"€",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"Réinitialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"Réduire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"Sélectionner une valeur"},alert:{clear:"Réinitialiser",selected:"Sélectionné",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"éléments"}},tableToolBar:{leftPin:"Épingler à gauche",rightPin:"Épingler à gauche",noPin:"Sans épingle",leftFixedTitle:"Fixer à gauche",rightFixedTitle:"Fixer à droite",noFixedTitle:"Non fixé",reset:"Réinitialiser",columnDisplay:"Affichage colonne",columnSetting:"Réglages",fullScreen:"Plein écran",exitFullScreen:"Quitter Plein écran",reload:"Rafraichir",density:"Densité",densityDefault:"Par défaut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Précédente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de données"}},switch:{open:"ouvert",close:"près"}},Ose={moneySymbol:"kn",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretraži",reset:"Poništi",submit:"Potvrdi",collapsed:"Raširi",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"Očisti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prikači lijevo",rightPin:"Prikači desno",noPin:"Bez prikačenja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Izađi iz punog zaslona",reload:"Ponovno učitaj",density:"Veličina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljedeći",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}},Mse={moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}},Rse={moneySymbol:"€",form:{lightFilter:{more:"più",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalità schermo intero",exitFullScreen:"Esci da modalità schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}},Ise={moneySymbol:"¥",form:{lightFilter:{more:"もっと",clear:"明確",confirm:"確認",itemUnit:"項目"}},tableForm:{search:"検索",reset:"リセット",submit:"提交",collapsed:"展開",expand:"収納",inputPlaceholder:"入力してください",selectPlaceholder:"選択してください"},alert:{clear:"クリア",selected:"選択した",item:"項目"},pagination:{total:{range:"記事",total:"/合計",item:" "}},tableToolBar:{leftPin:"左に固定",rightPin:"右に固定",noPin:"キャンセル",leftFixedTitle:"左に固定された項目",rightFixedTitle:"右に固定された項目",noFixedTitle:"固定されてない項目",reset:"リセット",columnDisplay:"表示列",columnSetting:"列表示設定",fullScreen:"フルスクリーン",exitFullScreen:"終了",reload:"更新",density:"行高",densityDefault:"デフォルト",densityLarger:"默认",densityMiddle:"中",densitySmall:"小"},stepsForm:{next:"次のステップ",prev:"前",submit:"送信"},loginForm:{submitText:"ログイン"},editableTable:{action:{save:"救う",cancel:"キャンセル",delete:"削除",add:"1行のデータを追加します"}},switch:{open:"オープン",close:"近い"}},Nse={moneySymbol:"₩",form:{lightFilter:{more:"더보기",clear:"초기화",confirm:"확인",itemUnit:"건수"}},tableForm:{search:"조회",reset:"초기화",submit:"제출",collapsed:"확장",expand:"닫기",inputPlaceholder:"입력해 주세요",selectPlaceholder:"선택해 주세요"},alert:{clear:"취소",selected:"선택",item:"건"},pagination:{total:{range:" ",total:"/ 총",item:"건"}},tableToolBar:{leftPin:"왼쪽으로 핀",rightPin:"오른쪽으로 핀",noPin:"핀 제거",leftFixedTitle:"왼쪽으로 고정",rightFixedTitle:"오른쪽으로 고정",noFixedTitle:"비고정",reset:"초기화",columnDisplay:"컬럼 표시",columnSetting:"설정",fullScreen:"전체 화면",exitFullScreen:"전체 화면 취소",reload:"새로 고침",density:"여백",densityDefault:"기본",densityLarger:"많은 여백",densityMiddle:"중간 여백",densitySmall:"좁은 여백"},stepsForm:{next:"다음",prev:"이전",submit:"종료"},loginForm:{submitText:"로그인"},editableTable:{action:{save:"저장",cancel:"취소",delete:"삭제",add:"데이터 행 추가"}},switch:{open:"열",close:"가까 운"}},Tse={moneySymbol:"₮",form:{lightFilter:{more:"Илүү",clear:"Цэвэрлэх",confirm:"Баталгаажуулах",itemUnit:"Нэгжүүд"}},tableForm:{search:"Хайх",reset:"Шинэчлэх",submit:"Илгээх",collapsed:"Өргөтгөх",expand:"Хураах",inputPlaceholder:"Утга оруулна уу",selectPlaceholder:"Утга сонгоно уу"},alert:{clear:"Цэвэрлэх",selected:"Сонгогдсон",item:"Нэгж"},pagination:{total:{range:" ",total:"Нийт",item:"мөр"}},tableToolBar:{leftPin:"Зүүн тийш бэхлэх",rightPin:"Баруун тийш бэхлэх",noPin:"Бэхлэхгүй",leftFixedTitle:"Зүүн зэрэгцүүлэх",rightFixedTitle:"Баруун зэрэгцүүлэх",noFixedTitle:"Зэрэгцүүлэхгүй",reset:"Шинэчлэх",columnDisplay:"Баганаар харуулах",columnSetting:"Тохиргоо",fullScreen:"Бүтэн дэлгэцээр",exitFullScreen:"Бүтэн дэлгэц цуцлах",reload:"Шинэчлэх",density:"Хэмжээ",densityDefault:"Хэвийн",densityLarger:"Том",densityMiddle:"Дунд",densitySmall:"Жижиг"},stepsForm:{next:"Дараах",prev:"Өмнөх",submit:"Дуусгах"},loginForm:{submitText:"Нэвтрэх"},editableTable:{action:{save:"Хадгалах",cancel:"Цуцлах",delete:"Устгах",add:"Мөр нэмэх"}},switch:{open:"Нээх",close:"Хаах"}},_se={moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}},kse={moneySymbol:"zł",form:{lightFilter:{more:"Więcej",clear:"Wyczyść",confirm:"Potwierdź",itemUnit:"Ilość"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierdź",collapsed:"Pokaż wiecej",expand:"Pokaż mniej",inputPlaceholder:"Proszę podać",selectPlaceholder:"Proszę wybrać"},alert:{clear:"Wyczyść",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpisów"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypięte do lewej",rightFixedTitle:"Przypięte do prawej",noFixedTitle:"Nieprzypięte",reset:"Reset",columnDisplay:"Wyświetlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pełen ekran",exitFullScreen:"Zamknij pełen ekran",reload:"Odśwież",density:"Odstęp",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Zaloguj się"},editableTable:{action:{save:"Zapisać",cancel:"Anuluj",delete:"Usunąć",add:"dodawanie wiersza danych"}},switch:{open:"otwierać",close:"zamykać"}},Fse={moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar à esquerda",rightPin:"Fixar à direita",noPin:"Desfixado",leftFixedTitle:"Fixado à esquerda",rightFixedTitle:"Fixado à direita",noFixedTitle:"Não fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configurações",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padrão",densityLarger:"Largo",densityMiddle:"Médio",densitySmall:"Compacto"},stepsForm:{next:"Próximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}},Dse={moneySymbol:"₽",form:{lightFilter:{more:"Еще",clear:"Очистить",confirm:"ОК",itemUnit:"Позиции"}},tableForm:{search:"Найти",reset:"Сброс",submit:"Отправить",collapsed:"Развернуть",expand:"Свернуть",inputPlaceholder:"Введите значение",selectPlaceholder:"Выберите значение"},alert:{clear:"Очистить",selected:"Выбрано",item:"элементов"},pagination:{total:{range:" ",total:"из",item:"элементов"}},tableToolBar:{leftPin:"Закрепить слева",rightPin:"Закрепить справа",noPin:"Открепить",leftFixedTitle:"Закреплено слева",rightFixedTitle:"Закреплено справа",noFixedTitle:"Не закреплено",reset:"Сброс",columnDisplay:"Отображение столбца",columnSetting:"Настройки",fullScreen:"Полный экран",exitFullScreen:"Выйти из полноэкранного режима",reload:"Обновить",density:"Размер",densityDefault:"По умолчанию",densityLarger:"Большой",densityMiddle:"Средний",densitySmall:"Сжатый"},stepsForm:{next:"Следующий",prev:"Предыдущий",submit:"Завершить"},loginForm:{submitText:"Вход"},editableTable:{action:{save:"Сохранить",cancel:"Отменить",delete:"Удалить",add:"добавить ряд данных"}},switch:{open:"Открытый чемпионат мира по теннису",close:"По адресу:"}},Lse={moneySymbol:"€",deleteThisLine:"Odstrániť tento riadok",copyThisLine:"Skopírujte tento riadok",form:{lightFilter:{more:"Viac",clear:"Vyčistiť",confirm:"Potvrďte",itemUnit:"Položky"}},tableForm:{search:"Vyhladať",reset:"Resetovať",submit:"Odoslať",collapsed:"Rozbaliť",expand:"Zbaliť",inputPlaceholder:"Prosím, zadajte",selectPlaceholder:"Prosím, vyberte"},alert:{clear:"Vyčistiť",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položiek"}},tableToolBar:{leftPin:"Pripnúť vľavo",rightPin:"Pripnúť vpravo",noPin:"Odopnuté",leftFixedTitle:"Fixované na ľavo",rightFixedTitle:"Fixované na pravo",noFixedTitle:"Nefixované",reset:"Resetovať",columnDisplay:"Zobrazenie stĺpcov",columnSetting:"Nastavenia",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončiť celú obrazovku",reload:"Obnoviť",density:"Hustota",densityDefault:"Predvolené",densityLarger:"Väčšie",densityMiddle:"Stredné",densitySmall:"Kompaktné"},stepsForm:{next:"Ďalšie",prev:"Predchádzajúce",submit:"Potvrdiť"},loginForm:{submitText:"Prihlásiť sa"},editableTable:{onlyOneLineEditor:"Upravovať možno iba jeden riadok",action:{save:"Uložiť",cancel:"Zrušiť",delete:"Odstrániť",add:"pridať riadok údajov"}},switch:{open:"otvoriť",close:"zavrieť"}},Ase={moneySymbol:"RSD",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pronađi",reset:"Resetuj",submit:"Pošalji",collapsed:"Proširi",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"Očisti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zakači levo",rightPin:"Zakači desno",noPin:"Nije zakačeno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Podešavanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osveži",density:"Veličina",densityDefault:"Podrazumevana",densityLarger:"Veća",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sačuvaj",cancel:"Poništi",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"Отворите",close:"Затворите"}},jse={moneySymbol:"฿",deleteThisLine:"ลบบรรทัดนี้",copyThisLine:"คัดลอกบรรทัดนี้",form:{lightFilter:{more:"มากกว่า",clear:"ชัดเจน",confirm:"ยืนยัน",itemUnit:"รายการ"}},tableForm:{search:"สอบถาม",reset:"รีเซ็ต",submit:"ส่ง",collapsed:"ขยาย",expand:"ทรุด",inputPlaceholder:"กรุณาป้อน",selectPlaceholder:"โปรดเลือก"},alert:{clear:"ชัดเจน",selected:"เลือกแล้ว",item:"รายการ"},pagination:{total:{range:" ",total:"ของ",item:"รายการ"}},tableToolBar:{leftPin:"ปักหมุดไปทางซ้าย",rightPin:"ปักหมุดไปทางขวา",noPin:"เลิกตรึงแล้ว",leftFixedTitle:"แก้ไขด้านซ้าย",rightFixedTitle:"แก้ไขด้านขวา",noFixedTitle:"ไม่คงที่",reset:"รีเซ็ต",columnDisplay:"การแสดงคอลัมน์",columnSetting:"การตั้งค่า",fullScreen:"เต็มจอ",exitFullScreen:"ออกจากโหมดเต็มหน้าจอ",reload:"รีเฟรช",density:"ความหนาแน่น",densityDefault:"ค่าเริ่มต้น",densityLarger:"ขนาดใหญ่ขึ้น",densityMiddle:"กลาง",densitySmall:"กะทัดรัด"},stepsForm:{next:"ถัดไป",prev:"ก่อนหน้า",submit:"เสร็จ"},loginForm:{submitText:"เข้าสู่ระบบ"},editableTable:{onlyOneLineEditor:"แก้ไขได้เพียงบรรทัดเดียวเท่านั้น",action:{save:"บันทึก",cancel:"ยกเลิก",delete:"ลบ",add:"เพิ่มแถวของข้อมูล"}},switch:{open:"เปิด",close:"ปิด"}},zse={moneySymbol:"₺",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"Öğeler"}},tableForm:{search:"Filtrele",reset:"Sıfırla",submit:"Gönder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek için bir değer girin",selectPlaceholder:"Filtrelemek için bir değer seçin"},alert:{clear:"Temizle",selected:"Seçili",item:"Öğe"},pagination:{total:{range:" ",total:"Toplam",item:"Öğe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sağa sabitle",noPin:"Sabitlemeyi kaldır",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sağa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"Sıfırla",columnDisplay:"Kolon Görünümü",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan Çık",reload:"Yenile",density:"Kalınlık",densityDefault:"Varsayılan",densityLarger:"Büyük",densityMiddle:"Orta",densitySmall:"Küçük"},stepsForm:{next:"Sıradaki",prev:"Önceki",submit:"Gönder"},loginForm:{submitText:"Giriş Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazgeç",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"açık",close:"kapatmak"}},Hse={moneySymbol:"₫",form:{lightFilter:{more:"Nhiều hơn",clear:"Trong",confirm:"Xác nhận",itemUnit:"Mục"}},tableForm:{search:"Tìm kiếm",reset:"Làm lại",submit:"Gửi đi",collapsed:"Mở rộng",expand:"Thu gọn",inputPlaceholder:"nhập dữ liệu",selectPlaceholder:"Vui lòng chọn"},alert:{clear:"Xóa",selected:"đã chọn",item:"mục"},pagination:{total:{range:" ",total:"trên",item:"mặt hàng"}},tableToolBar:{leftPin:"Ghim trái",rightPin:"Ghim phải",noPin:"Bỏ ghim",leftFixedTitle:"Cố định trái",rightFixedTitle:"Cố định phải",noFixedTitle:"Chưa cố định",reset:"Làm lại",columnDisplay:"Cột hiển thị",columnSetting:"Cấu hình",fullScreen:"Chế độ toàn màn hình",exitFullScreen:"Thoát chế độ toàn màn hình",reload:"Làm mới",density:"Mật độ hiển thị",densityDefault:"Mặc định",densityLarger:"Mặc định",densityMiddle:"Trung bình",densitySmall:"Chật"},stepsForm:{next:"Sau",prev:"Trước",submit:"Kết thúc"},loginForm:{submitText:"Đăng nhập"},editableTable:{action:{save:"Cứu",cancel:"Hủy",delete:"Xóa",add:"thêm một hàng dữ liệu"}},switch:{open:"mở",close:"đóng"}},Bse={moneySymbol:"¥",deleteThisLine:"删除此行",copyThisLine:"复制此行",form:{lightFilter:{more:"更多筛选",clear:"清除",confirm:"确认",itemUnit:"项"}},tableForm:{search:"查询",reset:"重置",submit:"提交",collapsed:"展开",expand:"收起",inputPlaceholder:"请输入",selectPlaceholder:"请选择"},alert:{clear:"取消选择",selected:"已选择",item:"项"},pagination:{total:{range:"第",total:"条/总共",item:"条"}},tableToolBar:{leftPin:"固定在列首",rightPin:"固定在列尾",noPin:"不固定",leftFixedTitle:"固定在左侧",rightFixedTitle:"固定在右侧",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列设置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"默认",densityMiddle:"中等",densitySmall:"紧凑"},stepsForm:{next:"下一步",prev:"上一步",submit:"提交"},loginForm:{submitText:"登录"},editableTable:{onlyOneLineEditor:"只能同时编辑一行",action:{save:"保存",cancel:"取消",delete:"删除",add:"添加一行数据"}},switch:{open:"打开",close:"关闭"}},Vse={moneySymbol:"NT$",deleteThisLine:"刪除此行",copyThisLine:"複製此行",form:{lightFilter:{more:"更多篩選",clear:"清除",confirm:"確認",itemUnit:"項"}},tableForm:{search:"查詢",reset:"重置",submit:"提交",collapsed:"展開",expand:"收起",inputPlaceholder:"請輸入",selectPlaceholder:"請選擇"},alert:{clear:"取消選擇",selected:"已選擇",item:"項"},pagination:{total:{range:"第",total:"條/總共",item:"條"}},tableToolBar:{leftPin:"固定到左邊",rightPin:"固定到右邊",noPin:"不固定",leftFixedTitle:"固定在左側",rightFixedTitle:"固定在右側",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列設置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"默認",densityMiddle:"中等",densitySmall:"緊湊"},stepsForm:{next:"下一步",prev:"上一步",submit:"完成"},loginForm:{submitText:"登入"},editableTable:{onlyOneLineEditor:"只能同時編輯一行",action:{save:"保存",cancel:"取消",delete:"刪除",add:"新增一行資料"}},switch:{open:"打開",close:"關閉"}};function Wse(e,t,n){var r=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,a=n,i=Pp(r),l;try{for(i.s();!(l=i.n()).done;){var s=l.value;if(a=Object(o)[s],o=Object(o)[s],a===void 0)return n}}catch(u){i.e(u)}finally{i.f()}return a}var Sn=function(t,n){return{getMessage:function(o,a){return Wse(n,o,a)||a},locale:t}},Kse=Sn("mn_MN",Tse),Use=Sn("ar_EG",yse),fc=Sn("zh_CN",Bse),Yse=Sn("en_US",wse),Gse=Sn("en_GB",Sse),Xse=Sn("vi_VN",Hse),qse=Sn("it_IT",Rse),Qse=Sn("ja_JP",Ise),Zse=Sn("es_ES",$se),Jse=Sn("ca_ES",bse),ece=Sn("ru_RU",Dse),tce=Sn("sr_RS",Ase),nce=Sn("ms_MY",_se),rce=Sn("zh_TW",Vse),oce=Sn("fr_FR",Pse),ace=Sn("pt_BR",Fse),ice=Sn("ko_KR",Nse),lce=Sn("id_ID",Mse),sce=Sn("de_DE",xse),cce=Sn("fa_IR",Ese),uce=Sn("tr_TR",zse),dce=Sn("pl_PL",kse),fce=Sn("hr_",Ose),vce=Sn("th_TH",jse),pce=Sn("cs_cz",Cse),mce=Sn("sk_SK",Lse),Fc={"mn-MN":Kse,"ar-EG":Use,"zh-CN":fc,"en-US":Yse,"en-GB":Gse,"vi-VN":Xse,"it-IT":qse,"ja-JP":Qse,"es-ES":Zse,"ca-ES":Jse,"ru-RU":ece,"sr-RS":tce,"ms-MY":nce,"zh-TW":rce,"fr-FR":oce,"pt-BR":ace,"ko-KR":ice,"id-ID":lce,"de-DE":sce,"fa-IR":cce,"tr-TR":uce,"pl-PL":dce,"hr-HR":fce,"th-TH":vce,"cs-CZ":pce,"sk-SK":mce},hce=Object.keys(Fc),g9=function(t){var n=(t||"zh-CN").toLocaleLowerCase();return hce.find(function(r){var o=r.toLocaleLowerCase();return o.includes(n)})},T1,nf={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911",colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff7875",colorInfo:"#1677ff",colorTextBase:"#000",colorBgBase:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInQuint:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,"blue-1":"#e6f4ff","blue-2":"#bae0ff","blue-3":"#91caff","blue-4":"#69b1ff","blue-5":"#4096ff","blue-6":"#1677ff","blue-7":"#0958d9","blue-8":"#003eb3","blue-9":"#002c8c","blue-10":"#001d66","purple-1":"#f9f0ff","purple-2":"#efdbff","purple-3":"#d3adf7","purple-4":"#b37feb","purple-5":"#9254de","purple-6":"#722ed1","purple-7":"#531dab","purple-8":"#391085","purple-9":"#22075e","purple-10":"#120338","cyan-1":"#e6fffb","cyan-2":"#b5f5ec","cyan-3":"#87e8de","cyan-4":"#5cdbd3","cyan-5":"#36cfc9","cyan-6":"#13c2c2","cyan-7":"#08979c","cyan-8":"#006d75","cyan-9":"#00474f","cyan-10":"#002329","green-1":"#f6ffed","green-2":"#d9f7be","green-3":"#b7eb8f","green-4":"#95de64","green-5":"#73d13d","green-6":"#52c41a","green-7":"#389e0d","green-8":"#237804","green-9":"#135200","green-10":"#092b00","magenta-1":"#fff0f6","magenta-2":"#ffd6e7","magenta-3":"#ffadd2","magenta-4":"#ff85c0","magenta-5":"#f759ab","magenta-6":"#eb2f96","magenta-7":"#c41d7f","magenta-8":"#9e1068","magenta-9":"#780650","magenta-10":"#520339","pink-1":"#fff0f6","pink-2":"#ffd6e7","pink-3":"#ffadd2","pink-4":"#ff85c0","pink-5":"#f759ab","pink-6":"#eb2f96","pink-7":"#c41d7f","pink-8":"#9e1068","pink-9":"#780650","pink-10":"#520339","red-1":"#fff1f0","red-2":"#ffccc7","red-3":"#ffa39e","red-4":"#ff7875","red-5":"#ff4d4f","red-6":"#f5222d","red-7":"#cf1322","red-8":"#a8071a","red-9":"#820014","red-10":"#5c0011","orange-1":"#fff7e6","orange-2":"#ffe7ba","orange-3":"#ffd591","orange-4":"#ffc069","orange-5":"#ffa940","orange-6":"#fa8c16","orange-7":"#d46b08","orange-8":"#ad4e00","orange-9":"#873800","orange-10":"#612500","yellow-1":"#feffe6","yellow-2":"#ffffb8","yellow-3":"#fffb8f","yellow-4":"#fff566","yellow-5":"#ffec3d","yellow-6":"#fadb14","yellow-7":"#d4b106","yellow-8":"#ad8b00","yellow-9":"#876800","yellow-10":"#614700","volcano-1":"#fff2e8","volcano-2":"#ffd8bf","volcano-3":"#ffbb96","volcano-4":"#ff9c6e","volcano-5":"#ff7a45","volcano-6":"#fa541c","volcano-7":"#d4380d","volcano-8":"#ad2102","volcano-9":"#871400","volcano-10":"#610b00","geekblue-1":"#f0f5ff","geekblue-2":"#d6e4ff","geekblue-3":"#adc6ff","geekblue-4":"#85a5ff","geekblue-5":"#597ef7","geekblue-6":"#2f54eb","geekblue-7":"#1d39c4","geekblue-8":"#10239e","geekblue-9":"#061178","geekblue-10":"#030852","gold-1":"#fffbe6","gold-2":"#fff1b8","gold-3":"#ffe58f","gold-4":"#ffd666","gold-5":"#ffc53d","gold-6":"#faad14","gold-7":"#d48806","gold-8":"#ad6800","gold-9":"#874d00","gold-10":"#613400","lime-1":"#fcffe6","lime-2":"#f4ffb8","lime-3":"#eaff8f","lime-4":"#d3f261","lime-5":"#bae637","lime-6":"#a0d911","lime-7":"#7cb305","lime-8":"#5b8c00","lime-9":"#3f6600","lime-10":"#254000",colorText:"rgba(0, 0, 0, 0.88)",colorTextSecondary:"rgba(0, 0, 0, 0.65)",colorTextTertiary:"rgba(0, 0, 0, 0.45)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorFill:"rgba(0, 0, 0, 0.15)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorFillQuaternary:"rgba(0, 0, 0, 0.02)",colorBgLayout:"hsl(220,23%,97%)",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgSpotlight:"rgba(0, 0, 0, 0.85)",colorBorder:"#d9d9d9",colorBorderSecondary:"#f0f0f0",colorPrimaryBg:"#e6f4ff",colorPrimaryBgHover:"#bae0ff",colorPrimaryBorder:"#91caff",colorPrimaryBorderHover:"#69b1ff",colorPrimaryHover:"#4096ff",colorPrimaryActive:"#0958d9",colorPrimaryTextHover:"#4096ff",colorPrimaryText:"#1677ff",colorPrimaryTextActive:"#0958d9",colorSuccessBg:"#f6ffed",colorSuccessBgHover:"#d9f7be",colorSuccessBorder:"#b7eb8f",colorSuccessBorderHover:"#95de64",colorSuccessHover:"#95de64",colorSuccessActive:"#389e0d",colorSuccessTextHover:"#73d13d",colorSuccessText:"#52c41a",colorSuccessTextActive:"#389e0d",colorErrorBg:"#fff2f0",colorErrorBgHover:"#fff1f0",colorErrorBorder:"#ffccc7",colorErrorBorderHover:"#ffa39e",colorErrorHover:"#ffa39e",colorErrorActive:"#d9363e",colorErrorTextHover:"#ff7875",colorErrorText:"#ff4d4f",colorErrorTextActive:"#d9363e",colorWarningBg:"#fffbe6",colorWarningBgHover:"#fff1b8",colorWarningBorder:"#ffe58f",colorWarningBorderHover:"#ffd666",colorWarningHover:"#ffd666",colorWarningActive:"#d48806",colorWarningTextHover:"#ffc53d",colorWarningText:"#faad14",colorWarningTextActive:"#d48806",colorInfoBg:"#e6f4ff",colorInfoBgHover:"#bae0ff",colorInfoBorder:"#91caff",colorInfoBorderHover:"#69b1ff",colorInfoHover:"#69b1ff",colorInfoActive:"#0958d9",colorInfoTextHover:"#4096ff",colorInfoText:"#1677ff",colorInfoTextActive:"#0958d9",colorBgMask:"rgba(0, 0, 0, 0.45)",colorWhite:"#fff",sizeXXL:48,sizeXL:32,sizeLG:24,sizeMD:20,sizeMS:16,size:16,sizeSM:12,sizeXS:8,sizeXXS:4,controlHeightSM:24,controlHeightXS:16,controlHeightLG:40,motionDurationFast:"0.1s",motionDurationMid:"0.2s",motionDurationSlow:"0.3s",fontSizes:[12,14,16,20,24,30,38,46,56,68],lineHeights:[1.6666666666666667,1.5714285714285714,1.5,1.4,1.3333333333333333,1.2666666666666666,1.2105263157894737,1.173913043478261,1.1428571428571428,1.1176470588235294],lineWidthBold:2,borderRadiusXS:1,borderRadiusSM:4,borderRadiusLG:8,borderRadiusOuter:4,colorLink:"#1677ff",colorLinkHover:"#69b1ff",colorLinkActive:"#0958d9",colorFillContent:"rgba(0, 0, 0, 0.06)",colorFillContentHover:"rgba(0, 0, 0, 0.15)",colorFillAlter:"rgba(0, 0, 0, 0.02)",colorBgContainerDisabled:"rgba(0, 0, 0, 0.04)",colorBorderBg:"#ffffff",colorSplit:"rgba(5, 5, 5, 0.06)",colorTextPlaceholder:"rgba(0, 0, 0, 0.25)",colorTextDisabled:"rgba(0, 0, 0, 0.25)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLabel:"rgba(0, 0, 0, 0.65)",colorTextDescription:"rgba(0, 0, 0, 0.45)",colorTextLightSolid:"#fff",colorHighlight:"#ff7875",colorBgTextHover:"rgba(0, 0, 0, 0.06)",colorBgTextActive:"rgba(0, 0, 0, 0.15)",colorIcon:"rgba(0, 0, 0, 0.45)",colorIconHover:"rgba(0, 0, 0, 0.88)",colorErrorOutline:"rgba(255, 38, 5, 0.06)",colorWarningOutline:"rgba(255, 215, 5, 0.1)",fontSizeSM:12,fontSizeLG:16,fontSizeXL:20,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,lineHeight:1.5714285714285714,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,controlOutlineWidth:2,controlInteractiveSize:16,controlItemBgHover:"rgba(0, 0, 0, 0.04)",controlItemBgActive:"#e6f4ff",controlItemBgActiveHover:"#bae0ff",controlItemBgActiveDisabled:"rgba(0, 0, 0, 0.15)",controlTmpOutline:"rgba(0, 0, 0, 0.02)",controlOutline:"rgba(5, 145, 255, 0.1)",fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:4,paddingXS:8,paddingSM:12,padding:16,paddingMD:20,paddingLG:24,paddingXL:32,paddingContentHorizontalLG:24,paddingContentVerticalLG:16,paddingContentHorizontal:16,paddingContentVertical:12,paddingContentHorizontalSM:16,paddingContentVerticalSM:8,marginXXS:4,marginXS:8,marginSM:12,margin:16,marginMD:20,marginLG:24,marginXL:32,marginXXL:48,boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",boxShadowSecondary:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",screenXS:480,screenXSMin:480,screenXSMax:479,screenSM:576,screenSMMin:576,screenSMMax:575,screenMD:768,screenMDMin:768,screenMDMax:767,screenLG:992,screenLGMin:992,screenLGMax:991,screenXL:1200,screenXLMin:1200,screenXLMax:1199,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1599,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:"0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",boxShadowDrawerRight:"-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerLeft:"6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerUp:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerDown:"0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",_tokenKey:"19w80ff",_hashId:"css-dev-only-do-not-override-i2zu9q"},y9=function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=3735928559^n,o=1103547991^n,a=0,i;a>>16,2246822507)^Math.imul(o^o>>>13,3266489909),o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),4294967296*(2097151&o)+(r>>>0)},AS=o2(function(e){return e}),b9={theme:AS,token:E(E({},nf),No==null||(T1=No.defaultAlgorithm)===null||T1===void 0?void 0:T1.call(No,No==null?void 0:No.defaultSeed)),hashId:"pro-".concat(y9(JSON.stringify(nf)))},gce=function(){return b9};const yce=Object.freeze(Object.defineProperty({__proto__:null,defaultToken:nf,emptyTheme:AS,hashCode:y9,token:b9,useToken:gce},Symbol.toStringTag,{value:"Module"}));var qo=function(t,n){return new Yt(t).setAlpha(n).toRgbString()},bce=function(){return typeof No>"u"||!No?yce:No},rf=bce(),Cce=rf.useToken,_1=function(t){return{boxSizing:"border-box",margin:0,padding:0,color:t.colorText,fontSize:t.fontSize,lineHeight:t.lineHeight,listStyle:"none"}};function wn(e,t){var n,r=c.useContext(ci),o=r.token,a=o===void 0?{}:o,i=c.useContext(ci),l=i.hashId,s=l===void 0?"":l,u=i.theme,d=Cce(),f=d.token,v=c.useContext(nt.ConfigContext),p=v.getPrefixCls;return a.layout||(a=E({},f)),a.proComponentsCls=(n=a.proComponentsCls)!==null&&n!==void 0?n:".".concat(p("pro")),a.antCls=".".concat(p()),{wrapSSR:um({theme:u,token:a,hashId:s,path:[e]},function(){return t(a)}),hashId:s}}var xce=function(t,n){var r,o,a,i=E({},t);return E(E({bgLayout:"linear-gradient(".concat(n.colorBgContainer,", ").concat(n.colorBgLayout," 28%)"),colorTextAppListIcon:n.colorTextSecondary,appListIconHoverBgColor:i==null||(r=i.sider)===null||r===void 0?void 0:r.colorBgMenuItemSelected,colorBgAppListIconHover:qo(n.colorTextBase,.04),colorTextAppListIconHover:n.colorTextBase},i),{},{header:E({colorBgHeader:qo(n.colorBgElevated,.6),colorHeaderTitle:n.colorText,colorBgMenuItemHover:qo(n.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorTextMenuSelected:qo(n.colorTextBase,.95),colorBgRightActionsItemHover:qo(n.colorTextBase,.03),colorTextRightActionsItem:n.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:n.colorTextSecondary,colorTextMenuSecondary:n.colorTextTertiary,colorTextMenuTitle:n.colorText,colorTextMenuActive:n.colorText},i.header),sider:E({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:n.colorBgElevated,colorTextCollapsedButtonHover:n.colorTextSecondary,colorTextCollapsedButton:qo(n.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:qo(n.colorTextBase,.06),colorBgMenuItemHover:qo(n.colorTextBase,.03),colorBgMenuItemSelected:qo(n.colorTextBase,.04),colorTextMenuItemHover:n.colorText,colorTextMenuSelected:qo(n.colorTextBase,.95),colorTextMenuActive:n.colorText,colorTextMenu:n.colorTextSecondary,colorTextMenuSecondary:n.colorTextTertiary,colorTextMenuTitle:n.colorText,colorTextSubMenuSelected:qo(n.colorTextBase,.95)},i.sider),pageContainer:E({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((o=i.pageContainer)===null||o===void 0?void 0:o.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((a=i.pageContainer)===null||a===void 0?void 0:a.marginBlockPageContainerContent)||24,colorBgPageContainerFixed:n.colorBgElevated},i.pageContainer)})},Sce=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o1,W=O.getMessage("form.lightFilter.itemUnit","项");return typeof j=="string"&&j.length>H&&K?"...".concat(_.length).concat(W):""},B=z();return L.jsxs("span",{title:typeof j=="string"?j:void 0,style:{display:"inline-flex",alignItems:"center"},children:[D,L.jsx("span",{style:{paddingInlineStart:4},children:typeof j=="string"?j==null||(k=j.toString())===null||k===void 0||(F=k.substr)===null||F===void 0?void 0:F.call(k,0,H):j}),B]})}return I||v};return w(L.jsxs("span",{className:G(x,$,"".concat(x,"-").concat(s),(r={},A(r,"".concat(x,"-active"),!!i||i===0),A(r,"".concat(x,"-disabled"),u),A(r,"".concat(x,"-bordered"),y),A(r,"".concat(x,"-allow-clear"),g),r),p),ref:R,children:[N(o,i),(i||i===0)&&g&&L.jsx(ns,{role:"button",title:O.getMessage("form.lightFilter.clear","清除"),className:G("".concat(x,"-icon"),$,"".concat(x,"-close")),onClick:function(I){a&&!u&&a(),I.stopPropagation()},ref:P}),L.jsx(D2,{className:G("".concat(x,"-icon"),"".concat(x,"-arrow"))})]}))},au=Z.forwardRef(_ce),kce=function(t){var n;return n={},A(n,"".concat(t.componentCls,"-label"),{cursor:"pointer"}),A(n,"".concat(t.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),A(n,"".concat(t.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),n};function Fce(e){return wn("FilterDropdown",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[kce(n)]})}var io=function(t){var n={};if(Object.keys(t||{}).forEach(function(r){t[r]!==void 0&&(n[r]=t[r])}),!(Object.keys(n).length<1))return n},Dce=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,h6=function(t){return t==="*"||t==="x"||t==="X"},g6=function(t){var n=parseInt(t,10);return isNaN(n)?t:n},Lce=function(t,n){return Ke(t)!==Ke(n)?[String(t),String(n)]:[t,n]},Ace=function(t,n){if(h6(t)||h6(n))return 0;var r=Lce(g6(t),g6(n)),o=U(r,2),a=o[0],i=o[1];return a>i?1:a"u"?Bl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||Bl},Og=function(t,n){var r=x9(zce(),"4.23.0")>-1?{open:t,onOpenChange:n}:{visible:t,onVisibleChange:n};return io(r)},Hce=function(t){var n,r=t.children,o=t.label,a=t.footer,i=t.open,l=t.onOpenChange,s=t.disabled,u=t.onVisibleChange,d=t.visible,f=t.footerRender,v=t.placement,p=c.useContext(nt.ConfigContext),m=p.getPrefixCls,y=m("pro-core-field-dropdown"),h=Fce(y),g=h.wrapSSR,b=h.hashId,C=Og(i||d||!1,l||u),x=c.useRef(null);return g(L.jsx(Rf,E(E({placement:v,trigger:["click"]},C),{},{overlayInnerStyle:{padding:0},content:L.jsxs("div",{ref:x,className:G("".concat(y,"-overlay"),(n={},A(n,"".concat(y,"-overlay-").concat(v),v),A(n,"hashId",b),n)),children:[L.jsx(nt,{getPopupContainer:function(){return x.current||document.body},children:L.jsx("div",{className:"".concat(y,"-content ").concat(b),children:r})}),a&&L.jsx(Rce,E({disabled:s,footerRender:f},a))]}),children:L.jsx("span",{className:"".concat(y,"-label ").concat(b),children:o})})))},Bce=function(t){return A({},t.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:t.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:t.colorTextSecondary,fontWeight:"normal",fontSize:t.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function Vce(e){return wn("LabelIconTip",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[Bce(n)]})}var Wce=Z.memo(function(e){var t=e.label,n=e.tooltip,r=e.ellipsis,o=e.subTitle,a=c.useContext(nt.ConfigContext),i=a.getPrefixCls,l=i("pro-core-label-tip"),s=Vce(l),u=s.wrapSSR,d=s.hashId;if(!n&&!o)return L.jsx(L.Fragment,{children:t});var f=typeof n=="string"||Z.isValidElement(n)?{title:n}:n,v=(f==null?void 0:f.icon)||L.jsx(Foe,{});return u(L.jsxs("div",{className:G(l,d),onMouseDown:function(m){return m.stopPropagation()},onMouseLeave:function(m){return m.stopPropagation()},onMouseMove:function(m){return m.stopPropagation()},children:[L.jsx("div",{className:G("".concat(l,"-title"),d,A({},"".concat(l,"-title-ellipsis"),r)),children:t}),o&&L.jsx("div",{className:"".concat(l,"-subtitle ").concat(d),children:o}),n&&L.jsx(rl,E(E({},f),{},{children:L.jsx("span",{className:"".concat(l,"-icon ").concat(d),children:v})}))]}))}),S9=Z.createContext({}),Xl=function(t){return t==null},w9={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){var n="month",r="quarter";return function(o,a){var i=a.prototype;i.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var l=i.add;i.add=function(u,d){return u=Number(u),this.$utils().p(d)===r?this.add(3*u,n):l.bind(this)(u,d)};var s=i.startOf;i.startOf=function(u,d){var f=this.$utils(),v=!!f.u(d)||d;if(f.p(u)===r){var p=this.quarter()-1;return v?this.month(3*p).startOf(n).startOf("day"):this.month(3*p+2).endOf(n).endOf("day")}return s.bind(this)(u,d)}}})})(w9);var Kce=w9.exports;const Uce=nr(Kce);Rt.extend(Uce);var $9={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function b6(e){return Object.prototype.toString.call(e)==="[object Object]"}function Yce(e){if(b6(e)===!1)return!1;var t=e.constructor;if(t===void 0)return!0;var n=t.prototype;return!(b6(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)}var cC=function(t){return!!(t!=null&&t._isAMomentObject)},C6=function(t,n,r){if(!n)return t;if(Rt.isDayjs(t)||cC(t)){if(n==="number")return t.valueOf();if(n==="string")return t.format($9[r]||"YYYY-MM-DD HH:mm:ss");if(typeof n=="string"&&n!=="string")return t.format(n);if(typeof n=="function")return n(t,r)}return t},Gce=function e(t,n,r,o,a){var i={};return typeof window>"u"||Ke(t)!=="object"||Xl(t)||t instanceof Blob||Array.isArray(t)?t:(Object.keys(t).forEach(function(l){var s=a?[a,l].flat(1):[l],u=Mr(r,s)||"text",d="text",f;typeof u=="string"?d=u:u&&(d=u.valueType,f=u.dateFormat);var v=t[l];if(!(Xl(v)&&o)){if(Yce(v)&&!Array.isArray(v)&&!Rt.isDayjs(v)&&!cC(v)){i[l]=e(v,n,r,o,[l]);return}if(Array.isArray(v)){i[l]=v.map(function(p,m){return Rt.isDayjs(p)||cC(p)?C6(p,f||n,d):e(p,n,r,o,[l,"".concat(m)].flat(1))});return}i[l]=C6(v,f||n,d)}}),i)},x6=function(t,n){return typeof n=="function"?n(Rt(t)):Rt(t).format(n)},Xce=function(t,n){var r=Array.isArray(t)?t:[],o=U(r,2),a=o[0],i=o[1],l,s;Array.isArray(n)?(l=n[0],s=n[1]):(l=n,s=n);var u=a?x6(a,l):"",d=i?x6(i,s):"",f=u&&d?"".concat(u," ~ ").concat(d):"";return f};function Fm(e){if(typeof e=="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:100,n=arguments.length>2?arguments[2]:void 0,r=c.useState(e),o=U(r,2),a=o[0],i=o[1],l=Qce(e);return c.useEffect(function(){var s=setTimeout(function(){i(l.current)},t);return function(){return clearTimeout(s)}},n?[t].concat(xe(n)):void 0),a}function Ki(e,t,n,r){if(e===t)return!0;if(e&&t&&Ke(e)==="object"&&Ke(t)==="object"){if(e.constructor!==t.constructor)return!1;var o,a,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(a=o;a--!==0;)if(!Ki(e[a],t[a],n,r))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;var l=Pp(e.entries()),s;try{for(l.s();!(s=l.n()).done;)if(a=s.value,!t.has(a[0]))return!1}catch(m){l.e(m)}finally{l.f()}var u=Pp(e.entries()),d;try{for(u.s();!(d=u.n()).done;)if(a=d.value,!Ki(a[1],t.get(a[0]),n,r))return!1}catch(m){u.e(m)}finally{u.f()}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;var f=Pp(e.entries()),v;try{for(f.s();!(v=f.n()).done;)if(a=v.value,!t.has(a[0]))return!1}catch(m){f.e(m)}finally{f.f()}return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(a=o;a--!==0;)if(e[a]!==t[a])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&e.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&e.toString)return e.toString()===t.toString();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=o;a--!==0;){var p=i[a];if(!(n!=null&&n.includes(p))&&!(p==="_owner"&&e.$$typeof)&&!Ki(e[p],t[p],n,r))return!1}return!0}return e!==e&&t!==t}var Jce=function(t,n,r){return Ki(t,n,r)};function eue(e,t){var n=c.useRef();return Jce(e,n.current,t)||(n.current=e),n.current}function tue(e,t,n){c.useEffect(e,eue(t||[],n))}var nue=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,zS=function(){return typeof process<"u",typeof window<"u"&&typeof window.document<"u"&&typeof window.matchMedia<"u"&&!nue};function rue(e,t){var n=typeof e.pageName=="string"?e.title:t;c.useEffect(function(){zS()&&n&&(document.title=n)},[e.title,n])}var k1=0;function oue(e){var t=c.useRef(null),n=c.useState(function(){return e.proFieldKey?e.proFieldKey.toString():(k1+=1,k1.toString())}),r=U(n,1),o=r[0],a=c.useRef(o),i=function(){var d=ir(Lt().mark(function f(){var v,p,m,y;return Lt().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return(v=t.current)===null||v===void 0||v.abort(),m=new AbortController,t.current=m,g.next=5,Promise.race([(p=e.request)===null||p===void 0?void 0:p.call(e,e.params,e),new Promise(function(b,C){var x,S;(x=t.current)===null||x===void 0||(S=x.signal)===null||S===void 0||S.addEventListener("abort",function(){C(new Error("aborted"))})})]);case 5:return y=g.sent,g.abrupt("return",y);case 7:case"end":return g.stop()}},f)}));return function(){return d.apply(this,arguments)}}();c.useEffect(function(){return function(){k1+=1}},[]);var l=LS([a.current,e.params],i,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),s=l.data,u=l.error;return[s||u]}var E9=function(t){var n=c.useRef();return c.useEffect(function(){n.current=t}),n.current},aue=function(t){var n=!1;return(typeof t=="string"&&t.startsWith("date")&&!t.endsWith("Range")||t==="select"||t==="time")&&(n=!0),n};function iue(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}var HS=function(t){if(!t||!t.startsWith("http"))return!1;try{var n=new URL(t);return!!n}catch{return!1}},P9=function(){for(var t={},n=arguments.length,r=new Array(n),o=0;o0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window>"u"||!window.crypto)return(S6+=1).toFixed(0);for(var n="",r=crypto.getRandomValues(new Uint8Array(t));t--;){var o=63&r[t];n+=o<36?o.toString(36):o<62?(o-26).toString(36).toUpperCase():o<63?"_":"-"}return n},O9=function(){return typeof window>"u"?w6():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():w6()};Rt.extend(BN);var $6=function(t){return!!(t!=null&&t._isAMomentObject)},Wf=function e(t,n){return Xl(t)||Rt.isDayjs(t)||$6(t)?$6(t)?Rt(t):t:Array.isArray(t)?t.map(function(r){return e(r,n)}):typeof t=="number"?Rt(t):Rt(t,n)},lue=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter"];function sue(e){var t={};return lue.forEach(function(n){e[n]!==void 0&&(t[n]=e[n])}),t}var cue="valueType request plain renderFormItem render text formItemProps valueEnum",uue="fieldProps isDefaultDom groupProps contentRender submitterProps submitter";function M9(e){var t="".concat(cue," ").concat(uue).split(/[\s\n]+/),n={};return Object.keys(e||{}).forEach(function(r){t.includes(r)||(n[r]=e[r])}),n}function due(e){return Ke(e)!=="object"?!1:e===null?!0:!(Z.isValidElement(e)||e.constructor===RegExp||e instanceof Map||e instanceof Set||e instanceof HTMLElement||e instanceof Blob||e instanceof File||Array.isArray(e))}var fue=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Object.keys(n).reduce(function(l,s){var u=n[s];return Xl(u)||(l[s]=u),l},{});if(Object.keys(o).length<1||typeof window>"u"||Ke(t)!=="object"||Xl(t)||t instanceof Blob)return t;var a=Array.isArray(t)?[]:{},i=function l(s,u){var d=Array.isArray(s),f=d?[]:{};return s==null||s===void 0?f:(Object.keys(s).forEach(function(v){var p=u?[u,v].flat(1):[v].flat(1),m=s[v],y=Mr(o,p),h=function C(x){return Array.isArray(x)&&x.forEach(function(S,w){S&&(typeof S=="function"&&(m[w]=S(m,v,s)),Ke(S)==="object"&&!Array.isArray(S)&&Object.keys(S).forEach(function($){if(typeof S[$]=="function"){var O=S[$](s[v][w][$],v,s);m[w][$]=Ke(O)==="object"?O[$]:O}}),Ke(S)==="object"&&Array.isArray(S)&&C(S))}),v},g=function(){var x=typeof y=="function"?y==null?void 0:y(m,v,s):h(y);if(Array.isArray(x)){f=pr(f,x,m);return}Ke(x)==="object"&&!Array.isArray(a)?a=E(E({},a),x):Ke(x)==="object"&&Array.isArray(a)?f=E(E({},f),x):x&&(f=pr(f,[x],m))};if(y&&typeof y=="function"&&g(),!(typeof window>"u")){if(due(m)){var b=l(m,p);if(Object.keys(b).length<1)return;f=pr(f,[v],b);return}g()}}),r?f:s)};return a=Array.isArray(t)&&Array.isArray(a)?xe(i(t)):P9({},i(t),a),a};function ui(e,t){for(var n=Object.assign({},e),r=0;r"u"||!window.URL)return{};var d=[];i.forEach(function(v,p){d.push({key:p,value:v})}),d=d.reduce(function(v,p){return(v[p.key]=v[p.key]||[]).push(p),v},{}),d=Object.keys(d).map(function(v){var p=d[v];return p.length===1?[v,p[0].value]:[v,p.map(function(m){var y=m.value;return y})]});var f=yd({},e);return d.forEach(function(v){var p=v[0],m=v[1];f[p]=hue(p,m,{},e)}),f},[t.disabled,e,i]);function s(d){if(!(typeof window>"u"||!window.URL)){var f=vue(d);window.location.search!==f.search&&window.history.replaceState({},"",f.toString()),i.toString()!==f.searchParams.toString()&&o({})}}c.useEffect(function(){t.disabled||typeof window>"u"||!window.URL||s(yd(yd({},e),l))},[t.disabled,l]);var u=function(d){s(d)};return c.useEffect(function(){if(t.disabled)return function(){};if(typeof window>"u"||!window.URL)return function(){};var d=function(){o({})};return window.addEventListener("popstate",d),function(){window.removeEventListener("popstate",d)}},[t.disabled]),[l,u]}var mue={true:!0,false:!1};function hue(e,t,n,r){if(!n)return t;var o=n[e],a=t===void 0?r[e]:t;return o===Number?Number(a):o===Boolean||t==="true"||t==="false"?mue[a]:Array.isArray(o)?o.find(function(i){return i==a})||r[e]:a}function Dm(){return Dm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function BS(e,t){if(e==null)return{};var n=gue(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xr(e){"@babel/helpers - typeof";return xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xr(e)}function ma(){ma=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(k,F,D){k[F]=D.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(k,F,D){return Object.defineProperty(k,F,{value:D,enumerable:!0,configurable:!0,writable:!0}),k[F]}try{u({},"")}catch{u=function(D,j,H){return D[j]=H}}function d(k,F,D,j){var H=F&&F.prototype instanceof g?F:g,z=Object.create(H.prototype),B=new I(j||[]);return o(z,"_invoke",{value:R(k,D,B)}),z}function f(k,F,D){try{return{type:"normal",arg:k.call(F,D)}}catch(j){return{type:"throw",arg:j}}}t.wrap=d;var v="suspendedStart",p="suspendedYield",m="executing",y="completed",h={};function g(){}function b(){}function C(){}var x={};u(x,i,function(){return this});var S=Object.getPrototypeOf,w=S&&S(S(_([])));w&&w!==n&&r.call(w,i)&&(x=w);var $=C.prototype=g.prototype=Object.create(x);function O(k){["next","throw","return"].forEach(function(F){u(k,F,function(D){return this._invoke(F,D)})})}function P(k,F){function D(H,z,B,V){var K=f(k[H],k,z);if(K.type!=="throw"){var W=K.arg,Y=W.value;return Y&&xr(Y)=="object"&&r.call(Y,"__await")?F.resolve(Y.__await).then(function(X){D("next",X,B,V)},function(X){D("throw",X,B,V)}):F.resolve(Y).then(function(X){W.value=X,B(W)},function(X){return D("throw",X,B,V)})}V(K.arg)}var j;o(this,"_invoke",{value:function(z,B){function V(){return new F(function(K,W){D(z,B,K,W)})}return j=j?j.then(V,V):V()}})}function R(k,F,D){var j=v;return function(H,z){if(j===m)throw new Error("Generator is already running");if(j===y){if(H==="throw")throw z;return{value:e,done:!0}}for(D.method=H,D.arg=z;;){var B=D.delegate;if(B){var V=T(B,D);if(V){if(V===h)continue;return V}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(j===v)throw j=y,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);j=m;var K=f(k,F,D);if(K.type==="normal"){if(j=D.done?y:p,K.arg===h)continue;return{value:K.arg,done:D.done}}K.type==="throw"&&(j=y,D.method="throw",D.arg=K.arg)}}}function T(k,F){var D=F.method,j=k.iterator[D];if(j===e)return F.delegate=null,D==="throw"&&k.iterator.return&&(F.method="return",F.arg=e,T(k,F),F.method==="throw")||D!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+D+"' method")),h;var H=f(j,k.iterator,F.arg);if(H.type==="throw")return F.method="throw",F.arg=H.arg,F.delegate=null,h;var z=H.arg;return z?z.done?(F[k.resultName]=z.value,F.next=k.nextLoc,F.method!=="return"&&(F.method="next",F.arg=e),F.delegate=null,h):z:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,h)}function N(k){var F={tryLoc:k[0]};1 in k&&(F.catchLoc=k[1]),2 in k&&(F.finallyLoc=k[2],F.afterLoc=k[3]),this.tryEntries.push(F)}function M(k){var F=k.completion||{};F.type="normal",delete F.arg,k.completion=F}function I(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(N,this),this.reset(!0)}function _(k){if(k||k===""){var F=k[i];if(F)return F.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var D=-1,j=function H(){for(;++D=0;--H){var z=this.tryEntries[H],B=z.completion;if(z.tryLoc==="root")return j("end");if(z.tryLoc<=this.prev){var V=r.call(z,"catchLoc"),K=r.call(z,"finallyLoc");if(V&&K){if(this.prev=0;--j){var H=this.tryEntries[j];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev=0;--D){var j=this.tryEntries[D];if(j.finallyLoc===F)return this.complete(j.completion,j.afterLoc),M(j),h}},catch:function(F){for(var D=this.tryEntries.length-1;D>=0;--D){var j=this.tryEntries[D];if(j.tryLoc===F){var H=j.completion;if(H.type==="throw"){var z=H.arg;M(j)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(F,D,j){return this.delegate={iterator:_(F),resultName:D,nextLoc:j},this.method==="next"&&(this.arg=e),h}},t}function E6(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,o)}function Kf(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(s){E6(a,r,o,i,l,"next",s)}function l(s){E6(a,r,o,i,l,"throw",s)}i(void 0)})}}function yue(e,t){if(xr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(xr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function R9(e){var t=yue(e,"string");return xr(t)=="symbol"?t:String(t)}function je(e,t,n){return t=R9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wue(e,t){if(t&&(xr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return on(e)}function $ue(e){var t=Sue();return function(){var r=Lm(e),o;if(t){var a=Lm(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return wue(this,o)}}var N9={exports:{}},vn={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var US=Symbol.for("react.element"),YS=Symbol.for("react.portal"),Mg=Symbol.for("react.fragment"),Rg=Symbol.for("react.strict_mode"),Ig=Symbol.for("react.profiler"),Ng=Symbol.for("react.provider"),Tg=Symbol.for("react.context"),Eue=Symbol.for("react.server_context"),_g=Symbol.for("react.forward_ref"),kg=Symbol.for("react.suspense"),Fg=Symbol.for("react.suspense_list"),Dg=Symbol.for("react.memo"),Lg=Symbol.for("react.lazy"),Pue=Symbol.for("react.offscreen"),T9;T9=Symbol.for("react.module.reference");function Wo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case US:switch(e=e.type,e){case Mg:case Ig:case Rg:case kg:case Fg:return e;default:switch(e=e&&e.$$typeof,e){case Eue:case Tg:case _g:case Lg:case Dg:case Ng:return e;default:return t}}case YS:return t}}}vn.ContextConsumer=Tg;vn.ContextProvider=Ng;vn.Element=US;vn.ForwardRef=_g;vn.Fragment=Mg;vn.Lazy=Lg;vn.Memo=Dg;vn.Portal=YS;vn.Profiler=Ig;vn.StrictMode=Rg;vn.Suspense=kg;vn.SuspenseList=Fg;vn.isAsyncMode=function(){return!1};vn.isConcurrentMode=function(){return!1};vn.isContextConsumer=function(e){return Wo(e)===Tg};vn.isContextProvider=function(e){return Wo(e)===Ng};vn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===US};vn.isForwardRef=function(e){return Wo(e)===_g};vn.isFragment=function(e){return Wo(e)===Mg};vn.isLazy=function(e){return Wo(e)===Lg};vn.isMemo=function(e){return Wo(e)===Dg};vn.isPortal=function(e){return Wo(e)===YS};vn.isProfiler=function(e){return Wo(e)===Ig};vn.isStrictMode=function(e){return Wo(e)===Rg};vn.isSuspense=function(e){return Wo(e)===kg};vn.isSuspenseList=function(e){return Wo(e)===Fg};vn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Mg||e===Ig||e===Rg||e===kg||e===Fg||e===Pue||typeof e=="object"&&e!==null&&(e.$$typeof===Lg||e.$$typeof===Dg||e.$$typeof===Ng||e.$$typeof===Tg||e.$$typeof===_g||e.$$typeof===T9||e.getModuleId!==void 0)};vn.typeOf=Wo;N9.exports=vn;var Oue=N9.exports;function fC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Z.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(fC(r)):Oue.isFragment(r)&&r.props?n=n.concat(fC(r.props.children,t)):n.push(r))}),n}var vC={},Mue=function(t){};function Rue(e,t){}function Iue(e,t){}function Nue(){vC={}}function _9(e,t,n){!t&&!vC[n]&&(e(!1,n),vC[n]=!0)}function Ao(e,t){_9(Rue,e,t)}function Tue(e,t){_9(Iue,e,t)}Ao.preMessage=Mue;Ao.resetWarned=Nue;Ao.noteOnce=Tue;function _ue(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(Ao(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(n&&l>1)return!1;r.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var d=0;d"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Op(e,t,n){return Due()?Op=Reflect.construct.bind():Op=function(o,a,i){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(o,l),u=new s;return i&&of(u,i.prototype),u},Op.apply(null,arguments)}function Lue(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function hC(e){var t=typeof Map=="function"?new Map:void 0;return hC=function(r){if(r===null||!Lue(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Op(r,arguments,mC(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),of(o,r)},hC(e)}var Aue=/%[sdj%]/g,jue=function(){};function gC(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function co(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function zue(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function tr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||zue(t)&&typeof e=="string"&&!e)}function Hue(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,l||[]),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function M6(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Xu={integer:function(t){return Xu.number(t)&&parseInt(t,10)===t},float:function(t){return Xu.number(t)&&!Xu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Xu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(T6.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Yue())},hex:function(t){return typeof t=="string"&&!!t.match(T6.hex)}},Gue=function(t,n,r,o,a){if(t.required&&n===void 0){k9(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?Xu[l](n)||o.push(co(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(co(a.messages.types[l],t.fullField,t.type))},Xue=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,v=typeof n=="number",p=typeof n=="string",m=Array.isArray(n);if(v?f="number":p?f="string":m&&(f="array"),!f)return!1;m&&(d=n.length),p&&(d=n.replace(u,"_").length),i?d!==t.len&&o.push(co(a.messages[f].len,t.fullField,t.len)):l&&!s&&dt.max?o.push(co(a.messages[f].max,t.fullField,t.max)):l&&s&&(dt.max)&&o.push(co(a.messages[f].range,t.fullField,t.min,t.max))},Ms="enum",que=function(t,n,r,o,a){t[Ms]=Array.isArray(t[Ms])?t[Ms]:[],t[Ms].indexOf(n)===-1&&o.push(co(a.messages[Ms],t.fullField,t[Ms].join(", ")))},Que=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(co(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(co(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Ht={required:k9,whitespace:Uue,type:Gue,range:Xue,enum:que,pattern:Que},Zue=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n,"string")&&!t.required)return r();Ht.required(t,n,o,i,a,"string"),tr(n,"string")||(Ht.type(t,n,o,i,a),Ht.range(t,n,o,i,a),Ht.pattern(t,n,o,i,a),t.whitespace===!0&&Ht.whitespace(t,n,o,i,a))}r(i)},Jue=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&Ht.type(t,n,o,i,a)}r(i)},ede=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&(Ht.type(t,n,o,i,a),Ht.range(t,n,o,i,a))}r(i)},tde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&Ht.type(t,n,o,i,a)}r(i)},nde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),tr(n)||Ht.type(t,n,o,i,a)}r(i)},rde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&(Ht.type(t,n,o,i,a),Ht.range(t,n,o,i,a))}r(i)},ode=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&(Ht.type(t,n,o,i,a),Ht.range(t,n,o,i,a))}r(i)},ade=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();Ht.required(t,n,o,i,a,"array"),n!=null&&(Ht.type(t,n,o,i,a),Ht.range(t,n,o,i,a))}r(i)},ide=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&Ht.type(t,n,o,i,a)}r(i)},lde="enum",sde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a),n!==void 0&&Ht[lde](t,n,o,i,a)}r(i)},cde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n,"string")&&!t.required)return r();Ht.required(t,n,o,i,a),tr(n,"string")||Ht.pattern(t,n,o,i,a)}r(i)},ude=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n,"date")&&!t.required)return r();if(Ht.required(t,n,o,i,a),!tr(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),Ht.type(t,s,o,i,a),s&&Ht.range(t,s.getTime(),o,i,a)}}r(i)},dde=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":typeof n;Ht.required(t,n,o,i,a,l),r(i)},F1=function(t,n,r,o,a){var i=t.type,l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(tr(n,i)&&!t.required)return r();Ht.required(t,n,o,l,a,i),tr(n,i)||Ht.type(t,n,o,l,a)}r(l)},fde=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(tr(n)&&!t.required)return r();Ht.required(t,n,o,i,a)}r(i)},bd={string:Zue,method:Jue,number:ede,boolean:tde,regexp:nde,integer:rde,float:ode,array:ade,object:ide,enum:sde,pattern:cde,date:ude,url:F1,hex:F1,email:F1,required:dde,any:fde};function yC(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var bC=yC(),Uf=function(){function e(n){this.rules=null,this._messages=bC,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var i=r[a];o.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=N6(yC(),r)),this._messages},t.validate=function(r,o,a){var i=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var l=r,s=o,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(y){var h=[],g={};function b(x){if(Array.isArray(x)){var S;h=(S=h).concat.apply(S,x)}else h.push(x)}for(var C=0;C3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Pa(e,t.slice(0,-1))?e:A9(e,t,n,r)}function pde(e){return xr(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function _6(e){return Array.isArray(e)?[]:{}}var mde=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function qu(){for(var e=arguments.length,t=new Array(e),n=0;n2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return j9(t,r,n)})}function j9(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,o){return e[o]===r})}function Cde(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||xr(e)!=="object"||xr(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return qt(o).every(function(a){var i=e[a],l=t[a];return typeof i=="function"&&typeof l=="function"?!0:i===l})}function xde(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&xr(t.target)==="object"&&e in t.target?t.target[e]:t}function L6(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(qt(e.slice(0,n)),[o],qt(e.slice(n,t)),qt(e.slice(t+1,r))):a<0?[].concat(qt(e.slice(0,t)),qt(e.slice(t+1,n+1)),[o],qt(e.slice(n+1,r))):e}var Sde=["name"],Mo=[];function A6(e,t,n,r,o,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==o}var GS=function(e){xue(n,e);var t=$ue(n);function n(r){var o;if(WS(this,n),o=t.call(this,r),je(on(o),"state",{resetCount:0}),je(on(o),"cancelRegisterFunc",null),je(on(o),"mounted",!1),je(on(o),"touched",!1),je(on(o),"dirty",!1),je(on(o),"validatePromise",void 0),je(on(o),"prevValidating",void 0),je(on(o),"errors",Mo),je(on(o),"warnings",Mo),je(on(o),"cancelRegister",function(){var s=o.props,u=s.preserve,d=s.isListField,f=s.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(d,u,zn(f)),o.cancelRegisterFunc=null}),je(on(o),"getNamePath",function(){var s=o.props,u=s.name,d=s.fieldContext,f=d.prefixName,v=f===void 0?[]:f;return u!==void 0?[].concat(qt(v),qt(u)):[]}),je(on(o),"getRules",function(){var s=o.props,u=s.rules,d=u===void 0?[]:u,f=s.fieldContext;return d.map(function(v){return typeof v=="function"?v(f):v})}),je(on(o),"refresh",function(){o.mounted&&o.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),je(on(o),"metaCache",null),je(on(o),"triggerMetaEvent",function(s){var u=o.props.onMetaChange;if(u){var d=Qt(Qt({},o.getMeta()),{},{destroy:s});_ue(o.metaCache,d)||u(d),o.metaCache=d}else o.metaCache=null}),je(on(o),"onStoreChange",function(s,u,d){var f=o.props,v=f.shouldUpdate,p=f.dependencies,m=p===void 0?[]:p,y=f.onReset,h=d.store,g=o.getNamePath(),b=o.getValue(s),C=o.getValue(h),x=u&&pc(u,g);switch(d.type==="valueUpdate"&&d.source==="external"&&b!==C&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=Mo,o.warnings=Mo,o.triggerMetaEvent()),d.type){case"reset":if(!u||x){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=Mo,o.warnings=Mo,o.triggerMetaEvent(),y==null||y(),o.refresh();return}break;case"remove":{if(v){o.reRender();return}break}case"setField":{var S=d.data;if(x){"touched"in S&&(o.touched=S.touched),"validating"in S&&!("originRCField"in S)&&(o.validatePromise=S.validating?Promise.resolve([]):null),"errors"in S&&(o.errors=S.errors||Mo),"warnings"in S&&(o.warnings=S.warnings||Mo),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in S&&pc(u,g,!0)){o.reRender();return}if(v&&!g.length&&A6(v,s,h,b,C,d)){o.reRender();return}break}case"dependenciesUpdate":{var w=m.map(zn);if(w.some(function($){return pc(d.relatedFields,$)})){o.reRender();return}break}default:if(x||(!m.length||g.length||v)&&A6(v,s,h,b,C,d)){o.reRender();return}break}v===!0&&o.reRender()}),je(on(o),"validateRules",function(s){var u=o.getNamePath(),d=o.getValue(),f=s||{},v=f.triggerName,p=f.validateOnly,m=p===void 0?!1:p,y=Promise.resolve().then(Kf(ma().mark(function h(){var g,b,C,x,S,w,$;return ma().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(o.mounted){P.next=2;break}return P.abrupt("return",[]);case 2:if(g=o.props,b=g.validateFirst,C=b===void 0?!1:b,x=g.messageVariables,S=g.validateDebounce,w=o.getRules(),v&&(w=w.filter(function(R){return R}).filter(function(R){var T=R.validateTrigger;if(!T)return!0;var N=pC(T);return N.includes(v)})),!(S&&v)){P.next=10;break}return P.next=8,new Promise(function(R){setTimeout(R,S)});case 8:if(o.validatePromise===y){P.next=10;break}return P.abrupt("return",[]);case 10:return $=gde(u,d,w,s,C,x),$.catch(function(R){return R}).then(function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mo;if(o.validatePromise===y){var T;o.validatePromise=null;var N=[],M=[];(T=R.forEach)===null||T===void 0||T.call(R,function(I){var _=I.rule.warningOnly,k=I.errors,F=k===void 0?Mo:k;_?M.push.apply(M,qt(F)):N.push.apply(N,qt(F))}),o.errors=N,o.warnings=M,o.triggerMetaEvent(),o.reRender()}}),P.abrupt("return",$);case 13:case"end":return P.stop()}},h)})));return m||(o.validatePromise=y,o.dirty=!0,o.errors=Mo,o.warnings=Mo,o.triggerMetaEvent(),o.reRender()),y}),je(on(o),"isFieldValidating",function(){return!!o.validatePromise}),je(on(o),"isFieldTouched",function(){return o.touched}),je(on(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,u=s.getInternalHooks(El),d=u.getInitialValue;return d(o.getNamePath())!==void 0}),je(on(o),"getErrors",function(){return o.errors}),je(on(o),"getWarnings",function(){return o.warnings}),je(on(o),"isListField",function(){return o.props.isListField}),je(on(o),"isList",function(){return o.props.isList}),je(on(o),"isPreserve",function(){return o.props.preserve}),je(on(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var s={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return s}),je(on(o),"getOnlyChild",function(s){if(typeof s=="function"){var u=o.getMeta();return Qt(Qt({},o.getOnlyChild(s(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=fC(s);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),je(on(o),"getValue",function(s){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Pa(s||u(!0),d)}),je(on(o),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,v=u.getValueFromEvent,p=u.normalize,m=u.valuePropName,y=u.getValueProps,h=u.fieldContext,g=f!==void 0?f:h.validateTrigger,b=o.getNamePath(),C=h.getInternalHooks,x=h.getFieldsValue,S=C(El),w=S.dispatch,$=o.getValue(),O=y||function(N){return je({},m,N)},P=s[d],R=Qt(Qt({},s),O($));R[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var N,M=arguments.length,I=new Array(M),_=0;_=0&&R<=T.length?(d.keys=[].concat(qt(d.keys.slice(0,R)),[d.id],qt(d.keys.slice(R))),C([].concat(qt(T.slice(0,R)),[P],qt(T.slice(R))))):(d.keys=[].concat(qt(d.keys),[d.id]),C([].concat(qt(T),[P]))),d.id+=1},remove:function(P){var R=S(),T=new Set(Array.isArray(P)?P:[P]);T.size<=0||(d.keys=d.keys.filter(function(N,M){return!T.has(M)}),C(R.filter(function(N,M){return!T.has(M)})))},move:function(P,R){if(P!==R){var T=S();P<0||P>=T.length||R<0||R>=T.length||(d.keys=L6(d.keys,P,R),C(L6(T,P,R)))}}},$=b||[];return Array.isArray($)||($=[]),r($.map(function(O,P){var R=d.keys[P];return R===void 0&&(d.keys[P]=d.id,R=d.keys[P],d.id+=1),{name:P,key:R,isListField:!0}}),w,h)})))}function $de(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function af(e,t){return D9(e)||$de(e,t)||VS(e,t)||L9()}function Ede(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var H9="__@field_split__";function D1(e){return e.map(function(t){return"".concat(xr(t),":").concat(t)}).join(H9)}var Rs=function(){function e(){WS(this,e),je(this,"kvs",new Map)}return KS(e,[{key:"set",value:function(n,r){this.kvs.set(D1(n),r)}},{key:"get",value:function(n){return this.kvs.get(D1(n))}},{key:"update",value:function(n,r){var o=this.get(n),a=r(o);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(D1(n))}},{key:"map",value:function(n){return qt(this.kvs.entries()).map(function(r){var o=af(r,2),a=o[0],i=o[1],l=a.split(H9);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),d=af(u,3),f=d[1],v=d[2];return f==="number"?Number(v):v}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,a=r.value;return n[o.join(".")]=a,null}),n}}]),e}(),Pde=["name"],Ode=KS(function e(t){var n=this;WS(this,e),je(this,"formHooked",!1),je(this,"forceRootUpdate",void 0),je(this,"subscribable",!0),je(this,"store",{}),je(this,"fieldEntities",[]),je(this,"initialValues",{}),je(this,"callbacks",{}),je(this,"validateMessages",null),je(this,"preserve",null),je(this,"lastValidatePromise",null),je(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),je(this,"getInternalHooks",function(r){return r===El?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Ao(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),je(this,"useSubscribe",function(r){n.subscribable=r}),je(this,"prevWithoutPreserves",null),je(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var a,i=qu(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=oa(i,s,Pa(r,s))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),je(this,"destroyForm",function(){var r=new Rs;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r}),je(this,"getInitialValue",function(r){var o=Pa(n.initialValues,r);return r.length?qu(o):o}),je(this,"setCallbacks",function(r){n.callbacks=r}),je(this,"setValidateMessages",function(r){n.validateMessages=r}),je(this,"setPreserve",function(r){n.preserve=r}),je(this,"watchList",[]),je(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),je(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}}),je(this,"timeoutId",null),je(this,"warningUnhooked",function(){}),je(this,"updateStore",function(r){n.store=r}),je(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities}),je(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new Rs;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o}),je(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=zn(a);return o.get(i)||{INVALIDATE_NAME_PATH:zn(a)}})}),je(this,"getFieldsValue",function(r,o){n.warningUnhooked();var a,i,l;if(r===!0||Array.isArray(r)?(a=r,i=o):r&&xr(r)==="object"&&(l=r.strict,i=r.filter),a===!0&&!i)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),u=[];return s.forEach(function(d){var f,v,p="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var m,y;if((m=(y=d).isList)!==null&&m!==void 0&&m.call(y))return}else if(!a&&(f=(v=d).isListField)!==null&&f!==void 0&&f.call(v))return;if(!i)u.push(p);else{var h="getMeta"in d?d.getMeta():null;i(h)&&u.push(p)}}),D6(n.store,u.map(zn))}),je(this,"getFieldValue",function(r){n.warningUnhooked();var o=zn(r);return Pa(n.store,o)}),je(this,"getFieldsError",function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:zn(r[i]),errors:[],warnings:[]}})}),je(this,"getFieldError",function(r){n.warningUnhooked();var o=zn(r),a=n.getFieldsError([o])[0];return a.errors}),je(this,"getFieldWarning",function(r){n.warningUnhooked();var o=zn(r),a=n.getFieldsError([o])[0];return a.warnings}),je(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=new Rs,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,d=s.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:s,value:u}),o.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var v=d.getNamePath(),p=n.getInitialValue(v);if(p!==void 0)Ao(!1,"Form already set 'initialValues' with path '".concat(v.join("."),"'. Field can not overwrite it."));else{var m=o.get(v);if(m&&m.size>1)Ao(!1,"Multiple Field with path '".concat(v.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var y=n.getFieldValue(v),h=d.isListField();!h&&(!r.skipExist||y===void 0)&&n.updateStore(oa(n.store,v,qt(m)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=o.get(s);if(u){var d;(d=l).push.apply(d,qt(qt(u).map(function(f){return f.entity})))}})):l=a,i(l)}),je(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(qu(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(zn);a.forEach(function(i){var l=n.getInitialValue(i);n.updateStore(oa(n.store,i,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)}),je(this,"setFields",function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var l=i.name,s=BS(i,Pde),u=zn(l);a.push(u),"value"in s&&n.updateStore(oa(n.store,u,s.value)),n.notifyObservers(o,[u],{type:"setField",data:i})}),n.notifyWatch(a)}),je(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=Qt(Qt({},l),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o}),je(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Pa(n.store,a);i===void 0&&n.updateStore(oa(n.store,a,o))}}),je(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),je(this,"registerField",function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!i||s.length>1)){var u=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!j9(f.getNamePath(),o)})){var d=n.store;n.updateStore(oa(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}}),je(this,"dispatch",function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,l=r.triggerName;n.validateFields([i],{triggerName:l});break}}}),je(this,"notifyObservers",function(r,o,a){if(n.subscribable){var i=Qt(Qt({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,o,i)})}else n.forceRootUpdate()}),je(this,"triggerDependenciesUpdate",function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(qt(a))}),a}),je(this,"updateValue",function(r,o){var a=zn(r),i=n.store;n.updateStore(oa(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(i,a),s=n.callbacks.onValuesChange;if(s){var u=D6(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(qt(l)))}),je(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var a=qu(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),je(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o}])}),je(this,"getDependencyChildrenFields",function(r){var o=new Set,a=[],i=new Rs;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(d){var f=zn(d);i.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(s),v})})});var l=function s(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(a.push(v),s(v))}})};return l(r),a}),je(this,"triggerOnFieldsChange",function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var l=new Rs;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),i.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=i.filter(function(u){var d=u.name;return pc(r,d)});s.length&&a(s,i)}}),je(this,"validateFields",function(r,o){n.warningUnhooked();var a,i;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(a=r,i=o):i=r;var l=!!a,s=l?a.map(zn):[],u=[],d=String(Date.now()),f=new Set,v=i||{},p=v.recursive,m=v.dirty;n.getFieldEntities(!0).forEach(function(b){if(l||s.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(m&&!b.isFieldDirty())){var C=b.getNamePath();if(f.add(C.join(d)),!l||pc(s,C,p)){var x=b.validateRules(Qt({validateMessages:Qt(Qt({},F9),n.validateMessages)},i));u.push(x.then(function(){return{name:C,errors:[],warnings:[]}}).catch(function(S){var w,$=[],O=[];return(w=S.forEach)===null||w===void 0||w.call(S,function(P){var R=P.rule.warningOnly,T=P.errors;R?O.push.apply(O,qt(T)):$.push.apply($,qt(T))}),$.length?Promise.reject({name:C,errors:$,warnings:O}):{name:C,errors:$,warnings:O}}))}}});var y=Ede(u);n.lastValidatePromise=y,y.catch(function(b){return b}).then(function(b){var C=b.map(function(x){var S=x.name;return S});n.notifyObservers(n.store,C,{type:"validateFinish"}),n.triggerOnFieldsChange(C,b)});var h=y.then(function(){return n.lastValidatePromise===y?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(b){var C=b.filter(function(x){return x&&x.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:C,outOfDate:n.lastValidatePromise!==y})});h.catch(function(b){return b});var g=s.filter(function(b){return f.has(b.join(d))});return n.triggerOnFieldsChange(g),h}),je(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch{}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function B9(e){var t=c.useRef(),n=c.useState({}),r=af(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new Ode(a);t.current=i.getForm()}return[t.current]}var $C=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Mde=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=c.useContext($C),l=c.useRef({});return c.createElement($C.Provider,{value:Qt(Qt({},i),{},{validateMessages:Qt(Qt({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=Qt(Qt({},l.current),{},je({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=Qt({},l.current);delete d[u],l.current=d,i.unregisterForm(u)}})},a)},Rde=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Ide=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,v=t.validateTrigger,p=v===void 0?"onChange":v,m=t.onValuesChange,y=t.onFieldsChange,h=t.onFinish,g=t.onFinishFailed,b=BS(t,Rde),C=c.useContext($C),x=B9(i),S=af(x,1),w=S[0],$=w.getInternalHooks(El),O=$.useSubscribe,P=$.setInitialValues,R=$.setCallbacks,T=$.setValidateMessages,N=$.setPreserve,M=$.destroyForm;c.useImperativeHandle(n,function(){return w}),c.useEffect(function(){return C.registerForm(r,w),function(){C.unregisterForm(r)}},[C,w,r]),T(Qt(Qt({},C.validateMessages),f)),R({onValuesChange:m,onFieldsChange:function(B){if(C.triggerFormChange(r,B),y){for(var V=arguments.length,K=new Array(V>1?V-1:0),W=1;W0&&arguments[0]!==void 0?arguments[0]:{},l=i.children,s=i.Wrapper,u=Oe(i,Fde);return n?L.jsx(k7,E(E(E({gutter:8},r),u),{},{children:l})):s?L.jsx(s,{children:l}):l},ColWrapper:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=i.children,s=i.Wrapper,u=Oe(i,Dde),d=c.useMemo(function(){var f=E(E({},o),u);return typeof f.span>"u"&&typeof f.xs>"u"&&(f.xs=24),f},[u]);return n?L.jsx(yS,E(E({},d),{},{children:l})):s?L.jsx(s,{children:l}):l}}},XS=function(t){var n=c.useMemo(function(){return Ke(t)==="object"?t:{grid:t}},[t]),r=c.useContext(V9),o=r.grid,a=r.colProps;return c.useMemo(function(){return Lde({grid:!!(o||n.grid),rowProps:n==null?void 0:n.rowProps,colProps:(n==null?void 0:n.colProps)||a,Wrapper:n==null?void 0:n.Wrapper})},[n==null?void 0:n.Wrapper,n.grid,o,JSON.stringify([a,n==null?void 0:n.colProps,n==null?void 0:n.rowProps])])},Ade=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],jde=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],H6={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},zde=["switch","radioButton","radio","rate"];function qS(e,t){e.displayName="ProFormComponent";var n=function(a){var i=E(E({},a==null?void 0:a.filedConfig),t)||{},l=i.valueType,s=i.customLightMode,u=i.lightFilterLabelFormatter,d=i.valuePropName,f=d===void 0?"value":d,v=i.ignoreWidth,p=i.defaultProps,m=Oe(i,Ade),y=E(E({},p),a),h=y.label,g=y.tooltip,b=y.placeholder,C=y.width,x=y.bordered,S=y.messageVariables,w=y.ignoreFormItem,$=y.transform,O=y.convertValue,P=y.readonly,R=y.allowClear;y.colSize;var T=y.getFormItemProps,N=y.getFieldProps;y.filedConfig;var M=y.cacheForSwr,I=y.proFieldProps,_=Oe(y,jde),k=l||_.valueType,F=c.useMemo(function(){return v||zde.includes(k)},[v,k]),D=c.useState(),j=U(D,2),H=j[1],z=c.useState(),B=U(z,2),V=B[0],K=B[1],W=Z.useContext(Ag),Y=c.useMemo(function(){return{formItemProps:T==null?void 0:T(),fieldProps:N==null?void 0:N()}},[N,T,_.dependenciesValues,V]),X=c.useMemo(function(){var ie=E(E(E(E({},w?io({value:_.value}):{}),{},{placeholder:b,disabled:a.disabled},W.fieldProps),Y.fieldProps),_.fieldProps);return ie.style=io(ie==null?void 0:ie.style),ie},[w,_.value,_.fieldProps,b,a.disabled,W.fieldProps,Y.fieldProps]),Q=sue(_),ae=c.useMemo(function(){return E(E(E(E({},W.formItemProps),Q),Y.formItemProps),_.formItemProps)},[Y.formItemProps,W.formItemProps,_.formItemProps,Q]),ee=c.useMemo(function(){return E(E({messageVariables:S},m),ae)},[m,ae,S]);zl(!_.defaultValue,"请不要在 Form 中使用 defaultXXX。如果需要默认值请使用 initialValues 和 initialValue。");var q=c.useContext(ql),re=q.prefixName,te=c.useMemo(function(){var ie,fe=ee==null?void 0:ee.name;Array.isArray(fe)&&(fe=fe.join("_")),Array.isArray(re)&&fe&&(fe="".concat(re.join("."),".").concat(fe));var me=fe&&"form-".concat((ie=W.formKey)!==null&&ie!==void 0?ie:"","-field-").concat(fe);return me},[z6(ee==null?void 0:ee.name),re,W.formKey]),J=E9(_),ne=c.useCallback(function(){var ie;T||N?K([]):_.renderFormItem&&H([]);for(var fe=arguments.length,me=new Array(fe),Ce=0;Ce0?ne.map(function(le,de){var pe=oe==null?void 0:oe[de],se=(pe==null?void 0:pe["data-item"])||{};return E(E({},se),le)}):[]},te=function J(ne){return ne.map(function(oe){var le,de=oe,pe=de.disabled,se=de.className,ve=de.optionType,he=oe[D],ce=oe[H],ie=(le=oe[B])!==null&&le!==void 0?le:[];return ve==="optGroup"||oe.options?L.jsx(Zde,{label:he,children:J(ie)},ce):c.createElement(Qde,E(E({},oe),{},{value:ce,key:ce||(he==null?void 0:he.toString()),disabled:pe,"data-item":oe,className:"".concat(ee,"-option ").concat(se||""),label:he}),(r==null?void 0:r(oe))||he)})};return L.jsx(ag,E(E({ref:X,className:q,allowClear:!0,autoClearSearchValue:u,disabled:S,mode:o,showSearch:N,searchValue:W,optionFilterProp:g,optionLabelProp:C,onClear:function(){R==null||R(),$(void 0),N&&Y(void 0)}},_),{},{onSearch:N?function(J){y&&$(J),a==null||a(J),Y(J)}:void 0,onChange:function(ne,oe){N&&u&&($(void 0),a==null||a(""),Y(void 0));for(var le=arguments.length,de=new Array(le>2?le-2:0),pe=2;pe-1&&e%1==0&&e-1&&e%1==0&&e<=cve}var JS=uve,dve=ss,fve=JS,vve=Fa,pve="[object Arguments]",mve="[object Array]",hve="[object Boolean]",gve="[object Date]",yve="[object Error]",bve="[object Function]",Cve="[object Map]",xve="[object Number]",Sve="[object Object]",wve="[object RegExp]",$ve="[object Set]",Eve="[object String]",Pve="[object WeakMap]",Ove="[object ArrayBuffer]",Mve="[object DataView]",Rve="[object Float32Array]",Ive="[object Float64Array]",Nve="[object Int8Array]",Tve="[object Int16Array]",_ve="[object Int32Array]",kve="[object Uint8Array]",Fve="[object Uint8ClampedArray]",Dve="[object Uint16Array]",Lve="[object Uint32Array]",En={};En[Rve]=En[Ive]=En[Nve]=En[Tve]=En[_ve]=En[kve]=En[Fve]=En[Dve]=En[Lve]=!0;En[pve]=En[mve]=En[Ove]=En[hve]=En[Mve]=En[gve]=En[yve]=En[bve]=En[Cve]=En[xve]=En[Sve]=En[wve]=En[$ve]=En[Eve]=En[Pve]=!1;function Ave(e){return vve(e)&&fve(e.length)&&!!En[dve(e)]}var jve=Ave;function zve(e){return function(t){return e(t)}}var ew=zve,zm={exports:{}};zm.exports;(function(e,t){var n=W9,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,i=a&&n.process,l=function(){try{var s=o&&o.require&&o.require("util").types;return s||i&&i.binding&&i.binding("util")}catch{}}();e.exports=l})(zm,zm.exports);var tw=zm.exports,Hve=jve,Bve=ew,G6=tw,X6=G6&&G6.isTypedArray,Vve=X6?Bve(X6):Hve,nw=Vve,Wve=Gfe,Kve=QS,Uve=Co,Yve=jg,Gve=ZS,Xve=nw,qve=Object.prototype,Qve=qve.hasOwnProperty;function Zve(e,t){var n=Uve(e),r=!n&&Kve(e),o=!n&&!r&&Yve(e),a=!n&&!r&&!o&&Xve(e),i=n||r||o||a,l=i?Wve(e.length,String):[],s=l.length;for(var u in e)(t||Qve.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Gve(u,s)))&&l.push(u);return l}var G9=Zve,Jve=Object.prototype;function epe(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Jve;return e===n}var rw=epe;function tpe(e,t){return function(n){return e(t(n))}}var X9=tpe,npe=X9,rpe=npe(Object.keys,Object),ope=rpe,ape=rw,ipe=ope,lpe=Object.prototype,spe=lpe.hasOwnProperty;function cpe(e){if(!ape(e))return ipe(e);var t=[];for(var n in Object(e))spe.call(e,n)&&n!="constructor"&&t.push(n);return t}var upe=cpe;function dpe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ko=dpe,fpe=ss,vpe=Ko,ppe="[object AsyncFunction]",mpe="[object Function]",hpe="[object GeneratorFunction]",gpe="[object Proxy]";function ype(e){if(!vpe(e))return!1;var t=fpe(e);return t==mpe||t==hpe||t==ppe||t==gpe}var ow=ype,bpe=ow,Cpe=JS;function xpe(e){return e!=null&&Cpe(e.length)&&!bpe(e)}var su=xpe,Spe=G9,wpe=upe,$pe=su;function Epe(e){return $pe(e)?Spe(e):wpe(e)}var qf=Epe,Ppe=U9,Ope=qf;function Mpe(e,t){return e&&Ppe(e,t,Ope)}var q9=Mpe;function Rpe(e){return e}var zg=Rpe,Ipe=zg;function Npe(e){return typeof e=="function"?e:Ipe}var Q9=Npe,Tpe=q9,_pe=Q9;function kpe(e,t){return e&&Tpe(e,_pe(t))}var aw=kpe,Fpe=X9,Dpe=Fpe(Object.getPrototypeOf,Object),iw=Dpe,Lpe=ss,Ape=iw,jpe=Fa,zpe="[object Object]",Hpe=Function.prototype,Bpe=Object.prototype,Z9=Hpe.toString,Vpe=Bpe.hasOwnProperty,Wpe=Z9.call(Object);function Kpe(e){if(!jpe(e)||Lpe(e)!=zpe)return!1;var t=Ape(e);if(t===null)return!0;var n=Vpe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Z9.call(n)==Wpe}var J9=Kpe;function Upe(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n-1}var sme=lme,cme=Hg;function ume(e,t){var n=this.__data__,r=cme(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var dme=ume,fme=Gpe,vme=nme,pme=ame,mme=sme,hme=dme;function cu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tl))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,v=!0,p=n&Mge?new $ge:void 0;for(a.set(e,t),a.set(t,e);++f0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,gbe.default)(t,function(r){Array.isArray(r)?e(r).map(function(o){return n.push(o)}):(0,mbe.default)(r)?(0,vbe.default)(r,function(o,a){o===!0&&n.push(a),n.push(a+"-"+o)}):(0,dbe.default)(r)&&n.push(r)}),n};Gf.default=ybe;var Zf={};function bbe(e,t){for(var n=-1,r=e==null?0:e.length;++n1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,_2e.default)(t.default)||{};return n.map(function(o){var a=t[o];return a&&(0,N2e.default)(a,function(i,l){r[l]||(r[l]={}),r[l]=k2e({},r[l],a[l])}),o}),r};Zf.default=F2e;var tv={};Object.defineProperty(tv,"__esModule",{value:!0});tv.autoprefix=void 0;var D2e=aw,RP=A2e(D2e),L2e=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){K2e(o,r);function o(){var a,i,l,s;W2e(this,o);for(var u=arguments.length,d=Array(u),f=0;f1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){Q2e(o,r);function o(){var a,i,l,s;q2e(this,o);for(var u=arguments.length,d=Array(u),f=0;f1&&arguments[1]!==void 0?arguments[1]:!0;r[i]=l};return t===0&&o("first-child"),t===n-1&&o("last-child"),(t===0||t%2===0)&&o("even"),Math.abs(t%2)===1&&o("odd"),o("nth-child",t),r};pw.default=J2e;Object.defineProperty(Fo,"__esModule",{value:!0});Fo.ReactCSS=Fo.loop=Fo.handleActive=Fo.handleHover=Fo.hover=void 0;var eSe=Gf,tSe=pu(eSe),nSe=Zf,rSe=pu(nSe),oSe=tv,aSe=pu(oSe),iSe=nv,I_=pu(iSe),lSe=rv,sSe=pu(lSe),cSe=pw,uSe=pu(cSe);function pu(e){return e&&e.__esModule?e:{default:e}}Fo.hover=I_.default;Fo.handleHover=I_.default;Fo.handleActive=sSe.default;Fo.loop=uSe.default;var dSe=Fo.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o0){if(++t>=nwe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var iwe=awe,lwe=twe,swe=iwe,cwe=swe(lwe),uwe=cwe,dwe=zg,fwe=XSe,vwe=uwe;function pwe(e,t){return vwe(fwe(e,t,dwe),e+"")}var mwe=pwe,hwe=Qf,gwe=su,ywe=ZS,bwe=Ko;function Cwe(e,t,n){if(!bwe(n))return!1;var r=typeof t;return(r=="number"?gwe(n)&&ywe(t,n.length):r=="string"&&t in n)?hwe(n[t],e):!1}var xwe=Cwe,Swe=mwe,wwe=xwe;function $we(e){return Swe(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,i&&wwe(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++rl?v=1:v=Math.round(f*100/l)/100,n.a!==v)return{h:n.h,s:n.s,l:n.l,a:v,source:"rgb"}}else{var p;if(d<0?p=0:d>i?p=1:p=Math.round(d*100/i)/100,o!==p)return{h:n.h,s:n.s,l:n.l,a:p,source:"rgb"}}return null},B1={},Twe=function(t,n,r,o){if(typeof document>"u"&&!o)return null;var a=o?new o:document.createElement("canvas");a.width=r*2,a.height=r*2;var i=a.getContext("2d");return i?(i.fillStyle=t,i.fillRect(0,0,a.width,a.height),i.fillStyle=n,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),a.toDataURL()):null},_we=function(t,n,r,o){var a="".concat(t,"-").concat(n,"-").concat(r).concat(o?"-server":"");if(B1[a])return B1[a];var i=Twe(t,n,r,o);return B1[a]=i,i};function lf(e){"@babel/helpers - typeof";return lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lf(e)}function AP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qv(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vm(e){return Vm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vm(e)}var Ywe=function(e){Bwe(n,e);var t=Vwe(n);function n(){var r;jwe(this,n);for(var o=arguments.length,a=new Array(o),i=0;ii)f=0;else{var v=-(d*100/i)+100;f=360*v/100}if(r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p;if(u<0)p=0;else if(u>a)p=359;else{var m=u*100/a;p=360*m/100}if(r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null};function Lc(e){"@babel/helpers - typeof";return Lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lc(e)}function Xwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HP(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wm(e){return Wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Wm(e)}var o$e=function(e){Jwe(n,e);var t=e$e(n);function n(){var r;Xwe(this,n);for(var o=arguments.length,a=new Array(o),i=0;i=t||$<0||f&&O>=a}function g(){var w=V1();if(h(w))return b(w);l=setTimeout(g,y(w))}function b(w){return l=void 0,v&&r?p(w):(r=o=void 0,i)}function C(){l!==void 0&&clearTimeout(l),u=0,r=s=o=l=void 0}function x(){return l===void 0?i:b(V1())}function S(){var w=V1(),$=h(w);if(r=arguments,o=this,s=w,$){if(l===void 0)return m(s);if(f)return clearTimeout(l),l=setTimeout(g,t),p(s)}return l===void 0&&(l=setTimeout(g,t)),i}return S.cancel=C,S.flush=x,S}var F_=O$e;const M$e=nr(F_);var R$e=F_,I$e=Ko,N$e="Expected a function";function T$e(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(N$e);return I$e(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),R$e(e,t,{leading:r,maxWait:t,trailing:o})}var _$e=T$e;const k$e=nr(_$e);var F$e=function(t,n,r){var o=r.getBoundingClientRect(),a=o.width,i=o.height,l=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,s=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,u=l-(r.getBoundingClientRect().left+window.pageXOffset),d=s-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>a&&(u=a),d<0?d=0:d>i&&(d=i);var f=u/a,v=1-d/i;return{h:n.h,s:f,v,a:n.a,source:"hsv"}};function Ac(e){"@babel/helpers - typeof";return Ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ac(e)}function D$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KP(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Km(e){return Km=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Km(e)}var K$e=function(e){z$e(n,e);var t=H$e(n);function n(r){var o;return D$e(this,n),o=t.call(this,r),o.handleChange=function(a){typeof o.props.onChange=="function"&&o.throttle(o.props.onChange,F$e(a,o.props.hsl,o.container),a)},o.handleMouseDown=function(a){o.handleChange(a);var i=o.getContainerRenderWindow();i.addEventListener("mousemove",o.handleChange),i.addEventListener("mouseup",o.handleMouseUp)},o.handleMouseUp=function(){o.unbindEventListeners()},o.throttle=k$e(function(a,i,l){a(i,l)},50),o}return L$e(n,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var o=this.container,a=window;!a.document.contains(o)&&a.parent!==a;)a=a.parent;return a}},{key:"unbindEventListeners",value:function(){var o=this.getContainerRenderWindow();o.removeEventListener("mousemove",this.handleChange),o.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var o=this,a=this.props.style||{},i=a.color,l=a.white,s=a.black,u=a.pointer,d=a.circle,f=il({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl(".concat(this.props.hsl.h,",100%, 50%)"),borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:"".concat(-(this.props.hsv.v*100)+100,"%"),left:"".concat(this.props.hsv.s*100,"%"),cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), + 0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:i,white:l,black:s,pointer:u,circle:d}},{custom:!!this.props.style});return Z.createElement("div",{style:f.color,ref:function(p){return o.container=p},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Z.createElement("style",null,` + .saturation-white { + background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0)); + background: linear-gradient(to right, #fff, rgba(255,255,255,0)); + } + .saturation-black { + background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0)); + background: linear-gradient(to top, #000, rgba(0,0,0,0)); + } + `),Z.createElement("div",{style:f.white,className:"saturation-white"},Z.createElement("div",{style:f.black,className:"saturation-black"}),Z.createElement("div",{style:f.pointer},this.props.pointer?Z.createElement(this.props.pointer,this.props):Z.createElement("div",{style:f.circle}))))}}]),n}(c.PureComponent||c.Component),U$e=y_,Y$e=g_,G$e=Q9,X$e=Co;function q$e(e,t){var n=X$e(e)?U$e:Y$e;return n(e,G$e(t))}var Q$e=q$e,Z$e=Q$e;const J$e=nr(Z$e);function Um(e){"@babel/helpers - typeof";return Um=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Um(e)}var e4e=/^\s+/,t4e=/\s+$/;function vt(e,t){if(e=e||"",t=t||{},e instanceof vt)return e;if(!(this instanceof vt))return new vt(e,t);var n=n4e(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}vt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,o,a,i,l;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),r<=.03928?i=r/12.92:i=Math.pow((r+.055)/1.055,2.4),o<=.03928?l=o/12.92:l=Math.pow((o+.055)/1.055,2.4),.2126*a+.7152*i+.0722*l},setAlpha:function(t){return this._a=D_(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=YP(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=YP(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=UP(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=UP(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return GP(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return i4e(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Mn(this._r,255)*100)+"%",g:Math.round(Mn(this._g,255)*100)+"%",b:Math.round(Mn(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Mn(this._r,255)*100)+"%, "+Math.round(Mn(this._g,255)*100)+"%, "+Math.round(Mn(this._b,255)*100)+"%)":"rgba("+Math.round(Mn(this._r,255)*100)+"%, "+Math.round(Mn(this._g,255)*100)+"%, "+Math.round(Mn(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:y4e[GP(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+XP(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var a=vt(t);r="#"+XP(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,a=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return a?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return vt(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(u4e,arguments)},brighten:function(){return this._applyModification(d4e,arguments)},darken:function(){return this._applyModification(f4e,arguments)},desaturate:function(){return this._applyModification(l4e,arguments)},saturate:function(){return this._applyModification(s4e,arguments)},greyscale:function(){return this._applyModification(c4e,arguments)},spin:function(){return this._applyModification(v4e,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(h4e,arguments)},complement:function(){return this._applyCombination(p4e,arguments)},monochromatic:function(){return this._applyCombination(g4e,arguments)},splitcomplement:function(){return this._applyCombination(m4e,arguments)},triad:function(){return this._applyCombination(qP,[3])},tetrad:function(){return this._applyCombination(qP,[4])}};vt.fromRatio=function(e,t){if(Um(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Qu(e[r]));e=n}return vt(e,t)};function n4e(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=S4e(e)),Um(e)=="object"&&(Wa(e.r)&&Wa(e.g)&&Wa(e.b)?(t=r4e(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Wa(e.h)&&Wa(e.s)&&Wa(e.v)?(r=Qu(e.s),o=Qu(e.v),t=a4e(e.h,r,o),i=!0,l="hsv"):Wa(e.h)&&Wa(e.s)&&Wa(e.l)&&(r=Qu(e.s),a=Qu(e.l),t=o4e(e.h,r,a),i=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=D_(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function r4e(e,t,n){return{r:Mn(e,255)*255,g:Mn(t,255)*255,b:Mn(n,255)*255}}function UP(e,t,n){e=Mn(e,255),t=Mn(t,255),n=Mn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a,i,l=(r+o)/2;if(r==o)a=i=0;else{var s=r-o;switch(i=l>.5?s/(2-r-o):s/(r+o),r){case e:a=(t-n)/s+(t1&&(f-=1),f<1/6?u+(d-u)*6*f:f<1/2?d:f<2/3?u+(d-u)*(2/3-f)*6:u}if(t===0)r=o=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=i(s,l,e+1/3),o=i(s,l,e),a=i(s,l,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function YP(e,t,n){e=Mn(e,255),t=Mn(t,255),n=Mn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a,i,l=r,s=r-o;if(i=r===0?0:s/r,r==o)a=0;else{switch(r){case e:a=(t-n)/s+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(vt(r));return a}function g4e(e,t){t=t||6;for(var n=vt(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(vt({h:r,s:o,v:a})),a=(a+l)%1;return i}vt.mix=function(e,t,n){n=n===0?0:n||50;var r=vt(e).toRgb(),o=vt(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return vt(i)};vt.readability=function(e,t){var n=vt(e),r=vt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};vt.isReadable=function(e,t,n){var r=vt.readability(e,t),o,a;switch(a=!1,o=w4e(n),o.level+o.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7;break}return a};vt.mostReadable=function(e,t,n){var r=null,o=0,a,i,l,s;n=n||{},i=n.includeFallbackColors,l=n.level,s=n.size;for(var u=0;uo&&(o=a,r=vt(t[u]));return vt.isReadable(e,r,{level:l,size:s})||!i?r:(n.includeFallbackColors=!1,vt.mostReadable(e,["#fff","#000"],n))};var kC=vt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},y4e=vt.hexNames=b4e(kC);function b4e(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function D_(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Mn(e,t){C4e(e)&&(e="100%");var n=x4e(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Qg(e){return Math.min(1,Math.max(0,e))}function ro(e){return parseInt(e,16)}function C4e(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function x4e(e){return typeof e=="string"&&e.indexOf("%")!=-1}function la(e){return e.length==1?"0"+e:""+e}function Qu(e){return e<=1&&(e=e*100+"%"),e}function L_(e){return Math.round(parseFloat(e)*255).toString(16)}function QP(e){return ro(e)/255}var Jo=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Wa(e){return!!Jo.CSS_UNIT.exec(e)}function S4e(e){e=e.replace(e4e,"").replace(t4e,"").toLowerCase();var t=!1;if(kC[e])e=kC[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Jo.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Jo.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Jo.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Jo.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Jo.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Jo.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Jo.hex8.exec(e))?{r:ro(n[1]),g:ro(n[2]),b:ro(n[3]),a:QP(n[4]),format:t?"name":"hex8"}:(n=Jo.hex6.exec(e))?{r:ro(n[1]),g:ro(n[2]),b:ro(n[3]),format:t?"name":"hex"}:(n=Jo.hex4.exec(e))?{r:ro(n[1]+""+n[1]),g:ro(n[2]+""+n[2]),b:ro(n[3]+""+n[3]),a:QP(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=Jo.hex3.exec(e))?{r:ro(n[1]+""+n[1]),g:ro(n[2]+""+n[2]),b:ro(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function w4e(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var ZP=function(t){var n=["r","g","b","a","h","s","l","v"],r=0,o=0;return J$e(n,function(a){if(t[a]&&(r+=1,isNaN(t[a])||(o+=1),a==="s"||a==="l")){var i=/^\d+%$/;i.test(t[a])&&(o+=1)}}),r===o?t:!1},Zv=function(t,n){var r=t.hex?vt(t.hex):vt(t),o=r.toHsl(),a=r.toHsv(),i=r.toRgb(),l=r.toHex();o.s===0&&(o.h=n||0,a.h=n||0);var s=l==="000000"&&i.a===0;return{hsl:o,hex:s?"transparent":"#".concat(l),rgb:i,hsv:a,oldHue:t.h||n||o.h,source:t.source}},$4e=function(t){if(t==="transparent")return!0;var n=String(t).charAt(0)==="#"?1:0;return t.length!==4+n&&t.length<7+n&&vt(t).isValid()};function jc(e){"@babel/helpers - typeof";return jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(e)}function FC(){return FC=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ym(e){return Ym=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ym(e)}var k4e=function(t){var n=function(r){R4e(a,r);var o=I4e(a);function a(i){var l;return P4e(this,a),l=o.call(this),l.handleChange=function(s,u){var d=ZP(s);if(d){var f=Zv(s,s.h||l.state.oldHue);l.setState(f),l.props.onChangeComplete&&l.debounce(l.props.onChangeComplete,f,u),l.props.onChange&&l.props.onChange(f,u)}},l.handleSwatchHover=function(s,u){var d=ZP(s);if(d){var f=Zv(s,s.h||l.state.oldHue);l.props.onSwatchHover&&l.props.onSwatchHover(f,u)}},l.state=Au({},Zv(i.color,0)),l.debounce=M$e(function(s,u,d){s(u,d)},100),l}return O4e(a,[{key:"render",value:function(){var l={};return this.props.onSwatchHover&&(l.onSwatchHover=this.handleSwatchHover),Z.createElement(t,FC({},this.props,this.state,{onChange:this.handleChange},l))}}],[{key:"getDerivedStateFromProps",value:function(l,s){return Au({},Zv(l.color,s.oldHue))}}]),a}(c.PureComponent||c.Component);return n.propTypes=Au({},t.propTypes),n.defaultProps=Au(Au({},t.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),n};function zc(e){"@babel/helpers - typeof";return zc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zc(e)}function F4e(e,t,n){return t=j_(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D4e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t5(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gm(e){return Gm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Gm(e)}var W4e=1,z_=38,K4e=40,U4e=[z_,K4e],Y4e=function(t){return U4e.indexOf(t)>-1},G4e=function(t){return Number(String(t).replace(/%/g,""))},X4e=1,ju=function(e){j4e(n,e);var t=z4e(n);function n(r){var o;return D4e(this,n),o=t.call(this),o.handleBlur=function(){o.state.blurValue&&o.setState({value:o.state.blurValue,blurValue:null})},o.handleChange=function(a){o.setUpdatedValue(a.target.value,a)},o.handleKeyDown=function(a){var i=G4e(a.target.value);if(!isNaN(i)&&Y4e(a.keyCode)){var l=o.getArrowOffset(),s=a.keyCode===z_?i+l:i-l;o.setUpdatedValue(s,a)}},o.handleDrag=function(a){if(o.props.dragLabel){var i=Math.round(o.props.value+a.movementX);i>=0&&i<=o.props.dragMax&&o.props.onChange&&o.props.onChange(o.getValueObjectWithLabel(i),a)}},o.handleMouseDown=function(a){o.props.dragLabel&&(a.preventDefault(),o.handleDrag(a),window.addEventListener("mousemove",o.handleDrag),window.addEventListener("mouseup",o.handleMouseUp))},o.handleMouseUp=function(){o.unbindEventListeners()},o.unbindEventListeners=function(){window.removeEventListener("mousemove",o.handleDrag),window.removeEventListener("mouseup",o.handleMouseUp)},o.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},o.inputId="rc-editable-input-".concat(X4e++),o}return L4e(n,[{key:"componentDidUpdate",value:function(o,a){this.props.value!==this.state.value&&(o.value!==this.props.value||a.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(o){return F4e({},this.props.label,o)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||W4e}},{key:"setUpdatedValue",value:function(o,a){var i=this.props.label?this.getValueObjectWithLabel(o):o;this.props.onChange&&this.props.onChange(i,a),this.setState({value:o})}},{key:"render",value:function(){var o=this,a=il({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return Z.createElement("div",{style:a.wrap},Z.createElement("input",{id:this.inputId,style:a.input,ref:function(l){return o.input=l},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?Z.createElement("label",{htmlFor:this.inputId,style:a.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n}(c.PureComponent||c.Component);function Hc(e){"@babel/helpers - typeof";return Hc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hc(e)}function AC(){return AC=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xm(e){return Xm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xm(e)}var aEe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){eEe(a,r);var o=tEe(a);function a(){var i;q4e(this,a);for(var l=arguments.length,s=new Array(l),u=0;u100&&(d.a=100),d.a/=100,n==null||n({h:o==null?void 0:o.h,s:o==null?void 0:o.s,l:o==null?void 0:o.l,a:d.a,source:"rgb"},f))};return Z.createElement("div",{style:l.fields,className:"flexbox-fix"},Z.createElement("div",{style:l.double},Z.createElement(ju,{style:{input:l.input,label:l.label},label:"hex",value:a==null?void 0:a.replace("#",""),onChange:s})),Z.createElement("div",{style:l.single},Z.createElement(ju,{style:{input:l.input,label:l.label},label:"r",value:r==null?void 0:r.r,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.single},Z.createElement(ju,{style:{input:l.input,label:l.label},label:"g",value:r==null?void 0:r.g,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.single},Z.createElement(ju,{style:{input:l.input,label:l.label},label:"b",value:r==null?void 0:r.b,onChange:s,dragLabel:"true",dragMax:"255"})),Z.createElement("div",{style:l.alpha},Z.createElement(ju,{style:{input:l.input,label:l.label},label:"a",value:Math.round(((r==null?void 0:r.a)||0)*100),onChange:s,dragLabel:"true",dragMax:"100"})))};function cf(e){"@babel/helpers - typeof";return cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cf(e)}function a5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function i5(e){for(var t=1;t_?S([_,I]):I===void 0&&_===void 0&&S(void 0)}},P=function(M,I){var _=xe(x||[]);_[M]=I===null?void 0:I,S(_)},R=(s==null?void 0:s.placeholder)||i||[g.getMessage("tableForm.inputPlaceholder","请输入"),g.getMessage("tableForm.inputPlaceholder","请输入")],T=L.jsxs(_a.Group,{compact:!0,onBlur:O,children:[L.jsx(Yl,E(E({},s),{},{placeholder:Array.isArray(R)?R[0]:R,id:h??"".concat(h,"-0"),style:{width:"calc((100% - ".concat(v,"px) / 2)")},value:x==null?void 0:x[0],defaultValue:m==null?void 0:m[0],onChange:function(M){return P(0,M)}})),L.jsx(_a,{style:{width:v,textAlign:"center",borderInlineStart:0,borderInlineEnd:0,pointerEvents:"none",backgroundColor:"#FFF"},placeholder:d,disabled:!0}),L.jsx(Yl,E(E({},s),{},{placeholder:Array.isArray(R)?R[1]:R,id:h??"".concat(h,"-1"),style:{width:"calc((100% - ".concat(v,"px) / 2)"),borderInlineStart:0},value:x==null?void 0:x[1],defaultValue:m==null?void 0:m[1],onChange:function(M){return P(1,M)}}))]});return l?l(r,E({mode:o},s),T):T}return null};const NEe=Z.forwardRef(IEe);var V_={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Hr,function(){return function(n,r,o){n=n||{};var a=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(u,d,f,v){return a.fromToBase(u,d,f,v)}o.en.relativeTime=i,a.fromToBase=function(u,d,f,v,p){for(var m,y,h,g=f.$locale().relativeTime||i,b=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],C=b.length,x=0;x0,w<=S.r||!S.r){w<=1&&x>0&&(S=b[x-1]);var $=g[S.l];p&&(w=p(""+w)),y=typeof $=="string"?$.replace("%d",w):$(w,d,S.l,h);break}}if(d)return y;var O=h?g.future:g.past;return typeof O=="function"?O(y):O.replace("%s",y)},a.to=function(u,d){return l(u,d,this,!0)},a.from=function(u,d){return l(u,d,this)};var s=function(u){return u.$u?o.utc():o()};a.toNow=function(u){return this.to(s(this),u)},a.fromNow=function(u){return this.from(s(this),u)}}})})(V_);var TEe=V_.exports;const _Ee=nr(TEe);Rt.extend(_Ee);var kEe=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.format,s=t.fieldProps,u=Bn();if(o==="read"){var d=L.jsx(rl,{title:Rt(r).format((s==null?void 0:s.format)||l||"YYYY-MM-DD HH:mm:ss"),children:Rt(r).fromNow()});return a?a(r,E({mode:o},s),L.jsx(L.Fragment,{children:d})):L.jsx(L.Fragment,{children:d})}if(o==="edit"||o==="update"){var f=u.getMessage("tableForm.selectPlaceholder","请选择"),v=Wf(s.value),p=L.jsx(Tc,E(E({ref:n,placeholder:f,showTime:!0},s),{},{value:v}));return i?i(r,E({mode:o},s),p):p}return null};const FEe=Z.forwardRef(kEe);var DEe=Z.forwardRef(function(e,t){var n=e.text,r=e.mode,o=e.render,a=e.renderFormItem,i=e.fieldProps,l=e.placeholder,s=e.width,u=Bn(),d=l||u.getMessage("tableForm.inputPlaceholder","请输入");if(r==="read"){var f=L.jsx(Ine,E({ref:t,width:s||32,src:n},i));return o?o(n,E({mode:r},i),f):f}if(r==="edit"||r==="update"){var v=L.jsx(_a,E({ref:t,placeholder:d},i));return a?a(n,E({mode:r},i),v):v}return null});const W_=DEe;var LEe=function(t,n){var r,o=t.border,a=o===void 0?!1:o,i=t.children,l=c.useContext(nt.ConfigContext),s=l.getPrefixCls,u=s("pro-field-index-column"),d=wn("IndexColumn",function(){return A({},".".concat(u),{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px","&-border":{color:"#fff",fontSize:"12px",lineHeight:"12px",backgroundColor:"#314659",borderRadius:"9px","&.top-three":{backgroundColor:"#979797"}}})}),f=d.wrapSSR,v=d.hashId;return f(L.jsx("div",{ref:n,className:G(u,v,(r={},A(r,"".concat(u,"-border"),a),A(r,"top-three",i>3),r)),children:i}))};const c5=Z.forwardRef(LEe);var AEe=["contentRender","numberFormatOptions","numberPopoverRender","open"],jEe=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],zEe=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),HEe={style:"currency",currency:"USD"},BEe={style:"currency",currency:"RUB"},VEe={style:"currency",currency:"RSD"},WEe={style:"currency",currency:"MYR"},KEe={style:"currency",currency:"BRL"},u5={default:zEe,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":HEe,"ru-RU":BEe,"ms-MY":WEe,"sr-RS":VEe,"pt-BR":KEe},d5=function(t,n,r,o){var a=n==null?void 0:n.toString().replaceAll(",","");if(typeof a=="string"){var i=Number(a);if(Number.isNaN(i))return a;a=i}if(!a&&a!==0)return"";try{var l=new Intl.NumberFormat(t||"zh-Hans-CN",E(E({},u5[t||"zh-Hans-CN"]||u5["zh-Hans-CN"]),{},{maximumFractionDigits:r},o)).format(a),s=t===!1,u=l||"",d=U(u,1),f=d[0];return["+","-"].includes(f)?"".concat(f).concat(l.substring(s?2:1)):l.substring(s?1:0)}catch{return a}},W1=2,UEe=Z.forwardRef(function(e,t){var n=e.contentRender;e.numberFormatOptions,e.numberPopoverRender;var r=e.open,o=Oe(e,AEe),a=bt(function(){return o.defaultValue},{value:o.value,onChange:o.onChange}),i=U(a,2),l=i[0],s=i[1],u=n==null?void 0:n(E(E({},o),{},{value:l})),d=Og(u?r:!1);return L.jsx(Rf,E(E({placement:"topLeft"},d),{},{trigger:["focus","click"],content:u,getPopupContainer:function(v){return(v==null?void 0:v.parentElement)||document.body},children:L.jsx(Yl,E(E({ref:t},o),{},{value:l,onChange:s}))}))}),YEe=function(t,n){var r,o,a=t.text,i=t.mode,l=t.render,s=t.renderFormItem,u=t.fieldProps;t.proFieldKey,t.plain,t.valueEnum;var d=t.placeholder,f=t.locale,v=f===void 0?(r=u.customSymbol)!==null&&r!==void 0?r:"zh-Hans-CN":f,p=t.customSymbol,m=p===void 0?u.customSymbol:p,y=t.numberFormatOptions,h=y===void 0?u==null?void 0:u.numberFormatOptions:y,g=t.numberPopoverRender,b=g===void 0?(u==null?void 0:u.numberPopoverRender)||!1:g,C=Oe(t,jEe),x=(o=u==null?void 0:u.precision)!==null&&o!==void 0?o:W1,S=Bn();v&&Fc[v]&&(S=Fc[v]);var w=d||S.getMessage("tableForm.inputPlaceholder","请输入"),$=c.useMemo(function(){if(m)return m;if(!(C.moneySymbol===!1||u.moneySymbol===!1))return S.getMessage("moneySymbol","¥")},[m,u.moneySymbol,S,C.moneySymbol]),O=c.useCallback(function(T){var N=new RegExp("\\B(?=(\\d{".concat(3+Math.max(x-W1,0),"})+(?!\\d))"),"g"),M=String(T).split("."),I=U(M,2),_=I[0],k=I[1],F=_.replace(N,","),D="";return k&&x>0&&(D=".".concat(k.slice(0,x===void 0?W1:x))),"".concat(F).concat(D)},[x]);if(i==="read"){var P=L.jsx("span",{ref:n,children:d5($?v:!1,a,x,h??u.numberFormatOptions)});return l?l(a,E({mode:i},u),P):P}if(i==="edit"||i==="update"){var R=L.jsx(UEe,E({contentRender:function(N){if(b===!1||!N.value)return null;var M=d5($?v:!1,"".concat(O(N.value)),x,E(E({},h),{},{notation:"compact"}));return typeof b=="function"?b==null?void 0:b(N,M):M},ref:n,precision:x,formatter:function(N){return N&&$?"".concat($," ").concat(O(N)):N==null?void 0:N.toString()},parser:function(N){return $&&N?N.replace(new RegExp("\\".concat($,"\\s?|(,*)"),"g"),""):N},placeholder:w},ui(u,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible","open"])));return s?s(a,E({mode:i},u),R):R}return null};const K_=Z.forwardRef(YEe);var f5=function(t){return t.map(function(n,r){var o;return Z.isValidElement(n)?Z.cloneElement(n,E(E({key:r},n==null?void 0:n.props),{},{style:E({flex:1},n==null||(o=n.props)===null||o===void 0?void 0:o.style)})):L.jsx(Z.Fragment,{children:n},r)})},GEe=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.fieldProps,l=c.useContext(nt.ConfigContext),s=l.getPrefixCls,u=s("pro-field-option");if(c.useImperativeHandle(n,function(){return{}}),a){var d=a(r,E({mode:o},i),L.jsx(L.Fragment,{}));return!d||(d==null?void 0:d.length)<1||!Array.isArray(d)?null:L.jsx("div",{style:{display:"flex",gap:16,alignItems:"center"},className:u,children:f5(d)})}return!r||!Array.isArray(r)?Z.isValidElement(r)?r:null:L.jsx("div",{style:{display:"flex",gap:16,alignItems:"center"},className:u,children:f5(r)})};const XEe=Z.forwardRef(GEe);var qEe=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],QEe=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;t.proFieldKey;var s=Oe(t,qEe),u=Bn(),d=bt(function(){return s.open||s.visible||!1},{value:s.open||s.visible,onChange:s.onOpenChange||s.onVisible}),f=U(d,2),v=f[0],p=f[1];if(o==="read"){var m=L.jsx(L.Fragment,{children:"-"});return r&&(m=L.jsxs(ol,{children:[L.jsx("span",{ref:n,children:v?r:"* * * * *"}),L.jsx("a",{onClick:function(){return p(!v)},children:v?L.jsx(xS,{}):L.jsx(fT,{})})]})),a?a(r,E({mode:o},l),m):m}if(o==="edit"||o==="update"){var y=L.jsx(_a.Password,E({placeholder:u.getMessage("tableForm.inputPlaceholder","请输入"),ref:n},l));return i?i(r,E({mode:o},l),y):y}return null};const ZEe=Z.forwardRef(QEe);var v5=NaN,JEe="[object Symbol]",e3e=/^\s+|\s+$/g,t3e=/^[-+]0x[0-9a-f]+$/i,n3e=/^0b[01]+$/i,r3e=/^0o[0-7]+$/i,o3e=parseInt,a3e=Object.prototype,i3e=a3e.toString;function p5(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function l3e(e){return!!e&&typeof e=="object"}function s3e(e){return typeof e=="symbol"||l3e(e)&&i3e.call(e)==JEe}function c3e(e){if(typeof e=="number")return e;if(s3e(e))return v5;if(p5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=p5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(e3e,"");var n=n3e.test(e);return n||r3e.test(e)?o3e(e.slice(2),n?2:8):t3e.test(e)?v5:+e}var u3e=c3e;const qm=nr(u3e);function d3e(e){return e===0?null:e>0?"+":"-"}function f3e(e){return e===0?"#595959":e>0?"#ff4d4f":"#52c41a"}function v3e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return t>=0?e==null?void 0:e.toFixed(t):e}var p3e=function(t,n){var r=t.text,o=t.prefix,a=t.precision,i=t.suffix,l=i===void 0?"%":i,s=t.mode,u=t.showColor,d=u===void 0?!1:u,f=t.render,v=t.renderFormItem,p=t.fieldProps,m=t.placeholder,y=t.showSymbol,h=Bn(),g=m||h.getMessage("tableForm.inputPlaceholder","请输入"),b=c.useMemo(function(){return typeof r=="string"&&r.includes("%")?qm(r.replace("%","")):qm(r)},[r]),C=c.useMemo(function(){return typeof y=="function"?y==null?void 0:y(r):y},[y,r]);if(s==="read"){var x=d?{color:f3e(b)}:{},S=L.jsxs("span",{style:x,ref:n,children:[o&&L.jsx("span",{children:o}),C&&L.jsxs(c.Fragment,{children:[d3e(b)," "]}),v3e(Math.abs(b),a),l&&l]});return f?f(r,E(E({mode:s},p),{},{prefix:o,precision:a,showSymbol:C,suffix:l}),S):S}if(s==="edit"||s==="update"){var w=L.jsx(Yl,E({ref:n,formatter:function(O){return O&&o?"".concat(o," ").concat(O).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):O},parser:function(O){return O?O.replace(/.*\s|,/g,""):""},placeholder:g},p));return v?v(r,E({mode:s},p),w):w}return null};const U_=Z.forwardRef(p3e);function m3e(e){return e===100?"success":e<0?"exception":e<100?"active":"normal"}var h3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.plain,l=t.renderFormItem,s=t.fieldProps,u=t.placeholder,d=Bn(),f=u||d.getMessage("tableForm.inputPlaceholder","请输入"),v=c.useMemo(function(){return typeof r=="string"&&r.includes("%")?qm(r.replace("%","")):qm(r)},[r]);if(o==="read"){var p=L.jsx(moe,E({ref:n,size:"small",style:{minWidth:100,maxWidth:320},percent:v,steps:i?10:void 0,status:m3e(v)},s));return a?a(v,E({mode:o},s),p):p}if(o==="edit"||o==="update"){var m=L.jsx(Yl,E({ref:n,placeholder:f},s));return l?l(r,E({mode:o},s),m):m}return null};const Y_=Z.forwardRef(h3e);var g3e=["radioType","renderFormItem","mode","render"],y3e=function(t,n){var r=t.radioType,o=t.renderFormItem,a=t.mode,i=t.render,l=Oe(t,g3e),s=c.useContext(nt.ConfigContext),u=s.getPrefixCls,d=u("pro-field-radio"),f=lu(l),v=U(f,3),p=v[0],m=v[1],y=v[2],h=c.useRef();c.useImperativeHandle(n,function(){return E(E({},h.current||{}),{},{fetchData:function(P){return y(P)}})});var g=wn("FieldRadioRadio",function(O){return A({},".".concat(d,"-vertical"),A({},"".concat(O.antCls,"-radio-wrapper"),{display:"flex",marginInlineEnd:0}))}),b=g.wrapSSR,C=g.hashId;if(p)return L.jsx(al,{size:"small"});if(a==="read"){var x=m!=null&&m.length?m==null?void 0:m.reduce(function(O,P){var R;return E(E({},O),{},A({},(R=P.value)!==null&&R!==void 0?R:"",P.label))},{}):void 0,S=L.jsx(L.Fragment,{children:iu(l.text,vi(l.valueEnum||x))});return i?i(l.text,E({mode:a},l.fieldProps),S)||null:S}if(a==="edit"){var w,$=b(L.jsx(pg.Group,E(E({ref:h,optionType:r},l.fieldProps),{},{className:G((w=l.fieldProps)===null||w===void 0?void 0:w.className,C,"".concat(d,"-").concat(l.fieldProps.layout||"horizontal")),options:m})));return o?o(l.text,E({mode:a},l.fieldProps),$)||null:$}return null};const m5=Z.forwardRef(y3e);var b3e=function(t,n){var r=t.text,o=t.mode,a=t.format,i=t.render,l=t.renderFormItem,s=t.plain,u=t.showTime,d=t.fieldProps,f=Bn(),v=Array.isArray(r)?r:[],p=U(v,2),m=p[0],y=p[1],h=c.useCallback(function(w){if(typeof(d==null?void 0:d.format)=="function"){var $;return d==null||($=d.format)===null||$===void 0?void 0:$.call(d,w)}return(d==null?void 0:d.format)||a||"YYYY-MM-DD"},[d,a]),g=m?Rt(m).format(h(Rt(m))):"",b=y?Rt(y).format(h(Rt(y))):"";if(o==="read"){var C=L.jsxs("div",{ref:n,children:[L.jsx("div",{children:g||"-"}),L.jsx("div",{children:b||"-"})]});return i?i(r,E({mode:o},d),L.jsx("span",{children:C})):C}if(o==="edit"||o==="update"){var x=Wf(d.value),S=L.jsx(Tc.RangePicker,E(E({ref:n,format:a,showTime:u,placeholder:[f.getMessage("tableForm.selectPlaceholder","请选择"),f.getMessage("tableForm.selectPlaceholder","请选择")],bordered:s===void 0?!0:!s},d),{},{value:x}));return l?l(r,E({mode:o},d),S):S}return null};const Ns=Z.forwardRef(b3e);var C3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;if(o==="read"){var s=L.jsx(Z3,E(E({allowHalf:!0,disabled:!0,ref:n},l),{},{value:r}));return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:s})):s}if(o==="edit"||o==="update"){var u=L.jsx(Z3,E({allowHalf:!0,ref:n},l));return i?i(r,E({mode:o},l),u):u}return null};const x3e=Z.forwardRef(C3e);function S3e(e){var t="",n=Math.floor(e/86400),r=Math.floor(e/3600),o=Math.floor(e/60%60),a=Math.floor(e%60);return t="".concat(a,"秒"),o>0&&(t="".concat(o,"分钟").concat(t)),r>0&&(t="".concat(r,"小时").concat(t)),n>0&&(t="".concat(n,"天").concat(t)),t}var w3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=t.placeholder,u=Bn(),d=s||u.getMessage("tableForm.inputPlaceholder","请输入");if(o==="read"){var f=S3e(Number(r)),v=L.jsx("span",{ref:n,children:f});return a?a(r,E({mode:o},l),v):v}if(o==="edit"||o==="update"){var p=L.jsx(Yl,E({ref:n,min:0,style:{width:"100%"},placeholder:d},l));return i?i(r,E({mode:o},l),p):p}return null};const $3e=Z.forwardRef(w3e);var E3e=["mode","render","renderFormItem","fieldProps","emptyText"],P3e=function(t,n){var r=t.mode,o=t.render,a=t.renderFormItem,i=t.fieldProps,l=t.emptyText,s=l===void 0?"-":l,u=Oe(t,E3e),d=c.useRef(),f=lu(u),v=U(f,3),p=v[0],m=v[1],y=v[2];if(c.useImperativeHandle(n,function(){return E(E({},d.current||{}),{},{fetchData:function(S){return y(S)}})}),p)return L.jsx(al,{size:"small"});if(r==="read"){var h=m!=null&&m.length?m==null?void 0:m.reduce(function(x,S){var w;return E(E({},x),{},A({},(w=S.value)!==null&&w!==void 0?w:"",S.label))},{}):void 0,g=L.jsx(L.Fragment,{children:iu(u.text,vi(u.valueEnum||h))});if(o){var b;return(b=o(u.text,E({mode:r},i),L.jsx(L.Fragment,{children:g})))!==null&&b!==void 0?b:s}return g}if(r==="edit"||r==="update"){var C=L.jsx(uie,E(E({ref:d},ui(i||{},["allowClear"])),{},{options:m}));return a?a(u.text,E(E({mode:r},i),{},{options:m}),C):C}return null};const O3e=Z.forwardRef(P3e);var M3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps;if(o==="read"){var s=r;return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:s})):L.jsx(L.Fragment,{children:s})}if(o==="edit"||o==="update"){var u=L.jsx(_ie,E({ref:n},l));return i?i(r,E({mode:o},l),u):u}return null};const R3e=Z.forwardRef(M3e);var I3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=Bn(),u=c.useMemo(function(){var v,p;return r==null||"".concat(r).length<1?"-":r?(v=l==null?void 0:l.checkedChildren)!==null&&v!==void 0?v:s.getMessage("switch.open","打开"):(p=l==null?void 0:l.unCheckedChildren)!==null&&p!==void 0?p:s.getMessage("switch.close","关闭")},[l==null?void 0:l.checkedChildren,l==null?void 0:l.unCheckedChildren,r]);if(o==="read")return a?a(r,E({mode:o},l),L.jsx(L.Fragment,{children:u})):u??"-";if(o==="edit"||o==="update"){var d,f=L.jsx(Bie,E(E({ref:n},ui(l,["value"])),{},{checked:(d=l==null?void 0:l.checked)!==null&&d!==void 0?d:l==null?void 0:l.value}));return i?i(r,E({mode:o},l),f):f}return null};const N3e=Z.forwardRef(I3e);var T3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=t.emptyText,u=s===void 0?"-":s,d=l||{},f=d.autoFocus,v=d.prefix,p=v===void 0?"":v,m=d.suffix,y=m===void 0?"":m,h=Bn(),g=c.useRef();if(c.useImperativeHandle(n,function(){return g.current}),c.useEffect(function(){if(f){var w;(w=g.current)===null||w===void 0||w.focus()}},[f]),o==="read"){var b=L.jsxs(L.Fragment,{children:[p,r??u,y]});if(a){var C;return(C=a(r,E({mode:o},l),b))!==null&&C!==void 0?C:u}return b}if(o==="edit"||o==="update"){var x=h.getMessage("tableForm.inputPlaceholder","请输入"),S=L.jsx(_a,E({ref:g,placeholder:x,allowClear:!0},l));return i?i(r,E({mode:o},l),S):S}return null};const _3e=Z.forwardRef(T3e);var k3e=function(t,n){var r=t.text,o=t.mode,a=t.render,i=t.renderFormItem,l=t.fieldProps,s=Bn();if(o==="read"){var u=L.jsx("span",{ref:n,style:{display:"inline-block",padding:"4px 11px",lineHeight:"1.5715",maxWidth:"100%",whiteSpace:"pre-wrap"},children:r??"-"});return a?a(r,E({mode:o},l),u):u}if(o==="edit"||o==="update"){var d=L.jsx(_a.TextArea,E({ref:n,rows:3,onKeyPress:function(v){v.key==="Enter"&&v.stopPropagation()},placeholder:s.getMessage("tableForm.inputPlaceholder","请输入")},l));return i?i(r,E({mode:o},l),d):d}return null};const F3e=Z.forwardRef(k3e);var D3e=function(t,n){var r,o=t.text,a=t.mode,i=t.light,l=t.label,s=t.format,u=t.render,d=t.renderFormItem,f=t.plain,v=t.fieldProps,p=t.lightLabel,m=t.labelTrigger,y=c.useState(!1),h=U(y,2),g=h[0],b=h[1],C=(nt==null||(r=nt.useConfig)===null||r===void 0?void 0:r.call(nt))||{componentSize:"middle"},x=C.componentSize,S=x,w=B_(),$=w.hashId,O=w.prefixCls,P=w.wrapSSR,R=(v==null?void 0:v.format)||s||"HH:mm:ss",T=Rt.isDayjs(o)||typeof o=="number";if(a==="read"){var N=L.jsx("span",{ref:n,children:o?Rt(o,T?void 0:R).format(R):"-"});return u?u(o,E({mode:a},v),L.jsx("span",{children:N})):N}if(a==="edit"||a==="update"){var M,I=v.disabled,_=v.onChange,k=v.placeholder,F=v.allowClear,D=v.value,j=Wf(D,R);if(i){var H=j&&j.format(R)||"";M=P(L.jsxs("div",{className:"".concat(O,"-light ").concat($),onClick:function(B){var V,K,W,Y=p==null||(V=p.current)===null||V===void 0||(K=V.labelRef)===null||K===void 0||(W=K.current)===null||W===void 0?void 0:W.contains(B.target);b(Y?!g:!0)},children:[L.jsx(ZT,E(E({value:j,format:s,ref:n},v),{},{onChange:function(){var z=ir(Lt().mark(function B(V){return Lt().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,_==null?void 0:_(V);case 2:return W.next=4,b(!1);case 4:case"end":return W.stop()}},B)}));return function(B){return z.apply(this,arguments)}}(),onOpenChange:function(B){m||b(B)},open:g})),L.jsx(au,{label:l,disabled:I,placeholder:k,size:S,value:H,allowClear:F,onClear:function(){return _==null?void 0:_(null)},expanded:g,ref:p})]}))}else M=L.jsx(Tc.TimePicker,E(E({ref:n,format:s,bordered:f===void 0?!0:!f},v),{},{value:j}));return d?d(o,E({mode:a},v),M):M}return null},L3e=function(t,n){var r=t.text,o=t.mode,a=t.format,i=t.render,l=t.renderFormItem,s=t.plain,u=t.fieldProps,d=(u==null?void 0:u.format)||a||"HH:mm:ss",f=Array.isArray(r)?r:[],v=U(f,2),p=v[0],m=v[1],y=Rt.isDayjs(p)||typeof p=="number",h=Rt.isDayjs(m)||typeof m=="number",g=p?Rt(p,y?void 0:d).format(d):"",b=m?Rt(m,h?void 0:d).format(d):"";if(o==="read"){var C=L.jsxs("div",{ref:n,children:[L.jsx("div",{children:g||"-"}),L.jsx("div",{children:b||"-"})]});return i?i(r,E({mode:o},u),L.jsx("span",{children:C})):C}if(o==="edit"||o==="update"){var x=u.value,S=Wf(x,d),w=L.jsx(ZT.RangePicker,E(E({ref:n,format:a,bordered:s===void 0?!0:!s},u),{},{value:S}));return l?l(r,E({mode:o},u),w):w}return null},A3e=Z.forwardRef(L3e);const j3e=Z.forwardRef(D3e);var z3e=["radioType","renderFormItem","mode","light","label","render","fetchDataOnSearch"],H3e=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","fetchDataOnSearch","searchValue"],B3e=function(t,n){var r;t.radioType;var o=t.renderFormItem,a=t.mode,i=t.light,l=t.label,s=t.render,u=t.fetchDataOnSearch,d=u===void 0?!0:u,f=Oe(t,z3e),v=c.useContext(nt.ConfigContext),p=v.getPrefixCls,m=p("pro-field-tree-select"),y=c.useRef(null),h=c.useState(!1),g=U(h,2),b=g[0],C=g[1],x=f.fieldProps,S=x.onSearch,w=x.onClear,$=x.onChange,O=x.onBlur,P=x.showSearch,R=x.autoClearSearchValue;x.treeData,x.fetchDataOnSearch;var T=x.searchValue,N=Oe(x,H3e),M=(nt==null||(r=nt.useConfig)===null||r===void 0?void 0:r.call(nt))||{componentSize:"middle"},I=M.componentSize,_=I,k=Bn(),F=lu(E(E({},f),{},{defaultKeyWords:T})),D=U(F,3),j=D[0],H=D[1],z=D[2],B=bt(void 0,{onChange:S,value:T}),V=U(B,2),K=V[0],W=V[1];c.useImperativeHandle(n,function(){return E(E({},y.current||{}),{},{fetchData:function(oe){return z(oe)}})});var Y=c.useMemo(function(){if(a==="read"){var ne=(N==null?void 0:N.fieldNames)||{},oe=ne.value,le=oe===void 0?"value":oe,de=ne.label,pe=de===void 0?"label":de,se=ne.children,ve=se===void 0?"children":se,he=new Map,ce=function ie(fe){if(!(fe!=null&&fe.length))return he;for(var me=fe.length,Ce=0;Ce4&&(p+=7),v.add(p,n));return m.diff(y,"week")+1},l.isoWeekday=function(u){return this.$utils().u(u)?this.day()||7:this.day(this.day()%7?u:u-7)};var s=l.startOf;l.startOf=function(u,d){var f=this.$utils(),v=!!f.u(d)||d;return f.p(u)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(u,d)}}})})(G_);var W3e=G_.exports;const K3e=nr(W3e);var U3e=["fieldProps"],Y3e=["fieldProps"],G3e=["fieldProps"],X3e=["fieldProps"],q3e=["text","valueType","mode","onChange","renderFormItem","value","readonly"],Q3e=["placeholder"];Rt.extend(kN);Rt.extend(DN);Rt.extend(zN);Rt.extend(K3e);Rt.extend(aS);var K1=["select","radio","radioButton","checkbook"],Z3e=function(t,n,r){var o=M9(r.fieldProps);return n.type==="progress"?L.jsx(Y_,E(E({},r),{},{text:t,fieldProps:E({status:n.status?n.status:void 0},o)})):n.type==="money"?L.jsx(K_,E(E({locale:n.locale},r),{},{fieldProps:o,text:t,moneySymbol:n.moneySymbol})):n.type==="percent"?L.jsx(U_,E(E({},r),{},{text:t,showSymbol:n.showSymbol,precision:n.precision,fieldProps:o,showColor:n.showColor})):n.type==="image"?L.jsx(W_,E(E({},r),{},{text:t,width:n.width})):t},J3e=function(t,n,r,o){var a,i=r.mode,l=i===void 0?"read":i,s=r.emptyText,u=s===void 0?"-":s;if(u!==!1&&l==="read"&&n!=="option"&&n!=="switch"&&typeof t!="boolean"&&typeof t!="number"&&!t){var d=r.fieldProps,f=r.render;return f?f(t,E({mode:l},d),L.jsx(L.Fragment,{children:u})):L.jsx(L.Fragment,{children:u})}if(delete r.emptyText,Ke(n)==="object")return Z3e(t,n,r);var v=o&&o[n];if(v){if(delete r.ref,l==="read"){var p;return(p=v.render)===null||p===void 0?void 0:p.call(v,t,E(E({text:t},r),{},{mode:l||"read"}),L.jsx(L.Fragment,{children:t}))}if(l==="update"||l==="edit"){var m;return(m=v.renderFormItem)===null||m===void 0?void 0:m.call(v,t,E({text:t},r),L.jsx(L.Fragment,{children:t}))}}var y=K1.includes(n),h=!!(r.valueEnum||r.request||r.options||(a=r.fieldProps)!==null&&a!==void 0&&a.options);if(zl(!y||h,"如果设置了 valueType 为 ".concat(K1.join(","),"中任意一个,则需要配置options,request, valueEnum 其中之一,否则无法生成选项。")),zl(!y||h,"If you set valueType to any of ".concat(K1.join(","),", you need to configure options, request or valueEnum.")),n==="money")return L.jsx(K_,E(E({},r),{},{text:t}));if(n==="date")return L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY-MM-DD"},r))});if(n==="dateWeek")return L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY-wo",picker:"week"},r))});if(n==="dateWeekRange"){var g=r.fieldProps,b=Oe(r,U3e);return L.jsx(jr,{isLight:r.light,children:L.jsx(Ns,E({text:t,format:"YYYY-W",showTime:!0,fieldProps:E({picker:"week"},g)},b))})}if(n==="dateMonthRange"){var C=r.fieldProps,x=Oe(r,Y3e);return L.jsx(jr,{isLight:r.light,children:L.jsx(Ns,E({text:t,format:"YYYY-MM",showTime:!0,fieldProps:E({picker:"month"},C)},x))})}if(n==="dateQuarterRange"){var S=r.fieldProps,w=Oe(r,G3e);return L.jsx(jr,{isLight:r.light,children:L.jsx(Ns,E({text:t,format:"YYYY-Q",showTime:!0,fieldProps:E({picker:"quarter"},S)},w))})}if(n==="dateYearRange"){var $=r.fieldProps,O=Oe(r,X3e);return L.jsx(jr,{isLight:r.light,children:L.jsx(Ns,E({text:t,format:"YYYY",showTime:!0,fieldProps:E({picker:"year"},$)},O))})}return n==="dateMonth"?L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY-MM",picker:"month"},r))}):n==="dateQuarter"?L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY-[Q]Q",picker:"quarter"},r))}):n==="dateYear"?L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY",picker:"year"},r))}):n==="dateRange"?L.jsx(Ns,E({text:t,format:"YYYY-MM-DD"},r)):n==="dateTime"?L.jsx(jr,{isLight:r.light,children:L.jsx(Is,E({text:t,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},r))}):n==="dateTimeRange"?L.jsx(jr,{isLight:r.light,children:L.jsx(Ns,E({text:t,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},r))}):n==="time"?L.jsx(jr,{isLight:r.light,children:L.jsx(j3e,E({text:t,format:"HH:mm:ss"},r))}):n==="timeRange"?L.jsx(jr,{isLight:r.light,children:L.jsx(A3e,E({text:t,format:"HH:mm:ss"},r))}):n==="fromNow"?L.jsx(FEe,E({text:t},r)):n==="index"?L.jsx(c5,{children:t+1}):n==="indexBorder"?L.jsx(c5,{border:!0,children:t+1}):n==="progress"?L.jsx(Y_,E(E({},r),{},{text:t})):n==="percent"?L.jsx(U_,E({text:t},r)):n==="avatar"&&typeof t=="string"&&r.mode==="read"?L.jsx(V2,{src:t,size:22,shape:"circle"}):n==="code"?L.jsx(V6,E({text:t},r)):n==="jsonCode"?L.jsx(V6,E({text:t,language:"json"},r)):n==="textarea"?L.jsx(F3e,E({text:t},r)):n==="digit"?L.jsx(REe,E({text:t},r)):n==="digitRange"?L.jsx(NEe,E({text:t},r)):n==="second"?L.jsx($3e,E({text:t},r)):n==="select"||n==="text"&&(r.valueEnum||r.request)?L.jsx(jr,{isLight:r.light,children:L.jsx(lfe,E({text:t},r))}):n==="checkbox"?L.jsx(vfe,E({text:t},r)):n==="radio"?L.jsx(m5,E({text:t},r)):n==="radioButton"?L.jsx(m5,E({radioType:"button",text:t},r)):n==="rate"?L.jsx(x3e,E({text:t},r)):n==="slider"?L.jsx(R3e,E({text:t},r)):n==="switch"?L.jsx(N3e,E({text:t},r)):n==="option"?L.jsx(XEe,E({text:t},r)):n==="password"?L.jsx(ZEe,E({text:t},r)):n==="image"?L.jsx(W_,E({text:t},r)):n==="cascader"?L.jsx(ufe,E({text:t},r)):n==="treeSelect"?L.jsx(V3e,E({text:t},r)):n==="color"?L.jsx(EEe,E({text:t},r)):n==="segmented"?L.jsx(O3e,E({text:t},r)):L.jsx(_3e,E({text:t},r))},e6e=function(t,n){var r,o,a,i,l,s=t.text,u=t.valueType,d=u===void 0?"text":u,f=t.mode,v=f===void 0?"read":f,p=t.onChange,m=t.renderFormItem,y=t.value,h=t.readonly,g=Oe(t,q3e),b=c.useContext(qi),C=c.useMemo(function(){return(y!==void 0||p||(g==null?void 0:g.fieldProps))&&E(E({value:y},io(g==null?void 0:g.fieldProps)),{},{onChange:function(){for(var S,w,$=arguments.length,O=new Array($),P=0;P<$;P++)O[P]=arguments[P];g==null||(S=g.fieldProps)===null||S===void 0||(w=S.onChange)===null||w===void 0||w.call.apply(w,[S].concat(O)),p==null||p.apply(void 0,O)}})},[y,p,g==null?void 0:g.fieldProps]);return L.jsx(Z.Fragment,{children:J3e(v==="edit"?(r=(o=C==null?void 0:C.value)!==null&&o!==void 0?o:s)!==null&&r!==void 0?r:"":(a=s??(C==null?void 0:C.value))!==null&&a!==void 0?a:"",d||"text",io(E(E({ref:n},g),{},{mode:h?"read":v,renderFormItem:m?function(x,S,w){S.placeholder;var $=Oe(S,Q3e),O=m(x,$,w);return Z.isValidElement(O)?Z.cloneElement(O,E(E({},C),O.props||{})):O}:void 0,placeholder:m?void 0:(i=g==null?void 0:g.placeholder)!==null&&i!==void 0?i:C==null?void 0:C.placeholder,fieldProps:M9(io(E(E({},C),{},{placeholder:m?void 0:(l=g==null?void 0:g.placeholder)!==null&&l!==void 0?l:C==null?void 0:C.placeholder})))})),b.valueTypeMap||{})})},t6e=Z.forwardRef(e6e);const n6e=t6e;var X_=Z.createContext({mode:"edit"}),r6e=["fieldProps","children","labelCol","label","autoFocus","isDefaultDom","render","proFieldProps","renderFormItem","valueType","initialValue","onChange","valueEnum","params","name","dependenciesValues","cacheForSwr","valuePropName"],o6e=function(t){var n=t.fieldProps,r=t.children;t.labelCol,t.label;var o=t.autoFocus;t.isDefaultDom;var a=t.render,i=t.proFieldProps,l=t.renderFormItem,s=t.valueType;t.initialValue;var u=t.onChange,d=t.valueEnum,f=t.params;t.name;var v=t.dependenciesValues,p=t.cacheForSwr,m=p===void 0?!1:p,y=t.valuePropName,h=y===void 0?"value":y,g=Oe(t,r6e),b=c.useContext(X_),C=c.useMemo(function(){return v&&g.request?E(E({},f),v||{}):f},[v,f,g.request]),x=c.useMemo(function(){if(r)return Z.isValidElement(r)?Z.cloneElement(r,E(E({},g),{},{onChange:function(){for(var w=arguments.length,$=new Array(w),O=0;O div".concat(t.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(n={display:"block",width:"100%"},A(n,"".concat(t.componentCls,"-title"),{width:"100%",margin:"8px 0"}),A(n,"".concat(t.componentCls,"-container"),{paddingInlineStart:16}),A(n,"".concat(t.antCls,"-space-item,").concat(t.antCls,"-form-item"),{width:"100%"}),A(n,"".concat(t.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),n)})};function x6e(e){return wn("ProFormGroup",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[C6e(n)]})}var Z_=Z.forwardRef(function(e,t){var n=Z.useContext(Ag),r=n.groupProps,o=E(E({},r),e),a=o.children,i=o.collapsible,l=o.defaultCollapsed,s=o.style,u=o.labelLayout,d=o.title,f=d===void 0?e.label:d,v=o.tooltip,p=o.align,m=p===void 0?"start":p,y=o.direction,h=o.size,g=h===void 0?32:h,b=o.titleStyle,C=o.titleRender,x=o.spaceProps,S=o.extra,w=o.autoFocus,$=bt(function(){return l||!1},{value:e.collapsed,onChange:e.onCollapse}),O=U($,2),P=O[0],R=O[1],T=c.useContext(nt.ConfigContext),N=T.getPrefixCls,M=XS(e),I=M.ColWrapper,_=M.RowWrapper,k=N("pro-form-group"),F=x6e(k),D=F.wrapSSR,j=F.hashId,H=i&&L.jsx(Ic,{style:{marginInlineEnd:8},rotate:P?void 0:90}),z=L.jsx(Wce,{label:H?L.jsxs("div",{children:[H,f]}):f,tooltip:v}),B=c.useCallback(function(Q){var ae=Q.children;return L.jsx(ol,E(E({},x),{},{className:G("".concat(k,"-container ").concat(j),x==null?void 0:x.className),size:g,align:m,direction:y,style:E({rowGap:0},x==null?void 0:x.style),children:ae}))},[m,k,y,j,g,x]),V=C?C(z,e):z,K=c.useMemo(function(){var Q=[],ae=Z.Children.toArray(a).map(function(ee,q){var re;return Z.isValidElement(ee)&&ee!==null&&ee!==void 0&&(re=ee.props)!==null&&re!==void 0&&re.hidden?(Q.push(ee),null):q===0&&Z.isValidElement(ee)&&w?Z.cloneElement(ee,E(E({},ee.props),{},{autoFocus:w})):ee});return[L.jsx(_,{Wrapper:B,children:ae},"children"),Q.length>0?L.jsx("div",{style:{display:"none"},children:Q}):null]},[a,_,B,w]),W=U(K,2),Y=W[0],X=W[1];return D(L.jsx(I,{children:L.jsxs("div",{className:G(k,j,A({},"".concat(k,"-twoLine"),u==="twoLine")),style:s,ref:t,children:[X,(f||v||S)&&L.jsx("div",{className:"".concat(k,"-title ").concat(j),style:b,onClick:function(){R(!P)},children:S?L.jsxs("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[V,L.jsx("span",{onClick:function(ae){return ae.stopPropagation()},children:S})]}):V}),L.jsx("div",{style:{display:i&&P?"none":void 0},children:Y})]})}))});Z_.displayName="ProForm-Group";const S6e=Z_;var w6e=function(t){var n=Bn(),r=Gn.useFormInstance();if(t.render===!1)return null;var o=t.onSubmit,a=t.render,i=t.onReset,l=t.searchConfig,s=l===void 0?{}:l,u=t.submitButtonProps,d=t.resetButtonProps,f=d===void 0?{}:d,v=function(){r.submit(),o==null||o()},p=function(){r.resetFields(),i==null||i()},m=s.submitText,y=m===void 0?n.getMessage("tableForm.submit","提交"):m,h=s.resetText,g=h===void 0?n.getMessage("tableForm.reset","重置"):h,b=[];f!==!1&&b.push(c.createElement(li,E(E({},ui(f,["preventDefault"])),{},{key:"rest",onClick:function(S){var w;f!=null&&f.preventDefault||p(),f==null||(w=f.onClick)===null||w===void 0||w.call(f,S)}}),g)),u!==!1&&b.push(c.createElement(li,E(E({type:"primary"},ui(u||{},["preventDefault"])),{},{key:"submit",onClick:function(S){var w;u!=null&&u.preventDefault||v(),u==null||(w=u.onClick)===null||w===void 0||w.call(u,S)}}),y));var C=a?a(E(E({},t),{},{form:r,submit:v,reset:p}),b):b;return C?Array.isArray(C)?(C==null?void 0:C.length)<1?null:(C==null?void 0:C.length)===1?C[0]:L.jsx(ol,{wrap:!0,children:C}):C:null};const $6e=w6e;var E6e=["fieldProps","proFieldProps"],P6e=["fieldProps","proFieldProps"],HC="text",O6e=function(t){var n=t.fieldProps,r=t.proFieldProps,o=Oe(t,E6e);return L.jsx(Qm,E({valueType:HC,fieldProps:n,filedConfig:{valueType:HC},proFieldProps:r},o))},M6e=function(t){var n=t.fieldProps,r=t.proFieldProps,o=Oe(t,P6e);return L.jsx(Qm,E({valueType:"password",fieldProps:n,proFieldProps:r,filedConfig:{valueType:HC}},o))},Cd=O6e;Cd.Password=M6e;Cd.displayName="ProFormComponent";var R6e=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],I6e=["extraUrlParams","syncToUrl","isKeyPressSubmit","syncToUrlAsImportant","syncToInitialValues","children","contentRender","submitter","fieldProps","proFieldProps","formItemProps","groupProps","dateFormatter","formRef","onInit","form","formComponentType","onReset","grid","rowProps","colProps","omitNil","request","params","initialValues","formKey","readonly","onLoadingChange","loading"],BC=function(t,n,r){return t===!0?n:Fm(t,n,r)},g5=function(t){return!t||Array.isArray(t)?t:[t]};function N6e(e){var t,n=e.children,r=e.contentRender,o=e.submitter;e.fieldProps,e.formItemProps,e.groupProps;var a=e.transformKey,i=e.formRef,l=e.onInit,s=e.form,u=e.loading;e.formComponentType;var d=e.extraUrlParams,f=d===void 0?{}:d,v=e.syncToUrl,p=e.onUrlSearchChange,m=e.onReset,y=e.omitNil,h=y===void 0?!0:y;e.isKeyPressSubmit;var g=e.autoFocusFirstInput,b=g===void 0?!0:g,C=e.grid,x=e.rowProps,S=e.colProps,w=Oe(e,R6e),$=Gn.useFormInstance(),O=(nt==null||(t=nt.useConfig)===null||t===void 0?void 0:t.call(nt))||{componentSize:"middle"},P=O.componentSize,R=c.useRef(s||$),T=XS({grid:C,rowProps:x}),N=T.RowWrapper,M=jS(function(){return $}),I=c.useMemo(function(){return{getFieldsFormatValue:function(z){var B;return a((B=M())===null||B===void 0?void 0:B.getFieldsValue(z),h)},getFieldFormatValue:function(){var z,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=g5(B);if(!V)throw new Error("nameList is require");var K=(z=M())===null||z===void 0?void 0:z.getFieldValue(V),W=V?pr({},V,K):K;return Mr(a(W,h,V),V)},getFieldFormatValueObject:function(z){var B,V=g5(z),K=(B=M())===null||B===void 0?void 0:B.getFieldValue(V),W=V?pr({},V,K):K;return a(W,h,V)},validateFieldsReturnFormatValue:function(){var H=ir(Lt().mark(function B(V){var K,W,Y;return Lt().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(!(!Array.isArray(V)&&V)){Q.next=2;break}throw new Error("nameList must be array");case 2:return Q.next=4,(K=M())===null||K===void 0?void 0:K.validateFields(V);case 4:return W=Q.sent,Y=a(W,h),Q.abrupt("return",Y||{});case 7:case"end":return Q.stop()}},B)}));function z(B){return H.apply(this,arguments)}return z}(),formRef:R}},[h,a]),_=c.useMemo(function(){return Z.Children.toArray(n).map(function(H,z){return z===0&&Z.isValidElement(H)&&b?Z.cloneElement(H,E(E({},H.props),{},{autoFocus:b})):H})},[b,n]),k=c.useMemo(function(){return typeof o=="boolean"||!o?{}:o},[o]),F=c.useMemo(function(){if(o!==!1)return L.jsx($6e,E(E({},k),{},{onReset:function(){var z,B,V=a((z=R.current)===null||z===void 0?void 0:z.getFieldsValue(),h);if(k==null||(B=k.onReset)===null||B===void 0||B.call(k,V),m==null||m(V),v){var K,W=Object.keys(a((K=R.current)===null||K===void 0?void 0:K.getFieldsValue(),!1)).reduce(function(Y,X){return E(E({},Y),{},A({},X,V[X]||void 0))},f);p(BC(v,W,"set"))}},submitButtonProps:E({loading:u},k.submitButtonProps)}),"submitter")},[o,k,u,a,h,m,v,f,p]),D=c.useMemo(function(){var H=C?L.jsx(N,{children:_}):_;return r?r(H,F,R.current):H},[C,N,_,r,F]),j=E9(e.initialValues);return c.useEffect(function(){if(!(v||!e.initialValues||!j||w.request)){var H=Ki(e.initialValues,j);zl(H,"initialValues 只在 form 初始化时生效,如果你需要异步加载推荐使用 request,或者 initialValues ? : null "),zl(H,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null ")}},[e.initialValues]),c.useImperativeHandle(i,function(){return E(E({},R.current),I)},[]),c.useEffect(function(){var H,z,B=a((H=R.current)===null||H===void 0||(z=H.getFieldsValue)===null||z===void 0?void 0:z.call(H,!0),h);l==null||l(B,R.current)},[]),L.jsx(S9.Provider,{value:I,children:L.jsx(nt,{componentSize:w.size||P,children:L.jsxs(V9.Provider,{value:{grid:C,colProps:S},children:[w.component!==!1&&L.jsx("input",{type:"text",style:{display:"none"}}),D]})})})}var y5=0;function T6e(e){var t=e.extraUrlParams,n=t===void 0?{}:t,r=e.syncToUrl,o=e.isKeyPressSubmit,a=e.syncToUrlAsImportant,i=a===void 0?!1:a,l=e.syncToInitialValues,s=l===void 0?!0:l;e.children,e.contentRender,e.submitter;var u=e.fieldProps,d=e.proFieldProps,f=e.formItemProps,v=e.groupProps,p=e.dateFormatter,m=p===void 0?"string":p,y=e.formRef;e.onInit;var h=e.form,g=e.formComponentType;e.onReset,e.grid,e.rowProps,e.colProps;var b=e.omitNil,C=b===void 0?!0:b,x=e.request,S=e.params,w=e.initialValues,$=e.formKey,O=$===void 0?y5:$;e.readonly;var P=e.onLoadingChange,R=e.loading,T=Oe(e,I6e),N=c.useRef({}),M=bt(!1,{onChange:P,value:R}),I=U(M,2),_=I[0],k=I[1],F=pue({},{disabled:!r}),D=U(F,2),j=D[0],H=D[1],z=c.useRef(O9());c.useEffect(function(){y5+=0},[]);var B=oue({request:x,params:S,proFieldKey:O}),V=U(B,1),K=V[0],W=c.useContext(nt.ConfigContext),Y=W.getPrefixCls,X=Y("pro-form"),Q=wn("ProForm",function(se){return A({},".".concat(X),A({},"> div:not(".concat(se.proComponentsCls,"-form-light-filter)"),{".pro-field":{maxWidth:"100%","&-xs":{width:104},"&-s":{width:216},"&-sm":{width:216},"&-m":{width:328},"&-md":{width:328},"&-l":{width:440},"&-lg":{width:440},"&-xl":{width:552}}}))}),ae=Q.wrapSSR,ee=Q.hashId,q=c.useState(function(){return r?BC(r,j,"get"):{}}),re=U(q,2),te=re[0],J=re[1],ne=c.useRef({}),oe=c.useRef({}),le=c.useCallback(function(se,ve,he){return fue(Gce(se,m,oe.current,ve,he),ne.current,ve)},[m]);c.useEffect(function(){s||J({})},[s]),c.useEffect(function(){r&&H(E(E({},j),n))},[n,r]);var de=c.useMemo(function(){if(!(typeof window>"u")&&g&&["DrawerForm"].includes(g))return function(se){return se.parentNode||document.body}},[g]),pe=jS(ir(Lt().mark(function se(){var ve,he,ce,ie,fe,me;return Lt().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(T.onFinish){ye.next=2;break}return ye.abrupt("return");case 2:if(!_){ye.next=4;break}return ye.abrupt("return");case 4:return k(!0),ye.prev=5,ce=N==null||(ve=N.current)===null||ve===void 0||(he=ve.getFieldsFormatValue)===null||he===void 0?void 0:he.call(ve),ye.next=9,T.onFinish(ce);case 9:r&&(me=Object.keys(N==null||(ie=N.current)===null||ie===void 0||(fe=ie.getFieldsFormatValue)===null||fe===void 0?void 0:fe.call(ie,void 0,!1)).reduce(function(Ne,_e){var Ue;return E(E({},Ne),{},A({},_e,(Ue=ce[_e])!==null&&Ue!==void 0?Ue:void 0))},n),Object.keys(j).forEach(function(Ne){me[Ne]!==!1&&me[Ne]!==0&&!me[Ne]&&(me[Ne]=void 0)}),H(BC(r,me,"set"))),k(!1),ye.next=17;break;case 13:ye.prev=13,ye.t0=ye.catch(5),k(!1);case 17:case"end":return ye.stop()}},se,null,[[5,13]])})));return c.useImperativeHandle(y,function(){return N.current},[!K]),!K&&e.request?L.jsx("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:L.jsx(al,{})}):ae(L.jsx(X_.Provider,{value:{mode:e.readonly?"read":"edit"},children:L.jsx(C9,{needDeps:!0,children:L.jsx(Ag.Provider,{value:{formRef:N,fieldProps:u,proFieldProps:d,formItemProps:f,groupProps:v,formComponentType:g,getPopupContainer:de,formKey:z.current,setFieldValueType:function(ve,he){var ce=he.valueType,ie=ce===void 0?"text":ce,fe=he.dateFormat,me=he.transform;Array.isArray(ve)&&(ne.current=pr(ne.current,ve,me),oe.current=pr(oe.current,ve,{valueType:ie,dateFormat:fe}))}},children:L.jsx(mw.Provider,{value:{},children:L.jsx(Gn,E(E({onKeyPress:function(ve){if(o&&ve.key==="Enter"){var he;(he=N.current)===null||he===void 0||he.submit()}},autoComplete:"off",form:h},ui(T,["labelWidth","autoFocusFirstInput"])),{},{initialValues:i?E(E(E({},w),K),te):E(E(E({},te),w),K),onValuesChange:function(ve,he){var ce;T==null||(ce=T.onValuesChange)===null||ce===void 0||ce.call(T,le(ve,!!C),le(he,!!C))},className:G(e.className,X,ee),onFinish:pe,children:L.jsx(N6e,E(E({transformKey:le,autoComplete:"off",loading:_,onUrlSearchChange:H},e),{},{formRef:N,initialValues:E(E({},w),K)}))}))})})})}))}var _6e=function(t){var n;return n={},A(n,"".concat(t.componentCls,"-collapse-label"),{paddingInline:1,paddingBlock:1}),A(n,"".concat(t.componentCls,"-container"),A({},"".concat(t.antCls,"-form-item"),{marginBlockEnd:0})),n};function k6e(e){return wn("LightWrapper",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[_6e(n)]})}var F6e=["label","size","disabled","onChange","className","style","children","valuePropName","placeholder","labelFormatter","bordered","footerRender","allowClear","otherFieldProps","valueType","placement"],D6e=function(t){var n,r=t.label,o=t.size,a=t.disabled,i=t.onChange,l=t.className,s=t.style,u=t.children,d=t.valuePropName,f=t.placeholder,v=t.labelFormatter,p=t.bordered,m=t.footerRender,y=t.allowClear,h=t.otherFieldProps,g=t.valueType,b=t.placement,C=Oe(t,F6e),x=c.useContext(nt.ConfigContext),S=x.getPrefixCls,w=S("pro-field-light-wrapper"),$=k6e(w),O=$.wrapSSR,P=$.hashId,R=c.useState(t[d]),T=U(R,2),N=T[0],M=T[1],I=bt(!1),_=U(I,2),k=_[0],F=_[1],D=function(){for(var B,V=arguments.length,K=new Array(V),W=0;W div":{width:"100%"}}})),A(n,"@media (min-width: ".concat(t.screenMDMin,"px)"),A({},t.componentCls,{"&-container":{paddingInline:0,paddingBlockStart:128,paddingBlockEnd:24,backgroundRepeat:"no-repeat",backgroundPosition:"center 110px",backgroundSize:"100%"}})),A(n,"@media (max-width: ".concat(t.screenSM,"px)"),A({},t.componentCls,{"&-main":{width:"95%",maxWidth:"328px"}})),n};function A6e(e){return wn("LoginFormPage",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[L6e(n)]})}var j6e=["logo","message","style","activityConfig","backgroundImageUrl","title","subTitle","actions","children"];function z6e(e){var t=e.logo,n=e.message,r=e.style,o=e.activityConfig,a=o===void 0?{}:o,i=e.backgroundImageUrl,l=e.title,s=e.subTitle,u=e.actions,d=e.children,f=Oe(e,j6e),v=Bn(),p=function(){var $,O;return f.submitter===!1||(($=f.submitter)===null||$===void 0?void 0:$.submitButtonProps)===!1?!1:E({size:"large",style:{width:"100%"}},(O=f.submitter)===null||O===void 0?void 0:O.submitButtonProps)},m=E(E({searchConfig:{submitText:v.getMessage("loginForm.submitText","登录")},render:function($,O){return O.pop()}},f.submitter),{},{submitButtonProps:p()}),y=c.useContext(nt.ConfigContext),h=y.getPrefixCls("pro-form-login-page"),g=A6e(h),b=g.wrapSSR,C=g.hashId,x=function($){return"".concat(h,"-").concat($," ").concat(C)},S=c.useMemo(function(){return t?typeof t=="string"?L.jsx("img",{src:t}):t:null},[t]);return b(L.jsxs("div",{className:G(h,C),style:E(E({},r),{},{backgroundImage:'url("'.concat(i,'")')}),children:[L.jsx("div",{className:x("notice"),children:a&&L.jsxs("div",{className:x("notice-activity"),style:a.style,children:[a.title&&L.jsxs("div",{className:x("notice-activity-title"),children:[" ",a.title," "]}),a.subTitle&&L.jsxs("div",{className:x("notice-activity-subTitle"),children:[" ",a.subTitle," "]}),a.action&&L.jsxs("div",{className:x("notice-activity-action"),children:[" ",a.action," "]})]})}),L.jsxs("div",{className:x("container"),children:[L.jsxs("div",{className:x("top"),children:[l||S?L.jsxs("div",{className:x("header"),children:[S?L.jsx("span",{className:x("logo"),children:S}):null,l?L.jsx("span",{className:x("title"),children:l}):null]}):null,s?L.jsx("div",{className:x("desc"),children:s}):null]}),L.jsxs("div",{className:x("main"),children:[L.jsxs(ll,E(E({isKeyPressSubmit:!0},f),{},{submitter:m,children:[n,d]})),u?L.jsx("div",{className:x("other"),children:u}):null]})]})]}))}function H6e(e,t){return K6e(e)||W6e(e,t)||V6e(e,t)||B6e()}function B6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V6e(e,t){if(e){if(typeof e=="string")return b5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b5(e,t)}}function b5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u",n=c.useState(function(){return t?!1:window.matchMedia(e).matches}),r=H6e(n,2),o=r[0],a=r[1];return c.useLayoutEffect(function(){if(!t){var i=window.matchMedia(e),l=function(u){return a(u.matches)};return i.addListener(l),function(){return i.removeListener(l)}}},[e]),o}function U6e(e,t){return q6e(e)||X6e(e,t)||G6e(e,t)||Y6e()}function Y6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G6e(e,t){if(e){if(typeof e=="string")return C5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C5(e,t)}}function C5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u")return t;var n=Object.keys(Ei).find(function(r){var o=Ei[r].matchMedia;return!!window.matchMedia(o).matches});return t=n,t},Z6e=function(){var t=Ts(Ei.md.matchMedia),n=Ts(Ei.lg.matchMedia),r=Ts(Ei.xxl.matchMedia),o=Ts(Ei.xl.matchMedia),a=Ts(Ei.sm.matchMedia),i=Ts(Ei.xs.matchMedia),l=c.useState(Q6e()),s=U6e(l,2),u=s[0],d=s[1];return c.useEffect(function(){if(r){d("xxl");return}if(o){d("xl");return}if(n){d("lg");return}if(t){d("md");return}if(a){d("sm");return}if(i){d("xs");return}d("md")},[t,n,r,o,a,i]),u},x5=c.createContext({}),J6e=["isLoading","pastDelay","timedOut","error","retry"],ePe=function(t){t.isLoading,t.pastDelay,t.timedOut,t.error,t.retry;var n=Oe(t,J6e);return L.jsx("div",{style:{paddingBlockStart:100,textAlign:"center"},children:L.jsx(al,E({size:"large"},n))})},tPe=function(t){return A({},t.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:t.colorTextSecondary,"&-link":{color:t.colorTextSecondary,textDecoration:t.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8,"&:hover":{color:t.colorText}}},"&-copyright":{fontSize:"14px",color:t.colorText}})};function nPe(e){return wn("ProLayoutFooter",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[tPe(n)]})}var rPe=function(t){var n=t.className,r=t.prefixCls,o=t.links,a=t.copyright,i=t.style,l=c.useContext(nt.ConfigContext),s=l.getPrefixCls(r||"pro-global-footer"),u=nPe(s),d=u.wrapSSR,f=u.hashId;return(o==null||o===!1||Array.isArray(o)&&o.length===0)&&(a==null||a===!1)?null:d(L.jsxs("div",{className:G(s,f,n),style:i,children:[o&&L.jsx("div",{className:"".concat(s,"-list ").concat(f),children:o.map(function(v){return L.jsx("a",{className:"".concat(s,"-list-link ").concat(f),title:v.key,target:v.blankTarget?"_blank":"_self",href:v.href,rel:"noreferrer",children:v.title},v.key)})}),a&&L.jsx("div",{className:"".concat(s,"-copyright ").concat(f),children:a})]}))},oPe=_c.Footer,aPe=function(t){var n=t.links,r=t.copyright,o=t.style,a=t.className,i=t.prefixCls;return L.jsx(oPe,{className:a,style:E({padding:0},o),children:L.jsx(rPe,{links:n,prefixCls:i,copyright:r===!1?null:L.jsxs(c.Fragment,{children:[L.jsx(Ooe,{})," ",r]})})})},iPe=function(t){var n,r,o,a,i,l;return A({},"".concat(t.proComponentsCls,"-layout"),A({},"".concat(t.antCls,"-layout-header").concat(t.componentCls),{height:(t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(t.colorSplit),backgroundColor:(t==null||(i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:t.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function lPe(e){return wn("ProLayoutHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[iPe(n)]})}var S5=function e(t){return(t||[]).reduce(function(n,r){if(r.key&&n.push(r.key),r.children||r.routes){var o=n.concat(e(r.children||r.routes)||[]);return o}return n},[])};function Zg(e){return e.map(function(t){var n=t.children||[],r=E({},t);if(!r.children&&r.routes&&(r.children=r.routes),!r.name||r.hideInMenu)return null;if(r&&r!==null&&r!==void 0&&r.children){if(!r.hideChildrenInMenu&&n.some(function(o){return o&&o.name&&!o.hideInMenu}))return E(E({},t),{},{children:Zg(n)});delete r.children}return delete r.routes,r}).filter(function(t){return t})}var sPe=function(){return L.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:L.jsx("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},cPe=function e(t){var n=t.appList,r=t.baseClassName,o=t.hashId,a=t.itemClick;return L.jsx("div",{className:"".concat(r,"-content ").concat(o),children:L.jsx("ul",{className:"".concat(r,"-content-list ").concat(o),children:n==null?void 0:n.map(function(i,l){var s;return i!=null&&(s=i.children)!==null&&s!==void 0&&s.length?L.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(o),children:[L.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(o),children:i.title}),L.jsx(e,{hashId:o,itemClick:a,appList:i==null?void 0:i.children,baseClassName:r})]}):L.jsx("li",{className:"".concat(r,"-content-list-item ").concat(o),children:L.jsxs("a",{href:a?"javascript:;":i.url,onClick:function(){return a==null?void 0:a(i)},target:i.target,rel:"noreferrer",children:[hw(i.icon),L.jsxs("div",{children:[L.jsx("div",{children:i.title}),i.desc?L.jsx("span",{children:i.desc}):null]})]})},l)})})})},uPe=function(t,n){if(t&&typeof t=="string"&&HS(t))return L.jsx("img",{src:t,alt:"logo"});if(typeof t=="function")return t();if(t&&typeof t=="string")return L.jsx("div",{id:"avatarLogo",children:t});if(!t&&n&&typeof n=="string"){var r=n.substring(0,1);return L.jsx("div",{id:"avatarLogo",children:r})}return t},dPe=function e(t){var n=t.appList,r=t.baseClassName,o=t.hashId,a=t.itemClick;return L.jsx("div",{className:"".concat(r,"-content ").concat(o),children:L.jsx("ul",{className:"".concat(r,"-content-list ").concat(o),children:n==null?void 0:n.map(function(i,l){var s;return i!=null&&(s=i.children)!==null&&s!==void 0&&s.length?L.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(o),children:[L.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(o),children:i.title}),L.jsx(e,{hashId:o,itemClick:a,appList:i==null?void 0:i.children,baseClassName:r})]}):L.jsx("li",{className:"".concat(r,"-content-list-item ").concat(o),children:L.jsxs("a",{href:a?"javascript:;":i.url,onClick:function(){return a==null?void 0:a(i)},target:i.target,rel:"noreferrer",children:[uPe(i.icon,i.title),L.jsx("div",{children:L.jsx("div",{children:i.title})})]})},l)})})})},fPe=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},"* div":_1==null?void 0:_1(t),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},vPe=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:t.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:t.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},pPe=function(t){var n,r,o,a,i;return A({},t.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:t==null||(n=t.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,"&:hover":{color:t==null||(r=t.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:t==null||(o=t.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover},"&-active":{color:t==null||(a=t.layout)===null||a===void 0?void 0:a.colorTextAppListIconHover,backgroundColor:t==null||(i=t.layout)===null||i===void 0?void 0:i.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":A({},"".concat(t.antCls,"-popover-arrow"),{display:"none"}),"&-simple":vPe(t),"&-default":fPe(t)})};function mPe(e){return wn("AppsLogoComponents",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[pPe(n)]})}var hw=function(t){return typeof t=="string"?L.jsx("img",{width:"auto",height:22,src:t,alt:"logo"}):typeof t=="function"?t():t},gw=function(t){var n,r=t.appList,o=t.prefixCls,a=o===void 0?"ant-pro":o,i=t.itemClick,l=Z.useRef(null),s=Z.useRef(null),u="".concat(a,"-layout-apps"),d=mPe(u),f=d.wrapSSR,v=d.hashId,p=c.useState(!1),m=U(p,2),y=m[0],h=m[1],g=function(S){i==null||i(S,s)},b=c.useMemo(function(){var x=r==null?void 0:r.some(function(S){return!(S!=null&&S.desc)});return x?L.jsx(dPe,{hashId:v,appList:r,itemClick:i?g:void 0,baseClassName:"".concat(u,"-simple")}):L.jsx(cPe,{hashId:v,appList:r,itemClick:i?g:void 0,baseClassName:"".concat(u,"-default")})},[r,u,v]);if(!(t!=null&&(n=t.appList)!==null&&n!==void 0&&n.length))return null;var C=Og(void 0,function(x){return h(x)});return f(L.jsxs(L.Fragment,{children:[L.jsx("div",{ref:l,onClick:function(S){S.stopPropagation(),S.preventDefault()}}),L.jsx(Rf,E(E({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},C),{},{overlayClassName:"".concat(u,"-popover ").concat(v),content:b,getPopupContainer:function(){return l.current||document.body},children:L.jsx("span",{ref:s,onClick:function(S){S.stopPropagation()},className:G("".concat(u,"-icon"),v,A({},"".concat(u,"-icon-active"),y)),children:L.jsx(sPe,{})})}))]}))};function hPe(){return L.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:L.jsx("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var gPe=function(t){var n,r,o,a,i,l;return A({},t.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:t==null||(n=t.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorTextCollapsedButton,backgroundColor:t==null||(o=t.layout)===null||o===void 0||(a=o.sider)===null||a===void 0?void 0:a.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:t==null||(i=t.layout)===null||i===void 0||(l=i.sider)===null||l===void 0?void 0:l.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function yPe(e){return wn("SiderMenuCollapsedIcon",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[gPe(n)]})}var bPe=["isMobile","collapsed"],CPe=function(t){var n,r=t.isMobile,o=t.collapsed,a=Oe(t,bPe),i=yPe(t.className),l=i.wrapSSR,s=i.hashId;return r&&o?null:l(L.jsx("div",E(E({},a),{},{className:G(t.className,s,(n={},A(n,"".concat(t.className,"-collapsed"),o),A(n,"".concat(t.className,"-is-mobile"),r),n)),children:L.jsx(hPe,{})})))},J_={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},xPe=function(t,n){var r,o,a,i,l,s,u,d=n.includes("horizontal")?(r=t.layout)===null||r===void 0?void 0:r.header:(o=t.layout)===null||o===void 0?void 0:o.sider;return A({},"".concat(t.componentCls),(u={background:"transparent",color:d==null?void 0:d.colorTextMenu,border:"none"},A(u,"".concat(t.componentCls,"-menu-item"),{transition:"none !important"}),A(u,"".concat(t.componentCls,"-submenu-has-icon"),A({},"> ".concat(t.antCls,"-menu-sub"),{paddingInlineStart:10})),A(u,"".concat(t.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),A(u,"".concat(t.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),A(u,"&&-collapsed",(a={},A(a,"".concat(t.antCls,`-menu-item, + `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,`-menu-item, + `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu > ").concat(t.antCls,`-menu-submenu-title, + `).concat(t.antCls,"-menu-submenu > ").concat(t.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),A(a,"".concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu-selected > ").concat(t.antCls,`-menu-submenu-title, + `).concat(t.antCls,"-menu-submenu-selected > ").concat(t.antCls,"-menu-submenu-title"),{backgroundColor:d==null?void 0:d.colorBgMenuItemSelected,borderRadius:t.borderRadiusLG}),A(a,"".concat(t.componentCls,"-group"),A({},"".concat(t.antCls,"-menu-item-group-title"),{paddingInline:0})),a)),A(u,"".concat(t.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",lineHeight:"14px","> span.anticon":{lineHeight:"14px!important",height:"14px"}}),A(u,"& &-item-title",(s={display:"flex",flexDirection:"row",alignItems:"center",gap:8,color:d==null?void 0:d.colorTextMenu,"&-collapsed":(i={flexDirection:"column",justifyContent:"center",minWidth:40,height:40},A(i,"".concat(t.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),A(i,"".concat(t.componentCls,"-item-text"),{maxWidth:"100%"}),A(i,"".concat(t.componentCls,"-item-text-has-icon"),{display:"none !important"}),i)},A(s,"&".concat(t.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),A(s,"&".concat(t.componentCls,"-item-collapsed-show-title"),A({lineHeight:"16px",height:"48px"},"&".concat(t.componentCls,"-item-title-collapsed"),(l={display:"flex"},A(l,"".concat(t.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),A(l,"".concat(t.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),l))),s)),A(u,"&-group",A({},"".concat(t.antCls,"-menu-item-group-title"),{fontSize:12,color:t.colorTextLabel,".anticon":{marginInlineEnd:8}})),A(u,"&-group-divider",{color:t.colorTextSecondary,fontSize:12,lineHeight:20}),u))};function SPe(e,t){return wn("ProLayoutBaseMenu"+t,function(n){var r=E(E({},n),{},{componentCls:".".concat(e)});return[xPe(r,t||"inline")]})}var ek=VT({scriptUrl:J_.iconfontUrl}),w5=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",r=arguments.length>2?arguments[2]:void 0;if(typeof t=="string"&&t!==""){if(HS(t)||iue(t))return L.jsx("img",{width:16,src:t,alt:"icon",className:r},t);if(t.startsWith(n))return L.jsx(ek,{type:t})}return t},$5=function(t){if(t&&typeof t=="string"){var n=t.substring(0,1).toUpperCase();return n}return null},wPe=Dn(function e(t){var n=this;Fn(this,e),A(this,"props",void 0),A(this,"getNavMenuItems",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;return r.map(function(a){return n.getSubMenuOrItem(a,o)}).filter(function(a){return a}).flat(1)}),A(this,"getSubMenuOrItem",function(r,o){var a=n.props,i=a.subMenuItemRender,l=a.baseClassName,s=a.prefixCls,u=a.collapsed,d=a.menu,f=a.iconPrefixes,v=a.layout,p=(d==null?void 0:d.type)==="group"&&v!=="top",m=n.props.token,y=n.getIntlName(r),h=(r==null?void 0:r.children)||(r==null?void 0:r.routes),g=p&&o===0?"group":void 0;if(Array.isArray(h)&&h.length>0){var b,C,x,S,w,$,O,P,R=o===0||p&&o===1,T=w5(r.icon,f,"".concat(l,"-icon ").concat((b=n.props)===null||b===void 0?void 0:b.hashId)),N=u&&R?$5(y):null,M=L.jsxs("div",{className:G("".concat(l,"-item-title"),(C=n.props)===null||C===void 0?void 0:C.hashId,(x={},A(x,"".concat(l,"-item-title-collapsed"),u),A(x,"".concat(l,"-group-item-title"),g==="group"),A(x,"".concat(l,"-item-collapsed-show-title"),(d==null?void 0:d.collapsedShowTitle)&&u),x)),children:[g==="group"&&u?null:R&&T?L.jsx("span",{className:"".concat(l,"-item-icon ").concat((S=n.props)===null||S===void 0?void 0:S.hashId),children:T}):N,L.jsx("span",{className:G("".concat(l,"-item-text"),(w=n.props)===null||w===void 0?void 0:w.hashId,A({},"".concat(l,"-item-text-has-icon"),g!=="group"&&R&&(T||N))),children:y})]}),I=i?i(E(E({},r),{},{isUrl:!1}),M,n.props):M,_=n.getNavMenuItems(h,o+1);return p&&o===0&&n.props.collapsed&&!d.collapsedShowGroupTitle?_:[{type:g,key:r.key||r.path,label:I,onClick:p?void 0:r.onTitleClick,children:_,className:G(($={},A($,"".concat(l,"-group"),g==="group"),A($,"".concat(l,"-submenu"),g!=="group"),A($,"".concat(l,"-submenu-has-icon"),g!=="group"&&R&&T),$))},p&&o===0?{type:"divider",prefixCls:s,className:"".concat(l,"-divider"),key:(r.key||r.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:m==null||(O=m.layout)===null||O===void 0||(P=O.sider)===null||P===void 0?void 0:P.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),disabled:r.disabled,key:r.key||r.path,onClick:r.onTitleClick,label:n.getMenuItemPath(r,o)}}),A(this,"getIntlName",function(r){var o=r.name,a=r.locale,i=n.props,l=i.menu,s=i.formatMessage;return a&&(l==null?void 0:l.locale)!==!1?s==null?void 0:s({id:a,defaultMessage:o}):o}),A(this,"getMenuItemPath",function(r,o){var a,i,l,s,u,d=n.conversionPath(r.path||"/"),f=n.props,v=f.location,p=v===void 0?{pathname:"/"}:v,m=f.isMobile,y=f.onCollapse,h=f.menuItemRender,g=f.iconPrefixes,b=n.getIntlName(r),C=n.props,x=C.baseClassName,S=C.menu,w=C.collapsed,$=(S==null?void 0:S.type)==="group",O=o===0||$&&o===1,P=O?w5(r.icon,g,"".concat(x,"-icon ").concat((a=n.props)===null||a===void 0?void 0:a.hashId)):null,R=w&&O?$5(b):null,T=L.jsxs("div",{className:G("".concat(x,"-item-title"),(i=n.props)===null||i===void 0?void 0:i.hashId,(l={},A(l,"".concat(x,"-item-title-collapsed"),w),A(l,"".concat(x,"-item-collapsed-show-title"),(S==null?void 0:S.collapsedShowTitle)&&w),l)),children:[P?L.jsx("span",{className:"".concat(x,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId),children:P}):R,L.jsx("span",{className:G("".concat(x,"-item-text"),(u=n.props)===null||u===void 0?void 0:u.hashId,A({},"".concat(x,"-item-text-has-icon"),O&&(P||R))),children:b})]},d),N=HS(d);if(N){var M,I,_,k;T=L.jsxs("span",{onClick:function(){var j,H;(j=window)===null||j===void 0||(H=j.open)===null||H===void 0||H.call(j,d,"_blank")},className:G("".concat(x,"-item-title"),(M=n.props)===null||M===void 0?void 0:M.hashId,(I={},A(I,"".concat(x,"-item-title-collapsed"),w),A(I,"".concat(x,"-item-link"),!0),A(I,"".concat(x,"-item-collapsed-show-title"),(S==null?void 0:S.collapsedShowTitle)&&w),I)),children:[P?L.jsx("span",{className:"".concat(x,"-item-icon ").concat((_=n.props)===null||_===void 0?void 0:_.hashId),children:P}):R,L.jsx("span",{className:G("".concat(x,"-item-text"),(k=n.props)===null||k===void 0?void 0:k.hashId,A({},"".concat(x,"-item-text-has-icon"),O&&(P||R))),children:b})]},d)}if(h){var F=E(E({},r),{},{isUrl:N,itemPath:d,isMobile:m,replace:d===p.pathname,onClick:function(){return y&&y(!0)},children:void 0});return h(F,T,n.props)}return T}),A(this,"conversionPath",function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")}),this.props=t}),$Pe=function(t,n){var r=n.layout,o=n.collapsed,a={};return t&&!o&&["side","mix"].includes(r||"mix")&&(a={openKeys:t}),a},tk=function(t){var n,r=t.mode,o=t.className,a=t.handleOpenChange,i=t.style,l=t.menuData,s=t.prefixCls,u=t.menu,d=t.matchMenuKeys,f=t.iconfontUrl,v=t.selectedKeys,p=t.onSelect,m=t.menuRenderType,y=t.openKeys,h=c.useContext(ci),g=h.dark,b=h.token,C="".concat(s,"-base-menu-").concat(r),x=c.useRef([]),S=bt(u==null?void 0:u.defaultOpenAll),w=U(S,2),$=w[0],O=w[1],P=bt(function(){return u!=null&&u.defaultOpenAll?S5(l)||[]:y===!1?!1:[]},{value:y===!1?void 0:y,onChange:a}),R=U(P,2),T=R[0],N=R[1],M=bt([],{value:v,onChange:p?function(V){p&&V&&p(V)}:void 0}),I=U(M,2),_=I[0],k=I[1];c.useEffect(function(){u!=null&&u.defaultOpenAll||y===!1||d&&(N(d),k(d))},[d.join("-")]),c.useEffect(function(){f&&(ek=VT({scriptUrl:f}))},[f]),c.useEffect(function(){if(d.join("-")!==(_||[]).join("-")&&k(d),!$&&y!==!1&&d.join("-")!==(T||[]).join("-")){var V=d;(u==null?void 0:u.autoClose)===!1&&(V=Array.from(new Set([].concat(xe(d),xe(T||[]))))),N(V)}else u!=null&&u.ignoreFlatMenu&&$?N(S5(l)):O(!1)},[d.join("-")]);var F=c.useMemo(function(){return $Pe(T,t)},[T&&T.join(","),t.layout,t.collapsed]),D=SPe(C,r),j=D.wrapSSR,H=D.hashId,z=c.useMemo(function(){return new wPe(E(E({},t),{},{token:b,menuRenderType:m,baseClassName:C,hashId:H}))},[t,b,m,C,H]);if(u!=null&&u.loading)return L.jsx("div",{style:r!=null&&r.includes("inline")?{padding:24}:{marginBlockStart:16},children:L.jsx(TZ,{active:!0,title:!1,paragraph:{rows:r!=null&&r.includes("inline")?6:1}})});t.openKeys===!1&&!t.handleOpenChange&&(x.current=d);var B=t.postMenuData?t.postMenuData(l):l;return B&&(B==null?void 0:B.length)<1?null:j(c.createElement(oS,E(E({},F),{},{key:"Menu",mode:r,inlineIndent:16,defaultOpenKeys:x.current,theme:g?"dark":"light",selectedKeys:_,style:E({backgroundColor:"transparent",border:"none"},i),className:G(o,H,C,(n={},A(n,"".concat(C,"-horizontal"),r==="horizontal"),A(n,"".concat(C,"-collapsed"),t.collapsed),n)),items:z.getNavMenuItems(B,0),onOpenChange:function(K){t.collapsed||N(K)}},t.menuProps)))};function EPe(e,t){var n=t.stylish,r=t.proLayoutCollapsedWidth;return wn("ProLayoutSiderMenuStylish",function(o){var a=E(E({},o),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return n?[A({},"div".concat(o.proComponentsCls,"-layout"),A({},"".concat(a.componentCls),n==null?void 0:n(a)))]:[]})}var PPe=["title","render"],OPe=_c.Sider,yw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=t.logo,o=t.title,a=t.layout,i=t[n||""];if(i===!1)return null;var l=hw(r),s=L.jsx("h1",{children:o??"Ant Design Pro"});return i?i(l,t.collapsed?null:s,t):t.isMobile?null:a==="mix"&&n==="menuHeaderRender"?!1:t.collapsed?L.jsx("a",{children:l},"title"):L.jsxs("a",{children:[l,s]},"title")},E5=function(t){var n,r,o=t.collapsed,a=t.originCollapsed,i=t.fixSiderbar,l=t.menuFooterRender,s=t.onCollapse,u=t.theme,d=t.siderWidth,f=t.isMobile,v=t.onMenuHeaderClick,p=t.breakpoint,m=p===void 0?"lg":p,y=t.style,h=t.layout,g=t.menuExtraRender,b=g===void 0?!1:g,C=t.links,x=t.menuContentRender,S=t.collapsedButtonRender,w=t.prefixCls,$=t.avatarProps,O=t.rightContentRender,P=t.actionsRender,R=t.onOpenChange,T=t.stylish,N=t.logoStyle,M=c.useContext(ci),I=M.hashId,_=c.useMemo(function(){return!(f||h==="mix")},[f,h]),k="".concat(w,"-sider"),F=64,D=EPe("".concat(k,".").concat(k,"-stylish"),{stylish:T,proLayoutCollapsedWidth:F}),j=G("".concat(k),I,(n={},A(n,"".concat(k,"-fixed"),i),A(n,"".concat(k,"-fixed-mix"),h==="mix"&&!f&&i),A(n,"".concat(k,"-collapsed"),t.collapsed),A(n,"".concat(k,"-layout-").concat(h),h&&!f),A(n,"".concat(k,"-light"),u!=="dark"),A(n,"".concat(k,"-mix"),h==="mix"&&!f),A(n,"".concat(k,"-stylish"),!!T),n)),H=yw(t),z=b&&b(t),B=c.useMemo(function(){return x!==!1&&c.createElement(tk,E(E({},t),{},{key:"base-menu",mode:"inline",handleOpenChange:R,style:{width:"100%"},className:"".concat(k,"-menu ").concat(I)}))},[k,I,x,R,t]),V=(C||[]).map(function(te,J){return{className:"".concat(k,"-link"),label:te,key:J}}),K=c.useMemo(function(){return x?x(t,B):B},[x,B,t]),W=c.useMemo(function(){if(!$)return null;var te=$.title,J=$.render,ne=Oe($,PPe),oe=L.jsxs("div",{className:"".concat(k,"-actions-avatar"),children:[L.jsx(V2,E({size:28},ne)),$.title&&!o&&L.jsx("span",{children:te})]});return J?J($,oe):oe},[$,k,o]),Y=c.useMemo(function(){return P?L.jsx(ol,{align:"center",size:4,direction:o?"vertical":"horizontal",className:G(["".concat(k,"-actions-list"),o&&"".concat(k,"-actions-list-collapsed"),I]),children:P==null?void 0:P(t).map(function(te,J){return L.jsx("div",{className:"".concat(k,"-actions-list-item ").concat(I),children:te},J)})}):null},[P,k,o]),X=c.useMemo(function(){return L.jsx(gw,{itemClick:t.itemClick,appList:t.appList,prefixCls:t.prefixCls})},[t.appList,t.prefixCls]),Q=c.useMemo(function(){if(S===!1)return null;var te=L.jsx(CPe,{isMobile:f,collapsed:a,className:"".concat(k,"-collapsed-button"),onClick:function(){s==null||s(!a)}});return S?S(o,te):te},[S,f,a,k,o,s]),ae=c.useMemo(function(){return!W&&!Y?null:L.jsxs("div",{className:G("".concat(k,"-actions"),I,o&&"".concat(k,"-actions-collapsed")),children:[W,Y]})},[Y,W,k,o,I]),ee=c.useMemo(function(){var te;return t!=null&&(te=t.menu)!==null&&te!==void 0&&te.hideMenuWhenCollapsed&&o?"".concat(k,"-hide-menu-collapsed"):null},[k,o,t==null||(r=t.menu)===null||r===void 0?void 0:r.hideMenuWhenCollapsed]),q=l&&(l==null?void 0:l(t)),re=L.jsxs(L.Fragment,{children:[H&&L.jsxs("div",{className:G([G("".concat(k,"-logo"),I,A({},"".concat(k,"-logo-collapsed"),o))]),onClick:_?v:void 0,id:"logo",style:N,children:[H,X]}),z&&L.jsx("div",{className:G(["".concat(k,"-extra"),!H&&"".concat(k,"-extra-no-logo"),I]),children:z}),L.jsx("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:K}),C?L.jsx("div",{className:"".concat(k,"-links ").concat(I),children:L.jsx(oS,{inlineIndent:16,className:"".concat(k,"-link-menu ").concat(I),selectedKeys:[],openKeys:[],theme:u,mode:"inline",items:V})}):null,_&&L.jsxs(L.Fragment,{children:[ae,!Y&&O?L.jsx("div",{className:G("".concat(k,"-actions"),I,A({},"".concat(k,"-actions-collapsed"),o)),children:O==null?void 0:O(t)}):null]}),q&&L.jsx("div",{className:G(["".concat(k,"-footer"),I,A({},"".concat(k,"-footer-collapsed"),o)]),children:q})]});return D.wrapSSR(L.jsxs(L.Fragment,{children:[i&&!f&&!ee&&L.jsx("div",{style:E({width:o?F:d,overflow:"hidden",flex:"0 0 ".concat(o?F:d,"px"),maxWidth:o?F:d,minWidth:o?F:d,transition:"all 0.2s ease 0s"},y)}),L.jsxs(OPe,{collapsible:!0,trigger:null,collapsed:o,breakpoint:m===!1?void 0:m,onCollapse:function(J){f||s==null||s(J)},collapsedWidth:F,style:y,theme:u,width:d,className:G(j,I,ee),children:[ee?L.jsx("div",{className:"".concat(k,"-hide-when-collapsed ").concat(I),style:{height:"100%",width:"100%",opacity:ee?0:1},children:re}):re,Q]})]}))},MPe=function(t){var n,r,o,a,i,l;return A({},t.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:t.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:t.borderRadius,"&:hover":{backgroundColor:t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:t.padding,paddingInlineEnd:t.padding,cursor:"pointer",color:t.colorTextSecondary,"> div":{height:"44px",color:t.colorTextSecondary,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:t.borderRadius,"&:hover":{backgroundColor:t==null||(i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgRightActionsItemHover}}}}})};function RPe(e){return wn("ProLayoutRightContent",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[MPe(n)]})}var IPe=["rightContentRender","avatarProps","actionsRender","headerContentRender"],NPe=["title","render"],nk=function(t){var n=t.rightContentRender,r=t.avatarProps,o=t.actionsRender;t.headerContentRender;var a=Oe(t,IPe),i=c.useContext(nt.ConfigContext),l=i.getPrefixCls,s="".concat(l(),"-pro-global-header"),u=RPe(s),d=u.wrapSSR,f=u.hashId,v=c.useState("auto"),p=U(v,2),m=p[0],y=p[1],h=c.useMemo(function(){if(!r)return null;var x=r.title,S=r.render,w=Oe(r,NPe),$=[c.createElement(V2,E(E({},w),{},{size:28,key:"avatar"})),x?L.jsx("span",{style:{marginInlineStart:8},children:x},"name"):void 0];return S?S(r,L.jsx("div",{children:$})):L.jsx("div",{children:$})},[r]),g=o||h?function(x){var S=o&&(o==null?void 0:o(x));return!S&&!h?null:(Array.isArray(S)||(S=[S]),d(L.jsxs("div",{className:"".concat(s,"-header-actions ").concat(f),children:[S.filter(Boolean).map(function(w,$){var O=!1;if(Z.isValidElement(w)){var P;O=!!(w!=null&&(P=w.props)!==null&&P!==void 0&&P["aria-hidden"])}return L.jsx("div",{className:G("".concat(s,"-header-actions-item ").concat(f),A({},"".concat(s,"-header-actions-hover"),!O)),children:w},$)}),h&&L.jsx("span",{className:"".concat(s,"-header-actions-avatar ").concat(f),children:h})]})))}:void 0,b=qce(function(){var x=ir(Lt().mark(function S(w){return Lt().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:y(w);case 1:case"end":return O.stop()}},S)}));return function(S){return x.apply(this,arguments)}}(),160),C=g||n;return L.jsx("div",{className:"".concat(s,"-right-content ").concat(f),style:{minWidth:m,height:"100%"},children:L.jsx("div",{style:{height:"100%"},children:L.jsx(va,{onResize:function(S){var w=S.width;b.run(w)},children:C?L.jsx("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:C(E(E({},a),{},{rightContentSize:m}))}):null})})})},TPe=function(t){var n,r,o,a;return A({},t.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":A({display:"flex",alignItems:"center"},"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:t==null||(n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(((t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56)-12,"px")}})};function _Pe(e){return wn("ProLayoutTopNavHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[TPe(n)]})}var rk=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m=c.useRef(null),y=t.onMenuHeaderClick,h=t.contentWidth,g=t.rightContentRender,b=t.className,C=t.style,x=t.headerContentRender,S=t.layout,w=t.actionsRender,$=c.useContext(nt.ConfigContext),O=$.getPrefixCls,P=c.useContext(ci),R=P.dark,T=P.token,N="".concat(t.prefixCls||O("pro"),"-top-nav-header"),M=_Pe(N),I=M.wrapSSR,_=M.hashId,k=void 0;t.menuHeaderRender!==void 0?k="menuHeaderRender":(S==="mix"||S==="top")&&(k="headerTitleRender");var F=yw(E(E({},t),{},{collapsed:!1}),k),D=c.useMemo(function(){var j,H=L.jsx(tk,E(E(E({theme:R?"dark":"light"},t),{},{className:"".concat(N,"-base-menu ").concat(_)},t.menuProps),{},{style:E({width:"100%"},(j=t.menuProps)===null||j===void 0?void 0:j.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}));return x?x(t,H):H},[T==null||(n=T.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorBgHeader,T==null||(o=T.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorBgMenuItemSelected,T==null||(i=T.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorBgMenuItemHover,T==null||(s=T.layout)===null||s===void 0||(u=s.header)===null||u===void 0?void 0:u.colorTextMenu,T==null||(d=T.layout)===null||d===void 0||(f=d.header)===null||f===void 0?void 0:f.colorTextMenuActive,T==null||(v=T.layout)===null||v===void 0||(p=v.header)===null||p===void 0?void 0:p.colorTextMenuSelected,T==null?void 0:T.colorBgTextHover,T==null?void 0:T.colorTextSecondary,T==null?void 0:T.colorText,T==null?void 0:T.colorTextBase,t,N,_,x]);return I(L.jsx("div",{className:G(N,_,b,A({},"".concat(N,"-light"),!0)),style:C,children:L.jsxs("div",{ref:m,className:G("".concat(N,"-main"),_,A({},"".concat(N,"-wide"),h==="Fixed")),children:[F&&L.jsxs("div",{className:G("".concat(N,"-main-left ").concat(_)),onClick:y,children:[L.jsx(gw,E({},t)),L.jsx("div",{className:"".concat(N,"-logo ").concat(_),id:"logo",children:F},"logo")]}),L.jsx("div",{style:{flex:1},className:"".concat(N,"-menu ").concat(_),children:D}),(g||w||t.avatarProps)&&L.jsx(nk,E(E({rightContentRender:g},t),{},{prefixCls:N}))]})}))},kPe=function(t){var n,r,o,a,i,l,s;return A({},t.componentCls,(s={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=t.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},A(s,"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),A(s,"&-collapsed-button",{minHeight:"22px",color:t==null||(o=t.layout)===null||o===void 0||(a=o.header)===null||a===void 0?void 0:a.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),A(s,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((i=t.layout)===null||i===void 0||(l=i.header)===null||l===void 0?void 0:l.colorHeaderTitle)||t.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),A(s,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),s))};function FPe(e){return wn("ProLayoutGlobalHeader",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[kPe(n)]})}var DPe=function(t,n){return t===!1?null:t?t(n,null):n},LPe=function(t){var n,r=t.isMobile,o=t.logo,a=t.collapsed,i=t.onCollapse,l=t.rightContentRender,s=t.menuHeaderRender,u=t.onMenuHeaderClick,d=t.className,f=t.style,v=t.layout,p=t.children,m=t.splitMenus,y=t.menuData,h=t.prefixCls,g=c.useContext(nt.ConfigContext),b=g.getPrefixCls,C=g.direction,x="".concat(h||b("pro"),"-global-header"),S=FPe(x),w=S.wrapSSR,$=S.hashId,O=G(d,x,$);if(v==="mix"&&!r&&m){var P=(y||[]).map(function(M){return E(E({},M),{},{children:void 0,routes:void 0})}),R=Zg(P);return L.jsx(rk,E(E({mode:"horizontal"},t),{},{splitMenus:!1,menuData:R}))}var T=G("".concat(x,"-logo"),$,(n={},A(n,"".concat(x,"-logo-rtl"),C==="rtl"),A(n,"".concat(x,"-logo-mix"),v==="mix"),A(n,"".concat(x,"-logo-mobile"),r),n)),N=L.jsx("span",{className:T,children:L.jsx("a",{children:hw(o)})},"logo");return w(L.jsxs("div",{className:O,style:E({},f),children:[r&&L.jsx("span",{className:"".concat(x,"-collapsed-button ").concat($),onClick:function(){i==null||i(!a)},children:L.jsx(Voe,{})}),r&&DPe(s,N),v==="mix"&&!r&&L.jsxs(L.Fragment,{children:[L.jsx(gw,E({},t)),L.jsx("div",{className:T,onClick:u,children:yw(E(E({},t),{},{collapsed:!1}),"headerTitleRender")})]}),L.jsx("div",{style:{flex:1},children:p}),(l||t.actionsRender||t.avatarProps)&&L.jsx(nk,E({rightContentRender:l},t))]}))};function APe(e,t){var n=t.stylish,r=t.proLayoutCollapsedWidth;return wn("ProLayoutHeaderStylish",function(o){var a=E(E({},o),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return n?[A({},"div".concat(o.proComponentsCls,"-layout"),A({},"".concat(a.componentCls),n==null?void 0:n(a)))]:[]})}var P5=_c.Header,jPe=function(t){var n,r,o,a,i,l=t.isMobile,s=t.fixedHeader,u=t.className,d=t.style,f=t.collapsed,v=t.prefixCls,p=t.onCollapse,m=t.layout,y=t.headerRender,h=t.headerContentRender,g=c.useContext(ci),b=g.token,C=c.useCallback(function(){var N=m==="top",M=Zg(t.menuData||[]),I=L.jsx(LPe,E(E({onCollapse:p},t),{},{menuData:M,children:h&&h(t,null)}));return N&&!l&&(I=L.jsx(rk,E(E({mode:"horizontal",onCollapse:p},t),{},{menuData:M}))),y&&typeof y=="function"?y(t,I):I},[h,y,l,m,p,t]),x=s||m==="mix",S=m==="top",w="".concat(v,"-layout-header"),$=lPe(w),O=$.wrapSSR,P=$.hashId,R=APe("".concat(w,".").concat(w,"-stylish"),{proLayoutCollapsedWidth:64,stylish:t.stylish}),T=G(u,P,w,(n={},A(n,"".concat(w,"-fixed-header"),x),A(n,"".concat(w,"-mix"),m==="mix"),A(n,"".concat(w,"-fixed-header-action"),!f),A(n,"".concat(w,"-top-menu"),S),A(n,"".concat(w,"-header"),!0),A(n,"".concat(w,"-stylish"),!!t.stylish),n));return m==="side"&&!l?null:R.wrapSSR(O(L.jsx(L.Fragment,{children:L.jsxs(nt,{theme:{hashed:vc(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[x&&L.jsx(P5,{style:E({height:(b==null||(r=b.layout)===null||r===void 0||(o=r.header)===null||o===void 0?void 0:o.heightLayoutHeader)||56,lineHeight:"".concat((b==null||(a=b.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),L.jsx(P5,{className:T,style:d,children:C()})]})})))};const zPe={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success,please replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},HPe=E({},zPe),BPe={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalità di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello è visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},VPe=E({},BPe),WPe={"app.setting.pagestyle":"스타일 설정","app.setting.pagestyle.dark":"다크 모드","app.setting.pagestyle.light":"라이트 모드","app.setting.content-width":"컨텐츠 너비","app.setting.content-width.fixed":"고정","app.setting.content-width.fluid":"흐름","app.setting.themecolor":"테마 색상","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"네비게이션 모드","app.setting.regionalsettings":"영역별 설정","app.setting.regionalsettings.header":"헤더","app.setting.regionalsettings.menu":"메뉴","app.setting.regionalsettings.footer":"바닥글","app.setting.regionalsettings.menuHeader":"메뉴 헤더","app.setting.sidemenu":"메뉴 사이드 배치","app.setting.topmenu":"메뉴 상단 배치","app.setting.mixmenu":"혼합형 배치","app.setting.splitMenus":"메뉴 분리","app.setting.fixedheader":"헤더 고정","app.setting.fixedsidebar":"사이드바 고정","app.setting.fixedsidebar.hint":"'메뉴 사이드 배치'를 선택했을 때 동작함","app.setting.hideheader":"스크롤 중 헤더 감추기","app.setting.hideheader.hint":"'헤더 감추기 옵션'을 선택했을 때 동작함","app.setting.othersettings":"다른 설정","app.setting.weakmode":"고대비 모드","app.setting.copy":"설정값 복사","app.setting.loading":"테마 로딩 중","app.setting.copyinfo":"복사 성공. src/models/settings.js에 있는 defaultSettings를 교체해 주세요.","app.setting.production.hint":"설정 판넬은 개발 환경에서만 보여집니다. 직접 수동으로 변경바랍니다."},KPe=E({},WPe),UPe={"app.setting.pagestyle":"整体风格设置","app.setting.pagestyle.dark":"暗色菜单风格","app.setting.pagestyle.light":"亮色菜单风格","app.setting.pagestyle.realdark":"暗色风格(实验功能)","app.setting.content-width":"内容区域宽度","app.setting.content-width.fixed":"定宽","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主题色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"极光绿","app.setting.themecolor.techBlue":"科技蓝(默认)","app.setting.themecolor.daybreak":"拂晓","app.setting.themecolor.geekblue":"极客蓝","app.setting.themecolor.purple":"酱紫","app.setting.navigationmode":"导航模式","app.setting.sidermenutype":"侧边菜单类型","app.setting.sidermenutype-sub":"经典模式","app.setting.sidermenutype-group":"分组模式","app.setting.regionalsettings":"内容区域","app.setting.regionalsettings.header":"顶栏","app.setting.regionalsettings.menu":"菜单","app.setting.regionalsettings.footer":"页脚","app.setting.regionalsettings.menuHeader":"菜单头","app.setting.sidemenu":"侧边菜单布局","app.setting.topmenu":"顶部菜单布局","app.setting.mixmenu":"混合菜单布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定侧边菜单","app.setting.fixedsidebar.hint":"侧边菜单布局时可配置","app.setting.hideheader":"下滑时隐藏 Header","app.setting.hideheader.hint":"固定 Header 时可配置","app.setting.othersettings":"其他设置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷贝设置","app.setting.loading":"正在加载主题","app.setting.copyinfo":"拷贝成功,请到 src/defaultSettings.js 中替换默认配置","app.setting.production.hint":"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件"},YPe=E({},UPe),GPe={"app.setting.pagestyle":"整體風格設置","app.setting.pagestyle.dark":"暗色菜單風格","app.setting.pagestyle.realdark":"暗色風格(实验功能)","app.setting.pagestyle.light":"亮色菜單風格","app.setting.content-width":"內容區域寬度","app.setting.content-width.fixed":"定寬","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主題色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"極光綠","app.setting.themecolor.techBlue":"科技蓝(默認)","app.setting.themecolor.daybreak":"拂曉藍","app.setting.themecolor.geekblue":"極客藍","app.setting.themecolor.purple":"醬紫","app.setting.navigationmode":"導航模式","app.setting.sidemenu":"側邊菜單布局","app.setting.topmenu":"頂部菜單布局","app.setting.mixmenu":"混合菜單布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定側邊菜單","app.setting.fixedsidebar.hint":"側邊菜單布局時可配置","app.setting.hideheader":"下滑時隱藏 Header","app.setting.hideheader.hint":"固定 Header 時可配置","app.setting.othersettings":"其他設置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷貝設置","app.setting.loading":"正在加載主題","app.setting.copyinfo":"拷貝成功,請到 src/defaultSettings.js 中替換默認配置","app.setting.production.hint":"配置欄只在開發環境用於預覽,生產環境不會展現,請拷貝後手動修改配置文件"},XPe=E({},GPe);var O5={"zh-CN":YPe,"zh-TW":XPe,"en-US":HPe,"it-IT":VPe,"ko-KR":KPe},qPe=function(){if(!zS())return"zh-CN";var t=window.localStorage.getItem("umi_locale");return t||window.g_locale||navigator.language},QPe=function(){var t=qPe();return O5[t]||O5["zh-CN"]},mu={exports:{}};mu.exports=ck;mu.exports.parse=bw;mu.exports.compile=JPe;mu.exports.tokensToFunction=ik;mu.exports.tokensToRegExp=sk;var ok="/",ak="./",ZPe=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function bw(e,t){for(var n=[],r=0,o=0,a="",i=t&&t.delimiter||ok,l=t&&t.delimiters||ak,s=!1,u;(u=ZPe.exec(e))!==null;){var d=u[0],f=u[1],v=u.index;if(a+=e.slice(o,v),o=v+d.length,f){a+=f[1],s=!0;continue}var p="",m=e[o],y=u[2],h=u[3],g=u[4],b=u[5];if(!s&&a.length){var C=a.length-1;l.indexOf(a[C])>-1&&(p=a[C],a=a.slice(0,C))}a&&(n.push(a),a="",s=!1);var x=p!==""&&m!==void 0&&m!==p,S=b==="+"||b==="*",w=b==="?"||b==="*",$=p||i,O=h||g;n.push({name:y||r++,prefix:p,delimiter:$,optional:w,repeat:S,partial:x,pattern:O?e5e(O):"[^"+Si($)+"]+?"})}return(a||o-1;else{var p=v.repeat?"(?:"+v.pattern+")(?:"+Si(v.delimiter)+"(?:"+v.pattern+"))*":v.pattern;t&&t.push(v),v.optional?v.partial?u+=Si(v.prefix)+"("+p+")?":u+="(?:"+Si(v.prefix)+"("+p+"))?":u+=Si(v.prefix)+"("+p+")"}}return a?(r||(u+="(?:"+i+")?"),u+=s==="$"?"$":"(?="+s+")"):(r||(u+="(?:"+i+"(?="+s+"))?"),d||(u+="(?="+i+"|"+s+")")),new RegExp(u,lk(n))}function ck(e,t,n){return e instanceof RegExp?t5e(e,t):Array.isArray(e)?n5e(e,t,n):r5e(e,t,n)}var o5e=mu.exports;const VC=nr(o5e);var a5e=function(t,n,r){if(r){var o=xe(r.keys()).find(function(i){return VC(i).test(t)});if(o)return r.get(o)}if(n){var a=Object.keys(n).find(function(i){return VC(i).test(t)});if(a)return n[a]}return{path:""}},M5=function(t,n){var r=t.pathname,o=r===void 0?"/":r,a=t.breadcrumb,i=t.breadcrumbMap,l=t.formatMessage,s=t.title,u=t.menu,d=u===void 0?{locale:!1}:u,f=n?"":s||"",v=a5e(o,a,i);if(!v)return{title:f,id:"",pageName:f};var p=v.name;return d.locale!==!1&&v.locale&&l&&(p=l({id:v.locale||"",defaultMessage:v.name})),p?n||!s?{title:p,id:v.locale||"",pageName:p}:{title:"".concat(p," - ").concat(s),id:v.locale||"",pageName:p}:{title:f,id:v.locale||"",pageName:f}},Tr={};function WC(e){"@babel/helpers - typeof";return WC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},WC(e)}Object.defineProperty(Tr,"__esModule",{value:!0});var xd=Tr.pathToRegexp=Tr.tokensToRegexp=Tr.regexpToFunction=Tr.match=Tr.tokensToFunction=Tr.compile=Tr.parse=void 0;function i5e(e){for(var t=[],n=0;n=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){o+=e[a++];continue}break}if(!o)throw new TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:o}),n=a;continue}if(r==="("){var l=1,s="",a=n+1;if(e[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a-1:x===void 0;o||(p+="(?:"+v+"(?="+f+"))?"),S||(p+="(?="+v+"|"+f+")")}return new RegExp(p,xw(n))}Tr.tokensToRegexp=fk;function Sw(e,t,n){return e instanceof RegExp?c5e(e,t):Array.isArray(e)?u5e(e,t,n):d5e(e,t,n)}xd=Tr.pathToRegexp=Sw;function Na(e,t){return t>>>e|t<<32-e}function f5e(e,t,n){return e&t^~e&n}function v5e(e,t,n){return e&t^e&n^t&n}function p5e(e){return Na(2,e)^Na(13,e)^Na(22,e)}function m5e(e){return Na(6,e)^Na(11,e)^Na(25,e)}function h5e(e){return Na(7,e)^Na(18,e)^e>>>3}function g5e(e){return Na(17,e)^Na(19,e)^e>>>10}function y5e(e,t){return e[t&15]+=g5e(e[t+14&15])+e[t+9&15]+h5e(e[t+1&15])}var b5e=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Cn,Pr,Xn,C5e="0123456789abcdef";function R5(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function x5e(){Cn=new Array(8),Pr=new Array(2),Xn=new Array(64),Pr[0]=Pr[1]=0,Cn[0]=1779033703,Cn[1]=3144134277,Cn[2]=1013904242,Cn[3]=2773480762,Cn[4]=1359893119,Cn[5]=2600822924,Cn[6]=528734635,Cn[7]=1541459225}function KC(){var e,t,n,r,o,a,i,l,s,u,d=new Array(16);e=Cn[0],t=Cn[1],n=Cn[2],r=Cn[3],o=Cn[4],a=Cn[5],i=Cn[6],l=Cn[7];for(var f=0;f<16;f++)d[f]=Xn[(f<<2)+3]|Xn[(f<<2)+2]<<8|Xn[(f<<2)+1]<<16|Xn[f<<2]<<24;for(var v=0;v<64;v++)s=l+m5e(o)+f5e(o,a,i)+b5e[v],v<16?s+=d[v]:s+=y5e(d,v),u=p5e(e)+v5e(e,t,n),l=i,i=a,a=o,o=R5(r,s),r=n,n=t,t=e,e=R5(s,u);Cn[0]+=e,Cn[1]+=t,Cn[2]+=n,Cn[3]+=r,Cn[4]+=o,Cn[5]+=a,Cn[6]+=i,Cn[7]+=l}function S5e(e,t){var n,r,o=0;r=Pr[0]>>3&63;var a=t&63;for((Pr[0]+=t<<3)>29,n=0;n+63>3&63;if(Xn[e++]=128,e<=56)for(var t=e;t<56;t++)Xn[t]=0;else{for(var n=e;n<64;n++)Xn[n]=0;KC();for(var r=0;r<56;r++)Xn[r]=0}Xn[56]=Pr[1]>>>24&255,Xn[57]=Pr[1]>>>16&255,Xn[58]=Pr[1]>>>8&255,Xn[59]=Pr[1]&255,Xn[60]=Pr[0]>>>24&255,Xn[61]=Pr[0]>>>16&255,Xn[62]=Pr[0]>>>8&255,Xn[63]=Pr[0]&255,KC()}function $5e(){for(var e=new String,t=0;t<8;t++)for(var n=28;n>=0;n-=4)e+=C5e.charAt(Cn[t]>>>n&15);return e}function E5e(e){return x5e(),S5e(e,e.length),w5e(),$5e()}function UC(e){"@babel/helpers - typeof";return UC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},UC(e)}var P5e=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function O5e(e,t){return I5e(e)||R5e(e,t)||ww(e,t)||M5e()}function M5e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R5e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,i,l;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));o=!0);}catch(s){a=!0,l=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function I5e(e){if(Array.isArray(e))return e}function N5e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ww(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,l;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){i=!0,l=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}}}function T5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I5(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function A5e(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function df(e,t){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},df(e,t)}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(e)}function N5(e){return H5e(e)||z5e(e)||ww(e)||j5e()}function j5e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ww(e,t){if(e){if(typeof e=="string")return GC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return GC(e,t)}}function z5e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function H5e(e){if(Array.isArray(e))return GC(e)}function GC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function V5e(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}function T5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function qn(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return t.endsWith("/*")?t.replace("/*","/"):(t||n).startsWith("/")||$w(t)?t:"/".concat(n,"/").concat(t).replace(/\/\//g,"/").replace(/\/\//g,"/")},Y5e=function(t,n){var r=t.menu,o=r===void 0?{}:r,a=t.indexRoute,i=t.path,l=i===void 0?"":i,s=t.children||[],u=o.name,d=u===void 0?t.name:u,f=o.icon,v=f===void 0?t.icon:f,p=o.hideChildren,m=p===void 0?t.hideChildren:p,y=o.flatMenu,h=y===void 0?t.flatMenu:y,g=a&&Object.keys(a).join(",")!=="redirect"?[qn({path:l,menu:o},a)].concat(s||[]):s,b=qn({},t);if(d&&(b.name=d),v&&(b.icon=v),g&&g.length){if(m)return delete b.children,b;var C=Ew(qn(qn({},n),{},{data:g}),t);if(h)return C;delete b[uo]}return b},kl=function(t){return Array.isArray(t)&&t.length>0};function Ew(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=e.data,r=e.formatMessage,o=e.parentName,a=e.locale;return!n||!Array.isArray(n)?[]:n.filter(function(i){return i?kl(i.children)||i.path||i.originPath||i.layout?!0:(i.redirect||i.unaccessible,!1):!1}).filter(function(i){var l,s;return!(i==null||(l=i.menu)===null||l===void 0)&&l.name||i!=null&&i.flatMenu||!(i==null||(s=i.menu)===null||s===void 0)&&s.flatMenu?!0:i.menu!==!1}).map(function(i){var l=qn(qn({},i),{},{path:i.path||i.originPath});return!l.children&&l[uo]&&(l.children=l[uo],delete l[uo]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=i.children||i[uo]||[],s=pk(i.path,t?t.path:"/"),u=i.name,d=U5e(i,o||"menu"),f=d!==!1&&a!==!1&&r&&d?r({id:d,defaultMessage:u}):u,v=t.pro_layout_parentKeys,p=v===void 0?[]:v;t.children,t.icon,t.flatMenu,t.indexRoute,t.routes;var m=B5e(t,P5e),y=new Set([].concat(N5(p),N5(i.parentKeys||[])));t.key&&y.add(t.key);var h=qn(qn(qn({},m),{},{menu:void 0},i),{},{path:s,locale:d,key:i.key||K5e(qn(qn({},i),{},{path:s})),pro_layout_parentKeys:Array.from(y).filter(function(b){return b&&b!=="/"})});if(f?h.name=f:delete h.name,h.menu===void 0&&delete h.menu,kl(l)){var g=Ew(qn(qn({},e),{},{data:l,parentName:d||""}),h);kl(g)&&(h.children=g)}return Y5e(h,e)}).flat(1)}var G5e=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.filter(function(n){return n&&(n.name||kl(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var r=qn({},n),o=r.children||n[uo]||[];if(delete r[uo],kl(o)&&!r.hideChildrenInMenu&&o.some(function(i){return i&&!!i.name})){var a=e(o);if(a.length)return qn(qn({},r),{},{children:a})}return qn({},n)}).filter(function(n){return n})},X5e=function(e){k5e(n,e);var t=F5e(n);function n(){return T5e(this,n),t.apply(this,arguments)}return _5e(n,[{key:"get",value:function(o){var a;try{var i=N5e(this.entries()),l;try{for(i.s();!(l=i.n()).done;){var s=O5e(l.value,2),u=s[0],d=s[1],f=ov(u);if(!$w(u)&&xd(f,[]).test(o)){a=d;break}}}catch(v){i.e(v)}finally{i.f()}}catch{a=void 0}return a}}]),n}(YC(Map)),q5e=function(t){var n=new X5e,r=function o(a,i){a.forEach(function(l){var s=l.children||l[uo]||[];kl(s)&&o(s,l);var u=pk(l.path,i?i.path:"/");n.set(ov(u),l)})};return r(t),n},Q5e=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.map(function(n){var r=n.children||n[uo];if(kl(r)){var o=e(r);if(o.length)return qn({},n)}var a=qn({},n);return delete a[uo],delete a.children,a}).filter(function(n){return n})},Z5e=function(t,n,r,o){var a=Ew({data:t,formatMessage:r,locale:n}),i=o?Q5e(a):G5e(a),l=q5e(a);return{breadcrumb:l,menuData:i}};function _5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function zu(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[],n={};return t.forEach(function(r){var o=zu({},r);if(!(!o||!o.key)){!o.children&&o[uo]&&(o.children=o[uo],delete o[uo]);var a=o.children||[];n[ov(o.path||o.key||"/")]=zu({},o),n[o.key||o.path||"/"]=zu({},o),a&&(n=zu(zu({},n),e(a)))}}),n},t8e=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return t.filter(function(o){if(o==="/"&&n==="/")return!0;if(o!=="/"&&o!=="/*"&&o&&!$w(o)){var a=ov(o);try{if(r&&xd("".concat(a)).test(n)||xd("".concat(a),[]).test(n)||xd("".concat(a,"/(.*)")).test(n))return!0}catch{}}return!1}).sort(function(o,a){return o===n?10:a===n?-10:o.substr(1).split("/").length-a.substr(1).split("/").length})},n8e=function(t,n,r,o){var a=e8e(n),i=Object.keys(a),l=t8e(i,t||"/",o);return!l||l.length<1?[]:(r||(l=[l[l.length-1]]),l.map(function(s){var u=a[s]||{pro_layout_parentKeys:"",key:""},d=new Map,f=(u.pro_layout_parentKeys||[]).map(function(v){return d.has(v)?null:(d.set(v,!0),a[v])}).filter(function(v){return v});return u.key&&f.push(u),f}).flat(1))},r8e=function(){return L.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[L.jsxs("defs",{children:[L.jsxs("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[L.jsx("stop",{stopColor:"#4285EB",offset:"0%"}),L.jsx("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[L.jsx("stop",{stopColor:"#29CDFF",offset:"0%"}),L.jsx("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),L.jsx("stop",{stopColor:"#0A60FF",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[L.jsx("stop",{stopColor:"#FA816E",offset:"0%"}),L.jsx("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),L.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]}),L.jsxs("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[L.jsx("stop",{stopColor:"#FA8E7D",offset:"0%"}),L.jsx("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),L.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),L.jsx("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:L.jsx("g",{transform:"translate(-20.000000, -20.000000)",children:L.jsx("g",{transform:"translate(20.000000, 20.000000)",children:L.jsxs("g",{children:[L.jsxs("g",{fillRule:"nonzero",children:[L.jsxs("g",{children:[L.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),L.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),L.jsx("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),L.jsx("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},o8e=new It("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),a8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,h,g,b,C,x,S,w,$,O,P,R,T,N;return A({},"".concat(t.proComponentsCls,"-layout"),(N={},A(N,t.componentCls,($={position:"relative",background:((n=t.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},A($,"".concat(t.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(o=t.layout)===null||o===void 0||(a=o.sider)===null||a===void 0?void 0:a.paddingInlineLayoutMenu,paddingBlock:(i=t.layout)===null||i===void 0||(l=i.sider)===null||l===void 0?void 0:l.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(t.colorSplit),marginInlineEnd:-1}),A($,"".concat(t.antCls,"-menu"),(d={},A(d,"".concat(t.antCls,"-menu-item-group-title"),{fontSize:t.fontSizeSM,paddingBottom:4}),A(d,"".concat(t.antCls,"-menu-item:hover"),{color:t==null||(s=t.layout)===null||s===void 0||(u=s.sider)===null||u===void 0?void 0:u.colorTextMenuItemHover}),d)),A($,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(f=t.layout)===null||f===void 0||(v=f.sider)===null||v===void 0?void 0:v.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((p=t.layout)===null||p===void 0||(m=p.sider)===null||m===void 0?void 0:m.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(y=t.layout)===null||y===void 0||(h=y.sider)===null||h===void 0?void 0:h.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":A({flexDirection:"column-reverse",margin:0,padding:12},"".concat(t.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),A($,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(g=t.layout)===null||g===void 0||(b=g.sider)===null||b===void 0?void 0:b.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(C=t.layout)===null||C===void 0||(x=C.sider)===null||x===void 0?void 0:x.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:t.borderRadius,"&:hover":{background:t.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:8,borderRadius:t.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:t.colorBgTextHover}}}),A($,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(t.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),A($,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),A($,"&-links",{width:"100%",ul:{height:"auto"}}),A($,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),A($,"&-footer",{color:(S=t.layout)===null||S===void 0||(w=S.sider)===null||w===void 0?void 0:w.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:t.fontSize,animationName:o8e,animationDuration:".3s",animationTimingFunction:"ease"}),$)),A(N,"".concat(t.componentCls).concat(t.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((t==null||(O=t.layout)===null||O===void 0||(P=O.header)===null||P===void 0?void 0:P.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((t==null||(R=t.layout)===null||R===void 0||(T=R.header)===null||T===void 0?void 0:T.heightLayoutHeader)||56,"px")}}),N))};function i8e(e,t){var n=t.proLayoutCollapsedWidth;return wn("ProLayoutSiderMenu",function(r){var o=E(E({},r),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:n});return[a8e(o)]})}var k5=function(t){var n,r,o=t.isMobile,a=t.siderWidth,i=t.collapsed,l=t.onCollapse,s=t.style,u=t.className,d=t.hide,f=t.getContainer,v=f===void 0?!1:f,p=t.prefixCls,m=c.useContext(ci),y=m.token;c.useEffect(function(){o===!0&&(l==null||l(!0))},[o]);var h=ui(t,["className","style"]),g=Z.useContext(nt.ConfigContext),b=g.direction,C=i8e("".concat(p,"-sider"),{proLayoutCollapsedWidth:64}),x=C.wrapSSR,S=C.hashId,w=G("".concat(p,"-sider"),u,S);if(d)return null;var $=Og(!i,function(){return l==null?void 0:l(!0)});return x(o?L.jsx(K7,E(E({placement:b==="rtl"?"right":"left",className:G("".concat(p,"-drawer-sider"),u)},$),{},{style:E({padding:0,height:"100vh"},s),onClose:function(){l==null||l(!0)},maskClosable:!0,closable:!1,getContainer:v,width:a,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:y==null||(n=y.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorMenuBackground},children:L.jsx(E5,E(E({},h),{},{isMobile:!0,className:w,collapsed:o?!1:i,splitMenus:!1,originCollapsed:i}))})):L.jsx(E5,E(E({className:w,originCollapsed:i},h),{},{style:s})))},l8e=function(){var t,n;return typeof process>"u"?Bl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||Bl},s8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,h,g,b,C,x,S,w,$,O,P,R,T,N,M,I,_,k,F,D,j,H,z,B,V,K,W,Y,X,Q,ae,ee,q,re,te,J,ne,oe,le,de,pe,se,ve,he,ce,ie,fe,me,Ce,ye,Ne,_e,Ue,Ge,$e,Ie,ze,gt;return(n=l8e())!==null&&n!==void 0&&n.startsWith("5")?{}:(gt={},A(gt,t.componentCls,(ce={width:"100%",height:"100%"},A(ce,"".concat(t.proComponentsCls,"-base-menu"),(Q={color:t==null||(r=t.layout)===null||r===void 0||(o=r.sider)===null||o===void 0?void 0:o.colorTextMenu},A(Q,"".concat(t.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:t==null||(a=t.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorTextMenu}),A(Q,"& ".concat(t.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),A(Q,"".concat(t.antCls,"-menu-submenu-expand-icon, ").concat(t.antCls,"-menu-submenu-arrow"),{color:"inherit"}),A(Q,"&".concat(t.antCls,"-menu"),(u={color:t==null||(l=t.layout)===null||l===void 0||(s=l.sider)===null||s===void 0?void 0:s.colorTextMenu},A(u,"".concat(t.antCls,"-menu-item"),{"*":{transition:"none !important"}}),A(u,"".concat(t.antCls,"-menu-item a"),{color:"inherit"}),u)),A(Q,"&".concat(t.antCls,"-menu-inline"),A({},"".concat(t.antCls,"-menu-selected::after,").concat(t.antCls,"-menu-item-selected::after"),{display:"none"})),A(Q,"".concat(t.antCls,"-menu-sub ").concat(t.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),A(Q,"".concat(t.antCls,`-menu-item:active, + `).concat(t.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),A(Q,"&".concat(t.antCls,"-menu-light"),A({},"".concat(t.antCls,`-menu-item:hover, + `).concat(t.antCls,`-menu-item-active, + `).concat(t.antCls,`-menu-submenu-active, + `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(d=t.layout)===null||d===void 0||(f=d.sider)===null||f===void 0?void 0:f.colorTextMenuActive,borderRadius:t.borderRadius},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(v=t.layout)===null||v===void 0||(p=v.sider)===null||p===void 0?void 0:p.colorTextMenuActive}))),A(Q,"&".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-horizontal)"),(w={},A(w,"".concat(t.antCls,"-menu-item-selected"),{backgroundColor:t==null||(m=t.layout)===null||m===void 0||(y=m.sider)===null||y===void 0?void 0:y.colorBgMenuItemSelected,borderRadius:t.borderRadius}),A(w,"".concat(t.antCls,`-menu-item:hover, + `).concat(t.antCls,`-menu-item-active, + `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(h=t.layout)===null||h===void 0||(g=h.sider)===null||g===void 0?void 0:g.colorTextMenuActive,borderRadius:t.borderRadius,backgroundColor:"".concat(t==null||(b=t.layout)===null||b===void 0||(C=b.header)===null||C===void 0?void 0:C.colorBgMenuItemHover," !important")},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(x=t.layout)===null||x===void 0||(S=x.sider)===null||S===void 0?void 0:S.colorTextMenuActive})),w)),A(Q,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||($=t.layout)===null||$===void 0||(O=$.sider)===null||O===void 0?void 0:O.colorTextMenuSelected}),A(Q,"".concat(t.antCls,"-menu-submenu-selected"),{color:t==null||(P=t.layout)===null||P===void 0||(R=P.sider)===null||R===void 0?void 0:R.colorTextMenuSelected}),A(Q,"&".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-inline) ").concat(t.antCls,"-menu-submenu-open"),{color:t==null||(T=t.layout)===null||T===void 0||(N=T.sider)===null||N===void 0?void 0:N.colorTextMenuSelected}),A(Q,"&".concat(t.antCls,"-menu-vertical"),A({},"".concat(t.antCls,"-menu-submenu-selected"),{borderRadius:t.borderRadius,color:t==null||(M=t.layout)===null||M===void 0||(I=M.sider)===null||I===void 0?void 0:I.colorTextMenuSelected})),A(Q,"".concat(t.antCls,"-menu-submenu:hover > ").concat(t.antCls,"-menu-submenu-title > ").concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(_=t.layout)===null||_===void 0||(k=_.sider)===null||k===void 0?void 0:k.colorTextMenuActive}),A(Q,"&".concat(t.antCls,"-menu-horizontal"),(X={},A(X,"".concat(t.antCls,`-menu-item:hover, + `).concat(t.antCls,`-menu-submenu:hover, + `).concat(t.antCls,`-menu-item-active, + `).concat(t.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:t==null||(F=t.layout)===null||F===void 0||(D=F.header)===null||D===void 0?void 0:D.colorTextMenuActive,backgroundColor:"".concat(t==null||(j=t.layout)===null||j===void 0||(H=j.header)===null||H===void 0?void 0:H.colorBgMenuItemHover," !important")}),A(X,"".concat(t.antCls,`-menu-item-open, + `).concat(t.antCls,`-menu-submenu-open, + `).concat(t.antCls,`-menu-item-selected, + `).concat(t.antCls,"-menu-submenu-selected"),A({backgroundColor:t==null||(z=t.layout)===null||z===void 0||(B=z.header)===null||B===void 0?void 0:B.colorBgMenuItemSelected,borderRadius:t.borderRadius,transition:"none",color:"".concat(t==null||(V=t.layout)===null||V===void 0||(K=V.header)===null||K===void 0?void 0:K.colorTextMenuSelected," !important")},"".concat(t.antCls,"-menu-submenu-arrow"),{color:"".concat(t==null||(W=t.layout)===null||W===void 0||(Y=W.header)===null||Y===void 0?void 0:Y.colorTextMenuSelected," !important")})),A(X,"> ".concat(t.antCls,"-menu-item, > ").concat(t.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),A(X,"> ".concat(t.antCls,"-menu-item::after, > ").concat(t.antCls,"-menu-submenu::after"),{display:"none"}),X)),Q)),A(ce,"".concat(t.proComponentsCls,"-top-nav-header-base-menu"),(he={},A(he,"&".concat(t.antCls,"-menu"),A({color:t==null||(ae=t.layout)===null||ae===void 0||(ee=ae.header)===null||ee===void 0?void 0:ee.colorTextMenu},"".concat(t.antCls,"-menu-item a"),{color:"inherit"})),A(he,"&".concat(t.antCls,"-menu-light"),(ve={},A(ve,"".concat(t.antCls,`-menu-item:hover, + `).concat(t.antCls,`-menu-item-active, + `).concat(t.antCls,`-menu-submenu-active, + `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(q=t.layout)===null||q===void 0||(re=q.header)===null||re===void 0?void 0:re.colorTextMenuActive,borderRadius:t.borderRadius,transition:"none",backgroundColor:t==null||(te=t.layout)===null||te===void 0||(J=te.header)===null||J===void 0?void 0:J.colorBgMenuItemSelected},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(ne=t.layout)===null||ne===void 0||(oe=ne.header)===null||oe===void 0?void 0:oe.colorTextMenuActive})),A(ve,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||(le=t.layout)===null||le===void 0||(de=le.header)===null||de===void 0?void 0:de.colorTextMenuSelected,borderRadius:t.borderRadius,backgroundColor:t==null||(pe=t.layout)===null||pe===void 0||(se=pe.header)===null||se===void 0?void 0:se.colorBgMenuItemSelected}),ve)),he)),ce)),A(gt,"".concat(t.antCls,"-menu-sub").concat(t.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),A(gt,"".concat(t.antCls,"-menu-submenu-popup"),(ze={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},A(ze,"".concat(t.antCls,"-menu"),A({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(t.antCls,`-menu-item:active, + `).concat(t.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),A(ze,"".concat(t.antCls,"-menu-item-selected"),{color:t==null||(ie=t.layout)===null||ie===void 0||(fe=ie.sider)===null||fe===void 0?void 0:fe.colorTextMenuSelected}),A(ze,"".concat(t.antCls,"-menu-submenu-selected"),{color:t==null||(me=t.layout)===null||me===void 0||(Ce=me.sider)===null||Ce===void 0?void 0:Ce.colorTextMenuSelected}),A(ze,"".concat(t.antCls,"-menu:not(").concat(t.antCls,"-menu-horizontal)"),(Ie={},A(Ie,"".concat(t.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:t.borderRadius,color:t==null||(ye=t.layout)===null||ye===void 0||(Ne=ye.sider)===null||Ne===void 0?void 0:Ne.colorTextMenuSelected}),A(Ie,"".concat(t.antCls,`-menu-item:hover, + `).concat(t.antCls,`-menu-item-active, + `).concat(t.antCls,"-menu-submenu-title:hover"),A({color:t==null||(_e=t.layout)===null||_e===void 0||(Ue=_e.sider)===null||Ue===void 0?void 0:Ue.colorTextMenuActive,borderRadius:t.borderRadius},"".concat(t.antCls,"-menu-submenu-arrow"),{color:t==null||(Ge=t.layout)===null||Ge===void 0||($e=Ge.sider)===null||$e===void 0?void 0:$e.colorTextMenuActive})),Ie)),ze)),gt)},c8e=function(t){var n,r,o,a,i,l,s,u,d;return d={},A(d,"".concat(t.antCls,"-layout"),{backgroundColor:"transparent !important"}),A(d,t.componentCls,(u={},A(u,"& ".concat(t.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),A(u,"".concat(t.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(t==null||(n=t.layout)===null||n===void 0||(r=n.pageContainer)===null||r===void 0?void 0:r.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:t==null||(o=t.layout)===null||o===void 0||(a=o.pageContainer)===null||a===void 0?void 0:a.paddingBlockPageContainerContent,paddingInline:t==null||(i=t.layout)===null||i===void 0||(l=i.pageContainer)===null||l===void 0?void 0:l.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),A(u,"".concat(t.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),A(u,"".concat(t.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:t==null||(s=t.layout)===null||s===void 0?void 0:s.bgLayout}),u)),A(d,"".concat(t.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),d};function u8e(e){return wn("ProLayout",function(t){var n=E(E({},t),{},{componentCls:".".concat(e)});return[c8e(n),s8e(n)]})}function d8e(e){if(!e||e==="/")return["/"];var t=e.split("/").filter(function(n){return n});return t.map(function(n,r){return"/".concat(t.slice(0,r+1).join("/"))})}var f8e=function(){var t,n;return typeof process>"u"?Bl:((t=process)===null||t===void 0||(n=t.env)===null||n===void 0?void 0:n.ANTD_VERSION)||Bl},v8e=function(t,n,r){var o=t,a=o.breadcrumbName,i=o.title,l=o.path,s=r.indexOf(t)===r.length-1;return s?L.jsx("span",{children:i||a}):L.jsx("span",{onClick:l?function(){location.href=l}:void 0,children:i||a})},p8e=function(t,n){var r=n.formatMessage,o=n.menu;return t.locale&&r&&(o==null?void 0:o.locale)!==!1?r({id:t.locale,defaultMessage:t.name}):t.name},m8e=function(t,n){var r=t.get(n);if(!r){var o=Array.from(t.keys())||[],a=o.find(function(i){return VC(i.replace("?","")).test(n)});a&&(r=t.get(a))}return r||{path:""}},h8e=function(t){var n=t.location,r=t.breadcrumbMap;return{location:n,breadcrumbMap:r}},g8e=function(t,n,r){var o=d8e(t==null?void 0:t.pathname),a=o.map(function(i){var l=m8e(n,i),s=p8e(l,r),u=l.hideInBreadcrumb;return s&&!u?{linkPath:i,breadcrumbName:s,title:s,component:l.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(i){return i&&i.linkPath});return a},y8e=function(t){var n=h8e(t),r=n.location,o=n.breadcrumbMap;return r&&r.pathname&&o?g8e(r,o,t):[]},b8e=function(t,n){var r=t.breadcrumbRender,o=t.itemRender,a=n.breadcrumbProps||{},i=a.minLength,l=i===void 0?2:i,s=y8e(t),u=function(v){for(var p=o||v8e,m=arguments.length,y=new Array(m>1?m-1:0),h=1;h-1?{items:d,itemRender:u}:{routes:d,itemRender:u}};function C8e(e){return xe(e).reduce(function(t,n){var r=U(n,2),o=r[0],a=r[1];return t[o]=a,t},{})}var x8e=function e(t,n,r,o){var a=Z5e(t,(n==null?void 0:n.locale)||!1,r,!0),i=a.menuData,l=a.breadcrumb;return o?e(o(i),n,r,void 0):{breadcrumb:C8e(l),breadcrumbMap:l,menuData:i}},S8e=function(t){var n=c.useState({}),r=U(n,2),o=r[0],a=r[1];return c.useEffect(function(){a(io({layout:Ke(t.layout)!=="object"?t.layout:void 0,navTheme:t.navTheme,menuRender:t.menuRender,footerRender:t.footerRender,menuHeaderRender:t.menuHeaderRender,headerRender:t.headerRender,fixSiderbar:t.fixSiderbar}))},[t.layout,t.navTheme,t.menuRender,t.footerRender,t.menuHeaderRender,t.headerRender,t.fixSiderbar]),o},w8e=function(t){var n,r=c.useContext(ci),o=r.hashId,a=t.style,i=t.prefixCls,l=t.children,s=t.hasPageContainer,u=s===void 0?0:s,d=G("".concat(i,"-content"),o,(n={},A(n,"".concat(i,"-has-header"),t.hasHeader),A(n,"".concat(i,"-content-has-page-container"),u>0),n)),f=t.ErrorBoundary||Ice;return t.ErrorBoundary===!1?L.jsx(_c.Content,{className:d,style:a,children:l}):L.jsx(f,{children:L.jsx(_c.Content,{className:d,style:a,children:l})})},$8e=["id","defaultMessage"],E8e=["fixSiderbar","navTheme","layout"],F5=0,P8e=function(t,n){var r;return t.headerRender===!1||t.pure?null:L.jsx(jPe,E(E({matchMenuKeys:n},t),{},{stylish:(r=t.stylish)===null||r===void 0?void 0:r.header}))},O8e=function(t){return t.footerRender===!1||t.pure?null:t.footerRender?t.footerRender(E({},t),L.jsx(aPe,{})):null},M8e=function(t,n){var r,o=t.layout,a=t.isMobile,i=t.selectedKeys,l=t.openKeys,s=t.splitMenus,u=t.suppressSiderWhenMenuEmpty,d=t.menuRender;if(t.menuRender===!1||t.pure)return null;var f=t.menuData;if(s&&(l!==!1||o==="mix")&&!a){var v=i||n,p=U(v,1),m=p[0];if(m){var y,h;f=((y=t.menuData)===null||y===void 0||(h=y.find(function(x){return x.key===m}))===null||h===void 0?void 0:h.children)||[]}else f=[]}var g=Zg(f||[]);if(g&&(g==null?void 0:g.length)<1&&(s||u))return null;if(o==="top"&&!a){var b;return L.jsx(k5,E(E({matchMenuKeys:n},t),{},{hide:!0,stylish:(b=t.stylish)===null||b===void 0?void 0:b.sider}))}var C=L.jsx(k5,E(E({matchMenuKeys:n},t),{},{menuData:g,stylish:(r=t.stylish)===null||r===void 0?void 0:r.sider}));return d?d(t,C):C},R8e=function(t,n){var r=n.pageTitleRender,o=M5(t);if(r===!1)return{title:n.title||"",id:"",pageName:""};if(r){var a=r(t,o.title,o);if(typeof a=="string")return M5(E(E({},o),{},{title:a}));Kt(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return o},I8e=function(t,n,r){return t?n?60:r:0},N8e=function(t){var n,r,o,a,i,l,s,u,d,f,v,p,m,y,h,g,b,C,x,S,w,$,O,P,R,T,N,M,I,_,k,F,D,j,H,z,B,V,K,W,Y,X,Q,ae,ee,q=t||{},re=q.children,te=q.onCollapse,J=q.location,ne=J===void 0?{pathname:"/"}:J,oe=q.contentStyle,le=q.route,de=q.defaultCollapsed,pe=q.style,se=q.siderWidth,ve=q.menu,he=q.siderMenuType,ce=q.isChildrenLayout,ie=q.menuDataRender,fe=q.actionRef,me=q.bgLayoutImgList,Ce=q.formatMessage,ye=q.loading,Ne=c.useMemo(function(){return se||(t.layout==="mix"?215:256)},[t.layout,se]),_e=c.useContext(nt.ConfigContext),Ue=(n=t.prefixCls)!==null&&n!==void 0?n:_e.getPrefixCls("pro"),Ge=bt(!1,{value:ve==null?void 0:ve.loading,onChange:ve==null?void 0:ve.onLoadingChange}),$e=U(Ge,2),Ie=$e[0],ze=$e[1],gt=c.useState(function(){return F5+=1,"pro-layout-".concat(F5)}),ft=U(gt,1),Ct=ft[0],Ee=c.useCallback(function(en){var Ln=en.id,Vn=en.defaultMessage,Ar=Oe(en,$8e);if(Ce)return Ce(E({id:Ln,defaultMessage:Vn},Ar));var Uo=QPe();return Uo[Ln]?Uo[Ln]:Vn},[Ce]),Se=LS([Ct,ve==null?void 0:ve.params],function(){var en=ir(Lt().mark(function Ln(Vn){var Ar,Uo,pi,La;return Lt().wrap(function(Yo){for(;;)switch(Yo.prev=Yo.next){case 0:return Uo=U(Vn,2),pi=Uo[1],ze(!0),Yo.next=4,ve==null||(Ar=ve.request)===null||Ar===void 0?void 0:Ar.call(ve,pi||{},(le==null?void 0:le.children)||(le==null?void 0:le.routes)||[]);case 4:return La=Yo.sent,ze(!1),Yo.abrupt("return",La);case 7:case"end":return Yo.stop()}},Ln)}));return function(Ln){return en.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ke=Se.data,De=Se.mutate,He=DS(),Me=He.cache;c.useEffect(function(){return function(){Me instanceof Map&&Me.clear()}},[]);var yt=c.useMemo(function(){return x8e(ke||(le==null?void 0:le.children)||(le==null?void 0:le.routes)||[],ve,Ee,ie)},[Ee,ve,ie,ke,le==null?void 0:le.children,le==null?void 0:le.routes]),ot=yt||{},ge=ot.breadcrumb,Re=ge===void 0?{}:ge,we=ot.breadcrumbMap,Le=ot.menuData,Je=Le===void 0?[]:Le;fe&&ve!==null&&ve!==void 0&&ve.request&&(fe.current={reload:function(){De()}});var ct=c.useMemo(function(){return n8e(ne.pathname||"/",Je||[],!0)},[ne.pathname,Je]),xt=c.useMemo(function(){return Array.from(new Set(ct.map(function(en){return en.key||en.path||""})))},[ct]),lt=ct[ct.length-1]||{},Te=S8e(lt),Ve=E(E({},t),Te),qe=Ve.fixSiderbar;Ve.navTheme;var Be=Ve.layout,Fe=Oe(Ve,E8e),Ze=Z6e(),Ye=(Ze==="sm"||Ze==="xs")&&!t.disableMobile,ut=Be!=="top"&&!Ye,at=bt(function(){return de!==void 0?de:vc()===!1?!1:!!(Ye||Ze==="md")},{value:t.collapsed,onChange:te}),et=U(at,2),tt=et[0],dt=et[1],Et=ui(E(E(E({prefixCls:Ue},t),{},{siderWidth:Ne},Te),{},{formatMessage:Ee,breadcrumb:Re,menu:E(E({},ve),{},{type:he||(ve==null?void 0:ve.type),loading:Ie}),layout:Be}),["className","style","breadcrumbRender"]),_t=R8e(E(E({pathname:ne.pathname},Et),{},{breadcrumbMap:we}),t),pn=b8e(E(E({},Et),{},{breadcrumbRender:t.breadcrumbRender,breadcrumbMap:we}),t),wt=M8e(E(E({},Et),{},{menuData:Je,onCollapse:dt,isMobile:Ye,collapsed:tt}),xt),Xe=P8e(E(E({},Et),{},{children:null,hasSiderMenu:!!wt,menuData:Je,isMobile:Ye,collapsed:tt,onCollapse:dt}),xt),Vt=O8e(E({isMobile:Ye,collapsed:tt},Et)),Jt=c.useContext(x5),gn=Jt.isChildrenLayout,nn=ce!==void 0?ce:gn,_n="".concat(Ue,"-layout"),xo=u8e(_n),So=xo.wrapSSR,Sr=xo.hashId,rr=G(t.className,Sr,"ant-design-pro",_n,(r={},A(r,"screen-".concat(Ze),Ze),A(r,"".concat(_n,"-top-menu"),Be==="top"),A(r,"".concat(_n,"-is-children"),nn),A(r,"".concat(_n,"-fix-siderbar"),qe),A(r,"".concat(_n,"-").concat(Be),Be),r)),qr=I8e(!!ut,tt,Ne),Lr={position:"relative"};(nn||oe&&oe.minHeight)&&(Lr.minHeight=0),c.useEffect(function(){var en;(en=t.onPageChange)===null||en===void 0||en.call(t,t.location)},[ne.pathname,(o=ne.pathname)===null||o===void 0?void 0:o.search]);var Da=c.useState(!1),Qr=U(Da,2),wo=Qr[0],it=Qr[1],We=c.useState(0),$t=U(We,2),Dt=$t[0],Nt=$t[1];rue(_t,t.title||!1);var Gt=c.useMemo(function(){return me&&me.length>0?me.map(function(en,Ln){return L.jsx("img",{src:en.src,style:E({position:"absolute"},en)},Ln)}):null},[me]),yn=c.useContext(ci),Pe=yn.token;return So(L.jsx(x5.Provider,{value:E(E({},Et),{},{breadcrumb:pn,menuData:Je,isMobile:Ye,collapsed:tt,hasPageContainer:Dt,setHasPageContainer:Nt,isChildrenLayout:!0,title:_t.pageName,hasSiderMenu:!!wt,hasHeader:!!Xe,siderWidth:qr,hasFooter:!!Vt,hasFooterToolbar:wo,setHasFooterToolbar:it,pageTitleInfo:_t,matchMenus:ct,matchMenuKeys:xt,currentMenu:lt}),children:t.pure?L.jsx(L.Fragment,{children:re}):L.jsxs("div",{className:rr,children:[L.jsx("div",{className:G("".concat(_n,"-bg-list"),Sr),children:Gt}),L.jsxs(_c,{style:E({minHeight:"100%",flexDirection:wt?"row":void 0},pe),children:[L.jsx(nt,{theme:{hashed:vc(),components:{Menu:{colorItemBg:(Pe==null||(a=Pe.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:(Pe==null||(l=Pe.layout)===null||l===void 0||(s=l.sider)===null||s===void 0?void 0:s.colorMenuBackground)||"transparent",radiusItem:4,controlHeightLG:(Pe==null||(u=Pe.layout)===null||u===void 0||(d=u.sider)===null||d===void 0?void 0:d.menuHeight)||(Pe==null?void 0:Pe.controlHeightLG),colorItemBgSelected:(Pe==null||(f=Pe.layout)===null||f===void 0||(v=f.sider)===null||v===void 0?void 0:v.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgActive:(Pe==null||(p=Pe.layout)===null||p===void 0||(m=p.sider)===null||m===void 0?void 0:m.colorBgMenuItemHover)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgSelectedHorizontal:(Pe==null||(y=Pe.layout)===null||y===void 0||(h=y.sider)===null||h===void 0?void 0:h.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(Pe==null||(g=Pe.layout)===null||g===void 0||(b=g.sider)===null||b===void 0?void 0:b.colorTextMenu)||(Pe==null?void 0:Pe.colorTextSecondary),colorItemTextHover:(Pe==null||(C=Pe.layout)===null||C===void 0||(x=C.sider)===null||x===void 0?void 0:x.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(Pe==null||(S=Pe.layout)===null||S===void 0||(w=S.sider)===null||w===void 0?void 0:w.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorBgElevated:(Pe==null||($=Pe.layout)===null||$===void 0||(O=$.sider)===null||O===void 0?void 0:O.colorBgMenuItemCollapsedElevated)||"#fff"}}},children:wt}),L.jsxs("div",{style:Lr,className:"".concat(_n,"-container ").concat(Sr),children:[L.jsx(nt,{theme:{hashed:vc(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"},Menu:{colorItemBg:(Pe==null||(P=Pe.layout)===null||P===void 0||(R=P.header)===null||R===void 0?void 0:R.colorBgHeader)||"transparent",colorSubItemBg:(Pe==null||(T=Pe.layout)===null||T===void 0||(N=T.header)===null||N===void 0?void 0:N.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(Pe==null||(M=Pe.layout)===null||M===void 0||(I=M.header)===null||I===void 0?void 0:I.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgActive:(Pe==null||(_=Pe.layout)===null||_===void 0||(k=_.header)===null||k===void 0?void 0:k.colorBgMenuItemHover)||(Pe==null?void 0:Pe.colorBgTextHover),colorItemBgSelectedHorizontal:(Pe==null||(F=Pe.layout)===null||F===void 0||(D=F.header)===null||D===void 0?void 0:D.colorBgMenuItemSelected)||(Pe==null?void 0:Pe.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(Pe==null||(j=Pe.layout)===null||j===void 0||(H=j.header)===null||H===void 0?void 0:H.colorTextMenu)||(Pe==null?void 0:Pe.colorTextSecondary),colorItemTextHoverHorizontal:(Pe==null||(z=Pe.layout)===null||z===void 0||(B=z.header)===null||B===void 0?void 0:B.colorTextMenuActive)||(Pe==null?void 0:Pe.colorText),colorItemTextSelectedHorizontal:(Pe==null||(V=Pe.layout)===null||V===void 0||(K=V.header)===null||K===void 0?void 0:K.colorTextMenuSelected)||(Pe==null?void 0:Pe.colorTextBase),colorItemTextHover:(Pe==null||(W=Pe.layout)===null||W===void 0||(Y=W.header)===null||Y===void 0?void 0:Y.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(Pe==null||(X=Pe.layout)===null||X===void 0||(Q=X.header)===null||Q===void 0?void 0:Q.colorTextMenuSelected)||"rgba(0, 0, 0, 1)"}}},children:Xe}),L.jsx(w8e,E(E({hasPageContainer:Dt,isChildrenLayout:nn},Fe),{},{hasHeader:!!Xe,prefixCls:_n,style:oe,children:ye?L.jsx(ePe,{}):re})),Vt,wo&&L.jsx("div",{className:"".concat(_n,"-has-footer"),style:{height:64,marginBlockStart:Pe==null||(ae=Pe.layout)===null||ae===void 0||(ee=ae.pageContainer)===null||ee===void 0?void 0:ee.paddingBlockPageContainerContent}})]})]})]})}))},T8e=function(t){var n=t.colorPrimary,r=t.navTheme!==void 0?{dark:t.navTheme==="realDark"}:{};return L.jsx(nt,{theme:n?{token:{colorPrimary:n}}:void 0,children:L.jsx(C9,E(E({autoClearCache:!0},r),{},{token:t.token,prefixCls:t.prefixCls,children:L.jsx(N8e,E(E({logo:L.jsx(r8e,{})},J_),{},{location:zS()?window.location:void 0},t))}))})},_8e={name:"akpk48",styles:"color:rgba(0, 0, 0, 0.2);font-size:18px;vertical-align:middle;cursor:pointer"},k8e={name:"zdn661",styles:"display:flex;justify-content:center;align-items:center;flex-direction:column;height:40px;width:40px;border:1px solid #D4D8DD;border-radius:50%"};const F8e=()=>({container:k8e,icon:_8e}),U1=({icon:e})=>{const t=F8e();return Mt("div",{css:t.container,children:Mt("span",{css:t.icon,children:e})})},D8e=()=>{const[e,t]=c.useState("phone");return ds(z6e,{backgroundImageUrl:"https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png",logo:"https://github.githubassets.com/images/modules/logos_page/Octocat.png",title:"Github",subTitle:"全球最大的代码托管平台",style:{height:"100vh"},actions:ds("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},children:[Mt(Jee,{plain:!0,children:Mt("span",{style:{color:"#CCC",fontWeight:"normal",fontSize:14},children:"其他登录方式"})}),ds(ol,{align:"center",size:24,children:[Mt(U1,{icon:Mt(yoe,{style:{color:"#1677FF"}})}),Mt(U1,{icon:Mt(hae,{style:{color:"#FF6A10"}})}),Mt(U1,{icon:Mt(bae,{style:{color:"#333333"}})})]})]}),children:[Mt(S7,{centered:!0,activeKey:e,onChange:n=>t(n),items:[{key:"account",label:"账号密码登录"},{key:"phone",label:"手机号登录"}]}),e==="account"&&ds(Qw,{children:[Mt(Cd,{name:"username",fieldProps:{size:"large",prefix:Mt(uae,{className:"prefixIcon"})},placeholder:"用户名: admin or user",rules:[{required:!0,message:"请输入用户名!"}]}),Mt(Cd.Password,{name:"password",fieldProps:{size:"large",prefix:Mt(Q3,{className:"prefixIcon"})},placeholder:"密码: ant.design",rules:[{required:!0,message:"请输入密码!"}]})]}),e==="phone"&&ds(Qw,{children:[Mt(Cd,{fieldProps:{size:"large",prefix:Mt(Xoe,{className:"prefixIcon"})},name:"mobile",placeholder:"手机号",rules:[{required:!0,message:"请输入手机号!"},{pattern:/^1\d{10}$/,message:"手机号格式错误!"}]}),Mt(Wde,{fieldProps:{size:"large",prefix:Mt(Q3,{className:"prefixIcon"})},captchaProps:{size:"large"},placeholder:"请输入验证码",captchaTextRender:(n,r)=>n?`${r} 获取验证码`:"获取验证码",name:"captcha",rules:[{required:!0,message:"请输入验证码!"}],onGetCaptcha:async()=>{CT.success("获取验证码成功!验证码为:1234")}})]}),ds("div",{style:{marginBlockEnd:24},children:[Mt(u6e,{noStyle:!0,name:"autoLogin",children:"自动登录"}),Mt("a",{style:{float:"right"},children:"忘记密码"})]})]})},L8e=[{path:"/dashboard",name:"欢迎",icon:Mt(tae,{})},{path:"/admin",name:"管理页",icon:Mt(Va,{}),access:"canAdmin",component:"./Admin",routes:[{path:"/admin/sub-page1",name:"一级页面",icon:"https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg",component:"./Welcome"},{path:"/admin/sub-page2",name:"二级页面",icon:Mt(Va,{}),component:"./Welcome"},{path:"/admin/sub-page3",name:"三级页面",icon:Mt(Va,{}),component:"./Welcome"}]},{name:"列表页",icon:Mt(lae,{}),path:"/list",component:"./ListTableList",routes:[{path:"/list/sub-page",name:"列表页面",icon:Mt(Va,{}),routes:[{path:"sub-sub-page1",name:"一一级列表页面",icon:Mt(Va,{}),component:"./Welcome"},{path:"sub-sub-page2",name:"一二级列表页面",icon:Mt(Va,{}),component:"./Welcome"},{path:"sub-sub-page3",name:"一三级列表页面",icon:Mt(Va,{}),component:"./Welcome"}]},{path:"/list/sub-page2",name:"二级列表页面",icon:Mt(Va,{}),component:"./Welcome"},{path:"/list/sub-page3",name:"三级列表页面",icon:Mt(Va,{}),component:"./Welcome"}]},{path:"https://ant.design",name:"Ant Design 官网外链",icon:Mt($oe,{})}],A8e=()=>{const e=FA(),t=Ih();return Mt(T8e,{path:"/",title:"Vite React Starter",logo:"/vite.svg",bgLayoutImgList:[{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",left:85,bottom:100,height:"303px"},{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",bottom:-68,right:-45,height:"303px"},{src:"https://img.alicdn.com/imgextra/i3/O1CN018NxReL1shX85Yz6Cx_!!6000000005798-2-tps-884-496.png",bottom:0,left:0,width:"331px"}],location:t,siderMenuType:"group",menu:{collapsedShowGroupTitle:!0},fixSiderbar:!0,layout:"mix",avatarProps:{src:"https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg",size:"small",title:"七妮妮",render:(n,r)=>Mt(NN,{menu:{items:[{key:"logout",icon:Mt(zoe,{}),label:"退出登录"}]},children:r})},onMenuHeaderClick:n=>{},route:{path:"/",routes:L8e},children:e})},D5=Object.assign({"./modules/components.tsx":Tle,"./modules/dashboard.tsx":_le}),mk=[];Object.keys(D5).forEach(e=>{mk.push(...D5[e])});const j8e=[{element:Mt(A8e,{}),children:[...mk]},{path:"/",element:Mt(GA,{to:"/map"})},{path:"/login",element:Mt(D8e,{}),meta:{key:"login",title:"登录页"}},{path:"/map",element:TS(Z.lazy(()=>qx(()=>import("./index-b0Swbj61.js"),__vite__mapDeps([])))),meta:{title:"全景地图",key:"map"}}],z8e=()=>DA(j8e);function H8e(){return Mt(qA,{children:Mt(z8e,{})})}q1.createRoot(document.getElementById("root")).render(Mt(Z.StrictMode,{children:Mt(H8e,{})}));export{Z as R,Mt as a,Jl as b,L as j,c as r}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/js/index-6rLtl1Ps.js","assets/css/index-iqaX95Kn.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/index.html b/index.html index f4701bd..0579e6b 100644 --- a/index.html +++ b/index.html @@ -1 +1,14 @@ -Vite React Starter
\ No newline at end of file + + + + + + + Vite React Starter + + + + +
+ +