0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.147.86.104


Current Path : /var/www/qpms/assets/
Upload File :
Current File : /var/www/qpms/assets/index-BGN0ZMlx.js

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Header-CLqqZLpp.js","assets/Header-Ca9kjCiT.css","assets/GuideLines-D5WpjAID.js","assets/index-Cvv7jmnp.js","assets/HomeOutlined-D4-Nsiyp.js","assets/BankDetails-BBJVD-3W.js","assets/row-AWds_3hu.js","assets/responsiveObserver-lGxp52mZ.js","assets/QpPattern-Eo7rwe3a.js","assets/sem-DLpF_ddZ.js","assets/UploadQpPattern-Em67LlSc.js","assets/datatable-DO2-ZaDk.js","assets/StopOutlined-MY7-J1ak.js","assets/Table-DrjpZi7U.js","assets/index-CRTM9snO.js","assets/index-BzT3oaCy.js","assets/index-cLl6_n2r.js","assets/UploadOutlined-CU5PDKMo.js","assets/DeleteOutlined-BkRedyo7.js","assets/AvailableQp-sASFHfUc.js","assets/ArrowLeftOutlined-CHkz4qWK.js","assets/SaveOutlined-CMdc2l5p.js","assets/EligibleQpSetter-CojnUVbY.js","assets/SelectQpSetter-DaTp7MlD.js","assets/index-C43B3qq9.js","assets/react-datepicker-CwqgRdqs.js","assets/react-datepicker-6uRyVHqQ.css","assets/index-D6hC5Y7U.js","assets/AcceptQpRequest-DvbSDv9u.js","assets/UploadQuestionPaper-Cb0T-XCK.js","assets/PrepareQuestionPaper-C8ZqT8z6.js","assets/PrepareQp-uXVVWLRc.js","assets/EditOutlined-D0WghQxW.js","assets/FilePdfOutlined-Cb0ShWj3.js","assets/PrepareThQp-vKwew15w.js","assets/quill.snow-Bmux9W9G.js","assets/quill-D-Ncpkvi.css","assets/PrepareThQp-CgBZ6qde.css","assets/AssignModerator-CGXrL5Z0.js","assets/DisplayTempCode-B1YOJn4Z.js","assets/TemplateCode-B2qjkg2q.js","assets/CreateTempCode-DJ6EbVE9.js","assets/QpSummary-BtKXK9Xw.js","assets/SelectFinalQp-DCKDrE_0.js","assets/SelectFinalQP-xJeDWzUz.js","assets/SelectFinalMCQQp-BW67gMis.js","assets/ModQpDetailsOnline-BpNhKipo.js","assets/ModQpDetails-C62qoxYP.js","assets/ModQpDetailsOffline-Q8Ia8YHm.js","assets/ViewMcqFinalPaper-DFLsPDQz.js","assets/GenerateBill-BgDS7P2t.js","assets/GenerateBill-CMq9p37Z.js","assets/ChangePassword-CjKrOqeR.js","assets/ViewQPScr-DOX0nigQ.js","assets/ViewQPScr-Dnjiqc6M.js","assets/ViewFinalQP-CFsn58Dy.js","assets/AssignUserMenus-Dx2oU8ZK.js","assets/Usertype-BpichTzP.js","assets/Usertype-CxRyH-rF.js","assets/CreateUser-DFmSMMfC.js","assets/TeacherEntry-B_7b47c4.js","assets/TeacherEntry-Da3R9w6k.js","assets/ViewTeacherList-Cx33MUay.js","assets/PrepareQuestionPaper-mYWliiX6.js","assets/PrepareQuestionPaper-DEhnJ9bH.js","assets/PrepareQuestionPaper-CMEwiLSV.css","assets/ViewPrepareQp-DsF0AAeZ.js","assets/SubjectCreation-DOtqyJMR.js","assets/SubjectCreation-B7s5kPu3.js","assets/ViewSubject-B9gdLc8r.js","assets/DegreeGroup-CNC-eojH.js","assets/DegreeGroup-yQfPxdKx.js","assets/Viewdeggrp-DE3d5Lv9.js","assets/Degree-ClQRv-_e.js","assets/Degree-D6vOu3Wx.js","assets/ViewDegree-CK_g3Sng.js","assets/ViewGeneratedBill-BwmIBck-.js"])))=>i.map(i=>d[i]);
function tS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[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 Ak=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ep(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nS={exports:{}},Ac={},rS={exports:{}},mt={};/**
 * @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 Cs=Symbol.for("react.element"),ER=Symbol.for("react.portal"),xR=Symbol.for("react.fragment"),RR=Symbol.for("react.strict_mode"),$R=Symbol.for("react.profiler"),OR=Symbol.for("react.provider"),PR=Symbol.for("react.context"),_R=Symbol.for("react.forward_ref"),IR=Symbol.for("react.suspense"),TR=Symbol.for("react.memo"),MR=Symbol.for("react.lazy"),qg=Symbol.iterator;function NR(e){return e===null||typeof e!="object"?null:(e=qg&&e[qg]||e["@@iterator"],typeof e=="function"?e:null)}var oS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aS=Object.assign,iS={};function Ki(e,t,n){this.props=e,this.context=t,this.refs=iS,this.updater=n||oS}Ki.prototype.isReactComponent={};Ki.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")};Ki.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lS(){}lS.prototype=Ki.prototype;function tp(e,t,n){this.props=e,this.context=t,this.refs=iS,this.updater=n||oS}var np=tp.prototype=new lS;np.constructor=tp;aS(np,Ki.prototype);np.isPureReactComponent=!0;var Qg=Array.isArray,sS=Object.prototype.hasOwnProperty,rp={current:null},uS={key:!0,ref:!0,__self:!0,__source:!0};function cS(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)sS.call(t,r)&&!uS.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Cs,type:e,key:a,ref:i,props:o,_owner:rp.current}}function LR(e,t){return{$$typeof:Cs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function op(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cs}function AR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Xg=/\/+/g;function Dd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?AR(""+e.key):t.toString(36)}function bu(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Cs:case ER:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Dd(i,0):r,Qg(o)?(n="",e!=null&&(n=e.replace(Xg,"$&/")+"/"),bu(o,t,n,"",function(c){return c})):o!=null&&(op(o)&&(o=LR(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Xg,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Qg(e))for(var l=0;l<e.length;l++){a=e[l];var s=r+Dd(a,l);i+=bu(a,t,n,s,o)}else if(s=NR(e),typeof s=="function")for(e=s.call(e),l=0;!(a=e.next()).done;)a=a.value,s=r+Dd(a,l++),i+=bu(a,t,n,s,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Vs(e,t,n){if(e==null)return e;var r=[],o=0;return bu(e,r,"","",function(a){return t.call(n,a,o++)}),r}function jR(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Bn={current:null},Su={transition:null},DR={ReactCurrentDispatcher:Bn,ReactCurrentBatchConfig:Su,ReactCurrentOwner:rp};function dS(){throw Error("act(...) is not supported in production builds of React.")}mt.Children={map:Vs,forEach:function(e,t,n){Vs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Vs(e,function(){t++}),t},toArray:function(e){return Vs(e,function(t){return t})||[]},only:function(e){if(!op(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};mt.Component=Ki;mt.Fragment=xR;mt.Profiler=$R;mt.PureComponent=tp;mt.StrictMode=RR;mt.Suspense=IR;mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=DR;mt.act=dS;mt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=aS({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=rp.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)sS.call(t,s)&&!uS.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:Cs,type:e.type,key:o,ref:a,props:r,_owner:i}};mt.createContext=function(e){return e={$$typeof:PR,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:OR,_context:e},e.Consumer=e};mt.createElement=cS;mt.createFactory=function(e){var t=cS.bind(null,e);return t.type=e,t};mt.createRef=function(){return{current:null}};mt.forwardRef=function(e){return{$$typeof:_R,render:e}};mt.isValidElement=op;mt.lazy=function(e){return{$$typeof:MR,_payload:{_status:-1,_result:e},_init:jR}};mt.memo=function(e,t){return{$$typeof:TR,type:e,compare:t===void 0?null:t}};mt.startTransition=function(e){var t=Su.transition;Su.transition={};try{e()}finally{Su.transition=t}};mt.unstable_act=dS;mt.useCallback=function(e,t){return Bn.current.useCallback(e,t)};mt.useContext=function(e){return Bn.current.useContext(e)};mt.useDebugValue=function(){};mt.useDeferredValue=function(e){return Bn.current.useDeferredValue(e)};mt.useEffect=function(e,t){return Bn.current.useEffect(e,t)};mt.useId=function(){return Bn.current.useId()};mt.useImperativeHandle=function(e,t,n){return Bn.current.useImperativeHandle(e,t,n)};mt.useInsertionEffect=function(e,t){return Bn.current.useInsertionEffect(e,t)};mt.useLayoutEffect=function(e,t){return Bn.current.useLayoutEffect(e,t)};mt.useMemo=function(e,t){return Bn.current.useMemo(e,t)};mt.useReducer=function(e,t,n){return Bn.current.useReducer(e,t,n)};mt.useRef=function(e){return Bn.current.useRef(e)};mt.useState=function(e){return Bn.current.useState(e)};mt.useSyncExternalStore=function(e,t,n){return Bn.current.useSyncExternalStore(e,t,n)};mt.useTransition=function(){return Bn.current.useTransition()};mt.version="18.3.1";rS.exports=mt;var u=rS.exports;const K=ep(u),Ia=tS({__proto__:null,default:K},[u]);/**
 * @license React
 * react-jsx-runtime.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 FR=u,zR=Symbol.for("react.element"),BR=Symbol.for("react.fragment"),kR=Object.prototype.hasOwnProperty,HR=FR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,VR={key:!0,ref:!0,__self:!0,__source:!0};function fS(e,t,n){var r,o={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)kR.call(t,r)&&!VR.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:zR,type:e,key:a,ref:i,props:o,_owner:HR.current}}Ac.Fragment=BR;Ac.jsx=fS;Ac.jsxs=fS;nS.exports=Ac;var z=nS.exports,Qf={},mS={exports:{}},dr={},vS={exports:{}},pS={};/**
 * @license React
 * scheduler.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.
 */(function(e){function t($,L){var N=$.length;$.push(L);e:for(;0<N;){var T=N-1>>>1,k=$[T];if(0<o(k,L))$[T]=L,$[N]=k,N=T;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var L=$[0],N=$.pop();if(N!==L){$[0]=N;e:for(var T=0,k=$.length,H=k>>>1;T<H;){var U=2*(T+1)-1,G=$[U],ee=U+1,Q=$[ee];if(0>o(G,N))ee<k&&0>o(Q,G)?($[T]=Q,$[ee]=N,T=ee):($[T]=G,$[U]=N,T=U);else if(ee<k&&0>o(Q,N))$[T]=Q,$[ee]=N,T=ee;else break e}}return L}function o($,L){var N=$.sortIndex-L.sortIndex;return N!==0?N:$.id-L.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=[],c=[],d=1,f=null,m=3,y=!1,b=!1,S=!1,h=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p($){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=$)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function C($){if(S=!1,p($),!b)if(n(s)!==null)b=!0,j(w);else{var L=n(c);L!==null&&P(C,L.startTime-$)}}function w($,L){b=!1,S&&(S=!1,g(R),R=-1),y=!0;var N=m;try{for(p(L),f=n(s);f!==null&&(!(f.expirationTime>L)||$&&!A());){var T=f.callback;if(typeof T=="function"){f.callback=null,m=f.priorityLevel;var k=T(f.expirationTime<=L);L=e.unstable_now(),typeof k=="function"?f.callback=k:f===n(s)&&r(s),p(L)}else r(s);f=n(s)}if(f!==null)var H=!0;else{var U=n(c);U!==null&&P(C,U.startTime-L),H=!1}return H}finally{f=null,m=N,y=!1}}var x=!1,E=null,R=-1,O=5,_=-1;function A(){return!(e.unstable_now()-_<O)}function M(){if(E!==null){var $=e.unstable_now();_=$;var L=!0;try{L=E(!0,$)}finally{L?D():(x=!1,E=null)}}else x=!1}var D;if(typeof v=="function")D=function(){v(M)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,V=I.port2;I.port1.onmessage=M,D=function(){V.postMessage(null)}}else D=function(){h(M,0)};function j($){E=$,x||(x=!0,D())}function P($,L){R=h(function(){$(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){b||y||(b=!0,j(w))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function($){switch(m){case 1:case 2:case 3:var L=3;break;default:L=m}var N=m;m=L;try{return $()}finally{m=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,L){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var N=m;m=$;try{return L()}finally{m=N}},e.unstable_scheduleCallback=function($,L,N){var T=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?T+N:T):N=T,$){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=N+k,$={id:d++,callback:L,priorityLevel:$,startTime:N,expirationTime:k,sortIndex:-1},N>T?($.sortIndex=N,t(c,$),n(s)===null&&$===n(c)&&(S?(g(R),R=-1):S=!0,P(C,N-T))):($.sortIndex=k,t(s,$),b||y||(b=!0,j(w))),$},e.unstable_shouldYield=A,e.unstable_wrapCallback=function($){var L=m;return function(){var N=m;m=L;try{return $.apply(this,arguments)}finally{m=N}}}})(pS);vS.exports=pS;var WR=vS.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 UR=u,ur=WR;function ue(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var gS=new Set,kl={};function Ba(e,t){Ti(e,t),Ti(e+"Capture",t)}function Ti(e,t){for(kl[e]=t,e=0;e<t.length;e++)gS.add(t[e])}var po=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xf=Object.prototype.hasOwnProperty,GR=/^[: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]*$/,Yg={},Jg={};function KR(e){return Xf.call(Jg,e)?!0:Xf.call(Yg,e)?!1:GR.test(e)?Jg[e]=!0:(Yg[e]=!0,!1)}function qR(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 QR(e,t,n,r){if(t===null||typeof t>"u"||qR(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 kn(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 $n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$n[e]=new kn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$n[t]=new kn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$n[e]=new kn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$n[e]=new kn(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){$n[e]=new kn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$n[e]=new kn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$n[e]=new kn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$n[e]=new kn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$n[e]=new kn(e,5,!1,e.toLowerCase(),null,!1,!1)});var ap=/[\-:]([a-z])/g;function ip(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(ap,ip);$n[t]=new kn(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(ap,ip);$n[t]=new kn(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(ap,ip);$n[t]=new kn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$n[e]=new kn(e,1,!1,e.toLowerCase(),null,!1,!1)});$n.xlinkHref=new kn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$n[e]=new kn(e,1,!1,e.toLowerCase(),null,!0,!0)});function lp(e,t,n,r){var o=$n.hasOwnProperty(t)?$n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(QR(t,n,o,r)&&(n=null),r||o===null?KR(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Co=UR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ws=Symbol.for("react.element"),si=Symbol.for("react.portal"),ui=Symbol.for("react.fragment"),sp=Symbol.for("react.strict_mode"),Yf=Symbol.for("react.profiler"),hS=Symbol.for("react.provider"),yS=Symbol.for("react.context"),up=Symbol.for("react.forward_ref"),Jf=Symbol.for("react.suspense"),Zf=Symbol.for("react.suspense_list"),cp=Symbol.for("react.memo"),Mo=Symbol.for("react.lazy"),bS=Symbol.for("react.offscreen"),Zg=Symbol.iterator;function al(e){return e===null||typeof e!="object"?null:(e=Zg&&e[Zg]||e["@@iterator"],typeof e=="function"?e:null)}var Ut=Object.assign,Fd;function Sl(e){if(Fd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fd=t&&t[1]||""}return`
`+Fd+e}var zd=!1;function Bd(e,t){if(!e||zd)return"";zd=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
`),a=r.stack.split(`
`),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==a[l]){var s=`
`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{zd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Sl(e):""}function XR(e){switch(e.tag){case 5:return Sl(e.type);case 16:return Sl("Lazy");case 13:return Sl("Suspense");case 19:return Sl("SuspenseList");case 0:case 2:case 15:return e=Bd(e.type,!1),e;case 11:return e=Bd(e.type.render,!1),e;case 1:return e=Bd(e.type,!0),e;default:return""}}function em(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 ui:return"Fragment";case si:return"Portal";case Yf:return"Profiler";case sp:return"StrictMode";case Jf:return"Suspense";case Zf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yS:return(e.displayName||"Context")+".Consumer";case hS:return(e._context.displayName||"Context")+".Provider";case up:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case cp:return t=e.displayName||null,t!==null?t:em(e.type)||"Memo";case Mo:t=e._payload,e=e._init;try{return em(e(t))}catch{}}return null}function YR(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 em(t);case 8:return t===sp?"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 Yo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function SS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function JR(e){var t=SS(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 Us(e){e._valueTracker||(e._valueTracker=JR(e))}function CS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=SS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Uu(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 tm(e,t){var n=t.checked;return Ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Yo(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 wS(e,t){t=t.checked,t!=null&&lp(e,"checked",t,!1)}function nm(e,t){wS(e,t);var n=Yo(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")?rm(e,t.type,n):t.hasOwnProperty("defaultValue")&&rm(e,t.type,Yo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function th(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 rm(e,t,n){(t!=="number"||Uu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cl=Array.isArray;function Ei(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Yo(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function om(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ue(91));return Ut({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(ue(92));if(Cl(n)){if(1<n.length)throw Error(ue(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Yo(n)}}function ES(e,t){var n=Yo(t.value),r=Yo(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function rh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xS(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function am(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xS(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gs,RS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Gs=Gs||document.createElement("div"),Gs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Gs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $l={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},ZR=["Webkit","ms","Moz","O"];Object.keys($l).forEach(function(e){ZR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$l[t]=$l[e]})});function $S(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$l.hasOwnProperty(e)&&$l[e]?(""+t).trim():t+"px"}function OS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=$S(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var e$=Ut({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 im(e,t){if(t){if(e$[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ue(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ue(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ue(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ue(62))}}function lm(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 sm=null;function dp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var um=null,xi=null,Ri=null;function oh(e){if(e=xs(e)){if(typeof um!="function")throw Error(ue(280));var t=e.stateNode;t&&(t=Bc(t),um(e.stateNode,e.type,t))}}function PS(e){xi?Ri?Ri.push(e):Ri=[e]:xi=e}function _S(){if(xi){var e=xi,t=Ri;if(Ri=xi=null,oh(e),t)for(e=0;e<t.length;e++)oh(t[e])}}function IS(e,t){return e(t)}function TS(){}var kd=!1;function MS(e,t,n){if(kd)return e(t,n);kd=!0;try{return IS(e,t,n)}finally{kd=!1,(xi!==null||Ri!==null)&&(TS(),_S())}}function Vl(e,t){var n=e.stateNode;if(n===null)return null;var r=Bc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(ue(231,t,typeof n));return n}var cm=!1;if(po)try{var il={};Object.defineProperty(il,"passive",{get:function(){cm=!0}}),window.addEventListener("test",il,il),window.removeEventListener("test",il,il)}catch{cm=!1}function t$(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var Ol=!1,Gu=null,Ku=!1,dm=null,n$={onError:function(e){Ol=!0,Gu=e}};function r$(e,t,n,r,o,a,i,l,s){Ol=!1,Gu=null,t$.apply(n$,arguments)}function o$(e,t,n,r,o,a,i,l,s){if(r$.apply(this,arguments),Ol){if(Ol){var c=Gu;Ol=!1,Gu=null}else throw Error(ue(198));Ku||(Ku=!0,dm=c)}}function ka(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function NS(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ah(e){if(ka(e)!==e)throw Error(ue(188))}function a$(e){var t=e.alternate;if(!t){if(t=ka(e),t===null)throw Error(ue(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var a=o.alternate;if(a===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ah(o),e;if(a===r)return ah(o),t;a=a.sibling}throw Error(ue(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(ue(189))}}if(n.alternate!==r)throw Error(ue(190))}if(n.tag!==3)throw Error(ue(188));return n.stateNode.current===n?e:t}function LS(e){return e=a$(e),e!==null?AS(e):null}function AS(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=AS(e);if(t!==null)return t;e=e.sibling}return null}var jS=ur.unstable_scheduleCallback,ih=ur.unstable_cancelCallback,i$=ur.unstable_shouldYield,l$=ur.unstable_requestPaint,Yt=ur.unstable_now,s$=ur.unstable_getCurrentPriorityLevel,fp=ur.unstable_ImmediatePriority,DS=ur.unstable_UserBlockingPriority,qu=ur.unstable_NormalPriority,u$=ur.unstable_LowPriority,FS=ur.unstable_IdlePriority,jc=null,Zr=null;function c$(e){if(Zr&&typeof Zr.onCommitFiberRoot=="function")try{Zr.onCommitFiberRoot(jc,e,void 0,(e.current.flags&128)===128)}catch{}}var zr=Math.clz32?Math.clz32:m$,d$=Math.log,f$=Math.LN2;function m$(e){return e>>>=0,e===0?32:31-(d$(e)/f$|0)|0}var Ks=64,qs=4194304;function wl(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 Qu(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=wl(l):(a&=i,a!==0&&(r=wl(a)))}else i=n&~o,i!==0?r=wl(i):a!==0&&(r=wl(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;0<t;)n=31-zr(t),o=1<<n,r|=e[n],t&=~o;return r}function v$(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function p$(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-zr(a),l=1<<i,s=o[i];s===-1?(!(l&n)||l&r)&&(o[i]=v$(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}function fm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zS(){var e=Ks;return Ks<<=1,!(Ks&4194240)&&(Ks=64),e}function Hd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ws(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zr(t),e[t]=n}function g$(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<n;){var o=31-zr(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}function mp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zr(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var $t=0;function BS(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var kS,vp,HS,VS,WS,mm=!1,Qs=[],Ho=null,Vo=null,Wo=null,Wl=new Map,Ul=new Map,Lo=[],h$="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function lh(e,t){switch(e){case"focusin":case"focusout":Ho=null;break;case"dragenter":case"dragleave":Vo=null;break;case"mouseover":case"mouseout":Wo=null;break;case"pointerover":case"pointerout":Wl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ul.delete(t.pointerId)}}function ll(e,t,n,r,o,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},t!==null&&(t=xs(t),t!==null&&vp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function y$(e,t,n,r,o){switch(t){case"focusin":return Ho=ll(Ho,e,t,n,r,o),!0;case"dragenter":return Vo=ll(Vo,e,t,n,r,o),!0;case"mouseover":return Wo=ll(Wo,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Wl.set(a,ll(Wl.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Ul.set(a,ll(Ul.get(a)||null,e,t,n,r,o)),!0}return!1}function US(e){var t=ya(e.target);if(t!==null){var n=ka(t);if(n!==null){if(t=n.tag,t===13){if(t=NS(n),t!==null){e.blockedOn=t,WS(e.priority,function(){HS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Cu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vm(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);sm=r,n.target.dispatchEvent(r),sm=null}else return t=xs(n),t!==null&&vp(t),e.blockedOn=n,!1;t.shift()}return!0}function sh(e,t,n){Cu(e)&&n.delete(t)}function b$(){mm=!1,Ho!==null&&Cu(Ho)&&(Ho=null),Vo!==null&&Cu(Vo)&&(Vo=null),Wo!==null&&Cu(Wo)&&(Wo=null),Wl.forEach(sh),Ul.forEach(sh)}function sl(e,t){e.blockedOn===t&&(e.blockedOn=null,mm||(mm=!0,ur.unstable_scheduleCallback(ur.unstable_NormalPriority,b$)))}function Gl(e){function t(o){return sl(o,e)}if(0<Qs.length){sl(Qs[0],e);for(var n=1;n<Qs.length;n++){var r=Qs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ho!==null&&sl(Ho,e),Vo!==null&&sl(Vo,e),Wo!==null&&sl(Wo,e),Wl.forEach(t),Ul.forEach(t),n=0;n<Lo.length;n++)r=Lo[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Lo.length&&(n=Lo[0],n.blockedOn===null);)US(n),n.blockedOn===null&&Lo.shift()}var $i=Co.ReactCurrentBatchConfig,Xu=!0;function S$(e,t,n,r){var o=$t,a=$i.transition;$i.transition=null;try{$t=1,pp(e,t,n,r)}finally{$t=o,$i.transition=a}}function C$(e,t,n,r){var o=$t,a=$i.transition;$i.transition=null;try{$t=4,pp(e,t,n,r)}finally{$t=o,$i.transition=a}}function pp(e,t,n,r){if(Xu){var o=vm(e,t,n,r);if(o===null)Jd(e,t,r,Yu,n),lh(e,r);else if(y$(o,e,t,n,r))r.stopPropagation();else if(lh(e,r),t&4&&-1<h$.indexOf(e)){for(;o!==null;){var a=xs(o);if(a!==null&&kS(a),a=vm(e,t,n,r),a===null&&Jd(e,t,r,Yu,n),a===o)break;o=a}o!==null&&r.stopPropagation()}else Jd(e,t,r,null,n)}}var Yu=null;function vm(e,t,n,r){if(Yu=null,e=dp(r),e=ya(e),e!==null)if(t=ka(e),t===null)e=null;else if(n=t.tag,n===13){if(e=NS(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yu=e,null}function GS(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(s$()){case fp:return 1;case DS:return 4;case qu:case u$:return 16;case FS:return 536870912;default:return 16}default:return 16}}var jo=null,gp=null,wu=null;function KS(){if(wu)return wu;var e,t=gp,n=t.length,r,o="value"in jo?jo.value:jo.textContent,a=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[a-r];r++);return wu=o.slice(e,1<r?1-r:void 0)}function Eu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Xs(){return!0}function uh(){return!1}function fr(e){function t(n,r,o,a,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Xs:uh,this.isPropagationStopped=uh,this}return Ut(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Xs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Xs)},persist:function(){},isPersistent:Xs}),t}var qi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hp=fr(qi),Es=Ut({},qi,{view:0,detail:0}),w$=fr(Es),Vd,Wd,ul,Dc=Ut({},Es,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ul&&(ul&&e.type==="mousemove"?(Vd=e.screenX-ul.screenX,Wd=e.screenY-ul.screenY):Wd=Vd=0,ul=e),Vd)},movementY:function(e){return"movementY"in e?e.movementY:Wd}}),ch=fr(Dc),E$=Ut({},Dc,{dataTransfer:0}),x$=fr(E$),R$=Ut({},Es,{relatedTarget:0}),Ud=fr(R$),$$=Ut({},qi,{animationName:0,elapsedTime:0,pseudoElement:0}),O$=fr($$),P$=Ut({},qi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_$=fr(P$),I$=Ut({},qi,{data:0}),dh=fr(I$),T$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M$={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},N$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function L$(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=N$[e])?!!t[e]:!1}function yp(){return L$}var A$=Ut({},Es,{key:function(e){if(e.key){var t=T$[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Eu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?M$[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yp,charCode:function(e){return e.type==="keypress"?Eu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),j$=fr(A$),D$=Ut({},Dc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fh=fr(D$),F$=Ut({},Es,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yp}),z$=fr(F$),B$=Ut({},qi,{propertyName:0,elapsedTime:0,pseudoElement:0}),k$=fr(B$),H$=Ut({},Dc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),V$=fr(H$),W$=[9,13,27,32],bp=po&&"CompositionEvent"in window,Pl=null;po&&"documentMode"in document&&(Pl=document.documentMode);var U$=po&&"TextEvent"in window&&!Pl,qS=po&&(!bp||Pl&&8<Pl&&11>=Pl),mh=" ",vh=!1;function QS(e,t){switch(e){case"keyup":return W$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function XS(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ci=!1;function G$(e,t){switch(e){case"compositionend":return XS(t);case"keypress":return t.which!==32?null:(vh=!0,mh);case"textInput":return e=t.data,e===mh&&vh?null:e;default:return null}}function K$(e,t){if(ci)return e==="compositionend"||!bp&&QS(e,t)?(e=KS(),wu=gp=jo=null,ci=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qS&&t.locale!=="ko"?null:t.data;default:return null}}var q$={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ph(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!q$[e.type]:t==="textarea"}function YS(e,t,n,r){PS(r),t=Ju(t,"onChange"),0<t.length&&(n=new hp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _l=null,Kl=null;function Q$(e){s1(e,0)}function Fc(e){var t=mi(e);if(CS(t))return e}function X$(e,t){if(e==="change")return t}var JS=!1;if(po){var Gd;if(po){var Kd="oninput"in document;if(!Kd){var gh=document.createElement("div");gh.setAttribute("oninput","return;"),Kd=typeof gh.oninput=="function"}Gd=Kd}else Gd=!1;JS=Gd&&(!document.documentMode||9<document.documentMode)}function hh(){_l&&(_l.detachEvent("onpropertychange",ZS),Kl=_l=null)}function ZS(e){if(e.propertyName==="value"&&Fc(Kl)){var t=[];YS(t,Kl,e,dp(e)),MS(Q$,t)}}function Y$(e,t,n){e==="focusin"?(hh(),_l=t,Kl=n,_l.attachEvent("onpropertychange",ZS)):e==="focusout"&&hh()}function J$(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fc(Kl)}function Z$(e,t){if(e==="click")return Fc(t)}function eO(e,t){if(e==="input"||e==="change")return Fc(t)}function tO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wr=typeof Object.is=="function"?Object.is:tO;function ql(e,t){if(Wr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Xf.call(t,o)||!Wr(e[o],t[o]))return!1}return!0}function yh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bh(e,t){var n=yh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=yh(n)}}function e1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?e1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function t1(){for(var e=window,t=Uu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Uu(e.document)}return t}function Sp(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 nO(e){var t=t1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&e1(n.ownerDocument.documentElement,n)){if(r!==null&&Sp(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=bh(n,a);var i=bh(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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var rO=po&&"documentMode"in document&&11>=document.documentMode,di=null,pm=null,Il=null,gm=!1;function Sh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gm||di==null||di!==Uu(r)||(r=di,"selectionStart"in r&&Sp(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}),Il&&ql(Il,r)||(Il=r,r=Ju(pm,"onSelect"),0<r.length&&(t=new hp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=di)))}function Ys(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fi={animationend:Ys("Animation","AnimationEnd"),animationiteration:Ys("Animation","AnimationIteration"),animationstart:Ys("Animation","AnimationStart"),transitionend:Ys("Transition","TransitionEnd")},qd={},n1={};po&&(n1=document.createElement("div").style,"AnimationEvent"in window||(delete fi.animationend.animation,delete fi.animationiteration.animation,delete fi.animationstart.animation),"TransitionEvent"in window||delete fi.transitionend.transition);function zc(e){if(qd[e])return qd[e];if(!fi[e])return e;var t=fi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in n1)return qd[e]=t[n];return e}var r1=zc("animationend"),o1=zc("animationiteration"),a1=zc("animationstart"),i1=zc("transitionend"),l1=new Map,Ch="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function na(e,t){l1.set(e,t),Ba(t,[e])}for(var Qd=0;Qd<Ch.length;Qd++){var Xd=Ch[Qd],oO=Xd.toLowerCase(),aO=Xd[0].toUpperCase()+Xd.slice(1);na(oO,"on"+aO)}na(r1,"onAnimationEnd");na(o1,"onAnimationIteration");na(a1,"onAnimationStart");na("dblclick","onDoubleClick");na("focusin","onFocus");na("focusout","onBlur");na(i1,"onTransitionEnd");Ti("onMouseEnter",["mouseout","mouseover"]);Ti("onMouseLeave",["mouseout","mouseover"]);Ti("onPointerEnter",["pointerout","pointerover"]);Ti("onPointerLeave",["pointerout","pointerover"]);Ba("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ba("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ba("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ba("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ba("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ba("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var El="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),iO=new Set("cancel close invalid load scroll toggle".split(" ").concat(El));function wh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,o$(r,t,void 0,e),e.currentTarget=null}function s1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;wh(o,l,c),a=s}else for(i=0;i<r.length;i++){if(l=r[i],s=l.instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;wh(o,l,c),a=s}}}if(Ku)throw e=dm,Ku=!1,dm=null,e}function Ft(e,t){var n=t[Cm];n===void 0&&(n=t[Cm]=new Set);var r=e+"__bubble";n.has(r)||(u1(t,e,2,!1),n.add(r))}function Yd(e,t,n){var r=0;t&&(r|=4),u1(n,e,r,t)}var Js="_reactListening"+Math.random().toString(36).slice(2);function Ql(e){if(!e[Js]){e[Js]=!0,gS.forEach(function(n){n!=="selectionchange"&&(iO.has(n)||Yd(n,!1,e),Yd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Js]||(t[Js]=!0,Yd("selectionchange",!1,t))}}function u1(e,t,n,r){switch(GS(t)){case 1:var o=S$;break;case 4:o=C$;break;default:o=pp}n=o.bind(null,t,n,e),o=void 0,!cm||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Jd(e,t,n,r,o){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;i=i.return}for(;l!==null;){if(i=ya(l),i===null)return;if(s=i.tag,s===5||s===6){r=a=i;continue e}l=l.parentNode}}r=r.return}MS(function(){var c=a,d=dp(n),f=[];e:{var m=l1.get(e);if(m!==void 0){var y=hp,b=e;switch(e){case"keypress":if(Eu(n)===0)break e;case"keydown":case"keyup":y=j$;break;case"focusin":b="focus",y=Ud;break;case"focusout":b="blur",y=Ud;break;case"beforeblur":case"afterblur":y=Ud;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=x$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=z$;break;case r1:case o1:case a1:y=O$;break;case i1:y=k$;break;case"scroll":y=w$;break;case"wheel":y=V$;break;case"copy":case"cut":case"paste":y=_$;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=fh}var S=(t&4)!==0,h=!S&&e==="scroll",g=S?m!==null?m+"Capture":null:m;S=[];for(var v=c,p;v!==null;){p=v;var C=p.stateNode;if(p.tag===5&&C!==null&&(p=C,g!==null&&(C=Vl(v,g),C!=null&&S.push(Xl(v,C,p)))),h)break;v=v.return}0<S.length&&(m=new y(m,b,null,n,d),f.push({event:m,listeners:S}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",m&&n!==sm&&(b=n.relatedTarget||n.fromElement)&&(ya(b)||b[go]))break e;if((y||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,y?(b=n.relatedTarget||n.toElement,y=c,b=b?ya(b):null,b!==null&&(h=ka(b),b!==h||b.tag!==5&&b.tag!==6)&&(b=null)):(y=null,b=c),y!==b)){if(S=ch,C="onMouseLeave",g="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(S=fh,C="onPointerLeave",g="onPointerEnter",v="pointer"),h=y==null?m:mi(y),p=b==null?m:mi(b),m=new S(C,v+"leave",y,n,d),m.target=h,m.relatedTarget=p,C=null,ya(d)===c&&(S=new S(g,v+"enter",b,n,d),S.target=p,S.relatedTarget=h,C=S),h=C,y&&b)t:{for(S=y,g=b,v=0,p=S;p;p=Ja(p))v++;for(p=0,C=g;C;C=Ja(C))p++;for(;0<v-p;)S=Ja(S),v--;for(;0<p-v;)g=Ja(g),p--;for(;v--;){if(S===g||g!==null&&S===g.alternate)break t;S=Ja(S),g=Ja(g)}S=null}else S=null;y!==null&&Eh(f,m,y,S,!1),b!==null&&h!==null&&Eh(f,h,b,S,!0)}}e:{if(m=c?mi(c):window,y=m.nodeName&&m.nodeName.toLowerCase(),y==="select"||y==="input"&&m.type==="file")var w=X$;else if(ph(m))if(JS)w=eO;else{w=J$;var x=Y$}else(y=m.nodeName)&&y.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(w=Z$);if(w&&(w=w(e,c))){YS(f,w,n,d);break e}x&&x(e,m,c),e==="focusout"&&(x=m._wrapperState)&&x.controlled&&m.type==="number"&&rm(m,"number",m.value)}switch(x=c?mi(c):window,e){case"focusin":(ph(x)||x.contentEditable==="true")&&(di=x,pm=c,Il=null);break;case"focusout":Il=pm=di=null;break;case"mousedown":gm=!0;break;case"contextmenu":case"mouseup":case"dragend":gm=!1,Sh(f,n,d);break;case"selectionchange":if(rO)break;case"keydown":case"keyup":Sh(f,n,d)}var E;if(bp)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else ci?QS(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(qS&&n.locale!=="ko"&&(ci||R!=="onCompositionStart"?R==="onCompositionEnd"&&ci&&(E=KS()):(jo=d,gp="value"in jo?jo.value:jo.textContent,ci=!0)),x=Ju(c,R),0<x.length&&(R=new dh(R,e,null,n,d),f.push({event:R,listeners:x}),E?R.data=E:(E=XS(n),E!==null&&(R.data=E)))),(E=U$?G$(e,n):K$(e,n))&&(c=Ju(c,"onBeforeInput"),0<c.length&&(d=new dh("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=E))}s1(f,t)})}function Xl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ju(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=Vl(e,n),a!=null&&r.unshift(Xl(e,a,o)),a=Vl(e,t),a!=null&&r.push(Xl(e,a,o))),e=e.return}return r}function Ja(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Eh(e,t,n,r,o){for(var a=t._reactName,i=[];n!==null&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(s!==null&&s===r)break;l.tag===5&&c!==null&&(l=c,o?(s=Vl(n,a),s!=null&&i.unshift(Xl(n,s,l))):o||(s=Vl(n,a),s!=null&&i.push(Xl(n,s,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var lO=/\r\n?/g,sO=/\u0000|\uFFFD/g;function xh(e){return(typeof e=="string"?e:""+e).replace(lO,`
`).replace(sO,"")}function Zs(e,t,n){if(t=xh(t),xh(e)!==t&&n)throw Error(ue(425))}function Zu(){}var hm=null,ym=null;function bm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sm=typeof setTimeout=="function"?setTimeout:void 0,uO=typeof clearTimeout=="function"?clearTimeout:void 0,Rh=typeof Promise=="function"?Promise:void 0,cO=typeof queueMicrotask=="function"?queueMicrotask:typeof Rh<"u"?function(e){return Rh.resolve(null).then(e).catch(dO)}:Sm;function dO(e){setTimeout(function(){throw e})}function Zd(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Gl(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Gl(t)}function Uo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function $h(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Qi=Math.random().toString(36).slice(2),Yr="__reactFiber$"+Qi,Yl="__reactProps$"+Qi,go="__reactContainer$"+Qi,Cm="__reactEvents$"+Qi,fO="__reactListeners$"+Qi,mO="__reactHandles$"+Qi;function ya(e){var t=e[Yr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[Yr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$h(e);e!==null;){if(n=e[Yr])return n;e=$h(e)}return t}e=n,n=e.parentNode}return null}function xs(e){return e=e[Yr]||e[go],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ue(33))}function Bc(e){return e[Yl]||null}var wm=[],vi=-1;function ra(e){return{current:e}}function Bt(e){0>vi||(e.current=wm[vi],wm[vi]=null,vi--)}function jt(e,t){vi++,wm[vi]=e.current,e.current=t}var Jo={},Ln=ra(Jo),qn=ra(!1),Ta=Jo;function Mi(e,t){var n=e.type.contextTypes;if(!n)return Jo;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 Qn(e){return e=e.childContextTypes,e!=null}function ec(){Bt(qn),Bt(Ln)}function Oh(e,t,n){if(Ln.current!==Jo)throw Error(ue(168));jt(Ln,t),jt(qn,n)}function c1(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(ue(108,YR(e)||"Unknown",o));return Ut({},n,r)}function tc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jo,Ta=Ln.current,jt(Ln,e),jt(qn,qn.current),!0}function Ph(e,t,n){var r=e.stateNode;if(!r)throw Error(ue(169));n?(e=c1(e,t,Ta),r.__reactInternalMemoizedMergedChildContext=e,Bt(qn),Bt(Ln),jt(Ln,e)):Bt(qn),jt(qn,n)}var so=null,kc=!1,ef=!1;function d1(e){so===null?so=[e]:so.push(e)}function vO(e){kc=!0,d1(e)}function oa(){if(!ef&&so!==null){ef=!0;var e=0,t=$t;try{var n=so;for($t=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}so=null,kc=!1}catch(o){throw so!==null&&(so=so.slice(e+1)),jS(fp,oa),o}finally{$t=t,ef=!1}}return null}var pi=[],gi=0,nc=null,rc=0,Cr=[],wr=0,Ma=null,co=1,fo="";function ma(e,t){pi[gi++]=rc,pi[gi++]=nc,nc=e,rc=t}function f1(e,t,n){Cr[wr++]=co,Cr[wr++]=fo,Cr[wr++]=Ma,Ma=e;var r=co;e=fo;var o=32-zr(r)-1;r&=~(1<<o),n+=1;var a=32-zr(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,co=1<<32-zr(t)+o|n<<o|r,fo=a+e}else co=1<<a|n<<o|r,fo=e}function Cp(e){e.return!==null&&(ma(e,1),f1(e,1,0))}function wp(e){for(;e===nc;)nc=pi[--gi],pi[gi]=null,rc=pi[--gi],pi[gi]=null;for(;e===Ma;)Ma=Cr[--wr],Cr[wr]=null,fo=Cr[--wr],Cr[wr]=null,co=Cr[--wr],Cr[wr]=null}var ir=null,or=null,kt=!1,Fr=null;function m1(e,t){var n=Er(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _h(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ir=e,or=Uo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ir=e,or=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ma!==null?{id:co,overflow:fo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Er(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ir=e,or=null,!0):!1;default:return!1}}function Em(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xm(e){if(kt){var t=or;if(t){var n=t;if(!_h(e,t)){if(Em(e))throw Error(ue(418));t=Uo(n.nextSibling);var r=ir;t&&_h(e,t)?m1(r,n):(e.flags=e.flags&-4097|2,kt=!1,ir=e)}}else{if(Em(e))throw Error(ue(418));e.flags=e.flags&-4097|2,kt=!1,ir=e}}}function Ih(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ir=e}function eu(e){if(e!==ir)return!1;if(!kt)return Ih(e),kt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bm(e.type,e.memoizedProps)),t&&(t=or)){if(Em(e))throw v1(),Error(ue(418));for(;t;)m1(e,t),t=Uo(t.nextSibling)}if(Ih(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ue(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){or=Uo(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}or=null}}else or=ir?Uo(e.stateNode.nextSibling):null;return!0}function v1(){for(var e=or;e;)e=Uo(e.nextSibling)}function Ni(){or=ir=null,kt=!1}function Ep(e){Fr===null?Fr=[e]:Fr.push(e)}var pO=Co.ReactCurrentBatchConfig;function cl(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ue(309));var r=n.stateNode}if(!r)throw Error(ue(147,e));var o=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var l=o.refs;i===null?delete l[a]:l[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(ue(284));if(!n._owner)throw Error(ue(290,e))}return e}function tu(e,t){throw e=Object.prototype.toString.call(t),Error(ue(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Th(e){var t=e._init;return t(e._payload)}function p1(e){function t(g,v){if(e){var p=g.deletions;p===null?(g.deletions=[v],g.flags|=16):p.push(v)}}function n(g,v){if(!e)return null;for(;v!==null;)t(g,v),v=v.sibling;return null}function r(g,v){for(g=new Map;v!==null;)v.key!==null?g.set(v.key,v):g.set(v.index,v),v=v.sibling;return g}function o(g,v){return g=Qo(g,v),g.index=0,g.sibling=null,g}function a(g,v,p){return g.index=p,e?(p=g.alternate,p!==null?(p=p.index,p<v?(g.flags|=2,v):p):(g.flags|=2,v)):(g.flags|=1048576,v)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,v,p,C){return v===null||v.tag!==6?(v=sf(p,g.mode,C),v.return=g,v):(v=o(v,p),v.return=g,v)}function s(g,v,p,C){var w=p.type;return w===ui?d(g,v,p.props.children,C,p.key):v!==null&&(v.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Mo&&Th(w)===v.type)?(C=o(v,p.props),C.ref=cl(g,v,p),C.return=g,C):(C=Iu(p.type,p.key,p.props,null,g.mode,C),C.ref=cl(g,v,p),C.return=g,C)}function c(g,v,p,C){return v===null||v.tag!==4||v.stateNode.containerInfo!==p.containerInfo||v.stateNode.implementation!==p.implementation?(v=uf(p,g.mode,C),v.return=g,v):(v=o(v,p.children||[]),v.return=g,v)}function d(g,v,p,C,w){return v===null||v.tag!==7?(v=$a(p,g.mode,C,w),v.return=g,v):(v=o(v,p),v.return=g,v)}function f(g,v,p){if(typeof v=="string"&&v!==""||typeof v=="number")return v=sf(""+v,g.mode,p),v.return=g,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ws:return p=Iu(v.type,v.key,v.props,null,g.mode,p),p.ref=cl(g,null,v),p.return=g,p;case si:return v=uf(v,g.mode,p),v.return=g,v;case Mo:var C=v._init;return f(g,C(v._payload),p)}if(Cl(v)||al(v))return v=$a(v,g.mode,p,null),v.return=g,v;tu(g,v)}return null}function m(g,v,p,C){var w=v!==null?v.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return w!==null?null:l(g,v,""+p,C);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Ws:return p.key===w?s(g,v,p,C):null;case si:return p.key===w?c(g,v,p,C):null;case Mo:return w=p._init,m(g,v,w(p._payload),C)}if(Cl(p)||al(p))return w!==null?null:d(g,v,p,C,null);tu(g,p)}return null}function y(g,v,p,C,w){if(typeof C=="string"&&C!==""||typeof C=="number")return g=g.get(p)||null,l(v,g,""+C,w);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ws:return g=g.get(C.key===null?p:C.key)||null,s(v,g,C,w);case si:return g=g.get(C.key===null?p:C.key)||null,c(v,g,C,w);case Mo:var x=C._init;return y(g,v,p,x(C._payload),w)}if(Cl(C)||al(C))return g=g.get(p)||null,d(v,g,C,w,null);tu(v,C)}return null}function b(g,v,p,C){for(var w=null,x=null,E=v,R=v=0,O=null;E!==null&&R<p.length;R++){E.index>R?(O=E,E=null):O=E.sibling;var _=m(g,E,p[R],C);if(_===null){E===null&&(E=O);break}e&&E&&_.alternate===null&&t(g,E),v=a(_,v,R),x===null?w=_:x.sibling=_,x=_,E=O}if(R===p.length)return n(g,E),kt&&ma(g,R),w;if(E===null){for(;R<p.length;R++)E=f(g,p[R],C),E!==null&&(v=a(E,v,R),x===null?w=E:x.sibling=E,x=E);return kt&&ma(g,R),w}for(E=r(g,E);R<p.length;R++)O=y(E,g,R,p[R],C),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?R:O.key),v=a(O,v,R),x===null?w=O:x.sibling=O,x=O);return e&&E.forEach(function(A){return t(g,A)}),kt&&ma(g,R),w}function S(g,v,p,C){var w=al(p);if(typeof w!="function")throw Error(ue(150));if(p=w.call(p),p==null)throw Error(ue(151));for(var x=w=null,E=v,R=v=0,O=null,_=p.next();E!==null&&!_.done;R++,_=p.next()){E.index>R?(O=E,E=null):O=E.sibling;var A=m(g,E,_.value,C);if(A===null){E===null&&(E=O);break}e&&E&&A.alternate===null&&t(g,E),v=a(A,v,R),x===null?w=A:x.sibling=A,x=A,E=O}if(_.done)return n(g,E),kt&&ma(g,R),w;if(E===null){for(;!_.done;R++,_=p.next())_=f(g,_.value,C),_!==null&&(v=a(_,v,R),x===null?w=_:x.sibling=_,x=_);return kt&&ma(g,R),w}for(E=r(g,E);!_.done;R++,_=p.next())_=y(E,g,R,_.value,C),_!==null&&(e&&_.alternate!==null&&E.delete(_.key===null?R:_.key),v=a(_,v,R),x===null?w=_:x.sibling=_,x=_);return e&&E.forEach(function(M){return t(g,M)}),kt&&ma(g,R),w}function h(g,v,p,C){if(typeof p=="object"&&p!==null&&p.type===ui&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ws:e:{for(var w=p.key,x=v;x!==null;){if(x.key===w){if(w=p.type,w===ui){if(x.tag===7){n(g,x.sibling),v=o(x,p.props.children),v.return=g,g=v;break e}}else if(x.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Mo&&Th(w)===x.type){n(g,x.sibling),v=o(x,p.props),v.ref=cl(g,x,p),v.return=g,g=v;break e}n(g,x);break}else t(g,x);x=x.sibling}p.type===ui?(v=$a(p.props.children,g.mode,C,p.key),v.return=g,g=v):(C=Iu(p.type,p.key,p.props,null,g.mode,C),C.ref=cl(g,v,p),C.return=g,g=C)}return i(g);case si:e:{for(x=p.key;v!==null;){if(v.key===x)if(v.tag===4&&v.stateNode.containerInfo===p.containerInfo&&v.stateNode.implementation===p.implementation){n(g,v.sibling),v=o(v,p.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else t(g,v);v=v.sibling}v=uf(p,g.mode,C),v.return=g,g=v}return i(g);case Mo:return x=p._init,h(g,v,x(p._payload),C)}if(Cl(p))return b(g,v,p,C);if(al(p))return S(g,v,p,C);tu(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,v!==null&&v.tag===6?(n(g,v.sibling),v=o(v,p),v.return=g,g=v):(n(g,v),v=sf(p,g.mode,C),v.return=g,g=v),i(g)):n(g,v)}return h}var Li=p1(!0),g1=p1(!1),oc=ra(null),ac=null,hi=null,xp=null;function Rp(){xp=hi=ac=null}function $p(e){var t=oc.current;Bt(oc),e._currentValue=t}function Rm(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){ac=e,xp=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Kn=!0),e.firstContext=null)}function $r(e){var t=e._currentValue;if(xp!==e)if(e={context:e,memoizedValue:t,next:null},hi===null){if(ac===null)throw Error(ue(308));hi=e,ac.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return t}var ba=null;function Op(e){ba===null?ba=[e]:ba.push(e)}function h1(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Op(t)):(n.next=o.next,o.next=n),t.interleaved=n,ho(e,r)}function ho(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var No=!1;function Pp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function y1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Go(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ht&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ho(e,n)}return o=r.interleaved,o===null?(t.next=t,Op(r)):(t.next=o.next,o.next=t),r.interleaved=t,ho(e,n)}function xu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mp(e,n)}}function Mh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?o=a=i:a=a.next=i,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ic(e,t,n,r){var o=e.updateQueue;No=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,c=s.next;s.next=null,i===null?a=c:i.next=c,i=s;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==i&&(l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s))}if(a!==null){var f=o.baseState;i=0,d=c=s=null,l=a;do{var m=l.lane,y=l.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,S=l;switch(m=t,y=n,S.tag){case 1:if(b=S.payload,typeof b=="function"){f=b.call(y,f,m);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=S.payload,m=typeof b=="function"?b.call(y,f,m):b,m==null)break e;f=Ut({},f,m);break e;case 2:No=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[l]:m.push(l))}else y={eventTime:y,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(c=d=y,s=f):d=d.next=y,i|=m;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;m=l,l=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(d===null&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);La|=i,e.lanes=i,e.memoizedState=f}}function Nh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(ue(191,o));o.call(r)}}}var Rs={},eo=ra(Rs),Jl=ra(Rs),Zl=ra(Rs);function Sa(e){if(e===Rs)throw Error(ue(174));return e}function _p(e,t){switch(jt(Zl,t),jt(Jl,e),jt(eo,Rs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:am(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=am(t,e)}Bt(eo),jt(eo,t)}function Ai(){Bt(eo),Bt(Jl),Bt(Zl)}function b1(e){Sa(Zl.current);var t=Sa(eo.current),n=am(t,e.type);t!==n&&(jt(Jl,e),jt(eo,n))}function Ip(e){Jl.current===e&&(Bt(eo),Bt(Jl))}var Vt=ra(0);function lc(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 tf=[];function Tp(){for(var e=0;e<tf.length;e++)tf[e]._workInProgressVersionPrimary=null;tf.length=0}var Ru=Co.ReactCurrentDispatcher,nf=Co.ReactCurrentBatchConfig,Na=0,Wt=null,sn=null,vn=null,sc=!1,Tl=!1,es=0,gO=0;function Pn(){throw Error(ue(321))}function Mp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wr(e[n],t[n]))return!1;return!0}function Np(e,t,n,r,o,a){if(Na=a,Wt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ru.current=e===null||e.memoizedState===null?SO:CO,e=n(r,o),Tl){a=0;do{if(Tl=!1,es=0,25<=a)throw Error(ue(301));a+=1,vn=sn=null,t.updateQueue=null,Ru.current=wO,e=n(r,o)}while(Tl)}if(Ru.current=uc,t=sn!==null&&sn.next!==null,Na=0,vn=sn=Wt=null,sc=!1,t)throw Error(ue(300));return e}function Lp(){var e=es!==0;return es=0,e}function Xr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vn===null?Wt.memoizedState=vn=e:vn=vn.next=e,vn}function Or(){if(sn===null){var e=Wt.alternate;e=e!==null?e.memoizedState:null}else e=sn.next;var t=vn===null?Wt.memoizedState:vn.next;if(t!==null)vn=t,sn=e;else{if(e===null)throw Error(ue(310));sn=e,e={memoizedState:sn.memoizedState,baseState:sn.baseState,baseQueue:sn.baseQueue,queue:sn.queue,next:null},vn===null?Wt.memoizedState=vn=e:vn=vn.next=e}return vn}function ts(e,t){return typeof t=="function"?t(e):t}function rf(e){var t=Or(),n=t.queue;if(n===null)throw Error(ue(311));n.lastRenderedReducer=e;var r=sn,o=r.baseQueue,a=n.pending;if(a!==null){if(o!==null){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(o!==null){a=o.next,r=r.baseState;var l=i=null,s=null,c=a;do{var d=c.lane;if((Na&d)===d)s!==null&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(l=s=f,i=r):s=s.next=f,Wt.lanes|=d,La|=d}c=c.next}while(c!==null&&c!==a);s===null?i=r:s.next=l,Wr(r,t.memoizedState)||(Kn=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do a=o.lane,Wt.lanes|=a,La|=a,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function of(e){var t=Or(),n=t.queue;if(n===null)throw Error(ue(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o);Wr(a,t.memoizedState)||(Kn=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function S1(){}function C1(e,t){var n=Wt,r=Or(),o=t(),a=!Wr(r.memoizedState,o);if(a&&(r.memoizedState=o,Kn=!0),r=r.queue,Ap(x1.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||vn!==null&&vn.memoizedState.tag&1){if(n.flags|=2048,ns(9,E1.bind(null,n,r,o,t),void 0,null),hn===null)throw Error(ue(349));Na&30||w1(n,t,o)}return o}function w1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Wt.updateQueue,t===null?(t={lastEffect:null,stores:null},Wt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function E1(e,t,n,r){t.value=n,t.getSnapshot=r,R1(t)&&$1(e)}function x1(e,t,n){return n(function(){R1(t)&&$1(e)})}function R1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wr(e,n)}catch{return!0}}function $1(e){var t=ho(e,1);t!==null&&Br(t,e,1,-1)}function Lh(e){var t=Xr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ts,lastRenderedState:e},t.queue=e,e=e.dispatch=bO.bind(null,Wt,e),[t.memoizedState,e]}function ns(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Wt.updateQueue,t===null?(t={lastEffect:null,stores:null},Wt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function O1(){return Or().memoizedState}function $u(e,t,n,r){var o=Xr();Wt.flags|=e,o.memoizedState=ns(1|t,n,void 0,r===void 0?null:r)}function Hc(e,t,n,r){var o=Or();r=r===void 0?null:r;var a=void 0;if(sn!==null){var i=sn.memoizedState;if(a=i.destroy,r!==null&&Mp(r,i.deps)){o.memoizedState=ns(t,n,a,r);return}}Wt.flags|=e,o.memoizedState=ns(1|t,n,a,r)}function Ah(e,t){return $u(8390656,8,e,t)}function Ap(e,t){return Hc(2048,8,e,t)}function P1(e,t){return Hc(4,2,e,t)}function _1(e,t){return Hc(4,4,e,t)}function I1(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function T1(e,t,n){return n=n!=null?n.concat([e]):null,Hc(4,4,I1.bind(null,t,e),n)}function jp(){}function M1(e,t){var n=Or();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Mp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function N1(e,t){var n=Or();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Mp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function L1(e,t,n){return Na&21?(Wr(n,t)||(n=zS(),Wt.lanes|=n,La|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Kn=!0),e.memoizedState=n)}function hO(e,t){var n=$t;$t=n!==0&&4>n?n:4,e(!0);var r=nf.transition;nf.transition={};try{e(!1),t()}finally{$t=n,nf.transition=r}}function A1(){return Or().memoizedState}function yO(e,t,n){var r=qo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},j1(e))D1(t,n);else if(n=h1(e,t,n,r),n!==null){var o=Dn();Br(n,e,r,o),F1(n,t,r)}}function bO(e,t,n){var r=qo(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(j1(e))D1(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,Wr(l,i)){var s=t.interleaved;s===null?(o.next=o,Op(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=h1(e,t,o,r),n!==null&&(o=Dn(),Br(n,e,r,o),F1(n,t,r))}}function j1(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function D1(e,t){Tl=sc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function F1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mp(e,n)}}var uc={readContext:$r,useCallback:Pn,useContext:Pn,useEffect:Pn,useImperativeHandle:Pn,useInsertionEffect:Pn,useLayoutEffect:Pn,useMemo:Pn,useReducer:Pn,useRef:Pn,useState:Pn,useDebugValue:Pn,useDeferredValue:Pn,useTransition:Pn,useMutableSource:Pn,useSyncExternalStore:Pn,useId:Pn,unstable_isNewReconciler:!1},SO={readContext:$r,useCallback:function(e,t){return Xr().memoizedState=[e,t===void 0?null:t],e},useContext:$r,useEffect:Ah,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$u(4194308,4,I1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $u(4194308,4,e,t)},useInsertionEffect:function(e,t){return $u(4,2,e,t)},useMemo:function(e,t){var n=Xr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xr();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=yO.bind(null,Wt,e),[r.memoizedState,e]},useRef:function(e){var t=Xr();return e={current:e},t.memoizedState=e},useState:Lh,useDebugValue:jp,useDeferredValue:function(e){return Xr().memoizedState=e},useTransition:function(){var e=Lh(!1),t=e[0];return e=hO.bind(null,e[1]),Xr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Wt,o=Xr();if(kt){if(n===void 0)throw Error(ue(407));n=n()}else{if(n=t(),hn===null)throw Error(ue(349));Na&30||w1(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ah(x1.bind(null,r,a,e),[e]),r.flags|=2048,ns(9,E1.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Xr(),t=hn.identifierPrefix;if(kt){var n=fo,r=co;n=(r&~(1<<32-zr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=es++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=gO++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},CO={readContext:$r,useCallback:M1,useContext:$r,useEffect:Ap,useImperativeHandle:T1,useInsertionEffect:P1,useLayoutEffect:_1,useMemo:N1,useReducer:rf,useRef:O1,useState:function(){return rf(ts)},useDebugValue:jp,useDeferredValue:function(e){var t=Or();return L1(t,sn.memoizedState,e)},useTransition:function(){var e=rf(ts)[0],t=Or().memoizedState;return[e,t]},useMutableSource:S1,useSyncExternalStore:C1,useId:A1,unstable_isNewReconciler:!1},wO={readContext:$r,useCallback:M1,useContext:$r,useEffect:Ap,useImperativeHandle:T1,useInsertionEffect:P1,useLayoutEffect:_1,useMemo:N1,useReducer:of,useRef:O1,useState:function(){return of(ts)},useDebugValue:jp,useDeferredValue:function(e){var t=Or();return sn===null?t.memoizedState=e:L1(t,sn.memoizedState,e)},useTransition:function(){var e=of(ts)[0],t=Or().memoizedState;return[e,t]},useMutableSource:S1,useSyncExternalStore:C1,useId:A1,unstable_isNewReconciler:!1};function Lr(e,t){if(e&&e.defaultProps){t=Ut({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function $m(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ut({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Vc={isMounted:function(e){return(e=e._reactInternals)?ka(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Dn(),o=qo(e),a=mo(r,o);a.payload=t,n!=null&&(a.callback=n),t=Go(e,a,o),t!==null&&(Br(t,e,o,r),xu(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Dn(),o=qo(e),a=mo(r,o);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Go(e,a,o),t!==null&&(Br(t,e,o,r),xu(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dn(),r=qo(e),o=mo(n,r);o.tag=2,t!=null&&(o.callback=t),t=Go(e,o,r),t!==null&&(Br(t,e,r,n),xu(t,e,r))}};function jh(e,t,n,r,o,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!ql(n,r)||!ql(o,a):!0}function z1(e,t,n){var r=!1,o=Jo,a=t.contextType;return typeof a=="object"&&a!==null?a=$r(a):(o=Qn(t)?Ta:Ln.current,r=t.contextTypes,a=(r=r!=null)?Mi(e,o):Jo),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Vc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Dh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Vc.enqueueReplaceState(t,t.state,null)}function Om(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Pp(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=$r(a):(a=Qn(t)?Ta:Ln.current,o.context=Mi(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&($m(e,t,a,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Vc.enqueueReplaceState(o,o.state,null),ic(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ji(e,t){try{var n="",r=t;do n+=XR(r),r=r.return;while(r);var o=n}catch(a){o=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function af(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var EO=typeof WeakMap=="function"?WeakMap:Map;function B1(e,t,n){n=mo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dc||(dc=!0,Fm=r),Pm(e,t)},n}function k1(e,t,n){n=mo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Pm(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Pm(e,t),typeof r!="function"&&(Ko===null?Ko=new Set([this]):Ko.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Fh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new EO;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=DO.bind(null,e,t,n),t.then(e,e))}function zh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Bh(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=mo(-1,1),t.tag=2,Go(n,t,1))),n.lanes|=1),e)}var xO=Co.ReactCurrentOwner,Kn=!1;function jn(e,t,n,r){t.child=e===null?g1(t,null,n,r):Li(t,e.child,n,r)}function kh(e,t,n,r,o){n=n.render;var a=t.ref;return Oi(t,o),r=Np(e,t,n,r,a,o),n=Lp(),e!==null&&!Kn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yo(e,t,o)):(kt&&n&&Cp(t),t.flags|=1,jn(e,t,r,o),t.child)}function Hh(e,t,n,r,o){if(e===null){var a=n.type;return typeof a=="function"&&!Wp(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,H1(e,t,a,r,o)):(e=Iu(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:ql,n(i,r)&&e.ref===t.ref)return yo(e,t,o)}return t.flags|=1,e=Qo(a,r),e.ref=t.ref,e.return=t,t.child=e}function H1(e,t,n,r,o){if(e!==null){var a=e.memoizedProps;if(ql(a,r)&&e.ref===t.ref)if(Kn=!1,t.pendingProps=r=a,(e.lanes&o)!==0)e.flags&131072&&(Kn=!0);else return t.lanes=e.lanes,yo(e,t,o)}return _m(e,t,n,r,o)}function V1(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},jt(bi,rr),rr|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,jt(bi,rr),rr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,jt(bi,rr),rr|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,jt(bi,rr),rr|=r;return jn(e,t,o,n),t.child}function W1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _m(e,t,n,r,o){var a=Qn(n)?Ta:Ln.current;return a=Mi(t,a),Oi(t,o),n=Np(e,t,n,r,a,o),r=Lp(),e!==null&&!Kn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yo(e,t,o)):(kt&&r&&Cp(t),t.flags|=1,jn(e,t,n,o),t.child)}function Vh(e,t,n,r,o){if(Qn(n)){var a=!0;tc(t)}else a=!1;if(Oi(t,o),t.stateNode===null)Ou(e,t),z1(t,n,r),Om(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=$r(c):(c=Qn(n)?Ta:Ln.current,c=Mi(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||s!==c)&&Dh(t,i,r,c),No=!1;var m=t.memoizedState;i.state=m,ic(t,r,i,o),s=t.memoizedState,l!==r||m!==s||qn.current||No?(typeof d=="function"&&($m(t,n,d,r),s=t.memoizedState),(l=No||jh(t,n,l,r,m,s,c))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,y1(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Lr(t.type,l),i.props=c,f=t.pendingProps,m=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=$r(s):(s=Qn(n)?Ta:Ln.current,s=Mi(t,s));var y=n.getDerivedStateFromProps;(d=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==f||m!==s)&&Dh(t,i,r,s),No=!1,m=t.memoizedState,i.state=m,ic(t,r,i,o);var b=t.memoizedState;l!==f||m!==b||qn.current||No?(typeof y=="function"&&($m(t,n,y,r),b=t.memoizedState),(c=No||jh(t,n,c,r,m,b,s)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=s,r=c):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Im(e,t,n,r,a,o)}function Im(e,t,n,r,o,a){W1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Ph(t,n,!1),yo(e,t,a);r=t.stateNode,xO.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Li(t,e.child,null,a),t.child=Li(t,null,l,a)):jn(e,t,l,a),t.memoizedState=r.state,o&&Ph(t,n,!0),t.child}function U1(e){var t=e.stateNode;t.pendingContext?Oh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Oh(e,t.context,!1),_p(e,t.containerInfo)}function Wh(e,t,n,r,o){return Ni(),Ep(o),t.flags|=256,jn(e,t,n,r),t.child}var Tm={dehydrated:null,treeContext:null,retryLane:0};function Mm(e){return{baseLanes:e,cachePool:null,transitions:null}}function G1(e,t,n){var r=t.pendingProps,o=Vt.current,a=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),jt(Vt,o&1),e===null)return xm(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=Gc(i,r,0,null),e=$a(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Mm(n),t.memoizedState=Tm,e):Dp(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return RO(e,t,i,r,l,o,n);if(a){a=r.fallback,i=t.mode,o=e.child,l=o.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Qo(o,s),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?a=Qo(l,a):(a=$a(a,i,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=e.child.memoizedState,i=i===null?Mm(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~n,t.memoizedState=Tm,r}return a=e.child,e=a.sibling,r=Qo(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Dp(e,t){return t=Gc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function nu(e,t,n,r){return r!==null&&Ep(r),Li(t,e.child,null,n),e=Dp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function RO(e,t,n,r,o,a,i){if(n)return t.flags&256?(t.flags&=-257,r=af(Error(ue(422))),nu(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Gc({mode:"visible",children:r.children},o,0,null),a=$a(a,o,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Li(t,e.child,null,i),t.child.memoizedState=Mm(i),t.memoizedState=Tm,a);if(!(t.mode&1))return nu(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,a=Error(ue(419)),r=af(a,r,void 0),nu(e,t,i,r)}if(l=(i&e.childLanes)!==0,Kn||l){if(r=hn,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,ho(e,o),Br(r,e,o,-1))}return Vp(),r=af(Error(ue(421))),nu(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=FO.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,or=Uo(o.nextSibling),ir=t,kt=!0,Fr=null,e!==null&&(Cr[wr++]=co,Cr[wr++]=fo,Cr[wr++]=Ma,co=e.id,fo=e.overflow,Ma=t),t=Dp(t,r.children),t.flags|=4096,t)}function Uh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Rm(e.return,t,n)}function lf(e,t,n,r,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function K1(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(jn(e,t,r.children,n),r=Vt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Uh(e,n,t);else if(e.tag===19)Uh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(jt(Vt,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&lc(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),lf(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&lc(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}lf(t,!0,n,null,a);break;case"together":lf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ou(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yo(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),La|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ue(153));if(t.child!==null){for(e=t.child,n=Qo(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Qo(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $O(e,t,n){switch(t.tag){case 3:U1(t),Ni();break;case 5:b1(t);break;case 1:Qn(t.type)&&tc(t);break;case 4:_p(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;jt(oc,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(jt(Vt,Vt.current&1),t.flags|=128,null):n&t.child.childLanes?G1(e,t,n):(jt(Vt,Vt.current&1),e=yo(e,t,n),e!==null?e.sibling:null);jt(Vt,Vt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return K1(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),jt(Vt,Vt.current),r)break;return null;case 22:case 23:return t.lanes=0,V1(e,t,n)}return yo(e,t,n)}var q1,Nm,Q1,X1;q1=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Nm=function(){};Q1=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Sa(eo.current);var a=null;switch(n){case"input":o=tm(e,o),r=tm(e,r),a=[];break;case"select":o=Ut({},o,{value:void 0}),r=Ut({},r,{value:void 0}),a=[];break;case"textarea":o=om(e,o),r=om(e,r),a=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Zu)}im(n,r);var i;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(kl.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(l=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(s!=null||l!=null))if(c==="style")if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(kl.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&Ft("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};X1=function(e,t,n,r){n!==r&&(t.flags|=4)};function dl(e,t){if(!kt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _n(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function OO(e,t,n){var r=t.pendingProps;switch(wp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _n(t),null;case 1:return Qn(t.type)&&ec(),_n(t),null;case 3:return r=t.stateNode,Ai(),Bt(qn),Bt(Ln),Tp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(eu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Fr!==null&&(km(Fr),Fr=null))),Nm(e,t),_n(t),null;case 5:Ip(t);var o=Sa(Zl.current);if(n=t.type,e!==null&&t.stateNode!=null)Q1(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(ue(166));return _n(t),null}if(e=Sa(eo.current),eu(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Yr]=t,r[Yl]=a,e=(t.mode&1)!==0,n){case"dialog":Ft("cancel",r),Ft("close",r);break;case"iframe":case"object":case"embed":Ft("load",r);break;case"video":case"audio":for(o=0;o<El.length;o++)Ft(El[o],r);break;case"source":Ft("error",r);break;case"img":case"image":case"link":Ft("error",r),Ft("load",r);break;case"details":Ft("toggle",r);break;case"input":eh(r,a),Ft("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ft("invalid",r);break;case"textarea":nh(r,a),Ft("invalid",r)}im(n,a),o=null;for(var i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="children"?typeof l=="string"?r.textContent!==l&&(a.suppressHydrationWarning!==!0&&Zs(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(a.suppressHydrationWarning!==!0&&Zs(r.textContent,l,e),o=["children",""+l]):kl.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&Ft("scroll",r)}switch(n){case"input":Us(r),th(r,a,!0);break;case"textarea":Us(r),rh(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Zu)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xS(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/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[Yr]=t,e[Yl]=r,q1(e,t,!1,!1),t.stateNode=e;e:{switch(i=lm(n,r),n){case"dialog":Ft("cancel",e),Ft("close",e),o=r;break;case"iframe":case"object":case"embed":Ft("load",e),o=r;break;case"video":case"audio":for(o=0;o<El.length;o++)Ft(El[o],e);o=r;break;case"source":Ft("error",e),o=r;break;case"img":case"image":case"link":Ft("error",e),Ft("load",e),o=r;break;case"details":Ft("toggle",e),o=r;break;case"input":eh(e,r),o=tm(e,r),Ft("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ut({},r,{value:void 0}),Ft("invalid",e);break;case"textarea":nh(e,r),o=om(e,r),Ft("invalid",e);break;default:o=r}im(n,o),l=o;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?OS(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&RS(e,s)):a==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Hl(e,s):typeof s=="number"&&Hl(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(kl.hasOwnProperty(a)?s!=null&&a==="onScroll"&&Ft("scroll",e):s!=null&&lp(e,a,s,i))}switch(n){case"input":Us(e),th(e,r,!1);break;case"textarea":Us(e),rh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Yo(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Ei(e,!!r.multiple,a,!1):r.defaultValue!=null&&Ei(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Zu)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _n(t),null;case 6:if(e&&t.stateNode!=null)X1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ue(166));if(n=Sa(Zl.current),Sa(eo.current),eu(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yr]=t,(a=r.nodeValue!==n)&&(e=ir,e!==null))switch(e.tag){case 3:Zs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zs(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yr]=t,t.stateNode=r}return _n(t),null;case 13:if(Bt(Vt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(kt&&or!==null&&t.mode&1&&!(t.flags&128))v1(),Ni(),t.flags|=98560,a=!1;else if(a=eu(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(ue(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(ue(317));a[Yr]=t}else Ni(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_n(t),a=!1}else Fr!==null&&(km(Fr),Fr=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Vt.current&1?un===0&&(un=3):Vp())),t.updateQueue!==null&&(t.flags|=4),_n(t),null);case 4:return Ai(),Nm(e,t),e===null&&Ql(t.stateNode.containerInfo),_n(t),null;case 10:return $p(t.type._context),_n(t),null;case 17:return Qn(t.type)&&ec(),_n(t),null;case 19:if(Bt(Vt),a=t.memoizedState,a===null)return _n(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)dl(a,!1);else{if(un!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=lc(e),i!==null){for(t.flags|=128,dl(a,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return jt(Vt,Vt.current&1|2),t.child}e=e.sibling}a.tail!==null&&Yt()>Di&&(t.flags|=128,r=!0,dl(a,!1),t.lanes=4194304)}else{if(!r)if(e=lc(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!kt)return _n(t),null}else 2*Yt()-a.renderingStartTime>Di&&n!==1073741824&&(t.flags|=128,r=!0,dl(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=Yt(),t.sibling=null,n=Vt.current,jt(Vt,r?n&1|2:n&1),t):(_n(t),null);case 22:case 23:return Hp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rr&1073741824&&(_n(t),t.subtreeFlags&6&&(t.flags|=8192)):_n(t),null;case 24:return null;case 25:return null}throw Error(ue(156,t.tag))}function PO(e,t){switch(wp(t),t.tag){case 1:return Qn(t.type)&&ec(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ai(),Bt(qn),Bt(Ln),Tp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ip(t),null;case 13:if(Bt(Vt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ue(340));Ni()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Bt(Vt),null;case 4:return Ai(),null;case 10:return $p(t.type._context),null;case 22:case 23:return Hp(),null;case 24:return null;default:return null}}var ru=!1,Tn=!1,_O=typeof WeakSet=="function"?WeakSet:Set,_e=null;function yi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Qt(e,t,r)}else n.current=null}function Lm(e,t,n){try{n()}catch(r){Qt(e,t,r)}}var Gh=!1;function IO(e,t){if(hm=Xu,e=t1(),Sp(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,c=0,d=0,f=e,m=null;t:for(;;){for(var y;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),(y=f.firstChild)!==null;)m=f,f=y;for(;;){if(f===e)break t;if(m===n&&++c===o&&(l=i),m===a&&++d===r&&(s=i),(y=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=y}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ym={focusedElem:e,selectionRange:n},Xu=!1,_e=t;_e!==null;)if(t=_e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_e=e;else for(;_e!==null;){t=_e;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,h=b.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?S:Lr(t.type,S),h);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ue(163))}}catch(C){Qt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,_e=e;break}_e=t.return}return b=Gh,Gh=!1,b}function Ml(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&&Lm(t,n,a)}o=o.next}while(o!==r)}}function Wc(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 Am(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 Y1(e){var t=e.alternate;t!==null&&(e.alternate=null,Y1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yr],delete t[Yl],delete t[Cm],delete t[fO],delete t[mO])),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 J1(e){return e.tag===5||e.tag===3||e.tag===4}function Kh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||J1(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 jm(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=Zu));else if(r!==4&&(e=e.child,e!==null))for(jm(e,t,n),e=e.sibling;e!==null;)jm(e,t,n),e=e.sibling}function Dm(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(Dm(e,t,n),e=e.sibling;e!==null;)Dm(e,t,n),e=e.sibling}var wn=null,Ar=!1;function Po(e,t,n){for(n=n.child;n!==null;)Z1(e,t,n),n=n.sibling}function Z1(e,t,n){if(Zr&&typeof Zr.onCommitFiberUnmount=="function")try{Zr.onCommitFiberUnmount(jc,n)}catch{}switch(n.tag){case 5:Tn||yi(n,t);case 6:var r=wn,o=Ar;wn=null,Po(e,t,n),wn=r,Ar=o,wn!==null&&(Ar?(e=wn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):wn.removeChild(n.stateNode));break;case 18:wn!==null&&(Ar?(e=wn,n=n.stateNode,e.nodeType===8?Zd(e.parentNode,n):e.nodeType===1&&Zd(e,n),Gl(e)):Zd(wn,n.stateNode));break;case 4:r=wn,o=Ar,wn=n.stateNode.containerInfo,Ar=!0,Po(e,t,n),wn=r,Ar=o;break;case 0:case 11:case 14:case 15:if(!Tn&&(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)&&Lm(n,t,i),o=o.next}while(o!==r)}Po(e,t,n);break;case 1:if(!Tn&&(yi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Qt(n,t,l)}Po(e,t,n);break;case 21:Po(e,t,n);break;case 22:n.mode&1?(Tn=(r=Tn)||n.memoizedState!==null,Po(e,t,n),Tn=r):Po(e,t,n);break;default:Po(e,t,n)}}function qh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _O),t.forEach(function(r){var o=zO.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Mr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:wn=l.stateNode,Ar=!1;break e;case 3:wn=l.stateNode.containerInfo,Ar=!0;break e;case 4:wn=l.stateNode.containerInfo,Ar=!0;break e}l=l.return}if(wn===null)throw Error(ue(160));Z1(a,i,o),wn=null,Ar=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(c){Qt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)eC(t,e),t=t.sibling}function eC(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mr(t,e),Qr(e),r&4){try{Ml(3,e,e.return),Wc(3,e)}catch(S){Qt(e,e.return,S)}try{Ml(5,e,e.return)}catch(S){Qt(e,e.return,S)}}break;case 1:Mr(t,e),Qr(e),r&512&&n!==null&&yi(n,n.return);break;case 5:if(Mr(t,e),Qr(e),r&512&&n!==null&&yi(n,n.return),e.flags&32){var o=e.stateNode;try{Hl(o,"")}catch(S){Qt(e,e.return,S)}}if(r&4&&(o=e.stateNode,o!=null)){var a=e.memoizedProps,i=n!==null?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{l==="input"&&a.type==="radio"&&a.name!=null&&wS(o,a),lm(l,i);var c=lm(l,a);for(i=0;i<s.length;i+=2){var d=s[i],f=s[i+1];d==="style"?OS(o,f):d==="dangerouslySetInnerHTML"?RS(o,f):d==="children"?Hl(o,f):lp(o,d,f,c)}switch(l){case"input":nm(o,a);break;case"textarea":ES(o,a);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var y=a.value;y!=null?Ei(o,!!a.multiple,y,!1):m!==!!a.multiple&&(a.defaultValue!=null?Ei(o,!!a.multiple,a.defaultValue,!0):Ei(o,!!a.multiple,a.multiple?[]:"",!1))}o[Yl]=a}catch(S){Qt(e,e.return,S)}}break;case 6:if(Mr(t,e),Qr(e),r&4){if(e.stateNode===null)throw Error(ue(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(S){Qt(e,e.return,S)}}break;case 3:if(Mr(t,e),Qr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Gl(t.containerInfo)}catch(S){Qt(e,e.return,S)}break;case 4:Mr(t,e),Qr(e);break;case 13:Mr(t,e),Qr(e),o=e.child,o.flags&8192&&(a=o.memoizedState!==null,o.stateNode.isHidden=a,!a||o.alternate!==null&&o.alternate.memoizedState!==null||(Bp=Yt())),r&4&&qh(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Tn=(c=Tn)||d,Mr(t,e),Tn=c):Mr(t,e),Qr(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(_e=e,d=e.child;d!==null;){for(f=_e=d;_e!==null;){switch(m=_e,y=m.child,m.tag){case 0:case 11:case 14:case 15:Ml(4,m,m.return);break;case 1:yi(m,m.return);var b=m.stateNode;if(typeof b.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(S){Qt(r,n,S)}}break;case 5:yi(m,m.return);break;case 22:if(m.memoizedState!==null){Xh(f);continue}}y!==null?(y.return=m,_e=y):Xh(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,c?(a=o.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(l=f.stateNode,s=f.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,l.style.display=$S("display",i))}catch(S){Qt(e,e.return,S)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(S){Qt(e,e.return,S)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Mr(t,e),Qr(e),r&4&&qh(e);break;case 21:break;default:Mr(t,e),Qr(e)}}function Qr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(J1(n)){var r=n;break e}n=n.return}throw Error(ue(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Hl(o,""),r.flags&=-33);var a=Kh(e);Dm(e,a,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=Kh(e);jm(e,l,i);break;default:throw Error(ue(161))}}catch(s){Qt(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function TO(e,t,n){_e=e,tC(e)}function tC(e,t,n){for(var r=(e.mode&1)!==0;_e!==null;){var o=_e,a=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||ru;if(!i){var l=o.alternate,s=l!==null&&l.memoizedState!==null||Tn;l=ru;var c=Tn;if(ru=i,(Tn=s)&&!c)for(_e=o;_e!==null;)i=_e,s=i.child,i.tag===22&&i.memoizedState!==null?Yh(o):s!==null?(s.return=i,_e=s):Yh(o);for(;a!==null;)_e=a,tC(a),a=a.sibling;_e=o,ru=l,Tn=c}Qh(e)}else o.subtreeFlags&8772&&a!==null?(a.return=o,_e=a):Qh(e)}}function Qh(e){for(;_e!==null;){var t=_e;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Tn||Wc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Tn)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Lr(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Nh(t,a,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nh(t,i,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Gl(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ue(163))}Tn||t.flags&512&&Am(t)}catch(m){Qt(t,t.return,m)}}if(t===e){_e=null;break}if(n=t.sibling,n!==null){n.return=t.return,_e=n;break}_e=t.return}}function Xh(e){for(;_e!==null;){var t=_e;if(t===e){_e=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_e=n;break}_e=t.return}}function Yh(e){for(;_e!==null;){var t=_e;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wc(4,t)}catch(s){Qt(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(s){Qt(t,o,s)}}var a=t.return;try{Am(t)}catch(s){Qt(t,a,s)}break;case 5:var i=t.return;try{Am(t)}catch(s){Qt(t,i,s)}}}catch(s){Qt(t,t.return,s)}if(t===e){_e=null;break}var l=t.sibling;if(l!==null){l.return=t.return,_e=l;break}_e=t.return}}var MO=Math.ceil,cc=Co.ReactCurrentDispatcher,Fp=Co.ReactCurrentOwner,xr=Co.ReactCurrentBatchConfig,ht=0,hn=null,rn=null,xn=0,rr=0,bi=ra(0),un=0,rs=null,La=0,Uc=0,zp=0,Nl=null,Gn=null,Bp=0,Di=1/0,lo=null,dc=!1,Fm=null,Ko=null,ou=!1,Do=null,fc=0,Ll=0,zm=null,Pu=-1,_u=0;function Dn(){return ht&6?Yt():Pu!==-1?Pu:Pu=Yt()}function qo(e){return e.mode&1?ht&2&&xn!==0?xn&-xn:pO.transition!==null?(_u===0&&(_u=zS()),_u):(e=$t,e!==0||(e=window.event,e=e===void 0?16:GS(e.type)),e):1}function Br(e,t,n,r){if(50<Ll)throw Ll=0,zm=null,Error(ue(185));ws(e,n,r),(!(ht&2)||e!==hn)&&(e===hn&&(!(ht&2)&&(Uc|=n),un===4&&Ao(e,xn)),Xn(e,r),n===1&&ht===0&&!(t.mode&1)&&(Di=Yt()+500,kc&&oa()))}function Xn(e,t){var n=e.callbackNode;p$(e,t);var r=Qu(e,e===hn?xn:0);if(r===0)n!==null&&ih(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ih(n),t===1)e.tag===0?vO(Jh.bind(null,e)):d1(Jh.bind(null,e)),cO(function(){!(ht&6)&&oa()}),n=null;else{switch(BS(r)){case 1:n=fp;break;case 4:n=DS;break;case 16:n=qu;break;case 536870912:n=FS;break;default:n=qu}n=uC(n,nC.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function nC(e,t){if(Pu=-1,_u=0,ht&6)throw Error(ue(327));var n=e.callbackNode;if(Pi()&&e.callbackNode!==n)return null;var r=Qu(e,e===hn?xn:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=mc(e,r);else{t=r;var o=ht;ht|=2;var a=oC();(hn!==e||xn!==t)&&(lo=null,Di=Yt()+500,Ra(e,t));do try{AO();break}catch(l){rC(e,l)}while(!0);Rp(),cc.current=a,ht=o,rn!==null?t=0:(hn=null,xn=0,t=un)}if(t!==0){if(t===2&&(o=fm(e),o!==0&&(r=o,t=Bm(e,o))),t===1)throw n=rs,Ra(e,0),Ao(e,r),Xn(e,Yt()),n;if(t===6)Ao(e,r);else{if(o=e.current.alternate,!(r&30)&&!NO(o)&&(t=mc(e,r),t===2&&(a=fm(e),a!==0&&(r=a,t=Bm(e,a))),t===1))throw n=rs,Ra(e,0),Ao(e,r),Xn(e,Yt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(ue(345));case 2:va(e,Gn,lo);break;case 3:if(Ao(e,r),(r&130023424)===r&&(t=Bp+500-Yt(),10<t)){if(Qu(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Dn(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Sm(va.bind(null,e,Gn,lo),t);break}va(e,Gn,lo);break;case 4:if(Ao(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-zr(r);a=1<<i,i=t[i],i>o&&(o=i),r&=~a}if(r=o,r=Yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*MO(r/1960))-r,10<r){e.timeoutHandle=Sm(va.bind(null,e,Gn,lo),r);break}va(e,Gn,lo);break;case 5:va(e,Gn,lo);break;default:throw Error(ue(329))}}}return Xn(e,Yt()),e.callbackNode===n?nC.bind(null,e):null}function Bm(e,t){var n=Nl;return e.current.memoizedState.isDehydrated&&(Ra(e,t).flags|=256),e=mc(e,t),e!==2&&(t=Gn,Gn=n,t!==null&&km(t)),e}function km(e){Gn===null?Gn=e:Gn.push.apply(Gn,e)}function NO(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Wr(a(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ao(e,t){for(t&=~zp,t&=~Uc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zr(t),r=1<<n;e[n]=-1,t&=~r}}function Jh(e){if(ht&6)throw Error(ue(327));Pi();var t=Qu(e,0);if(!(t&1))return Xn(e,Yt()),null;var n=mc(e,t);if(e.tag!==0&&n===2){var r=fm(e);r!==0&&(t=r,n=Bm(e,r))}if(n===1)throw n=rs,Ra(e,0),Ao(e,t),Xn(e,Yt()),n;if(n===6)throw Error(ue(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,va(e,Gn,lo),Xn(e,Yt()),null}function kp(e,t){var n=ht;ht|=1;try{return e(t)}finally{ht=n,ht===0&&(Di=Yt()+500,kc&&oa())}}function Aa(e){Do!==null&&Do.tag===0&&!(ht&6)&&Pi();var t=ht;ht|=1;var n=xr.transition,r=$t;try{if(xr.transition=null,$t=1,e)return e()}finally{$t=r,xr.transition=n,ht=t,!(ht&6)&&oa()}}function Hp(){rr=bi.current,Bt(bi)}function Ra(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,uO(n)),rn!==null)for(n=rn.return;n!==null;){var r=n;switch(wp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ec();break;case 3:Ai(),Bt(qn),Bt(Ln),Tp();break;case 5:Ip(r);break;case 4:Ai();break;case 13:Bt(Vt);break;case 19:Bt(Vt);break;case 10:$p(r.type._context);break;case 22:case 23:Hp()}n=n.return}if(hn=e,rn=e=Qo(e.current,null),xn=rr=t,un=0,rs=null,zp=Uc=La=0,Gn=Nl=null,ba!==null){for(t=0;t<ba.length;t++)if(n=ba[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,a=n.pending;if(a!==null){var i=a.next;a.next=o,r.next=i}n.pending=r}ba=null}return e}function rC(e,t){do{var n=rn;try{if(Rp(),Ru.current=uc,sc){for(var r=Wt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}sc=!1}if(Na=0,vn=sn=Wt=null,Tl=!1,es=0,Fp.current=null,n===null||n.return===null){un=1,rs=t,rn=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=xn,l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var y=zh(i);if(y!==null){y.flags&=-257,Bh(y,i,l,a,t),y.mode&1&&Fh(a,c,t),t=y,s=c;var b=t.updateQueue;if(b===null){var S=new Set;S.add(s),t.updateQueue=S}else b.add(s);break e}else{if(!(t&1)){Fh(a,c,t),Vp();break e}s=Error(ue(426))}}else if(kt&&l.mode&1){var h=zh(i);if(h!==null){!(h.flags&65536)&&(h.flags|=256),Bh(h,i,l,a,t),Ep(ji(s,l));break e}}a=s=ji(s,l),un!==4&&(un=2),Nl===null?Nl=[a]:Nl.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var g=B1(a,s,t);Mh(a,g);break e;case 1:l=s;var v=a.type,p=a.stateNode;if(!(a.flags&128)&&(typeof v.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Ko===null||!Ko.has(p)))){a.flags|=65536,t&=-t,a.lanes|=t;var C=k1(a,l,t);Mh(a,C);break e}}a=a.return}while(a!==null)}iC(n)}catch(w){t=w,rn===n&&n!==null&&(rn=n=n.return);continue}break}while(!0)}function oC(){var e=cc.current;return cc.current=uc,e===null?uc:e}function Vp(){(un===0||un===3||un===2)&&(un=4),hn===null||!(La&268435455)&&!(Uc&268435455)||Ao(hn,xn)}function mc(e,t){var n=ht;ht|=2;var r=oC();(hn!==e||xn!==t)&&(lo=null,Ra(e,t));do try{LO();break}catch(o){rC(e,o)}while(!0);if(Rp(),ht=n,cc.current=r,rn!==null)throw Error(ue(261));return hn=null,xn=0,un}function LO(){for(;rn!==null;)aC(rn)}function AO(){for(;rn!==null&&!i$();)aC(rn)}function aC(e){var t=sC(e.alternate,e,rr);e.memoizedProps=e.pendingProps,t===null?iC(e):rn=t,Fp.current=null}function iC(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=PO(n,t),n!==null){n.flags&=32767,rn=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{un=6,rn=null;return}}else if(n=OO(n,t,rr),n!==null){rn=n;return}if(t=t.sibling,t!==null){rn=t;return}rn=t=e}while(t!==null);un===0&&(un=5)}function va(e,t,n){var r=$t,o=xr.transition;try{xr.transition=null,$t=1,jO(e,t,n,r)}finally{xr.transition=o,$t=r}return null}function jO(e,t,n,r){do Pi();while(Do!==null);if(ht&6)throw Error(ue(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ue(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(g$(e,a),e===hn&&(rn=hn=null,xn=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ou||(ou=!0,uC(qu,function(){return Pi(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=xr.transition,xr.transition=null;var i=$t;$t=1;var l=ht;ht|=4,Fp.current=null,IO(e,n),eC(n,e),nO(ym),Xu=!!hm,ym=hm=null,e.current=n,TO(n),l$(),ht=l,$t=i,xr.transition=a}else e.current=n;if(ou&&(ou=!1,Do=e,fc=o),a=e.pendingLanes,a===0&&(Ko=null),c$(n.stateNode),Xn(e,Yt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(dc)throw dc=!1,e=Fm,Fm=null,e;return fc&1&&e.tag!==0&&Pi(),a=e.pendingLanes,a&1?e===zm?Ll++:(Ll=0,zm=e):Ll=0,oa(),null}function Pi(){if(Do!==null){var e=BS(fc),t=xr.transition,n=$t;try{if(xr.transition=null,$t=16>e?16:e,Do===null)var r=!1;else{if(e=Do,Do=null,fc=0,ht&6)throw Error(ue(331));var o=ht;for(ht|=4,_e=e.current;_e!==null;){var a=_e,i=a.child;if(_e.flags&16){var l=a.deletions;if(l!==null){for(var s=0;s<l.length;s++){var c=l[s];for(_e=c;_e!==null;){var d=_e;switch(d.tag){case 0:case 11:case 15:Ml(8,d,a)}var f=d.child;if(f!==null)f.return=d,_e=f;else for(;_e!==null;){d=_e;var m=d.sibling,y=d.return;if(Y1(d),d===c){_e=null;break}if(m!==null){m.return=y,_e=m;break}_e=y}}}var b=a.alternate;if(b!==null){var S=b.child;if(S!==null){b.child=null;do{var h=S.sibling;S.sibling=null,S=h}while(S!==null)}}_e=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,_e=i;else e:for(;_e!==null;){if(a=_e,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Ml(9,a,a.return)}var g=a.sibling;if(g!==null){g.return=a.return,_e=g;break e}_e=a.return}}var v=e.current;for(_e=v;_e!==null;){i=_e;var p=i.child;if(i.subtreeFlags&2064&&p!==null)p.return=i,_e=p;else e:for(i=v;_e!==null;){if(l=_e,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Wc(9,l)}}catch(w){Qt(l,l.return,w)}if(l===i){_e=null;break e}var C=l.sibling;if(C!==null){C.return=l.return,_e=C;break e}_e=l.return}}if(ht=o,oa(),Zr&&typeof Zr.onPostCommitFiberRoot=="function")try{Zr.onPostCommitFiberRoot(jc,e)}catch{}r=!0}return r}finally{$t=n,xr.transition=t}}return!1}function Zh(e,t,n){t=ji(n,t),t=B1(e,t,1),e=Go(e,t,1),t=Dn(),e!==null&&(ws(e,1,t),Xn(e,t))}function Qt(e,t,n){if(e.tag===3)Zh(e,e,n);else for(;t!==null;){if(t.tag===3){Zh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ko===null||!Ko.has(r))){e=ji(n,e),e=k1(t,e,1),t=Go(t,e,1),e=Dn(),t!==null&&(ws(t,1,e),Xn(t,e));break}}t=t.return}}function DO(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Dn(),e.pingedLanes|=e.suspendedLanes&n,hn===e&&(xn&n)===n&&(un===4||un===3&&(xn&130023424)===xn&&500>Yt()-Bp?Ra(e,0):zp|=n),Xn(e,t)}function lC(e,t){t===0&&(e.mode&1?(t=qs,qs<<=1,!(qs&130023424)&&(qs=4194304)):t=1);var n=Dn();e=ho(e,t),e!==null&&(ws(e,t,n),Xn(e,n))}function FO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lC(e,n)}function zO(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(ue(314))}r!==null&&r.delete(t),lC(e,n)}var sC;sC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qn.current)Kn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Kn=!1,$O(e,t,n);Kn=!!(e.flags&131072)}else Kn=!1,kt&&t.flags&1048576&&f1(t,rc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ou(e,t),e=t.pendingProps;var o=Mi(t,Ln.current);Oi(t,n),o=Np(null,t,r,e,o,n);var a=Lp();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,Qn(r)?(a=!0,tc(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Pp(t),o.updater=Vc,t.stateNode=o,o._reactInternals=t,Om(t,r,e,n),t=Im(null,t,r,!0,a,n)):(t.tag=0,kt&&a&&Cp(t),jn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ou(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=kO(r),e=Lr(r,e),o){case 0:t=_m(null,t,r,e,n);break e;case 1:t=Vh(null,t,r,e,n);break e;case 11:t=kh(null,t,r,e,n);break e;case 14:t=Hh(null,t,r,Lr(r.type,e),n);break e}throw Error(ue(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lr(r,o),_m(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lr(r,o),Vh(e,t,r,o,n);case 3:e:{if(U1(t),e===null)throw Error(ue(387));r=t.pendingProps,a=t.memoizedState,o=a.element,y1(e,t),ic(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=ji(Error(ue(423)),t),t=Wh(e,t,r,n,o);break e}else if(r!==o){o=ji(Error(ue(424)),t),t=Wh(e,t,r,n,o);break e}else for(or=Uo(t.stateNode.containerInfo.firstChild),ir=t,kt=!0,Fr=null,n=g1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ni(),r===o){t=yo(e,t,n);break e}jn(e,t,r,n)}t=t.child}return t;case 5:return b1(t),e===null&&xm(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,bm(r,o)?i=null:a!==null&&bm(r,a)&&(t.flags|=32),W1(e,t),jn(e,t,i,n),t.child;case 6:return e===null&&xm(t),null;case 13:return G1(e,t,n);case 4:return _p(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Li(t,null,r,n):jn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lr(r,o),kh(e,t,r,o,n);case 7:return jn(e,t,t.pendingProps,n),t.child;case 8:return jn(e,t,t.pendingProps.children,n),t.child;case 12:return jn(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,jt(oc,r._currentValue),r._currentValue=i,a!==null)if(Wr(a.value,i)){if(a.children===o.children&&!qn.current){t=yo(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=mo(-1,n&-n),s.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?s.next=s:(s.next=d.next,d.next=s),c.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Rm(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(ue(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Rm(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}jn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),o=$r(o),r=r(o),t.flags|=1,jn(e,t,r,n),t.child;case 14:return r=t.type,o=Lr(r,t.pendingProps),o=Lr(r.type,o),Hh(e,t,r,o,n);case 15:return H1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lr(r,o),Ou(e,t),t.tag=1,Qn(r)?(e=!0,tc(t)):e=!1,Oi(t,n),z1(t,r,o),Om(t,r,o,n),Im(null,t,r,!0,e,n);case 19:return K1(e,t,n);case 22:return V1(e,t,n)}throw Error(ue(156,t.tag))};function uC(e,t){return jS(e,t)}function BO(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 Er(e,t,n,r){return new BO(e,t,n,r)}function Wp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kO(e){if(typeof e=="function")return Wp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===up)return 11;if(e===cp)return 14}return 2}function Qo(e,t){var n=e.alternate;return n===null?(n=Er(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 Iu(e,t,n,r,o,a){var i=2;if(r=e,typeof e=="function")Wp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ui:return $a(n.children,o,a,t);case sp:i=8,o|=8;break;case Yf:return e=Er(12,n,t,o|2),e.elementType=Yf,e.lanes=a,e;case Jf:return e=Er(13,n,t,o),e.elementType=Jf,e.lanes=a,e;case Zf:return e=Er(19,n,t,o),e.elementType=Zf,e.lanes=a,e;case bS:return Gc(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hS:i=10;break e;case yS:i=9;break e;case up:i=11;break e;case cp:i=14;break e;case Mo:i=16,r=null;break e}throw Error(ue(130,e==null?e:typeof e,""))}return t=Er(i,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function $a(e,t,n,r){return e=Er(7,e,r,t),e.lanes=n,e}function Gc(e,t,n,r){return e=Er(22,e,r,t),e.elementType=bS,e.lanes=n,e.stateNode={isHidden:!1},e}function sf(e,t,n){return e=Er(6,e,null,t),e.lanes=n,e}function uf(e,t,n){return t=Er(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function HO(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=Hd(0),this.expirationTimes=Hd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hd(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Up(e,t,n,r,o,a,i,l,s){return e=new HO(e,t,n,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Er(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pp(a),e}function VO(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:si,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function cC(e){if(!e)return Jo;e=e._reactInternals;e:{if(ka(e)!==e||e.tag!==1)throw Error(ue(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(ue(171))}if(e.tag===1){var n=e.type;if(Qn(n))return c1(e,n,t)}return t}function dC(e,t,n,r,o,a,i,l,s){return e=Up(n,r,!0,e,o,a,i,l,s),e.context=cC(null),n=e.current,r=Dn(),o=qo(n),a=mo(r,o),a.callback=t??null,Go(n,a,o),e.current.lanes=o,ws(e,o,r),Xn(e,r),e}function Kc(e,t,n,r){var o=t.current,a=Dn(),i=qo(o);return n=cC(n),t.context===null?t.context=n:t.pendingContext=n,t=mo(a,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Go(o,t,i),e!==null&&(Br(e,o,i,a),xu(e,o,i)),i}function vc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function e0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Gp(e,t){e0(e,t),(e=e.alternate)&&e0(e,t)}function WO(){return null}var fC=typeof reportError=="function"?reportError:function(e){console.error(e)};function Kp(e){this._internalRoot=e}qc.prototype.render=Kp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ue(409));Kc(e,t,null,null)};qc.prototype.unmount=Kp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Aa(function(){Kc(null,e,null,null)}),t[go]=null}};function qc(e){this._internalRoot=e}qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=VS();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lo.length&&t!==0&&t<Lo[n].priority;n++);Lo.splice(n,0,e),n===0&&US(e)}};function qp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Qc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function t0(){}function UO(e,t,n,r,o){if(o){if(typeof r=="function"){var a=r;r=function(){var c=vc(i);a.call(c)}}var i=dC(t,r,e,0,null,!1,!1,"",t0);return e._reactRootContainer=i,e[go]=i.current,Ql(e.nodeType===8?e.parentNode:e),Aa(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var c=vc(s);l.call(c)}}var s=Up(e,0,!1,null,null,!1,!1,"",t0);return e._reactRootContainer=s,e[go]=s.current,Ql(e.nodeType===8?e.parentNode:e),Aa(function(){Kc(t,s,n,r)}),s}function Xc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if(typeof o=="function"){var l=o;o=function(){var s=vc(i);l.call(s)}}Kc(t,i,e,o)}else i=UO(n,t,e,o,r);return vc(i)}kS=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=wl(t.pendingLanes);n!==0&&(mp(t,n|1),Xn(t,Yt()),!(ht&6)&&(Di=Yt()+500,oa()))}break;case 13:Aa(function(){var r=ho(e,1);if(r!==null){var o=Dn();Br(r,e,1,o)}}),Gp(e,1)}};vp=function(e){if(e.tag===13){var t=ho(e,134217728);if(t!==null){var n=Dn();Br(t,e,134217728,n)}Gp(e,134217728)}};HS=function(e){if(e.tag===13){var t=qo(e),n=ho(e,t);if(n!==null){var r=Dn();Br(n,e,t,r)}Gp(e,t)}};VS=function(){return $t};WS=function(e,t){var n=$t;try{return $t=e,t()}finally{$t=n}};um=function(e,t,n){switch(t){case"input":if(nm(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Bc(r);if(!o)throw Error(ue(90));CS(r),nm(r,o)}}}break;case"textarea":ES(e,n);break;case"select":t=n.value,t!=null&&Ei(e,!!n.multiple,t,!1)}};IS=kp;TS=Aa;var GO={usingClientEntryPoint:!1,Events:[xs,mi,Bc,PS,_S,kp]},fl={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},KO={bundleType:fl.bundleType,version:fl.version,rendererPackageName:fl.rendererPackageName,rendererConfig:fl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Co.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=LS(e),e===null?null:e.stateNode},findFiberByHostInstance:fl.findFiberByHostInstance||WO,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{jc=au.inject(KO),Zr=au}catch{}}dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=GO;dr.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!qp(t))throw Error(ue(200));return VO(e,t,null,n)};dr.createRoot=function(e,t){if(!qp(e))throw Error(ue(299));var n=!1,r="",o=fC;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Up(e,1,!1,null,null,n,!1,r,o),e[go]=t.current,Ql(e.nodeType===8?e.parentNode:e),new Kp(t)};dr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ue(188)):(e=Object.keys(e).join(","),Error(ue(268,e)));return e=LS(t),e=e===null?null:e.stateNode,e};dr.flushSync=function(e){return Aa(e)};dr.hydrate=function(e,t,n){if(!Qc(t))throw Error(ue(200));return Xc(null,e,t,!0,n)};dr.hydrateRoot=function(e,t,n){if(!qp(e))throw Error(ue(405));var r=n!=null&&n.hydratedSources||null,o=!1,a="",i=fC;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=dC(t,null,e,1,n??null,o,!1,a,i),e[go]=t.current,Ql(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new qc(t)};dr.render=function(e,t,n){if(!Qc(t))throw Error(ue(200));return Xc(null,e,t,!1,n)};dr.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(ue(40));return e._reactRootContainer?(Aa(function(){Xc(null,null,e,!1,function(){e._reactRootContainer=null,e[go]=null})}),!0):!1};dr.unstable_batchedUpdates=kp;dr.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(ue(200));if(e==null||e._reactInternals===void 0)throw Error(ue(38));return Xc(e,t,n,!1,r)};dr.version="18.3.1-next-f1338f8080-20240426";function mC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mC)}catch(e){console.error(e)}}mC(),mS.exports=dr;var Zo=mS.exports;const Hm=ep(Zo),qO=tS({__proto__:null,default:Hm},[Zo]);var n0=Zo;Qf.createRoot=n0.createRoot,Qf.hydrateRoot=n0.hydrateRoot;/**
 * @remix-run/router v1.17.0
 *
 * 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 os(){return os=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},os.apply(this,arguments)}var Fo;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Fo||(Fo={}));const r0="popstate";function QO(e){e===void 0&&(e={});function t(o,a){let{pathname:i="/",search:l="",hash:s=""}=Ha(o.location.hash.substr(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),Vm("",{pathname:i,search:l,hash:s},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(o,a){let i=o.document.querySelector("base"),l="";if(i&&i.getAttribute("href")){let s=o.location.href,c=s.indexOf("#");l=c===-1?s:s.slice(0,c)}return l+"#"+(typeof a=="string"?a:pc(a))}function r(o,a){Qp(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(a)+")")}return YO(t,n,r,e)}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Qp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function XO(){return Math.random().toString(36).substr(2,8)}function o0(e,t){return{usr:e.state,key:e.key,idx:t}}function Vm(e,t,n,r){return n===void 0&&(n=null),os({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ha(t):t,{state:n,key:t&&t.key||r||XO()})}function pc(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 Ha(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 YO(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,l=Fo.Pop,s=null,c=d();c==null&&(c=0,i.replaceState(os({},i.state,{idx:c}),""));function d(){return(i.state||{idx:null}).idx}function f(){l=Fo.Pop;let h=d(),g=h==null?null:h-c;c=h,s&&s({action:l,location:S.location,delta:g})}function m(h,g){l=Fo.Push;let v=Vm(S.location,h,g);n&&n(v,h),c=d()+1;let p=o0(v,c),C=S.createHref(v);try{i.pushState(p,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;o.location.assign(C)}a&&s&&s({action:l,location:S.location,delta:1})}function y(h,g){l=Fo.Replace;let v=Vm(S.location,h,g);n&&n(v,h),c=d();let p=o0(v,c),C=S.createHref(v);i.replaceState(p,"",C),a&&s&&s({action:l,location:S.location,delta:0})}function b(h){let g=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof h=="string"?h:pc(h);return v=v.replace(/ $/,"%20"),Jt(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let S={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(r0,f),s=h,()=>{o.removeEventListener(r0,f),s=null}},createHref(h){return t(o,h)},createURL:b,encodeLocation(h){let g=b(h);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:m,replace:y,go(h){return i.go(h)}};return S}var a0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(a0||(a0={}));function JO(e,t,n){return n===void 0&&(n="/"),ZO(e,t,n,!1)}function ZO(e,t,n,r){let o=typeof t=="string"?Ha(t):t,a=Xp(o.pathname||"/",n);if(a==null)return null;let i=vC(e);e2(i);let l=null;for(let s=0;l==null&&s<i.length;++s){let c=d2(a);l=u2(i[s],c,r)}return l}function vC(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(a,i,l)=>{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};s.relativePath.startsWith("/")&&(Jt(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 c=Xo([r,s.relativePath]),d=n.concat(s);a.children&&a.children.length>0&&(Jt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),vC(a.children,t,d,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:l2(c,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 pC(a.path))o(a,i,s)}),t}function pC(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=pC(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 e2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:s2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const t2=/^:[\w-]+$/,n2=3,r2=2,o2=1,a2=10,i2=-2,i0=e=>e==="*";function l2(e,t){let n=e.split("/"),r=n.length;return n.some(i0)&&(r+=i2),t&&(r+=r2),n.filter(o=>!i0(o)).reduce((o,a)=>o+(t2.test(a)?n2:a===""?o2:a2),r)}function s2(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 u2(e,t,n){let{routesMeta:r}=e,o={},a="/",i=[];for(let l=0;l<r.length;++l){let s=r[l],c=l===r.length-1,d=a==="/"?t:t.slice(a.length)||"/",f=l0({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d),m=s.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=l0({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},d)),!f)return null;Object.assign(o,f.params),i.push({params:o,pathname:Xo([a,f.pathname]),pathnameBase:p2(Xo([a,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(a=Xo([a,f.pathnameBase]))}return i}function l0(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=c2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((c,d,f)=>{let{paramName:m,isOptional:y}=d;if(m==="*"){let S=l[f]||"";i=a.slice(0,a.length-S.length).replace(/(.)\/+$/,"$1")}const b=l[f];return y&&!b?c[m]=void 0:c[m]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:i,pattern:e}}function c2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Qp(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,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function d2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Qp(!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 Xp(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 f2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ha(e):e;return{pathname:n?n.startsWith("/")?n:m2(n,t):t,search:g2(r),hash:h2(o)}}function m2(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 cf(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 <Link to="..."> and the router will parse it for you.'}function v2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Yp(e,t){let n=v2(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Jp(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ha(e):(o=os({},e),Jt(!o.pathname||!o.pathname.includes("?"),cf("?","pathname","search",o)),Jt(!o.pathname||!o.pathname.includes("#"),cf("#","pathname","hash",o)),Jt(!o.search||!o.search.includes("#"),cf("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(i==null)l=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}l=f>=0?t[f]:"/"}let s=f2(o,l),c=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(c||d)&&(s.pathname+="/"),s}const Xo=e=>e.join("/").replace(/\/\/+/g,"/"),p2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),g2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function y2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gC=["post","put","patch","delete"];new Set(gC);const b2=["get",...gC];new Set(b2);/**
 * React Router v6.24.0
 *
 * 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 as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},as.apply(this,arguments)}const Zp=u.createContext(null),S2=u.createContext(null),aa=u.createContext(null),Yc=u.createContext(null),wo=u.createContext({outlet:null,matches:[],isDataRoute:!1}),hC=u.createContext(null);function C2(e,t){let{relative:n}=t===void 0?{}:t;Xi()||Jt(!1);let{basename:r,navigator:o}=u.useContext(aa),{hash:a,pathname:i,search:l}=bC(e,{relative:n}),s=i;return r!=="/"&&(s=i==="/"?r:Xo([r,i])),o.createHref({pathname:s,search:l,hash:a})}function Xi(){return u.useContext(Yc)!=null}function Va(){return Xi()||Jt(!1),u.useContext(Yc).location}function yC(e){u.useContext(aa).static||u.useLayoutEffect(e)}function $s(){let{isDataRoute:e}=u.useContext(wo);return e?L2():w2()}function w2(){Xi()||Jt(!1);let e=u.useContext(Zp),{basename:t,future:n,navigator:r}=u.useContext(aa),{matches:o}=u.useContext(wo),{pathname:a}=Va(),i=JSON.stringify(Yp(o,n.v7_relativeSplatPath)),l=u.useRef(!1);return yC(()=>{l.current=!0}),u.useCallback(function(c,d){if(d===void 0&&(d={}),!l.current)return;if(typeof c=="number"){r.go(c);return}let f=Jp(c,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Xo([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,a,e])}function jk(){let{matches:e}=u.useContext(wo),t=e[e.length-1];return t?t.params:{}}function bC(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=u.useContext(aa),{matches:o}=u.useContext(wo),{pathname:a}=Va(),i=JSON.stringify(Yp(o,r.v7_relativeSplatPath));return u.useMemo(()=>Jp(e,JSON.parse(i),a,n==="path"),[e,i,a,n])}function E2(e,t){return x2(e,t)}function x2(e,t,n,r){Xi()||Jt(!1);let{navigator:o}=u.useContext(aa),{matches:a}=u.useContext(wo),i=a[a.length-1],l=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let c=Va(),d;if(t){var f;let h=typeof t=="string"?Ha(t):t;s==="/"||(f=h.pathname)!=null&&f.startsWith(s)||Jt(!1),d=h}else d=c;let m=d.pathname||"/",y=m;if(s!=="/"){let h=s.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(h.length).join("/")}let b=JO(e,{pathname:y}),S=_2(b&&b.map(h=>Object.assign({},h,{params:Object.assign({},l,h.params),pathname:Xo([s,o.encodeLocation?o.encodeLocation(h.pathname).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?s:Xo([s,o.encodeLocation?o.encodeLocation(h.pathnameBase).pathname:h.pathnameBase])})),a,n,r);return t&&S?u.createElement(Yc.Provider,{value:{location:as({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Fo.Pop}},S):S}function R2(){let e=N2(),t=y2(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 u.createElement(u.Fragment,null,u.createElement("h2",null,"Unexpected Application Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),n?u.createElement("pre",{style:o},n):null,null)}const $2=u.createElement(R2,null);class O2 extends u.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!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?u.createElement(wo.Provider,{value:this.props.routeContext},u.createElement(hC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function P2(e){let{routeContext:t,match:n,children:r}=e,o=u.useContext(Zp);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),u.createElement(wo.Provider,{value:t},r)}function _2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=i.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||Jt(!1),i=i.slice(0,Math.min(i.length,d+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:m,errors:y}=n,b=f.route.loader&&m[f.route.id]===void 0&&(!y||y[f.route.id]===void 0);if(f.route.lazy||b){s=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((d,f,m)=>{let y,b=!1,S=null,h=null;n&&(y=l&&f.route.id?l[f.route.id]:void 0,S=f.route.errorElement||$2,s&&(c<0&&m===0?(b=!0,h=null):c===m&&(b=!0,h=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,m+1)),v=()=>{let p;return y?p=S:b?p=h:f.route.Component?p=u.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,u.createElement(P2,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?u.createElement(O2,{location:n.location,revalidation:n.revalidation,component:S,error:y,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var SC=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(SC||{}),gc=function(e){return 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",e}(gc||{});function I2(e){let t=u.useContext(Zp);return t||Jt(!1),t}function T2(e){let t=u.useContext(S2);return t||Jt(!1),t}function M2(e){let t=u.useContext(wo);return t||Jt(!1),t}function CC(e){let t=M2(),n=t.matches[t.matches.length-1];return n.route.id||Jt(!1),n.route.id}function N2(){var e;let t=u.useContext(hC),n=T2(gc.UseRouteError),r=CC(gc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function L2(){let{router:e}=I2(SC.UseNavigateStable),t=CC(gc.UseNavigateStable),n=u.useRef(!1);return yC(()=>{n.current=!0}),u.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,as({fromRouteId:t},a)))},[e,t])}function Wm(e){let{to:t,replace:n,state:r,relative:o}=e;Xi()||Jt(!1);let{future:a,static:i}=u.useContext(aa),{matches:l}=u.useContext(wo),{pathname:s}=Va(),c=$s(),d=Jp(t,Yp(l,a.v7_relativeSplatPath),s,o==="path"),f=JSON.stringify(d);return u.useEffect(()=>c(JSON.parse(f),{replace:n,state:r,relative:o}),[c,f,o,n,r]),null}function Te(e){Jt(!1)}function A2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Fo.Pop,navigator:a,static:i=!1,future:l}=e;Xi()&&Jt(!1);let s=t.replace(/^\/*/,"/"),c=u.useMemo(()=>({basename:s,navigator:a,static:i,future:as({v7_relativeSplatPath:!1},l)}),[s,l,a,i]);typeof r=="string"&&(r=Ha(r));let{pathname:d="/",search:f="",hash:m="",state:y=null,key:b="default"}=r,S=u.useMemo(()=>{let h=Xp(d,s);return h==null?null:{location:{pathname:h,search:f,hash:m,state:y,key:b},navigationType:o}},[s,d,f,m,y,b,o]);return S==null?null:u.createElement(aa.Provider,{value:c},u.createElement(Yc.Provider,{children:n,value:S}))}function wC(e){let{children:t,location:n}=e;return E2(Um(t),n)}new Promise(()=>{});function Um(e,t){t===void 0&&(t=[]);let n=[];return u.Children.forEach(e,(r,o)=>{if(!u.isValidElement(r))return;let a=[...t,o];if(r.type===u.Fragment){n.push.apply(n,Um(r.props.children,a));return}r.type!==Te&&Jt(!1),!r.props.index||!r.props.children||Jt(!1);let i={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Um(r.props.children,a)),n.push(i)}),n}/**
 * React Router DOM v6.24.0
 *
 * 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 Gm(){return Gm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gm.apply(this,arguments)}function j2(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function D2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function F2(e,t){return e.button===0&&(!t||t==="_self")&&!D2(e)}const z2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],B2="6";try{window.__reactRouterVersion=B2}catch{}const k2="startTransition",s0=Ia[k2];function H2(e){let{basename:t,children:n,future:r,window:o}=e,a=u.useRef();a.current==null&&(a.current=QO({window:o,v5Compat:!0}));let i=a.current,[l,s]=u.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},d=u.useCallback(f=>{c&&s0?s0(()=>s(f)):s(f)},[s,c]);return u.useLayoutEffect(()=>i.listen(d),[i,d]),u.createElement(A2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}const V2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",W2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hc=u.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:a,replace:i,state:l,target:s,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,m=j2(t,z2),{basename:y}=u.useContext(aa),b,S=!1;if(typeof c=="string"&&W2.test(c)&&(b=c,V2))try{let p=new URL(window.location.href),C=c.startsWith("//")?new URL(p.protocol+c):new URL(c),w=Xp(C.pathname,y);C.origin===p.origin&&w!=null?c=w+C.search+C.hash:S=!0}catch{}let h=C2(c,{relative:o}),g=U2(c,{replace:i,state:l,target:s,preventScrollReset:d,relative:o,unstable_viewTransition:f});function v(p){r&&r(p),p.defaultPrevented||g(p)}return u.createElement("a",Gm({},m,{href:b||h,onClick:S||a?r:v,ref:n,target:s}))});var u0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(u0||(u0={}));var c0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(c0||(c0={}));function U2(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l}=t===void 0?{}:t,s=$s(),c=Va(),d=bC(e,{relative:i});return u.useCallback(f=>{if(F2(f,n)){f.preventDefault();let m=r!==void 0?r:pc(c)===pc(d);s(e,{replace:m,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l})}},[c,s,d,r,o,n,e,a,i,l])}var G2={};/**
 * @license React
 * use-sync-external-store-with-selector.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 Os=u;function K2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var q2=typeof Object.is=="function"?Object.is:K2,Q2=Os.useSyncExternalStore,X2=Os.useRef,Y2=Os.useEffect,J2=Os.useMemo,Z2=Os.useDebugValue;G2.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var a=X2(null);if(a.current===null){var i={hasValue:!1,value:null};a.current=i}else i=a.current;a=J2(function(){function s(y){if(!c){if(c=!0,d=y,y=r(y),o!==void 0&&i.hasValue){var b=i.value;if(o(b,y))return f=b}return f=y}if(b=f,q2(d,y))return b;var S=r(y);return o!==void 0&&o(b,S)?b:(d=y,f=S)}var c=!1,d,f,m=n===void 0?null:n;return[function(){return s(t())},m===null?void 0:function(){return s(m())}]},[t,n,r,o]);var l=Q2(e,a[0],a[1]);return Y2(function(){i.hasValue=!0,i.value=l},[l]),Z2(l),l};var wt="default"in Ia?K:Ia,d0=Symbol.for("react-redux-context"),f0=typeof globalThis<"u"?globalThis:{};function eP(){if(!wt.createContext)return{};const e=f0[d0]??(f0[d0]=new Map);let t=e.get(wt.createContext);return t||(t=wt.createContext(null),e.set(wt.createContext,t)),t}var ja=eP(),tP=()=>{throw new Error("uSES not initialized!")};function EC(e=ja){return function(){return wt.useContext(e)}}var nP=EC(),rP=Symbol.for("react.element"),oP=Symbol.for("react.portal"),aP=Symbol.for("react.fragment"),iP=Symbol.for("react.strict_mode"),lP=Symbol.for("react.profiler"),sP=Symbol.for("react.provider"),uP=Symbol.for("react.context"),cP=Symbol.for("react.server_context"),xC=Symbol.for("react.forward_ref"),dP=Symbol.for("react.suspense"),fP=Symbol.for("react.suspense_list"),eg=Symbol.for("react.memo"),mP=Symbol.for("react.lazy"),vP=xC,pP=eg;function gP(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case rP:{const n=e.type;switch(n){case aP:case lP:case iP:case dP:case fP:return n;default:{const r=n&&n.$$typeof;switch(r){case cP:case uP:case xC:case mP:case eg:case sP:return r;default:return t}}}}case oP:return t}}}function hP(e){return gP(e)===eg}function yP(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:a,areStatePropsEqual:i}){let l=!1,s,c,d,f,m;function y(v,p){return s=v,c=p,d=e(s,c),f=t(r,c),m=n(d,f,c),l=!0,m}function b(){return d=e(s,c),t.dependsOnOwnProps&&(f=t(r,c)),m=n(d,f,c),m}function S(){return e.dependsOnOwnProps&&(d=e(s,c)),t.dependsOnOwnProps&&(f=t(r,c)),m=n(d,f,c),m}function h(){const v=e(s,c),p=!i(v,d);return d=v,p&&(m=n(d,f,c)),m}function g(v,p){const C=!a(p,c),w=!o(v,s,p,c);return s=v,c=p,C&&w?b():C?S():w?h():m}return function(p,C){return l?g(p,C):y(p,C)}}function bP(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){const a=t(e,o),i=n(e,o),l=r(e,o);return yP(a,i,l,e,o)}function SP(e,t){const n={};for(const r in e){const o=e[r];typeof o=="function"&&(n[r]=(...a)=>t(o(...a)))}return n}function Km(e){return function(n){const r=e(n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function m0(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function RC(e,t){return function(r,{displayName:o}){const a=function(l,s){return a.dependsOnOwnProps?a.mapToProps(l,s):a.mapToProps(l,void 0)};return a.dependsOnOwnProps=!0,a.mapToProps=function(l,s){a.mapToProps=e,a.dependsOnOwnProps=m0(e);let c=a(l,s);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=m0(c),c=a(l,s)),c},a}}function tg(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function CP(e){return e&&typeof e=="object"?Km(t=>SP(e,t)):e?typeof e=="function"?RC(e):tg(e,"mapDispatchToProps"):Km(t=>({dispatch:t}))}function wP(e){return e?typeof e=="function"?RC(e):tg(e,"mapStateToProps"):Km(()=>({}))}function EP(e,t,n){return{...n,...e,...t}}function xP(e){return function(n,{displayName:r,areMergedPropsEqual:o}){let a=!1,i;return function(s,c,d){const f=e(s,c,d);return a?o(f,i)||(i=f):(a=!0,i=f),i}}}function RP(e){return e?typeof e=="function"?xP(e):tg(e,"mergeProps"):()=>EP}function $P(e){e()}function OP(){let e=null,t=null;return{clear(){e=null,t=null},notify(){$P(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||e===null||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var v0={notify(){},get:()=>[]};function $C(e,t){let n,r=v0,o=0,a=!1;function i(S){d();const h=r.subscribe(S);let g=!1;return()=>{g||(g=!0,h(),f())}}function l(){r.notify()}function s(){b.onStateChange&&b.onStateChange()}function c(){return a}function d(){o++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=OP())}function f(){o--,n&&o===0&&(n(),n=void 0,r.clear(),r=v0)}function m(){a||(a=!0,d())}function y(){a&&(a=!1,f())}const b={addNestedSub:i,notifyNestedSubs:l,handleChangeWrapper:s,isSubscribed:c,trySubscribe:m,tryUnsubscribe:y,getListeners:()=>r};return b}var PP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_P=typeof navigator<"u"&&navigator.product==="ReactNative",yc=PP||_P?wt.useLayoutEffect:wt.useEffect;function p0(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function df(e,t){if(p0(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!p0(e[n[o]],t[n[o]]))return!1;return!0}var IP={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},TP={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},MP={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},NP={[vP]:MP,[pP]:OC};function g0(e){return hP(e)?OC:NP[e.$$typeof]||IP}var LP=Object.defineProperty,AP=Object.getOwnPropertyNames,h0=Object.getOwnPropertySymbols,jP=Object.getOwnPropertyDescriptor,DP=Object.getPrototypeOf,y0=Object.prototype;function qm(e,t){if(typeof t!="string"){if(y0){const a=DP(t);a&&a!==y0&&qm(e,a)}let n=AP(t);h0&&(n=n.concat(h0(t)));const r=g0(e),o=g0(t);for(let a=0;a<n.length;++a){const i=n[a];if(!TP[i]&&!(o&&o[i])&&!(r&&r[i])){const l=jP(t,i);try{LP(e,i,l)}catch{}}}}return e}var PC=tP,FP=e=>{PC=e},zP=[null,null];function BP(e,t,n){yc(()=>e(...t),n)}function kP(e,t,n,r,o,a){e.current=r,n.current=!1,o.current&&(o.current=null,a())}function HP(e,t,n,r,o,a,i,l,s,c,d){if(!e)return()=>{};let f=!1,m=null;const y=()=>{if(f||!l.current)return;const S=t.getState();let h,g;try{h=r(S,o.current)}catch(v){g=v,m=v}g||(m=null),h===a.current?i.current||c():(a.current=h,s.current=h,i.current=!0,d())};return n.onStateChange=y,n.trySubscribe(),y(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,m)throw m}}function VP(e,t){return e===t}function WP(e,t,n,{pure:r,areStatesEqual:o=VP,areOwnPropsEqual:a=df,areStatePropsEqual:i=df,areMergedPropsEqual:l=df,forwardRef:s=!1,context:c=ja}={}){const d=c,f=wP(e),m=CP(t),y=RP(n),b=!!e;return h=>{const g=h.displayName||h.name||"Component",v=`Connect(${g})`,p={shouldHandleStateChanges:b,displayName:v,wrappedComponentName:g,WrappedComponent:h,initMapStateToProps:f,initMapDispatchToProps:m,initMergeProps:y,areStatesEqual:o,areStatePropsEqual:i,areOwnPropsEqual:a,areMergedPropsEqual:l};function C(E){const[R,O,_]=wt.useMemo(()=>{const{reactReduxForwardedRef:te,...ie}=E;return[E.context,te,ie]},[E]),A=wt.useMemo(()=>{let te=d;return R!=null&&R.Consumer,te},[R,d]),M=wt.useContext(A),D=!!E.store&&!!E.store.getState&&!!E.store.dispatch,I=!!M&&!!M.store,V=D?E.store:M.store,j=I?M.getServerState:V.getState,P=wt.useMemo(()=>bP(V.dispatch,p),[V]),[$,L]=wt.useMemo(()=>{if(!b)return zP;const te=$C(V,D?void 0:M.subscription),ie=te.notifyNestedSubs.bind(te);return[te,ie]},[V,D,M]),N=wt.useMemo(()=>D?M:{...M,subscription:$},[D,M,$]),T=wt.useRef(void 0),k=wt.useRef(_),H=wt.useRef(void 0),U=wt.useRef(!1),G=wt.useRef(!1),ee=wt.useRef(void 0);yc(()=>(G.current=!0,()=>{G.current=!1}),[]);const Q=wt.useMemo(()=>()=>H.current&&_===k.current?H.current:P(V.getState(),_),[V,_]),ae=wt.useMemo(()=>ie=>$?HP(b,V,$,P,k,T,U,G,H,L,ie):()=>{},[$]);BP(kP,[k,T,U,_,H,L]);let ce;try{ce=PC(ae,Q,j?()=>P(j(),_):Q)}catch(te){throw ee.current&&(te.message+=`
The error may be correlated with this previous error:
${ee.current.stack}

`),te}yc(()=>{ee.current=void 0,H.current=void 0,T.current=ce});const ne=wt.useMemo(()=>wt.createElement(h,{...ce,ref:O}),[O,h,ce]);return wt.useMemo(()=>b?wt.createElement(A.Provider,{value:N},ne):ne,[A,ne,N])}const x=wt.memo(C);if(x.WrappedComponent=h,x.displayName=C.displayName=v,s){const R=wt.forwardRef(function(_,A){return wt.createElement(x,{..._,reactReduxForwardedRef:A})});return R.displayName=v,R.WrappedComponent=h,qm(R,h)}return qm(x,h)}}var ng=WP;function UP({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:a="once"}){const i=wt.useMemo(()=>{const c=$C(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:a}},[e,r,o,a]),l=wt.useMemo(()=>e.getState(),[e]);yc(()=>{const{subscription:c}=i;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),l!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[i,l]);const s=t||ja;return wt.createElement(s.Provider,{value:i},n)}var GP=UP;function _C(e=ja){const t=e===ja?nP:EC(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var KP=_C();function qP(e=ja){const t=e===ja?KP:_C(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var QP=qP();FP(u.useSyncExternalStore);function Cn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var XP=typeof Symbol=="function"&&Symbol.observable||"@@observable",b0=XP,ff=()=>Math.random().toString(36).substring(7).split("").join("."),YP={INIT:`@@redux/INIT${ff()}`,REPLACE:`@@redux/REPLACE${ff()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ff()}`},bc=YP;function JP(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function IC(e,t,n){if(typeof e!="function")throw new Error(Cn(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Cn(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Cn(1));return n(IC)(e,t)}let r=e,o=t,a=new Map,i=a,l=0,s=!1;function c(){i===a&&(i=new Map,a.forEach((h,g)=>{i.set(g,h)}))}function d(){if(s)throw new Error(Cn(3));return o}function f(h){if(typeof h!="function")throw new Error(Cn(4));if(s)throw new Error(Cn(5));let g=!0;c();const v=l++;return i.set(v,h),function(){if(g){if(s)throw new Error(Cn(6));g=!1,c(),i.delete(v),a=null}}}function m(h){if(!JP(h))throw new Error(Cn(7));if(typeof h.type>"u")throw new Error(Cn(8));if(typeof h.type!="string")throw new Error(Cn(17));if(s)throw new Error(Cn(9));try{s=!0,o=r(o,h)}finally{s=!1}return(a=i).forEach(v=>{v()}),h}function y(h){if(typeof h!="function")throw new Error(Cn(10));r=h,m({type:bc.REPLACE})}function b(){const h=f;return{subscribe(g){if(typeof g!="object"||g===null)throw new Error(Cn(11));function v(){const C=g;C.next&&C.next(d())}return v(),{unsubscribe:h(v)}},[b0](){return this}}}return m({type:bc.INIT}),{dispatch:m,subscribe:f,getState:d,replaceReducer:y,[b0]:b}}function ZP(e,t,n){return IC(e,t,n)}function e_(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:bc.INIT})>"u")throw new Error(Cn(12));if(typeof n(void 0,{type:bc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Cn(13))})}function t_(e){const t=Object.keys(e),n={};for(let a=0;a<t.length;a++){const i=t[a];typeof e[i]=="function"&&(n[i]=e[i])}const r=Object.keys(n);let o;try{e_(n)}catch(a){o=a}return function(i={},l){if(o)throw o;let s=!1;const c={};for(let d=0;d<r.length;d++){const f=r[d],m=n[f],y=i[f],b=m(y,l);if(typeof b>"u")throw l&&l.type,new Error(Cn(14));c[f]=b,s=s||b!==y}return s=s||r.length!==Object.keys(i).length,s?c:i}}function TC(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function n_(...e){return t=>(n,r)=>{const o=t(n,r);let a=()=>{throw new Error(Cn(15))};const i={getState:o.getState,dispatch:(s,...c)=>a(s,...c)},l=e.map(s=>s(i));return a=TC(...l)(o.dispatch),{...o,dispatch:a}}}function r_(e){return({dispatch:n,getState:r})=>o=>a=>typeof a=="function"?a(n,r,e):o(a)}var o_=r_();const a_={appLoading:!1,btnLoading:!1,draftLoading:!1,addLoading:!1},i_=(e=a_,t)=>{switch(t.type){case"SET_LOADER":return{...e,appLoading:!0};case"UNSET_LOADER":return{...e,appLoading:!1};case"SET_BTN_LOADER":return{...e,btnLoading:!0};case"UNSET_BTN_LOADER":return{...e,btnLoading:!1};case"SET_DRAFT_LOADER":return{...e,draftLoading:!0};case"UNSET_DRAFT_LOADER":return{...e,draftLoading:!1};case"SET_ADD_LOADER":return{...e,addLoading:!0};case"UNSET_ADD_LOADER":return{...e,addLoading:!1};default:return e}},S0=localStorage.getItem("uniclare-token"),C0=localStorage.getItem("userInfo"),l_={userData:C0!=null?JSON.parse(C0):null,token:S0??null,loading:!1},s_=(e=l_,t)=>{const{type:n,payload:r}=t;switch(n){case"USER_INFO":return{...e,userData:r};case"CLEAR_USERINFO":return{...e,userData:null};case"USERS":return{...e,users:r};case"LOADING":return{...e,loading:!1};default:return e}},u_=(e=[],t)=>{const{type:n,payload:r}=t;switch(n){case"MENUS":return r;case"CLEAR_USERINFO":return e;default:return e}},c_=(e=[],t)=>{switch(t.type){case"SAVE_BANK_DETAILS":return t.payload;default:return e}},d_=(e=[],t)=>{switch(t.type){case"GET_QP_BANK_DETAILS":return t.payload;default:return e}},f_=(e=[],t)=>{switch(t.type){case"QP_GUIDELINES":return t.payload;default:return e}},m_=(e=[],t)=>{switch(t.type){case"GET_QP_DEGGRP":return t.payload;case"CLEAR_QP_DEGGRP":return t.payload;default:return e}},v_=(e=[],t)=>{switch(t.type){case"GET_QP_DEGREE":return t.payload;case"CLEAR_QP_DEGREE":return t.payload;default:return e}},p_=(e=[],t)=>{switch(t.type){case"GET_QP_BOARD":return t.payload;case"CLEAR_QP_BOARD":return t.payload;default:return e}},g_=(e=[],t)=>{switch(t.type){case"GET_QP_CODE":return t.payload;case"CLEAR_QP_CODE":return t.payload;default:return e}},h_=(e=[],t)=>{switch(t.type){case"GET_QP_PATTERN_UPD_DETAILS":return t.payload;case"CLEAR_QP_PATTERN_UPD_DETAILS":return t.payload;default:return e}},y_=(e=[],t)=>{switch(t.type){case"GET_QP_PATTERN_TEMP_CODE":return t.payload;case"CLEAR_QP_PATTERN_TEMP_CODE":return t.payload;default:return e}},b_=(e=[],t)=>{switch(t.type){case"EXAMNAME":return t.payload;default:return e}},S_=(e=[],t)=>{switch(t.type){case"GET_AVAILABLE_SUBJECTS":return t.payload;default:return e}},C_=(e=[],t)=>{switch(t.type){case"AVAILABLE_QP":return t.payload;case"CLEAR_AVAILABLE_QP":return t.payload;default:return e}},w_=(e=[],t)=>{switch(t.type){case"VIEW_DETAILED_AVAILABLE_QP":return t.payload;case"CLEAR_DETAILED_AVAILABLE_QP":return t.payload;default:return e}},E_=(e=[],t)=>{switch(t.type){case"ELIGIBLE_QP_SETTER":return t.payload;case"CLEAR_ELIGIBLE_QP_SETTER":return t.payload;default:return e}},x_=(e=[],t)=>{switch(t.type){case"SELECTED_QP_SETTER":return t.payload;case"CLEAR_SELECTED_QP_SETTER":return t.payload;default:return e}},R_=(e={},t)=>{switch(t.type){case"AVAILABLE_QP_DATA":return t.payload;case"CLEAR_AVAILABLE_QP_DATA":return t.payload;default:return e}},$_=(e=[],t)=>{switch(t.type){case"QP_DETAILS":return t.payload;case"CLEAR_QP_DETAILS":return t.payload;default:return e}},O_=(e=[],t)=>{switch(t.type){case"SET_QP_UPLOAD_DETAILS":return t.payload;case"CLEAR_SET_QP_UPLOAD_DETAILS":return t.payload;default:return e}},P_=(e=[],t)=>{switch(t.type){case"QP_UPD_NOTE":return t.payload;case"CLEAR_QP_UPD_NOTE":return t.payload;default:return e}},__=(e=[],t)=>{switch(t.type){case"PREPARE_QP_DETAILS":return t.payload;case"CLEAR_PREPARE_QP_DETAILS":return t.payload;default:return e}},I_=(e=[],t)=>{switch(t.type){case"QUESTION_NOS":return t.payload;case"CLEAR_QUESTION_NOS":return t.payload;default:return e}},T_=(e=[],t)=>{switch(t.type){case"QN_FILE_DET":return t.payload;case"CLEAR_QN_FILE_DET":return t.payload;default:return e}},M_=(e=[],t)=>{switch(t.type){case"MCQ_SELECTED_QP_DATA":return t.payload;default:return e}},N_=(e=[],t)=>{switch(t.type){case"MOD_DETAILS":return t.payload;default:return e}},L_=(e=[],t)=>{switch(t.type){case"TEACHER_DETAILS":return t.payload;default:return e}},A_=(e=[],t)=>{switch(t.type){case"TEMP_DETAILS":return t.payload;case"CLEAR_TEMP_DETAILS":return t.payload;default:return e}},j_=(e=[],t)=>{switch(t.type){case"TEMP_CODE_DETAILS":return t.payload;case"CLEAR_TEMP_CODE_DETAILS":return t.payload;default:return e}},D_=(e=[],t)=>{switch(t.type){case"SET_SELECT_FINAL_QP":return t.payload;default:return e}},F_=(e=[],t)=>{switch(t.type){case"SET_SELECT_MCQ_FINAL_QP":return t.payload;default:return e}},z_=(e=[],t)=>{switch(t.type){case"MOD_QP_ONLINE":return t.payload;default:return e}},B_=(e=[],t)=>{switch(t.type){case"MOD_QP_OFFLINE":return t.payload;default:return e}},k_=(e=[],t)=>{switch(t.type){case"MOD_QP_DATA":return t.payload;default:return e}},H_=(e=[],t)=>{switch(t.type){case"QP_SUMMARY":return t.payload;case"CLEAR_QP_SUMMARY":return t.payload;default:return e}},V_=(e=[],t)=>{switch(t.type){case"GENERATE_BILL":return t.payload;case"CLEAR_GENERATE_BILL":return t.payload;default:return e}},W_=(e=[],t)=>{switch(t.type){case"TEACH_VAL_DET":return t.payload;case"CLEAR_TEACH_VAL_DET":return t.payload;default:return e}},U_=(e=[],t)=>{switch(t.type){case"GENERATE_BILL_DET":return t.payload;case"CLEAR_GENERATE_BILL_DET":return t.payload;default:return e}},G_=(e={},t)=>{switch(t.type){case"CHECK_PASSWORD":return t.payload;default:return e}},K_=(e={},t)=>{switch(t.type){case"VALIDATE_OTP":return t.payload;default:return e}},q_=(e=[],t)=>{switch(t.type){case"GET_VIEW_QP_DEGGRP":return t.payload;case"CLEAR_VIEW_QP_DEGGRP":return t.payload;default:return e}},Q_=(e=[],t)=>{switch(t.type){case"GET_VIEW_QP_BOARD":return t.payload;case"CLEAR_VIEW_QP_BOARD":return t.payload;default:return e}},X_=(e=[],t)=>{switch(t.type){case"GET_VIEW_QP_DEGREE":return t.payload;case"CLEAR_VIEW_QP_DEGREE":return t.payload;default:return e}},Y_=(e=[],t)=>{switch(t.type){case"GET_VIEW_QP_SUBJ":return t.payload;case"CLEAR_VIEW_QP_SUBJ":return t.payload;default:return e}},J_=(e=[],t)=>{switch(t.type){case"GET_VIEW_QP_DATA":return t.payload;case"CLEAR_VIEW_QP_DATA":return t.payload;default:return e}},Z_=(e=[],t)=>{switch(t.type){case"VIEW_FINAL_QP_DATA":return t.payload;case"CLEAR_FINAL_QP_DATA":return t.payload;default:return e}},eI=(e=[],t)=>{switch(t.type){case"USER_TYPE_DATA":return t.payload;default:return e}},tI=(e=!1,t)=>{switch(t.type){case"OPEN_USERTYPE":return t.payload;default:return e}},nI=(e=!1,t)=>{switch(t.type){case"GET_CREATE_USER_DATA":return t.payload;default:return e}},rI=(e=!1,t)=>{switch(t.type){case"OPEN_CREATE_USER_MODAL":return t.payload;default:return e}},oI=(e=[],t)=>{switch(t.type){case"GET_ASSIGN_USER_MENUS":return t.payload;default:return e}},aI=(e=[],t)=>{switch(t.type){case"COLLEGE_DETAILS":return t.payload;default:return e}},iI=(e=[],t)=>{switch(t.type){case"TEACHER_DETAILS":return t.payload;default:return e}},lI=(e={},t)=>{switch(t.type){case"TEACH_DET":return t.payload;default:return e}},sI=(e=[],t)=>{switch(t.type){case"GET_TEMPLATE_DETAILS":return t.payload;default:return e}},uI=(e=[],t)=>{switch(t.type){case"VIEW_PREPARE_QP_OPTION2":return t.payload;default:return e}},cI=(e=[],t)=>{switch(t.type){case"DEGGRP":return t.payload;default:return e}},dI=(e=[],t)=>{switch(t.type){case"DEGREE":return t.payload;default:return e}},fI=(e=[],t)=>{switch(t.type){case"BOARD":return t.payload;default:return e}},mI=(e=[],t)=>{switch(t.type){case"VIEW_SUBJECT":return t.payload;case"CLEAR_DATA":return t.payload;default:return e}},vI=(e=[],t)=>{switch(t.type){case"UPDATE_SUBJECT":return t.payload;default:return e}},pI=(e=[],t)=>{switch(t.type){case"DEGGRP_DATA":return t.payload;default:return e}},gI=(e=[],t)=>{switch(t.type){case"EDIT_DEGGRP_DATA":return t.payload;default:return e}},hI=(e=[],t)=>{switch(t.type){case"GET_DEGREE":return t.payload;default:return e}},yI=(e=[],t)=>{switch(t.type){case"UPDATE_DEGREE":return t.payload;default:return e}},bI=(e=[],t)=>{switch(t.type){case"GET_DEGGRP_DEGREE":return t.payload;default:return e}},SI=t_({loginfo:s_,menuItems:u_,loader:i_,saveBankDet:c_,getBankDet:d_,deggrp:m_,board:p_,qpcode:g_,tempcodes:y_,patternDetails:h_,degree:v_,availableQp:C_,detailedAvailableQp:w_,eligibleQpSetter:E_,qpsetters:x_,avlQpCount:R_,qpAcceptDetails:$_,qpUpdData:O_,qpUpdNote:P_,prepareQpDetails:__,getQuestions:I_,getAssignMod:N_,teachers:L_,qnfiles:T_,tempDet:A_,tempcodedata:j_,examnames:b_,getSelectFinalQP:D_,getPreparedOmrQp:F_,getModQpOnline:z_,getModQpOffile:B_,getModUpdData:k_,selectedFinalMcq:M_,qpsummary:H_,billgenerate:V_,viewQPDeggrp:q_,viewBoardData:Q_,viewDegreeData:X_,viewSubjData:Y_,viewQPData:J_,viewFinalQP:Z_,availableSubjects:S_,qpGuidelines:f_,getUsertypedata:eI,openUsertype:tI,getAssignUserMenus:oI,getCreateUserData:nI,openCreateUserModal:rI,collegeDetails:aI,teacherDetails:iI,teachdet:lI,getTemplateDetails:sI,getViewPrepareQpDetails:uI,teachBillDet:W_,deggrpsubject:cI,degreesubject:dI,boardsubject:fI,viewsubject:mI,updatingdata:vI,getDeggrpdata:pI,deggrpEditData:gI,degreeDet:hI,updatedeg:yI,getdegForDegree:bI,checkOldPwd:G_,validateCPOTP:K_,generatedBillDet:U_}),CI=(e,t)=>(t.type=="LOGOUT_USER"&&(e=void 0),SI(e,t)),wI=[o_],EI=window.REDUX_DEVTOOLS_EXTENSION_COMPOSE||TC,xI=ZP(CI,EI(n_(...wI)));var MC={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 a="",i=0;i<arguments.length;i++){var l=arguments[i];l&&(a=o(a,r(l)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var l in a)t.call(a,l)&&a[l]&&(i=o(i,l));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(MC);var RI=MC.exports;const q=ep(RI);function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be.apply(null,arguments)}var NC={exports:{}},Ot={};/**
 * @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 rg=Symbol.for("react.element"),og=Symbol.for("react.portal"),Jc=Symbol.for("react.fragment"),Zc=Symbol.for("react.strict_mode"),ed=Symbol.for("react.profiler"),td=Symbol.for("react.provider"),nd=Symbol.for("react.context"),$I=Symbol.for("react.server_context"),rd=Symbol.for("react.forward_ref"),od=Symbol.for("react.suspense"),ad=Symbol.for("react.suspense_list"),id=Symbol.for("react.memo"),ld=Symbol.for("react.lazy"),OI=Symbol.for("react.offscreen"),LC;LC=Symbol.for("react.module.reference");function _r(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rg:switch(e=e.type,e){case Jc:case ed:case Zc:case od:case ad:return e;default:switch(e=e&&e.$$typeof,e){case $I:case nd:case rd:case ld:case id:case td:return e;default:return t}}case og:return t}}}Ot.ContextConsumer=nd;Ot.ContextProvider=td;Ot.Element=rg;Ot.ForwardRef=rd;Ot.Fragment=Jc;Ot.Lazy=ld;Ot.Memo=id;Ot.Portal=og;Ot.Profiler=ed;Ot.StrictMode=Zc;Ot.Suspense=od;Ot.SuspenseList=ad;Ot.isAsyncMode=function(){return!1};Ot.isConcurrentMode=function(){return!1};Ot.isContextConsumer=function(e){return _r(e)===nd};Ot.isContextProvider=function(e){return _r(e)===td};Ot.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rg};Ot.isForwardRef=function(e){return _r(e)===rd};Ot.isFragment=function(e){return _r(e)===Jc};Ot.isLazy=function(e){return _r(e)===ld};Ot.isMemo=function(e){return _r(e)===id};Ot.isPortal=function(e){return _r(e)===og};Ot.isProfiler=function(e){return _r(e)===ed};Ot.isStrictMode=function(e){return _r(e)===Zc};Ot.isSuspense=function(e){return _r(e)===od};Ot.isSuspenseList=function(e){return _r(e)===ad};Ot.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Jc||e===ed||e===Zc||e===od||e===ad||e===OI||typeof e=="object"&&e!==null&&(e.$$typeof===ld||e.$$typeof===id||e.$$typeof===td||e.$$typeof===nd||e.$$typeof===rd||e.$$typeof===LC||e.getModuleId!==void 0)};Ot.typeOf=_r;NC.exports=Ot;var Al=NC.exports;function ea(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return K.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(ea(r)):Al.isFragment(r)&&r.props?n=n.concat(ea(r.props.children,t)):n.push(r))}),n}var Qm={},PI=function(t){};function _I(e,t){}function II(e,t){}function TI(){Qm={}}function AC(e,t,n){!t&&!Qm[n]&&(e(!1,n),Qm[n]=!0)}function Nn(e,t){AC(_I,e,t)}function MI(e,t){AC(II,e,t)}Nn.preMessage=PI;Nn.resetWarned=TI;Nn.noteOnce=MI;function je(e){"@babel/helpers - typeof";return je=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},je(e)}function NI(e,t){if(je(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(je(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jC(e){var t=NI(e,"string");return je(t)=="symbol"?t:t+""}function F(e,t,n){return(t=jC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w0(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 B(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?w0(Object(n),!0).forEach(function(r){F(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function is(e){return e instanceof HTMLElement||e instanceof SVGElement}function LI(e){return e&&je(e)==="object"&&is(e.nativeElement)?e.nativeElement:is(e)?e:null}function jl(e){var t=LI(e);if(t)return t;if(e instanceof K.Component){var n;return(n=Hm.findDOMNode)===null||n===void 0?void 0:n.call(Hm,e)}return null}function Ps(e,t,n){var r=u.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var ag=function(t,n){typeof t=="function"?t(n):je(t)==="object"&&t&&"current"in t&&(t.current=n)},Gr=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.filter(Boolean);return o.length<=1?o[0]:function(a){n.forEach(function(i){ag(i,a)})}},Wa=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ps(function(){return Gr.apply(void 0,n)},n,function(o,a){return o.length!==a.length||o.every(function(i,l){return i!==a[l]})})},ia=function(t){var n,r,o=Al.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((n=o.prototype)!==null&&n!==void 0&&n.render)&&o.$$typeof!==Al.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==Al.ForwardRef)};function Xm(e){return u.isValidElement(e)&&!Al.isFragment(e)}var Dk=function(t){return Xm(t)&&ia(t)};Number(u.version.split(".")[0])>=19;var Ym=u.createContext(null);function AI(e){var t=e.children,n=e.onBatchResize,r=u.useRef(0),o=u.useRef([]),a=u.useContext(Ym),i=u.useCallback(function(l,s,c){r.current+=1;var d=r.current;o.current.push({size:l,element:s,data:c}),Promise.resolve().then(function(){d===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(l,s,c)},[n,a]);return u.createElement(Ym.Provider,{value:i},t)}var DC=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var i=a[o];n.call(r,i[1],i[0])}},t}()}(),Jm=typeof window<"u"&&typeof document<"u"&&window.document===document,Sc=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),jI=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Sc):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),DI=2;function FI(e,t){var n=!1,r=!1,o=0;function a(){n&&(n=!1,e()),r&&l()}function i(){jI(a)}function l(){var s=Date.now();if(n){if(s-o<DI)return;r=!0}else n=!0,r=!1,setTimeout(i,t);o=s}return l}var zI=20,BI=["top","right","bottom","left","width","height","size","weight"],kI=typeof MutationObserver<"u",HI=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=FI(this.refresh.bind(this),zI)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Jm||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),kI?(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(){!Jm||!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=BI.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}(),FC=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Fi=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Sc},zC=sd(0,0,0,0);function Cc(e){return parseFloat(e)||0}function E0(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var a=e["border-"+o+"-width"];return r+Cc(a)},0)}function VI(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var a=o[r],i=e["padding-"+a];n[a]=Cc(i)}return n}function WI(e){var t=e.getBBox();return sd(0,0,t.width,t.height)}function UI(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return zC;var r=Fi(e).getComputedStyle(e),o=VI(r),a=o.left+o.right,i=o.top+o.bottom,l=Cc(r.width),s=Cc(r.height);if(r.boxSizing==="border-box"&&(Math.round(l+a)!==t&&(l-=E0(r,"left","right")+a),Math.round(s+i)!==n&&(s-=E0(r,"top","bottom")+i)),!KI(e)){var c=Math.round(l+a)-t,d=Math.round(s+i)-n;Math.abs(c)!==1&&(l-=c),Math.abs(d)!==1&&(s-=d)}return sd(o.left,o.top,l,s)}var GI=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Fi(e).SVGGraphicsElement}:function(e){return e instanceof Fi(e).SVGElement&&typeof e.getBBox=="function"}}();function KI(e){return e===Fi(e).document.documentElement}function qI(e){return Jm?GI(e)?WI(e):UI(e):zC}function QI(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(a.prototype);return FC(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function sd(e,t,n,r){return{x:e,y:t,width:n,height:r}}var XI=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=sd(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=qI(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),YI=function(){function e(t,n){var r=QI(n);FC(this,{target:t,contentRect:r})}return e}(),JI=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new DC,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=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 Fi(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new XI(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 Fi(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 YI(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}(),BC=typeof WeakMap<"u"?new WeakMap:new DC,kC=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=HI.getInstance(),r=new JI(t,n,this);BC.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){kC.prototype[e]=function(){var t;return(t=BC.get(this))[e].apply(t,arguments)}});var ZI=function(){return typeof Sc.ResizeObserver<"u"?Sc.ResizeObserver:kC}(),zo=new Map;function eT(e){e.forEach(function(t){var n,r=t.target;(n=zo.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var HC=new ZI(eT);function tT(e,t){zo.has(e)||(zo.set(e,new Set),HC.observe(e)),zo.get(e).add(t)}function nT(e,t){zo.has(e)&&(zo.get(e).delete(t),zo.get(e).size||(HC.unobserve(e),zo.delete(e)))}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jC(r.key),r)}}function bn(e,t,n){return t&&x0(e.prototype,t),n&&x0(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ls(e,t){return ls=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ls(e,t)}function la(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ls(e,t)}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ss(e)}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ig=function(){return!!e})()}function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rT(e,t){if(t&&(je(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lt(e)}function sa(e){var t=ig();return function(){var n,r=ss(e);if(t){var o=ss(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rT(this,n)}}var oT=function(e){la(n,e);var t=sa(n);function n(){return yn(this,n),t.apply(this,arguments)}return bn(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component);function aT(e,t){var n=e.children,r=e.disabled,o=u.useRef(null),a=u.useRef(null),i=u.useContext(Ym),l=typeof n=="function",s=l?n(o):n,c=u.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&u.isValidElement(s)&&ia(s),f=d?s.ref:null,m=Wa(f,o),y=function(){var g;return jl(o.current)||(o.current&&je(o.current)==="object"?jl((g=o.current)===null||g===void 0?void 0:g.nativeElement):null)||jl(a.current)};u.useImperativeHandle(t,function(){return y()});var b=u.useRef(e);b.current=e;var S=u.useCallback(function(h){var g=b.current,v=g.onResize,p=g.data,C=h.getBoundingClientRect(),w=C.width,x=C.height,E=h.offsetWidth,R=h.offsetHeight,O=Math.floor(w),_=Math.floor(x);if(c.current.width!==O||c.current.height!==_||c.current.offsetWidth!==E||c.current.offsetHeight!==R){var A={width:O,height:_,offsetWidth:E,offsetHeight:R};c.current=A;var M=E===Math.round(w)?w:E,D=R===Math.round(x)?x:R,I=B(B({},A),{},{offsetWidth:M,offsetHeight:D});i==null||i(I,h,p),v&&Promise.resolve().then(function(){v(I,h)})}},[]);return u.useEffect(function(){var h=y();return h&&!r&&tT(h,S),function(){return nT(h,S)}},[o.current,r]),u.createElement(oT,{ref:a},d?u.cloneElement(s,{ref:m}):s)}var iT=u.forwardRef(aT),lT="rc-observer-key";function sT(e,t){var n=e.children,r=typeof n=="function"?[n]:ea(n);return r.map(function(o,a){var i=(o==null?void 0:o.key)||"".concat(lT,"-").concat(a);return u.createElement(iT,be({},e,{key:i,ref:a===0?t:void 0}),o)})}var kr=u.forwardRef(sT);kr.Collection=AI;function mr(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}function Zm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function uT(e){if(Array.isArray(e))return Zm(e)}function VC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lg(e,t){if(e){if(typeof e=="string")return Zm(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zm(e,t):void 0}}function cT(){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 ye(e){return uT(e)||VC(e)||lg(e)||cT()}var WC=function(t){return+setTimeout(t,16)},UC=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(WC=function(t){return window.requestAnimationFrame(t)},UC=function(t){return window.cancelAnimationFrame(t)});var R0=0,sg=new Map;function GC(e){sg.delete(e)}var Rt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;R0+=1;var r=R0;function o(a){if(a===0)GC(r),t();else{var i=WC(function(){o(a-1)});sg.set(r,i)}}return o(n),r};Rt.cancel=function(e){var t=sg.get(e);return GC(e),UC(t)};function KC(e){if(Array.isArray(e))return e}function dT(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,c=!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){c=!0,o=d}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}function qC(){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 W(e,t){return KC(e)||dT(e,t)||lg(e,t)||qC()}function us(e){for(var t=0,n,r=0,o=e.length;o>=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 Fn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ev(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var $0="data-rc-order",O0="data-rc-priority",fT="rc-util-key",tv=new Map;function QC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):fT}function ud(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function mT(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ug(e){return Array.from((tv.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function XC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Fn())return null;var n=t.csp,r=t.prepend,o=t.priority,a=o===void 0?0:o,i=mT(r),l=i==="prependQueue",s=document.createElement("style");s.setAttribute($0,i),l&&a&&s.setAttribute(O0,"".concat(a)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=e;var c=ud(t),d=c.firstChild;if(r){if(l){var f=(t.styles||ug(c)).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute($0)))return!1;var y=Number(m.getAttribute(O0)||0);return a>=y});if(f.length)return c.insertBefore(s,f[f.length-1].nextSibling),s}c.insertBefore(s,d)}else c.appendChild(s);return s}function YC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ud(t);return(t.styles||ug(n)).find(function(r){return r.getAttribute(QC(t))===e})}function cs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=YC(e,t);if(n){var r=ud(t);r.removeChild(n)}}function vT(e,t){var n=tv.get(e);if(!n||!ev(document,n)){var r=XC("",t),o=r.parentNode;tv.set(e,o),e.removeChild(r)}}function vo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=ud(n),o=ug(r),a=B(B({},n),{},{styles:o});vT(r,a);var i=YC(t,a);if(i){var l,s;if((l=a.csp)!==null&&l!==void 0&&l.nonce&&i.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var c;i.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var d=XC(e,a);return d.setAttribute(QC(a),t),d}function pT(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function it(e,t){if(e==null)return{};var n,r,o=pT(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ds(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(Nn(!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 c=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var d=0;d<a.length;d++)if(!o(a[d],i[d],c))return!1;return!0}if(a&&i&&je(a)==="object"&&je(i)==="object"){var f=Object.keys(a);return f.length!==Object.keys(i).length?!1:f.every(function(m){return o(a[m],i[m],c)})}return!1}return o(e,t)}var gT="%";function nv(e){return e.join(gT)}var hT=function(){function e(t){yn(this,e),F(this,"instanceId",void 0),F(this,"cache",new Map),this.instanceId=t}return bn(e,[{key:"get",value:function(n){return this.opGet(nv(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(nv(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),a=r(o);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),e}(),zi="data-token-hash",Hr="data-css-hash",Bo="__cssinjs_instance__";function yT(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Hr,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Bo]=o[Bo]||e,o[Bo]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(Hr,"]"))).forEach(function(o){var a=o.getAttribute(Hr);if(r[a]){if(o[Bo]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else r[a]=!0})}return new hT(e)}var cd=u.createContext({hashPriority:"low",cache:yT(),defaultCache:!0}),JC=bn(function e(){yn(this,e)}),ZC="CALC_UNIT",bT=new RegExp(ZC,"g");function mf(e){return typeof e=="number"?"".concat(e).concat(ZC):e}var ST=function(e){la(n,e);var t=sa(n);function n(r,o){var a;yn(this,n),a=t.call(this),F(lt(a),"result",""),F(lt(a),"unitlessCssVar",void 0),F(lt(a),"lowPriority",void 0);var i=je(r);return a.unitlessCssVar=o,r instanceof n?a.result="(".concat(r.result,")"):i==="number"?a.result=mf(r):i==="string"&&(a.result=r),a}return bn(n,[{key:"add",value:function(o){return o instanceof n?this.result="".concat(this.result," + ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," + ").concat(mf(o))),this.lowPriority=!0,this}},{key:"sub",value:function(o){return o instanceof n?this.result="".concat(this.result," - ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," - ").concat(mf(o))),this.lowPriority=!0,this}},{key:"mul",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof n?this.result="".concat(this.result," * ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," * ").concat(o)),this.lowPriority=!1,this}},{key:"div",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof n?this.result="".concat(this.result," / ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," / ").concat(o)),this.lowPriority=!1,this}},{key:"getResult",value:function(o){return this.lowPriority||o?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(o){var a=this,i=o||{},l=i.unit,s=!0;return typeof l=="boolean"?s=l:Array.from(this.unitlessCssVar).some(function(c){return a.result.includes(c)})&&(s=!1),this.result=this.result.replace(bT,s?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(JC),CT=function(e){la(n,e);var t=sa(n);function n(r){var o;return yn(this,n),o=t.call(this),F(lt(o),"result",0),r instanceof n?o.result=r.result:typeof r=="number"&&(o.result=r),o}return bn(n,[{key:"add",value:function(o){return o instanceof n?this.result+=o.result:typeof o=="number"&&(this.result+=o),this}},{key:"sub",value:function(o){return o instanceof n?this.result-=o.result:typeof o=="number"&&(this.result-=o),this}},{key:"mul",value:function(o){return o instanceof n?this.result*=o.result:typeof o=="number"&&(this.result*=o),this}},{key:"div",value:function(o){return o instanceof n?this.result/=o.result:typeof o=="number"&&(this.result/=o),this}},{key:"equal",value:function(){return this.result}}]),n}(JC),wT=function(t,n){var r=t==="css"?ST:CT;return function(o){return new r(o,n)}};function ET(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var cg=function(){function e(){yn(this,e),F(this,"cache",void 0),F(this,"keys",void 0),F(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return bn(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(l){if(!i)i=void 0;else{var s;i=(s=i)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.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(c,d){var f=W(c,2),m=f[1];return o.internalGet(d)[1]<m?[d,o.internalGet(d)[1]]:c},[this.keys[0],this.cacheCallTimes]),i=W(a,1),l=i[0];this.delete(l)}this.keys.push(n)}var s=this.cache;n.forEach(function(c,d){if(d===n.length-1)s.set(c,{value:[r,o.cacheCallTimes++]});else{var f=s.get(c);f?f.map||(f.map=new Map):s.set(c,{map:new Map}),s=s.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var a;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),i}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!ET(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();F(cg,"MAX_CACHE_SIZE",20);F(cg,"MAX_CACHE_OFFSET",5);var P0=0,ew=function(){function e(t){yn(this,e),F(this,"derivatives",void 0),F(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=P0,t.length===0&&(t.length>0,void 0),P0+=1}return bn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),vf=new cg;function rv(e){var t=Array.isArray(e)?e:[e];return vf.has(t)||vf.set(t,new ew(t)),vf.get(t)}var xT=new WeakMap,pf={};function RT(e,t){for(var n=xT,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(pf)||n.set(pf,e()),n.get(pf)}var _0=new WeakMap;function Dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=_0.get(e)||"";return n||(Object.keys(e).forEach(function(r){var o=e[r];n+=r,o instanceof ew?n+=o.id:o&&je(o)==="object"?n+=Dl(o,t):n+=o}),t&&(n=us(n)),_0.set(e,n)),n}function I0(e,t){return us("".concat(t,"_").concat(Dl(e,!0)))}var ov=Fn();function Z(e){return typeof e=="number"?"".concat(e,"px"):e}function wc(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=B(B({},r),{},F(F({},zi,t),Hr,n)),i=Object.keys(a).map(function(l){var s=a[l];return s?"".concat(l,'="').concat(s,'"'):null}).filter(function(l){return l}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Tu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},$T=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(o){var a=W(o,2),i=a[0],l=a[1];return"".concat(i,":").concat(l,";")}).join(""),"}"):""},tw=function(t,n,r){var o={},a={};return Object.entries(t).forEach(function(i){var l,s,c=W(i,2),d=c[0],f=c[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[d])a[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[d])){var m,y=Tu(d,r==null?void 0:r.prefix);o[y]=typeof f=="number"&&!(r!=null&&(m=r.unitless)!==null&&m!==void 0&&m[d])?"".concat(f,"px"):String(f),a[d]="var(".concat(y,")")}}),[a,$T(o,n,{scope:r==null?void 0:r.scope})]},T0=Fn()?u.useLayoutEffect:u.useEffect,zt=function(t,n){var r=u.useRef(!0);T0(function(){return t(r.current)},n),T0(function(){return r.current=!1,function(){r.current=!0}},[])},av=function(t,n){zt(function(r){if(!r)return t()},n)},OT=B({},Ia),M0=OT.useInsertionEffect,PT=function(t,n,r){u.useMemo(t,r),zt(function(){return n(!0)},r)},_T=M0?function(e,t,n){return M0(function(){return e(),t()},n)}:PT,IT=B({},Ia),TT=IT.useInsertionEffect,MT=function(t){var n=[],r=!1;function o(a){r||n.push(a)}return u.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},t),o},NT=function(){return function(t){t()}},LT=typeof TT<"u"?MT:NT;function dg(e,t,n,r,o){var a=u.useContext(cd),i=a.cache,l=[e].concat(ye(t)),s=nv(l),c=LT([s]),d=function(b){i.opUpdate(s,function(S){var h=S||[void 0,void 0],g=W(h,2),v=g[0],p=v===void 0?0:v,C=g[1],w=C,x=w||n(),E=[p,x];return b?b(E):E})};u.useMemo(function(){d()},[s]);var f=i.opGet(s),m=f[1];return _T(function(){o==null||o(m)},function(y){return d(function(b){var S=W(b,2),h=S[0],g=S[1];return y&&h===0&&(o==null||o(m)),[h+1,g]}),function(){i.opUpdate(s,function(b){var S=b||[],h=W(S,2),g=h[0],v=g===void 0?0:g,p=h[1],C=v-1;return C===0?(c(function(){(y||!i.opGet(s))&&(r==null||r(p,!1))}),null):[v-1,p]})}},[s]),m}var AT={},jT="css",ga=new Map;function DT(e){ga.set(e,(ga.get(e)||0)+1)}function FT(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(zi,'="').concat(e,'"]'));n.forEach(function(r){if(r[Bo]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var zT=0;function BT(e,t){ga.set(e,(ga.get(e)||0)-1);var n=Array.from(ga.keys()),r=n.filter(function(o){var a=ga.get(o)||0;return a<=0});n.length-r.length>zT&&r.forEach(function(o){FT(o,t),ga.delete(o)})}var kT=function(t,n,r,o){var a=r.getDerivativeToken(t),i=B(B({},a),n);return o&&(i=o(i)),i},nw="token";function HT(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=u.useContext(cd),o=r.cache.instanceId,a=r.container,i=n.salt,l=i===void 0?"":i,s=n.override,c=s===void 0?AT:s,d=n.formatToken,f=n.getComputedToken,m=n.cssVar,y=RT(function(){return Object.assign.apply(Object,[{}].concat(ye(t)))},t),b=Dl(y),S=Dl(c),h=m?Dl(m):"",g=dg(nw,[l,e.id,b,S,h],function(){var v,p=f?f(y,c,e):kT(y,c,e,d),C=B({},p),w="";if(m){var x=tw(p,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),E=W(x,2);p=E[0],w=E[1]}var R=I0(p,l);p._tokenKey=R,C._tokenKey=I0(C,l);var O=(v=m==null?void 0:m.key)!==null&&v!==void 0?v:R;p._themeKey=O,DT(O);var _="".concat(jT,"-").concat(us(R));return p._hashId=_,[p,_,C,w,(m==null?void 0:m.key)||""]},function(v){BT(v[0]._themeKey,o)},function(v){var p=W(v,4),C=p[0],w=p[3];if(m&&w){var x=vo(w,us("css-variables-".concat(C._themeKey)),{mark:Hr,prepend:"queue",attachTo:a,priority:-999});x[Bo]=o,x.setAttribute(zi,C._themeKey)}});return g}var VT=function(t,n,r){var o=W(t,5),a=o[2],i=o[3],l=o[4],s=r||{},c=s.plain;if(!i)return null;var d=a._tokenKey,f=-999,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},y=wc(i,l,d,m,c);return[f,d,y]},WT={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},rw="comm",ow="rule",aw="decl",UT="@import",GT="@keyframes",KT="@layer",iw=Math.abs,fg=String.fromCharCode;function lw(e){return e.trim()}function Mu(e,t,n){return e.replace(t,n)}function qT(e,t,n){return e.indexOf(t,n)}function fs(e,t){return e.charCodeAt(t)|0}function ms(e,t,n){return e.slice(t,n)}function uo(e){return e.length}function QT(e){return e.length}function iu(e,t){return t.push(e),e}var dd=1,Bi=1,sw=0,Pr=0,tn=0,Yi="";function mg(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:dd,column:Bi,length:i,return:"",siblings:l}}function XT(){return tn}function YT(){return tn=Pr>0?fs(Yi,--Pr):0,Bi--,tn===10&&(Bi=1,dd--),tn}function Vr(){return tn=Pr<sw?fs(Yi,Pr++):0,Bi++,tn===10&&(Bi=1,dd++),tn}function Oa(){return fs(Yi,Pr)}function Nu(){return Pr}function fd(e,t){return ms(Yi,e,t)}function iv(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function JT(e){return dd=Bi=1,sw=uo(Yi=e),Pr=0,[]}function ZT(e){return Yi="",e}function gf(e){return lw(fd(Pr-1,lv(e===91?e+2:e===40?e+1:e)))}function eM(e){for(;(tn=Oa())&&tn<33;)Vr();return iv(e)>2||iv(tn)>3?"":" "}function tM(e,t){for(;--t&&Vr()&&!(tn<48||tn>102||tn>57&&tn<65||tn>70&&tn<97););return fd(e,Nu()+(t<6&&Oa()==32&&Vr()==32))}function lv(e){for(;Vr();)switch(tn){case e:return Pr;case 34:case 39:e!==34&&e!==39&&lv(tn);break;case 40:e===41&&lv(e);break;case 92:Vr();break}return Pr}function nM(e,t){for(;Vr()&&e+tn!==57;)if(e+tn===84&&Oa()===47)break;return"/*"+fd(t,Pr-1)+"*"+fg(e===47?e:Vr())}function rM(e){for(;!iv(Oa());)Vr();return fd(e,Pr)}function oM(e){return ZT(Lu("",null,null,null,[""],e=JT(e),0,[0],e))}function Lu(e,t,n,r,o,a,i,l,s){for(var c=0,d=0,f=i,m=0,y=0,b=0,S=1,h=1,g=1,v=0,p="",C=o,w=a,x=r,E=p;h;)switch(b=v,v=Vr()){case 40:if(b!=108&&fs(E,f-1)==58){qT(E+=Mu(gf(v),"&","&\f"),"&\f",iw(c?l[c-1]:0))!=-1&&(g=-1);break}case 34:case 39:case 91:E+=gf(v);break;case 9:case 10:case 13:case 32:E+=eM(b);break;case 92:E+=tM(Nu()-1,7);continue;case 47:switch(Oa()){case 42:case 47:iu(aM(nM(Vr(),Nu()),t,n,s),s);break;default:E+="/"}break;case 123*S:l[c++]=uo(E)*g;case 125*S:case 59:case 0:switch(v){case 0:case 125:h=0;case 59+d:g==-1&&(E=Mu(E,/\f/g,"")),y>0&&uo(E)-f&&iu(y>32?L0(E+";",r,n,f-1,s):L0(Mu(E," ","")+";",r,n,f-2,s),s);break;case 59:E+=";";default:if(iu(x=N0(E,t,n,c,d,o,l,p,C=[],w=[],f,a),a),v===123)if(d===0)Lu(E,t,x,x,C,a,f,l,w);else switch(m===99&&fs(E,3)===110?100:m){case 100:case 108:case 109:case 115:Lu(e,x,x,r&&iu(N0(e,x,x,0,0,o,l,p,o,C=[],f,w),w),o,w,f,l,r?C:w);break;default:Lu(E,x,x,x,[""],w,0,l,w)}}c=d=y=0,S=g=1,p=E="",f=i;break;case 58:f=1+uo(E),y=b;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&YT()==125)continue}switch(E+=fg(v),v*S){case 38:g=d>0?1:(E+="\f",-1);break;case 44:l[c++]=(uo(E)-1)*g,g=1;break;case 64:Oa()===45&&(E+=gf(Vr())),m=Oa(),d=f=uo(p=E+=rM(Nu())),v++;break;case 45:b===45&&uo(E)==2&&(S=0)}}return a}function N0(e,t,n,r,o,a,i,l,s,c,d,f){for(var m=o-1,y=o===0?a:[""],b=QT(y),S=0,h=0,g=0;S<r;++S)for(var v=0,p=ms(e,m+1,m=iw(h=i[S])),C=e;v<b;++v)(C=lw(h>0?y[v]+" "+p:Mu(p,/&\f/g,y[v])))&&(s[g++]=C);return mg(e,t,n,o===0?ow:l,s,c,d,f)}function aM(e,t,n,r){return mg(e,t,n,rw,fg(XT()),ms(e,2,-2),0,r)}function L0(e,t,n,r,o){return mg(e,t,n,aw,ms(e,0,r),ms(e,r+1,-1),r,o)}function sv(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function iM(e,t,n,r){switch(e.type){case KT:if(e.children.length)break;case UT:case aw:return e.return=e.return||e.value;case rw:return"";case GT:return e.return=e.value+"{"+sv(e.children,r)+"}";case ow:if(!uo(e.value=e.props.join(",")))return""}return uo(n=sv(e.children,r))?e.return=e.value+"{"+n+"}":""}var A0="data-ant-cssinjs-cache-path",uw="_FILE_STYLE__",Pa,cw=!0;function lM(){if(!Pa&&(Pa={},Fn())){var e=document.createElement("div");e.className=A0,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var a=o.split(":"),i=W(a,2),l=i[0],s=i[1];Pa[l]=s});var n=document.querySelector("style[".concat(A0,"]"));if(n){var r;cw=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function sM(e){return lM(),!!Pa[e]}function uM(e){var t=Pa[e],n=null;if(t&&Fn())if(cw)n=uw;else{var r=document.querySelector("style[".concat(Hr,'="').concat(Pa[e],'"]'));r?n=r.innerHTML:delete Pa[e]}return[n,t]}var cM="_skip_check_",dw="_multi_value_";function Au(e){var t=sv(oM(e),iM);return t.replace(/\{%%%\:[^;];}/g,";")}function dM(e){return je(e)==="object"&&e&&(cM in e||dw in e)}function fM(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+/),c=s[0]||"",d=((l=c.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return c="".concat(d).concat(o).concat(c.slice(d.length)),[c].concat(ye(s.slice(1))).join(" ")});return a.join(",")}var mM=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 c=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var m="",y={};function b(g){var v=g.getName(l);if(!y[v]){var p=e(g.style,n,{root:!1,parentSelectors:i}),C=W(p,1),w=C[0];y[v]="@keyframes ".concat(g.getName(l)).concat(w)}}function S(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return g.forEach(function(p){Array.isArray(p)?S(p,v):p&&v.push(p)}),v}var h=S(Array.isArray(t)?t:[t]);return h.forEach(function(g){var v=typeof g=="string"&&!o?{}:g;if(typeof v=="string")m+="".concat(v,`
`);else if(v._keyframe)b(v);else{var p=f.reduce(function(C,w){var x;return(w==null||(x=w.visit)===null||x===void 0?void 0:x.call(w,C))||C},v);Object.keys(p).forEach(function(C){var w=p[C];if(je(w)==="object"&&w&&(C!=="animationName"||!w._keyframe)&&!dM(w)){var x=!1,E=C.trim(),R=!1;(o||a)&&l?E.startsWith("@")?x=!0:E=fM(C,l,c):o&&!l&&(E==="&"||E==="")&&(E="",R=!0);var O=e(w,n,{root:R,injectHash:x,parentSelectors:[].concat(ye(i),[E])}),_=W(O,2),A=_[0],M=_[1];y=B(B({},y),M),m+="".concat(E).concat(A)}else{let V=function(j,P){var $=j.replace(/[A-Z]/g,function(N){return"-".concat(N.toLowerCase())}),L=P;!WT[j]&&typeof L=="number"&&L!==0&&(L="".concat(L,"px")),j==="animationName"&&P!==null&&P!==void 0&&P._keyframe&&(b(P),L=P.getName(l)),m+="".concat($,":").concat(L,";")};var D,I=(D=w==null?void 0:w.value)!==null&&D!==void 0?D:w;je(w)==="object"&&w!==null&&w!==void 0&&w[dw]&&Array.isArray(I)?I.forEach(function(j){V(C,j)}):V(C,I)}})}}),o?s&&(m="@layer ".concat(s.name," {").concat(m,"}"),s.dependencies&&(y["@layer ".concat(s.name)]=s.dependencies.map(function(g){return"@layer ".concat(g,", ").concat(s.name,";")}).join(`
`))):m="{".concat(m,"}"),[m,y]};function fw(e,t){return us("".concat(e.join("%")).concat(t))}function vM(){return null}var mw="style";function uv(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,l=e.clientOnly,s=e.order,c=s===void 0?0:s,d=u.useContext(cd),f=d.autoClear;d.mock;var m=d.defaultCache,y=d.hashPriority,b=d.container,S=d.ssrInline,h=d.transformers,g=d.linters,v=d.cache,p=d.layer,C=n._tokenKey,w=[C];p&&w.push("layer"),w.push.apply(w,ye(r));var x=ov,E=dg(mw,w,function(){var M=w.join("|");if(sM(M)){var D=uM(M),I=W(D,2),V=I[0],j=I[1];if(V)return[V,C,j,{},l,c]}var P=t(),$=mM(P,{hashId:o,hashPriority:y,layer:p?a:void 0,path:r.join("-"),transformers:h,linters:g}),L=W($,2),N=L[0],T=L[1],k=Au(N),H=fw(w,k);return[k,C,H,T,l,c]},function(M,D){var I=W(M,3),V=I[2];(D||f)&&ov&&cs(V,{mark:Hr})},function(M){var D=W(M,4),I=D[0];D[1];var V=D[2],j=D[3];if(x&&I!==uw){var P={mark:Hr,prepend:p?!1:"queue",attachTo:b,priority:c},$=typeof i=="function"?i():i;$&&(P.csp={nonce:$});var L=[],N=[];Object.keys(j).forEach(function(k){k.startsWith("@layer")?L.push(k):N.push(k)}),L.forEach(function(k){vo(Au(j[k]),"_layer-".concat(k),B(B({},P),{},{prepend:!0}))});var T=vo(I,V,P);T[Bo]=v.instanceId,T.setAttribute(zi,C),N.forEach(function(k){vo(Au(j[k]),"_effect-".concat(k),P)})}}),R=W(E,3),O=R[0],_=R[1],A=R[2];return function(M){var D;return!S||x||!m?D=u.createElement(vM,null):D=u.createElement("style",be({},F(F({},zi,_),Hr,A),{dangerouslySetInnerHTML:{__html:O}})),u.createElement(u.Fragment,null,D,M)}}var pM=function(t,n,r){var o=W(t,6),a=o[0],i=o[1],l=o[2],s=o[3],c=o[4],d=o[5],f=r||{},m=f.plain;if(c)return null;var y=a,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return y=wc(a,i,l,b,m),s&&Object.keys(s).forEach(function(S){if(!n[S]){n[S]=!0;var h=Au(s[S]),g=wc(h,i,"_effect-".concat(S),b,m);S.startsWith("@layer")?y=g+y:y+=g}}),[d,l,y]},vw="cssVar",gM=function(t,n){var r=t.key,o=t.prefix,a=t.unitless,i=t.ignore,l=t.token,s=t.scope,c=s===void 0?"":s,d=u.useContext(cd),f=d.cache.instanceId,m=d.container,y=l._tokenKey,b=[].concat(ye(t.path),[r,c,y]),S=dg(vw,b,function(){var h=n(),g=tw(h,r,{prefix:o,unitless:a,ignore:i,scope:c}),v=W(g,2),p=v[0],C=v[1],w=fw(b,C);return[p,C,w,r]},function(h){var g=W(h,3),v=g[2];ov&&cs(v,{mark:Hr})},function(h){var g=W(h,3),v=g[1],p=g[2];if(v){var C=vo(v,p,{mark:Hr,prepend:"queue",attachTo:m,priority:-999});C[Bo]=f,C.setAttribute(zi,r)}});return S},hM=function(t,n,r){var o=W(t,4),a=o[1],i=o[2],l=o[3],s=r||{},c=s.plain;if(!a)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=wc(a,l,i,f,c);return[d,i,m]};F(F(F({},mw,pM),nw,VT),vw,hM);var yt=function(){function e(t,n){yn(this,e),F(this,"name",void 0),F(this,"style",void 0),F(this,"_keyframe",!0),this.name=t,this.style=n}return bn(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 Za(e){return e.notSplit=!0,e}Za(["borderTop","borderBottom"]),Za(["borderTop"]),Za(["borderBottom"]),Za(["borderLeft","borderRight"]),Za(["borderLeft"]),Za(["borderRight"]);var vg=u.createContext({});function pw(e){return KC(e)||VC(e)||lg(e)||qC()}function Jr(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function gw(e,t,n,r){if(!t.length)return n;var o=pw(t),a=o[0],i=o.slice(1),l;return!e&&typeof a=="number"?l=[]:Array.isArray(e)?l=ye(e):l=B({},e),r&&n===void 0&&i.length===1?delete l[a][i[0]]:l[a]=gw(l[a],i,n,r),l}function jr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Jr(e,t.slice(0,-1))?e:gw(e,t,n,r)}function yM(e){return je(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function j0(e){return Array.isArray(e)?[]:{}}var bM=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Si(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=j0(t[0]);return t.forEach(function(o){function a(i,l){var s=new Set(l),c=Jr(o,i),d=Array.isArray(c);if(d||yM(c)){if(!s.has(c)){s.add(c);var f=Jr(r,i);d?r=jr(r,i,[]):(!f||je(f)!=="object")&&(r=jr(r,i,j0(c))),bM(c).forEach(function(m){a([].concat(ye(i),[m]),s)})}}else r=jr(r,i,c)}a([])}),r}function SM(){}const CM=u.createContext({}),wM=()=>{const e=()=>{};return e.deprecated=SM,e},EM=u.createContext(void 0);var xM={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},RM={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};const hw={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},D0={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},RM),timePickerLocale:Object.assign({},hw)},er="${label} is not a valid ${type}",Da={locale:"en",Pagination:xM,DatePicker:D0,TimePicker:hw,Calendar:D0,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:er,method:er,array:er,object:er,number:er,date:er,boolean:er,integer:er,float:er,regexp:er,email:er,url:er,hex:er},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}};let ju=Object.assign({},Da.Modal),Du=[];const F0=()=>Du.reduce((e,t)=>Object.assign(Object.assign({},e),t),Da.Modal);function $M(e){if(e){const t=Object.assign({},e);return Du.push(t),ju=F0(),()=>{Du=Du.filter(n=>n!==t),ju=F0()}}ju=Object.assign({},Da.Modal)}function yw(){return ju}const pg=u.createContext(void 0),md=(e,t)=>{const n=u.useContext(pg),r=u.useMemo(()=>{var a;const i=t||Da[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=u.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Da.locale:a},[n]);return[r,o]},OM="internalMark",PM=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;u.useEffect(()=>$M(t==null?void 0:t.Modal),[t]);const o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(pg.Provider,{value:o},n)};function Rn(e,t){_M(e)&&(e="100%");var n=IM(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 lu(e){return Math.min(1,Math.max(0,e))}function _M(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function IM(e){return typeof e=="string"&&e.indexOf("%")!==-1}function bw(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function su(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ca(e){return e.length===1?"0"+e:String(e)}function TM(e,t,n){return{r:Rn(e,255)*255,g:Rn(t,255)*255,b:Rn(n,255)*255}}function z0(e,t,n){e=Rn(e,255),t=Rn(t,255),n=Rn(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+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break}a/=6}return{h:a,s:i,l}}function hf(e,t,n){return n<0&&(n+=1),n>1&&(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 MM(e,t,n){var r,o,a;if(e=Rn(e,360),t=Rn(t,100),n=Rn(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=hf(l,i,e+1/3),o=hf(l,i,e),a=hf(l,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function cv(e,t,n){e=Rn(e,255),t=Rn(t,255),n=Rn(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<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;break}a/=6}return{h:a,s,v:i}}function NM(e,t,n){e=Rn(e,360)*6,t=Rn(t,100),n=Rn(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6,c=[n,i,a,a,l,n][s],d=[l,n,n,i,a,a][s],f=[a,a,l,n,n,i][s];return{r:c*255,g:d*255,b:f*255}}function dv(e,t,n,r){var o=[Ca(Math.round(e).toString(16)),Ca(Math.round(t).toString(16)),Ca(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function LM(e,t,n,r,o){var a=[Ca(Math.round(e).toString(16)),Ca(Math.round(t).toString(16)),Ca(Math.round(n).toString(16)),Ca(AM(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function AM(e){return Math.round(parseFloat(e)*255).toString(16)}function B0(e){return nr(e)/255}function nr(e){return parseInt(e,16)}function jM(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var fv={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 li(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=zM(e)),typeof e=="object"&&(ao(e.r)&&ao(e.g)&&ao(e.b)?(t=TM(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ao(e.h)&&ao(e.s)&&ao(e.v)?(r=su(e.s),o=su(e.v),t=NM(e.h,r,o),i=!0,l="hsv"):ao(e.h)&&ao(e.s)&&ao(e.l)&&(r=su(e.s),a=su(e.l),t=MM(e.h,r,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=bw(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 DM="[-\\+]?\\d+%?",FM="[-\\+]?\\d*\\.\\d+%?",ko="(?:".concat(FM,")|(?:").concat(DM,")"),yf="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),bf="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Nr={CSS_UNIT:new RegExp(ko),rgb:new RegExp("rgb"+yf),rgba:new RegExp("rgba"+bf),hsl:new RegExp("hsl"+yf),hsla:new RegExp("hsla"+bf),hsv:new RegExp("hsv"+yf),hsva:new RegExp("hsva"+bf),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 zM(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(fv[e])e=fv[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Nr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Nr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Nr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Nr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Nr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Nr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Nr.hex8.exec(e),n?{r:nr(n[1]),g:nr(n[2]),b:nr(n[3]),a:B0(n[4]),format:t?"name":"hex8"}:(n=Nr.hex6.exec(e),n?{r:nr(n[1]),g:nr(n[2]),b:nr(n[3]),format:t?"name":"hex"}:(n=Nr.hex4.exec(e),n?{r:nr(n[1]+n[1]),g:nr(n[2]+n[2]),b:nr(n[3]+n[3]),a:B0(n[4]+n[4]),format:t?"name":"hex8"}:(n=Nr.hex3.exec(e),n?{r:nr(n[1]+n[1]),g:nr(n[2]+n[2]),b:nr(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ao(e){return!!Nr.CSS_UNIT.exec(String(e))}var En=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=jM(t)),this.originalInput=t;var o=li(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=bw(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=cv(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=cv(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=z0(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=z0(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),dv(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),LM(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(Rn(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(Rn(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="#"+dv(this.r,this.g,this.b,!1),n=0,r=Object.entries(fv);n<r.length;n++){var o=r[n],a=o[0],i=o[1];if(t===i)return a}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,o=this.a<1&&this.a>=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=lu(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=lu(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=lu(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=lu(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<t;i++)o.push(new e({h:(r+i*a)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),uu=2,k0=.16,BM=.05,kM=.05,HM=.15,Sw=5,Cw=4,VM=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function H0(e){var t=e.r,n=e.g,r=e.b,o=cv(t,n,r);return{h:o.h*360,s:o.s,v:o.v}}function cu(e){var t=e.r,n=e.g,r=e.b;return"#".concat(dv(t,n,r,!1))}function WM(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function V0(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-uu*t:Math.round(e.h)+uu*t:r=n?Math.round(e.h)+uu*t:Math.round(e.h)-uu*t,r<0?r+=360:r>=360&&(r-=360),r}function W0(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-k0*t:t===Cw?r=e.s+k0:r=e.s+BM*t,r>1&&(r=1),n&&t===Sw&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function U0(e,t,n){var r;return n?r=e.v+kM*t:r=e.v-HM*t,r>1&&(r=1),Number(r.toFixed(2))}function vs(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=li(e),o=Sw;o>0;o-=1){var a=H0(r),i=cu(li({h:V0(a,o,!0),s:W0(a,o,!0),v:U0(a,o,!0)}));n.push(i)}n.push(cu(r));for(var l=1;l<=Cw;l+=1){var s=H0(r),c=cu(li({h:V0(s,l),s:W0(s,l),v:U0(s,l)}));n.push(c)}return t.theme==="dark"?VM.map(function(d){var f=d.index,m=d.opacity,y=cu(WM(li(t.backgroundColor||"#141414"),li(n[f]),m*100));return y}):n}var Fk={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"},mv=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];mv.primary=mv[5];const ww={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"},ps=Object.assign(Object.assign({},ww),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",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,motion:!0});function UM(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:d}=e,f=n(s),m=n(o),y=n(a),b=n(i),S=n(l),h=r(c,d),g=e.colorLink||e.colorInfo,v=n(g);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:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBgActive:b[3],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:y[1],colorWarningBgHover:y[2],colorWarningBorder:y[3],colorWarningBorderHover:y[4],colorWarningHover:y[4],colorWarning:y[6],colorWarningActive:y[7],colorWarningTextHover:y[8],colorWarningText:y[9],colorWarningTextActive:y[10],colorInfoBg:S[1],colorInfoBgHover:S[2],colorInfoBorder:S[3],colorInfoBorderHover:S[4],colorInfoHover:S[4],colorInfo:S[6],colorInfoActive:S[7],colorInfoTextHover:S[8],colorInfoText:S[9],colorInfoTextActive:S[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new En("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const GM=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,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function KM(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},GM(r))}const qM=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Fu(e){return(e+8)/e}function QM(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,a=e*Math.pow(Math.E,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Fu(n)}))}const XM=e=>{const t=QM(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),o=n[1],a=n[0],i=n[2],l=r[1],s=r[0],c=r[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*o),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function YM(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 io=(e,t)=>new En(e).setAlpha(t).toRgbString(),ml=(e,t)=>new En(e).darken(t).toHexString(),JM=e=>{const t=vs(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]}},ZM=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:io(r,.88),colorTextSecondary:io(r,.65),colorTextTertiary:io(r,.45),colorTextQuaternary:io(r,.25),colorFill:io(r,.15),colorFillSecondary:io(r,.06),colorFillTertiary:io(r,.04),colorFillQuaternary:io(r,.02),colorBgLayout:ml(n,4),colorBgContainer:ml(n,0),colorBgElevated:ml(n,0),colorBgSpotlight:io(r,.85),colorBgBlur:"transparent",colorBorder:ml(n,15),colorBorderSecondary:ml(n,6)}};function eN(e){const t=Object.keys(ww).map(n=>{const r=vs(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),UM(e,{generateColorPalettes:JM,generateNeutralColorPalettes:ZM})),XM(e.fontSize)),YM(e)),qM(e)),KM(e))}const Ew=rv(eN),vv={token:ps,override:{override:ps},hashed:!0},xw=K.createContext(vv),gg="anticon",tN=["outlined","borderless","filled"],nN=(e,t)=>t||(e?`ant-${e}`:"ant"),ft=u.createContext({getPrefixCls:nN,iconPrefixCls:gg}),rN=`-ant-${Date.now()}-${Math.random()}`;function oN(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 En(i),c=vs(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=c[1],n[`${l}-color-hover`]=c[4],n[`${l}-color-active`]=c[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=c[0],n[`${l}-color-deprecated-border`]=c[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new En(t.primaryColor),l=vs(i.toRgbString());l.forEach((c,d)=>{n[`primary-${d+1}`]=c}),n["primary-color-deprecated-l-35"]=r(i,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(i,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(i,c=>c.setAlpha(c.getAlpha()*.12));const s=new En(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,c=>c.setAlpha(c.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,c=>c.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 aN(e,t){const n=oN(e,t);Fn()&&vo(n,`${rN}-dynamic-theme`)}const Fa=u.createContext(!1),Rw=e=>{let{children:t,disabled:n}=e;const r=u.useContext(Fa);return u.createElement(Fa.Provider,{value:n??r},t)},ki=u.createContext(void 0),iN=e=>{let{children:t,size:n}=e;const r=u.useContext(ki);return u.createElement(ki.Provider,{value:n||r},t)};function lN(){const e=u.useContext(Fa),t=u.useContext(ki);return{componentDisabled:e,componentSize:t}}const sN="5.19.0";function Sf(e){return e>=0&&e<=255}function du(e,t){const{r:n,g:r,b:o,a}=new En(e).toRgb();if(a<1)return e;const{r:i,g:l,b:s}=new En(t).toRgb();for(let c=.01;c<=1;c+=.01){const d=Math.round((n-i*(1-c))/c),f=Math.round((r-l*(1-c))/c),m=Math.round((o-s*(1-c))/c);if(Sf(d)&&Sf(f)&&Sf(m))return new En({r:d,g:f,b:m,a:Math.round(c*100)/100}).toRgbString()}return new En({r:n,g:r,b:o,a:1}).toRgbString()}var uN=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function $w(e){const{override:t}=e,n=uN(e,["override"]),r=Object.assign({},t);Object.keys(ps).forEach(m=>{delete r[m]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,l=768,s=992,c=1200,d=1600;if(o.motion===!1){const m="0s";o.motionDurationFast=m,o.motionDurationMid=m,o.motionDurationSlow=m}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:du(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:du(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:du(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:du(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:c-1,screenXL:c,screenXLMin:c,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
      0 1px 2px -2px ${new En("rgba(0, 0, 0, 0.16)").toRgbString()},
      0 3px 6px 0 ${new En("rgba(0, 0, 0, 0.12)").toRgbString()},
      0 5px 12px 4px ${new En("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)}var G0=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Ow={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},Pw={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},cN={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},_w=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,a=G0(t,["override"]);let i=Object.assign(Object.assign({},r),{override:o});return i=$w(i),a&&Object.entries(a).forEach(l=>{let[s,c]=l;const{theme:d}=c,f=G0(c,["theme"]);let m=f;d&&(m=_w(Object.assign(Object.assign({},i),f),{override:f},d)),i[s]=m}),i};function cr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=K.useContext(xw),a=`${sN}-${t||""}`,i=n||Ew,[l,s,c]=HT(i,[ps,e],{salt:a,override:r,getComputedToken:_w,formatToken:$w,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:Ow,ignore:Pw,preserve:cN}});return[i,c,t?s:"",l,o]}function nn(e){var t=u.useRef();t.current=e;var n=u.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return n}function Hi(e){var t=u.useRef(!1),n=u.useState(e),r=W(n,2),o=r[0],a=r[1];u.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(l,s){s&&t.current||a(l)}return[o,i]}function Cf(e){return e!==void 0}function lr(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,l=Hi(function(){return Cf(o)?o:Cf(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=W(l,2),c=s[0],d=s[1],f=o!==void 0?o:c,m=i?i(f):f,y=nn(a),b=Hi([f]),S=W(b,2),h=S[0],g=S[1];av(function(){var p=h[0];c!==p&&y(c,p)},[h]),av(function(){Cf(o)||d(o)},[o]);var v=nn(function(p,C){d(p,C),g([f],C)});return[m,v]}const dN=1e3*60*10;let fN=function(){function e(){yn(this,e),this.map=new Map,this.objectIDMap=new WeakMap,this.nextID=0,this.lastAccessBeat=new Map,this.accessBeat=0}return bn(e,[{key:"set",value:function(n,r){this.clear();const o=this.getCompositeKey(n);this.map.set(o,r),this.lastAccessBeat.set(o,Date.now())}},{key:"get",value:function(n){const r=this.getCompositeKey(n),o=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,o}},{key:"getCompositeKey",value:function(n){return n.map(o=>o&&typeof o=="object"?`obj_${this.getObjectID(o)}`:`${typeof o}_${o}`).join("|")}},{key:"getObjectID",value:function(n){if(this.objectIDMap.has(n))return this.objectIDMap.get(n);const r=this.nextID;return this.objectIDMap.set(n,r),this.nextID+=1,r}},{key:"clear",value:function(){if(this.accessBeat>1e4){const n=Date.now();this.lastAccessBeat.forEach((r,o)=>{n-r>dN&&(this.map.delete(o),this.lastAccessBeat.delete(o))}),this.accessBeat=0}}}])}();const K0=new fN;function mN(e,t){return K.useMemo(()=>{const n=K0.get(t);if(n)return n;const r=e();return K0.set(t,r),r},t)}const Vi={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},no=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},hg=()=>({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"}}),Ji=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),vN=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"}}}),pN=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return r!==!1&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},l),i),{[o]:i})}},gN=e=>({outline:`${Z(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),vd=e=>({"&:focus-visible":Object.assign({},gN(e))});function hN(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>Z(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>Z(o)).join(",")})`}}}const Iw=typeof CSSINJS_STATISTIC<"u";let pv=!0;function Gt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Iw)return Object.assign.apply(Object,[{}].concat(t));pv=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),pv=!0,r}const q0={};function yN(){}const bN=e=>{let t,n=e,r=yN;return Iw&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,a){return pv&&t.add(a),o[a]}}),r=(o,a)=>{var i;q0[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=q0[o])===null||i===void 0?void 0:i.component),a)}}),{token:n,keys:t,flush:r}},Tw=(e,t)=>{const[n,r]=cr();return uv({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},hg()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},Mw=(e,t,n)=>{var r;return typeof n=="function"?n(Gt(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},Nw=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:i}=r;i.forEach(l=>{let[s,c]=l;var d;(o!=null&&o[s]||o!=null&&o[c])&&((d=o[c])!==null&&d!==void 0||(o[c]=o==null?void 0:o[s]))})}const a=Object.assign(Object.assign({},n),o);return Object.keys(a).forEach(i=>{a[i]===t[i]&&delete a[i]}),a},Q0=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function yg(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[a]=o,i=o.join("-");return function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[c,d,f,m,y]=cr(),{getPrefixCls:b,iconPrefixCls:S,csp:h}=u.useContext(ft),g=b(),v=y?"css":"js",p=mN(()=>{const R=new Set;return y&&Object.keys(r.unitless||{}).forEach(O=>{R.add(Tu(O,y.prefix)),R.add(Tu(O,Q0(a,y.prefix)))}),wT(v,R)},[v,a,y==null?void 0:y.prefix]),{max:C,min:w}=hN(v),x={theme:c,token:m,hashId:f,nonce:()=>h==null?void 0:h.nonce,clientOnly:r.clientOnly,layer:{name:"antd"},order:r.order||-999};return uv(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",g]}),()=>[{"&":vN(m)}]),Tw(S,h),[uv(Object.assign(Object.assign({},x),{path:[i,l,S]}),()=>{if(r.injectStyle===!1)return[];const{token:R,flush:O}=bN(m),_=Mw(a,d,n),A=`.${l}`,M=Nw(a,d,_,{deprecatedTokens:r.deprecatedTokens});y&&Object.keys(_).forEach(V=>{_[V]=`var(${Tu(V,Q0(a,y.prefix))})`});const D=Gt(R,{componentCls:A,prefixCls:l,iconCls:`.${S}`,antCls:`.${g}`,calc:p,max:C,min:w},y?_:M),I=t(D,{hashId:f,prefixCls:l,rootPrefixCls:g,iconPrefixCls:S});return O(a,M),[r.resetStyle===!1?null:pN(D,l,s,r.resetFont),I]}),f]}}const Lw=(e,t,n,r)=>{const o=yg(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return i=>{let{prefixCls:l,rootCls:s=l}=i;return o(l,s),null}},SN=(e,t,n)=>{const{unitless:r,injectStyle:o=!0,prefixToken:a}=n,i=s=>{let{rootCls:c,cssVar:d}=s;const[,f]=cr();return gM({path:[e],prefix:d.prefix,key:d==null?void 0:d.key,unitless:r,ignore:Pw,token:f,scope:c},()=>{const m=Mw(e,f,t),y=Nw(e,f,m,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(m).forEach(b=>{y[a(b)]=y[b],delete y[b]}),y}),null};return s=>{const[,,,,c]=cr();return[d=>o&&c?K.createElement(K.Fragment,null,K.createElement(i,{rootCls:s,cssVar:c,component:e}),d):d,c==null?void 0:c.key]}},Ir=(e,t,n,r)=>{const o=Array.isArray(e)?e[0]:e;function a(f){return`${o}${f.slice(0,1).toUpperCase()}${f.slice(1)}`}const i=(r==null?void 0:r.unitless)||{},l=Object.assign(Object.assign({},Ow),{[a("zIndexPopup")]:!0});Object.keys(i).forEach(f=>{l[a(f)]=i[f]});const s=Object.assign(Object.assign({},r),{unitless:l,prefixToken:a}),c=yg(e,t,n,s),d=SN(o,n,s);return function(f){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f;const[,y]=c(f,m),[b,S]=d(m);return[b,y,S]}},CN=Object.assign({},Ia),{useId:X0}=CN,wN=()=>"",EN=typeof X0>"u"?wN:X0;function xN(e,t,n){var r;wM();const o=e||{},a=o.inherit===!1||!t?Object.assign(Object.assign({},vv),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:vv.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=EN();return Ps(()=>{var l,s;if(!e)return t;const c=Object.assign({},a.components);Object.keys(e.components||{}).forEach(m=>{c[m]=Object.assign(Object.assign({},c[m]),e.components[m])});const d=`css-var-${i.replace(/:/g,"")}`,f=((l=o.cssVar)!==null&&l!==void 0?l:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof o.cssVar=="object"?o.cssVar:{}),{key:typeof o.cssVar=="object"&&((s=o.cssVar)===null||s===void 0?void 0:s.key)||d});return Object.assign(Object.assign(Object.assign({},a),o),{token:Object.assign(Object.assign({},a.token),o.token),components:c,cssVar:f})},[o,a],(l,s)=>l.some((c,d)=>{const f=s[d];return!ds(c,f,!0)}))}var RN=["children"],Aw=u.createContext({});function $N(e){var t=e.children,n=it(e,RN);return u.createElement(Aw.Provider,{value:n},t)}var ON=function(e){la(n,e);var t=sa(n);function n(){return yn(this,n),t.apply(this,arguments)}return bn(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component);function PN(e){var t=u.useReducer(function(l){return l+1},0),n=W(t,2),r=n[1],o=u.useRef(e),a=nn(function(){return o.current}),i=nn(function(l){o.current=typeof l=="function"?l(o.current):l,r()});return[a,i]}var To="none",fu="appear",mu="enter",vu="leave",Y0="none",Dr="prepare",Ci="start",wi="active",bg="end",jw="prepared";function J0(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 _N(e,t){var n={animationend:J0("Animation","AnimationEnd"),transitionend:J0("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var IN=_N(Fn(),typeof window<"u"?window:{}),Dw={};if(Fn()){var TN=document.createElement("div");Dw=TN.style}var pu={};function Fw(e){if(pu[e])return pu[e];var t=IN[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var a=n[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in Dw)return pu[e]=t[a],pu[e]}return""}var zw=Fw("animationend"),Bw=Fw("transitionend"),kw=!!(zw&&Bw),Z0=zw||"animationend",ey=Bw||"transitionend";function ty(e,t){if(!e)return null;if(je(e)==="object"){var n=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[n]}return"".concat(e,"-").concat(t)}const MN=function(e){var t=u.useRef();function n(o){o&&(o.removeEventListener(ey,e),o.removeEventListener(Z0,e))}function r(o){t.current&&t.current!==o&&n(t.current),o&&o!==t.current&&(o.addEventListener(ey,e),o.addEventListener(Z0,e),t.current=o)}return u.useEffect(function(){return function(){n(t.current)}},[]),[r,n]};var Hw=Fn()?u.useLayoutEffect:u.useEffect;const NN=function(){var e=u.useRef(null);function t(){Rt.cancel(e.current)}function n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Rt(function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)});e.current=a}return u.useEffect(function(){return function(){t()}},[]),[n,t]};var LN=[Dr,Ci,wi,bg],AN=[Dr,jw],Vw=!1,jN=!0;function Ww(e){return e===wi||e===bg}const DN=function(e,t,n){var r=Hi(Y0),o=W(r,2),a=o[0],i=o[1],l=NN(),s=W(l,2),c=s[0],d=s[1];function f(){i(Dr,!0)}var m=t?AN:LN;return Hw(function(){if(a!==Y0&&a!==bg){var y=m.indexOf(a),b=m[y+1],S=n(a);S===Vw?i(b,!0):b&&c(function(h){function g(){h.isCanceled()||i(b,!0)}S===!0?g():Promise.resolve(S).then(g)})}},[e,a]),u.useEffect(function(){return function(){d()}},[]),[f,a]};function FN(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,c=s===void 0?!0:s,d=r.motionDeadline,f=r.motionLeaveImmediately,m=r.onAppearPrepare,y=r.onEnterPrepare,b=r.onLeavePrepare,S=r.onAppearStart,h=r.onEnterStart,g=r.onLeaveStart,v=r.onAppearActive,p=r.onEnterActive,C=r.onLeaveActive,w=r.onAppearEnd,x=r.onEnterEnd,E=r.onLeaveEnd,R=r.onVisibleChanged,O=Hi(),_=W(O,2),A=_[0],M=_[1],D=PN(To),I=W(D,2),V=I[0],j=I[1],P=Hi(null),$=W(P,2),L=$[0],N=$[1],T=V(),k=u.useRef(!1),H=u.useRef(null);function U(){return n()}var G=u.useRef(!1);function ee(){j(To),N(null,!0)}var Q=nn(function(me){var se=V();if(se!==To){var Ee=U();if(!(me&&!me.deadline&&me.target!==Ee)){var Le=G.current,Se;se===fu&&Le?Se=w==null?void 0:w(Ee,me):se===mu&&Le?Se=x==null?void 0:x(Ee,me):se===vu&&Le&&(Se=E==null?void 0:E(Ee,me)),Le&&Se!==!1&&ee()}}}),ae=MN(Q),ce=W(ae,1),ne=ce[0],X=function(se){switch(se){case fu:return F(F(F({},Dr,m),Ci,S),wi,v);case mu:return F(F(F({},Dr,y),Ci,h),wi,p);case vu:return F(F(F({},Dr,b),Ci,g),wi,C);default:return{}}},te=u.useMemo(function(){return X(T)},[T]),ie=DN(T,!e,function(me){if(me===Dr){var se=te[Dr];return se?se(U()):Vw}if(fe in te){var Ee;N(((Ee=te[fe])===null||Ee===void 0?void 0:Ee.call(te,U(),null))||null)}return fe===wi&&T!==To&&(ne(U()),d>0&&(clearTimeout(H.current),H.current=setTimeout(function(){Q({deadline:!0})},d))),fe===jw&&ee(),jN}),J=W(ie,2),oe=J[0],fe=J[1],Pe=Ww(fe);G.current=Pe,Hw(function(){M(t);var me=k.current;k.current=!0;var se;!me&&t&&l&&(se=fu),me&&t&&a&&(se=mu),(me&&!t&&c||!me&&f&&!t&&c)&&(se=vu);var Ee=X(se);se&&(e||Ee[Dr])?(j(se),oe()):j(To)},[t]),u.useEffect(function(){(T===fu&&!l||T===mu&&!a||T===vu&&!c)&&j(To)},[l,a,c]),u.useEffect(function(){return function(){k.current=!1,clearTimeout(H.current)}},[]);var ve=u.useRef(!1);u.useEffect(function(){A&&(ve.current=!0),A!==void 0&&T===To&&((ve.current||A)&&(R==null||R(A)),ve.current=!0)},[A,T]);var le=L;return te[Dr]&&fe===Ci&&(le=B({transition:"none"},le)),[T,fe,le,A??t]}function zN(e){var t=e;je(e)==="object"&&(t=e.transitionSupport);function n(o,a){return!!(o.motionName&&t&&a!==!1)}var r=u.forwardRef(function(o,a){var i=o.visible,l=i===void 0?!0:i,s=o.removeOnLeave,c=s===void 0?!0:s,d=o.forceRender,f=o.children,m=o.motionName,y=o.leavedClassName,b=o.eventProps,S=u.useContext(Aw),h=S.motion,g=n(o,h),v=u.useRef(),p=u.useRef();function C(){try{return v.current instanceof HTMLElement?v.current:jl(p.current)}catch{return null}}var w=FN(g,l,C,o),x=W(w,4),E=x[0],R=x[1],O=x[2],_=x[3],A=u.useRef(_);_&&(A.current=!0);var M=u.useCallback(function(L){v.current=L,ag(a,L)},[a]),D,I=B(B({},b),{},{visible:l});if(!f)D=null;else if(E===To)_?D=f(B({},I),M):!c&&A.current&&y?D=f(B(B({},I),{},{className:y}),M):d||!c&&!y?D=f(B(B({},I),{},{style:{display:"none"}}),M):D=null;else{var V;R===Dr?V="prepare":Ww(R)?V="active":R===Ci&&(V="start");var j=ty(m,"".concat(E,"-").concat(V));D=f(B(B({},I),{},{className:q(ty(m,E),F(F({},j,j&&V),m,typeof m=="string")),style:O}),M)}if(u.isValidElement(D)&&ia(D)){var P=D,$=P.ref;$||(D=u.cloneElement(D,{ref:M}))}return u.createElement(ON,{ref:p},D)});return r.displayName="CSSMotion",r}const Eo=zN(kw);var gv="add",hv="keep",yv="remove",wf="removed";function BN(e){var t;return e&&je(e)==="object"&&"key"in e?t=e:t={key:e},B(B({},t),{},{key:String(t.key)})}function bv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(BN)}function kN(){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=bv(e),i=bv(t);a.forEach(function(c){for(var d=!1,f=r;f<o;f+=1){var m=i[f];if(m.key===c.key){r<f&&(n=n.concat(i.slice(r,f).map(function(y){return B(B({},y),{},{status:gv})})),r=f),n.push(B(B({},m),{},{status:hv})),r+=1,d=!0;break}}d||n.push(B(B({},c),{},{status:yv}))}),r<o&&(n=n.concat(i.slice(r).map(function(c){return B(B({},c),{},{status:gv})})));var l={};n.forEach(function(c){var d=c.key;l[d]=(l[d]||0)+1});var s=Object.keys(l).filter(function(c){return l[c]>1});return s.forEach(function(c){n=n.filter(function(d){var f=d.key,m=d.status;return f!==c||m!==yv}),n.forEach(function(d){d.key===c&&(d.status=hv)})}),n}var HN=["component","children","onVisibleChanged","onAllRemoved"],VN=["status"],WN=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function UN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Eo,n=function(r){la(a,r);var o=sa(a);function a(){var i;yn(this,a);for(var l=arguments.length,s=new Array(l),c=0;c<l;c++)s[c]=arguments[c];return i=o.call.apply(o,[this].concat(s)),F(lt(i),"state",{keyEntities:[]}),F(lt(i),"removeKey",function(d){var f=i.state.keyEntities,m=f.map(function(y){return y.key!==d?y:B(B({},y),{},{status:wf})});return i.setState({keyEntities:m}),m.filter(function(y){var b=y.status;return b!==wf}).length}),i}return bn(a,[{key:"render",value:function(){var l=this,s=this.state.keyEntities,c=this.props,d=c.component,f=c.children,m=c.onVisibleChanged,y=c.onAllRemoved,b=it(c,HN),S=d||u.Fragment,h={};return WN.forEach(function(g){h[g]=b[g],delete b[g]}),delete b.keys,u.createElement(S,b,s.map(function(g,v){var p=g.status,C=it(g,VN),w=p===gv||p===hv;return u.createElement(t,be({},h,{key:C.key,visible:w,eventProps:C,onVisibleChanged:function(E){if(m==null||m(E,{key:C.key}),!E){var R=l.removeKey(C.key);R===0&&y&&y()}}}),function(x,E){return f(B(B({},x),{},{index:v}),E)})}))}}],[{key:"getDerivedStateFromProps",value:function(l,s){var c=l.keys,d=s.keyEntities,f=bv(c),m=kN(d,f);return{keyEntities:m.filter(function(y){var b=d.find(function(S){var h=S.key;return y.key===h});return!(b&&b.status===wf&&y.status===yv)})}}}]),a}(u.Component);return F(n,"defaultProps",{component:"div"}),n}const zk=UN(kw);function GN(e){const{children:t}=e,[,n]=cr(),{motion:r}=n,o=u.useRef(!1);return o.current=o.current||r===!1,o.current?u.createElement($N,{motion:r},t):t}const KN=()=>null;var qN=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const QN=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Uw="ant";let Ec,Gw,Kw,qw;function zu(){return Ec||Uw}function XN(){return Gw||gg}function YN(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const JN=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(Ec=t),n!==void 0&&(Gw=n),"holderRender"in e&&(qw=o),r&&(YN(r)?aN(zu(),r):Kw=r)},ZN=()=>({getPrefixCls:(e,t)=>t||(e?`${zu()}-${e}`:zu()),getIconPrefixCls:XN,getRootPrefixCls:()=>Ec||zu(),getTheme:()=>Kw,holderRender:qw}),eL=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:a,form:i,locale:l,componentSize:s,direction:c,space:d,virtual:f,dropdownMatchSelectWidth:m,popupMatchSelectWidth:y,popupOverflow:b,legacyLocale:S,parentContext:h,iconPrefixCls:g,theme:v,componentDisabled:p,segmented:C,statistic:w,spin:x,calendar:E,carousel:R,cascader:O,collapse:_,typography:A,checkbox:M,descriptions:D,divider:I,drawer:V,skeleton:j,steps:P,image:$,layout:L,list:N,mentions:T,modal:k,progress:H,result:U,slider:G,breadcrumb:ee,menu:Q,pagination:ae,input:ce,textArea:ne,empty:X,badge:te,radio:ie,rate:J,switch:oe,transfer:fe,avatar:Pe,message:ve,tag:le,table:me,card:se,tabs:Ee,timeline:Le,timePicker:Se,upload:De,notification:pe,tree:ot,colorPicker:Be,datePicker:xe,rangePicker:Ce,flex:Ve,wave:ke,dropdown:tt,warning:vt,tour:dt,floatButtonGroup:Qe,variant:ut,inputNumber:ct,treeSelect:Lt}=e,bt=u.useCallback((de,we)=>{const{prefixCls:he}=e;if(we)return we;const Ie=he||h.getPrefixCls("");return de?`${Ie}-${de}`:Ie},[h.getPrefixCls,e.prefixCls]),Et=g||h.iconPrefixCls||gg,Dt=n||h.csp;Tw(Et,Dt);const St=xN(v,h.theme,{prefixCls:bt("")}),Ze={csp:Dt,autoInsertSpaceInButton:r,alert:o,anchor:a,locale:l||S,direction:c,space:d,virtual:f,popupMatchSelectWidth:y??m,popupOverflow:b,getPrefixCls:bt,iconPrefixCls:Et,theme:St,segmented:C,statistic:w,spin:x,calendar:E,carousel:R,cascader:O,collapse:_,typography:A,checkbox:M,descriptions:D,divider:I,drawer:V,skeleton:j,steps:P,image:$,input:ce,textArea:ne,layout:L,list:N,mentions:T,modal:k,progress:H,result:U,slider:G,breadcrumb:ee,menu:Q,pagination:ae,empty:X,badge:te,radio:ie,rate:J,switch:oe,transfer:fe,avatar:Pe,message:ve,tag:le,table:me,card:se,tabs:Ee,timeline:Le,timePicker:Se,upload:De,notification:pe,tree:ot,colorPicker:Be,datePicker:xe,rangePicker:Ce,flex:Ve,wave:ke,dropdown:tt,warning:vt,tour:dt,floatButtonGroup:Qe,variant:ut,inputNumber:ct,treeSelect:Lt},ze=Object.assign({},h);Object.keys(Ze).forEach(de=>{Ze[de]!==void 0&&(ze[de]=Ze[de])}),QN.forEach(de=>{const we=e[de];we&&(ze[de]=we)}),typeof r<"u"&&(ze.button=Object.assign({autoInsertSpace:r},ze.button));const He=Ps(()=>ze,ze,(de,we)=>{const he=Object.keys(de),Ie=Object.keys(we);return he.length!==Ie.length||he.some(We=>de[We]!==we[We])}),Ae=u.useMemo(()=>({prefixCls:Et,csp:Dt}),[Et,Dt]);let ge=u.createElement(u.Fragment,null,u.createElement(KN,{dropdownMatchSelectWidth:m}),t);const Ye=u.useMemo(()=>{var de,we,he,Ie;return Si(((de=Da.Form)===null||de===void 0?void 0:de.defaultValidateMessages)||{},((he=(we=He.locale)===null||we===void 0?void 0:we.Form)===null||he===void 0?void 0:he.defaultValidateMessages)||{},((Ie=He.form)===null||Ie===void 0?void 0:Ie.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[He,i==null?void 0:i.validateMessages]);Object.keys(Ye).length>0&&(ge=u.createElement(EM.Provider,{value:Ye},ge)),l&&(ge=u.createElement(PM,{locale:l,_ANT_MARK__:OM},ge)),(Et||Dt)&&(ge=u.createElement(vg.Provider,{value:Ae},ge)),s&&(ge=u.createElement(iN,{size:s},ge)),ge=u.createElement(GN,null,ge);const nt=u.useMemo(()=>{const de=St||{},{algorithm:we,token:he,components:Ie,cssVar:We}=de,et=qN(de,["algorithm","token","components","cssVar"]),Pt=we&&(!Array.isArray(we)||we.length>0)?rv(we):Ew,gt={};Object.entries(Ie||{}).forEach(Re=>{let[Ue,xt]=Re;const Ct=Object.assign({},xt);"algorithm"in Ct&&(Ct.algorithm===!0?Ct.theme=Pt:(Array.isArray(Ct.algorithm)||typeof Ct.algorithm=="function")&&(Ct.theme=rv(Ct.algorithm)),delete Ct.algorithm),gt[Ue]=Ct});const Ge=Object.assign(Object.assign({},ps),he);return Object.assign(Object.assign({},et),{theme:Pt,token:Ge,components:gt,override:Object.assign({override:Ge},gt),cssVar:We})},[St]);return v&&(ge=u.createElement(xw.Provider,{value:nt},ge)),He.warning&&(ge=u.createElement(CM.Provider,{value:He.warning},ge)),p!==void 0&&(ge=u.createElement(Rw,{disabled:p},ge)),u.createElement(ft.Provider,{value:He},ge)},ro=e=>{const t=u.useContext(ft),n=u.useContext(pg);return u.createElement(eL,Object.assign({parentContext:t,legacyLocale:n},e))};ro.ConfigContext=ft;ro.SizeContext=ki;ro.config=JN;ro.useConfig=lN;Object.defineProperty(ro,"SizeContext",{get:()=>ki});var tL={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"};function Qw(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function nL(e){return Qw(e)instanceof ShadowRoot}function xc(e){return nL(e)?Qw(e):null}function rL(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function oL(e,t){Nn(e,"[@ant-design/icons] ".concat(t))}function ny(e){return je(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(je(e.icon)==="object"||typeof e.icon=="function")}function ry(){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:delete t[n],t[rL(n)]=r}return t},{})}function Sv(e,t,n){return n?K.createElement(e.tag,B(B({key:t},ry(e.attrs)),n),(e.children||[]).map(function(r,o){return Sv(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):K.createElement(e.tag,B({key:t},ry(e.attrs)),(e.children||[]).map(function(r,o){return Sv(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Xw(e){return vs(e)[0]}function Yw(e){return e?Array.isArray(e)?e:[e]:[]}var aL=`
.anticon {
  display: inline-flex;
  align-items: center;
  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);
  }
}
`,iL=function(t){var n=u.useContext(vg),r=n.csp,o=n.prefixCls,a=aL;o&&(a=a.replace(/anticon/g,o)),u.useEffect(function(){var i=t.current,l=xc(i);vo(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},lL=["icon","className","onClick","style","primaryColor","secondaryColor"],Fl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function sL(e){var t=e.primaryColor,n=e.secondaryColor;Fl.primaryColor=t,Fl.secondaryColor=n||Xw(t),Fl.calculated=!!n}function uL(){return B({},Fl)}var Zi=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,l=t.secondaryColor,s=it(t,lL),c=u.useRef(),d=Fl;if(i&&(d={primaryColor:i,secondaryColor:l||Xw(i)}),iL(c),oL(ny(n),"icon should be icon definiton, but got ".concat(n)),!ny(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=B(B({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),Sv(f.icon,"svg-".concat(f.name),B(B({className:r,onClick:o,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:c}))};Zi.displayName="IconReact";Zi.getTwoToneColors=uL;Zi.setTwoToneColors=sL;function Jw(e){var t=Yw(e),n=W(t,2),r=n[0],o=n[1];return Zi.setTwoToneColors({primaryColor:r,secondaryColor:o})}function cL(){var e=Zi.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var dL=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Jw(mv.primary);var dn=u.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,l=e.onClick,s=e.twoToneColor,c=it(e,dL),d=u.useContext(vg),f=d.prefixCls,m=f===void 0?"anticon":f,y=d.rootClassName,b=q(y,m,F(F({},"".concat(m,"-").concat(r.name),!!r.name),"".concat(m,"-spin"),!!o||r.name==="loading"),n),S=i;S===void 0&&l&&(S=-1);var h=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,g=Yw(s),v=W(g,2),p=v[0],C=v[1];return u.createElement("span",be({role:"img","aria-label":r.name},c,{ref:t,tabIndex:S,onClick:l,className:b}),u.createElement(Zi,{icon:r,primaryColor:p,secondaryColor:C,style:h}))});dn.displayName="AntdIcon";dn.getTwoToneColor=cL;dn.setTwoToneColor=Jw;var fL=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:tL}))},mL=u.forwardRef(fL),vL={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},pL=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:vL}))},Sg=u.forwardRef(pL),gL={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},hL=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:gL}))},_s=u.forwardRef(hL),yL={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"},bL=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:yL}))},SL=u.forwardRef(bL),CL={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"},wL=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:CL}))},EL=u.forwardRef(wL),xL=`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`,RL=`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`,$L="".concat(xL," ").concat(RL).split(/[\s\n]+/),OL="aria-",PL="data-";function oy(e,t){return e.indexOf(t)===0}function ta(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=B({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||oy(o,OL))||n.data&&oy(o,PL)||n.attr&&$L.includes(o))&&(r[o]=e[o])}),r}function _L(e){return e&&K.isValidElement(e)&&e.type===K.Fragment}const IL=(e,t,n)=>K.isValidElement(e)?K.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function gs(e,t){return IL(e,e,t)}const Ua=e=>{const[,,,,t]=cr();return t?`${e}-css-var`:""};var re={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>=re.F1&&n<=re.F12)return!1;switch(n){case re.ALT:case re.CAPS_LOCK:case re.CONTEXT_MENU:case re.CTRL:case re.DOWN:case re.END:case re.ESC:case re.HOME:case re.INSERT:case re.LEFT:case re.MAC_FF_META:case re.META:case re.NUMLOCK:case re.NUM_CENTER:case re.PAGE_DOWN:case re.PAGE_UP:case re.PAUSE:case re.PRINT_SCREEN:case re.RIGHT:case re.SHIFT:case re.UP:case re.WIN_KEY:case re.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=re.ZERO&&t<=re.NINE||t>=re.NUM_ZERO&&t<=re.NUM_MULTIPLY||t>=re.A&&t<=re.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case re.SPACE:case re.QUESTION_MARK:case re.NUM_PLUS:case re.NUM_MINUS:case re.NUM_PERIOD:case re.NUM_DIVISION:case re.SEMICOLON:case re.DASH:case re.EQUALS:case re.COMMA:case re.PERIOD:case re.SLASH:case re.APOSTROPHE:case re.SINGLE_QUOTE:case re.OPEN_SQUARE_BRACKET:case re.BACKSLASH:case re.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},TL={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"},ML=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:TL}))},Zw=u.forwardRef(ML);const eE=K.createContext(void 0),pa=100,NL=10,tE=pa*NL,nE={Modal:pa,Drawer:pa,Popover:pa,Popconfirm:pa,Tooltip:pa,Tour:pa},LL={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function AL(e){return e in nE}function rE(e,t){const[,n]=cr(),r=K.useContext(eE),o=AL(e);if(t!==void 0)return[t,t];let a=r??0;return o?(a+=(r?0:n.zIndexPopupBase)+nE[e],a=Math.min(a,n.zIndexPopupBase+tE)):a+=LL[e],[r===void 0?t:a,a]}function jL(){const[e,t]=u.useState([]),n=u.useCallback(r=>(t(o=>[].concat(ye(o),[r])),()=>{t(o=>o.filter(a=>a!==r))}),[]);return[e,n]}function zn(){zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(j,P,$){j[P]=$.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(j,P,$){return Object.defineProperty(j,P,{value:$,enumerable:!0,configurable:!0,writable:!0}),j[P]}try{c({},"")}catch{c=function($,L,N){return $[L]=N}}function d(j,P,$,L){var N=P&&P.prototype instanceof g?P:g,T=Object.create(N.prototype),k=new I(L||[]);return o(T,"_invoke",{value:_(j,$,k)}),T}function f(j,P,$){try{return{type:"normal",arg:j.call(P,$)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var m="suspendedStart",y="suspendedYield",b="executing",S="completed",h={};function g(){}function v(){}function p(){}var C={};c(C,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(V([])));x&&x!==n&&r.call(x,i)&&(C=x);var E=p.prototype=g.prototype=Object.create(C);function R(j){["next","throw","return"].forEach(function(P){c(j,P,function($){return this._invoke(P,$)})})}function O(j,P){function $(N,T,k,H){var U=f(j[N],j,T);if(U.type!=="throw"){var G=U.arg,ee=G.value;return ee&&je(ee)=="object"&&r.call(ee,"__await")?P.resolve(ee.__await).then(function(Q){$("next",Q,k,H)},function(Q){$("throw",Q,k,H)}):P.resolve(ee).then(function(Q){G.value=Q,k(G)},function(Q){return $("throw",Q,k,H)})}H(U.arg)}var L;o(this,"_invoke",{value:function(T,k){function H(){return new P(function(U,G){$(T,k,U,G)})}return L=L?L.then(H,H):H()}})}function _(j,P,$){var L=m;return function(N,T){if(L===b)throw Error("Generator is already running");if(L===S){if(N==="throw")throw T;return{value:e,done:!0}}for($.method=N,$.arg=T;;){var k=$.delegate;if(k){var H=A(k,$);if(H){if(H===h)continue;return H}}if($.method==="next")$.sent=$._sent=$.arg;else if($.method==="throw"){if(L===m)throw L=S,$.arg;$.dispatchException($.arg)}else $.method==="return"&&$.abrupt("return",$.arg);L=b;var U=f(j,P,$);if(U.type==="normal"){if(L=$.done?S:y,U.arg===h)continue;return{value:U.arg,done:$.done}}U.type==="throw"&&(L=S,$.method="throw",$.arg=U.arg)}}}function A(j,P){var $=P.method,L=j.iterator[$];if(L===e)return P.delegate=null,$==="throw"&&j.iterator.return&&(P.method="return",P.arg=e,A(j,P),P.method==="throw")||$!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+$+"' method")),h;var N=f(L,j.iterator,P.arg);if(N.type==="throw")return P.method="throw",P.arg=N.arg,P.delegate=null,h;var T=N.arg;return T?T.done?(P[j.resultName]=T.value,P.next=j.nextLoc,P.method!=="return"&&(P.method="next",P.arg=e),P.delegate=null,h):T:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,h)}function M(j){var P={tryLoc:j[0]};1 in j&&(P.catchLoc=j[1]),2 in j&&(P.finallyLoc=j[2],P.afterLoc=j[3]),this.tryEntries.push(P)}function D(j){var P=j.completion||{};P.type="normal",delete P.arg,j.completion=P}function I(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(M,this),this.reset(!0)}function V(j){if(j||j===""){var P=j[i];if(P)return P.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var $=-1,L=function N(){for(;++$<j.length;)if(r.call(j,$))return N.value=j[$],N.done=!1,N;return N.value=e,N.done=!0,N};return L.next=L}}throw new TypeError(je(j)+" is not iterable")}return v.prototype=p,o(E,"constructor",{value:p,configurable:!0}),o(p,"constructor",{value:v,configurable:!0}),v.displayName=c(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(j){var P=typeof j=="function"&&j.constructor;return!!P&&(P===v||(P.displayName||P.name)==="GeneratorFunction")},t.mark=function(j){return Object.setPrototypeOf?Object.setPrototypeOf(j,p):(j.__proto__=p,c(j,s,"GeneratorFunction")),j.prototype=Object.create(E),j},t.awrap=function(j){return{__await:j}},R(O.prototype),c(O.prototype,l,function(){return this}),t.AsyncIterator=O,t.async=function(j,P,$,L,N){N===void 0&&(N=Promise);var T=new O(d(j,P,$,L),N);return t.isGeneratorFunction(P)?T:T.next().then(function(k){return k.done?k.value:T.next()})},R(E),c(E,s,"Generator"),c(E,i,function(){return this}),c(E,"toString",function(){return"[object Generator]"}),t.keys=function(j){var P=Object(j),$=[];for(var L in P)$.push(L);return $.reverse(),function N(){for(;$.length;){var T=$.pop();if(T in P)return N.value=T,N.done=!1,N}return N.done=!0,N}},t.values=V,I.prototype={constructor:I,reset:function(P){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!P)for(var $ in this)$.charAt(0)==="t"&&r.call(this,$)&&!isNaN(+$.slice(1))&&(this[$]=e)},stop:function(){this.done=!0;var P=this.tryEntries[0].completion;if(P.type==="throw")throw P.arg;return this.rval},dispatchException:function(P){if(this.done)throw P;var $=this;function L(G,ee){return k.type="throw",k.arg=P,$.next=G,ee&&($.method="next",$.arg=e),!!ee}for(var N=this.tryEntries.length-1;N>=0;--N){var T=this.tryEntries[N],k=T.completion;if(T.tryLoc==="root")return L("end");if(T.tryLoc<=this.prev){var H=r.call(T,"catchLoc"),U=r.call(T,"finallyLoc");if(H&&U){if(this.prev<T.catchLoc)return L(T.catchLoc,!0);if(this.prev<T.finallyLoc)return L(T.finallyLoc)}else if(H){if(this.prev<T.catchLoc)return L(T.catchLoc,!0)}else{if(!U)throw Error("try statement without catch or finally");if(this.prev<T.finallyLoc)return L(T.finallyLoc)}}}},abrupt:function(P,$){for(var L=this.tryEntries.length-1;L>=0;--L){var N=this.tryEntries[L];if(N.tryLoc<=this.prev&&r.call(N,"finallyLoc")&&this.prev<N.finallyLoc){var T=N;break}}T&&(P==="break"||P==="continue")&&T.tryLoc<=$&&$<=T.finallyLoc&&(T=null);var k=T?T.completion:{};return k.type=P,k.arg=$,T?(this.method="next",this.next=T.finallyLoc,h):this.complete(k)},complete:function(P,$){if(P.type==="throw")throw P.arg;return P.type==="break"||P.type==="continue"?this.next=P.arg:P.type==="return"?(this.rval=this.arg=P.arg,this.method="return",this.next="end"):P.type==="normal"&&$&&(this.next=$),h},finish:function(P){for(var $=this.tryEntries.length-1;$>=0;--$){var L=this.tryEntries[$];if(L.finallyLoc===P)return this.complete(L.completion,L.afterLoc),D(L),h}},catch:function(P){for(var $=this.tryEntries.length-1;$>=0;--$){var L=this.tryEntries[$];if(L.tryLoc===P){var N=L.completion;if(N.type==="throw"){var T=N.arg;D(L)}return T}}throw Error("illegal catch attempt")},delegateYield:function(P,$,L){return this.delegate={iterator:V(P),resultName:$,nextLoc:L},this.method==="next"&&(this.arg=e),h}},t}function ay(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function Ga(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(s){ay(a,r,o,i,l,"next",s)}function l(s){ay(a,r,o,i,l,"throw",s)}i(void 0)})}}var Is=B({},qO),DL=Is.version,FL=Is.render,zL=Is.unmountComponentAtNode,pd;try{var BL=Number((DL||"").split(".")[0]);BL>=18&&(pd=Is.createRoot)}catch{}function iy(e){var t=Is.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&je(t)==="object"&&(t.usingClientEntryPoint=e)}var Rc="__rc_react_root__";function kL(e,t){iy(!0);var n=t[Rc]||pd(t);iy(!1),n.render(e),t[Rc]=n}function HL(e,t){FL(e,t)}function oE(e,t){if(pd){kL(e,t);return}HL(e,t)}function VL(e){return Cv.apply(this,arguments)}function Cv(){return Cv=Ga(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Rc])===null||o===void 0||o.unmount(),delete t[Rc]}));case 1:case"end":return r.stop()}},e)})),Cv.apply(this,arguments)}function WL(e){zL(e)}function aE(e){return wv.apply(this,arguments)}function wv(){return wv=Ga(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(pd===void 0){r.next=2;break}return r.abrupt("return",VL(t));case 2:WL(t);case 3:case"end":return r.stop()}},e)})),wv.apply(this,arguments)}const Ef=()=>({height:0,opacity:0}),ly=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},UL=e=>({height:e?e.offsetHeight:0}),xf=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Bk=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:Ef,onEnterStart:Ef,onAppearActive:ly,onEnterActive:ly,onLeaveStart:UL,onLeaveActive:Ef,onAppearEnd:xf,onEnterEnd:xf,onLeaveEnd:xf,motionDeadline:500}},Wi=(e,t,n)=>n!==void 0?n:`${e}-${t}`,Cg=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},GL=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},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},KL=yg("Wave",e=>[GL(e)]),iE=`${Uw}-wave-target`;function qL(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 Rf(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&qL(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function QL(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Rf(t)?t:Rf(n)?n:Rf(r)?r:null}function $f(e){return Number.isNaN(e)?0:e}const XL=e=>{const{className:t,target:n,component:r}=e,o=u.useRef(null),[a,i]=u.useState(null),[l,s]=u.useState([]),[c,d]=u.useState(0),[f,m]=u.useState(0),[y,b]=u.useState(0),[S,h]=u.useState(0),[g,v]=u.useState(!1),p={left:c,top:f,width:y,height:S,borderRadius:l.map(x=>`${x}px`).join(" ")};a&&(p["--wave-color"]=a);function C(){const x=getComputedStyle(n);i(QL(n));const E=x.position==="static",{borderLeftWidth:R,borderTopWidth:O}=x;d(E?n.offsetLeft:$f(-parseFloat(R))),m(E?n.offsetTop:$f(-parseFloat(O))),b(n.offsetWidth),h(n.offsetHeight);const{borderTopLeftRadius:_,borderTopRightRadius:A,borderBottomLeftRadius:M,borderBottomRightRadius:D}=x;s([_,A,D,M].map(I=>$f(parseFloat(I))))}if(u.useEffect(()=>{if(n){const x=Rt(()=>{C(),v(!0)});let E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(C),E.observe(n)),()=>{Rt.cancel(x),E==null||E.disconnect()}}},[]),!g)return null;const w=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(iE));return u.createElement(Eo,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,E)=>{var R;if(E.deadline||E.propertyName==="opacity"){const O=(R=o.current)===null||R===void 0?void 0:R.parentElement;aE(O).then(()=>{O==null||O.remove()})}return!1}},(x,E)=>{let{className:R}=x;return u.createElement("div",{ref:Gr(o,E),className:q(t,R,{"wave-quick":w}),style:p})})},YL=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild),oE(u.createElement(XL,Object.assign({},t,{target:e})),o)},JL=(e,t,n)=>{const{wave:r}=u.useContext(ft),[,o,a]=cr(),i=nn(c=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${iE}`)||d,{showEffect:m}=r||{};(m||YL)(f,{className:t,token:o,component:n,event:c,hashId:a})}),l=u.useRef();return c=>{Rt.cancel(l.current),l.current=Rt(()=>{i(c)})}},ZL=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=u.useContext(ft),a=u.useRef(null),i=o("wave"),[,l]=KL(i),s=JL(a,q(i,l),r);if(K.useEffect(()=>{const d=a.current;if(!d||d.nodeType!==1||n)return;const f=m=>{!Cg(m.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||s(m)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!K.isValidElement(t))return t??null;const c=ia(t)?Gr(t.ref,a):a;return gs(t,{ref:c})},xo=e=>{const t=K.useContext(ki);return K.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},eA=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},tA=e=>{const{componentCls:t,antCls:n}=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"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},nA=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},rA=Ir("Space",e=>{const t=Gt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[tA(t),nA(t),eA(t)]},()=>({}),{resetStyle:!1});var lE=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const gd=u.createContext(null),hd=(e,t)=>{const n=u.useContext(gd),r=u.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:a,isLastItem:i}=n,l=o==="vertical"?"-vertical-":"-";return q(`${e}-compact${l}item`,{[`${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}},oA=e=>{let{children:t}=e;return u.createElement(gd.Provider,{value:null},t)},aA=e=>{var{children:t}=e,n=lE(e,["children"]);return u.createElement(gd.Provider,{value:n},t)},kk=e=>{const{getPrefixCls:t,direction:n}=u.useContext(ft),{size:r,direction:o,block:a,prefixCls:i,className:l,rootClassName:s,children:c}=e,d=lE(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=xo(p=>r??p),m=t("space-compact",i),[y,b]=rA(m),S=q(m,b,{[`${m}-rtl`]:n==="rtl",[`${m}-block`]:a,[`${m}-vertical`]:o==="vertical"},l,s),h=u.useContext(gd),g=ea(c),v=u.useMemo(()=>g.map((p,C)=>{const w=(p==null?void 0:p.key)||`${m}-item-${C}`;return u.createElement(aA,{key:w,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!h||(h==null?void 0:h.isFirstItem)),isLastItem:C===g.length-1&&(!h||(h==null?void 0:h.isLastItem))},p)}),[r,g,h]);return g.length===0?null:y(u.createElement("div",Object.assign({className:S},d),v))};var iA=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const sE=u.createContext(void 0),lA=e=>{const{getPrefixCls:t,direction:n}=u.useContext(ft),{prefixCls:r,size:o,className:a}=e,i=iA(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=cr();let c="";switch(o){case"large":c="lg";break;case"small":c="sm";break}const d=q(l,{[`${l}-${c}`]:c,[`${l}-rtl`]:n==="rtl"},a,s);return u.createElement(sE.Provider,{value:o},u.createElement("div",Object.assign({},i,{className:d})))},sy=/^[\u4e00-\u9fa5]{2}$/,Ev=sy.test.bind(sy);function uE(e){return e==="danger"?{danger:!0}:{type:e}}function uy(e){return typeof e=="string"}function Of(e){return e==="text"||e==="link"}function sA(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&uy(e.type)&&Ev(e.props.children)?gs(e,{children:e.props.children.split("").join(n)}):uy(e)?Ev(e)?K.createElement("span",null,e.split("").join(n)):K.createElement("span",null,e):_L(e)?K.createElement("span",null,e):e}function uA(e,t){let n=!1;const r=[];return K.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}),K.Children.map(r,o=>sA(o,t))}const cE=u.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,i=q(`${a}-icon`,n);return K.createElement("span",{ref:t,className:i,style:r},o)}),cy=u.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:a}=e,i=q(`${n}-loading-icon`,r);return K.createElement(cE,{prefixCls:n,className:i,style:o,ref:t},K.createElement(Zw,{className:a}))}),Pf=()=>({width:0,opacity:0,transform:"scale(0)"}),_f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),cA=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a}=e,i=!!n;return r?K.createElement(cy,{prefixCls:t,className:o,style:a}):K.createElement(Eo,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:Pf,onAppearActive:_f,onEnterStart:Pf,onEnterActive:_f,onLeaveStart:_f,onLeaveActive:Pf},(l,s)=>{let{className:c,style:d}=l;return K.createElement(cy,{prefixCls:t,className:o,style:Object.assign(Object.assign({},a),d),ref:s,iconClassName:c})})},dy=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),dA=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor: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:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},dy(`${t}-primary`,o),dy(`${t}-danger`,a)]}},dE=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Gt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},fE=e=>{var t,n,r,o,a,i;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(o=e.contentLineHeight)!==null&&o!==void 0?o:Fu(l),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:Fu(s),m=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:Fu(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-l*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*m)/2-e.lineWidth,0)}},fA=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Z(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},vd(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},bo=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),mA=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),vA=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),pA=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),hs=(e,t,n,r,o,a,i,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},bo(e,Object.assign({background:t},i),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),wg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},pA(e))}),mE=e=>Object.assign({},wg(e)),$c=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),vE=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},mE(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),bo(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),hs(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},bo(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),hs(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),wg(e))}),gA=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},mE(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),bo(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),hs(e.componentCls,e.ghostBg,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({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},bo(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),hs(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),wg(e))}),hA=e=>Object.assign(Object.assign({},vE(e)),{borderStyle:"dashed"}),yA=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},bo(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),$c(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},bo(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),$c(e))}),bA=e=>Object.assign(Object.assign(Object.assign({},bo(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),$c(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},$c(e)),bo(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),SA=e=>{const{componentCls:t}=e;return{[`${t}-default`]:vE(e),[`${t}-primary`]:gA(e),[`${t}-dashed`]:hA(e),[`${t}-link`]:yA(e),[`${t}-text`]:bA(e),[`${t}-ghost`]:hs(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Eg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:a,borderRadius:i,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:c}=e,d=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:a,height:r,padding:`${Z(c)} ${Z(l)}`,borderRadius:i,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:mA(e)},{[`${n}${n}-round${t}`]:vA(e)}]},CA=e=>{const t=Gt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Eg(t,e.componentCls)},wA=e=>{const t=Gt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Eg(t,`${e.componentCls}-sm`)},EA=e=>{const t=Gt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Eg(t,`${e.componentCls}-lg`)},xA=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},RA=Ir("Button",e=>{const t=dE(e);return[fA(t),CA(t),wA(t),EA(t),xA(t),SA(t),dA(t)]},fE,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function $A(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.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function OA(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 xg(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({},$A(e,r,t)),OA(n,r,t))}}function PA(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function _A(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 IA(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},PA(e,t)),_A(e.componentCls,t))}}const TA=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${Z(e.lineWidth)} * 2)`,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:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${Z(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},MA=Lw(["Button","compact"],e=>{const t=dE(e);return[xg(t),IA(t),TA(t)]},fE);var NA=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function LA(e){if(typeof e=="object"&&e){let t=e==null?void 0:e.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}const AA=K.forwardRef((e,t)=>{var n,r,o;const{loading:a=!1,prefixCls:i,type:l,danger:s=!1,shape:c="default",size:d,styles:f,disabled:m,className:y,rootClassName:b,children:S,icon:h,iconPosition:g="start",ghost:v=!1,block:p=!1,htmlType:C="button",classNames:w,style:x={},autoInsertSpace:E}=e,R=NA(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),O=l||"default",{getPrefixCls:_,direction:A,button:M}=u.useContext(ft),D=(n=E??(M==null?void 0:M.autoInsertSpace))!==null&&n!==void 0?n:!0,I=_("btn",i),[V,j,P]=RA(I),$=u.useContext(Fa),L=m??$,N=u.useContext(sE),T=u.useMemo(()=>LA(a),[a]),[k,H]=u.useState(T.loading),[U,G]=u.useState(!1),Q=Gr(t,u.createRef()),ae=u.Children.count(S)===1&&!h&&!Of(O);u.useEffect(()=>{let Se=null;T.delay>0?Se=setTimeout(()=>{Se=null,H(!0)},T.delay):H(T.loading);function De(){Se&&(clearTimeout(Se),Se=null)}return De},[T]),u.useEffect(()=>{if(!Q||!Q.current||!D)return;const Se=Q.current.textContent;ae&&Ev(Se)?U||G(!0):U&&G(!1)},[Q]);const ce=Se=>{const{onClick:De}=e;if(k||L){Se.preventDefault();return}De==null||De(Se)},{compactSize:ne,compactItemClassnames:X}=hd(I,A),te={large:"lg",small:"sm",middle:void 0},ie=xo(Se=>{var De,pe;return(pe=(De=d??ne)!==null&&De!==void 0?De:N)!==null&&pe!==void 0?pe:Se}),J=ie&&te[ie]||"",oe=k?"loading":h,fe=mr(R,["navigate"]),Pe=q(I,j,P,{[`${I}-${c}`]:c!=="default"&&c,[`${I}-${O}`]:O,[`${I}-${J}`]:J,[`${I}-icon-only`]:!S&&S!==0&&!!oe,[`${I}-background-ghost`]:v&&!Of(O),[`${I}-loading`]:k,[`${I}-two-chinese-chars`]:U&&D&&!k,[`${I}-block`]:p,[`${I}-dangerous`]:s,[`${I}-rtl`]:A==="rtl",[`${I}-icon-end`]:g==="end"},X,y,b,M==null?void 0:M.className),ve=Object.assign(Object.assign({},M==null?void 0:M.style),x),le=q(w==null?void 0:w.icon,(r=M==null?void 0:M.classNames)===null||r===void 0?void 0:r.icon),me=Object.assign(Object.assign({},(f==null?void 0:f.icon)||{}),((o=M==null?void 0:M.styles)===null||o===void 0?void 0:o.icon)||{}),se=h&&!k?K.createElement(cE,{prefixCls:I,className:le,style:me},h):K.createElement(cA,{existIcon:!!h,prefixCls:I,loading:k}),Ee=S||S===0?uA(S,ae&&D):null;if(fe.href!==void 0)return V(K.createElement("a",Object.assign({},fe,{className:q(Pe,{[`${I}-disabled`]:L}),href:L?void 0:fe.href,style:ve,onClick:ce,ref:Q,tabIndex:L?-1:0}),se,Ee));let Le=K.createElement("button",Object.assign({},R,{type:C,className:Pe,style:ve,onClick:ce,disabled:L,ref:Q}),se,Ee,!!X&&K.createElement(MA,{key:"compact",prefixCls:I}));return Of(O)||(Le=K.createElement(ZL,{component:"Button",disabled:k},Le)),V(Le)}),Mn=AA;Mn.Group=lA;Mn.__ANT_BUTTON=!0;function If(e){return!!(e!=null&&e.then)}const pE=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:a,autoFocus:i,emitEvent:l,isSilent:s,quitOnNullishReturnValue:c,actionFn:d}=e,f=u.useRef(!1),m=u.useRef(null),[y,b]=Hi(!1),S=function(){a==null||a.apply(void 0,arguments)};u.useEffect(()=>{let v=null;return i&&(v=setTimeout(()=>{var p;(p=m.current)===null||p===void 0||p.focus()})),()=>{v&&clearTimeout(v)}},[]);const h=v=>{If(v)&&(b(!0),v.then(function(){b(!1,!0),S.apply(void 0,arguments),f.current=!1},p=>{if(b(!1,!0),f.current=!1,!(s!=null&&s()))return Promise.reject(p)}))},g=v=>{if(f.current)return;if(f.current=!0,!d){S();return}let p;if(l){if(p=d(v),c&&!If(p)){f.current=!1,S(v);return}}else if(d.length)p=d(a),f.current=!1;else if(p=d(),!If(p)){S();return}h(p)};return u.createElement(Mn,Object.assign({},uE(t),{onClick:g,loading:y,prefixCls:r},o,{ref:m}),n)},Ts=K.createContext({}),{Provider:gE}=Ts,fy=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:a,close:i,onCancel:l,onConfirm:s}=u.useContext(Ts);return o?K.createElement(pE,{isSilent:r,actionFn:l,close:function(){i==null||i.apply(void 0,arguments),s==null||s(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${a}-btn`},n):null},my=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:a,okType:i,onConfirm:l,onOk:s}=u.useContext(Ts);return K.createElement(pE,{isSilent:n,type:i||"primary",actionFn:s,close:function(){t==null||t.apply(void 0,arguments),l==null||l(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${o}-btn`},a)};var hE=u.createContext(null),vy=[];function jA(e,t){var n=u.useState(function(){if(!Fn())return null;var b=document.createElement("div");return b}),r=W(n,1),o=r[0],a=u.useRef(!1),i=u.useContext(hE),l=u.useState(vy),s=W(l,2),c=s[0],d=s[1],f=i||(a.current?void 0:function(b){d(function(S){var h=[b].concat(ye(S));return h})});function m(){o.parentElement||document.body.appendChild(o),a.current=!0}function y(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),a.current=!1}return zt(function(){return e?i?i(m):m():y(),y},[e]),zt(function(){c.length&&(c.forEach(function(b){return b()}),d(vy))},[c]),[o,f]}var Tf;function yE(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var o,a;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(l.width,10),c=parseInt(l.height,10);try{var d=s?"width: ".concat(l.width,";"):"",f=c?"height: ".concat(l.height,";"):"";vo(`
#`.concat(t,`::-webkit-scrollbar {
`).concat(d,`
`).concat(f,`
}`),t)}catch(b){console.error(b),o=s,a=c}}document.body.appendChild(n);var m=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,y=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),cs(t),{width:m,height:y}}function Hk(e){return typeof document>"u"?0:(Tf===void 0&&(Tf=yE()),Tf.width)}function DA(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:yE(e)}function FA(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var zA="rc-util-locker-".concat(Date.now()),py=0;function BA(e){var t=!!e,n=u.useState(function(){return py+=1,"".concat(zA,"_").concat(py)}),r=W(n,1),o=r[0];zt(function(){if(t){var a=DA(document.body).width,i=FA();vo(`
html body {
  overflow-y: hidden;
  `.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
}`),o)}else cs(o);return function(){cs(o)}},[t,o])}var kA=!1;function HA(e){return kA}var gy=function(t){return t===!1?!1:!Fn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Rg=u.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=u.useState(n),c=W(s,2),d=c[0],f=c[1],m=d||n;u.useEffect(function(){(i||n)&&f(n)},[n,i]);var y=u.useState(function(){return gy(o)}),b=W(y,2),S=b[0],h=b[1];u.useEffect(function(){var A=gy(o);h(A??null)});var g=jA(m&&!S),v=W(g,2),p=v[0],C=v[1],w=S??p;BA(r&&n&&Fn()&&(w===p||w===document.body));var x=null;if(l&&ia(l)&&t){var E=l;x=E.ref}var R=Wa(x,t);if(!m||!Fn()||S===void 0)return null;var O=w===!1||HA(),_=l;return t&&(_=u.cloneElement(l,{ref:R})),u.createElement(hE.Provider,{value:C},O?_:Zo.createPortal(_,w))}),bE=u.createContext({});function VA(){var e=B({},Ia);return e.useId}var hy=0,yy=VA();const SE=yy?function(t){var n=yy();return t||n}:function(t){var n=u.useState("ssr-id"),r=W(n,2),o=r[0],a=r[1];return u.useEffect(function(){var i=hy;hy+=1,a("rc_unique_".concat(i))},[]),t||o};function by(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Sy(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 WA(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=Sy(o),n.top+=Sy(o,!0),n}const UA=u.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Cy={width:0,height:0,overflow:"hidden",outline:"none"},GA={outline:"none"},CE=K.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,c=e.closeIcon,d=e.onClose,f=e.children,m=e.bodyStyle,y=e.bodyProps,b=e.modalRender,S=e.onMouseDown,h=e.onMouseUp,g=e.holderRef,v=e.visible,p=e.forceRender,C=e.width,w=e.height,x=e.classNames,E=e.styles,R=K.useContext(bE),O=R.panel,_=Wa(g,O),A=u.useRef(),M=u.useRef(),D=u.useRef();K.useImperativeHandle(t,function(){return{focus:function(){var H;(H=D.current)===null||H===void 0||H.focus({preventScroll:!0})},changeActive:function(H){var U=document,G=U.activeElement;H&&G===M.current?A.current.focus({preventScroll:!0}):!H&&G===A.current&&M.current.focus({preventScroll:!0})}}});var I={};C!==void 0&&(I.width=C),w!==void 0&&(I.height=w);var V=l?K.createElement("div",{className:q("".concat(n,"-footer"),x==null?void 0:x.footer),style:B({},E==null?void 0:E.footer)},l):null,j=a?K.createElement("div",{className:q("".concat(n,"-header"),x==null?void 0:x.header),style:B({},E==null?void 0:E.header)},K.createElement("div",{className:"".concat(n,"-title"),id:i},a)):null,P=u.useMemo(function(){return je(s)==="object"&&s!==null?s:s?{closeIcon:c??K.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[s,c,n]),$=ta(P,!0),L=je(s)==="object"&&s.disabled,N=s?K.createElement("button",be({type:"button",onClick:d,"aria-label":"Close"},$,{className:"".concat(n,"-close"),disabled:L}),P.closeIcon):null,T=K.createElement("div",{className:q("".concat(n,"-content"),x==null?void 0:x.content),style:E==null?void 0:E.content},N,j,K.createElement("div",be({className:q("".concat(n,"-body"),x==null?void 0:x.body),style:B(B({},m),E==null?void 0:E.body)},y),f),V);return K.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:_,style:B(B({},o),I),className:q(n,r),onMouseDown:S,onMouseUp:h},K.createElement("div",{tabIndex:0,ref:A,style:Cy,"aria-hidden":"true"}),K.createElement("div",{ref:D,tabIndex:-1,style:GA},K.createElement(UA,{shouldUpdate:v||p},b?b(T):T)),K.createElement("div",{tabIndex:0,ref:M,style:Cy,"aria-hidden":"true"}))}),wE=u.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,c=e.motionName,d=e.ariaId,f=e.onVisibleChanged,m=e.mousePosition,y=u.useRef(),b=u.useState(),S=W(b,2),h=S[0],g=S[1],v={};h&&(v.transformOrigin=h);function p(){var C=WA(y.current);g(m&&(m.x||m.y)?"".concat(m.x-C.left,"px ").concat(m.y-C.top,"px"):"")}return u.createElement(Eo,{visible:i,onVisibleChanged:f,onAppearPrepare:p,onEnterPrepare:p,forceRender:l,motionName:c,removeOnLeave:s,ref:y},function(C,w){var x=C.className,E=C.style;return u.createElement(CE,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:w,style:B(B(B({},E),o),v),className:q(a,x)}))})});wE.displayName="Content";var KA=function(t){var n=t.prefixCls,r=t.style,o=t.visible,a=t.maskProps,i=t.motionName,l=t.className;return u.createElement(Eo,{key:"mask",visible:o,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(s,c){var d=s.className,f=s.style;return u.createElement("div",be({ref:c,style:B(B({},f),r),className:q("".concat(n,"-mask"),d,l)},a))})},qA=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,o=t.zIndex,a=t.visible,i=a===void 0?!1:a,l=t.keyboard,s=l===void 0?!0:l,c=t.focusTriggerAfterClose,d=c===void 0?!0:c,f=t.wrapStyle,m=t.wrapClassName,y=t.wrapProps,b=t.onClose,S=t.afterOpenChange,h=t.afterClose,g=t.transitionName,v=t.animation,p=t.closable,C=p===void 0?!0:p,w=t.mask,x=w===void 0?!0:w,E=t.maskTransitionName,R=t.maskAnimation,O=t.maskClosable,_=O===void 0?!0:O,A=t.maskStyle,M=t.maskProps,D=t.rootClassName,I=t.classNames,V=t.styles,j=u.useRef(),P=u.useRef(),$=u.useRef(),L=u.useState(i),N=W(L,2),T=N[0],k=N[1],H=SE();function U(){ev(P.current,document.activeElement)||(j.current=document.activeElement)}function G(){if(!ev(P.current,document.activeElement)){var oe;(oe=$.current)===null||oe===void 0||oe.focus()}}function ee(oe){if(oe)G();else{if(k(!1),x&&j.current&&d){try{j.current.focus({preventScroll:!0})}catch{}j.current=null}T&&(h==null||h())}S==null||S(oe)}function Q(oe){b==null||b(oe)}var ae=u.useRef(!1),ce=u.useRef(),ne=function(){clearTimeout(ce.current),ae.current=!0},X=function(){ce.current=setTimeout(function(){ae.current=!1})},te=null;_&&(te=function(fe){ae.current?ae.current=!1:P.current===fe.target&&Q(fe)});function ie(oe){if(s&&oe.keyCode===re.ESC){oe.stopPropagation(),Q(oe);return}i&&oe.keyCode===re.TAB&&$.current.changeActive(!oe.shiftKey)}u.useEffect(function(){i&&(k(!0),U())},[i]),u.useEffect(function(){return function(){clearTimeout(ce.current)}},[]);var J=B(B(B({zIndex:o},f),V==null?void 0:V.wrapper),{},{display:T?null:"none"});return u.createElement("div",be({className:q("".concat(r,"-root"),D)},ta(t,{data:!0})),u.createElement(KA,{prefixCls:r,visible:x&&i,motionName:by(r,E,R),style:B(B({zIndex:o},A),V==null?void 0:V.mask),maskProps:M,className:I==null?void 0:I.mask}),u.createElement("div",be({tabIndex:-1,onKeyDown:ie,className:q("".concat(r,"-wrap"),m,I==null?void 0:I.wrapper),ref:P,onClick:te,style:J},y),u.createElement(wE,be({},t,{onMouseDown:ne,onMouseUp:X,ref:$,closable:C,ariaId:H,prefixCls:r,visible:i&&T,onClose:Q,onVisibleChanged:ee,motionName:by(r,g,v)}))))},EE=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=t.panelRef,c=u.useState(n),d=W(c,2),f=d[0],m=d[1],y=u.useMemo(function(){return{panel:s}},[s]);return u.useEffect(function(){n&&m(!0)},[n]),!o&&i&&!f?null:u.createElement(bE.Provider,{value:y},u.createElement(Rg,{open:n||o||f,autoDestroy:!1,getContainer:r,autoLock:n||f},u.createElement(qA,be({},t,{destroyOnClose:i,afterClose:function(){l==null||l(),m(!1)}}))))};EE.displayName="Dialog";var wa="RC_FORM_INTERNAL_HOOKS",Mt=function(){Nn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ui=u.createContext({getFieldValue:Mt,getFieldsValue:Mt,getFieldError:Mt,getFieldWarning:Mt,getFieldsError:Mt,isFieldsTouched:Mt,isFieldTouched:Mt,isFieldValidating:Mt,isFieldsValidating:Mt,resetFields:Mt,setFields:Mt,setFieldValue:Mt,setFieldsValue:Mt,validateFields:Mt,submit:Mt,getInternalHooks:function(){return Mt(),{dispatch:Mt,initEntityValue:Mt,registerField:Mt,useSubscribe:Mt,setInitialValues:Mt,destroyForm:Mt,setCallbacks:Mt,registerWatch:Mt,getFields:Mt,setValidateMessages:Mt,setPreserve:Mt,getInitialValue:Mt}}}),Oc=u.createContext(null);function xv(e){return e==null?[]:Array.isArray(e)?e:[e]}function QA(e){return e&&!!e._init}function Rv(){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 $v=Rv();function XA(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function YA(e,t,n){if(ig())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&ls(o,n.prototype),o}function Ov(e){var t=typeof Map=="function"?new Map:void 0;return Ov=function(r){if(r===null||!XA(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return YA(r,arguments,ss(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ls(o,r)},Ov(e)}var JA=/%[sdj%]/g,ZA=function(){};function Pv(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 ar(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var i=e.replace(JA,function(l){if(l==="%%")return"%";if(o>=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 ej(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function cn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ej(t)&&typeof e=="string"&&!e)}function tj(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,ye(l||[])),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function wy(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<o?t(e[l],a):n([])}a([])}function nj(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,ye(e[n]||[]))}),t}var Ey=function(e){la(n,e);var t=sa(n);function n(r,o){var a;return yn(this,n),a=t.call(this,"Async Validation Error"),F(lt(a),"errors",void 0),F(lt(a),"fields",void 0),a.errors=r,a.fields=o,a}return bn(n)}(Ov(Error));function rj(e,t,n,r,o){if(t.first){var a=new Promise(function(m,y){var b=function(g){return r(g),g.length?y(new Ey(g,Pv(g))):m(o)},S=nj(e);wy(S,n,b)});return a.catch(function(m){return m}),a}var i=t.firstFields===!0?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,d=[],f=new Promise(function(m,y){var b=function(h){if(d.push.apply(d,h),c++,c===s)return r(d),d.length?y(new Ey(d,Pv(d))):m(o)};l.length||(r(d),m(o)),l.forEach(function(S){var h=e[S];i.indexOf(S)!==-1?wy(h,n,b):tj(h,n,b)})});return f.catch(function(m){return m}),f}function oj(e){return!!(e&&e.message!==void 0)}function aj(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function xy(e,t){return function(n){var r;return e.fullFields?r=aj(t,e.fullFields):r=t[n.field||e.fullField],oj(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function Ry(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];je(r)==="object"&&je(e[n])==="object"?e[n]=B(B({},e[n]),r):e[n]=r}}return e}var ei="enum",ij=function(t,n,r,o,a){t[ei]=Array.isArray(t[ei])?t[ei]:[],t[ei].indexOf(n)===-1&&o.push(ar(a.messages[ei],t.fullField,t[ei].join(", ")))},lj=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(ar(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(ar(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},sj=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,m=typeof n=="number",y=typeof n=="string",b=Array.isArray(n);if(m?f="number":y?f="string":b&&(f="array"),!f)return!1;b&&(d=n.length),y&&(d=n.replace(c,"_").length),i?d!==t.len&&o.push(ar(a.messages[f].len,t.fullField,t.len)):l&&!s&&d<t.min?o.push(ar(a.messages[f].min,t.fullField,t.min)):s&&!l&&d>t.max?o.push(ar(a.messages[f].max,t.fullField,t.max)):l&&s&&(d<t.min||d>t.max)&&o.push(ar(a.messages[f].range,t.fullField,t.min,t.max))},xE=function(t,n,r,o,a,i){t.required&&(!r.hasOwnProperty(t.field)||cn(n,i||t.type))&&o.push(ar(a.messages.required,t.fullField))},gu;const uj=function(){if(gu)return gu;var e="[a-fA-F\\d:]",t=function(x){return x&&x.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(o.join("|"),")").concat(a),l=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),s=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(i,"$")),d=function(x){return x&&x.exact?l:new RegExp("(?:".concat(t(x)).concat(n).concat(t(x),")|(?:").concat(t(x)).concat(i).concat(t(x),")"),"g")};d.v4=function(w){return w&&w.exact?s:new RegExp("".concat(t(w)).concat(n).concat(t(w)),"g")},d.v6=function(w){return w&&w.exact?c:new RegExp("".concat(t(w)).concat(i).concat(t(w)),"g")};var f="(?:(?:[a-z]+:)?//)",m="(?:\\S+(?::\\S*)?@)?",y=d.v4().source,b=d.v6().source,S="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",p='(?:[/?#][^\\s"]*)?',C="(?:".concat(f,"|www\\.)").concat(m,"(?:localhost|").concat(y,"|").concat(b,"|").concat(S).concat(h).concat(g,")").concat(v).concat(p);return gu=new RegExp("(?:^".concat(C,"$)"),"i"),gu};var $y={email:/^(([^<>()\[\]\\.,;:\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},xl={integer:function(t){return xl.number(t)&&parseInt(t,10)===t},float:function(t){return xl.number(t)&&!xl.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 je(t)==="object"&&!xl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match($y.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(uj())},hex:function(t){return typeof t=="string"&&!!t.match($y.hex)}},cj=function(t,n,r,o,a){if(t.required&&n===void 0){xE(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?xl[l](n)||o.push(ar(a.messages.types[l],t.fullField,t.type)):l&&je(n)!==t.type&&o.push(ar(a.messages.types[l],t.fullField,t.type))},dj=function(t,n,r,o,a){(/^\s+$/.test(n)||n==="")&&o.push(ar(a.messages.whitespace,t.fullField))};const pt={required:xE,whitespace:dj,type:cj,range:sj,enum:ij,pattern:lj};var fj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a)}r(i)},mj=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();pt.required(t,n,o,i,a,"array"),n!=null&&(pt.type(t,n,o,i,a),pt.range(t,n,o,i,a))}r(i)},vj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&pt.type(t,n,o,i,a)}r(i)},pj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n,"date")&&!t.required)return r();if(pt.required(t,n,o,i,a),!cn(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),pt.type(t,s,o,i,a),s&&pt.range(t,s.getTime(),o,i,a)}}r(i)},gj="enum",hj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&pt[gj](t,n,o,i,a)}r(i)},yj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&(pt.type(t,n,o,i,a),pt.range(t,n,o,i,a))}r(i)},bj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&(pt.type(t,n,o,i,a),pt.range(t,n,o,i,a))}r(i)},Sj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&pt.type(t,n,o,i,a)}r(i)},Cj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&(pt.type(t,n,o,i,a),pt.range(t,n,o,i,a))}r(i)},wj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),n!==void 0&&pt.type(t,n,o,i,a)}r(i)},Ej=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n,"string")&&!t.required)return r();pt.required(t,n,o,i,a),cn(n,"string")||pt.pattern(t,n,o,i,a)}r(i)},xj=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n)&&!t.required)return r();pt.required(t,n,o,i,a),cn(n)||pt.type(t,n,o,i,a)}r(i)},Rj=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":je(n);pt.required(t,n,o,i,a,l),r(i)},$j=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(cn(n,"string")&&!t.required)return r();pt.required(t,n,o,i,a,"string"),cn(n,"string")||(pt.type(t,n,o,i,a),pt.range(t,n,o,i,a),pt.pattern(t,n,o,i,a),t.whitespace===!0&&pt.whitespace(t,n,o,i,a))}r(i)},Mf=function(t,n,r,o,a){var i=t.type,l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(cn(n,i)&&!t.required)return r();pt.required(t,n,o,l,a,i),cn(n,i)||pt.type(t,n,o,l,a)}r(l)};const zl={string:$j,method:Sj,number:Cj,boolean:vj,regexp:xj,integer:bj,float:yj,array:mj,object:wj,enum:hj,pattern:Ej,date:pj,url:Mf,hex:Mf,email:Mf,required:Rj,any:fj};var Ms=function(){function e(t){yn(this,e),F(this,"rules",null),F(this,"_messages",$v),this.define(t)}return bn(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(je(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(o){var a=n[o];r.rules[o]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=Ry(Rv(),n)),this._messages}},{key:"validate",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=n,l=o,s=a;if(typeof l=="function"&&(s=l,l={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,i),Promise.resolve(i);function c(b){var S=[],h={};function g(p){if(Array.isArray(p)){var C;S=(C=S).concat.apply(C,ye(p))}else S.push(p)}for(var v=0;v<b.length;v++)g(b[v]);S.length?(h=Pv(S),s(S,h)):s(null,i)}if(l.messages){var d=this.messages();d===$v&&(d=Rv()),Ry(d,l.messages),l.messages=d}else l.messages=this.messages();var f={},m=l.keys||Object.keys(this.rules);m.forEach(function(b){var S=r.rules[b],h=i[b];S.forEach(function(g){var v=g;typeof v.transform=="function"&&(i===n&&(i=B({},i)),h=i[b]=v.transform(h),h!=null&&(v.type=v.type||(Array.isArray(h)?"array":je(h)))),typeof v=="function"?v={validator:v}:v=B({},v),v.validator=r.getValidationMethod(v),v.validator&&(v.field=b,v.fullField=v.fullField||b,v.type=r.getType(v),f[b]=f[b]||[],f[b].push({rule:v,value:h,source:i,field:b}))})});var y={};return rj(f,l,function(b,S){var h=b.rule,g=(h.type==="object"||h.type==="array")&&(je(h.fields)==="object"||je(h.defaultField)==="object");g=g&&(h.required||!h.required&&b.value),h.field=b.field;function v(E,R){return B(B({},R),{},{fullField:"".concat(h.fullField,".").concat(E),fullFields:h.fullFields?[].concat(ye(h.fullFields),[E]):[E]})}function p(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(E)?E:[E];!l.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&h.message!==void 0&&(R=[].concat(h.message));var O=R.map(xy(h,i));if(l.first&&O.length)return y[h.field]=1,S(O);if(!g)S(O);else{if(h.required&&!b.value)return h.message!==void 0?O=[].concat(h.message).map(xy(h,i)):l.error&&(O=[l.error(h,ar(l.messages.required,h.field))]),S(O);var _={};h.defaultField&&Object.keys(b.value).map(function(D){_[D]=h.defaultField}),_=B(B({},_),b.rule.fields);var A={};Object.keys(_).forEach(function(D){var I=_[D],V=Array.isArray(I)?I:[I];A[D]=V.map(v.bind(null,D))});var M=new e(A);M.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),M.validate(b.value,b.rule.options||l,function(D){var I=[];O&&O.length&&I.push.apply(I,ye(O)),D&&D.length&&I.push.apply(I,ye(D)),S(I.length?I:null)})}}var C;if(h.asyncValidator)C=h.asyncValidator(h,b.value,p,b.source,l);else if(h.validator){try{C=h.validator(h,b.value,p,b.source,l)}catch(E){var w,x;(w=(x=console).error)===null||w===void 0||w.call(x,E),l.suppressValidatorError||setTimeout(function(){throw E},0),p(E.message)}C===!0?p():C===!1?p(typeof h.message=="function"?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):C instanceof Array?p(C):C instanceof Error&&p(C.message)}C&&C.then&&C.then(function(){return p()},function(E){return p(E)})},function(b){c(b)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!zl.hasOwnProperty(n.type))throw new Error(ar("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),o=r.indexOf("message");return o!==-1&&r.splice(o,1),r.length===1&&r[0]==="required"?zl.required:zl[this.getType(n)]||void 0}}]),e}();F(Ms,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");zl[t]=n});F(Ms,"warning",ZA);F(Ms,"messages",$v);F(Ms,"validators",zl);var tr="'${name}' is not a valid ${type}",RE={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:tr,method:tr,array:tr,object:tr,number:tr,date:tr,boolean:tr,integer:tr,float:tr,regexp:tr,email:tr,url:tr,hex:tr},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Oy=Ms;function Oj(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var Py="CODE_LOGIC_ERROR";function _v(e,t,n,r,o){return Iv.apply(this,arguments)}function Iv(){return Iv=Ga(zn().mark(function e(t,n,r,o,a){var i,l,s,c,d,f,m,y,b;return zn().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=B({},r),delete i.ruleIndex,Oy.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch(g){return console.error(g),Promise.reject(Py)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),c=new Oy(F({},t,[i])),d=Si(RE,o.validateMessages),c.messages(d),f=[],h.prev=10,h.next=13,Promise.resolve(c.validate(F({},t,n),B({},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,v){var p=g.message,C=p===Py?d.default:p;return u.isValidElement(C)?u.cloneElement(C,{key:"error_".concat(v)}):C}));case 18:if(!(!f.length&&s)){h.next=23;break}return h.next=21,Promise.all(n.map(function(g,v){return _v("".concat(t,".").concat(v),g,s,o,a)}));case 21:return m=h.sent,h.abrupt("return",m.reduce(function(g,v){return[].concat(ye(g),ye(v))},[]));case 23:return y=B(B({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),b=f.map(function(g){return typeof g=="string"?Oj(g,y):g}),h.abrupt("return",b);case 26:case"end":return h.stop()}},e,null,[[10,15]])})),Iv.apply(this,arguments)}function Pj(e,t,n,r,o,a){var i=e.join("."),l=n.map(function(d,f){var m=d.validator,y=B(B({},d),{},{ruleIndex:f});return m&&(y.validator=function(b,S,h){var g=!1,v=function(){for(var w=arguments.length,x=new Array(w),E=0;E<w;E++)x[E]=arguments[E];Promise.resolve().then(function(){Nn(!g,"Your validator function has already return a promise. `callback` will be ignored."),g||h.apply(void 0,x)})},p=m(b,S,v);g=p&&typeof p.then=="function"&&typeof p.catch=="function",Nn(g,"`callback` is deprecated. Please return a promise instead."),g&&p.then(function(){h()}).catch(function(C){h(C||" ")})}),y}).sort(function(d,f){var m=d.warningOnly,y=d.ruleIndex,b=f.warningOnly,S=f.ruleIndex;return!!m==!!b?y-S:m?1:-1}),s;if(o===!0)s=new Promise(function(){var d=Ga(zn().mark(function f(m,y){var b,S,h;return zn().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:b=0;case 1:if(!(b<l.length)){v.next=12;break}return S=l[b],v.next=5,_v(i,t,S,r,a);case 5:if(h=v.sent,!h.length){v.next=9;break}return y([{errors:h,rule:S}]),v.abrupt("return");case 9:b+=1,v.next=1;break;case 12:m([]);case 13:case"end":return v.stop()}},f)}));return function(f,m){return d.apply(this,arguments)}}());else{var c=l.map(function(d){return _v(i,t,d,r,a).then(function(f){return{errors:f,rule:d}})});s=(o?Ij(c):_j(c)).then(function(d){return Promise.reject(d)})}return s.catch(function(d){return d}),s}function _j(e){return Tv.apply(this,arguments)}function Tv(){return Tv=Ga(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.all(t).then(function(o){var a,i=(a=[]).concat.apply(a,ye(o));return i}));case 1:case"end":return r.stop()}},e)})),Tv.apply(this,arguments)}function Ij(e){return Mv.apply(this,arguments)}function Mv(){return Mv=Ga(zn().mark(function e(t){var n;return zn().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=0,o.abrupt("return",new Promise(function(a){t.forEach(function(i){i.then(function(l){l.errors.length&&a([l]),n+=1,n===t.length&&a([])})})}));case 2:case"end":return o.stop()}},e)})),Mv.apply(this,arguments)}function Xt(e){return xv(e)}function _y(e,t){var n={};return t.forEach(function(r){var o=Jr(e,r);n=jr(n,r,o)}),n}function _i(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return $E(t,r,n)})}function $E(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 Tj(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||je(e)!=="object"||je(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return ye(o).every(function(a){var i=e[a],l=t[a];return typeof i=="function"&&typeof l=="function"?!0:i===l})}function Mj(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&je(t.target)==="object"&&e in t.target?t.target[e]:t}function Iy(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(ye(e.slice(0,n)),[o],ye(e.slice(n,t)),ye(e.slice(t+1,r))):a<0?[].concat(ye(e.slice(0,t)),ye(e.slice(t+1,n+1)),[o],ye(e.slice(n+1,r))):e}var Nj=["name"],br=[];function Ty(e,t,n,r,o,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==o}var $g=function(e){la(n,e);var t=sa(n);function n(r){var o;if(yn(this,n),o=t.call(this,r),F(lt(o),"state",{resetCount:0}),F(lt(o),"cancelRegisterFunc",null),F(lt(o),"mounted",!1),F(lt(o),"touched",!1),F(lt(o),"dirty",!1),F(lt(o),"validatePromise",void 0),F(lt(o),"prevValidating",void 0),F(lt(o),"errors",br),F(lt(o),"warnings",br),F(lt(o),"cancelRegister",function(){var s=o.props,c=s.preserve,d=s.isListField,f=s.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(d,c,Xt(f)),o.cancelRegisterFunc=null}),F(lt(o),"getNamePath",function(){var s=o.props,c=s.name,d=s.fieldContext,f=d.prefixName,m=f===void 0?[]:f;return c!==void 0?[].concat(ye(m),ye(c)):[]}),F(lt(o),"getRules",function(){var s=o.props,c=s.rules,d=c===void 0?[]:c,f=s.fieldContext;return d.map(function(m){return typeof m=="function"?m(f):m})}),F(lt(o),"refresh",function(){o.mounted&&o.setState(function(s){var c=s.resetCount;return{resetCount:c+1}})}),F(lt(o),"metaCache",null),F(lt(o),"triggerMetaEvent",function(s){var c=o.props.onMetaChange;if(c){var d=B(B({},o.getMeta()),{},{destroy:s});ds(o.metaCache,d)||c(d),o.metaCache=d}else o.metaCache=null}),F(lt(o),"onStoreChange",function(s,c,d){var f=o.props,m=f.shouldUpdate,y=f.dependencies,b=y===void 0?[]:y,S=f.onReset,h=d.store,g=o.getNamePath(),v=o.getValue(s),p=o.getValue(h),C=c&&_i(c,g);switch(d.type==="valueUpdate"&&d.source==="external"&&!ds(v,p)&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=br,o.warnings=br,o.triggerMetaEvent()),d.type){case"reset":if(!c||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=br,o.warnings=br,o.triggerMetaEvent(),S==null||S(),o.refresh();return}break;case"remove":{if(m){o.reRender();return}break}case"setField":{var w=d.data;if(C){"touched"in w&&(o.touched=w.touched),"validating"in w&&!("originRCField"in w)&&(o.validatePromise=w.validating?Promise.resolve([]):null),"errors"in w&&(o.errors=w.errors||br),"warnings"in w&&(o.warnings=w.warnings||br),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in w&&_i(c,g,!0)){o.reRender();return}if(m&&!g.length&&Ty(m,s,h,v,p,d)){o.reRender();return}break}case"dependenciesUpdate":{var x=b.map(Xt);if(x.some(function(E){return _i(d.relatedFields,E)})){o.reRender();return}break}default:if(C||(!b.length||g.length||m)&&Ty(m,s,h,v,p,d)){o.reRender();return}break}m===!0&&o.reRender()}),F(lt(o),"validateRules",function(s){var c=o.getNamePath(),d=o.getValue(),f=s||{},m=f.triggerName,y=f.validateOnly,b=y===void 0?!1:y,S=Promise.resolve().then(Ga(zn().mark(function h(){var g,v,p,C,w,x,E;return zn().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(o.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(g=o.props,v=g.validateFirst,p=v===void 0?!1:v,C=g.messageVariables,w=g.validateDebounce,x=o.getRules(),m&&(x=x.filter(function(_){return _}).filter(function(_){var A=_.validateTrigger;if(!A)return!0;var M=xv(A);return M.includes(m)})),!(w&&m)){O.next=10;break}return O.next=8,new Promise(function(_){setTimeout(_,w)});case 8:if(o.validatePromise===S){O.next=10;break}return O.abrupt("return",[]);case 10:return E=Pj(c,d,x,s,p,C),E.catch(function(_){return _}).then(function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:br;if(o.validatePromise===S){var A;o.validatePromise=null;var M=[],D=[];(A=_.forEach)===null||A===void 0||A.call(_,function(I){var V=I.rule.warningOnly,j=I.errors,P=j===void 0?br:j;V?D.push.apply(D,ye(P)):M.push.apply(M,ye(P))}),o.errors=M,o.warnings=D,o.triggerMetaEvent(),o.reRender()}}),O.abrupt("return",E);case 13:case"end":return O.stop()}},h)})));return b||(o.validatePromise=S,o.dirty=!0,o.errors=br,o.warnings=br,o.triggerMetaEvent(),o.reRender()),S}),F(lt(o),"isFieldValidating",function(){return!!o.validatePromise}),F(lt(o),"isFieldTouched",function(){return o.touched}),F(lt(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,c=s.getInternalHooks(wa),d=c.getInitialValue;return d(o.getNamePath())!==void 0}),F(lt(o),"getErrors",function(){return o.errors}),F(lt(o),"getWarnings",function(){return o.warnings}),F(lt(o),"isListField",function(){return o.props.isListField}),F(lt(o),"isList",function(){return o.props.isList}),F(lt(o),"isPreserve",function(){return o.props.preserve}),F(lt(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}),F(lt(o),"getOnlyChild",function(s){if(typeof s=="function"){var c=o.getMeta();return B(B({},o.getOnlyChild(s(o.getControlled(),c,o.props.fieldContext))),{},{isFunction:!0})}var d=ea(s);return d.length!==1||!u.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),F(lt(o),"getValue",function(s){var c=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Jr(s||c(!0),d)}),F(lt(o),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.props,d=c.name,f=c.trigger,m=c.validateTrigger,y=c.getValueFromEvent,b=c.normalize,S=c.valuePropName,h=c.getValueProps,g=c.fieldContext,v=m!==void 0?m:g.validateTrigger,p=o.getNamePath(),C=g.getInternalHooks,w=g.getFieldsValue,x=C(wa),E=x.dispatch,R=o.getValue(),O=h||function(I){return F({},S,I)},_=s[f],A=d!==void 0?O(R):{},M=B(B({},s),A);M[f]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var I,V=arguments.length,j=new Array(V),P=0;P<V;P++)j[P]=arguments[P];y?I=y.apply(void 0,j):I=Mj.apply(void 0,[S].concat(j)),b&&(I=b(I,R,w(!0))),E({type:"updateValue",namePath:p,value:I}),_&&_.apply(void 0,j)};var D=xv(v||[]);return D.forEach(function(I){var V=M[I];M[I]=function(){V&&V.apply(void 0,arguments);var j=o.props.rules;j&&j.length&&E({type:"validateField",namePath:p,triggerName:I})}}),M}),r.fieldContext){var a=r.fieldContext.getInternalHooks,i=a(wa),l=i.initEntityValue;l(lt(o))}return o}return bn(n,[{key:"componentDidMount",value:function(){var o=this.props,a=o.shouldUpdate,i=o.fieldContext;if(this.mounted=!0,i){var l=i.getInternalHooks,s=l(wa),c=s.registerField;this.cancelRegisterFunc=c(this)}a===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var o=this.state.resetCount,a=this.props.children,i=this.getOnlyChild(a),l=i.child,s=i.isFunction,c;return s?c=l:u.isValidElement(l)?c=u.cloneElement(l,this.getControlled(l.props)):(Nn(!l,"`children` of Field is not validate ReactElement."),c=l),u.createElement(u.Fragment,{key:o},c)}}]),n}(u.Component);F($g,"contextType",Ui);F($g,"defaultProps",{trigger:"onChange",valuePropName:"value"});function OE(e){var t=e.name,n=it(e,Nj),r=u.useContext(Ui),o=u.useContext(Oc),a=t!==void 0?Xt(t):void 0,i="keep";return n.isListField||(i="_".concat((a||[]).join("_"))),u.createElement($g,be({key:i,name:a,isListField:!!o},n,{fieldContext:r}))}function Lj(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,a=e.validateTrigger,i=e.isListField,l=u.useContext(Ui),s=u.useContext(Oc),c=u.useRef({keys:[],id:0}),d=c.current,f=u.useMemo(function(){var S=Xt(l.prefixName)||[];return[].concat(ye(S),ye(Xt(t)))},[l.prefixName,t]),m=u.useMemo(function(){return B(B({},l),{},{prefixName:f})},[l,f]),y=u.useMemo(function(){return{getKey:function(h){var g=f.length,v=h[g];return[d.keys[v],h.slice(g+1)]}}},[f]);if(typeof r!="function")return Nn(!1,"Form.List only accepts function as children."),null;var b=function(h,g,v){var p=v.source;return p==="internal"?!1:h!==g};return u.createElement(Oc.Provider,{value:y},u.createElement(Ui.Provider,{value:m},u.createElement(OE,{name:[],shouldUpdate:b,rules:o,validateTrigger:a,initialValue:n,isList:!0,isListField:i??!!s},function(S,h){var g=S.value,v=g===void 0?[]:g,p=S.onChange,C=l.getFieldValue,w=function(){var O=C(f||[]);return O||[]},x={add:function(O,_){var A=w();_>=0&&_<=A.length?(d.keys=[].concat(ye(d.keys.slice(0,_)),[d.id],ye(d.keys.slice(_))),p([].concat(ye(A.slice(0,_)),[O],ye(A.slice(_))))):(d.keys=[].concat(ye(d.keys),[d.id]),p([].concat(ye(A),[O]))),d.id+=1},remove:function(O){var _=w(),A=new Set(Array.isArray(O)?O:[O]);A.size<=0||(d.keys=d.keys.filter(function(M,D){return!A.has(D)}),p(_.filter(function(M,D){return!A.has(D)})))},move:function(O,_){if(O!==_){var A=w();O<0||O>=A.length||_<0||_>=A.length||(d.keys=Iy(d.keys,O,_),p(Iy(A,O,_)))}}},E=v||[];return Array.isArray(E)||(E=[]),r(E.map(function(R,O){var _=d.keys[O];return _===void 0&&(d.keys[O]=d.id,_=d.keys[O],d.id+=1),{name:O,key:_,isListField:!0}}),x,h)})))}function Aj(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 PE="__@field_split__";function Nf(e){return e.map(function(t){return"".concat(je(t),":").concat(t)}).join(PE)}var ti=function(){function e(){yn(this,e),F(this,"kvs",new Map)}return bn(e,[{key:"set",value:function(n,r){this.kvs.set(Nf(n),r)}},{key:"get",value:function(n){return this.kvs.get(Nf(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(Nf(n))}},{key:"map",value:function(n){return ye(this.kvs.entries()).map(function(r){var o=W(r,2),a=o[0],i=o[1],l=a.split(PE);return n({key:l.map(function(s){var c=s.match(/^([^:]*):(.*)$/),d=W(c,3),f=d[1],m=d[2];return f==="number"?Number(m):m}),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}(),jj=["name"],Dj=bn(function e(t){var n=this;yn(this,e),F(this,"formHooked",!1),F(this,"forceRootUpdate",void 0),F(this,"subscribable",!0),F(this,"store",{}),F(this,"fieldEntities",[]),F(this,"initialValues",{}),F(this,"callbacks",{}),F(this,"validateMessages",null),F(this,"preserve",null),F(this,"lastValidatePromise",null),F(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}}),F(this,"getInternalHooks",function(r){return r===wa?(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}):(Nn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),F(this,"useSubscribe",function(r){n.subscribable=r}),F(this,"prevWithoutPreserves",null),F(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var a,i=Si(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=jr(i,s,Jr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),F(this,"destroyForm",function(r){if(r)n.updateStore({});else{var o=new ti;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||o.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=o}}),F(this,"getInitialValue",function(r){var o=Jr(n.initialValues,r);return r.length?Si(o):o}),F(this,"setCallbacks",function(r){n.callbacks=r}),F(this,"setValidateMessages",function(r){n.validateMessages=r}),F(this,"setPreserve",function(r){n.preserve=r}),F(this,"watchList",[]),F(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),F(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)})}}),F(this,"timeoutId",null),F(this,"warningUnhooked",function(){}),F(this,"updateStore",function(r){n.store=r}),F(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}),F(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new ti;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o}),F(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=Xt(a);return o.get(i)||{INVALIDATE_NAME_PATH:Xt(a)}})}),F(this,"getFieldsValue",function(r,o){n.warningUnhooked();var a,i,l;if(r===!0||Array.isArray(r)?(a=r,i=o):r&&je(r)==="object"&&(l=r.strict,i=r.filter),a===!0&&!i)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),c=[];return s.forEach(function(d){var f,m,y="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var b,S;if((b=(S=d).isList)!==null&&b!==void 0&&b.call(S))return}else if(!a&&(f=(m=d).isListField)!==null&&f!==void 0&&f.call(m))return;if(!i)c.push(y);else{var h="getMeta"in d?d.getMeta():null;i(h)&&c.push(y)}}),_y(n.store,c.map(Xt))}),F(this,"getFieldValue",function(r){n.warningUnhooked();var o=Xt(r);return Jr(n.store,o)}),F(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:Xt(r[i]),errors:[],warnings:[]}})}),F(this,"getFieldError",function(r){n.warningUnhooked();var o=Xt(r),a=n.getFieldsError([o])[0];return a.errors}),F(this,"getFieldWarning",function(r){n.warningUnhooked();var o=Xt(r),a=n.getFieldsError([o])[0];return a.warnings}),F(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var i=o[0],l=o[1],s,c=!1;o.length===0?s=null:o.length===1?Array.isArray(i)?(s=i.map(Xt),c=!1):(s=null,c=i):(s=i.map(Xt),c=l);var d=n.getFieldEntities(!0),f=function(h){return h.isFieldTouched()};if(!s)return c?d.every(function(S){return f(S)||S.isList()}):d.some(f);var m=new ti;s.forEach(function(S){m.set(S,[])}),d.forEach(function(S){var h=S.getNamePath();s.forEach(function(g){g.every(function(v,p){return h[p]===v})&&m.update(g,function(v){return[].concat(ye(v),[S])})})});var y=function(h){return h.some(f)},b=m.map(function(S){var h=S.value;return h});return c?b.every(y):b.some(y)}),F(this,"isFieldTouched",function(r){return n.warningUnhooked(),n.isFieldsTouched([r])}),F(this,"isFieldsValidating",function(r){n.warningUnhooked();var o=n.getFieldEntities();if(!r)return o.some(function(i){return i.isFieldValidating()});var a=r.map(Xt);return o.some(function(i){var l=i.getNamePath();return _i(a,l)&&i.isFieldValidating()})}),F(this,"isFieldValidating",function(r){return n.warningUnhooked(),n.isFieldsValidating([r])}),F(this,"resetWithFieldInitialValue",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=new ti,a=n.getFieldEntities(!0);a.forEach(function(s){var c=s.props.initialValue,d=s.getNamePath();if(c!==void 0){var f=o.get(d)||new Set;f.add({entity:s,value:c}),o.set(d,f)}});var i=function(c){c.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var m=d.getNamePath(),y=n.getInitialValue(m);if(y!==void 0)Nn(!1,"Form already set 'initialValues' with path '".concat(m.join("."),"'. Field can not overwrite it."));else{var b=o.get(m);if(b&&b.size>1)Nn(!1,"Multiple Field with path '".concat(m.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var S=n.getFieldValue(m),h=d.isListField();!h&&(!r.skipExist||S===void 0)&&n.updateStore(jr(n.store,m,ye(b)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var c=o.get(s);if(c){var d;(d=l).push.apply(d,ye(ye(c).map(function(f){return f.entity})))}})):l=a,i(l)}),F(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(Si(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(Xt);a.forEach(function(i){var l=n.getInitialValue(i);n.updateStore(jr(n.store,i,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)}),F(this,"setFields",function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var l=i.name,s=it(i,jj),c=Xt(l);a.push(c),"value"in s&&n.updateStore(jr(n.store,c,s.value)),n.notifyObservers(o,[c],{type:"setField",data:i})}),n.notifyWatch(a)}),F(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=B(B({},l),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o}),F(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Jr(n.store,a);i===void 0&&n.updateStore(jr(n.store,a,o))}}),F(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),F(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 c=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==c&&n.fieldEntities.every(function(f){return!$E(f.getNamePath(),o)})){var d=n.store;n.updateStore(jr(d,o,c,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}}),F(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}}}),F(this,"notifyObservers",function(r,o,a){if(n.subscribable){var i=B(B({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,o,i)})}else n.forceRootUpdate()}),F(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(ye(a))}),a}),F(this,"updateValue",function(r,o){var a=Xt(r),i=n.store;n.updateStore(jr(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 c=_y(n.store,[a]);s(c,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(ye(l)))}),F(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var a=Si(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),F(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o}])}),F(this,"getDependencyChildrenFields",function(r){var o=new Set,a=[],i=new ti;n.getFieldEntities().forEach(function(s){var c=s.props.dependencies;(c||[]).forEach(function(d){var f=Xt(d);i.update(f,function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return m.add(s),m})})});var l=function s(c){var d=i.get(c)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var m=f.getNamePath();f.isFieldDirty()&&m.length&&(a.push(m),s(m))}})};return l(r),a}),F(this,"triggerOnFieldsChange",function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var l=new ti;o.forEach(function(c){var d=c.name,f=c.errors;l.set(d,f)}),i.forEach(function(c){c.errors=l.get(c.name)||c.errors})}var s=i.filter(function(c){var d=c.name;return _i(r,d)});s.length&&a(s,i)}}),F(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(Xt):[],c=[],d=String(Date.now()),f=new Set,m=i||{},y=m.recursive,b=m.dirty;n.getFieldEntities(!0).forEach(function(v){if(l||s.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(b&&!v.isFieldDirty())){var p=v.getNamePath();if(f.add(p.join(d)),!l||_i(s,p,y)){var C=v.validateRules(B({validateMessages:B(B({},RE),n.validateMessages)},i));c.push(C.then(function(){return{name:p,errors:[],warnings:[]}}).catch(function(w){var x,E=[],R=[];return(x=w.forEach)===null||x===void 0||x.call(w,function(O){var _=O.rule.warningOnly,A=O.errors;_?R.push.apply(R,ye(A)):E.push.apply(E,ye(A))}),E.length?Promise.reject({name:p,errors:E,warnings:R}):{name:p,errors:E,warnings:R}}))}}});var S=Aj(c);n.lastValidatePromise=S,S.catch(function(v){return v}).then(function(v){var p=v.map(function(C){var w=C.name;return w});n.notifyObservers(n.store,p,{type:"validateFinish"}),n.triggerOnFieldsChange(p,v)});var h=S.then(function(){return n.lastValidatePromise===S?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(v){var p=v.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:p,outOfDate:n.lastValidatePromise!==S})});h.catch(function(v){return v});var g=s.filter(function(v){return f.has(v.join(d))});return n.triggerOnFieldsChange(g),h}),F(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(a){console.error(a)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function _E(e){var t=u.useRef(),n=u.useState({}),r=W(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new Dj(a);t.current=i.getForm()}return[t.current]}var Nv=u.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),IE=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=u.useContext(Nv),l=u.useRef({});return u.createElement(Nv.Provider,{value:B(B({},i),{},{validateMessages:B(B({},i.validateMessages),n),triggerFormChange:function(c,d){r&&r(c,{changedFields:d,forms:l.current}),i.triggerFormChange(c,d)},triggerFormFinish:function(c,d){o&&o(c,{values:d,forms:l.current}),i.triggerFormFinish(c,d)},registerForm:function(c,d){c&&(l.current=B(B({},l.current),{},F({},c,d))),i.registerForm(c,d)},unregisterForm:function(c){var d=B({},l.current);delete d[c],l.current=d,i.unregisterForm(c)}})},a)},Fj=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],zj=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,c=t.component,d=c===void 0?"form":c,f=t.validateMessages,m=t.validateTrigger,y=m===void 0?"onChange":m,b=t.onValuesChange,S=t.onFieldsChange,h=t.onFinish,g=t.onFinishFailed,v=t.clearOnDestroy,p=it(t,Fj),C=u.useRef(null),w=u.useContext(Nv),x=_E(i),E=W(x,1),R=E[0],O=R.getInternalHooks(wa),_=O.useSubscribe,A=O.setInitialValues,M=O.setCallbacks,D=O.setValidateMessages,I=O.setPreserve,V=O.destroyForm;u.useImperativeHandle(n,function(){return B(B({},R),{},{nativeElement:C.current})}),u.useEffect(function(){return w.registerForm(r,R),function(){w.unregisterForm(r)}},[w,R,r]),D(B(B({},w.validateMessages),f)),M({onValuesChange:b,onFieldsChange:function(U){if(w.triggerFormChange(r,U),S){for(var G=arguments.length,ee=new Array(G>1?G-1:0),Q=1;Q<G;Q++)ee[Q-1]=arguments[Q];S.apply(void 0,[U].concat(ee))}},onFinish:function(U){w.triggerFormFinish(r,U),h&&h(U)},onFinishFailed:g}),I(l);var j=u.useRef(null);A(o,!j.current),j.current||(j.current=!0),u.useEffect(function(){return function(){return V(v)}},[]);var P,$=typeof s=="function";if($){var L=R.getFieldsValue(!0);P=s(L,R)}else P=s;_(!$);var N=u.useRef();u.useEffect(function(){Tj(N.current||[],a||[])||R.setFields(a||[]),N.current=a},[a,R]);var T=u.useMemo(function(){return B(B({},R),{},{validateTrigger:y})},[R,y]),k=u.createElement(Oc.Provider,{value:null},u.createElement(Ui.Provider,{value:T},P));return d===!1?k:u.createElement(d,be({},p,{ref:C,onSubmit:function(U){U.preventDefault(),U.stopPropagation(),R.submit()},onReset:function(U){var G;U.preventDefault(),R.resetFields(),(G=p.onReset)===null||G===void 0||G.call(p,U)}}),k)};function My(e){try{return JSON.stringify(e)}catch{return Math.random()}}function Bj(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],a=o===void 0?{}:o,i=QA(a)?{form:a}:a,l=i.form,s=u.useState(),c=W(s,2),d=c[0],f=c[1],m=u.useMemo(function(){return My(d)},[d]),y=u.useRef(m);y.current=m;var b=u.useContext(Ui),S=l||b,h=S&&S._init,g=Xt(r),v=u.useRef(g);return v.current=g,u.useEffect(function(){if(h){var p=S.getFieldsValue,C=S.getInternalHooks,w=C(wa),x=w.registerWatch,E=function(A,M){var D=i.preserve?M:A;return typeof r=="function"?r(D):Jr(D,v.current)},R=x(function(_,A){var M=E(_,A),D=My(M);y.current!==D&&(y.current=D,f(M))}),O=E(p(),p(!0));return d!==O&&f(O),R}},[h]),d}var kj=u.forwardRef(zj),Ns=kj;Ns.FormProvider=IE;Ns.Field=OE;Ns.List=Lj;Ns.useForm=_E;Ns.useWatch=Bj;const Vk=u.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),Wk=u.createContext(null),Uk=e=>{const t=mr(e,["prefixCls"]);return u.createElement(IE,Object.assign({},t))},Gk=u.createContext({prefixCls:""}),So=u.createContext({}),Hj=e=>{let{children:t,status:n,override:r}=e;const o=u.useContext(So),a=u.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 u.createElement(So.Provider,{value:a},t)},Vj=u.createContext(void 0),Lv=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let o=r;return n&&(o=K.createElement(Hj,{override:!0,status:!0},o)),t&&(o=K.createElement(oA,null,o)),o};function Ny(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function Ly(e){const{closable:t,closeIcon:n}=e||{};return K.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function Ay(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(o=>{o&&Object.keys(o).forEach(a=>{o[a]!==void 0&&(e[a]=o[a])})}),e}const Wj={};function Uj(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wj;const r=Ly(e),o=Ly(t),a=K.useMemo(()=>Object.assign({closeIcon:K.createElement(_s,null)},n),[n]),i=K.useMemo(()=>r===!1?!1:r?Ay(a,o,r):o===!1?!1:o?Ay(a,o):a.closable?a:!1,[r,o,a]);return K.useMemo(()=>{if(i===!1)return[!1,null];const{closeIconRender:l}=a,{closeIcon:s}=i;let c=s;if(c!=null){l&&(c=l(s));const d=ta(i,!0);Object.keys(d).length&&(c=K.isValidElement(c)?K.cloneElement(c,d):K.createElement("span",Object.assign({},d),c))}return[!0,c]},[i,a])}const Gj=()=>Fn()&&window.document.documentElement,yd=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:a}=e,i=q({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=q({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),s=u.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return u.createElement("span",{className:q(t,i,l,n),style:Object.assign(Object.assign({},s),r)})},Kj=new yt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),bd=e=>({height:e,lineHeight:Z(e)}),Ii=e=>Object.assign({width:e},bd(e)),qj=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Kj,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Lf=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},bd(e)),Qj=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Ii(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Ii(o)),[`${t}${t}-sm`]:Object.assign({},Ii(a))}},Xj=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},Lf(t,l)),[`${r}-lg`]:Object.assign({},Lf(o,l)),[`${r}-sm`]:Object.assign({},Lf(a,l))}},jy=e=>Object.assign({width:e},bd(e)),Yj=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},jy(a(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},jy(n)),{maxWidth:a(n).mul(4).equal(),maxHeight:a(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Af=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},jf=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},bd(e)),Jj=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:l}=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:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},jf(r,l))},Af(e,r,n)),{[`${n}-lg`]:Object.assign({},jf(o,l))}),Af(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},jf(a,l))}),Af(e,a,`${n}-sm`))},Zj=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:d,gradientFromColor:f,padding:m,marginSM:y,borderRadius:b,titleHeight:S,blockRadius:h,paragraphLiHeight:g,controlHeightXS:v,paragraphMarginTop:p}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},Ii(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Ii(c)),[`${n}-sm`]:Object.assign({},Ii(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:S,background:f,borderRadius:h,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:g,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:v}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:b}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:y,[`+ ${o}`]:{marginBlockStart:p}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Jj(e)),Qj(e)),Xj(e)),Yj(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
        ${r},
        ${o} > li,
        ${n},
        ${a},
        ${i},
        ${l}
      `]:Object.assign({},qj(e))}}},eD=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},el=Ir("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Gt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Zj(r)]},eD,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),tD=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:l}=u.useContext(ft),s=l("skeleton",t),[c,d,f]=el(s),m=mr(e,["prefixCls","className"]),y=q(s,`${s}-element`,{[`${s}-active`]:o},n,r,d,f);return c(u.createElement("div",{className:y},u.createElement(yd,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:i},m))))},nD=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:l}=u.useContext(ft),s=l("skeleton",t),[c,d,f]=el(s),m=mr(e,["prefixCls"]),y=q(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d,f);return c(u.createElement("div",{className:y},u.createElement(yd,Object.assign({prefixCls:`${s}-button`,size:i},m))))},rD="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",oD=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=u.useContext(ft),l=i("skeleton",t),[s,c,d]=el(l),f=q(l,`${l}-element`,{[`${l}-active`]:a},n,r,c,d);return s(u.createElement("div",{className:f},u.createElement("div",{className:q(`${l}-image`,n),style:o},u.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},u.createElement("title",null,"Image placeholder"),u.createElement("path",{d:rD,className:`${l}-image-path`})))))},aD=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:l}=u.useContext(ft),s=l("skeleton",t),[c,d,f]=el(s),m=mr(e,["prefixCls"]),y=q(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},n,r,d,f);return c(u.createElement("div",{className:y},u.createElement(yd,Object.assign({prefixCls:`${s}-input`,size:i},m))))};var iD={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"},lD=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:iD}))},sD=u.forwardRef(lD);const uD=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:l}=u.useContext(ft),s=l("skeleton",t),[c,d,f]=el(s),m=q(s,`${s}-element`,{[`${s}-active`]:a},d,n,r,f),y=i??u.createElement(sD,null);return c(u.createElement("div",{className:m},u.createElement("div",{className:q(`${s}-image`,n),style:o},y)))},cD=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},dD=e=>{const{prefixCls:t,className:n,style:r,rows:o}=e,a=ye(Array(o)).map((i,l)=>u.createElement("li",{key:l,style:{width:cD(l,e)}}));return u.createElement("ul",{className:q(t,n),style:r},a)},fD=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return u.createElement("h3",{className:q(t,n),style:Object.assign({width:r},o)})};function Df(e){return e&&typeof e=="object"?e:{}}function mD(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function vD(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function pD(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ka=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:l=!1,title:s=!0,paragraph:c=!0,active:d,round:f}=e,{getPrefixCls:m,direction:y,skeleton:b}=u.useContext(ft),S=m("skeleton",t),[h,g,v]=el(S);if(n||!("loading"in e)){const p=!!l,C=!!s,w=!!c;let x;if(p){const O=Object.assign(Object.assign({prefixCls:`${S}-avatar`},mD(C,w)),Df(l));x=u.createElement("div",{className:`${S}-header`},u.createElement(yd,Object.assign({},O)))}let E;if(C||w){let O;if(C){const A=Object.assign(Object.assign({prefixCls:`${S}-title`},vD(p,w)),Df(s));O=u.createElement(fD,Object.assign({},A))}let _;if(w){const A=Object.assign(Object.assign({prefixCls:`${S}-paragraph`},pD(p,C)),Df(c));_=u.createElement(dD,Object.assign({},A))}E=u.createElement("div",{className:`${S}-content`},O,_)}const R=q(S,{[`${S}-with-avatar`]:p,[`${S}-active`]:d,[`${S}-rtl`]:y==="rtl",[`${S}-round`]:f},b==null?void 0:b.className,r,o,g,v);return h(u.createElement("div",{className:R,style:Object.assign(Object.assign({},b==null?void 0:b.style),a)},x,E))}return i??null};Ka.Button=nD;Ka.Avatar=tD;Ka.Input=aD;Ka.Image=oD;Ka.Node=uD;function Dy(){}const gD=u.createContext({add:Dy,remove:Dy});function hD(e){const t=u.useContext(gD),n=u.useRef();return nn(o=>{if(o){const a=e?o.querySelector(e):o;t.add(a),n.current=a}else t.remove(n.current)})}const Fy=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=u.useContext(Ts);return K.createElement(Mn,Object.assign({onClick:n},e),t)},zy=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=u.useContext(Ts);return K.createElement(Mn,Object.assign({},uE(n),{loading:e,onClick:o},t),r)};function TE(e,t){return K.createElement("span",{className:`${e}-close-x`},t||K.createElement(_s,{className:`${e}-close-icon`}))}const ME=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:a,onCancel:i,okButtonProps:l,cancelButtonProps:s,footer:c}=e,[d]=md("Modal",yw()),f=t||(d==null?void 0:d.okText),m=r||(d==null?void 0:d.cancelText),y={confirmLoading:o,okButtonProps:l,cancelButtonProps:s,okTextLocale:f,cancelTextLocale:m,okType:n,onOk:a,onCancel:i},b=K.useMemo(()=>y,ye(Object.values(y)));let S;return typeof c=="function"||typeof c>"u"?(S=K.createElement(K.Fragment,null,K.createElement(Fy,null),K.createElement(zy,null)),typeof c=="function"&&(S=c(S,{OkBtn:zy,CancelBtn:Fy})),S=K.createElement(gE,{value:b},S)):S=c,K.createElement(Rw,{disabled:!1},S)},yD=e=>({animationDuration:e,animationFillMode:"both"}),bD=e=>({animationDuration:e,animationFillMode:"both"}),Sd=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({},yD(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},bD(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"}}},SD=new yt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),CD=new yt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),wD=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Sd(r,SD,CD,e.motionDurationMid,t),{[`
        ${o}${r}-enter,
        ${o}${r}-appear
      `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},ED=new yt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xD=new yt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),RD=new yt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$D=new yt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),OD=new yt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),PD=new yt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),_D=new yt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ID=new yt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),TD={"move-up":{inKeyframes:_D,outKeyframes:ID},"move-down":{inKeyframes:ED,outKeyframes:xD},"move-left":{inKeyframes:RD,outKeyframes:$D},"move-right":{inKeyframes:OD,outKeyframes:PD}},By=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=TD[t];return[Sd(r,o,a,e.motionDurationMid),{[`
        ${r}-enter,
        ${r}-appear
      `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},NE=new yt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),LE=new yt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),AE=new yt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),jE=new yt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),MD=new yt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ND=new yt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),LD=new yt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),AD=new yt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),jD={"slide-up":{inKeyframes:NE,outKeyframes:LE},"slide-down":{inKeyframes:AE,outKeyframes:jE},"slide-left":{inKeyframes:MD,outKeyframes:ND},"slide-right":{inKeyframes:LD,outKeyframes:AD}},Pc=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=jD[t];return[Sd(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}}]},DD=new yt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),FD=new yt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ky=new yt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Hy=new yt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),zD=new yt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),BD=new yt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),kD=new yt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),HD=new yt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),VD=new yt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),WD=new yt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),UD=new yt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),GD=new yt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),KD={zoom:{inKeyframes:DD,outKeyframes:FD},"zoom-big":{inKeyframes:ky,outKeyframes:Hy},"zoom-big-fast":{inKeyframes:ky,outKeyframes:Hy},"zoom-left":{inKeyframes:kD,outKeyframes:HD},"zoom-right":{inKeyframes:VD,outKeyframes:WD},"zoom-up":{inKeyframes:zD,outKeyframes:BD},"zoom-down":{inKeyframes:UD,outKeyframes:GD}},qD=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=KD[t];return[Sd(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}}]};function Vy(e){return{position:e,inset:0}}const QD=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({},Vy("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Vy("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:wD(e)}]},XD=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${Z(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},no(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Z(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${Z(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},vd(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${Z(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
          ${t}-body,
          ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},YD=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},DE=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Gt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},FE=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Z(e.paddingMD)} ${Z(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Z(e.padding)} ${Z(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Z(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Z(e.paddingXS)} ${Z(e.padding)}`:0,footerBorderTop:e.wireframe?`${Z(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Z(e.padding*2)} ${Z(e.padding*2)} ${Z(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),zE=Ir("Modal",e=>{const t=DE(e);return[XD(t),YD(t),QD(t),qD(t,"zoom")]},FE,{unitless:{titleLineHeight:!0}});var JD=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Av;const ZD=e=>{Av={x:e.pageX,y:e.pageY},setTimeout(()=>{Av=null},100)};Gj()&&document.documentElement.addEventListener("click",ZD,!0);const BE=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:a}=u.useContext(ft),i=k=>{const{onCancel:H}=e;H==null||H(k)},l=k=>{const{onOk:H}=e;H==null||H(k)},{prefixCls:s,className:c,rootClassName:d,open:f,wrapClassName:m,centered:y,getContainer:b,focusTriggerAfterClose:S=!0,style:h,visible:g,width:v=520,footer:p,classNames:C,styles:w,children:x,loading:E}=e,R=JD(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),O=r("modal",s),_=r(),A=Ua(O),[M,D,I]=zE(O,A),V=q(m,{[`${O}-centered`]:!!y,[`${O}-wrap-rtl`]:o==="rtl"}),j=p!==null&&!E?u.createElement(ME,Object.assign({},e,{onOk:l,onCancel:i})):null,[P,$]=Uj(Ny(e),Ny(a),{closable:!0,closeIcon:u.createElement(_s,{className:`${O}-close-icon`}),closeIconRender:k=>TE(O,k)}),L=hD(`.${O}-content`),[N,T]=rE("Modal",R.zIndex);return M(u.createElement(Lv,{form:!0,space:!0},u.createElement(eE.Provider,{value:T},u.createElement(EE,Object.assign({width:v},R,{zIndex:N,getContainer:b===void 0?n:b,prefixCls:O,rootClassName:q(D,d,I,A),footer:j,visible:f??g,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:Av,onClose:i,closable:P,closeIcon:$,focusTriggerAfterClose:S,transitionName:Wi(_,"zoom",e.transitionName),maskTransitionName:Wi(_,"fade",e.maskTransitionName),className:q(D,c,a==null?void 0:a.className),style:Object.assign(Object.assign({},a==null?void 0:a.style),h),classNames:Object.assign(Object.assign(Object.assign({},a==null?void 0:a.classNames),C),{wrapper:q(V,C==null?void 0:C.wrapper)}),styles:Object.assign(Object.assign({},a==null?void 0:a.styles),w),panelRef:L}),E?u.createElement(Ka,{active:!0,title:!1,paragraph:{rows:4},className:`${O}-body-skeleton`}):x))))},e4=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:a,lineHeight:i,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:c}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},Ji()),[`&${t} ${t}-body`]:{padding:c},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${Z(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:a,lineHeight:i},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls},
        ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},t4=Lw(["Modal","confirm"],e=>{const t=DE(e);return[e4(t)]},FE,{order:-1e3});var n4=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function kE(e){const{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:a,type:i,okCancel:l,footer:s,locale:c}=e,d=n4(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let f=n;if(!n&&n!==null)switch(i){case"info":f=u.createElement(EL,null);break;case"success":f=u.createElement(mL,null);break;case"error":f=u.createElement(Sg,null);break;default:f=u.createElement(SL,null)}const m=l??i==="confirm",y=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",[b]=md("Modal"),S=c||b,h=r||(m?S==null?void 0:S.okText:S==null?void 0:S.justOkText),g=o||(S==null?void 0:S.cancelText),v=Object.assign({autoFocusButton:y,cancelTextLocale:g,okTextLocale:h,mergedOkCancel:m},d),p=u.useMemo(()=>v,ye(Object.values(v))),C=u.createElement(u.Fragment,null,u.createElement(fy,null),u.createElement(my,null)),w=e.title!==void 0&&e.title!==null,x=`${a}-body`;return u.createElement("div",{className:`${a}-body-wrapper`},u.createElement("div",{className:q(x,{[`${x}-has-title`]:w})},f,u.createElement("div",{className:`${a}-paragraph`},w&&u.createElement("span",{className:`${a}-title`},e.title),u.createElement("div",{className:`${a}-content`},e.content))),s===void 0||typeof s=="function"?u.createElement(gE,{value:p},u.createElement("div",{className:`${a}-btns`},typeof s=="function"?s(C,{OkBtn:my,CancelBtn:fy}):C)):s,u.createElement(t4,{prefixCls:t}))}const r4=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:a,centered:i,getContainer:l,maskStyle:s,direction:c,prefixCls:d,wrapClassName:f,rootPrefixCls:m,bodyStyle:y,closable:b=!1,closeIcon:S,modalRender:h,focusTriggerAfterClose:g,onConfirm:v,styles:p}=e,C=`${d}-confirm`,w=e.width||416,x=e.style||{},E=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,O=q(C,`${C}-${e.type}`,{[`${C}-rtl`]:c==="rtl"},e.className),[,_]=cr(),A=u.useMemo(()=>n!==void 0?n:_.zIndexPopupBase+tE,[n,_]);return u.createElement(BE,{prefixCls:d,className:O,wrapClassName:q({[`${C}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),v==null||v(!1)},open:o,title:"",footer:null,transitionName:Wi(m||"","zoom",e.transitionName),maskTransitionName:Wi(m||"","fade",e.maskTransitionName),mask:E,maskClosable:R,style:x,styles:Object.assign({body:y,mask:s},p),width:w,zIndex:A,afterClose:r,keyboard:a,centered:i,getContainer:l,closable:b,closeIcon:S,modalRender:h,focusTriggerAfterClose:g},u.createElement(kE,Object.assign({},e,{confirmPrefixCls:C})))},HE=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return u.createElement(ro,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},u.createElement(r4,Object.assign({},e)))},Ea=[];let VE="";function WE(){return VE}const o4=e=>{var t,n;const{prefixCls:r,getContainer:o,direction:a}=e,i=yw(),l=u.useContext(ft),s=WE()||l.getPrefixCls(),c=r||`${s}-modal`;let d=o;return d===!1&&(d=void 0),K.createElement(HE,Object.assign({},e,{rootPrefixCls:s,prefixCls:c,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:a??l.direction,locale:(n=(t=l.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:i,getContainer:d}))};function Ls(e){const t=ZN(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),o;function a(){for(var c,d=arguments.length,f=new Array(d),m=0;m<d;m++)f[m]=arguments[m];if(f.some(S=>S==null?void 0:S.triggerCancel)){var b;(c=e.onCancel)===null||c===void 0||(b=c).call.apply(b,[e,()=>{}].concat(ye(f.slice(1))))}for(let S=0;S<Ea.length;S++)if(Ea[S]===l){Ea.splice(S,1);break}aE(n)}function i(c){clearTimeout(o),o=setTimeout(()=>{const d=t.getPrefixCls(void 0,WE()),f=t.getIconPrefixCls(),m=t.getTheme(),y=K.createElement(o4,Object.assign({},c));oE(K.createElement(ro,{prefixCls:d,iconPrefixCls:f,theme:m},t.holderRender?t.holderRender(y):y),n)})}function l(){for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];r=Object.assign(Object.assign({},r),{open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,d)}}),r.visible&&delete r.visible,i(r)}function s(c){typeof c=="function"?r=c(r):r=Object.assign(Object.assign({},r),c),i(r)}return i(r),Ea.push(l),{destroy:l,update:s}}function UE(e){return Object.assign(Object.assign({},e),{type:"warning"})}function GE(e){return Object.assign(Object.assign({},e),{type:"info"})}function KE(e){return Object.assign(Object.assign({},e),{type:"success"})}function qE(e){return Object.assign(Object.assign({},e),{type:"error"})}function QE(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function a4(e){let{rootPrefixCls:t}=e;VE=t}var i4=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const l4=(e,t)=>{var n,{afterClose:r,config:o}=e,a=i4(e,["afterClose","config"]);const[i,l]=u.useState(!0),[s,c]=u.useState(o),{direction:d,getPrefixCls:f}=u.useContext(ft),m=f("modal"),y=f(),b=()=>{var v;r(),(v=s.afterClose)===null||v===void 0||v.call(s)},S=function(){var v;l(!1);for(var p=arguments.length,C=new Array(p),w=0;w<p;w++)C[w]=arguments[w];if(C.some(R=>R==null?void 0:R.triggerCancel)){var E;(v=s.onCancel)===null||v===void 0||(E=v).call.apply(E,[s,()=>{}].concat(ye(C.slice(1))))}};u.useImperativeHandle(t,()=>({destroy:S,update:v=>{c(p=>Object.assign(Object.assign({},p),v))}}));const h=(n=s.okCancel)!==null&&n!==void 0?n:s.type==="confirm",[g]=md("Modal",Da.Modal);return u.createElement(HE,Object.assign({prefixCls:m,rootPrefixCls:y},s,{close:S,open:i,afterClose:b,okText:s.okText||(h?g==null?void 0:g.okText:g==null?void 0:g.justOkText),direction:s.direction||d,cancelText:s.cancelText||(g==null?void 0:g.cancelText)},a))},s4=u.forwardRef(l4);let Wy=0;const u4=u.memo(u.forwardRef((e,t)=>{const[n,r]=jL();return u.useImperativeHandle(t,()=>({patchElement:r}),[]),u.createElement(u.Fragment,null,n)}));function c4(){const e=u.useRef(null),[t,n]=u.useState([]);u.useEffect(()=>{t.length&&(ye(t).forEach(i=>{i()}),n([]))},[t]);const r=u.useCallback(a=>function(l){var s;Wy+=1;const c=u.createRef();let d;const f=new Promise(h=>{d=h});let m=!1,y;const b=u.createElement(s4,{key:`modal-${Wy}`,config:a(l),ref:c,afterClose:()=>{y==null||y()},isSilent:()=>m,onConfirm:h=>{d(h)}});return y=(s=e.current)===null||s===void 0?void 0:s.patchElement(b),y&&Ea.push(y),{destroy:()=>{function h(){var g;(g=c.current)===null||g===void 0||g.destroy()}c.current?h():n(g=>[].concat(ye(g),[h]))},update:h=>{function g(){var v;(v=c.current)===null||v===void 0||v.update(h)}c.current?g():n(v=>[].concat(ye(v),[g]))},then:h=>(m=!0,f.then(h))}},[]);return[u.useMemo(()=>({info:r(GE),success:r(KE),error:r(qE),warning:r(UE),confirm:r(QE)}),[]),u.createElement(u4,{key:"modal-holder",ref:e})]}function XE(e){return t=>u.createElement(ro,{theme:{token:{motion:!1,zIndexPopupBase:0}}},u.createElement(e,Object.assign({},t)))}const d4=(e,t,n,r)=>XE(a=>{const{prefixCls:i,style:l}=a,s=u.useRef(null),[c,d]=u.useState(0),[f,m]=u.useState(0),[y,b]=lr(!1,{value:a.open}),{getPrefixCls:S}=u.useContext(ft),h=S(t||"select",i);u.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const p=new ResizeObserver(w=>{const x=w[0].target;d(x.offsetHeight+8),m(x.offsetWidth)}),C=setInterval(()=>{var w;const x=n?`.${n(h)}`:`.${h}-dropdown`,E=(w=s.current)===null||w===void 0?void 0:w.querySelector(x);E&&(clearInterval(C),p.observe(E))},10);return()=>{clearInterval(C),p.disconnect()}}},[]);let g=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},l),{margin:0}),open:y,visible:y,getPopupContainer:()=>s.current});r&&(g=r(g));const v={paddingBottom:c,position:"relative",minWidth:f};return u.createElement("div",{ref:s,style:v},u.createElement(e,Object.assign({},g)))}),Og=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 Cd=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,a=t.children,i=t.onMouseDown,l=t.onClick,s=typeof r=="function"?r(o):r;return u.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),i==null||i(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},s!==void 0?s:u.createElement("span",{className:q(n.split(/\s+/).map(function(c){return"".concat(c,"-icon")}))},a))},f4=function(t,n,r,o,a){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,c=K.useMemo(function(){if(je(o)==="object")return o.clearIcon;if(a)return a},[o,a]),d=K.useMemo(function(){return!!(!i&&o&&(r.length||l)&&!(s==="combobox"&&l===""))},[o,i,r.length,l,s]);return{allowClear:d,clearIcon:K.createElement(Cd,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:c},"×")}},YE=u.createContext(null);function m4(){return u.useContext(YE)}function v4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=u.useState(!1),n=W(t,2),r=n[0],o=n[1],a=u.useRef(null),i=function(){window.clearTimeout(a.current)};u.useEffect(function(){return i},[]);var l=function(c,d){i(),a.current=window.setTimeout(function(){o(c),d&&d()},e)};return[r,l,i]}function JE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=u.useRef(null),n=u.useRef(null);u.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 p4(e,t,n,r){var o=u.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},u.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(c){return c}).every(function(c){return!c.contains(s)&&c!==s})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",a),function(){return window.removeEventListener("mousedown",a)}},[])}function g4(e){return![re.ESC,re.SHIFT,re.BACKSPACE,re.TAB,re.WIN_KEY,re.ALT,re.META,re.WIN_KEY_RIGHT,re.CTRL,re.SEMICOLON,re.EQUALS,re.CAPS_LOCK,re.CONTEXT_MENU,re.F1,re.F2,re.F3,re.F4,re.F5,re.F6,re.F7,re.F8,re.F9,re.F10,re.F11,re.F12].includes(e)}var h4=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ni=void 0;function y4(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,l=e.responsiveDisabled,s=e.registerSize,c=e.itemKey,d=e.className,f=e.style,m=e.children,y=e.display,b=e.order,S=e.component,h=S===void 0?"div":S,g=it(e,h4),v=i&&!y;function p(R){s(c,R)}u.useEffect(function(){return function(){p(null)}},[]);var C=a&&o!==ni?a(o):m,w;r||(w={opacity:v?0:1,height:v?0:ni,overflowY:v?"hidden":ni,order:i?b:ni,pointerEvents:v?"none":ni,position:v?"absolute":ni});var x={};v&&(x["aria-hidden"]=!0);var E=u.createElement(h,be({className:q(!r&&n,d),style:B(B({},w),f)},x,g,{ref:t}),C);return i&&(E=u.createElement(kr,{onResize:function(O){var _=O.offsetWidth;p(_)},disabled:l},E)),E}var Bl=u.forwardRef(y4);Bl.displayName="Item";function b4(e){if(typeof MessageChannel>"u")Rt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function S4(){var e=u.useRef(null),t=function(r){e.current||(e.current=[],b4(function(){Zo.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function vl(e,t){var n=u.useState(t),r=W(n,2),o=r[0],a=r[1],i=nn(function(l){e(function(){a(l)})});return[o,i]}var _c=K.createContext(null),C4=["component"],w4=["className"],E4=["className"],x4=function(t,n){var r=u.useContext(_c);if(!r){var o=t.component,a=o===void 0?"div":o,i=it(t,C4);return u.createElement(a,be({},i,{ref:n}))}var l=r.className,s=it(r,w4),c=t.className,d=it(t,E4);return u.createElement(_c.Provider,{value:null},u.createElement(Bl,be({ref:n,className:q(l,c)},s,d)))},ZE=u.forwardRef(x4);ZE.displayName="RawItem";var R4=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ex="responsive",tx="invalidate";function $4(e){return"+ ".concat(e.length," ...")}function O4(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,c=e.itemWidth,d=c===void 0?10:c,f=e.ssr,m=e.style,y=e.className,b=e.maxCount,S=e.renderRest,h=e.renderRawRest,g=e.suffix,v=e.component,p=v===void 0?"div":v,C=e.itemComponent,w=e.onVisibleChange,x=it(e,R4),E=f==="full",R=S4(),O=vl(R,null),_=W(O,2),A=_[0],M=_[1],D=A||0,I=vl(R,new Map),V=W(I,2),j=V[0],P=V[1],$=vl(R,0),L=W($,2),N=L[0],T=L[1],k=vl(R,0),H=W(k,2),U=H[0],G=H[1],ee=vl(R,0),Q=W(ee,2),ae=Q[0],ce=Q[1],ne=u.useState(null),X=W(ne,2),te=X[0],ie=X[1],J=u.useState(null),oe=W(J,2),fe=oe[0],Pe=oe[1],ve=u.useMemo(function(){return fe===null&&E?Number.MAX_SAFE_INTEGER:fe||0},[fe,A]),le=u.useState(!1),me=W(le,2),se=me[0],Ee=me[1],Le="".concat(r,"-item"),Se=Math.max(N,U),De=b===ex,pe=a.length&&De,ot=b===tx,Be=pe||typeof b=="number"&&a.length>b,xe=u.useMemo(function(){var Ae=a;return pe?A===null&&E?Ae=a:Ae=a.slice(0,Math.min(a.length,D/d)):typeof b=="number"&&(Ae=a.slice(0,b)),Ae},[a,d,A,b,pe]),Ce=u.useMemo(function(){return pe?a.slice(ve+1):a.slice(xe.length)},[a,xe,pe,ve]),Ve=u.useCallback(function(Ae,ge){var Ye;return typeof s=="function"?s(Ae):(Ye=s&&(Ae==null?void 0:Ae[s]))!==null&&Ye!==void 0?Ye:ge},[s]),ke=u.useCallback(i||function(Ae){return Ae},[i]);function tt(Ae,ge,Ye){fe===Ae&&(ge===void 0||ge===te)||(Pe(Ae),Ye||(Ee(Ae<a.length-1),w==null||w(Ae)),ge!==void 0&&ie(ge))}function vt(Ae,ge){M(ge.clientWidth)}function dt(Ae,ge){P(function(Ye){var nt=new Map(Ye);return ge===null?nt.delete(Ae):nt.set(Ae,ge),nt})}function Qe(Ae,ge){G(ge),T(U)}function ut(Ae,ge){ce(ge)}function ct(Ae){return j.get(Ve(xe[Ae],Ae))}zt(function(){if(D&&typeof Se=="number"&&xe){var Ae=ae,ge=xe.length,Ye=ge-1;if(!ge){tt(0,null);return}for(var nt=0;nt<ge;nt+=1){var de=ct(nt);if(E&&(de=de||0),de===void 0){tt(nt-1,void 0,!0);break}if(Ae+=de,Ye===0&&Ae<=D||nt===Ye-1&&Ae+ct(Ye)<=D){tt(Ye,null);break}else if(Ae+Se>D){tt(nt-1,Ae-de-ae+U);break}}g&&ct(0)+ae>D&&ie(null)}},[D,j,U,ae,Ve,xe]);var Lt=se&&!!Ce.length,bt={};te!==null&&pe&&(bt={position:"absolute",left:te,top:0});var Et={prefixCls:Le,responsive:pe,component:C,invalidate:ot},Dt=l?function(Ae,ge){var Ye=Ve(Ae,ge);return u.createElement(_c.Provider,{key:Ye,value:B(B({},Et),{},{order:ge,item:Ae,itemKey:Ye,registerSize:dt,display:ge<=ve})},l(Ae,ge))}:function(Ae,ge){var Ye=Ve(Ae,ge);return u.createElement(Bl,be({},Et,{order:ge,key:Ye,item:Ae,renderItem:ke,itemKey:Ye,registerSize:dt,display:ge<=ve}))},St,Ze={order:Lt?ve:Number.MAX_SAFE_INTEGER,className:"".concat(Le,"-rest"),registerSize:Qe,display:Lt};if(h)h&&(St=u.createElement(_c.Provider,{value:B(B({},Et),Ze)},h(Ce)));else{var ze=S||$4;St=u.createElement(Bl,be({},Et,Ze),typeof ze=="function"?ze(Ce):ze)}var He=u.createElement(p,be({className:q(!ot&&r,y),style:m,ref:t},x),xe.map(Dt),Be?St:null,g&&u.createElement(Bl,be({},Et,{responsive:De,responsiveDisabled:!pe,order:ve,className:"".concat(Le,"-suffix"),registerSize:ut,display:!0,style:bt}),g));return De&&(He=u.createElement(kr,{onResize:vt,disabled:!pe},He)),He}var to=u.forwardRef(O4);to.displayName="Overflow";to.Item=ZE;to.RESPONSIVE=ex;to.INVALIDATE=tx;var P4=function(t,n){var r,o=t.prefixCls,a=t.id,i=t.inputElement,l=t.disabled,s=t.tabIndex,c=t.autoFocus,d=t.autoComplete,f=t.editable,m=t.activeDescendantId,y=t.value,b=t.maxLength,S=t.onKeyDown,h=t.onMouseDown,g=t.onChange,v=t.onPaste,p=t.onCompositionStart,C=t.onCompositionEnd,w=t.open,x=t.attrs,E=i||u.createElement("input",null),R=E,O=R.ref,_=R.props,A=_.onKeyDown,M=_.onChange,D=_.onMouseDown,I=_.onCompositionStart,V=_.onCompositionEnd,j=_.style;return"maxLength"in E.props,E=u.cloneElement(E,B(B(B({type:"search"},_),{},{id:a,ref:Gr(n,O),disabled:l,tabIndex:s,autoComplete:d||"off",autoFocus:c,className:q("".concat(o,"-selection-search-input"),(r=E)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":w||!1,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":w?m:void 0},x),{},{value:f?y:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:B(B({},j),{},{opacity:f?null:0}),onKeyDown:function($){S($),A&&A($)},onMouseDown:function($){h($),D&&D($)},onChange:function($){g($),M&&M($)},onCompositionStart:function($){p($),I&&I($)},onCompositionEnd:function($){C($),V&&V($)},onPaste:v})),E},nx=u.forwardRef(P4);function rx(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var _4=typeof window<"u"&&window.document&&window.document.documentElement,I4=_4;function T4(e){return e!=null}function M4(e){return!e&&e!==0}function Uy(e){return["string","number"].includes(je(e))}function ox(e){var t=void 0;return e&&(Uy(e.title)?t=e.title.toString():Uy(e.label)&&(t=e.label.toString())),t}function N4(e,t){I4?u.useLayoutEffect(e,t):u.useEffect(e,t)}function L4(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var Gy=function(t){t.preventDefault(),t.stopPropagation()},A4=function(t){var n=t.id,r=t.prefixCls,o=t.values,a=t.open,i=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,c=t.placeholder,d=t.disabled,f=t.mode,m=t.showSearch,y=t.autoFocus,b=t.autoComplete,S=t.activeDescendantId,h=t.tabIndex,g=t.removeIcon,v=t.maxTagCount,p=t.maxTagTextLength,C=t.maxTagPlaceholder,w=C===void 0?function(ie){return"+ ".concat(ie.length," ...")}:C,x=t.tagRender,E=t.onToggleOpen,R=t.onRemove,O=t.onInputChange,_=t.onInputPaste,A=t.onInputKeyDown,M=t.onInputMouseDown,D=t.onInputCompositionStart,I=t.onInputCompositionEnd,V=u.useRef(null),j=u.useState(0),P=W(j,2),$=P[0],L=P[1],N=u.useState(!1),T=W(N,2),k=T[0],H=T[1],U="".concat(r,"-selection"),G=a||f==="multiple"&&l===!1||f==="tags"?i:"",ee=f==="tags"||f==="multiple"&&l===!1||m&&(a||k);N4(function(){L(V.current.scrollWidth)},[G]);var Q=function(J,oe,fe,Pe,ve){return u.createElement("span",{title:ox(J),className:q("".concat(U,"-item"),F({},"".concat(U,"-item-disabled"),fe))},u.createElement("span",{className:"".concat(U,"-item-content")},oe),Pe&&u.createElement(Cd,{className:"".concat(U,"-item-remove"),onMouseDown:Gy,onClick:ve,customizeIcon:g},"×"))},ae=function(J,oe,fe,Pe,ve,le){var me=function(Ee){Gy(Ee),E(!a)};return u.createElement("span",{onMouseDown:me},x({label:oe,value:J,disabled:fe,closable:Pe,onClose:ve,isMaxTag:!!le}))},ce=function(J){var oe=J.disabled,fe=J.label,Pe=J.value,ve=!d&&!oe,le=fe;if(typeof p=="number"&&(typeof fe=="string"||typeof fe=="number")){var me=String(le);me.length>p&&(le="".concat(me.slice(0,p),"..."))}var se=function(Le){Le&&Le.stopPropagation(),R(J)};return typeof x=="function"?ae(Pe,le,oe,ve,se):Q(J,le,oe,ve,se)},ne=function(J){var oe=typeof w=="function"?w(J):w;return typeof x=="function"?ae(void 0,oe,!1,!1,void 0,!0):Q({title:oe},oe,!1)},X=u.createElement("div",{className:"".concat(U,"-search"),style:{width:$},onFocus:function(){H(!0)},onBlur:function(){H(!1)}},u.createElement(nx,{ref:s,open:a,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:y,autoComplete:b,editable:ee,activeDescendantId:S,value:G,onKeyDown:A,onMouseDown:M,onChange:O,onPaste:_,onCompositionStart:D,onCompositionEnd:I,tabIndex:h,attrs:ta(t,!0)}),u.createElement("span",{ref:V,className:"".concat(U,"-search-mirror"),"aria-hidden":!0},G," ")),te=u.createElement(to,{prefixCls:"".concat(U,"-overflow"),data:o,renderItem:ce,renderRest:ne,suffix:X,itemKey:L4,maxCount:v});return u.createElement(u.Fragment,null,te,!o.length&&!G&&u.createElement("span",{className:"".concat(U,"-placeholder")},c))},j4=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,a=t.inputRef,i=t.disabled,l=t.autoFocus,s=t.autoComplete,c=t.activeDescendantId,d=t.mode,f=t.open,m=t.values,y=t.placeholder,b=t.tabIndex,S=t.showSearch,h=t.searchValue,g=t.activeValue,v=t.maxLength,p=t.onInputKeyDown,C=t.onInputMouseDown,w=t.onInputChange,x=t.onInputPaste,E=t.onInputCompositionStart,R=t.onInputCompositionEnd,O=t.title,_=u.useState(!1),A=W(_,2),M=A[0],D=A[1],I=d==="combobox",V=I||S,j=m[0],P=h||"";I&&g&&!M&&(P=g),u.useEffect(function(){I&&D(!1)},[I,g]);var $=d!=="combobox"&&!f&&!S?!1:!!P,L=O===void 0?ox(j):O,N=u.useMemo(function(){return j?null:u.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:$?{visibility:"hidden"}:void 0},y)},[j,$,y,r]);return u.createElement(u.Fragment,null,u.createElement("span",{className:"".concat(r,"-selection-search")},u.createElement(nx,{ref:a,prefixCls:r,id:o,open:f,inputElement:n,disabled:i,autoFocus:l,autoComplete:s,editable:V,activeDescendantId:c,value:P,onKeyDown:p,onMouseDown:C,onChange:function(k){D(!0),w(k)},onPaste:x,onCompositionStart:E,onCompositionEnd:R,tabIndex:b,attrs:ta(t,!0),maxLength:I?v:void 0})),!I&&j?u.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:$?{visibility:"hidden"}:void 0},j.label):null,N)},D4=function(t,n){var r=u.useRef(null),o=u.useRef(!1),a=t.prefixCls,i=t.open,l=t.mode,s=t.showSearch,c=t.tokenWithEnter,d=t.disabled,f=t.autoClearSearchValue,m=t.onSearch,y=t.onSearchSubmit,b=t.onToggleOpen,S=t.onInputKeyDown,h=t.domRef;u.useImperativeHandle(n,function(){return{focus:function($){r.current.focus($)},blur:function(){r.current.blur()}}});var g=JE(0),v=W(g,2),p=v[0],C=v[1],w=function($){var L=$.which;(L===re.UP||L===re.DOWN)&&$.preventDefault(),S&&S($),L===re.ENTER&&l==="tags"&&!o.current&&!i&&(y==null||y($.target.value)),g4(L)&&b(!0)},x=function(){C(!0)},E=u.useRef(null),R=function($){m($,!0,o.current)!==!1&&b(!0)},O=function(){o.current=!0},_=function($){o.current=!1,l!=="combobox"&&R($.target.value)},A=function($){var L=$.target.value;if(c&&E.current&&/[\r\n]/.test(E.current)){var N=E.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(N,E.current)}E.current=null,R(L)},M=function($){var L=$.clipboardData,N=L==null?void 0:L.getData("text");E.current=N||""},D=function($){var L=$.target;if(L!==r.current){var N=document.body.style.msTouchAction!==void 0;N?setTimeout(function(){r.current.focus()}):r.current.focus()}},I=function($){var L=p();$.target!==r.current&&!L&&!(l==="combobox"&&d)&&$.preventDefault(),(l!=="combobox"&&(!s||!L)||!i)&&(i&&f!==!1&&m("",!0,!1),b())},V={inputRef:r,onInputKeyDown:w,onInputMouseDown:x,onInputChange:A,onInputPaste:M,onInputCompositionStart:O,onInputCompositionEnd:_},j=l==="multiple"||l==="tags"?u.createElement(A4,be({},t,V)):u.createElement(j4,be({},t,V));return u.createElement("div",{ref:h,className:"".concat(a,"-selector"),onClick:D,onMouseDown:I},j)},F4=u.forwardRef(D4);function z4(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,c=s===void 0?0:s,d=o.y,f=d===void 0?0:d,m=u.useRef();if(!n||!n.points)return null;var y={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],S=n.points[1],h=b[0],g=b[1],v=S[0],p=S[1];h===v||!["t","b"].includes(h)?y.top=f:h==="t"?y.top=0:y.bottom=0,g===p||!["l","r"].includes(g)?y.left=c:g==="l"?y.left=0:y.right=0}return u.createElement("div",{ref:m,className:q("".concat(t,"-arrow"),i),style:y},l)}function B4(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?u.createElement(Eo,be({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var l=i.className;return u.createElement("div",{style:{zIndex:r},className:q("".concat(t,"-mask"),l)})}):null}var k4=u.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),H4=u.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,c=e.keepDom,d=e.fresh,f=e.onClick,m=e.mask,y=e.arrow,b=e.arrowPos,S=e.align,h=e.motion,g=e.maskMotion,v=e.forceRender,p=e.getPopupContainer,C=e.autoDestroy,w=e.portal,x=e.zIndex,E=e.onMouseEnter,R=e.onMouseLeave,O=e.onPointerEnter,_=e.ready,A=e.offsetX,M=e.offsetY,D=e.offsetR,I=e.offsetB,V=e.onAlign,j=e.onPrepare,P=e.stretch,$=e.targetWidth,L=e.targetHeight,N=typeof n=="function"?n():n,T=s||c,k=(p==null?void 0:p.length)>0,H=u.useState(!p||!k),U=W(H,2),G=U[0],ee=U[1];if(zt(function(){!G&&k&&i&&ee(!0)},[G,k,i]),!G)return null;var Q="auto",ae={left:"-1000vw",top:"-1000vh",right:Q,bottom:Q};if(_||!s){var ce,ne=S.points,X=S.dynamicInset||((ce=S._experimental)===null||ce===void 0?void 0:ce.dynamicInset),te=X&&ne[0][1]==="r",ie=X&&ne[0][0]==="b";te?(ae.right=D,ae.left=Q):(ae.left=A,ae.right=Q),ie?(ae.bottom=I,ae.top=Q):(ae.top=M,ae.bottom=Q)}var J={};return P&&(P.includes("height")&&L?J.height=L:P.includes("minHeight")&&L&&(J.minHeight=L),P.includes("width")&&$?J.width=$:P.includes("minWidth")&&$&&(J.minWidth=$)),s||(J.pointerEvents="none"),u.createElement(w,{open:v||T,getContainer:p&&function(){return p(i)},autoDestroy:C},u.createElement(B4,{prefixCls:o,open:s,zIndex:x,mask:m,motion:g}),u.createElement(kr,{onResize:V,disabled:!s},function(oe){return u.createElement(Eo,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:v,leavedClassName:"".concat(o,"-hidden")},h,{onAppearPrepare:j,onEnterPrepare:j,visible:s,onVisibleChanged:function(Pe){var ve;h==null||(ve=h.onVisibleChanged)===null||ve===void 0||ve.call(h,Pe),l(Pe)}}),function(fe,Pe){var ve=fe.className,le=fe.style,me=q(o,ve,r);return u.createElement("div",{ref:Gr(oe,t,Pe),className:me,style:B(B(B(B({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},ae),J),le),{},{boxSizing:"border-box",zIndex:x},a),onMouseEnter:E,onMouseLeave:R,onPointerEnter:O,onClick:f},y&&u.createElement(z4,{prefixCls:o,arrow:y,arrowPos:b,align:S}),u.createElement(k4,{cache:!s&&!d},N))})}))}),V4=u.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=ia(n),a=u.useCallback(function(l){ag(t,r?r(l):l)},[r]),i=Wa(a,n.ref);return o?u.cloneElement(n,{ref:i}):n}),Ky=u.createContext(null);function qy(e){return e?Array.isArray(e)?e:[e]:[]}function W4(e,t,n,r){return u.useMemo(function(){var o=qy(n??t),a=qy(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 U4(){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 G4(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i<a.length;i+=1){var l,s=a[i];if(U4((l=e[s])===null||l===void 0?void 0:l.points,o,r))return"".concat(t,"-placement-").concat(s)}return""}function Qy(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function As(e){return e.ownerDocument.defaultView}function jv(e){for(var t=[],n=e==null?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=As(n).getComputedStyle(n),a=o.overflowX,i=o.overflowY,l=o.overflow;[a,i,l].some(function(s){return r.includes(s)})&&t.push(n),n=n.parentElement}return t}function ys(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function pl(e){return ys(parseFloat(e),0)}function Xy(e,t){var n=B({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=As(r).getComputedStyle(r),a=o.overflow,i=o.overflowClipMargin,l=o.borderTopWidth,s=o.borderBottomWidth,c=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),m=r.offsetHeight,y=r.clientHeight,b=r.offsetWidth,S=r.clientWidth,h=pl(l),g=pl(s),v=pl(c),p=pl(d),C=ys(Math.round(f.width/b*1e3)/1e3),w=ys(Math.round(f.height/m*1e3)/1e3),x=(b-S-v-p)*C,E=(m-y-h-g)*w,R=h*w,O=g*w,_=v*C,A=p*C,M=0,D=0;if(a==="clip"){var I=pl(i);M=I*C,D=I*w}var V=f.x+_-M,j=f.y+R-D,P=V+f.width+2*M-_-A-x,$=j+f.height+2*D-R-O-E;n.left=Math.max(n.left,V),n.top=Math.max(n.top,j),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,$)}}),n}function Yy(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 Jy(e,t){var n=t||[],r=W(n,2),o=r[0],a=r[1];return[Yy(e.width,o),Yy(e.height,a)]}function Zy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function ri(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 _o(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 K4(e,t,n,r,o,a,i){var l=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),s=W(l,2),c=s[0],d=s[1],f=u.useRef(0),m=u.useMemo(function(){return t?jv(t):[]},[t]),y=u.useRef({}),b=function(){y.current={}};e||b();var S=nn(function(){if(t&&n&&e){let mn=function(Tr,ua){var Xa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:me,Ya=N.x+Tr,rl=N.y+ua,ol=Ya+ce,Bs=rl+ae,Md=Math.max(Ya,Xa.left),Nd=Math.max(rl,Xa.top),Ld=Math.min(ol,Xa.right),Ad=Math.min(Bs,Xa.bottom);return Math.max(0,(Ld-Md)*(Ad-Nd))},Oo=function(){gt=N.y+ze,Ge=gt+ae,Re=N.x+Ze,Ue=Re+ce};var v,p,C=t,w=C.ownerDocument,x=As(C),E=x.getComputedStyle(C),R=E.width,O=E.height,_=E.position,A=C.style.left,M=C.style.top,D=C.style.right,I=C.style.bottom,V=C.style.overflow,j=B(B({},o[r]),a),P=w.createElement("div");(v=C.parentElement)===null||v===void 0||v.appendChild(P),P.style.left="".concat(C.offsetLeft,"px"),P.style.top="".concat(C.offsetTop,"px"),P.style.position=_,P.style.height="".concat(C.offsetHeight,"px"),P.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto",C.style.overflow="hidden";var $;if(Array.isArray(n))$={x:n[0],y:n[1],width:0,height:0};else{var L=n.getBoundingClientRect();$={x:L.x,y:L.y,width:L.width,height:L.height}}var N=C.getBoundingClientRect(),T=w.documentElement,k=T.clientWidth,H=T.clientHeight,U=T.scrollWidth,G=T.scrollHeight,ee=T.scrollTop,Q=T.scrollLeft,ae=N.height,ce=N.width,ne=$.height,X=$.width,te={left:0,top:0,right:k,bottom:H},ie={left:-Q,top:-ee,right:U-Q,bottom:G-ee},J=j.htmlRegion,oe="visible",fe="visibleFirst";J!=="scroll"&&J!==fe&&(J=oe);var Pe=J===fe,ve=Xy(ie,m),le=Xy(te,m),me=J===oe?le:ve,se=Pe?le:me;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var Ee=C.getBoundingClientRect();C.style.left=A,C.style.top=M,C.style.right=D,C.style.bottom=I,C.style.overflow=V,(p=C.parentElement)===null||p===void 0||p.removeChild(P);var Le=ys(Math.round(ce/parseFloat(R)*1e3)/1e3),Se=ys(Math.round(ae/parseFloat(O)*1e3)/1e3);if(Le===0||Se===0||is(n)&&!Cg(n))return;var De=j.offset,pe=j.targetOffset,ot=Jy(N,De),Be=W(ot,2),xe=Be[0],Ce=Be[1],Ve=Jy($,pe),ke=W(Ve,2),tt=ke[0],vt=ke[1];$.x-=tt,$.y-=vt;var dt=j.points||[],Qe=W(dt,2),ut=Qe[0],ct=Qe[1],Lt=Zy(ct),bt=Zy(ut),Et=ri($,Lt),Dt=ri(N,bt),St=B({},j),Ze=Et.x-Dt.x+xe,ze=Et.y-Dt.y+Ce,He=mn(Ze,ze),Ae=mn(Ze,ze,le),ge=ri($,["t","l"]),Ye=ri(N,["t","l"]),nt=ri($,["b","r"]),de=ri(N,["b","r"]),we=j.overflow||{},he=we.adjustX,Ie=we.adjustY,We=we.shiftX,et=we.shiftY,Pt=function(ua){return typeof ua=="boolean"?ua:ua>=0},gt,Ge,Re,Ue;Oo();var xt=Pt(Ie),Ct=bt[0]===Lt[0];if(xt&&bt[0]==="t"&&(Ge>se.bottom||y.current.bt)){var _t=ze;Ct?_t-=ae-ne:_t=ge.y-de.y-Ce;var Ht=mn(Ze,_t),$e=mn(Ze,_t,le);Ht>He||Ht===He&&(!Pe||$e>=Ae)?(y.current.bt=!0,ze=_t,Ce=-Ce,St.points=[_o(bt,0),_o(Lt,0)]):y.current.bt=!1}if(xt&&bt[0]==="b"&&(gt<se.top||y.current.tb)){var Oe=ze;Ct?Oe+=ae-ne:Oe=nt.y-Ye.y-Ce;var Ne=mn(Ze,Oe),It=mn(Ze,Oe,le);Ne>He||Ne===He&&(!Pe||It>=Ae)?(y.current.tb=!0,ze=Oe,Ce=-Ce,St.points=[_o(bt,0),_o(Lt,0)]):y.current.tb=!1}var an=Pt(he),vr=bt[1]===Lt[1];if(an&&bt[1]==="l"&&(Ue>se.right||y.current.rl)){var Zt=Ze;vr?Zt-=ce-X:Zt=ge.x-de.x-xe;var Hn=mn(Zt,ze),pr=mn(Zt,ze,le);Hn>He||Hn===He&&(!Pe||pr>=Ae)?(y.current.rl=!0,Ze=Zt,xe=-xe,St.points=[_o(bt,1),_o(Lt,1)]):y.current.rl=!1}if(an&&bt[1]==="r"&&(Re<se.left||y.current.lr)){var Vn=Ze;vr?Vn+=ce-X:Vn=nt.x-Ye.x-xe;var Zn=mn(Vn,ze),Ro=mn(Vn,ze,le);Zn>He||Zn===He&&(!Pe||Ro>=Ae)?(y.current.lr=!0,Ze=Vn,xe=-xe,St.points=[_o(bt,1),_o(Lt,1)]):y.current.lr=!1}Oo();var An=We===!0?0:We;typeof An=="number"&&(Re<le.left&&(Ze-=Re-le.left-xe,$.x+X<le.left+An&&(Ze+=$.x-le.left+X-An)),Ue>le.right&&(Ze-=Ue-le.right-xe,$.x>le.right-An&&(Ze+=$.x-le.right+An)));var Sn=et===!0?0:et;typeof Sn=="number"&&(gt<le.top&&(ze-=gt-le.top-Ce,$.y+ne<le.top+Sn&&(ze+=$.y-le.top+ne-Sn)),Ge>le.bottom&&(ze-=Ge-le.bottom-Ce,$.y>le.bottom-Sn&&(ze+=$.y-le.bottom+Sn)));var oo=N.x+Ze,$o=oo+ce,gr=N.y+ze,hr=gr+ae,qr=$.x,yr=qr+X,Xe=$.y,Ke=Xe+ne,en=Math.max(oo,qr),at=Math.min($o,yr),Fe=(en+at)/2,Je=Fe-oo,Tt=Math.max(gr,Xe),At=Math.min(hr,Ke),fn=(Tt+At)/2,Wn=fn-gr;i==null||i(t,St);var On=Ee.right-N.x-(Ze+N.width),Un=Ee.bottom-N.y-(ze+N.height);Le===1&&(Ze=Math.round(Ze),On=Math.round(On)),Se===1&&(ze=Math.round(ze),Un=Math.round(Un));var Qa={ready:!0,offsetX:Ze/Le,offsetY:ze/Se,offsetR:On/Le,offsetB:Un/Se,arrowX:Je/Le,arrowY:Wn/Se,scaleX:Le,scaleY:Se,align:St};d(Qa)}}),h=function(){f.current+=1;var p=f.current;Promise.resolve().then(function(){f.current===p&&S()})},g=function(){d(function(p){return B(B({},p),{},{ready:!1})})};return zt(g,[r]),zt(function(){e||g()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,h]}function q4(e,t,n,r,o){zt(function(){if(e&&t&&n){let f=function(){r(),o()};var a=t,i=n,l=jv(a),s=jv(i),c=As(i),d=new Set([c].concat(ye(l),ye(s)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),c.addEventListener("resize",f,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),c.removeEventListener("resize",f)})}}},[e,t,n])}function Q4(e,t,n,r,o,a,i,l){var s=u.useRef(e);s.current=e,u.useEffect(function(){if(t&&r&&(!o||a)){var c=function(y){var b=y.target;s.current&&!i(b)&&l(!1)},d=As(r);d.addEventListener("mousedown",c,!0),d.addEventListener("contextmenu",c,!0);var f=xc(n);return f&&(f.addEventListener("mousedown",c,!0),f.addEventListener("contextmenu",c,!0)),function(){d.removeEventListener("mousedown",c,!0),d.removeEventListener("contextmenu",c,!0),f&&(f.removeEventListener("mousedown",c,!0),f.removeEventListener("contextmenu",c,!0))}}},[t,n,r,o,a])}var X4=["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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Y4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rg,t=u.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,c=n.showAction,d=n.hideAction,f=n.popupVisible,m=n.defaultPopupVisible,y=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,S=n.mouseEnterDelay,h=n.mouseLeaveDelay,g=h===void 0?.1:h,v=n.focusDelay,p=n.blurDelay,C=n.mask,w=n.maskClosable,x=w===void 0?!0:w,E=n.getPopupContainer,R=n.forceRender,O=n.autoDestroy,_=n.destroyPopupOnHide,A=n.popup,M=n.popupClassName,D=n.popupStyle,I=n.popupPlacement,V=n.builtinPlacements,j=V===void 0?{}:V,P=n.popupAlign,$=n.zIndex,L=n.stretch,N=n.getPopupClassNameFromAlign,T=n.fresh,k=n.alignPoint,H=n.onPopupClick,U=n.onPopupAlign,G=n.arrow,ee=n.popupMotion,Q=n.maskMotion,ae=n.popupTransitionName,ce=n.popupAnimation,ne=n.maskTransitionName,X=n.maskAnimation,te=n.className,ie=n.getTriggerDOMNode,J=it(n,X4),oe=O||_||!1,fe=u.useState(!1),Pe=W(fe,2),ve=Pe[0],le=Pe[1];zt(function(){le(Og())},[]);var me=u.useRef({}),se=u.useContext(Ky),Ee=u.useMemo(function(){return{registerSubPopup:function(qe,Kt){me.current[qe]=Kt,se==null||se.registerSubPopup(qe,Kt)}}},[se]),Le=SE(),Se=u.useState(null),De=W(Se,2),pe=De[0],ot=De[1],Be=u.useRef(null),xe=nn(function(Me){Be.current=Me,is(Me)&&pe!==Me&&ot(Me),se==null||se.registerSubPopup(Le,Me)}),Ce=u.useState(null),Ve=W(Ce,2),ke=Ve[0],tt=Ve[1],vt=u.useRef(null),dt=nn(function(Me){is(Me)&&ke!==Me&&(tt(Me),vt.current=Me)}),Qe=u.Children.only(i),ut=(Qe==null?void 0:Qe.props)||{},ct={},Lt=nn(function(Me){var qe,Kt,ln=ke;return(ln==null?void 0:ln.contains(Me))||((qe=xc(ln))===null||qe===void 0?void 0:qe.host)===Me||Me===ln||(pe==null?void 0:pe.contains(Me))||((Kt=xc(pe))===null||Kt===void 0?void 0:Kt.host)===Me||Me===pe||Object.values(me.current).some(function(qt){return(qt==null?void 0:qt.contains(Me))||Me===qt})}),bt=Qy(a,ee,ce,ae),Et=Qy(a,Q,X,ne),Dt=u.useState(m||!1),St=W(Dt,2),Ze=St[0],ze=St[1],He=f??Ze,Ae=nn(function(Me){f===void 0&&ze(Me)});zt(function(){ze(f||!1)},[f]);var ge=u.useRef(He);ge.current=He;var Ye=u.useRef([]);Ye.current=[];var nt=nn(function(Me){var qe;Ae(Me),((qe=Ye.current[Ye.current.length-1])!==null&&qe!==void 0?qe:He)!==Me&&(Ye.current.push(Me),y==null||y(Me))}),de=u.useRef(),we=function(){clearTimeout(de.current)},he=function(qe){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;we(),Kt===0?nt(qe):de.current=setTimeout(function(){nt(qe)},Kt*1e3)};u.useEffect(function(){return we},[]);var Ie=u.useState(!1),We=W(Ie,2),et=We[0],Pt=We[1];zt(function(Me){(!Me||He)&&Pt(!0)},[He]);var gt=u.useState(null),Ge=W(gt,2),Re=Ge[0],Ue=Ge[1],xt=u.useState([0,0]),Ct=W(xt,2),_t=Ct[0],Ht=Ct[1],$e=function(qe){Ht([qe.clientX,qe.clientY])},Oe=K4(He,pe,k?_t:ke,I,j,P,U),Ne=W(Oe,11),It=Ne[0],an=Ne[1],vr=Ne[2],Zt=Ne[3],Hn=Ne[4],pr=Ne[5],Vn=Ne[6],Zn=Ne[7],Ro=Ne[8],An=Ne[9],Sn=Ne[10],oo=W4(ve,s,c,d),$o=W(oo,2),gr=$o[0],hr=$o[1],qr=gr.has("click"),yr=hr.has("click")||hr.has("contextMenu"),Xe=nn(function(){et||Sn()}),Ke=function(){ge.current&&k&&yr&&he(!1)};q4(He,ke,pe,Xe,Ke),zt(function(){Xe()},[_t,I]),zt(function(){He&&!(j!=null&&j[I])&&Xe()},[JSON.stringify(P)]);var en=u.useMemo(function(){var Me=G4(j,a,An,k);return q(Me,N==null?void 0:N(An))},[An,N,j,a,k]);u.useImperativeHandle(r,function(){return{nativeElement:vt.current,popupElement:Be.current,forceAlign:Xe}});var at=u.useState(0),Fe=W(at,2),Je=Fe[0],Tt=Fe[1],At=u.useState(0),fn=W(At,2),Wn=fn[0],On=fn[1],Un=function(){if(L&&ke){var qe=ke.getBoundingClientRect();Tt(qe.width),On(qe.height)}},Qa=function(){Un(),Xe()},mn=function(qe){Pt(!1),Sn(),b==null||b(qe)},Oo=function(){return new Promise(function(qe){Un(),Ue(function(){return qe})})};zt(function(){Re&&(Sn(),Re(),Ue(null))},[Re]);function Tr(Me,qe,Kt,ln){ct[Me]=function(qt){var ks;ln==null||ln(qt),he(qe,Kt);for(var jd=arguments.length,Kg=new Array(jd>1?jd-1:0),Hs=1;Hs<jd;Hs++)Kg[Hs-1]=arguments[Hs];(ks=ut[Me])===null||ks===void 0||ks.call.apply(ks,[ut,qt].concat(Kg))}}(qr||yr)&&(ct.onClick=function(Me){var qe;ge.current&&yr?he(!1):!ge.current&&qr&&($e(Me),he(!0));for(var Kt=arguments.length,ln=new Array(Kt>1?Kt-1:0),qt=1;qt<Kt;qt++)ln[qt-1]=arguments[qt];(qe=ut.onClick)===null||qe===void 0||qe.call.apply(qe,[ut,Me].concat(ln))}),Q4(He,yr,ke,pe,C,x,Lt,he);var ua=gr.has("hover"),Xa=hr.has("hover"),Ya,rl;ua&&(Tr("onMouseEnter",!0,S,function(Me){$e(Me)}),Tr("onPointerEnter",!0,S,function(Me){$e(Me)}),Ya=function(qe){(He||et)&&pe!==null&&pe!==void 0&&pe.contains(qe.target)&&he(!0,S)},k&&(ct.onMouseMove=function(Me){var qe;(qe=ut.onMouseMove)===null||qe===void 0||qe.call(ut,Me)})),Xa&&(Tr("onMouseLeave",!1,g),Tr("onPointerLeave",!1,g),rl=function(){he(!1,g)}),gr.has("focus")&&Tr("onFocus",!0,v),hr.has("focus")&&Tr("onBlur",!1,p),gr.has("contextMenu")&&(ct.onContextMenu=function(Me){var qe;ge.current&&hr.has("contextMenu")?he(!1):($e(Me),he(!0)),Me.preventDefault();for(var Kt=arguments.length,ln=new Array(Kt>1?Kt-1:0),qt=1;qt<Kt;qt++)ln[qt-1]=arguments[qt];(qe=ut.onContextMenu)===null||qe===void 0||qe.call.apply(qe,[ut,Me].concat(ln))}),te&&(ct.className=q(ut.className,te));var ol=B(B({},ut),ct),Bs={},Md=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Md.forEach(function(Me){J[Me]&&(Bs[Me]=function(){for(var qe,Kt=arguments.length,ln=new Array(Kt),qt=0;qt<Kt;qt++)ln[qt]=arguments[qt];(qe=ol[Me])===null||qe===void 0||qe.call.apply(qe,[ol].concat(ln)),J[Me].apply(J,ln)})});var Nd=u.cloneElement(Qe,B(B({},ol),Bs)),Ld={x:pr,y:Vn},Ad=G?B({},G!==!0?G:{}):null;return u.createElement(u.Fragment,null,u.createElement(kr,{disabled:!He,ref:dt,onResize:Qa},u.createElement(V4,{getTriggerDOMNode:ie},Nd)),u.createElement(Ky.Provider,{value:Ee},u.createElement(H4,{portal:e,ref:xe,prefixCls:a,popup:A,className:q(M,en),style:D,target:ke,onMouseEnter:Ya,onMouseLeave:rl,onPointerEnter:Ya,zIndex:$,open:He,keepDom:et,fresh:T,onClick:H,mask:C,motion:bt,maskMotion:Et,onVisibleChanged:mn,onPrepare:Oo,forceRender:R,autoDestroy:oe,getPopupContainer:E,align:An,arrow:Ad,arrowPos:Ld,ready:It,offsetX:an,offsetY:vr,offsetR:Zt,offsetB:Hn,onAlign:Xe,stretch:L,targetWidth:Je/Zn,targetHeight:Wn/Ro})))});return t}const Pg=Y4(Rg);var J4=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Z4=function(t){var n=t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},eF=function(t,n){var r=t.prefixCls;t.disabled;var o=t.visible,a=t.children,i=t.popupElement,l=t.animation,s=t.transitionName,c=t.dropdownStyle,d=t.dropdownClassName,f=t.direction,m=f===void 0?"ltr":f,y=t.placement,b=t.builtinPlacements,S=t.dropdownMatchSelectWidth,h=t.dropdownRender,g=t.dropdownAlign,v=t.getPopupContainer,p=t.empty,C=t.getTriggerDOMNode,w=t.onPopupVisibleChange,x=t.onPopupMouseEnter,E=it(t,J4),R="".concat(r,"-dropdown"),O=i;h&&(O=h(i));var _=u.useMemo(function(){return b||Z4(S)},[b,S]),A=l?"".concat(R,"-").concat(l):s,M=typeof S=="number",D=u.useMemo(function(){return M?null:S===!1?"minWidth":"width"},[S,M]),I=c;M&&(I=B(B({},I),{},{width:S}));var V=u.useRef(null);return u.useImperativeHandle(n,function(){return{getPopupElement:function(){var P;return(P=V.current)===null||P===void 0?void 0:P.popupElement}}}),u.createElement(Pg,be({},E,{showAction:w?["click"]:[],hideAction:w?["click"]:[],popupPlacement:y||(m==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:_,prefixCls:R,popupTransitionName:A,popup:u.createElement("div",{onMouseEnter:x},O),ref:V,stretch:D,popupAlign:g,popupVisible:o,getPopupContainer:v,popupClassName:q(d,F({},"".concat(R,"-empty"),p)),popupStyle:I,getTriggerDOMNode:C,onPopupVisibleChange:w}),a)},tF=u.forwardRef(eF);function eb(e,t){var n=e.key,r;return"value"in e&&(r=e.value),n??(r!==void 0?r:"rc-index-key-".concat(t))}function Dv(e){return typeof e<"u"&&!Number.isNaN(e)}function ax(e,t){var n=e||{},r=n.label,o=n.value,a=n.options,i=n.groupLabel,l=r||(t?"children":"label");return{label:l,value:o||"value",options:a||"options",groupLabel:i||l}}function nF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=ax(n,!1),i=a.label,l=a.value,s=a.options,c=a.groupLabel;function d(f,m){Array.isArray(f)&&f.forEach(function(y){if(m||!(s in y)){var b=y[l];o.push({key:eb(y,o.length),groupOption:m,data:y,label:y[i],value:b})}else{var S=y[c];S===void 0&&r&&(S=y.label),o.push({key:eb(y,o.length),group:!0,data:y,label:S}),d(y[s],!0)}})}return d(e,!1),o}function Fv(e){var t=B({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Nn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var rF=function(t,n,r){if(!n||!n.length)return null;var o=!1,a=function l(s,c){var d=pw(c),f=d[0],m=d.slice(1);if(!f)return[s];var y=s.split(f);return o=o||y.length>1,y.reduce(function(b,S){return[].concat(ye(b),ye(l(S,m)))},[]).filter(Boolean)},i=a(t,n);return o?typeof r<"u"?i.slice(0,r):i:null},_g=u.createContext(null);function oF(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return u.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(o){var a=o.label,i=o.value;return["number","string"].includes(je(a))?a:i}).join(", ")),n.length>r?", ...":null)}var aF=["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","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],iF=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],zv=function(t){return t==="tags"||t==="multiple"},lF=u.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,a=e.className,i=e.showSearch,l=e.tagRender,s=e.direction,c=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,m=e.emptyOptions,y=e.notFoundContent,b=y===void 0?"Not Found":y,S=e.onClear,h=e.mode,g=e.disabled,v=e.loading,p=e.getInputElement,C=e.getRawInputElement,w=e.open,x=e.defaultOpen,E=e.onDropdownVisibleChange,R=e.activeValue,O=e.onActiveValueChange,_=e.activeDescendantId,A=e.searchValue,M=e.autoClearSearchValue,D=e.onSearch,I=e.onSearchSplit,V=e.tokenSeparators,j=e.allowClear,P=e.suffixIcon,$=e.clearIcon,L=e.OptionList,N=e.animation,T=e.transitionName,k=e.dropdownStyle,H=e.dropdownClassName,U=e.dropdownMatchSelectWidth,G=e.dropdownRender,ee=e.dropdownAlign,Q=e.placement,ae=e.builtinPlacements,ce=e.getPopupContainer,ne=e.showAction,X=ne===void 0?[]:ne,te=e.onFocus,ie=e.onBlur,J=e.onKeyUp,oe=e.onKeyDown,fe=e.onMouseDown,Pe=it(e,aF),ve=zv(h),le=(i!==void 0?i:ve)||h==="combobox",me=B({},Pe);iF.forEach(function(Xe){delete me[Xe]}),c==null||c.forEach(function(Xe){delete me[Xe]});var se=u.useState(!1),Ee=W(se,2),Le=Ee[0],Se=Ee[1];u.useEffect(function(){Se(Og())},[]);var De=u.useRef(null),pe=u.useRef(null),ot=u.useRef(null),Be=u.useRef(null),xe=u.useRef(null),Ce=u.useRef(!1),Ve=v4(),ke=W(Ve,3),tt=ke[0],vt=ke[1],dt=ke[2];u.useImperativeHandle(t,function(){var Xe,Ke;return{focus:(Xe=Be.current)===null||Xe===void 0?void 0:Xe.focus,blur:(Ke=Be.current)===null||Ke===void 0?void 0:Ke.blur,scrollTo:function(at){var Fe;return(Fe=xe.current)===null||Fe===void 0?void 0:Fe.scrollTo(at)},nativeElement:De.current||pe.current}});var Qe=u.useMemo(function(){var Xe;if(h!=="combobox")return A;var Ke=(Xe=d[0])===null||Xe===void 0?void 0:Xe.value;return typeof Ke=="string"||typeof Ke=="number"?String(Ke):""},[A,h,d]),ut=h==="combobox"&&typeof p=="function"&&p()||null,ct=typeof C=="function"&&C(),Lt=Wa(pe,ct==null||(n=ct.props)===null||n===void 0?void 0:n.ref),bt=u.useState(!1),Et=W(bt,2),Dt=Et[0],St=Et[1];zt(function(){St(!0)},[]);var Ze=lr(!1,{defaultValue:x,value:w}),ze=W(Ze,2),He=ze[0],Ae=ze[1],ge=Dt?He:!1,Ye=!b&&m;(g||Ye&&ge&&h==="combobox")&&(ge=!1);var nt=Ye?!1:ge,de=u.useCallback(function(Xe){var Ke=Xe!==void 0?Xe:!ge;g||(Ae(Ke),ge!==Ke&&(E==null||E(Ke)))},[g,ge,Ae,E]),we=u.useMemo(function(){return(V||[]).some(function(Xe){return[`
`,`\r
`].includes(Xe)})},[V]),he=u.useContext(_g)||{},Ie=he.maxCount,We=he.rawValues,et=function(Ke,en,at){if(!(ve&&Dv(Ie)&&(We==null?void 0:We.size)>=Ie)){var Fe=!0,Je=Ke;O==null||O(null);var Tt=rF(Ke,V,Dv(Ie)?Ie-We.size:void 0),At=at?null:Tt;return h!=="combobox"&&At&&(Je="",I==null||I(At),de(!1),Fe=!1),D&&Qe!==Je&&D(Je,{source:en?"typing":"effect"}),Fe}},Pt=function(Ke){!Ke||!Ke.trim()||D(Ke,{source:"submit"})};u.useEffect(function(){!ge&&!ve&&h!=="combobox"&&et("",!1,!1)},[ge]),u.useEffect(function(){He&&g&&Ae(!1),g&&!Ce.current&&vt(!1)},[g]);var gt=JE(),Ge=W(gt,2),Re=Ge[0],Ue=Ge[1],xt=function(Ke){var en=Re(),at=Ke.which;if(at===re.ENTER&&(h!=="combobox"&&Ke.preventDefault(),ge||de(!0)),Ue(!!Qe),at===re.BACKSPACE&&!en&&ve&&!Qe&&d.length){for(var Fe=ye(d),Je=null,Tt=Fe.length-1;Tt>=0;Tt-=1){var At=Fe[Tt];if(!At.disabled){Fe.splice(Tt,1),Je=At;break}}Je&&f(Fe,{type:"remove",values:[Je]})}for(var fn=arguments.length,Wn=new Array(fn>1?fn-1:0),On=1;On<fn;On++)Wn[On-1]=arguments[On];if(ge){var Un;(Un=xe.current)===null||Un===void 0||Un.onKeyDown.apply(Un,[Ke].concat(Wn))}oe==null||oe.apply(void 0,[Ke].concat(Wn))},Ct=function(Ke){for(var en=arguments.length,at=new Array(en>1?en-1:0),Fe=1;Fe<en;Fe++)at[Fe-1]=arguments[Fe];if(ge){var Je;(Je=xe.current)===null||Je===void 0||Je.onKeyUp.apply(Je,[Ke].concat(at))}J==null||J.apply(void 0,[Ke].concat(at))},_t=function(Ke){var en=d.filter(function(at){return at!==Ke});f(en,{type:"remove",values:[Ke]})},Ht=u.useRef(!1),$e=function(){vt(!0),g||(te&&!Ht.current&&te.apply(void 0,arguments),X.includes("focus")&&de(!0)),Ht.current=!0},Oe=function(){Ce.current=!0,vt(!1,function(){Ht.current=!1,Ce.current=!1,de(!1)}),!g&&(Qe&&(h==="tags"?D(Qe,{source:"submit"}):h==="multiple"&&D("",{source:"blur"})),ie&&ie.apply(void 0,arguments))},Ne=[];u.useEffect(function(){return function(){Ne.forEach(function(Xe){return clearTimeout(Xe)}),Ne.splice(0,Ne.length)}},[]);var It=function(Ke){var en,at=Ke.target,Fe=(en=ot.current)===null||en===void 0?void 0:en.getPopupElement();if(Fe&&Fe.contains(at)){var Je=setTimeout(function(){var Wn=Ne.indexOf(Je);if(Wn!==-1&&Ne.splice(Wn,1),dt(),!Le&&!Fe.contains(document.activeElement)){var On;(On=Be.current)===null||On===void 0||On.focus()}});Ne.push(Je)}for(var Tt=arguments.length,At=new Array(Tt>1?Tt-1:0),fn=1;fn<Tt;fn++)At[fn-1]=arguments[fn];fe==null||fe.apply(void 0,[Ke].concat(At))},an=u.useState({}),vr=W(an,2),Zt=vr[1];function Hn(){Zt({})}var pr;ct&&(pr=function(Ke){de(Ke)}),p4(function(){var Xe;return[De.current,(Xe=ot.current)===null||Xe===void 0?void 0:Xe.getPopupElement()]},nt,de,!!ct);var Vn=u.useMemo(function(){return B(B({},e),{},{notFoundContent:b,open:ge,triggerOpen:nt,id:r,showSearch:le,multiple:ve,toggleOpen:de})},[e,b,nt,ge,r,le,ve,de]),Zn=!!P||v,Ro;Zn&&(Ro=u.createElement(Cd,{className:q("".concat(o,"-arrow"),F({},"".concat(o,"-arrow-loading"),v)),customizeIcon:P,customizeIconProps:{loading:v,searchValue:Qe,open:ge,focused:tt,showSearch:le}}));var An=function(){var Ke;S==null||S(),(Ke=Be.current)===null||Ke===void 0||Ke.focus(),f([],{type:"clear",values:d}),et("",!1,!1)},Sn=f4(o,An,d,j,$,g,Qe,h),oo=Sn.allowClear,$o=Sn.clearIcon,gr=u.createElement(L,{ref:xe}),hr=q(o,a,F(F(F(F(F(F(F(F(F(F({},"".concat(o,"-focused"),tt),"".concat(o,"-multiple"),ve),"".concat(o,"-single"),!ve),"".concat(o,"-allow-clear"),j),"".concat(o,"-show-arrow"),Zn),"".concat(o,"-disabled"),g),"".concat(o,"-loading"),v),"".concat(o,"-open"),ge),"".concat(o,"-customize-input"),ut),"".concat(o,"-show-search"),le)),qr=u.createElement(tF,{ref:ot,disabled:g,prefixCls:o,visible:nt,popupElement:gr,animation:N,transitionName:T,dropdownStyle:k,dropdownClassName:H,direction:s,dropdownMatchSelectWidth:U,dropdownRender:G,dropdownAlign:ee,placement:Q,builtinPlacements:ae,getPopupContainer:ce,empty:m,getTriggerDOMNode:function(Ke){return pe.current||Ke},onPopupVisibleChange:pr,onPopupMouseEnter:Hn},ct?u.cloneElement(ct,{ref:Lt}):u.createElement(F4,be({},e,{domRef:pe,prefixCls:o,inputElement:ut,ref:Be,id:r,showSearch:le,autoClearSearchValue:M,mode:h,activeDescendantId:_,tagRender:l,values:d,open:ge,onToggleOpen:de,activeValue:R,searchValue:Qe,onSearch:et,onSearchSubmit:Pt,onRemove:_t,tokenWithEnter:we}))),yr;return ct?yr=qr:yr=u.createElement("div",be({className:hr},me,{ref:De,onMouseDown:It,onKeyDown:xt,onKeyUp:Ct,onFocus:$e,onBlur:Oe}),u.createElement(oF,{visible:tt&&!ge,values:d}),qr,Ro,oo&&$o),u.createElement(YE.Provider,{value:Vn},yr)}),Ig=function(){return null};Ig.isSelectOptGroup=!0;var Tg=function(){return null};Tg.isSelectOption=!0;var ix=u.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,a=e.children,i=e.prefixCls,l=e.onInnerResize,s=e.innerProps,c=e.rtl,d=e.extra,f={},m={display:"flex",flexDirection:"column"};return r!==void 0&&(f={height:n,position:"relative",overflow:"hidden"},m=B(B({},m),{},F(F(F(F(F({transform:"translateY(".concat(r,"px)")},c?"marginRight":"marginLeft",-o),"position","absolute"),"left",0),"right",0),"top",0))),u.createElement("div",{style:f},u.createElement(kr,{onResize:function(b){var S=b.offsetHeight;S&&l&&l()}},u.createElement("div",be({style:m,className:q(F({},"".concat(i,"-holder-inner"),i)),ref:t},s),a,d)))});ix.displayName="Filler";function sF(e){var t=e.children,n=e.setRef,r=u.useCallback(function(o){n(o)},[]);return u.cloneElement(t,{ref:r})}function uF(e,t,n,r,o,a,i,l){var s=l.getKey;return e.slice(t,n+1).map(function(c,d){var f=t+d,m=i(c,f,{style:{width:r},offsetX:o}),y=s(c);return u.createElement(sF,{key:y,setRef:function(S){return a(c,S)}},m)})}function cF(e,t,n){var r=e.length,o=t.length,a,i;if(r===0&&o===0)return null;r<o?(a=e,i=t):(a=t,i=e);var l={__EMPTY_ITEM__:!0};function s(b){return b!==void 0?n(b):l}for(var c=null,d=Math.abs(r-o)!==1,f=0;f<i.length;f+=1){var m=s(a[f]),y=s(i[f]);if(m!==y){c=f,d=d||m!==s(i[f+1]);break}}return c===null?null:{index:c,multiple:d}}function dF(e,t,n){var r=u.useState(e),o=W(r,2),a=o[0],i=o[1],l=u.useState(null),s=W(l,2),c=s[0],d=s[1];return u.useEffect(function(){var f=cF(a||[],e||[],t);(f==null?void 0:f.index)!==void 0&&d(e[f.index]),i(e)},[e]),[c]}var tb=(typeof navigator>"u"?"undefined":je(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const lx=function(e,t,n,r){var o=u.useRef(!1),a=u.useRef(null);function i(){clearTimeout(a.current),o.current=!0,a.current=setTimeout(function(){o.current=!1},50)}var l=u.useRef({top:e,bottom:t,left:n,right:r});return l.current.top=e,l.current.bottom=t,l.current.left=n,l.current.right=r,function(s,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=s?c<0&&l.current.left||c>0&&l.current.right:c<0&&l.current.top||c>0&&l.current.bottom;return d&&f?(clearTimeout(a.current),o.current=!1):(!f||o.current)&&i(),!o.current&&f}};function fF(e,t,n,r,o,a,i){var l=u.useRef(0),s=u.useRef(null),c=u.useRef(null),d=u.useRef(!1),f=lx(t,n,r,o);function m(v,p){Rt.cancel(s.current),l.current+=p,c.current=p,!f(!1,p)&&(tb||v.preventDefault(),s.current=Rt(function(){var C=d.current?10:1;i(l.current*C),l.current=0}))}function y(v,p){i(p,!0),tb||v.preventDefault()}var b=u.useRef(null),S=u.useRef(null);function h(v){if(e){Rt.cancel(S.current),S.current=Rt(function(){b.current=null},2);var p=v.deltaX,C=v.deltaY,w=v.shiftKey,x=p,E=C;(b.current==="sx"||!b.current&&w&&C&&!p)&&(x=C,E=0,b.current="sx");var R=Math.abs(x),O=Math.abs(E);b.current===null&&(b.current=a&&R>O?"x":"y"),b.current==="y"?m(v,E):y(v,x)}}function g(v){e&&(d.current=v.detail===c.current)}return[h,g]}function mF(e,t,n,r){var o=u.useMemo(function(){return[new Map,[]]},[e,n.id,r]),a=W(o,2),i=a[0],l=a[1],s=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,m=i.get(d),y=i.get(f);if(m===void 0||y===void 0)for(var b=e.length,S=l.length;S<b;S+=1){var h,g=e[S],v=t(g);i.set(v,S);var p=(h=n.get(v))!==null&&h!==void 0?h:r;if(l[S]=(l[S-1]||0)+p,v===d&&(m=S),v===f&&(y=S),m!==void 0&&y!==void 0)break}return{top:l[m-1]||0,bottom:l[y]}};return s}var vF=function(){function e(){yn(this,e),F(this,"maps",void 0),F(this,"id",0),this.maps=Object.create(null)}return bn(e,[{key:"set",value:function(n,r){this.maps[n]=r,this.id+=1}},{key:"get",value:function(n){return this.maps[n]}}]),e}();function pF(e,t,n){var r=u.useState(0),o=W(r,2),a=o[0],i=o[1],l=u.useRef(new Map),s=u.useRef(new vF),c=u.useRef();function d(){Rt.cancel(c.current)}function f(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;d();var b=function(){l.current.forEach(function(h,g){if(h&&h.offsetParent){var v=jl(h),p=v.offsetHeight;s.current.get(g)!==p&&s.current.set(g,v.offsetHeight)}}),i(function(h){return h+1})};y?b():c.current=Rt(b)}function m(y,b){var S=e(y);l.current.get(S),b?(l.current.set(S,b),f()):l.current.delete(S)}return u.useEffect(function(){return d},[]),[m,f,s.current,a]}var nb=14/15;function gF(e,t,n){var r=u.useRef(!1),o=u.useRef(0),a=u.useRef(0),i=u.useRef(null),l=u.useRef(null),s,c=function(y){if(r.current){var b=Math.ceil(y.touches[0].pageX),S=Math.ceil(y.touches[0].pageY),h=o.current-b,g=a.current-S,v=Math.abs(h)>Math.abs(g);v?o.current=b:a.current=S,n(v,v?h:g)&&y.preventDefault(),clearInterval(l.current),l.current=setInterval(function(){v?h*=nb:g*=nb;var p=Math.floor(v?h:g);(!n(v,p,!0)||Math.abs(p)<=.1)&&clearInterval(l.current)},16)}},d=function(){r.current=!1,s()},f=function(y){s(),y.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(y.touches[0].pageX),a.current=Math.ceil(y.touches[0].pageY),i.current=y.target,i.current.addEventListener("touchmove",c,{passive:!1}),i.current.addEventListener("touchend",d,{passive:!0}))};s=function(){i.current&&(i.current.removeEventListener("touchmove",c),i.current.removeEventListener("touchend",d))},zt(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var m;(m=t.current)===null||m===void 0||m.removeEventListener("touchstart",f),s(),clearInterval(l.current)}},[e])}var hF=10;function yF(e,t,n,r,o,a,i,l){var s=u.useRef(),c=u.useState(null),d=W(c,2),f=d[0],m=d[1];return zt(function(){if(f&&f.times<hF){if(!e.current){m(function(L){return B({},L)});return}a();var y=f.targetAlign,b=f.originAlign,S=f.index,h=f.offset,g=e.current.clientHeight,v=!1,p=y,C=null;if(g){for(var w=y||b,x=0,E=0,R=0,O=Math.min(t.length-1,S),_=0;_<=O;_+=1){var A=o(t[_]);E=x;var M=n.get(A);R=E+(M===void 0?r:M),x=R}for(var D=w==="top"?h:g-h,I=O;I>=0;I-=1){var V=o(t[I]),j=n.get(V);if(j===void 0){v=!0;break}if(D-=j,D<=0)break}switch(w){case"top":C=E-h;break;case"bottom":C=R-g+h;break;default:{var P=e.current.scrollTop,$=P+g;E<P?p="top":R>$&&(p="bottom")}}C!==null&&i(C),C!==f.lastTop&&(v=!0)}v&&m(B(B({},f),{},{times:f.times+1,targetAlign:p,lastTop:C}))}},[f,e.current]),function(y){if(y==null){l();return}if(Rt.cancel(s.current),typeof y=="number")i(y);else if(y&&je(y)==="object"){var b,S=y.align;"index"in y?b=y.index:b=t.findIndex(function(v){return o(v)===y.key});var h=y.offset,g=h===void 0?0:h;m({times:0,index:b,offset:g,originAlign:S})}}}function rb(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var ob=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,a=e.scrollRange,i=e.onStartMove,l=e.onStopMove,s=e.onScroll,c=e.horizontal,d=e.spinSize,f=e.containerSize,m=e.style,y=e.thumbStyle,b=u.useState(!1),S=W(b,2),h=S[0],g=S[1],v=u.useState(null),p=W(v,2),C=p[0],w=p[1],x=u.useState(null),E=W(x,2),R=E[0],O=E[1],_=!r,A=u.useRef(),M=u.useRef(),D=u.useState(!1),I=W(D,2),V=I[0],j=I[1],P=u.useRef(),$=function(){clearTimeout(P.current),j(!0),P.current=setTimeout(function(){j(!1)},3e3)},L=a-f||0,N=f-d||0,T=u.useMemo(function(){if(o===0||L===0)return 0;var ne=o/L;return ne*N},[o,L,N]),k=function(X){X.stopPropagation(),X.preventDefault()},H=u.useRef({top:T,dragging:h,pageY:C,startTop:R});H.current={top:T,dragging:h,pageY:C,startTop:R};var U=function(X){g(!0),w(rb(X,c)),O(H.current.top),i(),X.stopPropagation(),X.preventDefault()};u.useEffect(function(){var ne=function(J){J.preventDefault()},X=A.current,te=M.current;return X.addEventListener("touchstart",ne,{passive:!1}),te.addEventListener("touchstart",U,{passive:!1}),function(){X.removeEventListener("touchstart",ne),te.removeEventListener("touchstart",U)}},[]);var G=u.useRef();G.current=L;var ee=u.useRef();ee.current=N,u.useEffect(function(){if(h){var ne,X=function(J){var oe=H.current,fe=oe.dragging,Pe=oe.pageY,ve=oe.startTop;Rt.cancel(ne);var le=A.current.getBoundingClientRect(),me=f/(c?le.width:le.height);if(fe){var se=(rb(J,c)-Pe)*me,Ee=ve;!_&&c?Ee-=se:Ee+=se;var Le=G.current,Se=ee.current,De=Se?Ee/Se:0,pe=Math.ceil(De*Le);pe=Math.max(pe,0),pe=Math.min(pe,Le),ne=Rt(function(){s(pe,c)})}},te=function(){g(!1),l()};return window.addEventListener("mousemove",X,{passive:!0}),window.addEventListener("touchmove",X,{passive:!0}),window.addEventListener("mouseup",te,{passive:!0}),window.addEventListener("touchend",te,{passive:!0}),function(){window.removeEventListener("mousemove",X),window.removeEventListener("touchmove",X),window.removeEventListener("mouseup",te),window.removeEventListener("touchend",te),Rt.cancel(ne)}}},[h]),u.useEffect(function(){return $(),function(){clearTimeout(P.current)}},[o]),u.useImperativeHandle(t,function(){return{delayHidden:$}});var Q="".concat(n,"-scrollbar"),ae={position:"absolute",visibility:V?null:"hidden"},ce={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(ae.height=8,ae.left=0,ae.right=0,ae.bottom=0,ce.height="100%",ce.width=d,_?ce.left=T:ce.right=T):(ae.width=8,ae.top=0,ae.bottom=0,_?ae.right=0:ae.left=0,ce.width="100%",ce.height=d,ce.top=T),u.createElement("div",{ref:A,className:q(Q,F(F(F({},"".concat(Q,"-horizontal"),c),"".concat(Q,"-vertical"),!c),"".concat(Q,"-visible"),V)),style:B(B({},ae),m),onMouseDown:k,onMouseMove:$},u.createElement("div",{ref:M,className:q("".concat(Q,"-thumb"),F({},"".concat(Q,"-thumb-moving"),h)),style:B(B({},ce),y),onMouseDown:U}))}),bF=20;function ab(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,bF),Math.floor(n)}var SF=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],CF=[],wF={overflowY:"auto",overflowAnchor:"none"};function EF(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,c=e.style,d=e.data,f=e.children,m=e.itemKey,y=e.virtual,b=e.direction,S=e.scrollWidth,h=e.component,g=h===void 0?"div":h,v=e.onScroll,p=e.onVirtualScroll,C=e.onVisibleChange,w=e.innerProps,x=e.extraRender,E=e.styles,R=it(e,SF),O=u.useCallback(function($e){return typeof m=="function"?m($e):$e==null?void 0:$e[m]},[m]),_=pF(O),A=W(_,4),M=A[0],D=A[1],I=A[2],V=A[3],j=!!(y!==!1&&a&&i),P=u.useMemo(function(){return Object.values(I.maps).reduce(function($e,Oe){return $e+Oe},0)},[I.id,I.maps]),$=j&&d&&(Math.max(i*d.length,P)>a||!!S),L=b==="rtl",N=q(r,F({},"".concat(r,"-rtl"),L),o),T=d||CF,k=u.useRef(),H=u.useRef(),U=u.useRef(),G=u.useState(0),ee=W(G,2),Q=ee[0],ae=ee[1],ce=u.useState(0),ne=W(ce,2),X=ne[0],te=ne[1],ie=u.useState(!1),J=W(ie,2),oe=J[0],fe=J[1],Pe=function(){fe(!0)},ve=function(){fe(!1)},le={getKey:O};function me($e){ae(function(Oe){var Ne;typeof $e=="function"?Ne=$e(Oe):Ne=$e;var It=Dt(Ne);return k.current.scrollTop=It,It})}var se=u.useRef({start:0,end:T.length}),Ee=u.useRef(),Le=dF(T,O),Se=W(Le,1),De=Se[0];Ee.current=De;var pe=u.useMemo(function(){if(!j)return{scrollHeight:void 0,start:0,end:T.length-1,offset:void 0};if(!$){var $e;return{scrollHeight:(($e=H.current)===null||$e===void 0?void 0:$e.offsetHeight)||0,start:0,end:T.length-1,offset:void 0}}for(var Oe=0,Ne,It,an,vr=T.length,Zt=0;Zt<vr;Zt+=1){var Hn=T[Zt],pr=O(Hn),Vn=I.get(pr),Zn=Oe+(Vn===void 0?i:Vn);Zn>=Q&&Ne===void 0&&(Ne=Zt,It=Oe),Zn>Q+a&&an===void 0&&(an=Zt),Oe=Zn}return Ne===void 0&&(Ne=0,It=0,an=Math.ceil(a/i)),an===void 0&&(an=T.length-1),an=Math.min(an+1,T.length-1),{scrollHeight:Oe,start:Ne,end:an,offset:It}},[$,j,Q,T,V,a]),ot=pe.scrollHeight,Be=pe.start,xe=pe.end,Ce=pe.offset;se.current.start=Be,se.current.end=xe;var Ve=u.useState({width:0,height:a}),ke=W(Ve,2),tt=ke[0],vt=ke[1],dt=function(Oe){vt({width:Oe.offsetWidth,height:Oe.offsetHeight})},Qe=u.useRef(),ut=u.useRef(),ct=u.useMemo(function(){return ab(tt.width,S)},[tt.width,S]),Lt=u.useMemo(function(){return ab(tt.height,ot)},[tt.height,ot]),bt=ot-a,Et=u.useRef(bt);Et.current=bt;function Dt($e){var Oe=$e;return Number.isNaN(Et.current)||(Oe=Math.min(Oe,Et.current)),Oe=Math.max(Oe,0),Oe}var St=Q<=0,Ze=Q>=bt,ze=X<=0,He=X>=S,Ae=lx(St,Ze,ze,He),ge=function(){return{x:L?-X:X,y:Q}},Ye=u.useRef(ge()),nt=nn(function($e){if(p){var Oe=B(B({},ge()),$e);(Ye.current.x!==Oe.x||Ye.current.y!==Oe.y)&&(p(Oe),Ye.current=Oe)}});function de($e,Oe){var Ne=$e;Oe?(Zo.flushSync(function(){te(Ne)}),nt()):me(Ne)}function we($e){var Oe=$e.currentTarget.scrollTop;Oe!==Q&&me(Oe),v==null||v($e),nt()}var he=function(Oe){var Ne=Oe,It=S?S-tt.width:0;return Ne=Math.max(Ne,0),Ne=Math.min(Ne,It),Ne},Ie=nn(function($e,Oe){Oe?(Zo.flushSync(function(){te(function(Ne){var It=Ne+(L?-$e:$e);return he(It)})}),nt()):me(function(Ne){var It=Ne+$e;return It})}),We=fF(j,St,Ze,ze,He,!!S,Ie),et=W(We,2),Pt=et[0],gt=et[1];gF(j,k,function($e,Oe,Ne){return Ae($e,Oe,Ne)?!1:(Pt({preventDefault:function(){},deltaX:$e?Oe:0,deltaY:$e?0:Oe}),!0)}),zt(function(){function $e(Ne){j&&Ne.preventDefault()}var Oe=k.current;return Oe.addEventListener("wheel",Pt,{passive:!1}),Oe.addEventListener("DOMMouseScroll",gt,{passive:!0}),Oe.addEventListener("MozMousePixelScroll",$e,{passive:!1}),function(){Oe.removeEventListener("wheel",Pt),Oe.removeEventListener("DOMMouseScroll",gt),Oe.removeEventListener("MozMousePixelScroll",$e)}},[j]),zt(function(){if(S){var $e=he(X);te($e),nt({x:$e})}},[tt.width,S]);var Ge=function(){var Oe,Ne;(Oe=Qe.current)===null||Oe===void 0||Oe.delayHidden(),(Ne=ut.current)===null||Ne===void 0||Ne.delayHidden()},Re=yF(k,T,I,i,O,function(){return D(!0)},me,Ge);u.useImperativeHandle(t,function(){return{nativeElement:U.current,getScrollInfo:ge,scrollTo:function(Oe){function Ne(It){return It&&je(It)==="object"&&("left"in It||"top"in It)}Ne(Oe)?(Oe.left!==void 0&&te(he(Oe.left)),Re(Oe.top)):Re(Oe)}}}),zt(function(){if(C){var $e=T.slice(Be,xe+1);C($e,T)}},[Be,xe,T]);var Ue=mF(T,O,I,i),xt=x==null?void 0:x({start:Be,end:xe,virtual:$,offsetX:X,offsetY:Ce,rtl:L,getSize:Ue}),Ct=uF(T,Be,xe,S,X,M,f,le),_t=null;a&&(_t=B(F({},s?"height":"maxHeight",a),wF),j&&(_t.overflowY="hidden",S&&(_t.overflowX="hidden"),oe&&(_t.pointerEvents="none")));var Ht={};return L&&(Ht.dir="rtl"),u.createElement("div",be({ref:U,style:B(B({},c),{},{position:"relative"}),className:N},Ht,R),u.createElement(kr,{onResize:dt},u.createElement(g,{className:"".concat(r,"-holder"),style:_t,ref:k,onScroll:we,onMouseEnter:Ge},u.createElement(ix,{prefixCls:r,height:ot,offsetX:X,offsetY:Ce,scrollWidth:S,onInnerResize:D,ref:H,innerProps:w,rtl:L,extra:xt},Ct))),$&&ot>a&&u.createElement(ob,{ref:Qe,prefixCls:r,scrollOffset:Q,scrollRange:ot,rtl:L,onScroll:de,onStartMove:Pe,onStopMove:ve,spinSize:Lt,containerSize:tt.height,style:E==null?void 0:E.verticalScrollBar,thumbStyle:E==null?void 0:E.verticalScrollBarThumb}),$&&S>tt.width&&u.createElement(ob,{ref:ut,prefixCls:r,scrollOffset:X,scrollRange:S,rtl:L,onScroll:de,onStartMove:Pe,onStopMove:ve,spinSize:ct,containerSize:tt.width,horizontal:!0,style:E==null?void 0:E.horizontalScrollBar,thumbStyle:E==null?void 0:E.horizontalScrollBarThumb}))}var sx=u.forwardRef(EF);sx.displayName="List";function xF(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var RF=["disabled","title","children","style","className"];function ib(e){return typeof e=="string"||typeof e=="number"}var $F=function(t,n){var r=m4(),o=r.prefixCls,a=r.id,i=r.open,l=r.multiple,s=r.mode,c=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,m=r.onPopupScroll,y=u.useContext(_g),b=y.maxCount,S=y.flattenOptions,h=y.onActiveValue,g=y.defaultActiveFirstOption,v=y.onSelect,p=y.menuItemSelectedIcon,C=y.rawValues,w=y.fieldNames,x=y.virtual,E=y.direction,R=y.listHeight,O=y.listItemHeight,_=y.optionRender,A="".concat(o,"-item"),M=Ps(function(){return S},[i,S],function(ne,X){return X[0]&&ne[1]!==X[1]}),D=u.useRef(null),I=u.useMemo(function(){return l&&Dv(b)&&(C==null?void 0:C.size)>=b},[l,b,C==null?void 0:C.size]),V=function(X){X.preventDefault()},j=function(X){var te;(te=D.current)===null||te===void 0||te.scrollTo(typeof X=="number"?{index:X}:X)},P=function(X){for(var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ie=M.length,J=0;J<ie;J+=1){var oe=(X+J*te+ie)%ie,fe=M[oe]||{},Pe=fe.group,ve=fe.data;if(!Pe&&!(ve!=null&&ve.disabled)&&!I)return oe}return-1},$=u.useState(function(){return P(0)}),L=W($,2),N=L[0],T=L[1],k=function(X){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;T(X);var ie={source:te?"keyboard":"mouse"},J=M[X];if(!J){h(null,-1,ie);return}h(J.value,X,ie)};u.useEffect(function(){k(g!==!1?P(0):-1)},[M.length,c]);var H=u.useCallback(function(ne){return C.has(ne)&&s!=="combobox"},[s,ye(C).toString(),C.size]);u.useEffect(function(){var ne=setTimeout(function(){if(!l&&i&&C.size===1){var te=Array.from(C)[0],ie=M.findIndex(function(J){var oe=J.data;return oe.value===te});ie!==-1&&(k(ie),j(ie))}});if(i){var X;(X=D.current)===null||X===void 0||X.scrollTo(void 0)}return function(){return clearTimeout(ne)}},[i,c]);var U=function(X){X!==void 0&&v(X,{selected:!C.has(X)}),l||d(!1)};if(u.useImperativeHandle(n,function(){return{onKeyDown:function(X){var te=X.which,ie=X.ctrlKey;switch(te){case re.N:case re.P:case re.UP:case re.DOWN:{var J=0;if(te===re.UP?J=-1:te===re.DOWN?J=1:xF()&&ie&&(te===re.N?J=1:te===re.P&&(J=-1)),J!==0){var oe=P(N+J,J);j(oe),k(oe,!0)}break}case re.ENTER:{var fe,Pe=M[N];Pe&&!(Pe!=null&&(fe=Pe.data)!==null&&fe!==void 0&&fe.disabled)&&!I?U(Pe.value):U(void 0),i&&X.preventDefault();break}case re.ESC:d(!1),i&&X.stopPropagation()}},onKeyUp:function(){},scrollTo:function(X){j(X)}}}),M.length===0)return u.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(A,"-empty"),onMouseDown:V},f);var G=Object.keys(w).map(function(ne){return w[ne]}),ee=function(X){return X.label};function Q(ne,X){var te=ne.group;return{role:te?"presentation":"option",id:"".concat(a,"_list_").concat(X)}}var ae=function(X){var te=M[X];if(!te)return null;var ie=te.data||{},J=ie.value,oe=te.group,fe=ta(ie,!0),Pe=ee(te);return te?u.createElement("div",be({"aria-label":typeof Pe=="string"&&!oe?Pe:null},fe,{key:X},Q(te,X),{"aria-selected":H(J)}),J):null},ce={role:"listbox",id:"".concat(a,"_list")};return u.createElement(u.Fragment,null,x&&u.createElement("div",be({},ce,{style:{height:0,width:0,overflow:"hidden"}}),ae(N-1),ae(N),ae(N+1)),u.createElement(sx,{itemKey:"key",ref:D,data:M,height:R,itemHeight:O,fullHeight:!1,onMouseDown:V,onScroll:m,virtual:x,direction:E,innerProps:x?null:ce},function(ne,X){var te=ne.group,ie=ne.groupOption,J=ne.data,oe=ne.label,fe=ne.value,Pe=J.key;if(te){var ve,le=(ve=J.title)!==null&&ve!==void 0?ve:ib(oe)?oe.toString():void 0;return u.createElement("div",{className:q(A,"".concat(A,"-group"),J.className),title:le},oe!==void 0?oe:Pe)}var me=J.disabled,se=J.title;J.children;var Ee=J.style,Le=J.className,Se=it(J,RF),De=mr(Se,G),pe=H(fe),ot=me||!pe&&I,Be="".concat(A,"-option"),xe=q(A,Be,Le,F(F(F(F({},"".concat(Be,"-grouped"),ie),"".concat(Be,"-active"),N===X&&!ot),"".concat(Be,"-disabled"),ot),"".concat(Be,"-selected"),pe)),Ce=ee(ne),Ve=!p||typeof p=="function"||pe,ke=typeof Ce=="number"?Ce:Ce||fe,tt=ib(ke)?ke.toString():void 0;return se!==void 0&&(tt=se),u.createElement("div",be({},ta(De),x?{}:Q(ne,X),{"aria-selected":pe,className:xe,title:tt,onMouseMove:function(){N===X||ot||k(X)},onClick:function(){ot||U(fe)},style:Ee}),u.createElement("div",{className:"".concat(Be,"-content")},typeof _=="function"?_(ne,{index:X}):ke),u.isValidElement(p)||pe,Ve&&u.createElement(Cd,{className:"".concat(A,"-option-state"),customizeIcon:p,customizeIconProps:{value:fe,disabled:ot,isSelected:pe}},pe?"✓":null))}))},OF=u.forwardRef($F);const PF=function(e,t){var n=u.useRef({values:new Map,options:new Map}),r=u.useMemo(function(){var a=n.current,i=a.values,l=a.options,s=e.map(function(f){if(f.label===void 0){var m;return B(B({},f),{},{label:(m=i.get(f.value))===null||m===void 0?void 0:m.label})}return f}),c=new Map,d=new Map;return s.forEach(function(f){c.set(f.value,f),d.set(f.value,t.get(f.value)||l.get(f.value))}),n.current.values=c,n.current.options=d,s},[e,t]),o=u.useCallback(function(a){return t.get(a)||n.current.options.get(a)},[t]);return[r,o]};function Ff(e,t){return rx(e).join("").toUpperCase().includes(t)}const _F=function(e,t,n,r,o){return u.useMemo(function(){if(!n||r===!1)return e;var a=t.options,i=t.label,l=t.value,s=[],c=typeof r=="function",d=n.toUpperCase(),f=c?r:function(y,b){return o?Ff(b[o],d):b[a]?Ff(b[i!=="children"?i:"label"],d):Ff(b[l],d)},m=c?function(y){return Fv(y)}:function(y){return y};return e.forEach(function(y){if(y[a]){var b=f(n,m(y));if(b)s.push(y);else{var S=y[a].filter(function(h){return f(n,m(h))});S.length&&s.push(B(B({},y),{},F({},a,S)))}return}f(n,m(y))&&s.push(y)}),s},[e,r,o,n,t])};var lb=0,IF=Fn();function TF(){var e;return IF?(e=lb,lb+=1):e="TEST_OR_SSR",e}function MF(e){var t=u.useState(),n=W(t,2),r=n[0],o=n[1];return u.useEffect(function(){o("rc_select_".concat(TF()))},[]),e||r}var NF=["children","value"],LF=["children"];function AF(e){var t=e,n=t.key,r=t.props,o=r.children,a=r.value,i=it(r,NF);return B({key:n,value:a!==void 0?a:n,children:o},i)}function ux(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ea(e).map(function(n,r){if(!u.isValidElement(n)||!n.type)return null;var o=n,a=o.type.isSelectOptGroup,i=o.key,l=o.props,s=l.children,c=it(l,LF);return t||!a?AF(n):B(B({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},c),{},{options:ux(s)})}).filter(function(n){return n})}var jF=function(t,n,r,o,a){return u.useMemo(function(){var i=t,l=!t;l&&(i=ux(n));var s=new Map,c=new Map,d=function(y,b,S){S&&typeof S=="string"&&y.set(b[S],b)},f=function m(y){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=0;S<y.length;S+=1){var h=y[S];!h[r.options]||b?(s.set(h[r.value],h),d(c,h,r.label),d(c,h,o),d(c,h,a)):m(h[r.options],!0)}};return f(i),{options:i,valueOptions:s,labelOptions:c}},[t,n,r,o,a])};function sb(e){var t=u.useRef();t.current=e;var n=u.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}var DF=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],FF=["inputValue"];function zF(e){return!e||je(e)!=="object"}var BF=u.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,c=e.searchValue,d=e.onSearch,f=e.autoClearSearchValue,m=f===void 0?!0:f,y=e.onSelect,b=e.onDeselect,S=e.dropdownMatchSelectWidth,h=S===void 0?!0:S,g=e.filterOption,v=e.filterSort,p=e.optionFilterProp,C=e.optionLabelProp,w=e.options,x=e.optionRender,E=e.children,R=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,_=e.virtual,A=e.direction,M=e.listHeight,D=M===void 0?200:M,I=e.listItemHeight,V=I===void 0?20:I,j=e.labelRender,P=e.value,$=e.defaultValue,L=e.labelInValue,N=e.onChange,T=e.maxCount,k=it(e,DF),H=MF(n),U=zv(r),G=!!(!w&&E),ee=u.useMemo(function(){return g===void 0&&r==="combobox"?!1:g},[g,r]),Q=u.useMemo(function(){return ax(l,G)},[JSON.stringify(l),G]),ae=lr("",{value:c!==void 0?c:s,postState:function(we){return we||""}}),ce=W(ae,2),ne=ce[0],X=ce[1],te=jF(w,E,Q,p,C),ie=te.valueOptions,J=te.labelOptions,oe=te.options,fe=u.useCallback(function(de){var we=rx(de);return we.map(function(he){var Ie,We,et,Pt,gt;if(zF(he))Ie=he;else{var Ge;et=he.key,We=he.label,Ie=(Ge=he.value)!==null&&Ge!==void 0?Ge:et}var Re=ie.get(Ie);if(Re){var Ue;We===void 0&&(We=Re==null?void 0:Re[C||Q.label]),et===void 0&&(et=(Ue=Re==null?void 0:Re.key)!==null&&Ue!==void 0?Ue:Ie),Pt=Re==null?void 0:Re.disabled,gt=Re==null?void 0:Re.title}return{label:We,value:Ie,key:et,disabled:Pt,title:gt}})},[Q,C,ie]),Pe=lr($,{value:P}),ve=W(Pe,2),le=ve[0],me=ve[1],se=u.useMemo(function(){var de,we=U&&le===null?[]:le,he=fe(we);return r==="combobox"&&M4((de=he[0])===null||de===void 0?void 0:de.value)?[]:he},[le,fe,r,U]),Ee=PF(se,ie),Le=W(Ee,2),Se=Le[0],De=Le[1],pe=u.useMemo(function(){if(!r&&Se.length===1){var de=Se[0];if(de.value===null&&(de.label===null||de.label===void 0))return[]}return Se.map(function(we){var he;return B(B({},we),{},{label:(he=typeof j=="function"?j(we):we.label)!==null&&he!==void 0?he:we.value})})},[r,Se,j]),ot=u.useMemo(function(){return new Set(Se.map(function(de){return de.value}))},[Se]);u.useEffect(function(){if(r==="combobox"){var de,we=(de=Se[0])===null||de===void 0?void 0:de.value;X(T4(we)?String(we):"")}},[Se]);var Be=sb(function(de,we){var he=we??de;return F(F({},Q.value,de),Q.label,he)}),xe=u.useMemo(function(){if(r!=="tags")return oe;var de=ye(oe),we=function(Ie){return ie.has(Ie)};return ye(Se).sort(function(he,Ie){return he.value<Ie.value?-1:1}).forEach(function(he){var Ie=he.value;we(Ie)||de.push(Be(Ie,he.label))}),de},[Be,oe,ie,Se,r]),Ce=_F(xe,Q,ne,ee,p),Ve=u.useMemo(function(){return r!=="tags"||!ne||Ce.some(function(de){return de[p||"value"]===ne})||Ce.some(function(de){return de[Q.value]===ne})?Ce:[Be(ne)].concat(ye(Ce))},[Be,p,r,Ce,ne,Q]),ke=u.useMemo(function(){return v?ye(Ve).sort(function(de,we){return v(de,we,{searchValue:ne})}):Ve},[Ve,v,ne]),tt=u.useMemo(function(){return nF(ke,{fieldNames:Q,childrenAsData:G})},[ke,Q,G]),vt=function(we){var he=fe(we);if(me(he),N&&(he.length!==Se.length||he.some(function(et,Pt){var gt;return((gt=Se[Pt])===null||gt===void 0?void 0:gt.value)!==(et==null?void 0:et.value)}))){var Ie=L?he:he.map(function(et){return et.value}),We=he.map(function(et){return Fv(De(et.value))});N(U?Ie:Ie[0],U?We:We[0])}},dt=u.useState(null),Qe=W(dt,2),ut=Qe[0],ct=Qe[1],Lt=u.useState(0),bt=W(Lt,2),Et=bt[0],Dt=bt[1],St=R!==void 0?R:r!=="combobox",Ze=u.useCallback(function(de,we){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ie=he.source,We=Ie===void 0?"keyboard":Ie;Dt(we),i&&r==="combobox"&&de!==null&&We==="keyboard"&&ct(String(de))},[i,r]),ze=function(we,he,Ie){var We=function(){var Ht,$e=De(we);return[L?{label:$e==null?void 0:$e[Q.label],value:we,key:(Ht=$e==null?void 0:$e.key)!==null&&Ht!==void 0?Ht:we}:we,Fv($e)]};if(he&&y){var et=We(),Pt=W(et,2),gt=Pt[0],Ge=Pt[1];y(gt,Ge)}else if(!he&&b&&Ie!=="clear"){var Re=We(),Ue=W(Re,2),xt=Ue[0],Ct=Ue[1];b(xt,Ct)}},He=sb(function(de,we){var he,Ie=U?we.selected:!0;Ie?he=U?[].concat(ye(Se),[de]):[de]:he=Se.filter(function(We){return We.value!==de}),vt(he),ze(de,Ie),r==="combobox"?ct(""):(!zv||m)&&(X(""),ct(""))}),Ae=function(we,he){vt(we);var Ie=he.type,We=he.values;(Ie==="remove"||Ie==="clear")&&We.forEach(function(et){ze(et.value,!1,Ie)})},ge=function(we,he){if(X(we),ct(null),he.source==="submit"){var Ie=(we||"").trim();if(Ie){var We=Array.from(new Set([].concat(ye(ot),[Ie])));vt(We),ze(Ie,!0),X("")}return}he.source!=="blur"&&(r==="combobox"&&vt(we),d==null||d(we))},Ye=function(we){var he=we;r!=="tags"&&(he=we.map(function(We){var et=J.get(We);return et==null?void 0:et.value}).filter(function(We){return We!==void 0}));var Ie=Array.from(new Set([].concat(ye(ot),ye(he))));vt(Ie),Ie.forEach(function(We){ze(We,!0)})},nt=u.useMemo(function(){var de=_!==!1&&h!==!1;return B(B({},te),{},{flattenOptions:tt,onActiveValue:Ze,defaultActiveFirstOption:St,onSelect:He,menuItemSelectedIcon:O,rawValues:ot,fieldNames:Q,virtual:de,direction:A,listHeight:D,listItemHeight:V,childrenAsData:G,maxCount:T,optionRender:x})},[T,te,tt,Ze,St,He,O,ot,Q,_,h,A,D,V,G,x]);return u.createElement(_g.Provider,{value:nt},u.createElement(lF,be({},k,{id:H,prefixCls:a,ref:t,omitDomProps:FF,mode:r,displayValues:pe,onDisplayValuesChange:Ae,direction:A,searchValue:ne,onSearch:ge,autoClearSearchValue:m,onSearchSplit:Ye,dropdownMatchSelectWidth:h,OptionList:OF,emptyOptions:!tt.length,activeValue:ut,activeDescendantId:"".concat(H,"_list_").concat(Et)})))}),Mg=BF;Mg.Option=Tg;Mg.OptGroup=Ig;function Ic(e,t,n){return q({[`${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 wd=(e,t)=>t||e,kF=()=>{const[,e]=cr(),n=new En(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return u.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("title",null,"empty image"),u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.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"}),u.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)"}),u.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"}),u.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"})),u.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"}),u.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},HF=()=>{const[,e]=cr(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:a,shadowColor:i,contentColor:l}=u.useMemo(()=>({borderColor:new En(t).onBackground(o).toHexShortString(),shadowColor:new En(n).onBackground(o).toHexShortString(),contentColor:new En(r).onBackground(o).toHexShortString()}),[t,n,r,o]);return u.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("title",null,"Simple Empty"),u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{fillRule:"nonzero",stroke:a},u.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"}),u.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}))))},VF=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.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},WF=Ir("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=Gt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[VF(o)]});var UF=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const cx=u.createElement(kF,null),dx=u.createElement(HF,null),ha=e=>{var{className:t,rootClassName:n,prefixCls:r,image:o=cx,description:a,children:i,imageStyle:l,style:s}=e,c=UF(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:m}=u.useContext(ft),y=d("empty",r),[b,S,h]=WF(y),[g]=md("Empty"),v=typeof a<"u"?a:g==null?void 0:g.description,p=typeof v=="string"?v:"empty";let C=null;return typeof o=="string"?C=u.createElement("img",{alt:p,src:o}):C=o,b(u.createElement("div",Object.assign({className:q(S,h,y,m==null?void 0:m.className,{[`${y}-normal`]:o===dx,[`${y}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},m==null?void 0:m.style),s)},c),u.createElement("div",{className:`${y}-image`,style:l},C),v&&u.createElement("div",{className:`${y}-description`},v),i&&u.createElement("div",{className:`${y}-footer`},i)))};ha.PRESENTED_IMAGE_DEFAULT=cx;ha.PRESENTED_IMAGE_SIMPLE=dx;const GF=e=>{const{componentName:t}=e,{getPrefixCls:n}=u.useContext(ft),r=n("empty");switch(t){case"Table":case"List":return K.createElement(ha,{image:ha.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return K.createElement(ha,{image:ha.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return K.createElement(ha,null)}},Ng=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,o;const{variant:a,[e]:i}=u.useContext(ft),l=u.useContext(Vj),s=i==null?void 0:i.variant;let c;typeof t<"u"?c=t:n===!1?c="borderless":c=(o=(r=l??s)!==null&&r!==void 0?r:a)!==null&&o!==void 0?o:"outlined";const d=tN.includes(c);return[c,d]},KF=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function qF(e,t){return e||KF(t)}const ub=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},QF=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},no(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,[`
          ${o}${l}bottomLeft,
          ${a}${l}bottomLeft
        `]:{animationName:NE},[`
          ${o}${l}topLeft,
          ${a}${l}topLeft,
          ${o}${l}topRight,
          ${a}${l}topRight
        `]:{animationName:AE},[`${i}${l}bottomLeft`]:{animationName:LE},[`
          ${i}${l}topLeft,
          ${i}${l}topRight
        `]:{animationName:jE},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},ub(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({flex:"auto"},Vi),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ub(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},Pc(e,"slide-up"),Pc(e,"slide-down"),By(e,"move-up"),By(e,"move-down")]},XF=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,a=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(a).sub(o).equal(),0);return{basePadding:a,containerPadding:i,itemHeight:Z(t),itemLineHeight:Z(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},YF=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},JF=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:l,colorIcon:s,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},hg()),{display:"inline-flex",alignItems:"center",color:s,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}})}}}},ZF=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,o=`${n}-selection-overflow`,a=e.multipleSelectItemHeight,i=YF(e),l=t?`${n}-${t}`:"",s=XF(e);return{[`${n}-multiple${l}`]:Object.assign(Object.assign({},JF(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:s.basePadding,paddingBlock:s.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Z(r)} 0`,lineHeight:Z(a),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:s.itemHeight,lineHeight:Z(s.itemLineHeight)},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n          &-input,\n          &-mirror\n        ":{height:a,fontFamily:e.fontFamily,lineHeight:Z(a),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 zf(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
        &${n}-show-arrow ${n}-selector,
        &${n}-allow-clear ${n}-selector
      `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[ZF(e,t),o]}const ez=e=>{const{componentCls:t}=e,n=Gt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Gt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[zf(e),zf(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},zf(r,"lg")]};function Bf(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},no(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
          ${n}-selection-item,
          ${n}-selection-placeholder
        `]:{padding:0,lineHeight:Z(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
        &${n}-show-arrow ${n}-selection-item,
        &${n}-show-arrow ${n}-selection-placeholder
      `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${Z(r)}`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:Z(a)}}},[`&${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 ${Z(r)}`,"&:after":{display:"none"}}}}}}}function tz(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Bf(e),Bf(Gt(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 ${Z(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
            &${t}-show-arrow ${t}-selection-item,
            &${t}-show-arrow ${t}-selection-placeholder
          `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Bf(Gt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const nz=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:a,controlHeightLG:i,paddingXXS:l,controlPaddingHorizontal:s,zIndexPopupBase:c,colorText:d,fontWeightStrong:f,controlItemBgActive:m,controlItemBgHover:y,colorBgContainer:b,colorFillSecondary:S,colorBgContainerDisabled:h,colorTextDisabled:g}=e,v=l*2,p=r*2,C=Math.min(o-v,o-p),w=Math.min(a-v,a-p),x=Math.min(i-v,i-p);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:c+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:m,optionActiveBg:y,optionPadding:`${(o-t*n)/2}px ${s}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:b,clearBg:b,singleItemHeightLG:i,multipleItemBg:S,multipleItemBorderColor:"transparent",multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:x,multipleSelectorBgDisabled:h,multipleItemColorDisabled:g,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},fx=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Z(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Z(o)} ${t.activeShadowColor}`,outline:0}}}},cb=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},fx(e,t))}),rz=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},fx(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),cb(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),cb(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Z(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),mx=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Z(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},db=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},mx(e,t))}),oz=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},mx(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),db(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),db(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Z(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),az=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Z(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),iz=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},rz(e)),oz(e)),az(e))}),lz=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},sz=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},uz=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},no(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},lz(e)),sz(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Vi),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Vi),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},hg()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},cz=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},uz(e),tz(e),ez(e),QF(e),{[`${t}-rtl`]:{direction:"rtl"}},xg(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},dz=Ir("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Gt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[cz(r),iz(r)]},nz,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var fz={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"},mz=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:fz}))},vz=u.forwardRef(mz),pz={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"},gz=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:pz}))},hz=u.forwardRef(gz),yz={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"},bz=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:yz}))},vx=u.forwardRef(bz);function Sz(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:a,multiple:i,hasFeedback:l,prefixCls:s,showSuffixIcon:c,feedbackIcon:d,showArrow:f,componentName:m}=e;const y=n??u.createElement(Sg,null),b=v=>t===null&&!l&&!f?null:u.createElement(u.Fragment,null,c!==!1&&v,l&&d);let S=null;if(t!==void 0)S=b(t);else if(a)S=b(u.createElement(Zw,{spin:!0}));else{const v=`${s}-suffix`;S=p=>{let{open:C,showSearch:w}=p;return b(C&&w?u.createElement(vx,{className:v}):u.createElement(hz,{className:v}))}}let h=null;r!==void 0?h=r:i?h=u.createElement(vz,null):h=null;let g=null;return o!==void 0?g=o:g=u.createElement(_s,null),{clearIcon:y,suffixIcon:S,itemIcon:h,removeIcon:g}}function Cz(e,t){return t!==void 0?t:e!==null}var wz=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const px="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ez=(e,t)=>{var n;const{prefixCls:r,bordered:o,className:a,rootClassName:i,getPopupContainer:l,popupClassName:s,dropdownClassName:c,listHeight:d=256,placement:f,listItemHeight:m,size:y,disabled:b,notFoundContent:S,status:h,builtinPlacements:g,dropdownMatchSelectWidth:v,popupMatchSelectWidth:p,direction:C,style:w,allowClear:x,variant:E,dropdownStyle:R,transitionName:O,tagRender:_,maxCount:A}=e,M=wz(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:D,getPrefixCls:I,renderEmpty:V,direction:j,virtual:P,popupMatchSelectWidth:$,popupOverflow:L,select:N}=u.useContext(ft),[,T]=cr(),k=m??(T==null?void 0:T.controlHeight),H=I("select",r),U=I(),G=C??j,{compactSize:ee,compactItemClassnames:Q}=hd(H,G),[ae,ce]=Ng("select",E,o),ne=Ua(H),[X,te,ie]=dz(H,ne),J=u.useMemo(()=>{const{mode:ut}=e;if(ut!=="combobox")return ut===px?"combobox":ut},[e.mode]),oe=J==="multiple"||J==="tags",fe=Cz(e.suffixIcon,e.showArrow),Pe=(n=p??v)!==null&&n!==void 0?n:$,{status:ve,hasFeedback:le,isFormItemInput:me,feedbackIcon:se}=u.useContext(So),Ee=wd(ve,h);let Le;S!==void 0?Le=S:J==="combobox"?Le=null:Le=(V==null?void 0:V("Select"))||u.createElement(GF,{componentName:"Select"});const{suffixIcon:Se,itemIcon:De,removeIcon:pe,clearIcon:ot}=Sz(Object.assign(Object.assign({},M),{multiple:oe,hasFeedback:le,feedbackIcon:se,showSuffixIcon:fe,prefixCls:H,componentName:"Select"})),Be=x===!0?{clearIcon:ot}:x,xe=mr(M,["suffixIcon","itemIcon"]),Ce=q(s||c,{[`${H}-dropdown-${G}`]:G==="rtl"},i,ie,ne,te),Ve=xo(ut=>{var ct;return(ct=y??ee)!==null&&ct!==void 0?ct:ut}),ke=u.useContext(Fa),tt=b??ke,vt=q({[`${H}-lg`]:Ve==="large",[`${H}-sm`]:Ve==="small",[`${H}-rtl`]:G==="rtl",[`${H}-${ae}`]:ce,[`${H}-in-form-item`]:me},Ic(H,Ee,le),Q,N==null?void 0:N.className,a,i,ie,ne,te),dt=u.useMemo(()=>f!==void 0?f:G==="rtl"?"bottomRight":"bottomLeft",[f,G]),[Qe]=rE("SelectLike",R==null?void 0:R.zIndex);return X(u.createElement(Mg,Object.assign({ref:t,virtual:P,showSearch:N==null?void 0:N.showSearch},xe,{style:Object.assign(Object.assign({},N==null?void 0:N.style),w),dropdownMatchSelectWidth:Pe,transitionName:Wi(U,"slide-up",O),builtinPlacements:qF(g,L),listHeight:d,listItemHeight:k,mode:J,prefixCls:H,placement:dt,direction:G,suffixIcon:Se,menuItemSelectedIcon:De,removeIcon:pe,allowClear:Be,notFoundContent:Le,className:vt,getPopupContainer:l||D,dropdownClassName:Ce,disabled:tt,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Qe}),maxCount:oe?A:void 0,tagRender:oe?_:void 0})))},qa=u.forwardRef(Ez),xz=d4(qa);qa.SECRET_COMBOBOX_MODE_DO_NOT_USE=px;qa.Option=Tg;qa.OptGroup=Ig;qa._InternalPanelDoNotUseOrYouWillBeFired=xz;var Rz=re.ESC,$z=re.TAB;function Oz(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,a=e.overlayRef,i=u.useRef(!1),l=function(){if(t){var f,m;(f=n.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),r==null||r(!1)}},s=function(){var f;return(f=a.current)!==null&&f!==void 0&&f.focus?(a.current.focus(),i.current=!0,!0):!1},c=function(f){switch(f.keyCode){case Rz:l();break;case $z:{var m=!1;i.current||(m=s()),m?f.preventDefault():l();break}}};u.useEffect(function(){return t?(window.addEventListener("keydown",c),o&&Rt(s,3),function(){window.removeEventListener("keydown",c),i.current=!1}):function(){i.current=!1}},[t])}var Pz=u.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,a=u.useMemo(function(){var l;return typeof n=="function"?l=n():l=n,l},[n]),i=Gr(t,a==null?void 0:a.ref);return K.createElement(K.Fragment,null,r&&K.createElement("div",{className:"".concat(o,"-arrow")}),K.cloneElement(a,{ref:ia(a)?i:void 0}))}),oi={adjustX:1,adjustY:1},ai=[0,0],_z={topLeft:{points:["bl","tl"],overflow:oi,offset:[0,-4],targetOffset:ai},top:{points:["bc","tc"],overflow:oi,offset:[0,-4],targetOffset:ai},topRight:{points:["br","tr"],overflow:oi,offset:[0,-4],targetOffset:ai},bottomLeft:{points:["tl","bl"],overflow:oi,offset:[0,4],targetOffset:ai},bottom:{points:["tc","bc"],overflow:oi,offset:[0,4],targetOffset:ai},bottomRight:{points:["tr","br"],overflow:oi,offset:[0,4],targetOffset:ai}},Iz=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Tz(e,t){var n,r=e.arrow,o=r===void 0?!1:r,a=e.prefixCls,i=a===void 0?"rc-dropdown":a,l=e.transitionName,s=e.animation,c=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,y=m===void 0?_z:m,b=e.getPopupContainer,S=e.showAction,h=e.hideAction,g=e.overlayClassName,v=e.overlayStyle,p=e.visible,C=e.trigger,w=C===void 0?["hover"]:C,x=e.autoFocus,E=e.overlay,R=e.children,O=e.onVisibleChange,_=it(e,Iz),A=K.useState(),M=W(A,2),D=M[0],I=M[1],V="visible"in e?p:D,j=K.useRef(null),P=K.useRef(null),$=K.useRef(null);K.useImperativeHandle(t,function(){return j.current});var L=function(ae){I(ae),O==null||O(ae)};Oz({visible:V,triggerRef:$,onVisibleChange:L,autoFocus:x,overlayRef:P});var N=function(ae){var ce=e.onOverlayClick;I(!1),ce&&ce(ae)},T=function(){return K.createElement(Pz,{ref:P,overlay:E,prefixCls:i,arrow:o})},k=function(){return typeof E=="function"?T:T()},H=function(){var ae=e.minOverlayWidthMatchTrigger,ce=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?ae:!ce},U=function(){var ae=e.openClassName;return ae!==void 0?ae:"".concat(i,"-open")},G=K.cloneElement(R,{className:q((n=R.props)===null||n===void 0?void 0:n.className,V&&U()),ref:ia(R)?Gr($,R.ref):void 0}),ee=h;return!ee&&w.indexOf("contextMenu")!==-1&&(ee=["click"]),K.createElement(Pg,be({builtinPlacements:y},_,{prefixCls:i,ref:j,popupClassName:q(g,F({},"".concat(i,"-show-arrow"),o)),popupStyle:v,action:w,showAction:S,hideAction:ee,popupPlacement:f,popupAlign:c,popupTransitionName:l,popupAnimation:s,popupVisible:V,stretch:H()?"minWidth":"",popup:k(),onPopupVisibleChange:L,onPopupClick:N,getPopupContainer:b}),G)}const Mz=K.forwardRef(Tz);var gx=u.createContext(null);function hx(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function yx(e){var t=u.useContext(gx);return hx(t,e)}var Nz=["children","locked"],Ur=u.createContext(null);function Lz(e,t){var n=B({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function bs(e){var t=e.children,n=e.locked,r=it(e,Nz),o=u.useContext(Ur),a=Ps(function(){return Lz(o,r)},[o,r],function(i,l){return!n&&(i[0]!==l[0]||!ds(i[1],l[1],!0))});return u.createElement(Ur.Provider,{value:a},t)}var Az=[],bx=u.createContext(null);function Ed(){return u.useContext(bx)}var Sx=u.createContext(Az);function js(e){var t=u.useContext(Sx);return u.useMemo(function(){return e!==void 0?[].concat(ye(t),[e]):t},[t,e])}var Cx=u.createContext(null),Lg=u.createContext({});function fb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Cg(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 jz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=ye(e.querySelectorAll("*")).filter(function(r){return fb(r,t)});return fb(e,t)&&n.unshift(e),n}var Bv=re.LEFT,kv=re.RIGHT,Hv=re.UP,Bu=re.DOWN,ku=re.ENTER,wx=re.ESC,gl=re.HOME,hl=re.END,mb=[Hv,Bu,Bv,kv];function Dz(e,t,n,r){var o,a,i,l,s="prev",c="next",d="children",f="parent";if(e==="inline"&&r===ku)return{inlineTrigger:!0};var m=(o={},F(o,Hv,s),F(o,Bu,c),o),y=(a={},F(a,Bv,n?c:s),F(a,kv,n?s:c),F(a,Bu,d),F(a,ku,d),a),b=(i={},F(i,Hv,s),F(i,Bu,c),F(i,ku,d),F(i,wx,f),F(i,Bv,n?d:f),F(i,kv,n?f:d),i),S={inline:m,horizontal:y,vertical:b,inlineSub:m,horizontalSub:b,verticalSub:b},h=(l=S["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[r];switch(h){case s:return{offset:-1,sibling:!0};case c:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function Fz(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function zz(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Ag(e,t){var n=jz(e,!0);return n.filter(function(r){return t.has(r)})}function vb(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Ag(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]}var Vv=function(t,n){var r=new Set,o=new Map,a=new Map;return t.forEach(function(i){var l=document.querySelector("[data-menu-id='".concat(hx(n,i),"']"));l&&(r.add(l),a.set(l,i),o.set(i,l))}),{elements:r,key2element:o,element2key:a}};function Bz(e,t,n,r,o,a,i,l,s,c){var d=u.useRef(),f=u.useRef();f.current=t;var m=function(){Rt.cancel(d.current)};return u.useEffect(function(){return function(){m()}},[]),function(y){var b=y.which;if([].concat(mb,[ku,wx,gl,hl]).includes(b)){var S=a(),h=Vv(S,r),g=h,v=g.elements,p=g.key2element,C=g.element2key,w=p.get(t),x=zz(w,v),E=C.get(x),R=Dz(e,i(E,!0).length===1,n,b);if(!R&&b!==gl&&b!==hl)return;(mb.includes(b)||[gl,hl].includes(b))&&y.preventDefault();var O=function(P){if(P){var $=P,L=P.querySelector("a");L!=null&&L.getAttribute("href")&&($=L);var N=C.get(P);l(N),m(),d.current=Rt(function(){f.current===N&&$.focus()})}};if([gl,hl].includes(b)||R.sibling||!x){var _;!x||e==="inline"?_=o.current:_=Fz(x);var A,M=Ag(_,v);b===gl?A=M[0]:b===hl?A=M[M.length-1]:A=vb(_,v,x,R.offset),O(A)}else if(R.inlineTrigger)s(E);else if(R.offset>0)s(E,!0),m(),d.current=Rt(function(){h=Vv(S,r);var j=x.getAttribute("aria-controls"),P=document.getElementById(j),$=vb(P,h.elements);O($)},5);else if(R.offset<0){var D=i(E,!0),I=D[D.length-2],V=p.get(I);s(I,!1),O(V)}}c==null||c(y)}}function kz(e){Promise.resolve().then(e)}var jg="__RC_UTIL_PATH_SPLIT__",pb=function(t){return t.join(jg)},Hz=function(t){return t.split(jg)},Wv="rc-menu-more";function Vz(){var e=u.useState({}),t=W(e,2),n=t[1],r=u.useRef(new Map),o=u.useRef(new Map),a=u.useState([]),i=W(a,2),l=i[0],s=i[1],c=u.useRef(0),d=u.useRef(!1),f=function(){d.current||n({})},m=u.useCallback(function(p,C){var w=pb(C);o.current.set(w,p),r.current.set(p,w),c.current+=1;var x=c.current;kz(function(){x===c.current&&f()})},[]),y=u.useCallback(function(p,C){var w=pb(C);o.current.delete(w),r.current.delete(p)},[]),b=u.useCallback(function(p){s(p)},[]),S=u.useCallback(function(p,C){var w=r.current.get(p)||"",x=Hz(w);return C&&l.includes(x[0])&&x.unshift(Wv),x},[l]),h=u.useCallback(function(p,C){return p.filter(function(w){return w!==void 0}).some(function(w){var x=S(w,!0);return x.includes(C)})},[S]),g=function(){var C=ye(r.current.keys());return l.length&&C.push(Wv),C},v=u.useCallback(function(p){var C="".concat(r.current.get(p)).concat(jg),w=new Set;return ye(o.current.keys()).forEach(function(x){x.startsWith(C)&&w.add(o.current.get(x))}),w},[]);return u.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:y,refreshOverflowKeys:b,isSubPathKey:h,getKeyPath:S,getKeys:g,getSubPathKeys:v}}function Rl(e){var t=u.useRef(e);t.current=e;var n=u.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return e?n:void 0}var Wz=Math.random().toFixed(5).toString().slice(2),gb=0;function Uz(e){var t=lr(e,{value:e}),n=W(t,2),r=n[0],o=n[1];return u.useEffect(function(){gb+=1;var a="".concat(Wz,"-").concat(gb);o("rc-menu-uuid-".concat(a))},[]),r}function Ex(e,t,n,r){var o=u.useContext(Ur),a=o.activeKey,i=o.onActive,l=o.onInactive,s={active:a===e};return t||(s.onMouseEnter=function(c){n==null||n({key:e,domEvent:c}),i(e)},s.onMouseLeave=function(c){r==null||r({key:e,domEvent:c}),l(e)}),s}function xx(e){var t=u.useContext(Ur),n=t.mode,r=t.rtl,o=t.inlineIndent;if(n!=="inline")return null;var a=e;return r?{paddingRight:a*o}:{paddingLeft:a*o}}function Rx(e){var t=e.icon,n=e.props,r=e.children,o;return t===null||t===!1?null:(typeof t=="function"?o=u.createElement(t,B({},n)):typeof t!="boolean"&&(o=t),o||r||null)}var Gz=["item"];function Tc(e){var t=e.item,n=it(e,Gz);return Object.defineProperty(n,"item",{get:function(){return Nn(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var Kz=["title","attribute","elementRef"],qz=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Qz=["active"],Xz=function(e){la(n,e);var t=sa(n);function n(){return yn(this,n),t.apply(this,arguments)}return bn(n,[{key:"render",value:function(){var o=this.props,a=o.title,i=o.attribute,l=o.elementRef,s=it(o,Kz),c=mr(s,["eventKey","popupClassName","popupOffset","onTitleClick"]);return Nn(!i,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(to.Item,be({},i,{title:typeof a=="string"?a:void 0},c,{ref:l}))}}]),n}(u.Component),Yz=u.forwardRef(function(e,t){var n,r=e.style,o=e.className,a=e.eventKey;e.warnKey;var i=e.disabled,l=e.itemIcon,s=e.children,c=e.role,d=e.onMouseEnter,f=e.onMouseLeave,m=e.onClick,y=e.onKeyDown,b=e.onFocus,S=it(e,qz),h=yx(a),g=u.useContext(Ur),v=g.prefixCls,p=g.onItemClick,C=g.disabled,w=g.overflowDisabled,x=g.itemIcon,E=g.selectedKeys,R=g.onActive,O=u.useContext(Lg),_=O._internalRenderMenuItem,A="".concat(v,"-item"),M=u.useRef(),D=u.useRef(),I=C||i,V=Wa(t,D),j=js(a),P=function(ne){return{key:a,keyPath:ye(j).reverse(),item:M.current,domEvent:ne}},$=l||x,L=Ex(a,I,d,f),N=L.active,T=it(L,Qz),k=E.includes(a),H=xx(j.length),U=function(ne){if(!I){var X=P(ne);m==null||m(Tc(X)),p(X)}},G=function(ne){if(y==null||y(ne),ne.which===re.ENTER){var X=P(ne);m==null||m(Tc(X)),p(X)}},ee=function(ne){R(a),b==null||b(ne)},Q={};e.role==="option"&&(Q["aria-selected"]=k);var ae=u.createElement(Xz,be({ref:M,elementRef:V,role:c===null?"none":c||"menuitem",tabIndex:i?null:-1,"data-menu-id":w&&h?null:h},S,T,Q,{component:"li","aria-disabled":i,style:B(B({},H),r),className:q(A,(n={},F(n,"".concat(A,"-active"),N),F(n,"".concat(A,"-selected"),k),F(n,"".concat(A,"-disabled"),I),n),o),onClick:U,onKeyDown:G,onFocus:ee}),s,u.createElement(Rx,{props:B(B({},e),{},{isSelected:k}),icon:$}));return _&&(ae=_(ae,e,{selected:k})),ae});function Jz(e,t){var n=e.eventKey,r=Ed(),o=js(n);return u.useEffect(function(){if(r)return r.registerPath(n,o),function(){r.unregisterPath(n,o)}},[o]),r?null:u.createElement(Yz,be({},e,{ref:t}))}const xd=u.forwardRef(Jz);var Zz=["className","children"],e3=function(t,n){var r=t.className,o=t.children,a=it(t,Zz),i=u.useContext(Ur),l=i.prefixCls,s=i.mode,c=i.rtl;return u.createElement("ul",be({className:q(l,c&&"".concat(l,"-rtl"),"".concat(l,"-sub"),"".concat(l,"-").concat(s==="inline"?"inline":"vertical"),r),role:"menu"},a,{"data-menu-list":!0,ref:n}),o)},Dg=u.forwardRef(e3);Dg.displayName="SubMenuList";function Fg(e,t){return ea(e).map(function(n,r){if(u.isValidElement(n)){var o,a,i=n.key,l=(o=(a=n.props)===null||a===void 0?void 0:a.eventKey)!==null&&o!==void 0?o:i,s=l==null;s&&(l="tmp_key-".concat([].concat(ye(t),[r]).join("-")));var c={key:l,eventKey:l};return u.cloneElement(n,c)}return n})}var In={adjustX:1,adjustY:1},t3={topLeft:{points:["bl","tl"],overflow:In},topRight:{points:["br","tr"],overflow:In},bottomLeft:{points:["tl","bl"],overflow:In},bottomRight:{points:["tr","br"],overflow:In},leftTop:{points:["tr","tl"],overflow:In},leftBottom:{points:["br","bl"],overflow:In},rightTop:{points:["tl","tr"],overflow:In},rightBottom:{points:["bl","br"],overflow:In}},n3={topLeft:{points:["bl","tl"],overflow:In},topRight:{points:["br","tr"],overflow:In},bottomLeft:{points:["tl","bl"],overflow:In},bottomRight:{points:["tr","br"],overflow:In},rightTop:{points:["tr","tl"],overflow:In},rightBottom:{points:["br","bl"],overflow:In},leftTop:{points:["tl","tr"],overflow:In},leftBottom:{points:["bl","br"],overflow:In}};function $x(e,t,n){if(t)return t;if(n)return n[e]||n.other}var r3={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function o3(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,a=e.popupStyle,i=e.popupClassName,l=e.popupOffset,s=e.disabled,c=e.mode,d=e.onVisibleChange,f=u.useContext(Ur),m=f.getPopupContainer,y=f.rtl,b=f.subMenuOpenDelay,S=f.subMenuCloseDelay,h=f.builtinPlacements,g=f.triggerSubMenuAction,v=f.forceSubMenuRender,p=f.rootClassName,C=f.motion,w=f.defaultMotions,x=u.useState(!1),E=W(x,2),R=E[0],O=E[1],_=B(y?B({},n3):B({},t3),h),A=r3[c],M=$x(c,C,w),D=u.useRef(M);c!=="inline"&&(D.current=M);var I=B(B({},D.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),V=u.useRef();return u.useEffect(function(){return V.current=Rt(function(){O(n)}),function(){Rt.cancel(V.current)}},[n]),u.createElement(Pg,{prefixCls:t,popupClassName:q("".concat(t,"-popup"),F({},"".concat(t,"-rtl"),y),i,p),stretch:c==="horizontal"?"minWidth":null,getPopupContainer:m,builtinPlacements:_,popupPlacement:A,popupVisible:R,popup:o,popupStyle:a,popupAlign:l&&{offset:l},action:s?[]:[g],mouseEnterDelay:b,mouseLeaveDelay:S,onPopupVisibleChange:d,forceRender:v,popupMotion:I,fresh:!0},r)}function a3(e){var t=e.id,n=e.open,r=e.keyPath,o=e.children,a="inline",i=u.useContext(Ur),l=i.prefixCls,s=i.forceSubMenuRender,c=i.motion,d=i.defaultMotions,f=i.mode,m=u.useRef(!1);m.current=f===a;var y=u.useState(!m.current),b=W(y,2),S=b[0],h=b[1],g=m.current?n:!1;u.useEffect(function(){m.current&&h(!1)},[f]);var v=B({},$x(a,c,d));r.length>1&&(v.motionAppear=!1);var p=v.onVisibleChanged;return v.onVisibleChanged=function(C){return!m.current&&!C&&h(!0),p==null?void 0:p(C)},S?null:u.createElement(bs,{mode:a,locked:!m.current},u.createElement(Eo,be({visible:g},v,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var w=C.className,x=C.style;return u.createElement(Dg,{id:t,className:w,style:x},o)}))}var i3=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],l3=["active"],s3=u.forwardRef(function(e,t){var n,r=e.style,o=e.className,a=e.title,i=e.eventKey;e.warnKey;var l=e.disabled,s=e.internalPopupClose,c=e.children,d=e.itemIcon,f=e.expandIcon,m=e.popupClassName,y=e.popupOffset,b=e.popupStyle,S=e.onClick,h=e.onMouseEnter,g=e.onMouseLeave,v=e.onTitleClick,p=e.onTitleMouseEnter,C=e.onTitleMouseLeave,w=it(e,i3),x=yx(i),E=u.useContext(Ur),R=E.prefixCls,O=E.mode,_=E.openKeys,A=E.disabled,M=E.overflowDisabled,D=E.activeKey,I=E.selectedKeys,V=E.itemIcon,j=E.expandIcon,P=E.onItemClick,$=E.onOpenChange,L=E.onActive,N=u.useContext(Lg),T=N._internalRenderSubMenuItem,k=u.useContext(Cx),H=k.isSubPathKey,U=js(),G="".concat(R,"-submenu"),ee=A||l,Q=u.useRef(),ae=u.useRef(),ce=d??V,ne=f??j,X=_.includes(i),te=!M&&X,ie=H(I,i),J=Ex(i,ee,p,C),oe=J.active,fe=it(J,l3),Pe=u.useState(!1),ve=W(Pe,2),le=ve[0],me=ve[1],se=function(Qe){ee||me(Qe)},Ee=function(Qe){se(!0),h==null||h({key:i,domEvent:Qe})},Le=function(Qe){se(!1),g==null||g({key:i,domEvent:Qe})},Se=u.useMemo(function(){return oe||(O!=="inline"?le||H([D],i):!1)},[O,oe,D,le,i,H]),De=xx(U.length),pe=function(Qe){ee||(v==null||v({key:i,domEvent:Qe}),O==="inline"&&$(i,!X))},ot=Rl(function(dt){S==null||S(Tc(dt)),P(dt)}),Be=function(Qe){O!=="inline"&&$(i,Qe)},xe=function(){L(i)},Ce=x&&"".concat(x,"-popup"),Ve=u.createElement("div",be({role:"menuitem",style:De,className:"".concat(G,"-title"),tabIndex:ee?null:-1,ref:Q,title:typeof a=="string"?a:null,"data-menu-id":M&&x?null:x,"aria-expanded":te,"aria-haspopup":!0,"aria-controls":Ce,"aria-disabled":ee,onClick:pe,onFocus:xe},fe),a,u.createElement(Rx,{icon:O!=="horizontal"?ne:void 0,props:B(B({},e),{},{isOpen:te,isSubMenu:!0})},u.createElement("i",{className:"".concat(G,"-arrow")}))),ke=u.useRef(O);if(O!=="inline"&&U.length>1?ke.current="vertical":ke.current=O,!M){var tt=ke.current;Ve=u.createElement(o3,{mode:tt,prefixCls:G,visible:!s&&te&&O!=="inline",popupClassName:m,popupOffset:y,popupStyle:b,popup:u.createElement(bs,{mode:tt==="horizontal"?"vertical":tt},u.createElement(Dg,{id:Ce,ref:ae},c)),disabled:ee,onVisibleChange:Be},Ve)}var vt=u.createElement(to.Item,be({ref:t,role:"none"},w,{component:"li",style:r,className:q(G,"".concat(G,"-").concat(O),o,(n={},F(n,"".concat(G,"-open"),te),F(n,"".concat(G,"-active"),Se),F(n,"".concat(G,"-selected"),ie),F(n,"".concat(G,"-disabled"),ee),n)),onMouseEnter:Ee,onMouseLeave:Le}),Ve,!M&&u.createElement(a3,{id:Ce,open:te,keyPath:U},c));return T&&(vt=T(vt,e,{selected:ie,active:Se,open:te,disabled:ee})),u.createElement(bs,{onItemClick:ot,mode:O==="horizontal"?"vertical":O,itemIcon:ce,expandIcon:ne},vt)}),zg=u.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=js(n),a=Fg(r,o),i=Ed();u.useEffect(function(){if(i)return i.registerPath(n,o),function(){i.unregisterPath(n,o)}},[o]);var l;return i?l=a:l=u.createElement(s3,be({ref:t},e),a),u.createElement(Sx.Provider,{value:o},l)});function Ox(e){var t=e.className,n=e.style,r=u.useContext(Ur),o=r.prefixCls,a=Ed();return a?null:u.createElement("li",{role:"separator",className:q("".concat(o,"-item-divider"),t),style:n})}var u3=["className","title","eventKey","children"],c3=u.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var o=e.children,a=it(e,u3),i=u.useContext(Ur),l=i.prefixCls,s="".concat(l,"-item-group");return u.createElement("li",be({ref:t,role:"presentation"},a,{onClick:function(d){return d.stopPropagation()},className:q(s,n)}),u.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:typeof r=="string"?r:void 0},r),u.createElement("ul",{role:"group",className:"".concat(s,"-list")},o))}),Px=u.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=js(n),a=Fg(r,o),i=Ed();return i?a:u.createElement(c3,be({ref:t},mr(e,["warnKey"])),a)}),d3=["label","children","key","type"];function Uv(e,t){var n=t.item,r=t.group,o=t.submenu,a=t.divider;return(e||[]).map(function(i,l){if(i&&je(i)==="object"){var s=i,c=s.label,d=s.children,f=s.key,m=s.type,y=it(s,d3),b=f??"tmp-".concat(l);return d||m==="group"?m==="group"?u.createElement(r,be({key:b},y,{title:c}),Uv(d,t)):u.createElement(o,be({key:b},y,{title:c}),Uv(d,t)):m==="divider"?u.createElement(a,be({key:b},y)):u.createElement(n,be({key:b},y),c)}return null}).filter(function(i){return i})}function hb(e,t,n,r){var o=e,a=B({divider:Ox,item:xd,group:Px,submenu:zg},r);return t&&(o=Uv(t,a)),Fg(o,n)}var f3=["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","_internalComponents"],ca=[],m3=u.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,c=o.className,d=o.tabIndex,f=d===void 0?0:d,m=o.items,y=o.children,b=o.direction,S=o.id,h=o.mode,g=h===void 0?"vertical":h,v=o.inlineCollapsed,p=o.disabled,C=o.disabledOverflow,w=o.subMenuOpenDelay,x=w===void 0?.1:w,E=o.subMenuCloseDelay,R=E===void 0?.1:E,O=o.forceSubMenuRender,_=o.defaultOpenKeys,A=o.openKeys,M=o.activeKey,D=o.defaultActiveFirst,I=o.selectable,V=I===void 0?!0:I,j=o.multiple,P=j===void 0?!1:j,$=o.defaultSelectedKeys,L=o.selectedKeys,N=o.onSelect,T=o.onDeselect,k=o.inlineIndent,H=k===void 0?24:k,U=o.motion,G=o.defaultMotions,ee=o.triggerSubMenuAction,Q=ee===void 0?"hover":ee,ae=o.builtinPlacements,ce=o.itemIcon,ne=o.expandIcon,X=o.overflowedIndicator,te=X===void 0?"...":X,ie=o.overflowedIndicatorPopupClassName,J=o.getPopupContainer,oe=o.onClick,fe=o.onOpenChange,Pe=o.onKeyDown;o.openAnimation,o.openTransitionName;var ve=o._internalRenderMenuItem,le=o._internalRenderSubMenuItem,me=o._internalComponents,se=it(o,f3),Ee=u.useMemo(function(){return[hb(y,m,ca,me),hb(y,m,ca,{})]},[y,m,me]),Le=W(Ee,2),Se=Le[0],De=Le[1],pe=u.useState(!1),ot=W(pe,2),Be=ot[0],xe=ot[1],Ce=u.useRef(),Ve=Uz(S),ke=b==="rtl",tt=lr(_,{value:A,postState:function(Fe){return Fe||ca}}),vt=W(tt,2),dt=vt[0],Qe=vt[1],ut=function(Fe){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Tt(){Qe(Fe),fe==null||fe(Fe)}Je?Zo.flushSync(Tt):Tt()},ct=u.useState(dt),Lt=W(ct,2),bt=Lt[0],Et=Lt[1],Dt=u.useRef(!1),St=u.useMemo(function(){return(g==="inline"||g==="vertical")&&v?["vertical",v]:[g,!1]},[g,v]),Ze=W(St,2),ze=Ze[0],He=Ze[1],Ae=ze==="inline",ge=u.useState(ze),Ye=W(ge,2),nt=Ye[0],de=Ye[1],we=u.useState(He),he=W(we,2),Ie=he[0],We=he[1];u.useEffect(function(){de(ze),We(He),Dt.current&&(Ae?Qe(bt):ut(ca))},[ze,He]);var et=u.useState(0),Pt=W(et,2),gt=Pt[0],Ge=Pt[1],Re=gt>=Se.length-1||nt!=="horizontal"||C;u.useEffect(function(){Ae&&Et(dt)},[dt]),u.useEffect(function(){return Dt.current=!0,function(){Dt.current=!1}},[]);var Ue=Vz(),xt=Ue.registerPath,Ct=Ue.unregisterPath,_t=Ue.refreshOverflowKeys,Ht=Ue.isSubPathKey,$e=Ue.getKeyPath,Oe=Ue.getKeys,Ne=Ue.getSubPathKeys,It=u.useMemo(function(){return{registerPath:xt,unregisterPath:Ct}},[xt,Ct]),an=u.useMemo(function(){return{isSubPathKey:Ht}},[Ht]);u.useEffect(function(){_t(Re?ca:Se.slice(gt+1).map(function(at){return at.key}))},[gt,Re]);var vr=lr(M||D&&((n=Se[0])===null||n===void 0?void 0:n.key),{value:M}),Zt=W(vr,2),Hn=Zt[0],pr=Zt[1],Vn=Rl(function(at){pr(at)}),Zn=Rl(function(){pr(void 0)});u.useImperativeHandle(t,function(){return{list:Ce.current,focus:function(Fe){var Je,Tt=Oe(),At=Vv(Tt,Ve),fn=At.elements,Wn=At.key2element,On=At.element2key,Un=Ag(Ce.current,fn),Qa=Hn??(Un[0]?On.get(Un[0]):(Je=Se.find(function(Tr){return!Tr.props.disabled}))===null||Je===void 0?void 0:Je.key),mn=Wn.get(Qa);if(Qa&&mn){var Oo;mn==null||(Oo=mn.focus)===null||Oo===void 0||Oo.call(mn,Fe)}}}});var Ro=lr($||[],{value:L,postState:function(Fe){return Array.isArray(Fe)?Fe:Fe==null?ca:[Fe]}}),An=W(Ro,2),Sn=An[0],oo=An[1],$o=function(Fe){if(V){var Je=Fe.key,Tt=Sn.includes(Je),At;P?Tt?At=Sn.filter(function(Wn){return Wn!==Je}):At=[].concat(ye(Sn),[Je]):At=[Je],oo(At);var fn=B(B({},Fe),{},{selectedKeys:At});Tt?T==null||T(fn):N==null||N(fn)}!P&&dt.length&&nt!=="inline"&&ut(ca)},gr=Rl(function(at){oe==null||oe(Tc(at)),$o(at)}),hr=Rl(function(at,Fe){var Je=dt.filter(function(At){return At!==at});if(Fe)Je.push(at);else if(nt!=="inline"){var Tt=Ne(at);Je=Je.filter(function(At){return!Tt.has(At)})}ds(dt,Je,!0)||ut(Je,!0)}),qr=function(Fe,Je){var Tt=Je??!dt.includes(Fe);hr(Fe,Tt)},yr=Bz(nt,Hn,ke,Ve,Ce,Oe,$e,pr,qr,Pe);u.useEffect(function(){xe(!0)},[]);var Xe=u.useMemo(function(){return{_internalRenderMenuItem:ve,_internalRenderSubMenuItem:le}},[ve,le]),Ke=nt!=="horizontal"||C?Se:Se.map(function(at,Fe){return u.createElement(bs,{key:at.key,overflowDisabled:Fe>gt},at)}),en=u.createElement(to,be({id:S,ref:Ce,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:xd,className:q(i,"".concat(i,"-root"),"".concat(i,"-").concat(nt),c,(r={},F(r,"".concat(i,"-inline-collapsed"),Ie),F(r,"".concat(i,"-rtl"),ke),r),l),dir:b,style:s,role:"menu",tabIndex:f,data:Ke,renderRawItem:function(Fe){return Fe},renderRawRest:function(Fe){var Je=Fe.length,Tt=Je?Se.slice(-Je):null;return u.createElement(zg,{eventKey:Wv,title:te,disabled:Re,internalPopupClose:Je===0,popupClassName:ie},Tt)},maxCount:nt!=="horizontal"||C?to.INVALIDATE:to.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Fe){Ge(Fe)},onKeyDown:yr},se));return u.createElement(Lg.Provider,{value:Xe},u.createElement(gx.Provider,{value:Ve},u.createElement(bs,{prefixCls:i,rootClassName:l,mode:nt,openKeys:dt,rtl:ke,disabled:p,motion:Be?U:null,defaultMotions:Be?G:null,activeKey:Hn,onActive:Vn,onInactive:Zn,selectedKeys:Sn,inlineIndent:H,subMenuOpenDelay:x,subMenuCloseDelay:R,forceSubMenuRender:O,builtinPlacements:ae,triggerSubMenuAction:Q,getPopupContainer:J,itemIcon:ce,expandIcon:ne,onItemClick:gr,onOpenChange:hr},u.createElement(Cx.Provider,{value:an},en),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(bx.Provider,{value:It},De)))))}),Ds=m3;Ds.Item=xd;Ds.SubMenu=zg;Ds.ItemGroup=Px;Ds.Divider=Ox;var v3={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"},p3=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:v3}))},g3=u.forwardRef(p3);function _x(e){return Gt(e,{inputAffixPadding:e.paddingXXS})}const Ix=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:a,controlHeightLG:i,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:y,colorPrimary:b,controlOutlineWidth:S,controlOutline:h,colorErrorOutline:g,colorWarningOutline:v,colorBgContainer:p}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((a-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((i-l*s)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:b,hoverBorderColor:y,activeShadow:`0 0 0 ${S}px ${h}`,errorActiveShadow:`0 0 0 ${S}px ${g}`,warningActiveShadow:`0 0 0 ${S}px ${v}`,hoverBg:p,activeBg:p,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},h3=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Bg=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},h3(Gt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Tx=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),yb=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Tx(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),y3=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Tx(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Bg(e))}),yb(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),yb(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),bb=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),b3=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},bb(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),bb(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Bg(e))}})}),S3=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Mx=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Sb=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Mx(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),C3=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Mx(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Bg(e))}),Sb(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Sb(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Cb=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),w3=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Z(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Z(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},Cb(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Cb(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),E3=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Nx=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${Z(t)} ${Z(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Lx=e=>({padding:`${Z(e.paddingBlockSM)} ${Z(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Ax=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Z(e.paddingBlock)} ${Z(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},E3(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Nx(e)),"&-sm":Object.assign({},Lx(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),x3=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({},Nx(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Lx(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 ${Z(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Z(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Z(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${Z(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${Z(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${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"},Ji()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
        & > ${t}-affix-wrapper,
        & > ${t}-number-affix-wrapper,
        & > ${n}-picker-range
      `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),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, &: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.calc(e.lineWidth).mul(-1).equal(),[`${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}}}})}},R3=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},no(e)),Ax(e)),y3(e)),C3(e)),S3(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},$3=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 ${Z(e.inputAffixPadding)}`}}}},O3=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({},Ax(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",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}}}),$3(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}})}},P3=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},no(e)),x3(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},b3(e)),w3(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},_3=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.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${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.calc(e.lineWidth).mul(-1).equal(),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}}}}},I3=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.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
        &-allow-clear > ${t},
        &-affix-wrapper${r}-has-feedback ${t}
      `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&: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.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},T3=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},kg=Ir("Input",e=>{const t=Gt(e,_x(e));return[R3(t),I3(t),O3(t),P3(t),_3(t),T3(t),xg(t)]},Ix,{resetFont:!1});var M3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},N3=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:M3}))},L3=u.forwardRef(N3);const Rd=u.createContext(null);var A3=function(t){var n=t.activeTabOffset,r=t.horizontal,o=t.rtl,a=t.indicator,i=a===void 0?{}:a,l=i.size,s=i.align,c=s===void 0?"center":s,d=u.useState(),f=W(d,2),m=f[0],y=f[1],b=u.useRef(),S=K.useCallback(function(g){return typeof l=="function"?l(g):typeof l=="number"?l:g},[l]);function h(){Rt.cancel(b.current)}return u.useEffect(function(){var g={};if(n)if(r){g.width=S(n.width);var v=o?"right":"left";c==="start"&&(g[v]=n[v]),c==="center"&&(g[v]=n[v]+n.width/2,g.transform=o?"translateX(50%)":"translateX(-50%)"),c==="end"&&(g[v]=n[v]+n.width,g.transform="translateX(-100%)")}else g.height=S(n.height),c==="start"&&(g.top=n.top),c==="center"&&(g.top=n.top+n.height/2,g.transform="translateY(-50%)"),c==="end"&&(g.top=n.top+n.height,g.transform="translateY(-100%)");return h(),b.current=Rt(function(){y(g)}),h},[n,r,o,c,S]),{style:m}},wb={width:0,height:0,left:0,top:0};function j3(e,t,n){return u.useMemo(function(){for(var r,o=new Map,a=t.get((r=e[0])===null||r===void 0?void 0:r.key)||wb,i=a.left+a.width,l=0;l<e.length;l+=1){var s=e[l].key,c=t.get(s);if(!c){var d;c=t.get((d=e[l-1])===null||d===void 0?void 0:d.key)||wb}var f=o.get(s)||B({},c);f.right=i-f.left-f.width,o.set(s,f)}return o},[e.map(function(r){return r.key}).join("_"),t,n])}function Eb(e,t){var n=u.useRef(e),r=u.useState({}),o=W(r,2),a=o[1];function i(l){var s=typeof l=="function"?l(n.current):l;s!==n.current&&t(s,n.current),n.current=s,a({})}return[n.current,i]}var D3=.1,xb=.01,Hu=20,Rb=Math.pow(.995,Hu);function F3(e,t){var n=u.useState(),r=W(n,2),o=r[0],a=r[1],i=u.useState(0),l=W(i,2),s=l[0],c=l[1],d=u.useState(0),f=W(d,2),m=f[0],y=f[1],b=u.useState(),S=W(b,2),h=S[0],g=S[1],v=u.useRef();function p(O){var _=O.touches[0],A=_.screenX,M=_.screenY;a({x:A,y:M}),window.clearInterval(v.current)}function C(O){if(o){O.preventDefault();var _=O.touches[0],A=_.screenX,M=_.screenY;a({x:A,y:M});var D=A-o.x,I=M-o.y;t(D,I);var V=Date.now();c(V),y(V-s),g({x:D,y:I})}}function w(){if(o&&(a(null),g(null),h)){var O=h.x/m,_=h.y/m,A=Math.abs(O),M=Math.abs(_);if(Math.max(A,M)<D3)return;var D=O,I=_;v.current=window.setInterval(function(){if(Math.abs(D)<xb&&Math.abs(I)<xb){window.clearInterval(v.current);return}D*=Rb,I*=Rb,t(D*Hu,I*Hu)},Hu)}}var x=u.useRef();function E(O){var _=O.deltaX,A=O.deltaY,M=0,D=Math.abs(_),I=Math.abs(A);D===I?M=x.current==="x"?_:A:D>I?(M=_,x.current="x"):(M=A,x.current="y"),t(-M,-M)&&O.preventDefault()}var R=u.useRef(null);R.current={onTouchStart:p,onTouchMove:C,onTouchEnd:w,onWheel:E},u.useEffect(function(){function O(D){R.current.onTouchStart(D)}function _(D){R.current.onTouchMove(D)}function A(D){R.current.onTouchEnd(D)}function M(D){R.current.onWheel(D)}return document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",A,{passive:!0}),e.current.addEventListener("touchstart",O,{passive:!0}),e.current.addEventListener("wheel",M,{passive:!1}),function(){document.removeEventListener("touchmove",_),document.removeEventListener("touchend",A)}},[])}function jx(e){var t=u.useState(0),n=W(t,2),r=n[0],o=n[1],a=u.useRef(0),i=u.useRef();return i.current=e,av(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 z3(e){var t=u.useRef([]),n=u.useState({}),r=W(n,2),o=r[1],a=u.useRef(typeof e=="function"?e():e),i=jx(function(){var s=a.current;t.current.forEach(function(c){s=c(s)}),t.current=[],a.current=s,o({})});function l(s){t.current.push(s),i()}return[a.current,l]}var $b={width:0,height:0,left:0,top:0,right:0};function B3(e,t,n,r,o,a,i){var l=i.tabs,s=i.tabPosition,c=i.rtl,d,f,m;return["top","bottom"].includes(s)?(d="width",f=c?"right":"left",m=Math.abs(n)):(d="height",f="top",m=-n),u.useMemo(function(){if(!l.length)return[0,0];for(var y=l.length,b=y,S=0;S<y;S+=1){var h=e.get(l[S].key)||$b;if(h[f]+h[d]>m+t){b=S-1;break}}for(var g=0,v=y-1;v>=0;v-=1){var p=e.get(l[v].key)||$b;if(p[f]<m){g=v+1;break}}return g>=b?[0,0]:[g,b]},[e,t,r,o,a,m,s,l.map(function(y){return y.key}).join("_"),c])}function Ob(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var k3="TABS_DQ";function Dx(e){return String(e).replace(/"/g,k3)}function Fx(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var zx=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,a=e.style;return!r||r.showAdd===!1?null:u.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(o==null?void 0:o.addAriaLabel)||"Add tab",onClick:function(l){r.onEdit("add",{event:l})}},r.addIcon||"+")}),Pb=u.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,o=e.extra;if(!o)return null;var a,i={};return je(o)==="object"&&!u.isValidElement(o)?i=o:i.right=o,n==="right"&&(a=i.right),n==="left"&&(a=i.left),a?u.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},a):null}),H3=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,a=e.locale,i=e.mobile,l=e.more,s=l===void 0?{}:l,c=e.style,d=e.className,f=e.editable,m=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,S=e.onTabClick,h=e.getPopupContainer,g=e.popupClassName,v=u.useState(!1),p=W(v,2),C=p[0],w=p[1],x=u.useState(null),E=W(x,2),R=E[0],O=E[1],_=s.icon,A=_===void 0?"More":_,M="".concat(r,"-more-popup"),D="".concat(n,"-dropdown"),I=R!==null?"".concat(M,"-").concat(R):null,V=a==null?void 0:a.dropdownAriaLabel;function j(H,U){H.preventDefault(),H.stopPropagation(),f.onEdit("remove",{key:U,event:H})}var P=u.createElement(Ds,{onClick:function(U){var G=U.key,ee=U.domEvent;S(G,ee),w(!1)},prefixCls:"".concat(D,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[R],"aria-label":V!==void 0?V:"expanded dropdown"},o.map(function(H){var U=H.closable,G=H.disabled,ee=H.closeIcon,Q=H.key,ae=H.label,ce=Fx(U,ee,f,G);return u.createElement(xd,{key:Q,id:"".concat(M,"-").concat(Q),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Q),disabled:G},u.createElement("span",null,ae),ce&&u.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(X){X.stopPropagation(),j(X,Q)}},ee||f.removeIcon||"×"))}));function $(H){for(var U=o.filter(function(ce){return!ce.disabled}),G=U.findIndex(function(ce){return ce.key===R})||0,ee=U.length,Q=0;Q<ee;Q+=1){G=(G+H+ee)%ee;var ae=U[G];if(!ae.disabled){O(ae.key);return}}}function L(H){var U=H.which;if(!C){[re.DOWN,re.SPACE,re.ENTER].includes(U)&&(w(!0),H.preventDefault());return}switch(U){case re.UP:$(-1),H.preventDefault();break;case re.DOWN:$(1),H.preventDefault();break;case re.ESC:w(!1);break;case re.SPACE:case re.ENTER:R!==null&&S(R,H);break}}u.useEffect(function(){var H=document.getElementById(I);H&&H.scrollIntoView&&H.scrollIntoView(!1)},[R]),u.useEffect(function(){C||O(null)},[C]);var N=F({},y?"marginRight":"marginLeft",m);o.length||(N.visibility="hidden",N.order=1);var T=q(F({},"".concat(D,"-rtl"),y)),k=i?null:u.createElement(Mz,be({prefixCls:D,overlay:P,visible:o.length?C:!1,onVisibleChange:w,overlayClassName:q(T,g),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},s),u.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:N,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":M,id:"".concat(r,"-more"),"aria-expanded":C,onKeyDown:L},A));return u.createElement("div",{className:q("".concat(n,"-nav-operations"),d),style:c,ref:t},k,u.createElement(zx,{prefixCls:n,locale:a,editable:f}))});const V3=u.memo(H3,function(e,t){return t.tabMoving});var W3=function(t){var n=t.prefixCls,r=t.id,o=t.active,a=t.tab,i=a.key,l=a.label,s=a.disabled,c=a.closeIcon,d=a.icon,f=t.closable,m=t.renderWrapper,y=t.removeAriaLabel,b=t.editable,S=t.onClick,h=t.onFocus,g=t.style,v="".concat(n,"-tab"),p=Fx(f,c,b,s);function C(R){s||S(R)}function w(R){R.preventDefault(),R.stopPropagation(),b.onEdit("remove",{key:i,event:R})}var x=u.useMemo(function(){return d&&typeof l=="string"?u.createElement("span",null,l):l},[l,d]),E=u.createElement("div",{key:i,"data-node-key":Dx(i),className:q(v,F(F(F({},"".concat(v,"-with-remove"),p),"".concat(v,"-active"),o),"".concat(v,"-disabled"),s)),style:g,onClick:C},u.createElement("div",{role:"tab","aria-selected":o,id:r&&"".concat(r,"-tab-").concat(i),className:"".concat(v,"-btn"),"aria-controls":r&&"".concat(r,"-panel-").concat(i),"aria-disabled":s,tabIndex:s?null:0,onClick:function(O){O.stopPropagation(),C(O)},onKeyDown:function(O){[re.SPACE,re.ENTER].includes(O.which)&&(O.preventDefault(),C(O))},onFocus:h},d&&u.createElement("span",{className:"".concat(v,"-icon")},d),l&&x),p&&u.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(v,"-remove"),onClick:function(O){O.stopPropagation(),w(O)}},c||b.removeIcon||"×"));return m?m(E):E},U3=function(t,n){var r=t.offsetWidth,o=t.offsetHeight,a=t.offsetTop,i=t.offsetLeft,l=t.getBoundingClientRect(),s=l.width,c=l.height,d=l.x,f=l.y;return Math.abs(s-r)<1?[s,c,d-n.x,f-n.y]:[r,o,i,a]},ii=function(t){var n=t.current||{},r=n.offsetWidth,o=r===void 0?0:r,a=n.offsetHeight,i=a===void 0?0:a;if(t.current){var l=t.current.getBoundingClientRect(),s=l.width,c=l.height;if(Math.abs(s-o)<1)return[s,c]}return[o,i]},hu=function(t,n){return t[n?0:1]},_b=u.forwardRef(function(e,t){var n=e.className,r=e.style,o=e.id,a=e.animated,i=e.activeKey,l=e.rtl,s=e.extra,c=e.editable,d=e.locale,f=e.tabPosition,m=e.tabBarGutter,y=e.children,b=e.onTabClick,S=e.onTabScroll,h=e.indicator,g=u.useContext(Rd),v=g.prefixCls,p=g.tabs,C=u.useRef(null),w=u.useRef(null),x=u.useRef(null),E=u.useRef(null),R=u.useRef(null),O=u.useRef(null),_=u.useRef(null),A=f==="top"||f==="bottom",M=Eb(0,function(Ge,Re){A&&S&&S({direction:Ge>Re?"left":"right"})}),D=W(M,2),I=D[0],V=D[1],j=Eb(0,function(Ge,Re){!A&&S&&S({direction:Ge>Re?"top":"bottom"})}),P=W(j,2),$=P[0],L=P[1],N=u.useState([0,0]),T=W(N,2),k=T[0],H=T[1],U=u.useState([0,0]),G=W(U,2),ee=G[0],Q=G[1],ae=u.useState([0,0]),ce=W(ae,2),ne=ce[0],X=ce[1],te=u.useState([0,0]),ie=W(te,2),J=ie[0],oe=ie[1],fe=z3(new Map),Pe=W(fe,2),ve=Pe[0],le=Pe[1],me=j3(p,ve,ee[0]),se=hu(k,A),Ee=hu(ee,A),Le=hu(ne,A),Se=hu(J,A),De=se<Ee+Le,pe=De?se-Se:se-Le,ot="".concat(v,"-nav-operations-hidden"),Be=0,xe=0;A&&l?(Be=0,xe=Math.max(0,Ee-pe)):(Be=Math.min(0,pe-Ee),xe=0);function Ce(Ge){return Ge<Be?Be:Ge>xe?xe:Ge}var Ve=u.useRef(null),ke=u.useState(),tt=W(ke,2),vt=tt[0],dt=tt[1];function Qe(){dt(Date.now())}function ut(){Ve.current&&clearTimeout(Ve.current)}F3(E,function(Ge,Re){function Ue(xt,Ct){xt(function(_t){var Ht=Ce(_t+Ct);return Ht})}return De?(A?Ue(V,Ge):Ue(L,Re),ut(),Qe(),!0):!1}),u.useEffect(function(){return ut(),vt&&(Ve.current=setTimeout(function(){dt(0)},100)),ut},[vt]);var ct=B3(me,pe,A?I:$,Ee,Le,Se,B(B({},e),{},{tabs:p})),Lt=W(ct,2),bt=Lt[0],Et=Lt[1],Dt=nn(function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,Re=me.get(Ge)||{width:0,height:0,left:0,right:0,top:0};if(A){var Ue=I;l?Re.right<I?Ue=Re.right:Re.right+Re.width>I+pe&&(Ue=Re.right+Re.width-pe):Re.left<-I?Ue=-Re.left:Re.left+Re.width>-I+pe&&(Ue=-(Re.left+Re.width-pe)),L(0),V(Ce(Ue))}else{var xt=$;Re.top<-$?xt=-Re.top:Re.top+Re.height>-$+pe&&(xt=-(Re.top+Re.height-pe)),V(0),L(Ce(xt))}}),St={};f==="top"||f==="bottom"?St[l?"marginRight":"marginLeft"]=m:St.marginTop=m;var Ze=p.map(function(Ge,Re){var Ue=Ge.key;return u.createElement(W3,{id:o,prefixCls:v,key:Ue,tab:Ge,style:Re===0?void 0:St,closable:Ge.closable,editable:c,active:Ue===i,renderWrapper:y,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(Ct){b(Ue,Ct)},onFocus:function(){Dt(Ue),Qe(),E.current&&(l||(E.current.scrollLeft=0),E.current.scrollTop=0)}})}),ze=function(){return le(function(){var Re,Ue=new Map,xt=(Re=R.current)===null||Re===void 0?void 0:Re.getBoundingClientRect();return p.forEach(function(Ct){var _t,Ht=Ct.key,$e=(_t=R.current)===null||_t===void 0?void 0:_t.querySelector('[data-node-key="'.concat(Dx(Ht),'"]'));if($e){var Oe=U3($e,xt),Ne=W(Oe,4),It=Ne[0],an=Ne[1],vr=Ne[2],Zt=Ne[3];Ue.set(Ht,{width:It,height:an,left:vr,top:Zt})}}),Ue})};u.useEffect(function(){ze()},[p.map(function(Ge){return Ge.key}).join("_")]);var He=jx(function(){var Ge=ii(C),Re=ii(w),Ue=ii(x);H([Ge[0]-Re[0]-Ue[0],Ge[1]-Re[1]-Ue[1]]);var xt=ii(_);X(xt);var Ct=ii(O);oe(Ct);var _t=ii(R);Q([_t[0]-xt[0],_t[1]-xt[1]]),ze()}),Ae=p.slice(0,bt),ge=p.slice(Et+1),Ye=[].concat(ye(Ae),ye(ge)),nt=me.get(i),de=A3({activeTabOffset:nt,horizontal:A,indicator:h,rtl:l}),we=de.style;u.useEffect(function(){Dt()},[i,Be,xe,Ob(nt),Ob(me),A]),u.useEffect(function(){He()},[l]);var he=!!Ye.length,Ie="".concat(v,"-nav-wrap"),We,et,Pt,gt;return A?l?(et=I>0,We=I!==xe):(We=I<0,et=I!==Be):(Pt=$<0,gt=$!==Be),u.createElement(kr,{onResize:He},u.createElement("div",{ref:Wa(t,C),role:"tablist",className:q("".concat(v,"-nav"),n),style:r,onKeyDown:function(){Qe()}},u.createElement(Pb,{ref:w,position:"left",extra:s,prefixCls:v}),u.createElement(kr,{onResize:He},u.createElement("div",{className:q(Ie,F(F(F(F({},"".concat(Ie,"-ping-left"),We),"".concat(Ie,"-ping-right"),et),"".concat(Ie,"-ping-top"),Pt),"".concat(Ie,"-ping-bottom"),gt)),ref:E},u.createElement(kr,{onResize:He},u.createElement("div",{ref:R,className:"".concat(v,"-nav-list"),style:{transform:"translate(".concat(I,"px, ").concat($,"px)"),transition:vt?"none":void 0}},Ze,u.createElement(zx,{ref:_,prefixCls:v,locale:d,editable:c,style:B(B({},Ze.length===0?void 0:St),{},{visibility:he?"hidden":null})}),u.createElement("div",{className:q("".concat(v,"-ink-bar"),F({},"".concat(v,"-ink-bar-animated"),a.inkBar)),style:we}))))),u.createElement(V3,be({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:O,prefixCls:v,tabs:Ye,className:!he&&ot,tabMoving:!!vt})),u.createElement(Pb,{ref:x,position:"right",extra:s,prefixCls:v})))}),Bx=u.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 u.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:q(n,i&&"".concat(n,"-active"),r),ref:t},s)}),G3=["renderTabBar"],K3=["label","key"],q3=function(t){var n=t.renderTabBar,r=it(t,G3),o=u.useContext(Rd),a=o.tabs;if(n){var i=B(B({},r),{},{panes:a.map(function(l){var s=l.label,c=l.key,d=it(l,K3);return u.createElement(Bx,be({tab:s,key:c,tabKey:c},d))})});return n(i,_b)}return u.createElement(_b,r)},Q3=["key","forceRender","style","className","destroyInactiveTabPane"],X3=function(t){var n=t.id,r=t.activeKey,o=t.animated,a=t.tabPosition,i=t.destroyInactiveTabPane,l=u.useContext(Rd),s=l.prefixCls,c=l.tabs,d=o.tabPane,f="".concat(s,"-tabpane");return u.createElement("div",{className:q("".concat(s,"-content-holder"))},u.createElement("div",{className:q("".concat(s,"-content"),"".concat(s,"-content-").concat(a),F({},"".concat(s,"-content-animated"),d))},c.map(function(m){var y=m.key,b=m.forceRender,S=m.style,h=m.className,g=m.destroyInactiveTabPane,v=it(m,Q3),p=y===r;return u.createElement(Eo,be({key:y,visible:p,forceRender:b,removeOnLeave:!!(i||g),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(C,w){var x=C.style,E=C.className;return u.createElement(Bx,be({},v,{prefixCls:f,id:n,tabKey:y,animated:d,active:p,style:B(B({},S),x),className:q(h,E),ref:w}))})})))};function Y3(){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=B({inkBar:!0},je(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var J3=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Ib=0,Z3=u.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=r===void 0?"rc-tabs":r,a=e.className,i=e.items,l=e.direction,s=e.activeKey,c=e.defaultActiveKey,d=e.editable,f=e.animated,m=e.tabPosition,y=m===void 0?"top":m,b=e.tabBarGutter,S=e.tabBarStyle,h=e.tabBarExtraContent,g=e.locale,v=e.more,p=e.destroyInactiveTabPane,C=e.renderTabBar,w=e.onChange,x=e.onTabClick,E=e.onTabScroll,R=e.getPopupContainer,O=e.popupClassName,_=e.indicator,A=it(e,J3),M=u.useMemo(function(){return(i||[]).filter(function(J){return J&&je(J)==="object"&&"key"in J})},[i]),D=l==="rtl",I=Y3(f),V=u.useState(!1),j=W(V,2),P=j[0],$=j[1];u.useEffect(function(){$(Og())},[]);var L=lr(function(){var J;return(J=M[0])===null||J===void 0?void 0:J.key},{value:s,defaultValue:c}),N=W(L,2),T=N[0],k=N[1],H=u.useState(function(){return M.findIndex(function(J){return J.key===T})}),U=W(H,2),G=U[0],ee=U[1];u.useEffect(function(){var J=M.findIndex(function(fe){return fe.key===T});if(J===-1){var oe;J=Math.max(0,Math.min(G,M.length-1)),k((oe=M[J])===null||oe===void 0?void 0:oe.key)}ee(J)},[M.map(function(J){return J.key}).join("_"),T,G]);var Q=lr(null,{value:n}),ae=W(Q,2),ce=ae[0],ne=ae[1];u.useEffect(function(){n||(ne("rc-tabs-".concat(Ib)),Ib+=1)},[]);function X(J,oe){x==null||x(J,oe);var fe=J!==T;k(J),fe&&(w==null||w(J))}var te={id:ce,activeKey:T,animated:I,tabPosition:y,rtl:D,mobile:P},ie=B(B({},te),{},{editable:d,locale:g,more:v,tabBarGutter:b,onTabClick:X,onTabScroll:E,extra:h,style:S,panes:null,getPopupContainer:R,popupClassName:O,indicator:_});return u.createElement(Rd.Provider,{value:{tabs:M,prefixCls:o}},u.createElement("div",be({ref:t,id:n,className:q(o,"".concat(o,"-").concat(y),F(F(F({},"".concat(o,"-mobile"),P),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),D),a)},A),u.createElement(q3,be({},ie,{renderTabBar:C})),u.createElement(X3,be({destroyInactiveTabPane:p},te,{animated:I}))))});const e5={motionAppear:!1,motionEnter:!0,motionLeave:!0};function t5(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({},e5),{motionName:Wi(e,"switch")})),n}var n5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function r5(e){return e.filter(t=>t)}function o5(e,t){if(e)return e;const n=ea(t).map(r=>{if(u.isValidElement(r)){const{key:o,props:a}=r,i=a||{},{tab:l}=i,s=n5(i,["tab"]);return Object.assign(Object.assign({key:String(o)},s),{label:l})}return null});return r5(n)}const a5=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}`}}}}},[Pc(e,"slide-up"),Pc(e,"slide-down")]]},i5=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Z(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,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:Z(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Z(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Z(e.borderRadiusLG)} 0 0 ${Z(e.borderRadiusLG)}`}},[`${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 ${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},l5=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},no(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:`${Z(r)} 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({},Vi),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${Z(e.paddingXXS)} ${Z(e.paddingSM)}`,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"}}})}})}},s5=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:a,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Z(e.lineWidth)} ${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,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:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${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:Z(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Z(e.lineWidth)} ${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:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},u5=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Z(e.borderRadius)} ${Z(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Z(e.borderRadius)} ${Z(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Z(e.borderRadius)} ${Z(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Z(e.borderRadius)} 0 0 ${Z(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},c5=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},vd(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},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},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},d5=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:Z(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:Z(e.marginXS)},marginLeft:{_skip_check_:!0,value:Z(a(e.marginXXS).mul(-1).equal())},[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},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},f5=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},no(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.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${Z(e.paddingXS)}`,background:"transparent",border:`${Z(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 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}},vd(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),c5(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"}}}}}},m5=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},v5=Ir("Tabs",e=>{const t=Gt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Z(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Z(e.horizontalItemGutter)}`});return[u5(t),d5(t),s5(t),l5(t),i5(t),f5(t),a5(t)]},m5),p5=()=>null;var g5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const kx=e=>{var t,n,r,o,a,i,l,s,c,d,f;const{type:m,className:y,rootClassName:b,size:S,onEdit:h,hideAdd:g,centered:v,addIcon:p,removeIcon:C,moreIcon:w,more:x,popupClassName:E,children:R,items:O,animated:_,style:A,indicatorSize:M,indicator:D}=e,I=g5(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:V}=I,{direction:j,tabs:P,getPrefixCls:$,getPopupContainer:L}=u.useContext(ft),N=$("tabs",V),T=Ua(N),[k,H,U]=v5(N,T);let G;m==="editable-card"&&(G={onEdit:(te,ie)=>{let{key:J,event:oe}=ie;h==null||h(te==="add"?oe:J,te)},removeIcon:(t=C??(P==null?void 0:P.removeIcon))!==null&&t!==void 0?t:u.createElement(_s,null),addIcon:(p??(P==null?void 0:P.addIcon))||u.createElement(L3,null),showAdd:g!==!0});const ee=$(),Q=xo(S),ae=o5(O,R),ce=t5(N,_),ne=Object.assign(Object.assign({},P==null?void 0:P.style),A),X={align:(n=D==null?void 0:D.align)!==null&&n!==void 0?n:(r=P==null?void 0:P.indicator)===null||r===void 0?void 0:r.align,size:(l=(a=(o=D==null?void 0:D.size)!==null&&o!==void 0?o:M)!==null&&a!==void 0?a:(i=P==null?void 0:P.indicator)===null||i===void 0?void 0:i.size)!==null&&l!==void 0?l:P==null?void 0:P.indicatorSize};return k(u.createElement(Z3,Object.assign({direction:j,getPopupContainer:L},I,{items:ae,className:q({[`${N}-${Q}`]:Q,[`${N}-card`]:["card","editable-card"].includes(m),[`${N}-editable-card`]:m==="editable-card",[`${N}-centered`]:v},P==null?void 0:P.className,y,b,H,U,T),popupClassName:q(E,H,U,T),style:ne,editable:G,more:Object.assign({icon:(f=(d=(c=(s=P==null?void 0:P.more)===null||s===void 0?void 0:s.icon)!==null&&c!==void 0?c:P==null?void 0:P.moreIcon)!==null&&d!==void 0?d:w)!==null&&f!==void 0?f:u.createElement(g3,null),transitionName:`${ee}-slide-up`},x),prefixCls:N,animated:ce,indicator:X})))};kx.TabPane=p5;var h5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Hx=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,o=h5(e,["prefixCls","className","hoverable"]);const{getPrefixCls:a}=u.useContext(ft),i=a("card",t),l=q(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return u.createElement("div",Object.assign({},o,{className:l}))},y5=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${Z(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0 0`},Ji()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Vi),{[`
          > ${n}-typography,
          > ${n}-typography-edit-content
        `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${Z(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},b5=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
      ${Z(o)} 0 0 0 ${n},
      0 ${Z(o)} 0 0 ${n},
      ${Z(o)} ${Z(o)} 0 0 ${n},
      ${Z(o)} 0 0 0 ${n} inset,
      0 ${Z(o)} 0 0 ${n} inset;
    `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},S5=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${Z(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)}`},Ji()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:Z(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:Z(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${Z(e.lineWidth)} ${e.lineType} ${a}`}}})},C5=e=>Object.assign(Object.assign({margin:`${Z(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Ji()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Vi),"&-description":{color:e.colorTextDescription}}),w5=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${Z(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${Z(e.padding)} ${Z(n)}`}}},E5=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},x5=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},no(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[`${n}-head`]:y5(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)}`},Ji()),[`${n}-grid`]:b5(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:S5(e),[`${n}-meta`]:C5(e)}),[`${n}-bordered`]:{border:`${Z(e.lineWidth)} ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${Z(e.borderRadiusLG)} ${Z(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> div${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:w5(e),[`${n}-loading`]:E5(e),[`${n}-rtl`]:{direction:"rtl"}}},R5=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${Z(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},$5=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),O5=Ir("Card",e=>{const t=Gt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[x5(t),R5(t)]},$5);var Tb=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const P5=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return u.createElement("ul",{className:t,style:r},n.map((o,a)=>{const i=`action-${a}`;return u.createElement("li",{style:{width:`${100/n.length}%`},key:i},u.createElement("span",null,o))}))},_5=u.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:a,extra:i,headStyle:l={},bodyStyle:s={},title:c,loading:d,bordered:f=!0,size:m,type:y,cover:b,actions:S,tabList:h,children:g,activeTabKey:v,defaultActiveTabKey:p,tabBarExtraContent:C,hoverable:w,tabProps:x={},classNames:E,styles:R}=e,O=Tb(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:_,direction:A,card:M}=u.useContext(ft),D=ve=>{var le;(le=e.onTabChange)===null||le===void 0||le.call(e,ve)},I=ve=>{var le;return q((le=M==null?void 0:M.classNames)===null||le===void 0?void 0:le[ve],E==null?void 0:E[ve])},V=ve=>{var le;return Object.assign(Object.assign({},(le=M==null?void 0:M.styles)===null||le===void 0?void 0:le[ve]),R==null?void 0:R[ve])},j=u.useMemo(()=>{let ve=!1;return u.Children.forEach(g,le=>{(le==null?void 0:le.type)===Hx&&(ve=!0)}),ve},[g]),P=_("card",n),[$,L,N]=O5(P),T=u.createElement(Ka,{loading:!0,active:!0,paragraph:{rows:4},title:!1},g),k=v!==void 0,H=Object.assign(Object.assign({},x),{[k?"activeKey":"defaultActiveKey"]:k?v:p,tabBarExtraContent:C});let U;const G=xo(m),ee=!G||G==="default"?"large":G,Q=h?u.createElement(kx,Object.assign({size:ee},H,{className:`${P}-head-tabs`,onChange:D,items:h.map(ve=>{var{tab:le}=ve,me=Tb(ve,["tab"]);return Object.assign({label:le},me)})})):null;if(c||i||Q){const ve=q(`${P}-head`,I("header")),le=q(`${P}-head-title`,I("title")),me=q(`${P}-extra`,I("extra")),se=Object.assign(Object.assign({},l),V("header"));U=u.createElement("div",{className:ve,style:se},u.createElement("div",{className:`${P}-head-wrapper`},c&&u.createElement("div",{className:le,style:V("title")},c),i&&u.createElement("div",{className:me,style:V("extra")},i)),Q)}const ae=q(`${P}-cover`,I("cover")),ce=b?u.createElement("div",{className:ae,style:V("cover")},b):null,ne=q(`${P}-body`,I("body")),X=Object.assign(Object.assign({},s),V("body")),te=u.createElement("div",{className:ne,style:X},d?T:g),ie=q(`${P}-actions`,I("actions")),J=S!=null&&S.length?u.createElement(P5,{actionClasses:ie,actionStyle:V("actions"),actions:S}):null,oe=mr(O,["onTabChange"]),fe=q(P,M==null?void 0:M.className,{[`${P}-loading`]:d,[`${P}-bordered`]:f,[`${P}-hoverable`]:w,[`${P}-contain-grid`]:j,[`${P}-contain-tabs`]:h==null?void 0:h.length,[`${P}-${G}`]:G,[`${P}-type-${y}`]:!!y,[`${P}-rtl`]:A==="rtl"},r,o,L,N),Pe=Object.assign(Object.assign({},M==null?void 0:M.style),a);return $(u.createElement("div",Object.assign({ref:t},oe,{className:fe,style:Pe}),U,ce,te,J))});var I5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const T5=e=>{const{prefixCls:t,className:n,avatar:r,title:o,description:a}=e,i=I5(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=u.useContext(ft),s=l("card",t),c=q(`${s}-meta`,n),d=r?u.createElement("div",{className:`${s}-meta-avatar`},r):null,f=o?u.createElement("div",{className:`${s}-meta-title`},o):null,m=a?u.createElement("div",{className:`${s}-meta-description`},a):null,y=f||m?u.createElement("div",{className:`${s}-meta-detail`},f,m):null;return u.createElement("div",Object.assign({},i,{className:c}),d,y)},Gi=_5;Gi.Grid=Hx;Gi.Meta=T5;function M5(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,c=s===void 0?void 0:s,d,f=!1,m=0;function y(){d&&clearTimeout(d)}function b(h){var g=h||{},v=g.upcomingOnly,p=v===void 0?!1:v;y(),f=!p}function S(){for(var h=arguments.length,g=new Array(h),v=0;v<h;v++)g[v]=arguments[v];var p=this,C=Date.now()-m;if(f)return;function w(){m=Date.now(),t.apply(p,g)}function x(){d=void 0}!l&&c&&!d&&w(),y(),c===void 0&&C>e?l?(m=Date.now(),a||(d=setTimeout(c?x:w,e))):w():a!==!0&&(d=setTimeout(c?x:w,c===void 0?e-C:e))}return S.cancel=b,S}function N5(e,t,n){var r={},o=r.atBegin,a=o===void 0?!1:o;return M5(e,t,{debounceMode:a!==!1})}function L5(e){return!!(e.addonBefore||e.addonAfter)}function A5(e){return!!(e.prefix||e.suffix||e.allowClear)}function Mb(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function Mc(e,t,n,r){if(n){var o=t;if(t.type==="click"){o=Mb(t,e,""),n(o);return}if(e.type!=="file"&&r!==void 0){o=Mb(t,e,r),n(o);return}n(o)}}function j5(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)}}}}var Vx=K.forwardRef(function(e,t){var n,r,o=e.inputElement,a=e.children,i=e.prefixCls,l=e.prefix,s=e.suffix,c=e.addonBefore,d=e.addonAfter,f=e.className,m=e.style,y=e.disabled,b=e.readOnly,S=e.focused,h=e.triggerFocus,g=e.allowClear,v=e.value,p=e.handleReset,C=e.hidden,w=e.classes,x=e.classNames,E=e.dataAttrs,R=e.styles,O=e.components,_=a??o,A=(O==null?void 0:O.affixWrapper)||"span",M=(O==null?void 0:O.groupWrapper)||"span",D=(O==null?void 0:O.wrapper)||"span",I=(O==null?void 0:O.groupAddon)||"span",V=u.useRef(null),j=function(oe){var fe;(fe=V.current)!==null&&fe!==void 0&&fe.contains(oe.target)&&(h==null||h())},P=A5(e),$=u.cloneElement(_,{value:v,className:q(_.props.className,!P&&(x==null?void 0:x.variant))||null}),L=u.useRef(null);if(K.useImperativeHandle(t,function(){return{nativeElement:L.current||V.current}}),P){var N,T=null;if(g){var k,H=!y&&!b&&v,U="".concat(i,"-clear-icon"),G=je(g)==="object"&&g!==null&&g!==void 0&&g.clearIcon?g.clearIcon:"✖";T=K.createElement("span",{onClick:p,onMouseDown:function(oe){return oe.preventDefault()},className:q(U,(k={},F(k,"".concat(U,"-hidden"),!H),F(k,"".concat(U,"-has-suffix"),!!s),k)),role:"button",tabIndex:-1},G)}var ee="".concat(i,"-affix-wrapper"),Q=q(ee,(N={},F(N,"".concat(i,"-disabled"),y),F(N,"".concat(ee,"-disabled"),y),F(N,"".concat(ee,"-focused"),S),F(N,"".concat(ee,"-readonly"),b),F(N,"".concat(ee,"-input-with-clear-btn"),s&&g&&v),N),w==null?void 0:w.affixWrapper,x==null?void 0:x.affixWrapper,x==null?void 0:x.variant),ae=(s||g)&&K.createElement("span",{className:q("".concat(i,"-suffix"),x==null?void 0:x.suffix),style:R==null?void 0:R.suffix},T,s);$=K.createElement(A,be({className:Q,style:R==null?void 0:R.affixWrapper,onClick:j},E==null?void 0:E.affixWrapper,{ref:V}),l&&K.createElement("span",{className:q("".concat(i,"-prefix"),x==null?void 0:x.prefix),style:R==null?void 0:R.prefix},l),$,ae)}if(L5(e)){var ce="".concat(i,"-group"),ne="".concat(ce,"-addon"),X="".concat(ce,"-wrapper"),te=q("".concat(i,"-wrapper"),ce,w==null?void 0:w.wrapper,x==null?void 0:x.wrapper),ie=q(X,F({},"".concat(X,"-disabled"),y),w==null?void 0:w.group,x==null?void 0:x.groupWrapper);$=K.createElement(M,{className:ie,ref:L},K.createElement(D,{className:te},c&&K.createElement(I,{className:ne},c),$,d&&K.createElement(I,{className:ne},d)))}return K.cloneElement($,{className:q((n=$.props)===null||n===void 0?void 0:n.className,f)||null,style:B(B({},(r=$.props)===null||r===void 0?void 0:r.style),m),hidden:C})}),D5=["show"];function Wx(e,t){return u.useMemo(function(){var n={};t&&(n.show=je(t)==="object"&&t.formatter?t.formatter:!!t),n=B(B({},n),e);var r=n,o=r.show,a=it(r,D5);return B(B({},a),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:a.strategy||function(i){return i.length}})},[e,t])}var F5=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],z5=u.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,c=s===void 0?"rc-input":s,d=e.disabled,f=e.htmlSize,m=e.className,y=e.maxLength,b=e.suffix,S=e.showCount,h=e.count,g=e.type,v=g===void 0?"text":g,p=e.classes,C=e.classNames,w=e.styles,x=e.onCompositionStart,E=e.onCompositionEnd,R=it(e,F5),O=u.useState(!1),_=W(O,2),A=_[0],M=_[1],D=u.useRef(!1),I=u.useRef(null),V=u.useRef(null),j=function(se){I.current&&j5(I.current,se)},P=lr(e.defaultValue,{value:e.value}),$=W(P,2),L=$[0],N=$[1],T=L==null?"":String(L),k=u.useState(null),H=W(k,2),U=H[0],G=H[1],ee=Wx(h,S),Q=ee.max||y,ae=ee.strategy(T),ce=!!Q&&ae>Q;u.useImperativeHandle(t,function(){var me;return{focus:j,blur:function(){var Ee;(Ee=I.current)===null||Ee===void 0||Ee.blur()},setSelectionRange:function(Ee,Le,Se){var De;(De=I.current)===null||De===void 0||De.setSelectionRange(Ee,Le,Se)},select:function(){var Ee;(Ee=I.current)===null||Ee===void 0||Ee.select()},input:I.current,nativeElement:((me=V.current)===null||me===void 0?void 0:me.nativeElement)||I.current}}),u.useEffect(function(){M(function(me){return me&&d?!1:me})},[d]);var ne=function(se,Ee,Le){var Se=Ee;if(!D.current&&ee.exceedFormatter&&ee.max&&ee.strategy(Ee)>ee.max){if(Se=ee.exceedFormatter(Ee,{max:ee.max}),Ee!==Se){var De,pe;G([((De=I.current)===null||De===void 0?void 0:De.selectionStart)||0,((pe=I.current)===null||pe===void 0?void 0:pe.selectionEnd)||0])}}else if(Le.source==="compositionEnd")return;N(Se),I.current&&Mc(I.current,se,r,Se)};u.useEffect(function(){if(U){var me;(me=I.current)===null||me===void 0||me.setSelectionRange.apply(me,ye(U))}},[U]);var X=function(se){ne(se,se.target.value,{source:"change"})},te=function(se){D.current=!1,ne(se,se.currentTarget.value,{source:"compositionEnd"}),E==null||E(se)},ie=function(se){i&&se.key==="Enter"&&i(se),l==null||l(se)},J=function(se){M(!0),o==null||o(se)},oe=function(se){M(!1),a==null||a(se)},fe=function(se){N(""),j(),I.current&&Mc(I.current,se,r)},Pe=ce&&"".concat(c,"-out-of-range"),ve=function(){var se=mr(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return K.createElement("input",be({autoComplete:n},se,{onChange:X,onFocus:J,onBlur:oe,onKeyDown:ie,className:q(c,F({},"".concat(c,"-disabled"),d),C==null?void 0:C.input),style:w==null?void 0:w.input,ref:I,size:f,type:v,onCompositionStart:function(Le){D.current=!0,x==null||x(Le)},onCompositionEnd:te}))},le=function(){var se=Number(Q)>0;if(b||ee.show){var Ee=ee.showFormatter?ee.showFormatter({value:T,count:ae,maxLength:Q}):"".concat(ae).concat(se?" / ".concat(Q):"");return K.createElement(K.Fragment,null,ee.show&&K.createElement("span",{className:q("".concat(c,"-show-count-suffix"),F({},"".concat(c,"-show-count-has-suffix"),!!b),C==null?void 0:C.count),style:B({},w==null?void 0:w.count)},Ee),b)}return null};return K.createElement(Vx,be({},R,{prefixCls:c,className:q(m,Pe),handleReset:fe,value:T,focused:A,triggerFocus:j,suffix:le(),disabled:d,classes:p,classNames:C,styles:w}),ve())});const B5=e=>{const{getPrefixCls:t,direction:n}=u.useContext(ft),{prefixCls:r,className:o}=e,a=t("input-group",r),i=t("input"),[l,s]=kg(i),c=q(a,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:n==="rtl"},s,o),d=u.useContext(So),f=u.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return l(u.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},u.createElement(So.Provider,{value:f},e.children)))},Ux=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:K.createElement(Sg,null)}),t};function Gx(e,t){const n=u.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 u.useEffect(()=>(t&&r(),()=>n.current.forEach(o=>{o&&clearTimeout(o)})),[]),r}function k5(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var H5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function V5(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const $d=u.forwardRef((e,t)=>{var n;const{prefixCls:r,bordered:o=!0,status:a,size:i,disabled:l,onBlur:s,onFocus:c,suffix:d,allowClear:f,addonAfter:m,addonBefore:y,className:b,style:S,styles:h,rootClassName:g,onChange:v,classNames:p,variant:C}=e,w=H5(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:x,direction:E,input:R}=K.useContext(ft),O=x("input",r),_=u.useRef(null),A=Ua(O),[M,D,I]=kg(O,A),{compactSize:V,compactItemClassnames:j}=hd(O,E),P=xo(ie=>{var J;return(J=i??V)!==null&&J!==void 0?J:ie}),$=K.useContext(Fa),L=l??$,{status:N,hasFeedback:T,feedbackIcon:k}=u.useContext(So),H=wd(N,a),U=k5(e)||!!T;u.useRef(U);const G=Gx(_,!0),ee=ie=>{G(),s==null||s(ie)},Q=ie=>{G(),c==null||c(ie)},ae=ie=>{G(),v==null||v(ie)},ce=(T||d)&&K.createElement(K.Fragment,null,d,T&&k),ne=Ux(f??(R==null?void 0:R.allowClear)),[X,te]=Ng("input",C,o);return M(K.createElement(z5,Object.assign({ref:Gr(t,_),prefixCls:O,autoComplete:R==null?void 0:R.autoComplete},w,{disabled:L,onBlur:ee,onFocus:Q,style:Object.assign(Object.assign({},R==null?void 0:R.style),S),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),h),suffix:ce,allowClear:ne,className:q(b,g,I,A,j,R==null?void 0:R.className),onChange:ae,addonBefore:y&&K.createElement(Lv,{form:!0,space:!0},y),addonAfter:m&&K.createElement(Lv,{form:!0,space:!0},m),classNames:Object.assign(Object.assign(Object.assign({},p),R==null?void 0:R.classNames),{input:q({[`${O}-sm`]:P==="small",[`${O}-lg`]:P==="large",[`${O}-rtl`]:E==="rtl"},p==null?void 0:p.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,D),variant:q({[`${O}-${X}`]:te},Ic(O,H)),affixWrapper:q({[`${O}-affix-wrapper-sm`]:P==="small",[`${O}-affix-wrapper-lg`]:P==="large",[`${O}-affix-wrapper-rtl`]:E==="rtl"},D),wrapper:q({[`${O}-group-rtl`]:E==="rtl"},D),groupWrapper:q({[`${O}-group-wrapper-sm`]:P==="small",[`${O}-group-wrapper-lg`]:P==="large",[`${O}-group-wrapper-rtl`]:E==="rtl",[`${O}-group-wrapper-${X}`]:te},Ic(`${O}-group-wrapper`,H,T),D)})})))}),W5=e=>{const{componentCls:t,paddingXS:n}=e;return{[`${t}`]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},U5=Ir(["Input","OTP"],e=>{const t=Gt(e,_x(e));return[W5(t)]},Ix);var G5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const K5=u.forwardRef((e,t)=>{const{value:n,onChange:r,onActiveChange:o,index:a,mask:i}=e,l=G5(e,["value","onChange","onActiveChange","index","mask"]),s=n&&typeof i=="string"?i:n,c=b=>{r(a,b.target.value)},d=u.useRef(null);u.useImperativeHandle(t,()=>d.current);const f=()=>{Rt(()=>{var b;const S=(b=d.current)===null||b===void 0?void 0:b.input;document.activeElement===S&&S&&S.select()})},m=b=>{let{key:S}=b;S==="ArrowLeft"?o(a-1):S==="ArrowRight"&&o(a+1),f()},y=b=>{b.key==="Backspace"&&!n&&o(a-1),f()};return u.createElement($d,Object.assign({},l,{ref:d,value:s,onInput:c,onFocus:f,onKeyDown:m,onKeyUp:y,onMouseDown:f,onMouseUp:f,type:i===!0?"password":"text"}))});var q5=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function yu(e){return(e||"").split("")}const Q5=u.forwardRef((e,t)=>{const{prefixCls:n,length:r=6,size:o,defaultValue:a,value:i,onChange:l,formatter:s,variant:c,disabled:d,status:f,autoFocus:m,mask:y}=e,b=q5(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:S,direction:h}=u.useContext(ft),g=S("otp",n),v=ta(b,{aria:!0,data:!0,attr:!0}),p=Ua(g),[C,w,x]=U5(g,p),E=xo(T=>o??T),R=u.useContext(So),O=wd(R.status,f),_=u.useMemo(()=>Object.assign(Object.assign({},R),{status:O,hasFeedback:!1,feedbackIcon:null}),[R,O]),A=u.useRef(null),M=u.useRef({});u.useImperativeHandle(t,()=>({focus:()=>{var T;(T=M.current[0])===null||T===void 0||T.focus()},blur:()=>{var T;for(let k=0;k<r;k+=1)(T=M.current[k])===null||T===void 0||T.blur()},nativeElement:A.current}));const D=T=>s?s(T):T,[I,V]=u.useState(yu(D(a||"")));u.useEffect(()=>{i!==void 0&&V(yu(i))},[i]);const j=nn(T=>{V(T),l&&T.length===r&&T.every(k=>k)&&T.some((k,H)=>I[H]!==k)&&l(T.join(""))}),P=nn((T,k)=>{let H=ye(I);for(let G=0;G<T;G+=1)H[G]||(H[G]="");k.length<=1?H[T]=k:H=H.slice(0,T).concat(yu(k)),H=H.slice(0,r);for(let G=H.length-1;G>=0&&!H[G];G-=1)H.pop();const U=D(H.map(G=>G||" ").join(""));return H=yu(U).map((G,ee)=>G===" "&&!H[ee]?H[ee]:G),H}),$=(T,k)=>{var H;const U=P(T,k),G=Math.min(T+k.length,r-1);G!==T&&((H=M.current[G])===null||H===void 0||H.focus()),j(U)},L=T=>{var k;(k=M.current[T])===null||k===void 0||k.focus()},N={variant:c,disabled:d,status:O,mask:y};return C(u.createElement("div",Object.assign({},v,{ref:A,className:q(g,{[`${g}-sm`]:E==="small",[`${g}-lg`]:E==="large",[`${g}-rtl`]:h==="rtl"},x,w)}),u.createElement(So.Provider,{value:_},Array.from({length:r}).map((T,k)=>{const H=`otp-${k}`,U=I[k]||"";return u.createElement(K5,Object.assign({ref:G=>{M.current[k]=G},key:H,index:k,size:E,htmlSize:1,className:`${g}-input`,onChange:$,value:U,onActiveChange:L,autoFocus:k===0&&m},N))}))))});var X5={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"},Y5=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:X5}))},J5=u.forwardRef(Y5),Z5={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"},e6=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:Z5}))},t6=u.forwardRef(e6),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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const r6=e=>e?u.createElement(t6,null):u.createElement(J5,null),o6={click:"onClick",hover:"onMouseOver"},a6=u.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:o=!0,iconRender:a=r6}=e,i=typeof o=="object"&&o.visible!==void 0,[l,s]=u.useState(()=>i?o.visible:!1),c=u.useRef(null);u.useEffect(()=>{i&&s(o.visible)},[i,o]);const d=Gx(c),f=()=>{n||(l&&d(),s(R=>{var O;const _=!R;return typeof o=="object"&&((O=o.onVisibleChange)===null||O===void 0||O.call(o,_)),_}))},m=R=>{const O=o6[r]||"",_=a(l),A={[O]:f,className:`${R}-icon`,key:"passwordIcon",onMouseDown:M=>{M.preventDefault()},onMouseUp:M=>{M.preventDefault()}};return u.cloneElement(u.isValidElement(_)?_:u.createElement("span",null,_),A)},{className:y,prefixCls:b,inputPrefixCls:S,size:h}=e,g=n6(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:v}=u.useContext(ft),p=v("input",S),C=v("input-password",b),w=o&&m(C),x=q(C,y,{[`${C}-${h}`]:!!h}),E=Object.assign(Object.assign({},mr(g,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:x,prefixCls:p,suffix:w});return h&&(E.size=h),u.createElement($d,Object.assign({ref:Gr(t,c)},E))});var i6=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const l6=u.forwardRef((e,t)=>{const{prefixCls:n,inputPrefixCls:r,className:o,size:a,suffix:i,enterButton:l=!1,addonAfter:s,loading:c,disabled:d,onSearch:f,onChange:m,onCompositionStart:y,onCompositionEnd:b}=e,S=i6(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:g}=u.useContext(ft),v=u.useRef(!1),p=h("input-search",n),C=h("input",r),{compactSize:w}=hd(p,g),x=xo(N=>{var T;return(T=a??w)!==null&&T!==void 0?T:N}),E=u.useRef(null),R=N=>{N!=null&&N.target&&N.type==="click"&&f&&f(N.target.value,N,{source:"clear"}),m==null||m(N)},O=N=>{var T;document.activeElement===((T=E.current)===null||T===void 0?void 0:T.input)&&N.preventDefault()},_=N=>{var T,k;f&&f((k=(T=E.current)===null||T===void 0?void 0:T.input)===null||k===void 0?void 0:k.value,N,{source:"input"})},A=N=>{v.current||c||_(N)},M=typeof l=="boolean"?u.createElement(vx,null):null,D=`${p}-button`;let I;const V=l||{},j=V.type&&V.type.__ANT_BUTTON===!0;j||V.type==="button"?I=gs(V,Object.assign({onMouseDown:O,onClick:N=>{var T,k;(k=(T=V==null?void 0:V.props)===null||T===void 0?void 0:T.onClick)===null||k===void 0||k.call(T,N),_(N)},key:"enterButton"},j?{className:D,size:x}:{})):I=u.createElement(Mn,{className:D,type:l?"primary":void 0,size:x,disabled:d,key:"enterButton",onMouseDown:O,onClick:_,loading:c,icon:M},l),s&&(I=[I,gs(s,{key:"addonAfter"})]);const P=q(p,{[`${p}-rtl`]:g==="rtl",[`${p}-${x}`]:!!x,[`${p}-with-button`]:!!l},o),$=N=>{v.current=!0,y==null||y(N)},L=N=>{v.current=!1,b==null||b(N)};return u.createElement($d,Object.assign({ref:Gr(E,t),onPressEnter:A},S,{size:x,onCompositionStart:$,onCompositionEnd:L,prefixCls:C,addonAfter:I,suffix:i,onChange:R,className:P,disabled:d}))});var s6=`
  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;
`,u6=["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"],kf={},Sr;function c6(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&&kf[n])return kf[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=u6.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),s={sizingStyle:l,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(kf[n]=s),s}function d6(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;Sr||(Sr=document.createElement("textarea"),Sr.setAttribute("tab-index","-1"),Sr.setAttribute("aria-hidden","true"),document.body.appendChild(Sr)),e.getAttribute("wrap")?Sr.setAttribute("wrap",e.getAttribute("wrap")):Sr.removeAttribute("wrap");var o=c6(e,t),a=o.paddingSize,i=o.borderSize,l=o.boxSizing,s=o.sizingStyle;Sr.setAttribute("style","".concat(s,";").concat(s6)),Sr.value=e.value||e.placeholder||"";var c=void 0,d=void 0,f,m=Sr.scrollHeight;if(l==="border-box"?m+=i:l==="content-box"&&(m-=a),n!==null||r!==null){Sr.value=" ";var y=Sr.scrollHeight-a;n!==null&&(c=y*n,l==="border-box"&&(c=c+a+i),m=Math.max(c,m)),r!==null&&(d=y*r,l==="border-box"&&(d=d+a+i),f=m>d?"":"hidden",m=Math.min(d,m))}var b={height:m,overflowY:f,resize:"none"};return c&&(b.minHeight=c),d&&(b.maxHeight=d),b}var f6=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Hf=0,Vf=1,Wf=2,m6=u.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,c=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var m=it(n,f6),y=lr(o,{value:a,postState:function(U){return U??""}}),b=W(y,2),S=b[0],h=b[1],g=function(U){h(U.target.value),f==null||f(U)},v=u.useRef();u.useImperativeHandle(t,function(){return{textArea:v.current}});var p=u.useMemo(function(){return i&&je(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),C=W(p,2),w=C[0],x=C[1],E=!!i,R=function(){try{if(document.activeElement===v.current){var U=v.current,G=U.selectionStart,ee=U.selectionEnd,Q=U.scrollTop;v.current.setSelectionRange(G,ee),v.current.scrollTop=Q}}catch{}},O=u.useState(Wf),_=W(O,2),A=_[0],M=_[1],D=u.useState(),I=W(D,2),V=I[0],j=I[1],P=function(){M(Hf)};zt(function(){E&&P()},[a,w,x,E]),zt(function(){if(A===Hf)M(Vf);else if(A===Vf){var H=d6(v.current,!1,w,x);M(Wf),j(H)}else R()},[A]);var $=u.useRef(),L=function(){Rt.cancel($.current)},N=function(U){A===Wf&&(l==null||l(U),i&&(L(),$.current=Rt(function(){P()})))};u.useEffect(function(){return L},[]);var T=E?V:null,k=B(B({},c),T);return(A===Hf||A===Vf)&&(k.overflowY="hidden",k.overflowX="hidden"),u.createElement(kr,{onResize:N,disabled:!(i||l)},u.createElement("textarea",be({},m,{ref:v,style:k,className:q(r,s,F({},"".concat(r,"-disabled"),d)),disabled:d,value:S,onChange:g})))}),v6=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"],p6=K.forwardRef(function(e,t){var n,r=e.defaultValue,o=e.value,a=e.onFocus,i=e.onBlur,l=e.onChange,s=e.allowClear,c=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,y=e.prefixCls,b=y===void 0?"rc-textarea":y,S=e.showCount,h=e.count,g=e.className,v=e.style,p=e.disabled,C=e.hidden,w=e.classNames,x=e.styles,E=e.onResize,R=e.readOnly,O=it(e,v6),_=lr(r,{value:o,defaultValue:r}),A=W(_,2),M=A[0],D=A[1],I=M==null?"":String(M),V=K.useState(!1),j=W(V,2),P=j[0],$=j[1],L=K.useRef(!1),N=K.useState(null),T=W(N,2),k=T[0],H=T[1],U=u.useRef(null),G=u.useRef(null),ee=function(){var Ce;return(Ce=G.current)===null||Ce===void 0?void 0:Ce.textArea},Q=function(){ee().focus()};u.useImperativeHandle(t,function(){var xe;return{resizableTextArea:G.current,focus:Q,blur:function(){ee().blur()},nativeElement:((xe=U.current)===null||xe===void 0?void 0:xe.nativeElement)||ee()}}),u.useEffect(function(){$(function(xe){return!p&&xe})},[p]);var ae=K.useState(null),ce=W(ae,2),ne=ce[0],X=ce[1];K.useEffect(function(){if(ne){var xe;(xe=ee()).setSelectionRange.apply(xe,ye(ne))}},[ne]);var te=Wx(h,S),ie=(n=te.max)!==null&&n!==void 0?n:c,J=Number(ie)>0,oe=te.strategy(I),fe=!!ie&&oe>ie,Pe=function(Ce,Ve){var ke=Ve;!L.current&&te.exceedFormatter&&te.max&&te.strategy(Ve)>te.max&&(ke=te.exceedFormatter(Ve,{max:te.max}),Ve!==ke&&X([ee().selectionStart||0,ee().selectionEnd||0])),D(ke),Mc(Ce.currentTarget,Ce,l,ke)},ve=function(Ce){L.current=!0,d==null||d(Ce)},le=function(Ce){L.current=!1,Pe(Ce,Ce.currentTarget.value),f==null||f(Ce)},me=function(Ce){Pe(Ce,Ce.target.value)},se=function(Ce){var Ve=O.onPressEnter,ke=O.onKeyDown;Ce.key==="Enter"&&Ve&&Ve(Ce),ke==null||ke(Ce)},Ee=function(Ce){$(!0),a==null||a(Ce)},Le=function(Ce){$(!1),i==null||i(Ce)},Se=function(Ce){D(""),Q(),Mc(ee(),Ce,l)},De=m,pe;te.show&&(te.showFormatter?pe=te.showFormatter({value:I,count:oe,maxLength:ie}):pe="".concat(oe).concat(J?" / ".concat(ie):""),De=K.createElement(K.Fragment,null,De,K.createElement("span",{className:q("".concat(b,"-data-count"),w==null?void 0:w.count),style:x==null?void 0:x.count},pe)));var ot=function(Ce){var Ve;E==null||E(Ce),(Ve=ee())!==null&&Ve!==void 0&&Ve.style.height&&H(!0)},Be=!O.autoSize&&!S&&!s;return K.createElement(Vx,{ref:U,value:I,allowClear:s,handleReset:Se,suffix:De,prefixCls:b,classNames:B(B({},w),{},{affixWrapper:q(w==null?void 0:w.affixWrapper,F(F({},"".concat(b,"-show-count"),S),"".concat(b,"-textarea-allow-clear"),s))}),disabled:p,focused:P,className:q(g,fe&&"".concat(b,"-out-of-range")),style:B(B({},v),k&&!Be?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof pe=="string"?pe:void 0}},hidden:C,readOnly:R},K.createElement(m6,be({},O,{maxLength:c,onKeyDown:se,onChange:me,onFocus:Ee,onBlur:Le,onCompositionStart:ve,onCompositionEnd:le,className:q(w==null?void 0:w.textarea),style:B(B({},x==null?void 0:x.textarea),{},{resize:v==null?void 0:v.resize}),disabled:p,prefixCls:b,onResize:ot,ref:G,readOnly:R})))}),g6=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const h6=u.forwardRef((e,t)=>{var n,r;const{prefixCls:o,bordered:a=!0,size:i,disabled:l,status:s,allowClear:c,classNames:d,rootClassName:f,className:m,style:y,styles:b,variant:S}=e,h=g6(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:g,direction:v,textArea:p}=u.useContext(ft),C=xo(i),w=u.useContext(Fa),x=l??w,{status:E,hasFeedback:R,feedbackIcon:O}=u.useContext(So),_=wd(E,s),A=u.useRef(null);u.useImperativeHandle(t,()=>{var N;return{resizableTextArea:(N=A.current)===null||N===void 0?void 0:N.resizableTextArea,focus:T=>{var k,H;V5((H=(k=A.current)===null||k===void 0?void 0:k.resizableTextArea)===null||H===void 0?void 0:H.textArea,T)},blur:()=>{var T;return(T=A.current)===null||T===void 0?void 0:T.blur()}}});const M=g("input",o),D=Ua(M),[I,V,j]=kg(M,D),[P,$]=Ng("textArea",S,a),L=Ux(c??(p==null?void 0:p.allowClear));return I(u.createElement(p6,Object.assign({autoComplete:p==null?void 0:p.autoComplete},h,{style:Object.assign(Object.assign({},p==null?void 0:p.style),y),styles:Object.assign(Object.assign({},p==null?void 0:p.styles),b),disabled:x,allowClear:L,className:q(j,D,m,f,p==null?void 0:p.className),classNames:Object.assign(Object.assign(Object.assign({},d),p==null?void 0:p.classNames),{textarea:q({[`${M}-sm`]:C==="small",[`${M}-lg`]:C==="large"},V,d==null?void 0:d.textarea,(n=p==null?void 0:p.classNames)===null||n===void 0?void 0:n.textarea),variant:q({[`${M}-${P}`]:$},Ic(M,_)),affixWrapper:q(`${M}-textarea-affix-wrapper`,{[`${M}-affix-wrapper-rtl`]:v==="rtl",[`${M}-affix-wrapper-sm`]:C==="small",[`${M}-affix-wrapper-lg`]:C==="large",[`${M}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},V)}),prefixCls:M,suffix:R&&u.createElement("span",{className:`${M}-textarea-suffix`},O),ref:A})))}),pn=$d;pn.Group=B5;pn.Search=l6;pn.TextArea=h6;pn.Password=a6;pn.OTP=Q5;function Nb(e){return["small","middle","large"].includes(e)}function Kk(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Kx=["wrap","nowrap","wrap-reverse"],qx=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],Qx=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],y6=(e,t)=>{const n=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&Kx.includes(n)}},b6=(e,t)=>{const n={};return Qx.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},S6=(e,t)=>{const n={};return qx.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function C6(e,t){return q(Object.assign(Object.assign(Object.assign({},y6(e,t)),b6(e,t)),S6(e,t)))}const w6=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},E6=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},x6=e=>{const{componentCls:t}=e,n={};return Kx.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},R6=e=>{const{componentCls:t}=e,n={};return Qx.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},$6=e=>{const{componentCls:t}=e,n={};return qx.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},O6=()=>({}),P6=Ir("Flex",e=>{const{paddingXS:t,padding:n,paddingLG:r}=e,o=Gt(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[w6(o),E6(o),x6(o),R6(o),$6(o)]},O6,{resetStyle:!1});var _6=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const I6=K.forwardRef((e,t)=>{const{prefixCls:n,rootClassName:r,className:o,style:a,flex:i,gap:l,children:s,vertical:c=!1,component:d="div"}=e,f=_6(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:m,direction:y,getPrefixCls:b}=K.useContext(ft),S=b("flex",n),[h,g,v]=P6(S),p=c??(m==null?void 0:m.vertical),C=q(o,r,m==null?void 0:m.className,S,g,v,C6(S,e),{[`${S}-rtl`]:y==="rtl",[`${S}-gap-${l}`]:Nb(l),[`${S}-vertical`]:p}),w=Object.assign(Object.assign({},m==null?void 0:m.style),a);return i&&(w.flex=i),l&&!Nb(l)&&(w.gap=l),h(K.createElement(d,Object.assign({ref:t,className:C,style:w},mr(f,["justify","wrap","align"])),s))});function T6(e){let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,o=`${r}-holder`,a=`${o}-hidden`,[i,l]=u.useState(!1);zt(()=>{t!==0&&l(!0)},[t!==0]);const s=Math.max(Math.min(t,100),0),c=100,d=c/5,f=c/2-d/2,m=f*2*Math.PI,y=(b,S)=>u.createElement("circle",{className:q(b,`${r}-circle`),r:f,cx:"50",cy:"50",strokeWidth:d,style:S});return i?u.createElement("span",{className:q(o,`${r}-progress`,s<=0&&a)},u.createElement("svg",{viewBox:`0 0 ${c} ${c}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},y(`${r}-circle-bg`),y("",{strokeDasharray:`${m*s/100} ${m*(100-s)/100}`,strokeDashoffset:`${m/4}`}))):null}function M6(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,o=`${r}-holder`,a=`${o}-hidden`;return u.createElement(u.Fragment,null,u.createElement("span",{className:q(o,n>0&&a)},u.createElement("span",{className:q(r,`${t}-dot-spin`)},[1,2,3,4].map(i=>u.createElement("i",{className:`${t}-dot-item`,key:i})))),u.createElement(T6,{prefixCls:t,percent:n}))}function N6(e){const{prefixCls:t,indicator:n,percent:r}=e,o=`${t}-dot`;return n&&u.isValidElement(n)?gs(n,{className:q(n.props.className,o),percent:r}):u.createElement(M6,{prefixCls:t,percent:r})}const L6=new yt("antSpinMove",{to:{opacity:1}}),A6=new yt("antRotate",{to:{transform:"rotate(405deg)"}}),j6=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},no(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-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"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-progress`]:{position:"absolute",top:0,insetInlineStart:0},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:0,insetInlineStart:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:L6,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&: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:A6,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},D6=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},F6=Ir("Spin",e=>{const t=Gt(e,{spinDotDefault:e.colorTextDescription});return[j6(t)]},D6),z6=200,Lb=[[30,.05],[70,.03],[96,.01]];function B6(e,t){const[n,r]=u.useState(0),o=u.useRef(),a=t==="auto";return u.useEffect(()=>(a&&e&&(r(0),o.current=setInterval(()=>{r(i=>{const l=100-i;for(let s=0;s<Lb.length;s+=1){const[c,d]=Lb[s];if(i<=c)return i+l*d}return i})},z6)),()=>{clearInterval(o.current)}),[a,e]),a?n:t}var k6=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Xx;function H6(e,t){return!!e&&!!t&&!isNaN(Number(t))}const Yx=e=>{const{prefixCls:t,spinning:n=!0,delay:r=0,className:o,rootClassName:a,size:i="default",tip:l,wrapperClassName:s,style:c,children:d,fullscreen:f=!1,indicator:m,percent:y}=e,b=k6(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:S}=u.useContext(ft),h=S("spin",t),[g,v,p]=F6(h),[C,w]=u.useState(()=>n&&!H6(n,r)),x=B6(C,y);u.useEffect(()=>{if(n){const I=N5(r,()=>{w(!0)});return I(),()=>{var V;(V=I==null?void 0:I.cancel)===null||V===void 0||V.call(I)}}w(!1)},[r,n]);const E=u.useMemo(()=>typeof d<"u"&&!f,[d,f]),{direction:R,spin:O}=u.useContext(ft),_=q(h,O==null?void 0:O.className,{[`${h}-sm`]:i==="small",[`${h}-lg`]:i==="large",[`${h}-spinning`]:C,[`${h}-show-text`]:!!l,[`${h}-rtl`]:R==="rtl"},o,!f&&a,v,p),A=q(`${h}-container`,{[`${h}-blur`]:C}),M=Object.assign(Object.assign({},O==null?void 0:O.style),c),D=u.createElement("div",Object.assign({},b,{style:M,className:_,"aria-live":"polite","aria-busy":C}),u.createElement(N6,{prefixCls:h,indicator:m??Xx,percent:x}),l&&(E||f)?u.createElement("div",{className:`${h}-text`},l):null);return g(E?u.createElement("div",Object.assign({},b,{className:q(`${h}-nested-loading`,s,v,p)}),C&&u.createElement("div",{key:"loading"},D),u.createElement("div",{className:A,key:"container"},d)):f?u.createElement("div",{className:q(`${h}-fullscreen`,{[`${h}-fullscreen-show`]:C},a,v,p)},D):D)};Yx.setDefaultIndicator=e=>{Xx=e};var V6=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<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const W6=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:i,children:l,footer:s}=e,c=V6(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=u.useContext(ft),f=d(),m=t||d("modal"),y=Ua(f),[b,S,h]=zE(m,y),g=`${m}-confirm`;let v={};return a?v={closable:o??!1,title:"",footer:"",children:u.createElement(kE,Object.assign({},e,{prefixCls:m,confirmPrefixCls:g,rootPrefixCls:f,content:l}))}:v={closable:o??!0,title:i,footer:s!==null&&u.createElement(ME,Object.assign({},e)),children:l},b(u.createElement(CE,Object.assign({prefixCls:m,className:q(S,`${m}-pure-panel`,a&&g,a&&`${g}-${a}`,n,h,y)},c,{closeIcon:TE(m,r),closable:o},v)))},U6=XE(W6);function Jx(e){return Ls(UE(e))}const gn=BE;gn.useModal=c4;gn.info=function(t){return Ls(GE(t))};gn.success=function(t){return Ls(KE(t))};gn.error=function(t){return Ls(qE(t))};gn.warning=Jx;gn.warn=Jx;gn.confirm=function(t){return Ls(QE(t))};gn.destroyAll=function(){for(;Ea.length;){const t=Ea.pop();t&&t()}};gn.config=a4;gn._InternalPanelDoNotUseOrYouWillBeFired=U6;function Zx(e,t){return function(){return e.apply(t,arguments)}}const{toString:G6}=Object.prototype,{getPrototypeOf:Hg}=Object,Od=(e=>t=>{const n=G6.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Kr=e=>(e=e.toLowerCase(),t=>Od(t)===e),Pd=e=>t=>typeof t===e,{isArray:tl}=Array,Ss=Pd("undefined");function K6(e){return e!==null&&!Ss(e)&&e.constructor!==null&&!Ss(e.constructor)&&sr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const eR=Kr("ArrayBuffer");function q6(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&eR(e.buffer),t}const Q6=Pd("string"),sr=Pd("function"),tR=Pd("number"),_d=e=>e!==null&&typeof e=="object",X6=e=>e===!0||e===!1,Vu=e=>{if(Od(e)!=="object")return!1;const t=Hg(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Y6=Kr("Date"),J6=Kr("File"),Z6=Kr("Blob"),eB=Kr("FileList"),tB=e=>_d(e)&&sr(e.pipe),nB=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||sr(e.append)&&((t=Od(e))==="formdata"||t==="object"&&sr(e.toString)&&e.toString()==="[object FormData]"))},rB=Kr("URLSearchParams"),[oB,aB,iB,lB]=["ReadableStream","Request","Response","Headers"].map(Kr),sB=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),tl(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let l;for(r=0;r<i;r++)l=a[r],t.call(null,e[l],l,e)}}function nR(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const xa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,rR=e=>!Ss(e)&&e!==xa;function Gv(){const{caseless:e}=rR(this)&&this||{},t={},n=(r,o)=>{const a=e&&nR(t,o)||o;Vu(t[a])&&Vu(r)?t[a]=Gv(t[a],r):Vu(r)?t[a]=Gv({},r):tl(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Fs(arguments[r],n);return t}const uB=(e,t,n,{allOwnKeys:r}={})=>(Fs(t,(o,a)=>{n&&sr(o)?e[a]=Zx(o,n):e[a]=o},{allOwnKeys:r}),e),cB=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dB=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fB=(e,t,n,r)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Hg(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mB=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},vB=e=>{if(!e)return null;if(tl(e))return e;let t=e.length;if(!tR(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},pB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hg(Uint8Array)),gB=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},hB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yB=Kr("HTMLFormElement"),bB=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ab=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),SB=Kr("RegExp"),oR=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Fs(n,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(r[a]=i||o)}),Object.defineProperties(e,r)},CB=e=>{oR(e,(t,n)=>{if(sr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(sr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wB=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return tl(e)?r(e):r(String(e).split(t)),n},EB=()=>{},xB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Uf="abcdefghijklmnopqrstuvwxyz",jb="0123456789",aR={DIGIT:jb,ALPHA:Uf,ALPHA_DIGIT:Uf+Uf.toUpperCase()+jb},RB=(e=16,t=aR.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function $B(e){return!!(e&&sr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const OB=e=>{const t=new Array(10),n=(r,o)=>{if(_d(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=tl(r)?[]:{};return Fs(r,(i,l)=>{const s=n(i,o+1);!Ss(s)&&(a[l]=s)}),t[o]=void 0,a}}return r};return n(e,0)},PB=Kr("AsyncFunction"),_B=e=>e&&(_d(e)||sr(e))&&sr(e.then)&&sr(e.catch),iR=((e,t)=>e?setImmediate:t?((n,r)=>(xa.addEventListener("message",({source:o,data:a})=>{o===xa&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),xa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",sr(xa.postMessage)),IB=typeof queueMicrotask<"u"?queueMicrotask.bind(xa):typeof process<"u"&&process.nextTick||iR,Y={isArray:tl,isArrayBuffer:eR,isBuffer:K6,isFormData:nB,isArrayBufferView:q6,isString:Q6,isNumber:tR,isBoolean:X6,isObject:_d,isPlainObject:Vu,isReadableStream:oB,isRequest:aB,isResponse:iB,isHeaders:lB,isUndefined:Ss,isDate:Y6,isFile:J6,isBlob:Z6,isRegExp:SB,isFunction:sr,isStream:tB,isURLSearchParams:rB,isTypedArray:pB,isFileList:eB,forEach:Fs,merge:Gv,extend:uB,trim:sB,stripBOM:cB,inherits:dB,toFlatObject:fB,kindOf:Od,kindOfTest:Kr,endsWith:mB,toArray:vB,forEachEntry:gB,matchAll:hB,isHTMLForm:yB,hasOwnProperty:Ab,hasOwnProp:Ab,reduceDescriptors:oR,freezeMethods:CB,toObjectSet:wB,toCamelCase:bB,noop:EB,toFiniteNumber:xB,findKey:nR,global:xa,isContextDefined:rR,ALPHABET:aR,generateString:RB,isSpecCompliantForm:$B,toJSONObject:OB,isAsyncFn:PB,isThenable:_B,setImmediate:iR,asap:IB};function rt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Y.inherits(rt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const lR=rt.prototype,sR={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{sR[e]={value:e}});Object.defineProperties(rt,sR);Object.defineProperty(lR,"isAxiosError",{value:!0});rt.from=(e,t,n,r,o,a)=>{const i=Object.create(lR);return Y.toFlatObject(e,i,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),rt.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const TB=null;function Kv(e){return Y.isPlainObject(e)||Y.isArray(e)}function uR(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function Db(e,t,n){return e?e.concat(t).map(function(o,a){return o=uR(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function MB(e){return Y.isArray(e)&&!e.some(Kv)}const NB=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)});function Id(e,t,n){if(!Y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,h){return!Y.isUndefined(h[S])});const r=n.metaTokens,o=n.visitor||d,a=n.dots,i=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(o))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(Y.isDate(b))return b.toISOString();if(!s&&Y.isBlob(b))throw new rt("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(b)||Y.isTypedArray(b)?s&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,S,h){let g=b;if(b&&!h&&typeof b=="object"){if(Y.endsWith(S,"{}"))S=r?S:S.slice(0,-2),b=JSON.stringify(b);else if(Y.isArray(b)&&MB(b)||(Y.isFileList(b)||Y.endsWith(S,"[]"))&&(g=Y.toArray(b)))return S=uR(S),g.forEach(function(p,C){!(Y.isUndefined(p)||p===null)&&t.append(i===!0?Db([S],C,a):i===null?S:S+"[]",c(p))}),!1}return Kv(b)?!0:(t.append(Db(h,S,a),c(b)),!1)}const f=[],m=Object.assign(NB,{defaultVisitor:d,convertValue:c,isVisitable:Kv});function y(b,S){if(!Y.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+S.join("."));f.push(b),Y.forEach(b,function(g,v){(!(Y.isUndefined(g)||g===null)&&o.call(t,g,Y.isString(v)?v.trim():v,S,m))===!0&&y(g,S?S.concat(v):[v])}),f.pop()}}if(!Y.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Fb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Vg(e,t){this._pairs=[],e&&Id(e,this,t)}const cR=Vg.prototype;cR.append=function(t,n){this._pairs.push([t,n])};cR.toString=function(t){const n=t?function(r){return t.call(this,r,Fb)}:Fb;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function LB(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dR(e,t,n){if(!t)return e;const r=n&&n.encode||LB,o=n&&n.serialize;let a;if(o?a=o(t,n):a=Y.isURLSearchParams(t)?t.toString():new Vg(t,n).toString(r),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class zb{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fR={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},AB=typeof URLSearchParams<"u"?URLSearchParams:Vg,jB=typeof FormData<"u"?FormData:null,DB=typeof Blob<"u"?Blob:null,FB={isBrowser:!0,classes:{URLSearchParams:AB,FormData:jB,Blob:DB},protocols:["http","https","file","blob","url","data"]},Wg=typeof window<"u"&&typeof document<"u",qv=typeof navigator=="object"&&navigator||void 0,zB=Wg&&(!qv||["ReactNative","NativeScript","NS"].indexOf(qv.product)<0),BB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",kB=Wg&&window.location.href||"http://localhost",HB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wg,hasStandardBrowserEnv:zB,hasStandardBrowserWebWorkerEnv:BB,navigator:qv,origin:kB},Symbol.toStringTag,{value:"Module"})),Yn={...HB,...FB};function VB(e,t){return Id(e,new Yn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return Yn.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function WB(e){return Y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function UB(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function mR(e){function t(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),s=a>=n.length;return i=!i&&Y.isArray(o)?o.length:i,s?(Y.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!l):((!o[i]||!Y.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],a)&&Y.isArray(o[i])&&(o[i]=UB(o[i])),!l)}if(Y.isFormData(e)&&Y.isFunction(e.entries)){const n={};return Y.forEachEntry(e,(r,o)=>{t(WB(r),o,n,0)}),n}return null}function GB(e,t,n){if(Y.isString(e))try{return(t||JSON.parse)(e),Y.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const zs={transitional:fR,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return o?JSON.stringify(mR(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return VB(t,this.formSerializer).toString();if((l=Y.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Id(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),GB(t)):t}],transformResponse:[function(t){const n=this.transitional||zs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?rt.from(l,rt.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yn.classes.FormData,Blob:Yn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{zs.headers[e]={}});const KB=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qB=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&KB[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bb=Symbol("internals");function yl(e){return e&&String(e).trim().toLowerCase()}function Wu(e){return e===!1||e==null?e:Y.isArray(e)?e.map(Wu):String(e)}function QB(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const XB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gf(e,t,n,r,o){if(Y.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!Y.isString(t)){if(Y.isString(r))return t.indexOf(r)!==-1;if(Y.isRegExp(r))return r.test(t)}}function YB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function JB(e,t){const n=Y.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,i){return this[r].call(this,t,o,a,i)},configurable:!0})})}class Jn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(l,s,c){const d=yl(s);if(!d)throw new Error("header name must be a non-empty string");const f=Y.findKey(o,d);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||s]=Wu(l))}const i=(l,s)=>Y.forEach(l,(c,d)=>a(c,d,s));if(Y.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(Y.isString(t)&&(t=t.trim())&&!XB(t))i(qB(t),n);else if(Y.isHeaders(t))for(const[l,s]of t.entries())a(s,l,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=yl(t),t){const r=Y.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return QB(o);if(Y.isFunction(n))return n.call(this,o,r);if(Y.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yl(t),t){const r=Y.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Gf(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(i){if(i=yl(i),i){const l=Y.findKey(r,i);l&&(!n||Gf(r,r[l],l,n))&&(delete r[l],o=!0)}}return Y.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||Gf(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return Y.forEach(this,(o,a)=>{const i=Y.findKey(r,a);if(i){n[i]=Wu(o),delete n[a];return}const l=t?YB(a):String(a).trim();l!==a&&delete n[a],n[l]=Wu(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Y.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&Y.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Bb]=this[Bb]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=yl(i);r[l]||(JB(o,i),r[l]=!0)}return Y.isArray(t)?t.forEach(a):a(t),this}}Jn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Jn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Y.freezeMethods(Jn);function Kf(e,t){const n=this||zs,r=t||n,o=Jn.from(r.headers);let a=r.data;return Y.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function vR(e){return!!(e&&e.__CANCEL__)}function nl(e,t,n){rt.call(this,e??"canceled",rt.ERR_CANCELED,t,n),this.name="CanceledError"}Y.inherits(nl,rt,{__CANCEL__:!0});function pR(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new rt("Request failed with status code "+n.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ZB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function e8(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),d=r[a];i||(i=c),n[o]=s,r[o]=c;let f=a,m=0;for(;f!==o;)m+=n[f++],f=f%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const y=d&&c-d;return y?Math.round(m*1e3/y):void 0}}function t8(e,t){let n=0,r=1e3/t,o,a;const i=(c,d=Date.now())=>{n=d,o=null,a&&(clearTimeout(a),a=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?i(c,d):(o=c,a||(a=setTimeout(()=>{a=null,i(o)},r-f)))},()=>o&&i(o)]}const Nc=(e,t,n=3)=>{let r=0;const o=e8(50,250);return t8(a=>{const i=a.loaded,l=a.lengthComputable?a.total:void 0,s=i-r,c=o(s),d=i<=l;r=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:s,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},kb=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Hb=e=>(...t)=>Y.asap(()=>e(...t)),n8=Yn.hasStandardBrowserEnv?function(){const t=Yn.navigator&&/(msie|trident)/i.test(Yn.navigator.userAgent),n=document.createElement("a");let r;function o(a){let i=a;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const l=Y.isString(i)?o(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),r8=Yn.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];Y.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&i.push("path="+r),Y.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function o8(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function a8(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gR(e,t){return e&&!o8(t)?a8(e,t):t}const Vb=e=>e instanceof Jn?{...e}:e;function za(e,t){t=t||{};const n={};function r(c,d,f){return Y.isPlainObject(c)&&Y.isPlainObject(d)?Y.merge.call({caseless:f},c,d):Y.isPlainObject(d)?Y.merge({},d):Y.isArray(d)?d.slice():d}function o(c,d,f){if(Y.isUndefined(d)){if(!Y.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function a(c,d){if(!Y.isUndefined(d))return r(void 0,d)}function i(c,d){if(Y.isUndefined(d)){if(!Y.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function l(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const s={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d)=>o(Vb(c),Vb(d),!0)};return Y.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=s[d]||o,m=f(e[d],t[d],d);Y.isUndefined(m)&&f!==l||(n[d]=m)}),n}const hR=e=>{const t=za({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:l}=t;t.headers=i=Jn.from(i),t.url=dR(gR(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let s;if(Y.isFormData(n)){if(Yn.hasStandardBrowserEnv||Yn.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((s=i.getContentType())!==!1){const[c,...d]=s?s.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Yn.hasStandardBrowserEnv&&(r&&Y.isFunction(r)&&(r=r(t)),r||r!==!1&&n8(t.url))){const c=o&&a&&r8.read(a);c&&i.set(o,c)}return t},i8=typeof XMLHttpRequest<"u",l8=i8&&function(e){return new Promise(function(n,r){const o=hR(e);let a=o.data;const i=Jn.from(o.headers).normalize();let{responseType:l,onUploadProgress:s,onDownloadProgress:c}=o,d,f,m,y,b;function S(){y&&y(),b&&b(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let h=new XMLHttpRequest;h.open(o.method.toUpperCase(),o.url,!0),h.timeout=o.timeout;function g(){if(!h)return;const p=Jn.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:e,request:h};pR(function(E){n(E),S()},function(E){r(E),S()},w),h=null}"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(g)},h.onabort=function(){h&&(r(new rt("Request aborted",rt.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new rt("Network Error",rt.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||fR;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new rt(C,w.clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,e,h)),h=null},a===void 0&&i.setContentType(null),"setRequestHeader"in h&&Y.forEach(i.toJSON(),function(C,w){h.setRequestHeader(w,C)}),Y.isUndefined(o.withCredentials)||(h.withCredentials=!!o.withCredentials),l&&l!=="json"&&(h.responseType=o.responseType),c&&([m,b]=Nc(c,!0),h.addEventListener("progress",m)),s&&h.upload&&([f,y]=Nc(s),h.upload.addEventListener("progress",f),h.upload.addEventListener("loadend",y)),(o.cancelToken||o.signal)&&(d=p=>{h&&(r(!p||p.type?new nl(null,e,h):p),h.abort(),h=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const v=ZB(o.url);if(v&&Yn.protocols.indexOf(v)===-1){r(new rt("Unsupported protocol "+v+":",rt.ERR_BAD_REQUEST,e));return}h.send(a||null)})},s8=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const a=function(c){if(!o){o=!0,l();const d=c instanceof Error?c:this.reason;r.abort(d instanceof rt?d:new nl(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,a(new rt(`timeout ${t} of ms exceeded`,rt.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:s}=r;return s.unsubscribe=()=>Y.asap(l),s}},u8=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},c8=async function*(e,t){for await(const n of d8(e))yield*u8(n,t)},d8=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Wb=(e,t,n,r)=>{const o=c8(e,t);let a=0,i,l=s=>{i||(i=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:c,value:d}=await o.next();if(c){l(),s.close();return}let f=d.byteLength;if(n){let m=a+=f;n(m)}s.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(s){return l(s),o.return()}},{highWaterMark:2})},Td=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",yR=Td&&typeof ReadableStream=="function",f8=Td&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),bR=(e,...t)=>{try{return!!e(...t)}catch{return!1}},m8=yR&&bR(()=>{let e=!1;const t=new Request(Yn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ub=64*1024,Qv=yR&&bR(()=>Y.isReadableStream(new Response("").body)),Lc={stream:Qv&&(e=>e.body)};Td&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Lc[t]&&(Lc[t]=Y.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new rt(`Response type '${t}' is not supported`,rt.ERR_NOT_SUPPORT,r)})})})(new Response);const v8=async e=>{if(e==null)return 0;if(Y.isBlob(e))return e.size;if(Y.isSpecCompliantForm(e))return(await new Request(Yn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(e)||Y.isArrayBuffer(e))return e.byteLength;if(Y.isURLSearchParams(e)&&(e=e+""),Y.isString(e))return(await f8(e)).byteLength},p8=async(e,t)=>{const n=Y.toFiniteNumber(e.getContentLength());return n??v8(t)},g8=Td&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:a,timeout:i,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:m}=hR(e);c=c?(c+"").toLowerCase():"text";let y=s8([o,a&&a.toAbortSignal()],i),b;const S=y&&y.unsubscribe&&(()=>{y.unsubscribe()});let h;try{if(s&&m8&&n!=="get"&&n!=="head"&&(h=await p8(d,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),x;if(Y.isFormData(r)&&(x=w.headers.get("content-type"))&&d.setContentType(x),w.body){const[E,R]=kb(h,Nc(Hb(s)));r=Wb(w.body,Ub,E,R)}}Y.isString(f)||(f=f?"include":"omit");const g="credentials"in Request.prototype;b=new Request(t,{...m,signal:y,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:g?f:void 0});let v=await fetch(b);const p=Qv&&(c==="stream"||c==="response");if(Qv&&(l||p&&S)){const w={};["status","statusText","headers"].forEach(O=>{w[O]=v[O]});const x=Y.toFiniteNumber(v.headers.get("content-length")),[E,R]=l&&kb(x,Nc(Hb(l),!0))||[];v=new Response(Wb(v.body,Ub,E,()=>{R&&R(),S&&S()}),w)}c=c||"text";let C=await Lc[Y.findKey(Lc,c)||"text"](v,e);return!p&&S&&S(),await new Promise((w,x)=>{pR(w,x,{data:C,headers:Jn.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:b})})}catch(g){throw S&&S(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new rt("Network Error",rt.ERR_NETWORK,e,b),{cause:g.cause||g}):rt.from(g,g&&g.code,e,b)}}),Xv={http:TB,xhr:l8,fetch:g8};Y.forEach(Xv,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gb=e=>`- ${e}`,h8=e=>Y.isFunction(e)||e===null||e===!1,SR={getAdapter:e=>{e=Y.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){n=e[a];let i;if(r=n,!h8(n)&&(r=Xv[(i=String(n)).toLowerCase()],r===void 0))throw new rt(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+a]=r}if(!r){const a=Object.entries(o).map(([l,s])=>`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
`+a.map(Gb).join(`
`):" "+Gb(a[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Xv};function qf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nl(null,e)}function Kb(e){return qf(e),e.headers=Jn.from(e.headers),e.data=Kf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),SR.getAdapter(e.adapter||zs.adapter)(e).then(function(r){return qf(e),r.data=Kf.call(e,e.transformResponse,r),r.headers=Jn.from(r.headers),r},function(r){return vR(r)||(qf(e),r&&r.response&&(r.response.data=Kf.call(e,e.transformResponse,r.response),r.response.headers=Jn.from(r.response.headers))),Promise.reject(r)})}const CR="1.7.7",Ug={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ug[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const qb={};Ug.transitional=function(t,n,r){function o(a,i){return"[Axios v"+CR+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,l)=>{if(t===!1)throw new rt(o(i," has been removed"+(n?" in "+n:"")),rt.ERR_DEPRECATED);return n&&!qb[i]&&(qb[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,i,l):!0}};function y8(e,t,n){if(typeof e!="object")throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const l=e[a],s=l===void 0||i(l,a,e);if(s!==!0)throw new rt("option "+a+" must be "+s,rt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new rt("Unknown option "+a,rt.ERR_BAD_OPTION)}}const Yv={assertOptions:y8,validators:Ug},Io=Yv.validators;class _a{constructor(t){this.defaults=t,this.interceptors={request:new zb,response:new zb}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=za(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&Yv.assertOptions(r,{silentJSONParsing:Io.transitional(Io.boolean),forcedJSONParsing:Io.transitional(Io.boolean),clarifyTimeoutError:Io.transitional(Io.boolean)},!1),o!=null&&(Y.isFunction(o)?n.paramsSerializer={serialize:o}:Yv.assertOptions(o,{encode:Io.function,serialize:Io.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],b=>{delete a[b]}),n.headers=Jn.concat(i,a);const l=[];let s=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(s=s&&S.synchronous,l.unshift(S.fulfilled,S.rejected))});const c=[];this.interceptors.response.forEach(function(S){c.push(S.fulfilled,S.rejected)});let d,f=0,m;if(!s){const b=[Kb.bind(this),void 0];for(b.unshift.apply(b,l),b.push.apply(b,c),m=b.length,d=Promise.resolve(n);f<m;)d=d.then(b[f++],b[f++]);return d}m=l.length;let y=n;for(f=0;f<m;){const b=l[f++],S=l[f++];try{y=b(y)}catch(h){S.call(this,h);break}}try{d=Kb.call(this,y)}catch(b){return Promise.reject(b)}for(f=0,m=c.length;f<m;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=za(this.defaults,t);const n=gR(t.baseURL,t.url);return dR(n,t.params,t.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(t){_a.prototype[t]=function(n,r){return this.request(za(r||{},{method:t,url:n,data:(r||{}).data}))}});Y.forEach(["post","put","patch"],function(t){function n(r){return function(a,i,l){return this.request(za(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}_a.prototype[t]=n(),_a.prototype[t+"Form"]=n(!0)});class Gg{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{r.subscribe(l),a=l}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},t(function(a,i,l){r.reason||(r.reason=new nl(a,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Gg(function(o){t=o}),cancel:t}}}function b8(e){return function(n){return e.apply(null,n)}}function S8(e){return Y.isObject(e)&&e.isAxiosError===!0}const Jv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Jv).forEach(([e,t])=>{Jv[t]=e});function wR(e){const t=new _a(e),n=Zx(_a.prototype.request,t);return Y.extend(n,_a.prototype,t,{allOwnKeys:!0}),Y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return wR(za(e,o))},n}const on=wR(zs);on.Axios=_a;on.CanceledError=nl;on.CancelToken=Gg;on.isCancel=vR;on.VERSION=CR;on.toFormData=Id;on.AxiosError=rt;on.Cancel=on.CanceledError;on.all=function(t){return Promise.all(t)};on.spread=b8;on.isAxiosError=S8;on.mergeConfig=za;on.AxiosHeaders=Jn;on.formToJSON=e=>mR(Y.isHTMLForm(e)?new FormData(e):e);on.getAdapter=SR.getAdapter;on.HttpStatusCode=Jv;on.default=on;const C8=window.location.protocol+"//universitysolutions.in/collportal",Rr=on.create({baseURL:C8,headers:{"X-Auth-Origin":"UNICLARE"}});Rr.interceptors.request.use(function(e){let t="",n=localStorage.getItem("portal");return n==="STUDENT"?t=localStorage.getItem("student-token"):n==="QPMS"&&(t=localStorage.getItem("uniclare-token")),t&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)});const Nt=(e,t)=>{e.toLowerCase()=="error"?gn.error({title:e.toUpperCase(),content:t,centered:!0,okButtonProps:{style:{backgroundColor:"#FF4D4F",borderColor:"#FF4D4F"}}}):e.toLowerCase()=="success"?gn.success({title:e.toUpperCase(),content:t,centered:!0,okButtonProps:{style:{backgroundColor:"#52c41a",borderColor:"#52c41a"}}}):e.toLowerCase()=="info"?gn.info({title:e.toUpperCase(),content:t,centered:!0,okButtonProps:{style:{backgroundColor:"#8231d3",borderColor:"#8231d3"}}}):e.toLowerCase()=="warning"?gn.warning({title:e.toUpperCase(),content:t,centered:!0,okButtonProps:{style:{backgroundColor:"#faad14",borderColor:"#faad14"}}}):gn.info({title:e.toUpperCase(),content:t,centered:!0,okButtonProps:{style:{backgroundColor:"#8231d3",borderColor:"#8231d3"}}})},w8=()=>async(e,t)=>{try{const n=await Rr.post("/app.php?a=getUnivDetails");n.data.error_code===0?(localStorage.setItem("uniclare-token",n.data.data.token),e({type:"USER_INFO",payload:n.data.data.token}),navigate("/")):e({type:"CLEAR_USER_INFO",payload:{}})}catch(n){Nt("error",n.message)}},E8=(e,t)=>{let n={...t,password:btoa(t.password)};return async(r,o)=>{try{const a=o();let i=localStorage.getItem("dbname"),l=localStorage.getItem("type");r({type:"SET_BTN_LOADER"});const s=await Rr.post("/app.php?a=uniclareLogin&db="+i+"&type="+l,n);r({type:"UNSET_BTN_LOADER"}),s.data.error_code===0?(s.data.data.users.length===1&&s.data.data.users[0].fusertype!=="A"&&(localStorage.setItem("portal","QPMS"),localStorage.setItem("uniclare-token",s.data.data.token),localStorage.setItem("userInfo",JSON.stringify(s.data.data.userInfo)),r({type:"USER_INFO",payload:s.data.data.userInfo})),r({type:"USERS",payload:s.data.data.users}),r({type:"SET_ERROR_MSG",payload:""})):(Nt("info",s.data.data.msg),r({type:"SET_ERROR_MSG",payload:s.data.data.msg}))}catch(a){Nt("error",a.message)}}},qk=e=>async(t,n)=>{localStorage.removeItem("uniclare-token");const r=localStorage.getItem("uniclare-rootpath");localStorage.removeItem("uniclare-token"),localStorage.removeItem("userInfo"),e(r),t({type:"LOGOUT_USER",payload:[]})},x8=e=>async(t,n)=>{try{const r=localStorage.getItem("uniclare-rootpath");t({type:"SET_LOADER"});const o=await Rr.get("app.php?a=isLoggedIn");if(t({type:"UNSET_LOADER"}),typeof o.data!="object"){localStorage.removeItem("uniclare-token"),localStorage.removeItem("userInfo"),Nt("error","Token Expired ! Please Login Again"),e(r);return}}catch(r){Nt("error",r.message);return}},R8=(e,t)=>{let n={...t,password:btoa(t.password)};return async(r,o)=>{try{const a=o();let i=localStorage.getItem("dbname"),l=localStorage.getItem("type");r({type:"SET_LOADER"});const s=await Rr.post("/app.php?a=uniclareAdminLogin&db="+i+"&type="+l,n);r({type:"UNSET_LOADER"}),s.data.error_code===0?(s.data.data.users.length===1&&(localStorage.setItem("uniclare-token",s.data.data.token),localStorage.setItem("userInfo",JSON.stringify(s.data.data.userInfo)),r({type:"USER_INFO",payload:s.data.data.userInfo})),r({type:"USERS",payload:s.data.data.users}),r({type:"SET_ERROR_MSG",payload:""})):(Nt("info",s.data.data.msg),r({type:"SET_ERROR_MSG",payload:s.data.data.msg}))}catch(a){Nt("error",a.message)}}};var $8={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"},O8=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:$8}))},P8=u.forwardRef(O8),_8={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"},I8=function(t,n){return u.createElement(dn,be({},t,{ref:n,icon:_8}))},Zv=u.forwardRef(I8);const T8="/assets/098_logo-Cc_avybB.jpg",M8="/assets/Logisys-CUGyUsc1.png",N8="/assets/dypatil_logo-CJbzbbUM.jpg",L8="/assets/acu_logo-DBr29D7G.jpg",A8="/assets/jssu_logo-TJKubRbj.jpg",j8="/assets/reva_logo-CsxXveer.jpg",D8="/assets/epcet_logo-Ba6TLxAQ.jpg",F8="/assets/jssun_logo-DsVRLYuY.jpg",z8=e=>{const t=u.useRef(null),n=u.useRef(null),[r,o]=u.useState({mobileno:"",password:"",usertype:"",otp:""}),[a,i]=u.useState([]),[l,s]=u.useState(!1),c=$s(),d=Va(),f=QP();u.useEffect(()=>{localStorage.setItem("type",d.pathname.split("/")[1]),localStorage.setItem("uniclare-rootpath",d.pathname),document.getElementById("univ-title").innerHTML=d.pathname.split("/")[1],d.pathname.split("/")[1]==="demo"?localStorage.setItem("univlogo",T8):d.pathname.split("/")[1]==="dypatil"?localStorage.setItem("univlogo",N8):d.pathname.split("/")[1]==="acu"?localStorage.setItem("univlogo",L8):d.pathname.split("/")[1]==="jssu"?localStorage.setItem("univlogo",A8):d.pathname.split("/")[1]==="reva"?localStorage.setItem("univlogo",j8):d.pathname.split("/")[1]==="epcet"?localStorage.setItem("univlogo",D8):d.pathname.split("/")[1]==="jssun"?localStorage.setItem("univlogo",F8):localStorage.setItem("univlogo",M8),m()},[]),u.useEffect(()=>{var C;i(e.loginfo.users),((C=e.loginfo.users)==null?void 0:C.length)===1&&(o({...r,usertype:e.loginfo.users[0].fusertype}),e.loginfo.users[0].fusertype!=="T"&&e.loginfo.users[0].fusertype!=="M"&&g())},[e.loginfo.users]);const m=async()=>{e.getUnivDetails()},y=async(C,w)=>{o(w==="usertype"?{...r,[w]:C}:{...r,[C.target.name]:C.target.value})};let b="/"+localStorage.getItem("type")+"/register",S="/"+localStorage.getItem("type")+"/ForgetPassword";const h=async(C,w)=>{if(e.loginfo.users!==void 0&&e.loginfo.users.length>1&&r.usertype===""||r.mobileno===""||r.password===""){Nt("Warning","Please fill all the fields");return}r.usertype!=="T"&&r.usertype!==""&&r.usertype!=="M"&&r.usertype!==""?await g():await e.handleLogin(c,r)},g=async()=>{try{let C={...r,password:btoa(r.password)};f({type:"SET_BTN_LOADER"});const w=localStorage.getItem("dbname");let x=localStorage.getItem("type");const E=await Rr.post("app.php?a=getAdminOTP&db="+w+"&type="+x,C);f({type:"UNSET_BTN_LOADER"}),E.data.error_code===0?s(!0):Nt("error",E.data.data.msg)}catch(C){Nt("error",C.message);return}},v=async()=>{if(r.otp===""){Nt("warning","Please Enter OTP ");return}await e.handleAdminLogin(c,r)},p=(C,w)=>{w!=="continue"&&C.key==="Enter"?t.current.click():w==="continue"&&C.key==="Enter"&&n.current.click()};return z.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",backgroundImage:"url(https://img.freepik.com/premium-photo/abstract-blurred-empty-college-library-interior-space-blurry-classroom-with-bookshelves-by-defocused-effect-use-background-backdrop-book-shop-business-education-resources-concepts_505557-7370.jpg)",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:[z.jsx(gn,{title:"Enter OTP",open:l,width:400,footer:[z.jsx(Mn,{size:"medium",type:"primary",danger:!0,onClick:()=>s(!1),children:"Cancel"},2),z.jsx(Mn,{size:"medium",type:"primary",onClick:()=>v(),ref:n,children:"Continue"},1)],closable:!1,children:z.jsx(pn,{size:"large",style:{marginBottom:"10px"},prefix:z.jsx(Zv,{}),name:"otp",value:r.otp,maxLength:6,onChange:y,onKeyDown:C=>p(C,"continue")})}),z.jsxs(Gi,{style:{width:400},children:[z.jsx("h2",{children:"Login"}),z.jsx("p",{children:"Sign in to your account"}),z.jsx("label",{children:"Mobile Number"}),z.jsx(pn,{size:"large",style:{marginBottom:"10px"},prefix:z.jsx(Zv,{}),name:"mobileno",value:r.mobileno,maxLength:10,onChange:y,onKeyDown:p}),z.jsx("label",{children:"Password"}),z.jsx(pn.Password,{size:"large",style:{marginBottom:"20px"},prefix:z.jsx(P8,{}),name:"password",value:r.password,onChange:y,onKeyDown:p}),(a==null?void 0:a.length)>1&&z.jsxs("div",{children:[z.jsx("label",{children:"Select Role"}),z.jsx(qa,{placeholder:"Login as",value:r.usertype,options:e.loginfo.users.map((C,w)=>({key:w,value:C.fusertype,label:C.fdescpn})),style:{width:"100%",marginBottom:"20px"},onChange:C=>y(C,"usertype"),onKeyDown:p})]}),z.jsx(Mn,{ref:t,type:"primary",style:{width:"100%",color:"#fff",marginBottom:"20px"},loading:e.loader,onClick:()=>h(),children:(a==null?void 0:a.length)>1?"OK":"Login"}),z.jsx(hc,{to:b,children:"Click here to Register"}),z.jsx(hc,{to:S,style:{float:"right"},children:"Forgot Password"})]})]})},B8=e=>({loginfo:e.loginfo,loader:e.loader.btnLoading}),da=ng(B8,{handleLogin:E8,getUnivDetails:w8,handleAdminLogin:R8})(z8),k8=()=>z.jsx("div",{children:"NoPageFound"}),fa=()=>{const[e,t]=u.useState({usertype:"T",regno:"",name:"",dob:"",mobileNo:"",emailId:"",password:"",confirmPassword:"",mobOtp:"",emailOtp:"",otp:""}),[n,r]=u.useState([{value:"T",label:"Teacher"}]),[o,a]=u.useState(!1),[i,l]=u.useState(!0),[s,c]=u.useState(!0),[d,f]=u.useState(!1),m="/"+localStorage.getItem("type"),y=localStorage.getItem("dbname"),b=$s(),S=(p,C)=>{C=="usertype"?t({...e,[C]:p}):t({...e,[p.target.name]:p.target.value})},h=async()=>{a(!0),await Rr.get("/app.php?a=validateRegno&db="+y+"&usertype="+e.usertype+"&regno="+e.regno).then(p=>{p.data.error_code===0?(t({...e,mobileNo:p.data.data.fmobile,emailId:p.data.data.femail,name:p.data.data.fteachname,dob:p.data.data.fdob}),l(!1)):Nt("info",p.data.data.msg),a(!1)}).catch(p=>Nt("error",p))},g=async()=>{a(!0),await Rr.post("/app.php?a=sendOtp&db="+y,e).then(p=>{p.data.error_code===0?(c(!1),f(!0)):Nt("info",p.data.data.msg),a(!1)}).catch(p=>Nt("error",p))},v=async()=>{a(!0),await Rr.post("/app.php?a=registerUser&db="+y,e).then(p=>{p.data.error_code===0?(Nt("success",p.data.data.msg),b(localStorage.getItem("uniclare-rootpath"))):Nt("info",p.data.data.msg),a(!1)}).catch(p=>Nt("error",p))};return z.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:[z.jsxs(gn,{title:"OTP Verification",centered:!0,open:d,footer:[z.jsx(Mn,{onClick:()=>v(),loading:o,children:"Register"},"ok")],children:[z.jsx("label",{children:"Enter OTP"}),z.jsx(pn,{name:"otp",style:{marginBottom:"20px"},value:e.otp,maxLength:4,onChange:S})]}),z.jsxs(Gi,{style:{width:400},children:[z.jsx("h4",{children:"Registration"}),z.jsx("p",{children:"Create your account"}),z.jsx("label",{children:"User Type"}),z.jsx(qa,{disabled:!i&&!0,defaultValue:"teacher",name:"usertype",style:{width:"100%",marginBottom:"20px"},value:e.usertype,options:n,onChange:p=>S(p,"usertype")}),z.jsx("label",{children:"Teacher Code"}),z.jsx(pn,{disabled:!i&&!0,name:"regno",style:{marginBottom:"20px"},value:e.regno,maxLength:20,onChange:S}),i?z.jsx(Mn,{type:"primary",style:{width:"100%",color:"#fff",marginBottom:"20px"},loading:o,onClick:()=>h(),children:"Validate"}):z.jsxs("div",{children:[z.jsxs(Gi,{style:{marginBottom:"20px"},children:[z.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"20px"},children:[z.jsx("span",{children:z.jsx("b",{children:"Name"})}),z.jsx("span",{children:e.name})]}),z.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[z.jsx("span",{children:z.jsx("b",{children:"Date of Birth"})}),z.jsx("span",{children:e.dob})]})]}),z.jsx("label",{children:"Mobile Number"}),z.jsx(pn,{name:"mobileNo",disabled:!0,style:{marginBottom:"20px"},value:e.mobileNo,maxLength:10}),z.jsx("label",{children:"Email ID"}),z.jsx(pn,{name:"emailId",disabled:!0,style:{marginBottom:"20px"},value:e.emailId}),z.jsx("label",{children:"Password"}),z.jsx(pn.Password,{name:"password",style:{marginBottom:"20px"},value:e.password,maxLength:32,onChange:S}),z.jsx("label",{children:"Confirm Password"}),z.jsx(pn.Password,{name:"confirmPassword",style:{marginBottom:"20px"},value:e.confirmPassword,maxLength:32,onChange:S}),s&&z.jsx(Mn,{type:"primary",style:{width:"100%",color:"#fff",marginBottom:"20px"},loading:o,onClick:()=>g(),children:"Send OTP"})]}),"Already Registered ?",z.jsx(hc,{to:m,children:z.jsx("a",{children:"Click here"})})]})]})},H8=()=>{const[e,t]=u.useState(""),[n,r]=u.useState(""),[o,a]=u.useState(!1),[i,l]=u.useState(!1),[s,c]=u.useState(!0),[d,f]=u.useState(!1),[m,y]=u.useState(""),[b,S]=u.useState(""),h="/"+localStorage.getItem("type"),g=localStorage.getItem("dbname"),v=async()=>{l(!0),await Rr.get("/app.php?a=validateMobileNo&db="+g+"&fmobile="+e).then(w=>{w.data.error_code==0?(f(!0),c(!1)):Nt("info",w.data.data.msg),l(!1)}).catch(w=>{Nt("error",w),l(!1)})},p=async()=>{if(n==""){Nt("info","Enter OTP");return}l(!0),await Rr.post("/app.php?a=verifyOtp&db="+g+"&fmobile="+e+"&fotp="+n).then(w=>{w.data.error_code===0?(a(!0),f(!1),c(!1)):Nt("info",w.data.data.msg),l(!1)}).catch(w=>Nt("error",w))},C=async()=>{if(m!=b){Nt("info","Password and Confirm password mismatch");return}l(!0),await Rr.post("/app.php?a=saveNewPassword&db="+g+"&fmobile="+e+"&fnewpaswd="+m).then(w=>{w.data.error_code===0?(t(""),r(""),a(!1),l(!1),c(!0),f(!1),y(""),S(""),Nt("success",w.data.data.msg)):Nt("info",w.data.data.msg),l(!1)}).catch(w=>Nt("error",w))};return z.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",backgroundImage:"url(https://img.freepik.com/premium-photo/abstract-blurred-empty-college-library-interior-space-blurry-classroom-with-bookshelves-by-defocused-effect-use-background-backdrop-book-shop-business-education-resources-concepts_505557-7370.jpg)",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:[z.jsx(gn,{title:"Enter OTP",open:d,width:400,footer:[z.jsx(Mn,{size:"medium",type:"primary",danger:!0,onClick:()=>{f(!1),c(!0)},children:"Cancel"},2),z.jsx(Mn,{size:"medium",type:"primary",onClick:()=>p(),children:"Submit"},1)],closable:!1,children:z.jsx(pn,{size:"large",style:{marginBottom:"10px"},prefix:z.jsx(Zv,{}),name:"otp",value:n,maxLength:6,onChange:w=>r(w.target.value)})}),z.jsxs(Gi,{style:{width:400},children:[z.jsx("h4",{children:"Forget Password"}),z.jsx("label",{children:"Mobile No."}),z.jsx(pn,{name:"fmobile",style:{width:"100%",marginBottom:"20px"},value:e,onChange:w=>{t(w.target.value)}}),s&&z.jsx(Mn,{type:"primary",style:{width:"100%",color:"#fff",marginBottom:"20px"},loading:i,onClick:()=>v(),children:"Validate"}),o&&z.jsxs("div",{children:[z.jsx("label",{children:"Password"}),z.jsx(pn.Password,{name:"password",style:{marginBottom:"20px"},value:m,maxLength:32,onChange:w=>y(w.target.value)}),z.jsx("label",{children:"Confirm Password"}),z.jsx(pn.Password,{name:"confirmPassword",style:{marginBottom:"20px"},value:b,maxLength:32,onChange:w=>S(w.target.value)}),z.jsx(Mn,{type:"primary",style:{width:"100%",color:"#fff",marginBottom:"20px"},loading:i,onClick:()=>C(),children:"Save"})]}),"Already Registered ?",z.jsx(hc,{to:h,children:z.jsx("a",{children:"Click here"})})]})]})},V8=()=>{let t="/"+localStorage.getItem("type")+"/ForgetPassword";return z.jsxs(wC,{children:[z.jsx(Te,{path:"/dypatil",element:z.jsx(da,{})}),z.jsx(Te,{path:"/demo",element:z.jsx(da,{})}),z.jsx(Te,{path:"/acu",element:z.jsx(da,{})}),z.jsx(Te,{path:"/reva",element:z.jsx(da,{})}),z.jsx(Te,{path:"/jssu",element:z.jsx(da,{})}),z.jsx(Te,{path:"/epcet",element:z.jsx(da,{})}),z.jsx(Te,{path:"/jssun",element:z.jsx(da,{})}),z.jsx(Te,{path:"/",element:z.jsx(Wm,{to:"404"})}),z.jsx(Te,{path:"404",element:z.jsx(k8,{})}),z.jsx(Te,{path:"*",element:z.jsx(Wm,{to:"404"})}),z.jsx(Te,{path:"/demo/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/acu/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/reva/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/dypatil/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/jssu/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/epcet/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:"/jssun/register",element:z.jsx(fa,{})}),z.jsx(Te,{path:t,element:z.jsx(H8,{})})]})},W8="modulepreload",U8=function(e){return"/"+e},Qb={},st=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(s=>{if(s=U8(s),s in Qb)return;Qb[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":W8,c||(f.as="script"),f.crossOrigin="",f.href=s,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((m,y)=>{f.addEventListener("load",m),f.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}function a(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})},G8={padding:50,background:"rgba(0, 0, 0, 0.05)",borderRadius:4},K8=z.jsx("div",{style:G8}),q8=()=>z.jsx(ro,{theme:{components:{Spin:{colorPrimary:"#8231d3"}}},children:z.jsx(I6,{style:{height:"100vh",justifyContent:"center",alignItems:"center",position:"fixed",zIndex:1,backgroundColor:"#000",opacity:.8,width:"100%",textShadow:"none"},children:z.jsx(Yx,{tip:"Loading...",size:"large",children:K8})})}),Q8=u.lazy(()=>st(()=>import("./Header-CLqqZLpp.js"),__vite__mapDeps([0,1]))),X8=u.lazy(()=>st(()=>import("./Dashboard-Cmqjlljz.js"),[])),Y8=u.lazy(()=>st(()=>import("./GuideLines-D5WpjAID.js"),__vite__mapDeps([2,3,4]))),J8=u.lazy(()=>st(()=>import("./BankDetails-BBJVD-3W.js"),__vite__mapDeps([5,3,4,6,7]))),Z8=u.lazy(()=>st(()=>import("./QpPattern-Eo7rwe3a.js"),__vite__mapDeps([8,9,10,11,3,12,4,6,7,13,14,15,16,17,18]))),ek=u.lazy(()=>st(()=>import("./AvailableQp-sASFHfUc.js"),__vite__mapDeps([19,9,10,11,3,20,13,14,15,16,7,12,21,4,6]))),tk=u.lazy(()=>st(()=>import("./EligibleQpSetter-CojnUVbY.js"),__vite__mapDeps([22,9,10,11,3,12,21,4,6,7,13,14,15,16]))),nk=u.lazy(()=>st(()=>import("./SelectQpSetter-DaTp7MlD.js"),__vite__mapDeps([23,24,10,9,11,3,25,26,12,21,4,6,7,13,14,15,16,27]))),rk=u.lazy(()=>st(()=>import("./AcceptQpRequest-DvbSDv9u.js"),__vite__mapDeps([28,3,4,16,15,13,14,7]))),ok=u.lazy(()=>st(()=>import("./UploadQuestionPaper-Cb0T-XCK.js"),__vite__mapDeps([29,17,16,15,18,3,4,6,7,13,14]))),ak=u.lazy(()=>st(()=>import("./PrepareQuestionPaper-C8ZqT8z6.js"),__vite__mapDeps([30,31,3,4,13,14,15,16,7,32,33]))),ik=u.lazy(()=>st(()=>import("./PrepareThQp-vKwew15w.js"),__vite__mapDeps([34,35,36,31,9,3,20,33,4,16,15,6,7,17,18,37]))),lk=u.lazy(()=>st(()=>import("./AssignModerator-CGXrL5Z0.js"),__vite__mapDeps([38,24,9,10,11,3,25,26,12,21,4,6,7,13,14,15,16,27]))),sk=u.lazy(()=>st(()=>import("./DisplayTempCode-B1YOJn4Z.js"),__vite__mapDeps([39,40,11,3,9,4,13,14,15,16,7,32,33,18]))),uk=u.lazy(()=>st(()=>import("./CreateTempCode-DJ6EbVE9.js"),__vite__mapDeps([41,40,13,14,15,16,3,7,18,20,4,6]))),ck=u.lazy(()=>st(()=>import("./QpSummary-BtKXK9Xw.js"),__vite__mapDeps([42,10,9,11,3,12,33,4,6,7,13,14,15,16]))),dk=u.lazy(()=>st(()=>import("./SelectFinalQp-DCKDrE_0.js"),__vite__mapDeps([43,10,9,44,11,3,12,21,4,6,7,13,14,15,16]))),fk=u.lazy(()=>st(()=>import("./SelectFinalMCQQp-BW67gMis.js"),__vite__mapDeps([45,9,10,44,11,3,12,21,4,6,7,13,14,15,16,33]))),mk=u.lazy(()=>st(()=>import("./ModQpDetailsOnline-BpNhKipo.js"),__vite__mapDeps([46,47,9,3,4,13,14,15,16,7,32,33]))),vk=u.lazy(()=>st(()=>import("./ModQpDetailsOffline-Q8Ia8YHm.js"),__vite__mapDeps([48,47,9,17,16,15,18,13,14,3,7,11,20,4,6]))),pk=u.lazy(()=>st(()=>import("./ViewMcqFinalPaper-DFLsPDQz.js"),__vite__mapDeps([49,9,10,31,3,6,7,13,14,15,16]))),gk=u.lazy(()=>st(()=>import("./GenerateBill-BgDS7P2t.js"),__vite__mapDeps([50,10,9,51,11,3,21,4,6,7,13,14,15,16]))),hk=u.lazy(()=>st(()=>import("./ChangePassword-CjKrOqeR.js"),__vite__mapDeps([52,3,6,7]))),yk=u.lazy(()=>st(()=>import("./ViewQPScr-DOX0nigQ.js"),__vite__mapDeps([53,54,11,3,10,9,12,4,6,7,13,14,15,16]))),bk=u.lazy(()=>st(()=>import("./ViewFinalQP-CFsn58Dy.js"),__vite__mapDeps([55,54,11,3,10,9,12,4,6,7,13,14,15,16,17,18,21]))),Sk=u.lazy(()=>st(()=>import("./AssignUserMenus-Dx2oU8ZK.js"),__vite__mapDeps([56,57,3,12,21,4,6,7,14,15]))),Ck=u.lazy(()=>st(()=>import("./Usertype-CxRyH-rF.js"),__vite__mapDeps([58,57,9,3,12,4,13,14,15,16,7,6,21,32]))),wk=u.lazy(()=>st(()=>import("./CreateUser-DFmSMMfC.js"),__vite__mapDeps([59,24,9,57,3,12,4,13,14,15,16,7,6,32]))),Xb=u.lazy(()=>st(()=>import("./TeacherEntry-B_7b47c4.js"),__vite__mapDeps([60,24,9,61,3,12,4,6,7]))),Ek=u.lazy(()=>st(()=>import("./ViewTeacherList-Cx33MUay.js"),__vite__mapDeps([62,61,11,3,9,20,4,13,14,15,16,7,32,18]))),xk=u.lazy(()=>st(()=>import("./PrepareQuestionPaper-mYWliiX6.js"),__vite__mapDeps([63,35,36,64,27,16,15,9,3,20,33,4,6,7,17,18,65]))),Yb=u.lazy(()=>st(()=>import("./ViewPrepareQp-DsF0AAeZ.js"),__vite__mapDeps([66,64,27,16,15,3,4,13,14,7,32,33]))),Jb=u.lazy(()=>st(()=>import("./SubjectCreation-DOtqyJMR.js"),__vite__mapDeps([67,68,9,3,6,7]))),Rk=u.lazy(()=>st(()=>import("./ViewSubject-B9gdLc8r.js"),__vite__mapDeps([69,68,3,13,14,15,16,7]))),Zb=u.lazy(()=>st(()=>import("./DegreeGroup-CNC-eojH.js"),__vite__mapDeps([70,71,3,6,7]))),$k=u.lazy(()=>st(()=>import("./Viewdeggrp-DE3d5Lv9.js"),__vite__mapDeps([72,71,3,13,14,15,16,7]))),eS=u.lazy(()=>st(()=>import("./Degree-ClQRv-_e.js"),__vite__mapDeps([73,74,3,6,7]))),Ok=u.lazy(()=>st(()=>import("./ViewDegree-CK_g3Sng.js"),__vite__mapDeps([75,74,3,13,14,15,16,7]))),Pk=u.lazy(()=>st(()=>import("./ViewGeneratedBill-BwmIBck-.js"),__vite__mapDeps([76,51,9,11,3,6,7,13,14,15,16]))),_k=e=>z.jsx("div",{children:z.jsxs(u.Suspense,{fallback:z.jsx("h2",{children:"Loading..."}),children:[z.jsx(Q8,{}),e.loader&&z.jsx(q8,{}),z.jsxs(wC,{children:[z.jsx(Te,{path:"*",element:z.jsx(Wm,{to:"/dashboard",replace:!0})}),z.jsx(Te,{path:"dashboard",element:z.jsx(X8,{})}),z.jsx(Te,{path:"/qpsettings/guidelines",element:z.jsx(Y8,{})}),z.jsx(Te,{path:"/qpsettings/bank-details",element:z.jsx(J8,{})}),z.jsx(Te,{path:"/qpsettings/upload-qp-pattern",element:z.jsx(Z8,{})}),z.jsx(Te,{path:"/qpsettings/available-qp",element:z.jsx(ek,{})}),z.jsx(Te,{path:"/qpsettings/eligible-qp-setter",element:z.jsx(tk,{})}),z.jsx(Te,{path:"/qpsettings/select-qp-setter",element:z.jsx(nk,{})}),z.jsx(Te,{path:"/qpsettings/accept-qp-request",element:z.jsx(rk,{})}),z.jsx(Te,{path:"/qpsettings/upload-qp",element:z.jsx(ok,{})}),z.jsx(Te,{path:"/qpsettings/prepare-qp",element:z.jsx(ak,{})}),z.jsx(Te,{path:"/qpsettings/prepare-thqp/:qpcode/:year/:mode/:teachcode/:set/:tempcode/:type/:disabled",element:z.jsx(ik,{})}),z.jsx(Te,{path:"/qpsettings/assign-moderator",element:z.jsx(lk,{})}),z.jsx(Te,{path:"/qpsettings/qpsummary",element:z.jsx(ck,{})}),z.jsx(Te,{path:"/qpsettings/crttemp",element:z.jsx(sk,{})}),z.jsx(Te,{path:"/qpsettings/edit/:type/:ftempcode",element:z.jsx(uk,{})}),z.jsx(Te,{path:"/qpsettings/select-final-qp",element:z.jsx(dk,{})}),z.jsx(Te,{path:"/qpsettings/select-final-mcq-qp",element:z.jsx(fk,{})}),z.jsx(Te,{path:"/qpsettings/mod-qp-det-online",element:z.jsx(mk,{})}),z.jsx(Te,{path:"/qpsettings/mod-qp-det-offline",element:z.jsx(vk,{})}),z.jsx(Te,{path:"/qpsettings/mcq-final-paper",element:z.jsx(pk,{})}),z.jsx(Te,{path:"/qpsettings/generatebill",element:z.jsx(gk,{})}),z.jsx(Te,{path:"/qpsettings/changepwd",element:z.jsx(hk,{})}),z.jsx(Te,{path:"/viewQPscr",element:z.jsx(yk,{})}),z.jsx(Te,{path:"/viewFinalQPScr",element:z.jsx(bk,{})}),z.jsx(Te,{path:"/qpsetting/assign-user-menus",element:z.jsx(Sk,{})}),z.jsx(Te,{path:"/qpsetting/create-usertype",element:z.jsx(Ck,{})}),z.jsx(Te,{path:"/qpsettings/create-user",element:z.jsx(wk,{})}),z.jsx(Te,{path:"/qpsettings/teacher-entry/:type",element:z.jsx(Xb,{})}),z.jsx(Te,{path:"/qpsettings/view-teacher-list",element:z.jsx(Ek,{})}),z.jsx(Te,{path:"/qpsettings/teacher-entry/:teachcode/:mobileno/:type",element:z.jsx(Xb,{})}),z.jsx(Te,{path:"/qpsettings/prepare-qn-paper/:qpcode/:year/:mode/:teachcode/:set/:tempcode/:type/:disabled",element:z.jsx(xk,{})}),z.jsx(Te,{path:"/qpsettings/prepare-qp-2",element:z.jsx(Yb,{})}),z.jsx(Te,{path:"/qpsettings/mod-qp-online-2",element:z.jsx(Yb,{})}),z.jsx(Te,{path:"/qpsettings/subject/type",element:z.jsx(Jb,{})}),z.jsx(Te,{path:"/qpsettings/subject/:qpcode/:type",element:z.jsx(Jb,{})}),z.jsx(Te,{path:"/qpsetting/viewsubject",element:z.jsx(Rk,{})}),z.jsx(Te,{path:"/qpsetting/deggrp/type",element:z.jsx(Zb,{})}),z.jsx(Te,{path:"/qpsetting/deggrp/:deggrp/:type",element:z.jsx(Zb,{})}),z.jsx(Te,{path:"/qpsetting/viewdeggrp",element:z.jsx($k,{})}),z.jsx(Te,{path:"/qpsettings/degree",element:z.jsx(eS,{})}),z.jsx(Te,{path:"/qpsettings/degree/:degcode/:degree/:examcode/:examno/:deggrp",element:z.jsx(eS,{})}),z.jsx(Te,{path:"/qpsettings/viewdegree",element:z.jsx(Ok,{})}),z.jsx(Te,{path:"/generatedBill",element:z.jsx(Pk,{})})]})]})}),Ik=e=>({loader:e.loader.appLoading}),Tk=ng(Ik)(_k),bl={borderRadius:6,colorPrimary:"#8231d3",Button:{colorPrimary:"#8231d3"},borderColor:"#d9d9d9"},Mk=e=>{var c,d;const[t,n]=u.useState(["demo","acu","dypatil","reva","jssu","epcet","jssun"]),r=localStorage.getItem("uniclare-token"),o=$s(),a=Va();localStorage.getItem("dbname"),document.getElementById("univlogo").href=localStorage.getItem("univlogo");let i=a.pathname.split("/"),l=t.filter(f=>f===i[1]);i[1]==l[0]&&l.length!==0&&(localStorage.setItem("dbname",i[1]),localStorage.setItem("type",i[1]),localStorage.setItem("uniclare-rootpath",a.pathname)),u.useEffect(()=>{r!==null&&s()},[]);const s=async()=>{e.isUserLoggedIn(o)};return z.jsx(ro,{theme:{token:{colorPrimary:bl.colorPrimary,borderRadius:bl.borderRadius,colorBorder:bl.borderColor},components:{Button:{colorPrimary:(c=bl.Button)==null?void 0:c.colorPrimary,algorithm:(d=bl.Button)==null?void 0:d.algorithm},Table:{borderColor:"#cedce5"}}},componentSize:"large",children:z.jsx("div",{children:r===null?z.jsx(V8,{}):z.jsx(Tk,{})})})},Nk=e=>({token:e.loginfo.userData}),Lk=ng(Nk,{isUserLoggedIn:x8})(Mk);Qf.createRoot(document.getElementById("root")).render(z.jsx(H2,{children:z.jsx(GP,{store:xI,children:z.jsx(Lk,{})})}));export{Gk as $,qk as A,Mn as B,Eo as C,Gi as D,Nt as E,pn as F,qa as G,QP as H,dn as I,vz as J,re as K,hc as L,gn as M,_s as N,C8 as O,Rg as P,jk as Q,t6 as R,Ka as S,Zo as T,Ia as U,K as V,Hm as W,L3 as X,no as Y,DD as Z,it as _,be as a,cr as a$,Ua as a0,Bk as a1,ye as a2,zk as a3,_E as a4,LI as a5,Fa as a6,xo as a7,EM as a8,Vj as a9,Lj as aA,Bj as aB,kx as aC,h6 as aD,ep as aE,Ak as aF,Fn as aG,je as aH,Fk as aI,yt as aJ,En as aK,la as aL,sa as aM,yn as aN,lt as aO,bn as aP,Ga as aQ,zn as aR,Ji as aS,Vi as aT,wD as aU,mv as aV,lr as aW,kk as aX,rA as aY,Nb as aZ,Kk as a_,Rw as aa,ki as ab,Uk as ac,Vk as ad,Ns as ae,ea as af,So as ag,Rt as ah,Gr as ai,Lw as aj,md as ak,Da as al,mL as am,SL as an,Sg as ao,Zw as ap,Cg as aq,mr as ar,Wk as as,Ui as at,Oc as au,Hi as av,OE as aw,ia as ax,gs as ay,wM as az,W as b,vx as b0,Ox as b1,xd as b2,Dk as b3,gN as b4,Pc as b5,qD as b6,hg as b7,js as b8,zg as b9,sx as bA,hz as bB,ha as bC,GF as bD,Yx as bE,iE as bF,ZL as bG,Pg as bH,_L as bI,pE as bJ,uE as bK,nn as ba,Ds as bb,g3 as bc,Px as bd,NE as be,AE as bf,LE as bg,jE as bh,By as bi,Mz as bj,d4 as bk,hd as bl,Ix as bm,_x as bn,Lx as bo,Ax as bp,Tx as bq,Bg as br,xM as bs,ds as bt,Ps as bu,Jr as bv,kr as bw,ag as bx,Hk as by,DA as bz,q as c,B as d,F as e,zt as f,ft as g,Uj as h,Ny as i,Ir as j,Z as k,vd as l,Gt as m,hD as n,rE as o,ta as p,Lv as q,u as r,Wi as s,z as t,Wa as u,Rr as v,Nn as w,ng as x,$s as y,eE as z};