From 21fce2015724a426dca1aaca45355882c1fc489f Mon Sep 17 00:00:00 2001 From: "PC-202306242200\\Administrator" <1648263436@qq.com> Date: Tue, 10 Sep 2024 17:21:43 +0800 Subject: [PATCH] 1 --- config/config.ts | 11 +++-------- config/proxy.ts | 4 ++-- ...{2901.b1b16834.async.js => 2901.e8cca09c.async.js} | 4 ++-- ...{4587.70b182d8.async.js => 4587.ddfce86d.async.js} | 4 ++-- dist/index.html | 2 +- dist/{umi.d85c33d7.js => umi.e3e7a662.js} | 4 ++-- 6 files changed, 12 insertions(+), 17 deletions(-) rename dist/{2901.b1b16834.async.js => 2901.e8cca09c.async.js} (98%) rename dist/{4587.70b182d8.async.js => 4587.ddfce86d.async.js} (78%) rename dist/{umi.d85c33d7.js => umi.e3e7a662.js} (98%) diff --git a/config/config.ts b/config/config.ts index 04179da..12862ad 100644 --- a/config/config.ts +++ b/config/config.ts @@ -6,7 +6,7 @@ import proxy from './proxy'; import routes from './routes'; -const { REACT_APP_ENV = 'dev' } = process.env; +const { REACT_APP_ENV = 'prod' } = process.env; export default defineConfig({ /** @@ -47,7 +47,7 @@ export default defineConfig({ * @description 如果对国际化没有要求,打开之后能减少js的包大小 * @doc https://umijs.org/docs/api/config#ignoremomentlocale */ - ignoreMomentLocale: true, + ignoreMomentLocale: false, /** * @name 代理配置 * @description 可以让你的本地服务器代理到你的服务器上,这样你就可以访问服务器的数据了 @@ -55,12 +55,7 @@ export default defineConfig({ * @doc 代理介绍 https://umijs.org/docs/guides/proxy * @doc 代理配置 https://umijs.org/docs/api/config#proxy */ - proxy: proxy[REACT_APP_ENV as keyof typeof proxy], - define: { - "process.env": { - API_URL: "https://iadminapi.zhongshuai2023.com", - }, - }, + proxy: proxy['prod'], /** * @name 快速热更新配置 * @description 一个不错的热更新组件,更新时可以保留 state diff --git a/config/proxy.ts b/config/proxy.ts index 8218abd..6424e6e 100644 --- a/config/proxy.ts +++ b/config/proxy.ts @@ -51,10 +51,10 @@ export default { }, }, prod: { - '/admin/': { + '/api/': { target: 'https://iadminapi.zhongshuai2023.com', changeOrigin: true, - pathRewrite: { '^/admin': '/api' }, + pathRewrite: { '^/api': '/api' }, }, }, pro: { diff --git a/dist/2901.b1b16834.async.js b/dist/2901.e8cca09c.async.js similarity index 98% rename from dist/2901.b1b16834.async.js rename to dist/2901.e8cca09c.async.js index 119fbd3..bb6f805 100644 --- a/dist/2901.b1b16834.async.js +++ b/dist/2901.e8cca09c.async.js @@ -2,7 +2,7 @@ `)!==-1&&(Se=h.spacingOuter+ue+Se+h.spacingOuter+U),Se="{"+Se+"}"),h.spacingInner+U+pe.prop.open+ve+pe.prop.close+"="+pe.value.open+Se+pe.value.close}).join("")},Te=3,Ee=(u,s,h,U,z,ee)=>u.map(Q=>{const ue=typeof Q=="string"?Ot(Q,s):ee(Q,s,h,U,z);return ue===""&&typeof Q=="object"&&Q!==null&&Q.nodeType!==Te?"":s.spacingOuter+h+ue}).join(""),Ot=(u,s)=>{const h=s.colors.content;return h.open+we(u)+h.close},_t=(u,s)=>{const h=s.colors.comment;return h.open+""+h.close},Rt=(u,s,h,U,z)=>{const ee=U.colors.tag;return ee.open+"<"+u+(s&&ee.close+s+U.spacingOuter+z+ee.open)+(h?">"+ee.close+h+U.spacingOuter+z+ee.open+""+ee.close},tr=(u,s)=>{const h=s.colors.tag;return h.open+"<"+u+h.close+" \u2026"+h.open+" />"+h.close},zr=1,fr=3,kt=8,me=11,cn=/^((HTML|SVG)\w*)?Element$/,fn=u=>{const s=u.constructor.name,{nodeType:h,tagName:U}=u,z=typeof U=="string"&&U.includes("-")||typeof u.hasAttribute=="function"&&u.hasAttribute("is");return h===zr&&(cn.test(s)||z)||h===fr&&s==="Text"||h===kt&&s==="Comment"||h===me&&s==="DocumentFragment"};function rr(u){return u.nodeType===fr}function Gr(u){return u.nodeType===kt}function Tr(u){return u.nodeType===me}function Vr(u){return{test:s=>{var h;return(s==null||(h=s.constructor)==null?void 0:h.name)&&fn(s)},serialize:(s,h,U,z,ee,Q)=>{if(rr(s))return Ot(s.data,h);if(Gr(s))return _t(s.data,h);const ue=Tr(s)?"DocumentFragment":s.tagName.toLowerCase();return++z>h.maxDepth?tr(ue,h):Rt(ue,Oe(Tr(s)?[]:Array.from(s.attributes).map(pe=>pe.name).sort(),Tr(s)?{}:Array.from(s.attributes).reduce((pe,ve)=>(pe[ve.name]=ve.value,pe),{}),h,U+h.indent,z,ee,Q),Ee(Array.prototype.slice.call(s.childNodes||s.children).filter(u),h,U+h.indent,z,ee,Q),h,U)}}}let dn=null,pn=null,mn=null;try{const u=p&&p.require;pn=u.call(p,"fs").readFileSync,mn=u.call(p,"@babel/code-frame").codeFrameColumns,dn=u.call(p,"chalk")}catch(u){}function On(u){const s=u.indexOf("(")+1,h=u.indexOf(")"),U=u.slice(s,h),z=U.split(":"),[ee,Q,ue]=[z[0],parseInt(z[1],10),parseInt(z[2],10)];let pe="";try{pe=pn(ee,"utf-8")}catch(Pe){return""}const ve=mn(pe,{start:{line:Q,column:ue}},{highlightCode:!0,linesBelow:0});return dn.dim(U)+` `+ve+` `}function Vn(){if(!pn||!mn)return"";const s=new Error().stack.split(` -`).slice(1).find(h=>!h.includes("node_modules/"));return On(s)}const vn=3;function yn(){return typeof jest!="undefined"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Tn(){if(typeof window=="undefined")throw new Error("Could not find default container");return window.document}function Kr(u){if(u.defaultView)return u.defaultView;if(u.ownerDocument&&u.ownerDocument.defaultView)return u.ownerDocument.defaultView;if(u.window)return u.window;throw u.ownerDocument&&u.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):u.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(u)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof u.debug=="function"&&typeof u.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof u+".")}function Wt(u){if(!u||typeof u.querySelector!="function"||typeof u.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+s(u)+".");function s(h){return typeof h=="object"?h===null?"null":h.constructor.name:typeof h}}const hn=()=>{let u;try{var s,h;u=JSON.parse((s=F)==null||(h={API_URL:"https://iadminapi.zhongshuai2023.com"})==null?void 0:h.COLORS)}catch(U){}return typeof u=="boolean"?u:typeof F!="undefined"&&F.versions!==void 0&&F.versions.node!==void 0},{DOMCollection:va}=o.plugins,Kn=1,si=8;function ci(u){return u.nodeType!==si&&(u.nodeType!==Kn||!u.matches(pt().defaultIgnore))}function Mr(u,s,h){if(h===void 0&&(h={}),u||(u=Tn().body),typeof s!="number"&&(s=typeof F!="undefined"&&{API_URL:"https://iadminapi.zhongshuai2023.com"}.DEBUG_PRINT_LIMIT||7e3),s===0)return"";u.documentElement&&(u=u.documentElement);let U=typeof u;if(U==="object"?U=u.constructor.name:u={},!("outerHTML"in u))throw new TypeError("Expected an element or document but got "+U);const ue=h,{filterNode:z=ci}=ue,ee=to(ue,["filterNode"]),Q=o.WU(u,hr({plugins:[Vr(z),va],printFunctionName:!1,highlight:hn()},ee));return s!==void 0&&u.outerHTML.length>s?Q.slice(0,s)+"...":Q}const no=function(){const u=Vn();console.log(u?Mr(...arguments)+` +`).slice(1).find(h=>!h.includes("node_modules/"));return On(s)}const vn=3;function yn(){return typeof jest!="undefined"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Tn(){if(typeof window=="undefined")throw new Error("Could not find default container");return window.document}function Kr(u){if(u.defaultView)return u.defaultView;if(u.ownerDocument&&u.ownerDocument.defaultView)return u.ownerDocument.defaultView;if(u.window)return u.window;throw u.ownerDocument&&u.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):u.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(u)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof u.debug=="function"&&typeof u.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof u+".")}function Wt(u){if(!u||typeof u.querySelector!="function"||typeof u.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+s(u)+".");function s(h){return typeof h=="object"?h===null?"null":h.constructor.name:typeof h}}const hn=()=>{let u;try{var s,h;u=JSON.parse((s=F)==null||(h={NODE_ENV:"production",PUBLIC_PATH:"/"})==null?void 0:h.COLORS)}catch(U){}return typeof u=="boolean"?u:typeof F!="undefined"&&F.versions!==void 0&&F.versions.node!==void 0},{DOMCollection:va}=o.plugins,Kn=1,si=8;function ci(u){return u.nodeType!==si&&(u.nodeType!==Kn||!u.matches(pt().defaultIgnore))}function Mr(u,s,h){if(h===void 0&&(h={}),u||(u=Tn().body),typeof s!="number"&&(s=typeof F!="undefined"&&{NODE_ENV:"production",PUBLIC_PATH:"/"}.DEBUG_PRINT_LIMIT||7e3),s===0)return"";u.documentElement&&(u=u.documentElement);let U=typeof u;if(U==="object"?U=u.constructor.name:u={},!("outerHTML"in u))throw new TypeError("Expected an element or document but got "+U);const ue=h,{filterNode:z=ci}=ue,ee=to(ue,["filterNode"]),Q=o.WU(u,hr({plugins:[Vr(z),va],printFunctionName:!1,highlight:hn()},ee));return s!==void 0&&u.outerHTML.length>s?Q.slice(0,s)+"...":Q}const no=function(){const u=Vn();console.log(u?Mr(...arguments)+` `+u:Mr(...arguments))};let gr={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:u=>u(),unstable_advanceTimersWrapper:u=>u(),eventWrapper:u=>u(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(u,s){const h=Mr(s),U=new Error([u,"Ignored nodes: comments, "+gr.defaultIgnore+` `+h].filter(Boolean).join(` @@ -41,7 +41,7 @@ Unable to find an `+(U===!1?"accessible ":"")+'element with the role "'+s+'"'+pe `+ue).trim()},qi=Ve(Da,Da.name,"queryAll"),[Bi,Li,_n,dr,qo]=Lr(Da,Dr,na),Wa=()=>pt().testIdAttribute,ja=function(){for(var u=arguments.length,s=new Array(u),h=0;h"Found multiple elements by: ["+Wa()+'="'+s+'"]',Fi=(u,s)=>"Unable to find an element by: ["+Wa()+'="'+s+'"]',Di=Ve(ja,ja.name,"queryAll"),[aa,j,Z,K,Ce]=Lr(ja,Ni,Fi);var je=Object.freeze({__proto__:null,queryAllByLabelText:wo,queryByLabelText:Ft,getAllByLabelText:Ta,getByLabelText:nr,findAllByLabelText:Nn,findByLabelText:_o,queryByPlaceholderText:So,queryAllByPlaceholderText:Po,getByPlaceholderText:bi,getAllByPlaceholderText:Gt,findAllByPlaceholderText:ar,findByPlaceholderText:Ei,queryByText:ht,queryAllByText:Ma,getByText:xa,getAllByText:Fr,findAllByText:_i,findByText:Ia,queryByDisplayValue:ta,queryAllByDisplayValue:Ao,getByDisplayValue:Ri,getAllByDisplayValue:bn,findAllByDisplayValue:Oo,findByDisplayValue:To,queryByAltText:Na,queryAllByAltText:La,getByAltText:xo,getAllByAltText:Si,findAllByAltText:Vt,findByAltText:Fa,queryByTitle:Ti,queryAllByTitle:Oi,getByTitle:xi,getAllByTitle:Mi,findAllByTitle:En,findByTitle:Ii,queryByRole:Bi,queryAllByRole:qi,getAllByRole:Li,getByRole:_n,findAllByRole:dr,findByRole:qo,queryByTestId:aa,queryAllByTestId:Di,getByTestId:Z,getAllByTestId:j,findAllByTestId:K,findByTestId:Ce});function ot(u,s,h){return s===void 0&&(s=je),h===void 0&&(h={}),Object.keys(s).reduce((U,z)=>{const ee=s[z];return U[z]=ee.bind(null,u),U},h)}const Pt=u=>!u||Array.isArray(u)&&!u.length;function ft(u){if(Pt(u))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}function Bo(u,s){return ro(this,null,function*(){const h=new Error("Timed out in waitForElementToBeRemoved.");if(typeof u!="function"){ft(u);const z=(Array.isArray(u)?u:[u]).map(ee=>{let Q=ee.parentElement;if(Q===null)return()=>null;for(;Q.parentElement;)Q=Q.parentElement;return()=>Q.contains(ee)?ee:null});u=()=>z.map(ee=>ee()).filter(Boolean)}return ft(u()),yo(()=>{let U;try{U=u()}catch(z){if(z.name==="TestingLibraryElementError")return;throw z}if(!Pt(U))throw h},s)})}const Lo={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},Kt={doubleClick:"dblClick"};function Ur(u,s){return pt().eventWrapper(()=>{if(!s)throw new Error("Unable to fire an event - please provide an event object.");if(!u)throw new Error('Unable to fire a "'+s.type+'" event - please provide a DOM element.');return u.dispatchEvent(s)})}function Ha(u,s,h,U){let{EventType:z="Event",defaultInit:ee={}}=U===void 0?{}:U;if(!s)throw new Error('Unable to fire a "'+u+'" event - please provide a DOM element.');const Q=hr(hr({},ee),h),{target:qt={}}=Q,yt=qt,{value:ue,files:pe}=yt,ve=to(yt,["value","files"]);ue!==void 0&&wn(s,ue),pe!==void 0&&Object.defineProperty(s,"files",{configurable:!0,enumerable:!0,writable:!0,value:pe}),Object.assign(s,ve);const Pe=Kr(s),Se=Pe[z]||Pe.Event;let Ue;if(typeof Se=="function")Ue=new Se(u,Q);else{Ue=Pe.document.createEvent(z);const Bt=Q,{bubbles:oe,cancelable:Ke,detail:nt}=Bt,wt=to(Bt,["bubbles","cancelable","detail"]);Ue.initEvent(u,oe,Ke,nt),Object.keys(wt).forEach(jt=>{Ue[jt]=wt[jt]})}return["dataTransfer","clipboardData"].forEach(oe=>{const Ke=Q[oe];typeof Ke=="object"&&(typeof Pe.DataTransfer=="function"?Object.defineProperty(Ue,oe,{value:Object.getOwnPropertyNames(Ke).reduce((nt,wt)=>(Object.defineProperty(nt,wt,{value:Ke[wt]}),nt),new Pe.DataTransfer)}):Object.defineProperty(Ue,oe,{value:Ke}))}),Ue}Object.keys(Lo).forEach(u=>{const{EventType:s,defaultInit:h}=Lo[u],U=u.toLowerCase();Ha[u]=(z,ee)=>Ha(U,z,ee,{EventType:s,defaultInit:h}),Ur[u]=(z,ee)=>Ur(z,Ha[u](z,ee))});function wn(u,s){const{set:h}=Object.getOwnPropertyDescriptor(u,"value")||{},U=Object.getPrototypeOf(u),{set:z}=Object.getOwnPropertyDescriptor(U,"value")||{};if(z&&h!==z)z.call(u,s);else if(h)h.call(u,s);else throw new Error("The given element does not have a value setter")}Object.keys(Kt).forEach(u=>{const s=Kt[u];Ur[u]=function(){return Ur[s](...arguments)}});function oa(u){return u.replace(/[ \t]*[\n][ \t]*/g,` `)}function ia(u){return C().compressToEncodedURIComponent(oa(u))}function st(u){return"https://testing-playground.com/#markup="+ia(u)}const Un={debug:(u,s,h)=>Array.isArray(u)?u.forEach(U=>no(U,s,h)):no(u,s,h),logTestingPlaygroundURL:function(u){if(u===void 0&&(u=Tn().body),!u||!("innerHTML"in u)){console.log("The element you're providing isn't a valid DOM element.");return}if(!u.innerHTML){console.log("The provided element doesn't have any children.");return}const s=st(u.innerHTML);return console.log(`Open this URL in your browser -`+s),s}},Iu=typeof document!="undefined"&&document.body?ot(document.body,je,Un):Object.keys(je).reduce((u,s)=>(u[s]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},u),Un)},66303:function(p,n,a){"use strict";a.d(n,{BX:function(){return f},TK:function(){return E},sY:function(){return V}});var o=a(66104),l=a(50959),O=a(10422),x=a(44478),_=a(64853),d=a(14224);const b=o.act;function R(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof a.g!="undefined")return a.g;throw new Error("unable to locate global object")}function v(te){R().IS_REACT_ACT_ENVIRONMENT=te}function w(){return R().IS_REACT_ACT_ENVIRONMENT}function y(te){return fe=>{const se=w();v(!0);try{let Re=!1;const Fe=te(()=>{const xe=fe();return xe!==null&&typeof xe=="object"&&typeof xe.then=="function"&&(Re=!0),xe});if(Re){const xe=Fe;return{then:(Ae,$e)=>{xe.then(Ze=>{v(se),Ae(Ze)},Ze=>{v(se),$e(Ze)})}}}else return v(se),Fe}catch(Re){throw v(se),Re}}}const E=y(b),f=function(){return(0,_.BX)(...arguments)};Object.keys(_.BX).forEach(te=>{f[te]=function(){return _.BX[te](...arguments)}});const M=f.mouseEnter,q=f.mouseLeave;f.mouseEnter=function(){return M(...arguments),f.mouseOver(...arguments)},f.mouseLeave=function(){return q(...arguments),f.mouseOut(...arguments)};const L=f.pointerEnter,A=f.pointerLeave;f.pointerEnter=function(){return L(...arguments),f.pointerOver(...arguments)},f.pointerLeave=function(){return A(...arguments),f.pointerOut(...arguments)};const P=f.select;f.select=(te,fe)=>{P(te,fe),te.focus(),f.keyUp(te,fe)};const I=f.blur,k=f.focus;f.blur=function(){return f.focusOut(...arguments),I(...arguments)},f.focus=function(){return f.focusIn(...arguments),k(...arguments)},(0,_.jQ)({unstable_advanceTimersWrapper:te=>E(te),asyncWrapper:te=>ro(this,null,function*(){const fe=w();v(!1);try{return yield te()}finally{v(fe)}}),eventWrapper:te=>{let fe;return E(()=>{fe=te()}),fe}});const G=new Set,X=[];function W(te,fe){let{hydrate:se,ui:Re,wrapper:Fe}=fe,xe;return se?E(()=>{xe=x.hydrateRoot(te,Fe?l.createElement(Fe,null,Re):Re)}):xe=x.createRoot(te),{hydrate(){if(!se)throw new Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(Ae){xe.render(Ae)},unmount(){xe.unmount()}}}function D(te){return{hydrate(fe){O.hydrate(fe,te)},render(fe){O.render(fe,te)},unmount(){O.unmountComponentAtNode(te)}}}function H(te,fe){let{baseElement:se,container:Re,hydrate:Fe,queries:xe,root:Ae,wrapper:$e}=fe;const Ze=He=>$e?l.createElement($e,null,He):He;return E(()=>{Fe?Ae.hydrate(Ze(te),Re):Ae.render(Ze(te),Re)}),hr({container:Re,baseElement:se,debug:function(He,he,J){return He===void 0&&(He=se),Array.isArray(He)?He.forEach(ce=>console.log((0,_.vF)(ce,he,J))):console.log((0,_.vF)(He,he,J))},unmount:()=>{E(()=>{Ae.unmount()})},rerender:He=>{H(Ze(He),{container:Re,baseElement:se,root:Ae})},asFragment:()=>{if(typeof document.createRange=="function")return document.createRange().createContextualFragment(Re.innerHTML);{const He=document.createElement("template");return He.innerHTML=Re.innerHTML,He.content}}},(0,_.W2)(se,xe))}function V(te,fe){let{container:se,baseElement:Re=se,legacyRoot:Fe=!1,queries:xe,hydrate:Ae=!1,wrapper:$e}=fe===void 0?{}:fe;Re||(Re=document.body),se||(se=Re.appendChild(document.createElement("div")));let Ze;return G.has(se)?X.forEach(He=>{He.container===se&&(Ze=He.root)}):(Ze=(Fe?D:W)(se,{hydrate:Ae,ui:te,wrapper:$e}),X.push({container:se,root:Ze}),G.add(se)),H(te,{container:se,baseElement:Re,queries:xe,hydrate:Ae,wrapper:$e,root:Ze})}function re(){X.forEach(te=>{let{root:fe,container:se}=te;E(()=>{fe.unmount()}),se.parentNode===document.body&&document.body.removeChild(se)}),X.length=0,G.clear()}function be(te,fe){fe===void 0&&(fe={});const He=fe,{initialProps:se}=He,Re=to(He,["initialProps"]),Fe=React.createRef();function xe(he){let{renderCallbackProps:J}=he;const ce=te(J);return React.useEffect(()=>{Fe.current=ce}),null}const{rerender:Ae,unmount:$e}=V(React.createElement(xe,{renderCallbackProps:se}),Re);function Ze(he){return Ae(React.createElement(xe,{renderCallbackProps:he}))}return{result:Fe,rerender:Ze,unmount:$e}}var Y;if((typeof d=="undefined"||!((Y={API_URL:"https://iadminapi.zhongshuai2023.com"})!=null&&Y.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{re()}):typeof teardown=="function"&&teardown(()=>{re()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let te=w();beforeAll(()=>{te=w(),v(!0)}),afterAll(()=>{v(te)})}},42347:function(p){"use strict";p.exports=({onlyFirst:n=!1}={})=>{const a=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(a,n?void 0:"g")}},57194:function(p,n,a){"use strict";p=a.nmd(p);const o=10,l=(_=0)=>d=>`\x1B[${38+_};5;${d}m`,O=(_=0)=>(d,b,R)=>`\x1B[${38+_};2;${d};${b};${R}m`;function x(){const _=new Map,d={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};d.color.gray=d.color.blackBright,d.bgColor.bgGray=d.bgColor.bgBlackBright,d.color.grey=d.color.blackBright,d.bgColor.bgGrey=d.bgColor.bgBlackBright;for(const[b,R]of Object.entries(d)){for(const[v,w]of Object.entries(R))d[v]={open:`\x1B[${w[0]}m`,close:`\x1B[${w[1]}m`},R[v]=d[v],_.set(w[0],w[1]);Object.defineProperty(d,b,{value:R,enumerable:!1})}return Object.defineProperty(d,"codes",{value:_,enumerable:!1}),d.color.close="\x1B[39m",d.bgColor.close="\x1B[49m",d.color.ansi256=l(),d.color.ansi16m=O(),d.bgColor.ansi256=l(o),d.bgColor.ansi16m=O(o),Object.defineProperties(d,{rgbToAnsi256:{value:(b,R,v)=>b===R&&R===v?b<8?16:b>248?231:Math.round((b-8)/247*24)+232:16+36*Math.round(b/255*5)+6*Math.round(R/255*5)+Math.round(v/255*5),enumerable:!1},hexToRgb:{value:b=>{const R=new RegExp("(?[a-f\\d]{6}|[a-f\\d]{3})","i").exec(b.toString(16));if(!R)return[0,0,0];let{colorString:v}=R.groups;v.length===3&&(v=v.split("").map(y=>y+y).join(""));const w=Number.parseInt(v,16);return[w>>16&255,w>>8&255,w&255]},enumerable:!1},hexToAnsi256:{value:b=>d.rgbToAnsi256(...d.hexToRgb(b)),enumerable:!1}}),d}Object.defineProperty(p,"exports",{enumerable:!0,get:x})},70053:function(p,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=l(a(76303));function l(f){return f&&f.__esModule?f:{default:f}}function O(f,M){return d(f)||_(f,M)||R(f,M)||x()}function x(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +`+s),s}},Iu=typeof document!="undefined"&&document.body?ot(document.body,je,Un):Object.keys(je).reduce((u,s)=>(u[s]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},u),Un)},66303:function(p,n,a){"use strict";a.d(n,{BX:function(){return f},TK:function(){return E},sY:function(){return V}});var o=a(66104),l=a(50959),O=a(10422),x=a(44478),_=a(64853),d=a(14224);const b=o.act;function R(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof a.g!="undefined")return a.g;throw new Error("unable to locate global object")}function v(te){R().IS_REACT_ACT_ENVIRONMENT=te}function w(){return R().IS_REACT_ACT_ENVIRONMENT}function y(te){return fe=>{const se=w();v(!0);try{let Re=!1;const Fe=te(()=>{const xe=fe();return xe!==null&&typeof xe=="object"&&typeof xe.then=="function"&&(Re=!0),xe});if(Re){const xe=Fe;return{then:(Ae,$e)=>{xe.then(Ze=>{v(se),Ae(Ze)},Ze=>{v(se),$e(Ze)})}}}else return v(se),Fe}catch(Re){throw v(se),Re}}}const E=y(b),f=function(){return(0,_.BX)(...arguments)};Object.keys(_.BX).forEach(te=>{f[te]=function(){return _.BX[te](...arguments)}});const M=f.mouseEnter,q=f.mouseLeave;f.mouseEnter=function(){return M(...arguments),f.mouseOver(...arguments)},f.mouseLeave=function(){return q(...arguments),f.mouseOut(...arguments)};const L=f.pointerEnter,A=f.pointerLeave;f.pointerEnter=function(){return L(...arguments),f.pointerOver(...arguments)},f.pointerLeave=function(){return A(...arguments),f.pointerOut(...arguments)};const P=f.select;f.select=(te,fe)=>{P(te,fe),te.focus(),f.keyUp(te,fe)};const I=f.blur,k=f.focus;f.blur=function(){return f.focusOut(...arguments),I(...arguments)},f.focus=function(){return f.focusIn(...arguments),k(...arguments)},(0,_.jQ)({unstable_advanceTimersWrapper:te=>E(te),asyncWrapper:te=>ro(this,null,function*(){const fe=w();v(!1);try{return yield te()}finally{v(fe)}}),eventWrapper:te=>{let fe;return E(()=>{fe=te()}),fe}});const G=new Set,X=[];function W(te,fe){let{hydrate:se,ui:Re,wrapper:Fe}=fe,xe;return se?E(()=>{xe=x.hydrateRoot(te,Fe?l.createElement(Fe,null,Re):Re)}):xe=x.createRoot(te),{hydrate(){if(!se)throw new Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(Ae){xe.render(Ae)},unmount(){xe.unmount()}}}function D(te){return{hydrate(fe){O.hydrate(fe,te)},render(fe){O.render(fe,te)},unmount(){O.unmountComponentAtNode(te)}}}function H(te,fe){let{baseElement:se,container:Re,hydrate:Fe,queries:xe,root:Ae,wrapper:$e}=fe;const Ze=He=>$e?l.createElement($e,null,He):He;return E(()=>{Fe?Ae.hydrate(Ze(te),Re):Ae.render(Ze(te),Re)}),hr({container:Re,baseElement:se,debug:function(He,he,J){return He===void 0&&(He=se),Array.isArray(He)?He.forEach(ce=>console.log((0,_.vF)(ce,he,J))):console.log((0,_.vF)(He,he,J))},unmount:()=>{E(()=>{Ae.unmount()})},rerender:He=>{H(Ze(He),{container:Re,baseElement:se,root:Ae})},asFragment:()=>{if(typeof document.createRange=="function")return document.createRange().createContextualFragment(Re.innerHTML);{const He=document.createElement("template");return He.innerHTML=Re.innerHTML,He.content}}},(0,_.W2)(se,xe))}function V(te,fe){let{container:se,baseElement:Re=se,legacyRoot:Fe=!1,queries:xe,hydrate:Ae=!1,wrapper:$e}=fe===void 0?{}:fe;Re||(Re=document.body),se||(se=Re.appendChild(document.createElement("div")));let Ze;return G.has(se)?X.forEach(He=>{He.container===se&&(Ze=He.root)}):(Ze=(Fe?D:W)(se,{hydrate:Ae,ui:te,wrapper:$e}),X.push({container:se,root:Ze}),G.add(se)),H(te,{container:se,baseElement:Re,queries:xe,hydrate:Ae,wrapper:$e,root:Ze})}function re(){X.forEach(te=>{let{root:fe,container:se}=te;E(()=>{fe.unmount()}),se.parentNode===document.body&&document.body.removeChild(se)}),X.length=0,G.clear()}function be(te,fe){fe===void 0&&(fe={});const He=fe,{initialProps:se}=He,Re=to(He,["initialProps"]),Fe=React.createRef();function xe(he){let{renderCallbackProps:J}=he;const ce=te(J);return React.useEffect(()=>{Fe.current=ce}),null}const{rerender:Ae,unmount:$e}=V(React.createElement(xe,{renderCallbackProps:se}),Re);function Ze(he){return Ae(React.createElement(xe,{renderCallbackProps:he}))}return{result:Fe,rerender:Ze,unmount:$e}}var Y;if((typeof d=="undefined"||!((Y={NODE_ENV:"production",PUBLIC_PATH:"/"})!=null&&Y.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{re()}):typeof teardown=="function"&&teardown(()=>{re()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let te=w();beforeAll(()=>{te=w(),v(!0)}),afterAll(()=>{v(te)})}},42347:function(p){"use strict";p.exports=({onlyFirst:n=!1}={})=>{const a=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(a,n?void 0:"g")}},57194:function(p,n,a){"use strict";p=a.nmd(p);const o=10,l=(_=0)=>d=>`\x1B[${38+_};5;${d}m`,O=(_=0)=>(d,b,R)=>`\x1B[${38+_};2;${d};${b};${R}m`;function x(){const _=new Map,d={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};d.color.gray=d.color.blackBright,d.bgColor.bgGray=d.bgColor.bgBlackBright,d.color.grey=d.color.blackBright,d.bgColor.bgGrey=d.bgColor.bgBlackBright;for(const[b,R]of Object.entries(d)){for(const[v,w]of Object.entries(R))d[v]={open:`\x1B[${w[0]}m`,close:`\x1B[${w[1]}m`},R[v]=d[v],_.set(w[0],w[1]);Object.defineProperty(d,b,{value:R,enumerable:!1})}return Object.defineProperty(d,"codes",{value:_,enumerable:!1}),d.color.close="\x1B[39m",d.bgColor.close="\x1B[49m",d.color.ansi256=l(),d.color.ansi16m=O(),d.bgColor.ansi256=l(o),d.bgColor.ansi16m=O(o),Object.defineProperties(d,{rgbToAnsi256:{value:(b,R,v)=>b===R&&R===v?b<8?16:b>248?231:Math.round((b-8)/247*24)+232:16+36*Math.round(b/255*5)+6*Math.round(R/255*5)+Math.round(v/255*5),enumerable:!1},hexToRgb:{value:b=>{const R=new RegExp("(?[a-f\\d]{6}|[a-f\\d]{3})","i").exec(b.toString(16));if(!R)return[0,0,0];let{colorString:v}=R.groups;v.length===3&&(v=v.split("").map(y=>y+y).join(""));const w=Number.parseInt(v,16);return[w>>16&255,w>>8&255,w&255]},enumerable:!1},hexToAnsi256:{value:b=>d.rgbToAnsi256(...d.hexToRgb(b)),enumerable:!1}}),d}Object.defineProperty(p,"exports",{enumerable:!0,get:x})},70053:function(p,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=l(a(76303));function l(f){return f&&f.__esModule?f:{default:f}}function O(f,M){return d(f)||_(f,M)||R(f,M)||x()}function x(){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 _(f,M){var q=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(q!=null){var L=[],A=!0,P=!1,I,k;try{for(q=q.call(f);!(A=(I=q.next()).done)&&(L.push(I.value),!(M&&L.length===M));A=!0);}catch(G){P=!0,k=G}finally{try{!A&&q.return!=null&&q.return()}finally{if(P)throw k}}return L}}function d(f){if(Array.isArray(f))return f}function b(f,M){var q=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(!q){if(Array.isArray(f)||(q=R(f))||M&&f&&typeof f.length=="number"){q&&(f=q);var L=0,A=function(){};return{s:A,n:function(){return L>=f.length?{done:!0}:{done:!1,value:f[L++]}},e:function(X){throw X},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P=!0,I=!1,k;return{s:function(){q=q.call(f)},n:function(){var X=q.next();return P=X.done,X},e:function(X){I=!0,k=X},f:function(){try{!P&&q.return!=null&&q.return()}finally{if(I)throw k}}}}function R(f,M){if(f){if(typeof f=="string")return v(f,M);var q=Object.prototype.toString.call(f).slice(8,-1);if(q==="Object"&&f.constructor&&(q=f.constructor.name),q==="Map"||q==="Set")return Array.from(f);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return v(f,M)}}function v(f,M){(M==null||M>f.length)&&(M=f.length);for(var q=0,L=new Array(M);q1&&arguments[1]!==void 0?arguments[1]:null,L=b(w),A;try{for(L.s();!(A=L.n()).done;){var P=O(A.value,2),I=P[0],k=P[1];M.call(q,k,I,w)}}catch(G){L.e(G)}finally{L.f()}},get:function(M){var q=w.find(function(L){return L[0]===M});return q&&q[1]},has:function(M){return!!y.get(M)},keys:function(){return w.map(function(M){var q=O(M,1),L=q[0];return L})},values:function(){return w.map(function(M){var q=O(M,2),L=q[1];return L})}},E=(0,o.default)(y,y.entries());n.default=E},17124:function(p,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=l(a(76303));function l(f){return f&&f.__esModule?f:{default:f}}function O(f,M){return d(f)||_(f,M)||R(f,M)||x()}function x(){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 _(f,M){var q=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(q!=null){var L=[],A=!0,P=!1,I,k;try{for(q=q.call(f);!(A=(I=q.next()).done)&&(L.push(I.value),!(M&&L.length===M));A=!0);}catch(G){P=!0,k=G}finally{try{!A&&q.return!=null&&q.return()}finally{if(P)throw k}}return L}}function d(f){if(Array.isArray(f))return f}function b(f,M){var q=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(!q){if(Array.isArray(f)||(q=R(f))||M&&f&&typeof f.length=="number"){q&&(f=q);var L=0,A=function(){};return{s:A,n:function(){return L>=f.length?{done:!0}:{done:!1,value:f[L++]}},e:function(X){throw X},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. diff --git a/dist/4587.70b182d8.async.js b/dist/4587.ddfce86d.async.js similarity index 78% rename from dist/4587.70b182d8.async.js rename to dist/4587.ddfce86d.async.js index 48846c1..8107879 100644 --- a/dist/4587.70b182d8.async.js +++ b/dist/4587.ddfce86d.async.js @@ -5,7 +5,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,l.Z)(i,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, - `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:f==null?void 0:f.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,l.Z)(i,"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,l.Z)(s,"&-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,l.Z)(d,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,l.Z)(d,"&-collapsed",(o={minWidth:40,height:40},(0,l.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)),(0,l.Z)(d,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,l.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,l.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,l.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,l.Z)(u,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),u))),d)),(0,l.Z)(s,"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,l.Z)(s,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),s)),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function Jr(r,e){return(0,we.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r)});return[Yr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,z.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),u=(0,z.Z)(o,2),d=u[0],s=u[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,c.jsx)(Vr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(_n(e)||Xr(e))return(0,c.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,c.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},kr=(0,Or.Z)(function r(e){var n=this;(0,$r.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,u=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,g=o.menu,y=o.iconPrefixes,Z=o.layout,j=(g==null?void 0:g.type)==="group"&&Z!=="top",T=n.props.token,M=n.getIntlName(t),A=(t==null?void 0:t.children)||(t==null?void 0:t.routes),D=j&&a===0?"group":void 0;if(Array.isArray(A)&&A.length>0){var W,_,I,x,S,q,w,B=a===0||j&&a===1,V=lt(t.icon,y,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),re=f&&B?ut(M):null,C=(0,c.jsxs)("div",{className:ne()("".concat(d,"-item-title"),(_=n.props)===null||_===void 0?void 0:_.hashId,(I={},(0,l.Z)(I,"".concat(d,"-item-title-collapsed"),f),(0,l.Z)(I,"".concat(d,"-item-title-collapsed-level-").concat(i),f),(0,l.Z)(I,"".concat(d,"-group-item-title"),D==="group"),(0,l.Z)(I,"".concat(d,"-item-collapsed-show-title"),(g==null?void 0:g.collapsedShowTitle)&&f),I)),children:[D==="group"&&f?null:B&&V?(0,c.jsx)("span",{className:"".concat(d,"-item-icon ").concat((x=n.props)===null||x===void 0?void 0:x.hashId).trim(),children:V}):re,(0,c.jsx)("span",{className:ne()("".concat(d,"-item-text"),(S=n.props)===null||S===void 0?void 0:S.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),D!=="group"&&B&&(V||re))),children:M})]}),Q=u?u((0,v.Z)((0,v.Z)({},t),{},{isUrl:!1}),C,n.props):C;if(j&&a===0&&n.props.collapsed&&!g.collapsedShowGroupTitle)return n.getNavMenuItems(A,a+1,a);var ee=n.getNavMenuItems(A,a+1,j&&a===0&&n.props.collapsed?a:a+1);return[{type:D,key:t.key||t.path,label:Q,onClick:j?void 0:t.onTitleClick,children:ee,className:ne()((q={},(0,l.Z)(q,"".concat(d,"-group"),D==="group"),(0,l.Z)(q,"".concat(d,"-submenu"),D!=="group"),(0,l.Z)(q,"".concat(d,"-submenu-has-icon"),D!=="group"&&B&&V),q))},j&&a===0?{type:"divider",prefixCls:s,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:T==null||(w=T.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,u=o.menu,d=o.formatMessage;return i&&(u==null?void 0:u.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,u,d,s,f,g=n.conversionPath(t.path||"/"),y=n.props,Z=y.location,j=Z===void 0?{pathname:"/"}:Z,T=y.isMobile,M=y.onCollapse,A=y.menuItemRender,D=y.iconPrefixes,W=n.getIntlName(t),_=n.props,I=_.baseClassName,x=_.menu,S=_.collapsed,q=(x==null?void 0:x.type)==="group",w=a===0||q&&a===1,B=w?lt(t.icon,D,"".concat(I,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,V=S&&w?ut(W):null,re=(0,c.jsxs)("div",{className:ne()("".concat(I,"-item-title"),(u=n.props)===null||u===void 0?void 0:u.hashId,(d={},(0,l.Z)(d,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(d,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(d,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),d)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(f=n.props)===null||f===void 0?void 0:f.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g),C=_n(g);if(C){var Q,ee,P,te;re=(0,c.jsxs)("span",{onClick:function(){var J,le;(J=window)===null||J===void 0||(le=J.open)===null||le===void 0||le.call(J,g,"_blank")},className:ne()("".concat(I,"-item-title"),(Q=n.props)===null||Q===void 0?void 0:Q.hashId,(ee={},(0,l.Z)(ee,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(ee,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(ee,"".concat(I,"-item-link"),!0),(0,l.Z)(ee,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),ee)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((P=n.props)===null||P===void 0?void 0:P.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(te=n.props)===null||te===void 0?void 0:te.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g)}if(A){var ie=(0,v.Z)((0,v.Z)({},t),{},{isUrl:C,itemPath:g,isMobile:T,replace:g===j.pathname,onClick:function(){return M&&M(!0)},children:void 0});return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:A(ie,re,n.props)}):A(ie,re,n.props)}return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:re}):re}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),qr=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n,t=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,u=e.menuData,d=e.prefixCls,s=e.menu,f=e.matchMenuKeys,g=e.iconfontUrl,y=e.selectedKeys,Z=e.onSelect,j=e.menuRenderType,T=e.openKeys,M=(0,m.useContext)(ce.L_),A=M.dark,D=M.token,W="".concat(d,"-base-menu-").concat(t),_=(0,m.useRef)([]),I=(0,ge.Z)(s==null?void 0:s.defaultOpenAll),x=(0,z.Z)(I,2),S=x[0],q=x[1],w=(0,ge.Z)(function(){return s!=null&&s.defaultOpenAll?(0,un.O7)(u)||[]:T===!1?!1:[]},{value:T===!1?void 0:T,onChange:i}),B=(0,z.Z)(w,2),V=B[0],re=B[1],C=(0,ge.Z)([],{value:y,onChange:Z?function(se){Z&&se&&Z(se)}:void 0}),Q=(0,z.Z)(C,2),ee=Q[0],P=Q[1];(0,m.useEffect)(function(){s!=null&&s.defaultOpenAll||T===!1||f&&(re(f),P(f))},[f.join("-")]),(0,m.useEffect)(function(){g&&(it=rt({scriptUrl:g}))},[g]),(0,m.useEffect)(function(){if(f.join("-")!==(ee||[]).join("-")&&P(f),!S&&T!==!1&&f.join("-")!==(V||[]).join("-")){var se=f;(s==null?void 0:s.autoClose)===!1&&(se=Array.from(new Set([].concat((0,Cn.Z)(f),(0,Cn.Z)(V||[]))))),re(se)}else s!=null&&s.ignoreFlatMenu&&S?re((0,un.O7)(u)):q(!1)},[f.join("-")]);var te=(0,m.useMemo)(function(){return qr(V,e)},[V&&V.join(","),e.layout,e.collapsed]),ie=Jr(W,t),me=ie.wrapSSR,J=ie.hashId,le=(0,m.useMemo)(function(){return new kr((0,v.Z)((0,v.Z)({},e),{},{token:D,menuRenderType:j,baseClassName:W,hashId:J}))},[e,D,j,W,J]);if(s!=null&&s.loading)return(0,c.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,c.jsx)(Qr.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(_.current=f);var ue=e.postMenuData?e.postMenuData(u):u;return ue&&(ue==null?void 0:ue.length)<1?null:me((0,m.createElement)(et.Z,(0,v.Z)((0,v.Z)({},te),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:_.current,theme:A?"dark":"light",selectedKeys:ee,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},o),className:ne()(a,J,W,(n={},(0,l.Z)(n,"".concat(W,"-horizontal"),t==="horizontal"),(0,l.Z)(n,"".concat(W,"-collapsed"),e.collapsed),n)),items:le.getNavMenuItems(ue,0,0),onOpenChange:function(ye){e.collapsed||re(ye)}},e.menuProps)))};function ea(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var na=["title","render"],ta=m.memo(function(r){return(0,c.jsx)(c.Fragment,{children:r.children})}),ra=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,aa=dt===void 0?{Provider:ta}:dt,An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var u=Nn(t),d=(0,c.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(u,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,c.jsx)("a",{children:u},"title"):(0,c.jsxs)("a",{children:[u,d]},"title")},st=function(e){var n,t,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,u=e.menuFooterRender,d=e.onCollapse,s=e.theme,f=e.siderWidth,g=e.isMobile,y=e.onMenuHeaderClick,Z=e.breakpoint,j=Z===void 0?"lg":Z,T=e.style,M=e.layout,A=e.menuExtraRender,D=A===void 0?!1:A,W=e.links,_=e.menuContentRender,I=e.collapsedButtonRender,x=e.prefixCls,S=e.avatarProps,q=e.rightContentRender,w=e.actionsRender,B=e.onOpenChange,V=e.stylish,re=e.logoStyle,C=(0,m.useContext)(ce.L_),Q=C.hashId,ee=(0,m.useMemo)(function(){return!(g||M==="mix")},[g,M]),P="".concat(x,"-sider"),te=64,ie=ea("".concat(P,".").concat(P,"-stylish"),{stylish:V,proLayoutCollapsedWidth:te}),me=ne()("".concat(P),Q,(n={},(0,l.Z)(n,"".concat(P,"-fixed"),o),(0,l.Z)(n,"".concat(P,"-fixed-mix"),M==="mix"&&!g&&o),(0,l.Z)(n,"".concat(P,"-collapsed"),e.collapsed),(0,l.Z)(n,"".concat(P,"-layout-").concat(M),M&&!g),(0,l.Z)(n,"".concat(P,"-light"),s!=="dark"),(0,l.Z)(n,"".concat(P,"-mix"),M==="mix"&&!g),(0,l.Z)(n,"".concat(P,"-stylish"),!!V),n)),J=An(e),le=D&&D(e),ue=(0,m.useMemo)(function(){return _!==!1&&(0,m.createElement)(ct,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:a&&!g?"vertical":"inline",handleOpenChange:B,style:{width:"100%"},className:"".concat(P,"-menu ").concat(Q).trim()}))},[P,Q,_,B,e]),se=(W||[]).map(function(Be,_e){return{className:"".concat(P,"-link"),label:Be,key:_e}}),ye=(0,m.useMemo)(function(){return _?_(e,ue):ue},[_,ue,e]),xe=(0,m.useMemo)(function(){if(!S)return null;var Be=S.title,_e=S.render,Ne=(0,Se.Z)(S,na),Je=(0,c.jsxs)("div",{className:"".concat(P,"-actions-avatar"),children:[Ne!=null&&Ne.src||Ne!=null&&Ne.srcSet||Ne.icon||Ne.children?(0,c.jsx)(qn.C,(0,v.Z)({size:28},Ne)):null,S.title&&!a&&(0,c.jsx)("span",{children:Be})]});return _e?_e(S,Je,e):Je},[S,P,a]),Ce=(0,m.useMemo)(function(){return w?(0,c.jsx)(Lr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:ne()(["".concat(P,"-actions-list"),a&&"".concat(P,"-actions-list-collapsed"),Q]),children:w==null?void 0:w(e).map(function(Be,_e){return(0,c.jsx)("div",{className:"".concat(P,"-actions-list-item ").concat(Q).trim(),children:Be},_e)})}):null},[w,P,a]),ze=(0,m.useMemo)(function(){return(0,c.jsx)(Hn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Fe=(0,m.useMemo)(function(){if(I===!1)return null;var Be=(0,c.jsx)(Dr,{isMobile:g,collapsed:i,className:"".concat(P,"-collapsed-button"),onClick:function(){d==null||d(!i)}});return I?I(a,Be):Be},[I,g,i,P,a,d]),cn=(0,m.useMemo)(function(){return!xe&&!Ce?null:(0,c.jsxs)("div",{className:ne()("".concat(P,"-actions"),Q,a&&"".concat(P,"-actions-collapsed")),children:[xe,Ce]})},[Ce,xe,P,a,Q]),Xe=(0,m.useMemo)(function(){var Be;return e!=null&&(Be=e.menu)!==null&&Be!==void 0&&Be.hideMenuWhenCollapsed&&a?"".concat(P,"-hide-menu-collapsed"):null},[P,a,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),Mn=u&&(u==null?void 0:u(e)),dn=(0,c.jsxs)(c.Fragment,{children:[J&&(0,c.jsxs)("div",{className:ne()([ne()("".concat(P,"-logo"),Q,(0,l.Z)({},"".concat(P,"-logo-collapsed"),a))]),onClick:ee?y:void 0,id:"logo",style:re,children:[J,ze]}),le&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-extra"),!J&&"".concat(P,"-extra-no-logo"),Q]),children:le}),(0,c.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:ye}),(0,c.jsxs)(aa.Provider,{value:{},children:[W?(0,c.jsx)("div",{className:"".concat(P,"-links ").concat(Q).trim(),children:(0,c.jsx)(et.Z,{inlineIndent:16,className:"".concat(P,"-link-menu ").concat(Q).trim(),selectedKeys:[],openKeys:[],theme:s,mode:"inline",items:se})}):null,ee&&(0,c.jsxs)(c.Fragment,{children:[cn,!Ce&&q?(0,c.jsx)("div",{className:ne()("".concat(P,"-actions"),Q,(0,l.Z)({},"".concat(P,"-actions-collapsed"),a)),children:q==null?void 0:q(e)}):null]}),Mn&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-footer"),Q,(0,l.Z)({},"".concat(P,"-footer-collapsed"),a)]),children:Mn})]})]});return ie.wrapSSR((0,c.jsxs)(c.Fragment,{children:[o&&!g&&!Xe&&(0,c.jsx)("div",{style:(0,v.Z)({width:a?te:f,overflow:"hidden",flex:"0 0 ".concat(a?te:f,"px"),maxWidth:a?te:f,minWidth:a?te:f,transition:"all 0.2s ease 0s"},T)}),(0,c.jsxs)(ra,{collapsible:!0,trigger:null,collapsed:a,breakpoint:j===!1?void 0:j,onCollapse:function(_e){g||d==null||d(_e)},collapsedWidth:te,style:T,theme:s,width:f,className:ne()(me,Q,Xe),children:[Xe?(0,c.jsx)("div",{className:"".concat(P,"-hide-when-collapsed ").concat(Q).trim(),style:{height:"100%",width:"100%",opacity:Xe?0:1},children:dn}):dn,Fe]})]}))},oa=p(71739),ia=p(28033),la=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function ua(r){return(0,we.Xj)("ProLayoutRightContent",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[la(n)]})}var ca=["rightContentRender","avatarProps","actionsRender","headerContentRender"],da=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,Se.Z)(e,ca),u=(0,m.useContext)(He.ZP.ConfigContext),d=u.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=ua(s),g=f.wrapSSR,y=f.hashId,Z=(0,m.useState)("auto"),j=(0,z.Z)(Z,2),T=j[0],M=j[1],A=(0,m.useMemo)(function(){if(!t)return null;var I=t.title,x=t.render,S=(0,Se.Z)(t,da),q=[S!=null&&S.src||S!=null&&S.srcSet||S.icon||S.children?(0,m.createElement)(qn.C,(0,v.Z)((0,v.Z)({},S),{},{size:28,key:"avatar"})):null,I?(0,c.jsx)("span",{style:{marginInlineStart:8},children:I},"name"):void 0];return x?x(t,(0,c.jsx)("div",{children:q}),o):(0,c.jsx)("div",{children:q})},[t]),D=a||A?function(I){var x=a&&(a==null?void 0:a(I));return!x&&!A?null:(Array.isArray(x)||(x=[x]),g((0,c.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(y).trim(),children:[x.filter(Boolean).map(function(S,q){var w=!1;if(m.isValidElement(S)){var B;w=!!(S!=null&&(B=S.props)!==null&&B!==void 0&&B["aria-hidden"])}return(0,c.jsx)("div",{className:ne()("".concat(s,"-header-actions-item ").concat(y),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!w)),children:S},q)}),A&&(0,c.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(y).trim(),children:A})]})))}:void 0,W=(0,oa.D)(function(){var I=(0,ve.Z)((0,be.Z)().mark(function x(S){return(0,be.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:M(S);case 1:case"end":return w.stop()}},x)}));return function(x){return I.apply(this,arguments)}}(),160),_=D||n;return(0,c.jsx)("div",{className:"".concat(s,"-right-content ").concat(y).trim(),style:{minWidth:T,height:"100%"},children:(0,c.jsx)("div",{style:{height:"100%"},children:(0,c.jsx)(ia.Z,{onResize:function(x){var S=x.width;W.run(S)},children:_?(0,c.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:_((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:T}))}):null})})})},sa=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function va(r){return(0,we.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[sa(n)]})}var ft=function(e){var n,t,a,i,o,u,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,g=e.contentWidth,y=e.rightContentRender,Z=e.className,j=e.style,T=e.headerContentRender,M=e.layout,A=e.actionsRender,D=(0,m.useContext)(He.ZP.ConfigContext),W=D.getPrefixCls,_=(0,m.useContext)(ce.L_),I=_.dark,x="".concat(e.prefixCls||W("pro"),"-top-nav-header"),S=va(x),q=S.wrapSSR,w=S.hashId,B=void 0;e.menuHeaderRender!==void 0?B="menuHeaderRender":(M==="mix"||M==="top")&&(B="headerTitleRender");var V=An((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),B),re=(0,m.useContext)(ce.L_),C=re.token,Q=(0,m.useMemo)(function(){var ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce,ze,Fe=(0,c.jsx)(He.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},H({colorItemBg:((ee=C.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorBgHeader)||"transparent",colorSubItemBg:((P=C.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgHeader)||"transparent",radiusItem:C.borderRadius,colorItemBgSelected:((te=C.layout)===null||te===void 0||(te=te.header)===null||te===void 0?void 0:te.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),itemHoverBg:((ie=C.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemHover)||(C==null?void 0:C.colorBgTextHover),colorItemBgSelectedHorizontal:((me=C.layout)===null||me===void 0||(me=me.header)===null||me===void 0?void 0:me.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((J=C.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorTextMenu)||(C==null?void 0:C.colorTextSecondary),colorItemTextHoverHorizontal:((le=C.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorTextMenuActive)||(C==null?void 0:C.colorText),colorItemTextSelectedHorizontal:((ue=C.layout)===null||ue===void 0||(ue=ue.header)===null||ue===void 0?void 0:ue.colorTextMenuSelected)||(C==null?void 0:C.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((se=C.layout)===null||se===void 0||(se=se.header)===null||se===void 0?void 0:se.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((ye=C.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((xe=C.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:C==null?void 0:C.colorBgElevated,subMenuItemBg:C==null?void 0:C.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:C==null?void 0:C.colorBgElevated}))},token:{colorBgElevated:((Ce=C.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorBgHeader)||"transparent"}},children:(0,c.jsx)(ct,(0,v.Z)((0,v.Z)((0,v.Z)({theme:I?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(w).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return T?T(e,Fe):Fe},[(n=C.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=C.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=C.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=C.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=C.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(u=C.layout)===null||u===void 0||(u=u.header)===null||u===void 0?void 0:u.colorTextMenuSelected,(d=C.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,C.borderRadius,C==null?void 0:C.colorBgTextHover,C==null?void 0:C.colorTextSecondary,C==null?void 0:C.colorText,C==null?void 0:C.colorTextBase,C.colorBgElevated,I,e,x,w,T]);return q((0,c.jsx)("div",{className:ne()(x,w,Z,(0,l.Z)({},"".concat(x,"-light"),!0)),style:j,children:(0,c.jsxs)("div",{ref:s,className:ne()("".concat(x,"-main"),w,(0,l.Z)({},"".concat(x,"-wide"),g==="Fixed"&&M==="top")),children:[V&&(0,c.jsxs)("div",{className:ne()("".concat(x,"-main-left ").concat(w)),onClick:f,children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:"".concat(x,"-logo ").concat(w).trim(),id:"logo",children:V},"logo")]}),(0,c.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(w).trim(),children:Q}),(y||A||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)((0,v.Z)({rightContentRender:y},e),{},{prefixCls:x}))]})}))},fa=function(e){var n,t,a,i;return(0,l.Z)({},e.componentCls,(i={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,l.Z)(i,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,l.Z)(i,"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,l.Z)(i,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,l.Z)(i,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),i))};function ma(r){return(0,we.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[fa(n)]})}var ha=function(e,n){return e===!1?null:e?e(n,null):n},ga=function(e){var n,t=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,u=e.rightContentRender,d=e.menuHeaderRender,s=e.onMenuHeaderClick,f=e.className,g=e.style,y=e.layout,Z=e.children,j=e.splitMenus,T=e.menuData,M=e.prefixCls,A=(0,m.useContext)(He.ZP.ConfigContext),D=A.getPrefixCls,W=A.direction,_="".concat(M||D("pro"),"-global-header"),I=ma(_),x=I.wrapSSR,S=I.hashId,q=ne()(f,_,S);if(y==="mix"&&!t&&j){var w=(T||[]).map(function(C){return(0,v.Z)((0,v.Z)({},C),{},{children:void 0,routes:void 0})}),B=(0,un.QX)(w);return(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:B}))}var V=ne()("".concat(_,"-logo"),S,(n={},(0,l.Z)(n,"".concat(_,"-logo-rtl"),W==="rtl"),(0,l.Z)(n,"".concat(_,"-logo-mix"),y==="mix"),(0,l.Z)(n,"".concat(_,"-logo-mobile"),t),n)),re=(0,c.jsx)("span",{className:V,children:(0,c.jsx)("a",{children:Nn(a)})},"logo");return x((0,c.jsxs)("div",{className:q,style:(0,v.Z)({},g),children:[t&&(0,c.jsx)("span",{className:"".concat(_,"-collapsed-button ").concat(S).trim(),onClick:function(){o==null||o(!i)},children:(0,c.jsx)(Zr,{})}),t&&ha(d,re),y==="mix"&&!t&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:V,onClick:s,children:An((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,c.jsx)("div",{style:{flex:1},children:Z}),(u||e.actionsRender||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)({rightContentRender:u},e))]}))},pa=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ya(r){return(0,we.Xj)("ProLayoutHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[pa(n)]})}function xa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Ca=function(e){var n,t,a,i,o=e.isMobile,u=e.fixedHeader,d=e.className,s=e.style,f=e.collapsed,g=e.prefixCls,y=e.onCollapse,Z=e.layout,j=e.headerRender,T=e.headerContentRender,M=(0,m.useContext)(ce.L_),A=M.token,D=(0,m.useContext)(He.ZP.ConfigContext),W=(0,m.useState)(!1),_=(0,z.Z)(W,2),I=_[0],x=_[1],S=u||Z==="mix",q=(0,m.useCallback)(function(){var P=Z==="top",te=(0,un.QX)(e.menuData||[]),ie=(0,c.jsx)(ga,(0,v.Z)((0,v.Z)({onCollapse:y},e),{},{menuData:te,children:T&&T(e,null)}));return P&&!o&&(ie=(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:y},e),{},{menuData:te}))),j&&typeof j=="function"?j(e,ie):ie},[T,j,o,Z,y,e]);(0,m.useEffect)(function(){var P,te=(D==null||(P=D.getTargetContainer)===null||P===void 0?void 0:P.call(D))||document.body,ie=function(){var J,le=te.scrollTop;return le>(((J=A.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.heightLayoutHeader)||56)&&!I?(x(!0),!0):(I&&x(!1),!1)};if(S&&typeof window!="undefined")return te.addEventListener("scroll",ie,{passive:!0}),function(){te.removeEventListener("scroll",ie)}},[(n=A.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,S,I]);var w=Z==="top",B="".concat(g,"-layout-header"),V=ya(B),re=V.wrapSSR,C=V.hashId,Q=xa("".concat(B,".").concat(B,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ee=ne()(d,C,B,(t={},(0,l.Z)(t,"".concat(B,"-fixed-header"),S),(0,l.Z)(t,"".concat(B,"-fixed-header-scroll"),I),(0,l.Z)(t,"".concat(B,"-mix"),Z==="mix"),(0,l.Z)(t,"".concat(B,"-fixed-header-action"),!f),(0,l.Z)(t,"".concat(B,"-top-menu"),w),(0,l.Z)(t,"".concat(B,"-header"),!0),(0,l.Z)(t,"".concat(B,"-stylish"),!!e.stylish),t));return Z==="side"&&!o?null:Q.wrapSSR(re((0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(He.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[S&&(0,c.jsx)(mt,{style:(0,v.Z)({height:((a=A.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,lineHeight:"".concat(((i=A.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},s)}),(0,c.jsx)(mt,{className:ee,style:s,children:q()})]})})))},ba=p(9037),Sa=p(83609),Za=p(601),ht=new Za.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ma=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(M={},(0,l.Z)(M,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),(0,l.Z)(M,e.componentCls,(Z={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,l.Z)(Z,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,l.Z)(Z,"".concat(e.antCls,"-menu"),(o={},(0,l.Z)(o,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover}),o)),(0,l.Z)(Z,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,l.Z)(Z,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,l.Z)(Z,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,l.Z)(Z,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,l.Z)(Z,"&-links",{width:"100%",ul:{height:"auto"}}),(0,l.Z)(Z,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,l.Z)(Z,"&-footer",{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"}),Z)),(0,l.Z)(M,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((j=e.layout)===null||j===void 0||(j=j.header)===null||j===void 0?void 0:j.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.heightLayoutHeader)||56,"px")}}),M))};function Ia(r,e){var n=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenu",function(t){var a=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ma(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,u=e.style,d=e.className,s=e.hide,f=e.prefixCls,g=(0,m.useContext)(ce.L_),y=g.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var Z=(0,Jn.Z)(e,["className","style"]),j=m.useContext(He.ZP.ConfigContext),T=j.direction,M=Ia("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),A=M.wrapSSR,D=M.hashId,W=ne()("".concat(f,"-sider"),d,D);if(s)return null;var _=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return A(t?(0,c.jsx)(Sa.Z,(0,v.Z)((0,v.Z)({placement:T==="rtl"?"right":"left",className:ne()("".concat(f,"-drawer-sider"),d)},_),{},{style:(0,v.Z)({padding:0,height:"100vh"},u),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=y.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,c.jsx)(st,(0,v.Z)((0,v.Z)({},Z),{},{isMobile:!0,className:W,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,c.jsx)(st,(0,v.Z)((0,v.Z)({className:W,originCollapsed:i},Z),{},{style:u})))},pt=p(2621),Ra=p(58809),Dn=p.n(Ra),Ta=function(e,n,t){if(t){var a=(0,Cn.Z)(t.keys()).find(function(o){return Dn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Dn()(o).test(e)});if(i)return n[i]}return{path:""}},On=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,g=n?"":d||"",y=Ta(a,i,o);if(!y)return{title:g,id:"",pageName:g};var Z=y.name;return f.locale!==!1&&y.locale&&u&&(Z=u({id:y.locale||"",defaultMessage:y.name})),Z?n||!d?{title:Z,id:y.locale||"",pageName:Z}:{title:"".concat(Z," - ").concat(d),id:y.locale||"",pageName:Z}:{title:g,id:y.locale||"",pageName:g}},Co=function(e,n){return On(e,n).title},Ba=p(89507),Zn=p(8550),Qe=p(14224),Pa=function(){var e;return typeof Qe=="undefined"?Zn.Z:((e=Qe)===null||Qe===void 0||(Qe={API_URL:"https://iadminapi.zhongshuai2023.com"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||Zn.Z},ja=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M,A,D,W,_,I,x,S,q,w,B,V,re,C,Q,ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce;return(n=Pa())!==null&&n!==void 0&&n.startsWith("5")?{}:(Ce={},(0,l.Z)(Ce,e.componentCls,(ie={width:"100%",height:"100%"},(0,l.Z)(ie,"".concat(e.proComponentsCls,"-base-menu"),(w={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)(w,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),(0,l.Z)(w,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,l.Z)(w,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,l.Z)(w,"&".concat(e.antCls,"-menu"),(o={color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},(0,l.Z)(o,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),o)),(0,l.Z)(w,"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,l.Z)(w,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(w,"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:f==null?void 0:f.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,l.Z)(i,"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,l.Z)(s,"&-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,l.Z)(d,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,l.Z)(d,"&-collapsed",(o={minWidth:40,height:40},(0,l.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)),(0,l.Z)(d,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,l.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,l.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,l.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,l.Z)(u,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),u))),d)),(0,l.Z)(s,"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,l.Z)(s,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),s)),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function Jr(r,e){return(0,we.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r)});return[Yr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,z.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),u=(0,z.Z)(o,2),d=u[0],s=u[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,c.jsx)(Vr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(_n(e)||Xr(e))return(0,c.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,c.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},kr=(0,Or.Z)(function r(e){var n=this;(0,$r.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,u=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,g=o.menu,y=o.iconPrefixes,Z=o.layout,j=(g==null?void 0:g.type)==="group"&&Z!=="top",T=n.props.token,M=n.getIntlName(t),A=(t==null?void 0:t.children)||(t==null?void 0:t.routes),D=j&&a===0?"group":void 0;if(Array.isArray(A)&&A.length>0){var W,_,I,x,S,q,w,B=a===0||j&&a===1,V=lt(t.icon,y,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),re=f&&B?ut(M):null,C=(0,c.jsxs)("div",{className:ne()("".concat(d,"-item-title"),(_=n.props)===null||_===void 0?void 0:_.hashId,(I={},(0,l.Z)(I,"".concat(d,"-item-title-collapsed"),f),(0,l.Z)(I,"".concat(d,"-item-title-collapsed-level-").concat(i),f),(0,l.Z)(I,"".concat(d,"-group-item-title"),D==="group"),(0,l.Z)(I,"".concat(d,"-item-collapsed-show-title"),(g==null?void 0:g.collapsedShowTitle)&&f),I)),children:[D==="group"&&f?null:B&&V?(0,c.jsx)("span",{className:"".concat(d,"-item-icon ").concat((x=n.props)===null||x===void 0?void 0:x.hashId).trim(),children:V}):re,(0,c.jsx)("span",{className:ne()("".concat(d,"-item-text"),(S=n.props)===null||S===void 0?void 0:S.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),D!=="group"&&B&&(V||re))),children:M})]}),Q=u?u((0,v.Z)((0,v.Z)({},t),{},{isUrl:!1}),C,n.props):C;if(j&&a===0&&n.props.collapsed&&!g.collapsedShowGroupTitle)return n.getNavMenuItems(A,a+1,a);var ee=n.getNavMenuItems(A,a+1,j&&a===0&&n.props.collapsed?a:a+1);return[{type:D,key:t.key||t.path,label:Q,onClick:j?void 0:t.onTitleClick,children:ee,className:ne()((q={},(0,l.Z)(q,"".concat(d,"-group"),D==="group"),(0,l.Z)(q,"".concat(d,"-submenu"),D!=="group"),(0,l.Z)(q,"".concat(d,"-submenu-has-icon"),D!=="group"&&B&&V),q))},j&&a===0?{type:"divider",prefixCls:s,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:T==null||(w=T.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,u=o.menu,d=o.formatMessage;return i&&(u==null?void 0:u.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,u,d,s,f,g=n.conversionPath(t.path||"/"),y=n.props,Z=y.location,j=Z===void 0?{pathname:"/"}:Z,T=y.isMobile,M=y.onCollapse,A=y.menuItemRender,D=y.iconPrefixes,W=n.getIntlName(t),_=n.props,I=_.baseClassName,x=_.menu,S=_.collapsed,q=(x==null?void 0:x.type)==="group",w=a===0||q&&a===1,B=w?lt(t.icon,D,"".concat(I,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,V=S&&w?ut(W):null,re=(0,c.jsxs)("div",{className:ne()("".concat(I,"-item-title"),(u=n.props)===null||u===void 0?void 0:u.hashId,(d={},(0,l.Z)(d,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(d,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(d,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),d)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(f=n.props)===null||f===void 0?void 0:f.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g),C=_n(g);if(C){var Q,ee,P,te;re=(0,c.jsxs)("span",{onClick:function(){var J,le;(J=window)===null||J===void 0||(le=J.open)===null||le===void 0||le.call(J,g,"_blank")},className:ne()("".concat(I,"-item-title"),(Q=n.props)===null||Q===void 0?void 0:Q.hashId,(ee={},(0,l.Z)(ee,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(ee,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(ee,"".concat(I,"-item-link"),!0),(0,l.Z)(ee,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),ee)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((P=n.props)===null||P===void 0?void 0:P.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(te=n.props)===null||te===void 0?void 0:te.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g)}if(A){var ie=(0,v.Z)((0,v.Z)({},t),{},{isUrl:C,itemPath:g,isMobile:T,replace:g===j.pathname,onClick:function(){return M&&M(!0)},children:void 0});return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:A(ie,re,n.props)}):A(ie,re,n.props)}return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:re}):re}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),qr=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n,t=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,u=e.menuData,d=e.prefixCls,s=e.menu,f=e.matchMenuKeys,g=e.iconfontUrl,y=e.selectedKeys,Z=e.onSelect,j=e.menuRenderType,T=e.openKeys,M=(0,m.useContext)(ce.L_),A=M.dark,D=M.token,W="".concat(d,"-base-menu-").concat(t),_=(0,m.useRef)([]),I=(0,ge.Z)(s==null?void 0:s.defaultOpenAll),x=(0,z.Z)(I,2),S=x[0],q=x[1],w=(0,ge.Z)(function(){return s!=null&&s.defaultOpenAll?(0,un.O7)(u)||[]:T===!1?!1:[]},{value:T===!1?void 0:T,onChange:i}),B=(0,z.Z)(w,2),V=B[0],re=B[1],C=(0,ge.Z)([],{value:y,onChange:Z?function(se){Z&&se&&Z(se)}:void 0}),Q=(0,z.Z)(C,2),ee=Q[0],P=Q[1];(0,m.useEffect)(function(){s!=null&&s.defaultOpenAll||T===!1||f&&(re(f),P(f))},[f.join("-")]),(0,m.useEffect)(function(){g&&(it=rt({scriptUrl:g}))},[g]),(0,m.useEffect)(function(){if(f.join("-")!==(ee||[]).join("-")&&P(f),!S&&T!==!1&&f.join("-")!==(V||[]).join("-")){var se=f;(s==null?void 0:s.autoClose)===!1&&(se=Array.from(new Set([].concat((0,Cn.Z)(f),(0,Cn.Z)(V||[]))))),re(se)}else s!=null&&s.ignoreFlatMenu&&S?re((0,un.O7)(u)):q(!1)},[f.join("-")]);var te=(0,m.useMemo)(function(){return qr(V,e)},[V&&V.join(","),e.layout,e.collapsed]),ie=Jr(W,t),me=ie.wrapSSR,J=ie.hashId,le=(0,m.useMemo)(function(){return new kr((0,v.Z)((0,v.Z)({},e),{},{token:D,menuRenderType:j,baseClassName:W,hashId:J}))},[e,D,j,W,J]);if(s!=null&&s.loading)return(0,c.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,c.jsx)(Qr.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(_.current=f);var ue=e.postMenuData?e.postMenuData(u):u;return ue&&(ue==null?void 0:ue.length)<1?null:me((0,m.createElement)(et.Z,(0,v.Z)((0,v.Z)({},te),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:_.current,theme:A?"dark":"light",selectedKeys:ee,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},o),className:ne()(a,J,W,(n={},(0,l.Z)(n,"".concat(W,"-horizontal"),t==="horizontal"),(0,l.Z)(n,"".concat(W,"-collapsed"),e.collapsed),n)),items:le.getNavMenuItems(ue,0,0),onOpenChange:function(ye){e.collapsed||re(ye)}},e.menuProps)))};function ea(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var na=["title","render"],ta=m.memo(function(r){return(0,c.jsx)(c.Fragment,{children:r.children})}),ra=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,aa=dt===void 0?{Provider:ta}:dt,An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var u=Nn(t),d=(0,c.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(u,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,c.jsx)("a",{children:u},"title"):(0,c.jsxs)("a",{children:[u,d]},"title")},st=function(e){var n,t,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,u=e.menuFooterRender,d=e.onCollapse,s=e.theme,f=e.siderWidth,g=e.isMobile,y=e.onMenuHeaderClick,Z=e.breakpoint,j=Z===void 0?"lg":Z,T=e.style,M=e.layout,A=e.menuExtraRender,D=A===void 0?!1:A,W=e.links,_=e.menuContentRender,I=e.collapsedButtonRender,x=e.prefixCls,S=e.avatarProps,q=e.rightContentRender,w=e.actionsRender,B=e.onOpenChange,V=e.stylish,re=e.logoStyle,C=(0,m.useContext)(ce.L_),Q=C.hashId,ee=(0,m.useMemo)(function(){return!(g||M==="mix")},[g,M]),P="".concat(x,"-sider"),te=64,ie=ea("".concat(P,".").concat(P,"-stylish"),{stylish:V,proLayoutCollapsedWidth:te}),me=ne()("".concat(P),Q,(n={},(0,l.Z)(n,"".concat(P,"-fixed"),o),(0,l.Z)(n,"".concat(P,"-fixed-mix"),M==="mix"&&!g&&o),(0,l.Z)(n,"".concat(P,"-collapsed"),e.collapsed),(0,l.Z)(n,"".concat(P,"-layout-").concat(M),M&&!g),(0,l.Z)(n,"".concat(P,"-light"),s!=="dark"),(0,l.Z)(n,"".concat(P,"-mix"),M==="mix"&&!g),(0,l.Z)(n,"".concat(P,"-stylish"),!!V),n)),J=An(e),le=D&&D(e),ue=(0,m.useMemo)(function(){return _!==!1&&(0,m.createElement)(ct,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:a&&!g?"vertical":"inline",handleOpenChange:B,style:{width:"100%"},className:"".concat(P,"-menu ").concat(Q).trim()}))},[P,Q,_,B,e]),se=(W||[]).map(function(Be,_e){return{className:"".concat(P,"-link"),label:Be,key:_e}}),ye=(0,m.useMemo)(function(){return _?_(e,ue):ue},[_,ue,e]),xe=(0,m.useMemo)(function(){if(!S)return null;var Be=S.title,_e=S.render,Ne=(0,Se.Z)(S,na),Je=(0,c.jsxs)("div",{className:"".concat(P,"-actions-avatar"),children:[Ne!=null&&Ne.src||Ne!=null&&Ne.srcSet||Ne.icon||Ne.children?(0,c.jsx)(qn.C,(0,v.Z)({size:28},Ne)):null,S.title&&!a&&(0,c.jsx)("span",{children:Be})]});return _e?_e(S,Je,e):Je},[S,P,a]),Ce=(0,m.useMemo)(function(){return w?(0,c.jsx)(Lr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:ne()(["".concat(P,"-actions-list"),a&&"".concat(P,"-actions-list-collapsed"),Q]),children:w==null?void 0:w(e).map(function(Be,_e){return(0,c.jsx)("div",{className:"".concat(P,"-actions-list-item ").concat(Q).trim(),children:Be},_e)})}):null},[w,P,a]),ze=(0,m.useMemo)(function(){return(0,c.jsx)(Hn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Fe=(0,m.useMemo)(function(){if(I===!1)return null;var Be=(0,c.jsx)(Dr,{isMobile:g,collapsed:i,className:"".concat(P,"-collapsed-button"),onClick:function(){d==null||d(!i)}});return I?I(a,Be):Be},[I,g,i,P,a,d]),cn=(0,m.useMemo)(function(){return!xe&&!Ce?null:(0,c.jsxs)("div",{className:ne()("".concat(P,"-actions"),Q,a&&"".concat(P,"-actions-collapsed")),children:[xe,Ce]})},[Ce,xe,P,a,Q]),Xe=(0,m.useMemo)(function(){var Be;return e!=null&&(Be=e.menu)!==null&&Be!==void 0&&Be.hideMenuWhenCollapsed&&a?"".concat(P,"-hide-menu-collapsed"):null},[P,a,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),Mn=u&&(u==null?void 0:u(e)),dn=(0,c.jsxs)(c.Fragment,{children:[J&&(0,c.jsxs)("div",{className:ne()([ne()("".concat(P,"-logo"),Q,(0,l.Z)({},"".concat(P,"-logo-collapsed"),a))]),onClick:ee?y:void 0,id:"logo",style:re,children:[J,ze]}),le&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-extra"),!J&&"".concat(P,"-extra-no-logo"),Q]),children:le}),(0,c.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:ye}),(0,c.jsxs)(aa.Provider,{value:{},children:[W?(0,c.jsx)("div",{className:"".concat(P,"-links ").concat(Q).trim(),children:(0,c.jsx)(et.Z,{inlineIndent:16,className:"".concat(P,"-link-menu ").concat(Q).trim(),selectedKeys:[],openKeys:[],theme:s,mode:"inline",items:se})}):null,ee&&(0,c.jsxs)(c.Fragment,{children:[cn,!Ce&&q?(0,c.jsx)("div",{className:ne()("".concat(P,"-actions"),Q,(0,l.Z)({},"".concat(P,"-actions-collapsed"),a)),children:q==null?void 0:q(e)}):null]}),Mn&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-footer"),Q,(0,l.Z)({},"".concat(P,"-footer-collapsed"),a)]),children:Mn})]})]});return ie.wrapSSR((0,c.jsxs)(c.Fragment,{children:[o&&!g&&!Xe&&(0,c.jsx)("div",{style:(0,v.Z)({width:a?te:f,overflow:"hidden",flex:"0 0 ".concat(a?te:f,"px"),maxWidth:a?te:f,minWidth:a?te:f,transition:"all 0.2s ease 0s"},T)}),(0,c.jsxs)(ra,{collapsible:!0,trigger:null,collapsed:a,breakpoint:j===!1?void 0:j,onCollapse:function(_e){g||d==null||d(_e)},collapsedWidth:te,style:T,theme:s,width:f,className:ne()(me,Q,Xe),children:[Xe?(0,c.jsx)("div",{className:"".concat(P,"-hide-when-collapsed ").concat(Q).trim(),style:{height:"100%",width:"100%",opacity:Xe?0:1},children:dn}):dn,Fe]})]}))},oa=p(71739),ia=p(28033),la=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function ua(r){return(0,we.Xj)("ProLayoutRightContent",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[la(n)]})}var ca=["rightContentRender","avatarProps","actionsRender","headerContentRender"],da=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,Se.Z)(e,ca),u=(0,m.useContext)(He.ZP.ConfigContext),d=u.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=ua(s),g=f.wrapSSR,y=f.hashId,Z=(0,m.useState)("auto"),j=(0,z.Z)(Z,2),T=j[0],M=j[1],A=(0,m.useMemo)(function(){if(!t)return null;var I=t.title,x=t.render,S=(0,Se.Z)(t,da),q=[S!=null&&S.src||S!=null&&S.srcSet||S.icon||S.children?(0,m.createElement)(qn.C,(0,v.Z)((0,v.Z)({},S),{},{size:28,key:"avatar"})):null,I?(0,c.jsx)("span",{style:{marginInlineStart:8},children:I},"name"):void 0];return x?x(t,(0,c.jsx)("div",{children:q}),o):(0,c.jsx)("div",{children:q})},[t]),D=a||A?function(I){var x=a&&(a==null?void 0:a(I));return!x&&!A?null:(Array.isArray(x)||(x=[x]),g((0,c.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(y).trim(),children:[x.filter(Boolean).map(function(S,q){var w=!1;if(m.isValidElement(S)){var B;w=!!(S!=null&&(B=S.props)!==null&&B!==void 0&&B["aria-hidden"])}return(0,c.jsx)("div",{className:ne()("".concat(s,"-header-actions-item ").concat(y),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!w)),children:S},q)}),A&&(0,c.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(y).trim(),children:A})]})))}:void 0,W=(0,oa.D)(function(){var I=(0,ve.Z)((0,be.Z)().mark(function x(S){return(0,be.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:M(S);case 1:case"end":return w.stop()}},x)}));return function(x){return I.apply(this,arguments)}}(),160),_=D||n;return(0,c.jsx)("div",{className:"".concat(s,"-right-content ").concat(y).trim(),style:{minWidth:T,height:"100%"},children:(0,c.jsx)("div",{style:{height:"100%"},children:(0,c.jsx)(ia.Z,{onResize:function(x){var S=x.width;W.run(S)},children:_?(0,c.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:_((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:T}))}):null})})})},sa=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function va(r){return(0,we.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[sa(n)]})}var ft=function(e){var n,t,a,i,o,u,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,g=e.contentWidth,y=e.rightContentRender,Z=e.className,j=e.style,T=e.headerContentRender,M=e.layout,A=e.actionsRender,D=(0,m.useContext)(He.ZP.ConfigContext),W=D.getPrefixCls,_=(0,m.useContext)(ce.L_),I=_.dark,x="".concat(e.prefixCls||W("pro"),"-top-nav-header"),S=va(x),q=S.wrapSSR,w=S.hashId,B=void 0;e.menuHeaderRender!==void 0?B="menuHeaderRender":(M==="mix"||M==="top")&&(B="headerTitleRender");var V=An((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),B),re=(0,m.useContext)(ce.L_),C=re.token,Q=(0,m.useMemo)(function(){var ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce,ze,Fe=(0,c.jsx)(He.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},H({colorItemBg:((ee=C.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorBgHeader)||"transparent",colorSubItemBg:((P=C.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgHeader)||"transparent",radiusItem:C.borderRadius,colorItemBgSelected:((te=C.layout)===null||te===void 0||(te=te.header)===null||te===void 0?void 0:te.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),itemHoverBg:((ie=C.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemHover)||(C==null?void 0:C.colorBgTextHover),colorItemBgSelectedHorizontal:((me=C.layout)===null||me===void 0||(me=me.header)===null||me===void 0?void 0:me.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((J=C.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorTextMenu)||(C==null?void 0:C.colorTextSecondary),colorItemTextHoverHorizontal:((le=C.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorTextMenuActive)||(C==null?void 0:C.colorText),colorItemTextSelectedHorizontal:((ue=C.layout)===null||ue===void 0||(ue=ue.header)===null||ue===void 0?void 0:ue.colorTextMenuSelected)||(C==null?void 0:C.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((se=C.layout)===null||se===void 0||(se=se.header)===null||se===void 0?void 0:se.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((ye=C.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((xe=C.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:C==null?void 0:C.colorBgElevated,subMenuItemBg:C==null?void 0:C.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:C==null?void 0:C.colorBgElevated}))},token:{colorBgElevated:((Ce=C.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorBgHeader)||"transparent"}},children:(0,c.jsx)(ct,(0,v.Z)((0,v.Z)((0,v.Z)({theme:I?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(w).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return T?T(e,Fe):Fe},[(n=C.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=C.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=C.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=C.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=C.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(u=C.layout)===null||u===void 0||(u=u.header)===null||u===void 0?void 0:u.colorTextMenuSelected,(d=C.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,C.borderRadius,C==null?void 0:C.colorBgTextHover,C==null?void 0:C.colorTextSecondary,C==null?void 0:C.colorText,C==null?void 0:C.colorTextBase,C.colorBgElevated,I,e,x,w,T]);return q((0,c.jsx)("div",{className:ne()(x,w,Z,(0,l.Z)({},"".concat(x,"-light"),!0)),style:j,children:(0,c.jsxs)("div",{ref:s,className:ne()("".concat(x,"-main"),w,(0,l.Z)({},"".concat(x,"-wide"),g==="Fixed"&&M==="top")),children:[V&&(0,c.jsxs)("div",{className:ne()("".concat(x,"-main-left ").concat(w)),onClick:f,children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:"".concat(x,"-logo ").concat(w).trim(),id:"logo",children:V},"logo")]}),(0,c.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(w).trim(),children:Q}),(y||A||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)((0,v.Z)({rightContentRender:y},e),{},{prefixCls:x}))]})}))},fa=function(e){var n,t,a,i;return(0,l.Z)({},e.componentCls,(i={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,l.Z)(i,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,l.Z)(i,"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,l.Z)(i,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,l.Z)(i,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),i))};function ma(r){return(0,we.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[fa(n)]})}var ha=function(e,n){return e===!1?null:e?e(n,null):n},ga=function(e){var n,t=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,u=e.rightContentRender,d=e.menuHeaderRender,s=e.onMenuHeaderClick,f=e.className,g=e.style,y=e.layout,Z=e.children,j=e.splitMenus,T=e.menuData,M=e.prefixCls,A=(0,m.useContext)(He.ZP.ConfigContext),D=A.getPrefixCls,W=A.direction,_="".concat(M||D("pro"),"-global-header"),I=ma(_),x=I.wrapSSR,S=I.hashId,q=ne()(f,_,S);if(y==="mix"&&!t&&j){var w=(T||[]).map(function(C){return(0,v.Z)((0,v.Z)({},C),{},{children:void 0,routes:void 0})}),B=(0,un.QX)(w);return(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:B}))}var V=ne()("".concat(_,"-logo"),S,(n={},(0,l.Z)(n,"".concat(_,"-logo-rtl"),W==="rtl"),(0,l.Z)(n,"".concat(_,"-logo-mix"),y==="mix"),(0,l.Z)(n,"".concat(_,"-logo-mobile"),t),n)),re=(0,c.jsx)("span",{className:V,children:(0,c.jsx)("a",{children:Nn(a)})},"logo");return x((0,c.jsxs)("div",{className:q,style:(0,v.Z)({},g),children:[t&&(0,c.jsx)("span",{className:"".concat(_,"-collapsed-button ").concat(S).trim(),onClick:function(){o==null||o(!i)},children:(0,c.jsx)(Zr,{})}),t&&ha(d,re),y==="mix"&&!t&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:V,onClick:s,children:An((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,c.jsx)("div",{style:{flex:1},children:Z}),(u||e.actionsRender||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)({rightContentRender:u},e))]}))},pa=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ya(r){return(0,we.Xj)("ProLayoutHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[pa(n)]})}function xa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Ca=function(e){var n,t,a,i,o=e.isMobile,u=e.fixedHeader,d=e.className,s=e.style,f=e.collapsed,g=e.prefixCls,y=e.onCollapse,Z=e.layout,j=e.headerRender,T=e.headerContentRender,M=(0,m.useContext)(ce.L_),A=M.token,D=(0,m.useContext)(He.ZP.ConfigContext),W=(0,m.useState)(!1),_=(0,z.Z)(W,2),I=_[0],x=_[1],S=u||Z==="mix",q=(0,m.useCallback)(function(){var P=Z==="top",te=(0,un.QX)(e.menuData||[]),ie=(0,c.jsx)(ga,(0,v.Z)((0,v.Z)({onCollapse:y},e),{},{menuData:te,children:T&&T(e,null)}));return P&&!o&&(ie=(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:y},e),{},{menuData:te}))),j&&typeof j=="function"?j(e,ie):ie},[T,j,o,Z,y,e]);(0,m.useEffect)(function(){var P,te=(D==null||(P=D.getTargetContainer)===null||P===void 0?void 0:P.call(D))||document.body,ie=function(){var J,le=te.scrollTop;return le>(((J=A.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.heightLayoutHeader)||56)&&!I?(x(!0),!0):(I&&x(!1),!1)};if(S&&typeof window!="undefined")return te.addEventListener("scroll",ie,{passive:!0}),function(){te.removeEventListener("scroll",ie)}},[(n=A.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,S,I]);var w=Z==="top",B="".concat(g,"-layout-header"),V=ya(B),re=V.wrapSSR,C=V.hashId,Q=xa("".concat(B,".").concat(B,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ee=ne()(d,C,B,(t={},(0,l.Z)(t,"".concat(B,"-fixed-header"),S),(0,l.Z)(t,"".concat(B,"-fixed-header-scroll"),I),(0,l.Z)(t,"".concat(B,"-mix"),Z==="mix"),(0,l.Z)(t,"".concat(B,"-fixed-header-action"),!f),(0,l.Z)(t,"".concat(B,"-top-menu"),w),(0,l.Z)(t,"".concat(B,"-header"),!0),(0,l.Z)(t,"".concat(B,"-stylish"),!!e.stylish),t));return Z==="side"&&!o?null:Q.wrapSSR(re((0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(He.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[S&&(0,c.jsx)(mt,{style:(0,v.Z)({height:((a=A.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,lineHeight:"".concat(((i=A.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},s)}),(0,c.jsx)(mt,{className:ee,style:s,children:q()})]})})))},ba=p(9037),Sa=p(83609),Za=p(601),ht=new Za.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ma=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(M={},(0,l.Z)(M,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),(0,l.Z)(M,e.componentCls,(Z={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,l.Z)(Z,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,l.Z)(Z,"".concat(e.antCls,"-menu"),(o={},(0,l.Z)(o,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover}),o)),(0,l.Z)(Z,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,l.Z)(Z,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,l.Z)(Z,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,l.Z)(Z,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,l.Z)(Z,"&-links",{width:"100%",ul:{height:"auto"}}),(0,l.Z)(Z,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,l.Z)(Z,"&-footer",{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"}),Z)),(0,l.Z)(M,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((j=e.layout)===null||j===void 0||(j=j.header)===null||j===void 0?void 0:j.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.heightLayoutHeader)||56,"px")}}),M))};function Ia(r,e){var n=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenu",function(t){var a=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ma(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,u=e.style,d=e.className,s=e.hide,f=e.prefixCls,g=(0,m.useContext)(ce.L_),y=g.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var Z=(0,Jn.Z)(e,["className","style"]),j=m.useContext(He.ZP.ConfigContext),T=j.direction,M=Ia("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),A=M.wrapSSR,D=M.hashId,W=ne()("".concat(f,"-sider"),d,D);if(s)return null;var _=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return A(t?(0,c.jsx)(Sa.Z,(0,v.Z)((0,v.Z)({placement:T==="rtl"?"right":"left",className:ne()("".concat(f,"-drawer-sider"),d)},_),{},{style:(0,v.Z)({padding:0,height:"100vh"},u),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=y.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,c.jsx)(st,(0,v.Z)((0,v.Z)({},Z),{},{isMobile:!0,className:W,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,c.jsx)(st,(0,v.Z)((0,v.Z)({className:W,originCollapsed:i},Z),{},{style:u})))},pt=p(2621),Ra=p(58809),Dn=p.n(Ra),Ta=function(e,n,t){if(t){var a=(0,Cn.Z)(t.keys()).find(function(o){return Dn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Dn()(o).test(e)});if(i)return n[i]}return{path:""}},On=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,g=n?"":d||"",y=Ta(a,i,o);if(!y)return{title:g,id:"",pageName:g};var Z=y.name;return f.locale!==!1&&y.locale&&u&&(Z=u({id:y.locale||"",defaultMessage:y.name})),Z?n||!d?{title:Z,id:y.locale||"",pageName:Z}:{title:"".concat(Z," - ").concat(d),id:y.locale||"",pageName:Z}:{title:g,id:y.locale||"",pageName:g}},Co=function(e,n){return On(e,n).title},Ba=p(89507),Zn=p(8550),Qe=p(14224),Pa=function(){var e;return typeof Qe=="undefined"?Zn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||Zn.Z},ja=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M,A,D,W,_,I,x,S,q,w,B,V,re,C,Q,ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce;return(n=Pa())!==null&&n!==void 0&&n.startsWith("5")?{}:(Ce={},(0,l.Z)(Ce,e.componentCls,(ie={width:"100%",height:"100%"},(0,l.Z)(ie,"".concat(e.proComponentsCls,"-base-menu"),(w={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)(w,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),(0,l.Z)(w,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,l.Z)(w,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,l.Z)(w,"&".concat(e.antCls,"-menu"),(o={color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},(0,l.Z)(o,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),o)),(0,l.Z)(w,"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,l.Z)(w,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(w,"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,l.Z)(w,"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,`-menu-submenu-active, @@ -23,5 +23,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(re=e.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(C=e.layout)===null||C===void 0||(C=C.header)===null||C===void 0?void 0:C.colorTextMenuActive})),(0,l.Z)(P,"".concat(e.antCls,"-menu-item-selected"),{color:(Q=e.layout)===null||Q===void 0||(Q=Q.header)===null||Q===void 0?void 0:Q.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ee=e.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorBgMenuItemSelected}),P)),te)),ie)),(0,l.Z)(Ce,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(Ce,"".concat(e.antCls,"-menu-submenu-popup"),(xe={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,l.Z)(xe,"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,l.Z)(xe,"".concat(e.antCls,"-menu-item-selected"),{color:(me=e.layout)===null||me===void 0||(me=me.sider)===null||me===void 0?void 0:me.colorTextMenuSelected}),(0,l.Z)(xe,"".concat(e.antCls,"-menu-submenu-selected"),{color:(J=e.layout)===null||J===void 0||(J=J.sider)===null||J===void 0?void 0:J.colorTextMenuSelected}),(0,l.Z)(xe,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(ye={},(0,l.Z)(ye,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(le=e.layout)===null||le===void 0||(le=le.sider)===null||le===void 0?void 0:le.colorTextMenuSelected}),(0,l.Z)(ye,"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(ue=e.layout)===null||ue===void 0||(ue=ue.sider)===null||ue===void 0?void 0:ue.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(se=e.layout)===null||se===void 0||(se=se.sider)===null||se===void 0?void 0:se.colorTextMenuActive})),ye)),xe)),Ce)},wa=function(e){var n,t,a,i,o,u;return u={},(0,l.Z)(u,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,l.Z)(u,e.componentCls,(o={},(0,l.Z)(o,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,l.Z)(o,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,l.Z)(o,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,l.Z)(o,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}),o)),u};function Ea(r){return(0,we.Xj)("ProLayout",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wa(n),ja(n)]})}function La(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=p(14224),_a=function(){var e;return typeof Ye=="undefined"?Zn.Z:((e=Ye)===null||Ye===void 0||(Ye={API_URL:"https://iadminapi.zhongshuai2023.com"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||Zn.Z},Na=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,u=a.path,d=t.findIndex(function(s){return s.linkPath===e.path})===t.length-1;return d?(0,c.jsx)("span",{children:o||i}):(0,c.jsx)("span",{onClick:u?function(){return location.href=u}:void 0,children:o||i})},Ha=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Aa=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Dn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Da=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},Oa=function(e,n,t){var a=La(e==null?void 0:e.pathname),i=a.map(function(o){var u=Aa(n,o),d=Ha(u,t),s=u.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:u.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},$a=function(e){var n=Da(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?Oa(t,a,e):[]},Wa=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,u=o===void 0?2:o,d=$a(e),s=function(y){for(var Z=a||Na,j=arguments.length,T=new Array(j>1?j-1:0),M=1;M-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function za(r){return(0,Cn.Z)(r).reduce(function(e,n){var t=(0,z.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Fa=function r(e,n,t,a){var i=lr(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,u=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:za(u),breadcrumbMap:u,menuData:o}},Ka=p(97382),Ua=p(21373),Ga=function(e){var n=(0,m.useState)({}),t=(0,z.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Ua.Y)({layout:(0,Ka.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Xa=["id","defaultMessage"],Va=["fixSiderbar","navTheme","layout"],yt=0,Qa=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,c.jsx)(Ca,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},Ya=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,c.jsx)(xr.q,{})):null},Ja=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,u=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var g=e.menuData;if(d&&(u!==!1||a==="mix")&&!i){var y=o||n,Z=(0,z.Z)(y,1),j=Z[0];if(j){var T;g=((T=e.menuData)===null||T===void 0||(T=T.find(function(W){return W.key===j}))===null||T===void 0?void 0:T.children)||[]}else g=[]}var M=(0,un.QX)(g||[]);if(M&&(M==null?void 0:M.length)<1&&(d||s))return null;if(a==="top"&&!i){var A;return(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(A=e.stylish)===null||A===void 0?void 0:A.sider}))}var D=(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{menuData:M,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,D):D},ka=function(e,n){var t=n.pageTitleRender,a=On(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return On((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,hr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},qa=function(e,n,t){return e?n?64:t:0},eo=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M=e||{},A=M.children,D=M.onCollapse,W=M.location,_=W===void 0?{pathname:"/"}:W,I=M.contentStyle,x=M.route,S=M.defaultCollapsed,q=M.style,w=M.siderWidth,B=M.menu,V=M.siderMenuType,re=M.isChildrenLayout,C=M.menuDataRender,Q=M.actionRef,ee=M.bgLayoutImgList,P=M.formatMessage,te=M.loading,ie=(0,m.useMemo)(function(){return w||(e.layout==="mix"?215:256)},[e.layout,w]),me=(0,m.useContext)(He.ZP.ConfigContext),J=(n=e.prefixCls)!==null&&n!==void 0?n:me.getPrefixCls("pro"),le=(0,ge.Z)(!1,{value:B==null?void 0:B.loading,onChange:B==null?void 0:B.onLoadingChange}),ue=(0,z.Z)(le,2),se=ue[0],ye=ue[1],xe=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ce=(0,z.Z)(xe,1),ze=Ce[0],Fe=(0,m.useCallback)(function(Re){var Ke=Re.id,Tn=Re.defaultMessage,hn=(0,Se.Z)(Re,Xa);if(P)return P((0,v.Z)({id:Ke,defaultMessage:Tn},hn));var gn=(0,Ba.e)();return gn[Ke]?gn[Ke]:Tn},[P]),cn=(0,kn.ZP)([ze,B==null?void 0:B.params],function(){var Re=(0,ve.Z)((0,be.Z)().mark(function Ke(Tn){var hn,gn,Et,Lt;return(0,be.Z)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return gn=(0,z.Z)(Tn,2),Et=gn[1],ye(!0),nn.next=4,B==null||(hn=B.request)===null||hn===void 0?void 0:hn.call(B,Et||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return Lt=nn.sent,ye(!1),nn.abrupt("return",Lt);case 7:case"end":return nn.stop()}},Ke)}));return function(Ke){return Re.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Xe=cn.data,Mn=cn.mutate,dn=cn.isLoading;(0,m.useEffect)(function(){ye(dn)},[dn]);var Be=(0,kn.kY)(),_e=Be.cache;(0,m.useEffect)(function(){return function(){_e instanceof Map&&_e.delete(ze)}},[]);var Ne=(0,m.useMemo)(function(){return Fa(Xe||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],B,Fe,C)},[Fe,B,C,Xe,x==null?void 0:x.children,x==null?void 0:x.routes]),Je=Ne||{},to=Je.breadcrumb,xt=Je.breadcrumbMap,Ct=Je.menuData,sn=Ct===void 0?[]:Ct;Q&&B!==null&&B!==void 0&&B.request&&(Q.current={reload:function(){Mn()}});var vn=(0,m.useMemo)(function(){return fr(_.pathname||"/",sn||[],!0)},[_.pathname,sn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(vn.map(function(Re){return Re.key||Re.path||""})))},[vn]),bt=vn[vn.length-1]||{},St=Ga(bt),In=(0,v.Z)((0,v.Z)({},e),St),ro=In.fixSiderbar,bo=In.navTheme,fn=In.layout,ao=(0,Se.Z)(In,Va),ke=N(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),oo=fn!=="top"&&!qe,io=(0,ge.Z)(function(){return S!==void 0?S:!!(qe||ke==="md")},{value:e.collapsed,onChange:D}),Zt=(0,z.Z)(io,2),mn=Zt[0],Mt=Zt[1],en=(0,Jn.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:J},e),{},{siderWidth:ie},St),{},{formatMessage:Fe,breadcrumb:to,menu:(0,v.Z)((0,v.Z)({},B),{},{type:V||(B==null?void 0:B.type),loading:se}),layout:fn}),["className","style","breadcrumbRender"]),Wn=ka((0,v.Z)((0,v.Z)({pathname:_.pathname},en),{},{breadcrumbMap:xt}),e),lo=Wa((0,v.Z)((0,v.Z)({},en),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),Rn=Ja((0,v.Z)((0,v.Z)({},en),{},{menuData:sn,onCollapse:Mt,isMobile:qe,collapsed:mn}),$n),zn=Qa((0,v.Z)((0,v.Z)({},en),{},{children:null,hasSiderMenu:!!Rn,menuData:sn,isMobile:qe,collapsed:mn,onCollapse:Mt}),$n),It=Ya((0,v.Z)({isMobile:qe,collapsed:mn},en)),uo=(0,m.useContext)(pt.X),co=uo.isChildrenLayout,Fn=re!==void 0?re:co,Ae="".concat(J,"-layout"),Rt=Ea(Ae),so=Rt.wrapSSR,Kn=Rt.hashId,vo=ne()(e.className,Kn,"ant-design-pro",Ae,(t={},(0,l.Z)(t,"screen-".concat(ke),ke),(0,l.Z)(t,"".concat(Ae,"-top-menu"),fn==="top"),(0,l.Z)(t,"".concat(Ae,"-is-children"),Fn),(0,l.Z)(t,"".concat(Ae,"-fix-siderbar"),ro),(0,l.Z)(t,"".concat(Ae,"-").concat(fn),fn),t)),fo=qa(!!oo,mn,ie),Tt={position:"relative"};(Fn||I&&I.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Re;(Re=e.onPageChange)===null||Re===void 0||Re.call(e,e.location)},[_.pathname,(a=_.pathname)===null||a===void 0?void 0:a.search]);var mo=(0,m.useState)(!1),Bt=(0,z.Z)(mo,2),Pt=Bt[0],ho=Bt[1],go=(0,m.useState)(0),jt=(0,z.Z)(go,2),wt=jt[0],po=jt[1];h(Wn,e.title||!1);var yo=(0,m.useMemo)(function(){return ee&&ee.length>0?ee.map(function(Re,Ke){return(0,c.jsx)("img",{src:Re.src,style:(0,v.Z)({position:"absolute"},Re)},Ke)}):null},[ee]),xo=(0,m.useContext)(ce.L_),X=xo.token;return so((0,c.jsx)(pt.X.Provider,{value:(0,v.Z)((0,v.Z)({},en),{},{breadcrumb:lo,menuData:sn,isMobile:qe,collapsed:mn,hasPageContainer:wt,setHasPageContainer:po,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!Rn,hasHeader:!!zn,siderWidth:fo,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:ho,pageTitleInfo:Wn,matchMenus:vn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,c.jsx)(c.Fragment,{children:A}):(0,c.jsxs)("div",{className:vo,children:[(0,c.jsx)("div",{className:ne()("".concat(Ae,"-bg-list"),Kn),children:yo}),(0,c.jsxs)(Ve.Z,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rn?"row":void 0},q),children:[(0,c.jsx)(He.ZP,{theme:{hashed:(0,ce.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:H({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((u=X.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((s=X.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((g=X.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((y=X.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((Z=X.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((j=X.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:Rn}),(0,c.jsxs)("div",{style:Tt,className:"".concat(Ae,"-container ").concat(Kn).trim(),children:[zn,(0,c.jsx)(pr,(0,v.Z)((0,v.Z)({hasPageContainer:wt,isChildrenLayout:Fn},ao),{},{hasHeader:!!zn,prefixCls:Ae,style:I,children:te?(0,c.jsx)(ba.S,{}):A})),It,Pt&&(0,c.jsx)("div",{className:"".concat(Ae,"-has-footer"),style:{height:64,marginBlockStart:(T=X.layout)===null||T===void 0||(T=T.pageContainer)===null||T===void 0?void 0:T.paddingBlockPageContainerContent}})]})]})]})}))},no=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,c.jsx)(He.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,c.jsx)(ce._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,c.jsx)(eo,(0,v.Z)((0,v.Z)({logo:(0,c.jsx)(yr,{})},at.h),{},{location:(0,G.j)()?window.location:void 0},e))}))})}},9037:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return ce}});var l=p(35361),be=p(56929),ve=p(38631),Se=p(50959),z=p(11527),v=["isLoading","pastDelay","timedOut","error","retry"],ce=function(m){var Me=m.isLoading,fe=m.pastDelay,Ze=m.timedOut,N=m.error,G=m.retry,h=(0,be.Z)(m,v);return(0,z.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,z.jsx)(ve.Z,(0,l.Z)({size:"large"},h))})}},2621:function(Te,Pe,p){"use strict";p.d(Pe,{X:function(){return be}});var l=p(50959),be=(0,l.createContext)({})},58211:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return Me}});var l=p(5952),be=p(97086),ve=p(1378),Se=p(3122),z=p(25678),v=p(88357),ce=p(84974),ge=p(50959),m=p(11527),Me=function(fe){(0,Se.Z)(N,fe);var Ze=(0,z.Z)(N);function N(){var G;(0,l.Z)(this,N);for(var h=arguments.length,R=new Array(h),b=0;b=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===95){ae+=h[O++];continue}break}if(!ae)throw new TypeError("Missing parameter name at "+b);R.push({type:"NAME",index:b,value:ae}),b=O;continue}if(H==="("){var F=1,Y="",O=b+1;if(h[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O-1:je===void 0;ae||(de+="(?:"+he+"(?="+U+"))?"),$e||(de+="(?="+he+"|"+U+")")}return new RegExp(de,m(b))}p=N;function G(h,R,b){return h instanceof RegExp?Me(h,R):Array.isArray(h)?fe(h,R,b):Ze(h,R,b)}Pe.Bo=G},58809:function(Te){Te.exports=Ze,Te.exports.parse=be,Te.exports.compile=ve,Te.exports.tokensToFunction=Se,Te.exports.tokensToRegExp=fe;var Pe="/",p="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function be(N,G){for(var h=[],R=0,b=0,H="",ae=G&&G.delimiter||Pe,O=G&&G.delimiters||p,E=!1,F;(F=l.exec(N))!==null;){var Y=F[0],k=F[1],K=F.index;if(H+=N.slice(b,K),b=K+Y.length,k){H+=k[1],E=!0;continue}var U="",he=N[b],de=F[2],$=F[3],oe=F[4],L=F[5];if(!E&&H.length){var Ie=H.length-1;O.indexOf(H[Ie])>-1&&(U=H[Ie],H=H.slice(0,Ie))}H&&(h.push(H),H="",E=!1);var Le=U!==""&&he!==void 0&&he!==U,Oe=L==="+"||L==="*",je=L==="?"||L==="*",$e=U||ae,De=$||oe;h.push({name:de||R++,prefix:U,delimiter:$e,optional:je,repeat:Oe,partial:Le,pattern:De?v(De):"[^"+z($e)+"]+?"})}return(H||b-1;else{var U=K.repeat?"(?:"+K.pattern+")(?:"+z(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;G&&G.push(K),K.optional?K.partial?F+=z(K.prefix)+"("+U+")?":F+="(?:"+z(K.prefix)+"("+U+"))?":F+=z(K.prefix)+"("+U+")"}}return H?(R||(F+="(?:"+ae+")?"),F+=E==="$"?"$":"(?="+E+")"):(R||(F+="(?:"+ae+"(?="+E+"))?"),Y||(F+="(?="+ae+"|"+E+")")),new RegExp(F,ce(h))}function Ze(N,G,h){return N instanceof RegExp?ge(N,G):Array.isArray(N)?m(N,G,h):Me(N,G,h)}},335:function(Te,Pe,p){var l=p(31479);function be(ve,Se){var z=typeof Symbol!="undefined"&&ve[Symbol.iterator]||ve["@@iterator"];if(!z){if(Array.isArray(ve)||(z=l(ve))||Se&&ve&&typeof ve.length=="number"){z&&(ve=z);var v=0,ce=function(){};return{s:ce,n:function(){return v>=ve.length?{done:!0}:{done:!1,value:ve[v++]}},e:function(Ze){throw Ze},f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(ue=e.layout)===null||ue===void 0||(ue=ue.sider)===null||ue===void 0?void 0:ue.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(se=e.layout)===null||se===void 0||(se=se.sider)===null||se===void 0?void 0:se.colorTextMenuActive})),ye)),xe)),Ce)},wa=function(e){var n,t,a,i,o,u;return u={},(0,l.Z)(u,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,l.Z)(u,e.componentCls,(o={},(0,l.Z)(o,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,l.Z)(o,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,l.Z)(o,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,l.Z)(o,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}),o)),u};function Ea(r){return(0,we.Xj)("ProLayout",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wa(n),ja(n)]})}function La(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=p(14224),_a=function(){var e;return typeof Ye=="undefined"?Zn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||Zn.Z},Na=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,u=a.path,d=t.findIndex(function(s){return s.linkPath===e.path})===t.length-1;return d?(0,c.jsx)("span",{children:o||i}):(0,c.jsx)("span",{onClick:u?function(){return location.href=u}:void 0,children:o||i})},Ha=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Aa=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Dn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Da=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},Oa=function(e,n,t){var a=La(e==null?void 0:e.pathname),i=a.map(function(o){var u=Aa(n,o),d=Ha(u,t),s=u.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:u.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},$a=function(e){var n=Da(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?Oa(t,a,e):[]},Wa=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,u=o===void 0?2:o,d=$a(e),s=function(y){for(var Z=a||Na,j=arguments.length,T=new Array(j>1?j-1:0),M=1;M-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function za(r){return(0,Cn.Z)(r).reduce(function(e,n){var t=(0,z.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Fa=function r(e,n,t,a){var i=lr(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,u=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:za(u),breadcrumbMap:u,menuData:o}},Ka=p(97382),Ua=p(21373),Ga=function(e){var n=(0,m.useState)({}),t=(0,z.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Ua.Y)({layout:(0,Ka.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Xa=["id","defaultMessage"],Va=["fixSiderbar","navTheme","layout"],yt=0,Qa=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,c.jsx)(Ca,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},Ya=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,c.jsx)(xr.q,{})):null},Ja=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,u=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var g=e.menuData;if(d&&(u!==!1||a==="mix")&&!i){var y=o||n,Z=(0,z.Z)(y,1),j=Z[0];if(j){var T;g=((T=e.menuData)===null||T===void 0||(T=T.find(function(W){return W.key===j}))===null||T===void 0?void 0:T.children)||[]}else g=[]}var M=(0,un.QX)(g||[]);if(M&&(M==null?void 0:M.length)<1&&(d||s))return null;if(a==="top"&&!i){var A;return(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(A=e.stylish)===null||A===void 0?void 0:A.sider}))}var D=(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{menuData:M,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,D):D},ka=function(e,n){var t=n.pageTitleRender,a=On(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return On((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,hr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},qa=function(e,n,t){return e?n?64:t:0},eo=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M=e||{},A=M.children,D=M.onCollapse,W=M.location,_=W===void 0?{pathname:"/"}:W,I=M.contentStyle,x=M.route,S=M.defaultCollapsed,q=M.style,w=M.siderWidth,B=M.menu,V=M.siderMenuType,re=M.isChildrenLayout,C=M.menuDataRender,Q=M.actionRef,ee=M.bgLayoutImgList,P=M.formatMessage,te=M.loading,ie=(0,m.useMemo)(function(){return w||(e.layout==="mix"?215:256)},[e.layout,w]),me=(0,m.useContext)(He.ZP.ConfigContext),J=(n=e.prefixCls)!==null&&n!==void 0?n:me.getPrefixCls("pro"),le=(0,ge.Z)(!1,{value:B==null?void 0:B.loading,onChange:B==null?void 0:B.onLoadingChange}),ue=(0,z.Z)(le,2),se=ue[0],ye=ue[1],xe=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ce=(0,z.Z)(xe,1),ze=Ce[0],Fe=(0,m.useCallback)(function(Re){var Ke=Re.id,Tn=Re.defaultMessage,hn=(0,Se.Z)(Re,Xa);if(P)return P((0,v.Z)({id:Ke,defaultMessage:Tn},hn));var gn=(0,Ba.e)();return gn[Ke]?gn[Ke]:Tn},[P]),cn=(0,kn.ZP)([ze,B==null?void 0:B.params],function(){var Re=(0,ve.Z)((0,be.Z)().mark(function Ke(Tn){var hn,gn,Et,Lt;return(0,be.Z)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return gn=(0,z.Z)(Tn,2),Et=gn[1],ye(!0),nn.next=4,B==null||(hn=B.request)===null||hn===void 0?void 0:hn.call(B,Et||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return Lt=nn.sent,ye(!1),nn.abrupt("return",Lt);case 7:case"end":return nn.stop()}},Ke)}));return function(Ke){return Re.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Xe=cn.data,Mn=cn.mutate,dn=cn.isLoading;(0,m.useEffect)(function(){ye(dn)},[dn]);var Be=(0,kn.kY)(),_e=Be.cache;(0,m.useEffect)(function(){return function(){_e instanceof Map&&_e.delete(ze)}},[]);var Ne=(0,m.useMemo)(function(){return Fa(Xe||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],B,Fe,C)},[Fe,B,C,Xe,x==null?void 0:x.children,x==null?void 0:x.routes]),Je=Ne||{},to=Je.breadcrumb,xt=Je.breadcrumbMap,Ct=Je.menuData,sn=Ct===void 0?[]:Ct;Q&&B!==null&&B!==void 0&&B.request&&(Q.current={reload:function(){Mn()}});var vn=(0,m.useMemo)(function(){return fr(_.pathname||"/",sn||[],!0)},[_.pathname,sn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(vn.map(function(Re){return Re.key||Re.path||""})))},[vn]),bt=vn[vn.length-1]||{},St=Ga(bt),In=(0,v.Z)((0,v.Z)({},e),St),ro=In.fixSiderbar,bo=In.navTheme,fn=In.layout,ao=(0,Se.Z)(In,Va),ke=N(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),oo=fn!=="top"&&!qe,io=(0,ge.Z)(function(){return S!==void 0?S:!!(qe||ke==="md")},{value:e.collapsed,onChange:D}),Zt=(0,z.Z)(io,2),mn=Zt[0],Mt=Zt[1],en=(0,Jn.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:J},e),{},{siderWidth:ie},St),{},{formatMessage:Fe,breadcrumb:to,menu:(0,v.Z)((0,v.Z)({},B),{},{type:V||(B==null?void 0:B.type),loading:se}),layout:fn}),["className","style","breadcrumbRender"]),Wn=ka((0,v.Z)((0,v.Z)({pathname:_.pathname},en),{},{breadcrumbMap:xt}),e),lo=Wa((0,v.Z)((0,v.Z)({},en),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),Rn=Ja((0,v.Z)((0,v.Z)({},en),{},{menuData:sn,onCollapse:Mt,isMobile:qe,collapsed:mn}),$n),zn=Qa((0,v.Z)((0,v.Z)({},en),{},{children:null,hasSiderMenu:!!Rn,menuData:sn,isMobile:qe,collapsed:mn,onCollapse:Mt}),$n),It=Ya((0,v.Z)({isMobile:qe,collapsed:mn},en)),uo=(0,m.useContext)(pt.X),co=uo.isChildrenLayout,Fn=re!==void 0?re:co,Ae="".concat(J,"-layout"),Rt=Ea(Ae),so=Rt.wrapSSR,Kn=Rt.hashId,vo=ne()(e.className,Kn,"ant-design-pro",Ae,(t={},(0,l.Z)(t,"screen-".concat(ke),ke),(0,l.Z)(t,"".concat(Ae,"-top-menu"),fn==="top"),(0,l.Z)(t,"".concat(Ae,"-is-children"),Fn),(0,l.Z)(t,"".concat(Ae,"-fix-siderbar"),ro),(0,l.Z)(t,"".concat(Ae,"-").concat(fn),fn),t)),fo=qa(!!oo,mn,ie),Tt={position:"relative"};(Fn||I&&I.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Re;(Re=e.onPageChange)===null||Re===void 0||Re.call(e,e.location)},[_.pathname,(a=_.pathname)===null||a===void 0?void 0:a.search]);var mo=(0,m.useState)(!1),Bt=(0,z.Z)(mo,2),Pt=Bt[0],ho=Bt[1],go=(0,m.useState)(0),jt=(0,z.Z)(go,2),wt=jt[0],po=jt[1];h(Wn,e.title||!1);var yo=(0,m.useMemo)(function(){return ee&&ee.length>0?ee.map(function(Re,Ke){return(0,c.jsx)("img",{src:Re.src,style:(0,v.Z)({position:"absolute"},Re)},Ke)}):null},[ee]),xo=(0,m.useContext)(ce.L_),X=xo.token;return so((0,c.jsx)(pt.X.Provider,{value:(0,v.Z)((0,v.Z)({},en),{},{breadcrumb:lo,menuData:sn,isMobile:qe,collapsed:mn,hasPageContainer:wt,setHasPageContainer:po,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!Rn,hasHeader:!!zn,siderWidth:fo,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:ho,pageTitleInfo:Wn,matchMenus:vn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,c.jsx)(c.Fragment,{children:A}):(0,c.jsxs)("div",{className:vo,children:[(0,c.jsx)("div",{className:ne()("".concat(Ae,"-bg-list"),Kn),children:yo}),(0,c.jsxs)(Ve.Z,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rn?"row":void 0},q),children:[(0,c.jsx)(He.ZP,{theme:{hashed:(0,ce.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:H({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((u=X.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((s=X.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((g=X.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((y=X.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((Z=X.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((j=X.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:Rn}),(0,c.jsxs)("div",{style:Tt,className:"".concat(Ae,"-container ").concat(Kn).trim(),children:[zn,(0,c.jsx)(pr,(0,v.Z)((0,v.Z)({hasPageContainer:wt,isChildrenLayout:Fn},ao),{},{hasHeader:!!zn,prefixCls:Ae,style:I,children:te?(0,c.jsx)(ba.S,{}):A})),It,Pt&&(0,c.jsx)("div",{className:"".concat(Ae,"-has-footer"),style:{height:64,marginBlockStart:(T=X.layout)===null||T===void 0||(T=T.pageContainer)===null||T===void 0?void 0:T.paddingBlockPageContainerContent}})]})]})]})}))},no=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,c.jsx)(He.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,c.jsx)(ce._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,c.jsx)(eo,(0,v.Z)((0,v.Z)({logo:(0,c.jsx)(yr,{})},at.h),{},{location:(0,G.j)()?window.location:void 0},e))}))})}},9037:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return ce}});var l=p(35361),be=p(56929),ve=p(38631),Se=p(50959),z=p(11527),v=["isLoading","pastDelay","timedOut","error","retry"],ce=function(m){var Me=m.isLoading,fe=m.pastDelay,Ze=m.timedOut,N=m.error,G=m.retry,h=(0,be.Z)(m,v);return(0,z.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,z.jsx)(ve.Z,(0,l.Z)({size:"large"},h))})}},2621:function(Te,Pe,p){"use strict";p.d(Pe,{X:function(){return be}});var l=p(50959),be=(0,l.createContext)({})},58211:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return Me}});var l=p(5952),be=p(97086),ve=p(1378),Se=p(3122),z=p(25678),v=p(88357),ce=p(84974),ge=p(50959),m=p(11527),Me=function(fe){(0,Se.Z)(N,fe);var Ze=(0,z.Z)(N);function N(){var G;(0,l.Z)(this,N);for(var h=arguments.length,R=new Array(h),b=0;b=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===95){ae+=h[O++];continue}break}if(!ae)throw new TypeError("Missing parameter name at "+b);R.push({type:"NAME",index:b,value:ae}),b=O;continue}if(H==="("){var F=1,Y="",O=b+1;if(h[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O-1:je===void 0;ae||(de+="(?:"+he+"(?="+U+"))?"),$e||(de+="(?="+he+"|"+U+")")}return new RegExp(de,m(b))}p=N;function G(h,R,b){return h instanceof RegExp?Me(h,R):Array.isArray(h)?fe(h,R,b):Ze(h,R,b)}Pe.Bo=G},58809:function(Te){Te.exports=Ze,Te.exports.parse=be,Te.exports.compile=ve,Te.exports.tokensToFunction=Se,Te.exports.tokensToRegExp=fe;var Pe="/",p="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function be(N,G){for(var h=[],R=0,b=0,H="",ae=G&&G.delimiter||Pe,O=G&&G.delimiters||p,E=!1,F;(F=l.exec(N))!==null;){var Y=F[0],k=F[1],K=F.index;if(H+=N.slice(b,K),b=K+Y.length,k){H+=k[1],E=!0;continue}var U="",he=N[b],de=F[2],$=F[3],oe=F[4],L=F[5];if(!E&&H.length){var Ie=H.length-1;O.indexOf(H[Ie])>-1&&(U=H[Ie],H=H.slice(0,Ie))}H&&(h.push(H),H="",E=!1);var Le=U!==""&&he!==void 0&&he!==U,Oe=L==="+"||L==="*",je=L==="?"||L==="*",$e=U||ae,De=$||oe;h.push({name:de||R++,prefix:U,delimiter:$e,optional:je,repeat:Oe,partial:Le,pattern:De?v(De):"[^"+z($e)+"]+?"})}return(H||b-1;else{var U=K.repeat?"(?:"+K.pattern+")(?:"+z(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;G&&G.push(K),K.optional?K.partial?F+=z(K.prefix)+"("+U+")?":F+="(?:"+z(K.prefix)+"("+U+"))?":F+=z(K.prefix)+"("+U+")"}}return H?(R||(F+="(?:"+ae+")?"),F+=E==="$"?"$":"(?="+E+")"):(R||(F+="(?:"+ae+"(?="+E+"))?"),Y||(F+="(?="+ae+"|"+E+")")),new RegExp(F,ce(h))}function Ze(N,G,h){return N instanceof RegExp?ge(N,G):Array.isArray(N)?m(N,G,h):Me(N,G,h)}},335:function(Te,Pe,p){var l=p(31479);function be(ve,Se){var z=typeof Symbol!="undefined"&&ve[Symbol.iterator]||ve["@@iterator"];if(!z){if(Array.isArray(ve)||(z=l(ve))||Se&&ve&&typeof ve.length=="number"){z&&(ve=z);var v=0,ce=function(){};return{s:ce,n:function(){return v>=ve.length?{done:!0}:{done:!1,value:ve[v++]}},e:function(Ze){throw Ze},f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ge=!0,m=!1,Me;return{s:function(){z=z.call(ve)},n:function(){var Ze=z.next();return ge=Ze.done,Ze},e:function(Ze){m=!0,Me=Ze},f:function(){try{!ge&&z.return!=null&&z.return()}finally{if(m)throw Me}}}}Te.exports=be,Te.exports.__esModule=!0,Te.exports.default=Te.exports}}]); diff --git a/dist/index.html b/dist/index.html index 07a1fab..58fcb20 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/dist/umi.d85c33d7.js b/dist/umi.e3e7a662.js similarity index 98% rename from dist/umi.d85c33d7.js rename to dist/umi.e3e7a662.js index 65950e2..5f9488f 100644 --- a/dist/umi.d85c33d7.js +++ b/dist/umi.e3e7a662.js @@ -157,7 +157,7 @@ ${C}-dot `]:{cursor:"not-allowed !important"}},[`&-tooltip ${z}-tooltip-inner`]:{minWidth:"unset"}})}},fr=(b,C)=>{const{componentCls:z,railSize:H,handleSize:ce,dotSize:Ie,marginFull:ke,calc:et}=b,Je=C?"paddingBlock":"paddingInline",ft=C?"width":"height",$t=C?"height":"width",At=C?"insetBlockStart":"insetInlineStart",Wt=C?"top":"insetInlineStart",fn=et(H).mul(3).sub(ce).div(2).equal(),bn=et(ce).sub(H).div(2).equal(),xn=C?{borderWidth:`${(0,Ct.bf)(bn)} 0`,transform:`translateY(${(0,Ct.bf)(et(bn).mul(-1).equal())})`}:{borderWidth:`0 ${(0,Ct.bf)(bn)}`,transform:`translateX(${(0,Ct.bf)(b.calc(bn).mul(-1).equal())})`};return{[Je]:H,[$t]:et(H).mul(3).equal(),[`${z}-rail`]:{[ft]:"100%",[$t]:H},[`${z}-track,${z}-tracks`]:{[$t]:H},[`${z}-track-draggable`]:Object.assign({},xn),[`${z}-handle`]:{[At]:fn},[`${z}-mark`]:{insetInlineStart:0,top:0,[Wt]:et(H).mul(3).add(C?0:ke).equal(),[ft]:"100%"},[`${z}-step`]:{insetInlineStart:0,top:0,[Wt]:H,[ft]:"100%",[$t]:H},[`${z}-dot`]:{position:"absolute",[At]:et(H).sub(Ie).div(2).equal()}}},Zr=b=>{const{componentCls:C,marginPartWithMark:z}=b;return{[`${C}-horizontal`]:Object.assign(Object.assign({},fr(b,!0)),{[`&${C}-with-marks`]:{marginBottom:z}})}},ka=b=>{const{componentCls:C}=b;return{[`${C}-vertical`]:Object.assign(Object.assign({},fr(b,!1)),{height:"100%"})}},zo=b=>{const z=b.controlHeightLG/4,H=b.controlHeightSM/2,ce=b.lineWidth+1,Ie=b.lineWidth+1*3;return{controlSize:z,railSize:4,handleSize:z,handleSizeHover:H,dotSize:8,handleLineWidth:ce,handleLineWidthHover:Ie,railBg:b.colorFillTertiary,railHoverBg:b.colorFillSecondary,trackBg:b.colorPrimaryBorder,trackHoverBg:b.colorPrimaryBorderHover,handleColor:b.colorPrimaryBorder,handleActiveColor:b.colorPrimary,handleColorDisabled:new ln.C(b.colorTextDisabled).onBackground(b.colorBgContainer).toHexShortString(),dotBorderColor:b.colorBorderSecondary,dotActiveBorderColor:b.colorPrimaryBorder,trackBgDisabled:b.colorBgContainerDisabled}};var _o=(0,It.I$)("Slider",b=>{const C=(0,si.TS)(b,{marginPart:b.calc(b.controlHeight).sub(b.controlSize).div(2).equal(),marginFull:b.calc(b.controlSize).div(2).equal(),marginPartWithMark:b.calc(b.controlHeightLG).sub(b.controlSize).equal()});return[Mr(C),Zr(C),ka(C)]},zo),qo=function(b,C){var z={};for(var H in b)Object.prototype.hasOwnProperty.call(b,H)&&C.indexOf(H)<0&&(z[H]=b[H]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,H=Object.getOwnPropertySymbols(b);cetypeof z=="number"?z.toString():""}var ll=u.forwardRef((b,C)=>{const{prefixCls:z,range:H,className:ce,rootClassName:Ie,style:ke,disabled:et,tooltipPrefixCls:Je,tipFormatter:ft,tooltipVisible:$t,getTooltipPopupContainer:At,tooltipPlacement:Wt}=b,fn=qo(b,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:bn,slider:xn,getPrefixCls:zn,getPopupContainer:kn}=u.useContext(un.E_),Dn=u.useContext(On.Z),pr=et!=null?et:Dn,[br,ur]=u.useState({}),Cr=(ca,sa)=>{ur(Ta=>Object.assign(Object.assign({},Ta),{[ca]:sa}))},Xr=(ca,sa)=>ca||(sa?bn==="rtl"?"left":"right":"top"),Hr=zn("slider",z),[Fr,Yr,qr]=_o(Hr),Er=L()(ce,xn==null?void 0:xn.className,Ie,{[`${Hr}-rtl`]:bn==="rtl"},Yr,qr);bn==="rtl"&&!fn.vertical&&(fn.reverse=!fn.reverse);const[da,aa]=u.useMemo(()=>H?typeof H=="object"?[!0,H.draggableTrack]:[!0,!1]:[!1],[H]),ga=(ca,sa)=>{var Ta;const{index:no,dragging:To}=sa,{tooltip:Po={},vertical:jo}=b,zi=Object.assign({},Po),{open:Bo,placement:pi,getPopupContainer:Ri,prefixCls:ui,formatter:ni}=zi,Si=hi(ni,ft),Yi=Si?br[no]||To:!1,gi=(Ta=Bo!=null?Bo:$t)!==null&&Ta!==void 0?Ta:Bo===void 0&&Yi,Ro=Object.assign(Object.assign({},ca.props),{onMouseEnter:()=>Cr(no,!0),onMouseLeave:()=>Cr(no,!1),onFocus:Uo=>{var Mo;Cr(no,!0),(Mo=fn.onFocus)===null||Mo===void 0||Mo.call(fn,Uo)},onBlur:Uo=>{var Mo;Cr(no,!1),(Mo=fn.onBlur)===null||Mo===void 0||Mo.call(fn,Uo)}});return u.createElement(es,Object.assign({},zi,{prefixCls:zn("tooltip",ui!=null?ui:Je),title:Si?Si(sa.value):"",open:gi,placement:Xr(pi!=null?pi:Wt,jo),key:no,overlayClassName:`${Hr}-tooltip`,getPopupContainer:Ri||At||kn}),u.cloneElement(ca,Ro))},Ma=Object.assign(Object.assign({},xn==null?void 0:xn.style),ke);return Fr(u.createElement(po,Object.assign({},fn,{step:fn.step,range:da,draggableTrack:aa,className:Er,style:Ma,disabled:pr,ref:C,prefixCls:Hr,handleRender:ga})))}),Lu=function(C,z){var H=C.text,ce=C.mode,Ie=C.render,ke=C.renderFormItem,et=C.fieldProps;if(ce==="read"){var Je=H;return Ie?Ie(H,(0,r.Z)({mode:ce},et),(0,Qe.jsx)(Qe.Fragment,{children:Je})):(0,Qe.jsx)(Qe.Fragment,{children:Je})}if(ce==="edit"||ce==="update"){var ft=(0,Qe.jsx)(ll,(0,r.Z)((0,r.Z)({ref:z},et),{},{style:(0,r.Z)({minWidth:120},et==null?void 0:et.style)}));return ke?ke(H,(0,r.Z)({mode:ce},et),ft):ft}return null},u1=u.forwardRef(Lu),hf=e(45321),pf=function(C,z){var H=C.text,ce=C.mode,Ie=C.render,ke=C.light,et=C.label,Je=C.renderFormItem,ft=C.fieldProps,$t=(0,o.YB)(),At=(0,u.useMemo)(function(){var zn,kn;return H==null||"".concat(H).length<1?"-":H?(zn=ft==null?void 0:ft.checkedChildren)!==null&&zn!==void 0?zn:$t.getMessage("switch.open","\u6253\u5F00"):(kn=ft==null?void 0:ft.unCheckedChildren)!==null&&kn!==void 0?kn:$t.getMessage("switch.close","\u5173\u95ED")},[ft==null?void 0:ft.checkedChildren,ft==null?void 0:ft.unCheckedChildren,H]);if(ce==="read")return Ie?Ie(H,(0,r.Z)({mode:ce},ft),(0,Qe.jsx)(Qe.Fragment,{children:At})):At!=null?At:"-";if(ce==="edit"||ce==="update"){var Wt,fn=(0,Qe.jsx)(hf.Z,(0,r.Z)((0,r.Z)({ref:z,size:ke?"small":void 0},(0,sd.Z)(ft,["value"])),{},{checked:(Wt=ft==null?void 0:ft.checked)!==null&&Wt!==void 0?Wt:ft==null?void 0:ft.value}));if(ke){var bn=ft.disabled,xn=ft.bordered;return(0,Qe.jsx)(w.Q,{label:et,disabled:bn,bordered:xn,downIcon:!1,value:(0,Qe.jsx)("div",{style:{paddingLeft:8},children:fn}),allowClear:!1})}return Je?Je(H,(0,r.Z)({mode:ce},ft),fn):fn}return null},gf=u.forwardRef(pf),A1=function(C,z){var H=C.text,ce=C.mode,Ie=C.render,ke=C.renderFormItem,et=C.fieldProps,Je=C.emptyText,ft=Je===void 0?"-":Je,$t=et||{},At=$t.autoFocus,Wt=$t.prefix,fn=Wt===void 0?"":Wt,bn=$t.suffix,xn=bn===void 0?"":bn,zn=(0,o.YB)(),kn=(0,u.useRef)();if((0,u.useImperativeHandle)(z,function(){return kn.current},[]),(0,u.useEffect)(function(){if(At){var Cr;(Cr=kn.current)===null||Cr===void 0||Cr.focus()}},[At]),ce==="read"){var Dn=(0,Qe.jsxs)(Qe.Fragment,{children:[fn,H!=null?H:ft,xn]});if(Ie){var pr;return(pr=Ie(H,(0,r.Z)({mode:ce},et),Dn))!==null&&pr!==void 0?pr:ft}return Dn}if(ce==="edit"||ce==="update"){var br=zn.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ur=(0,Qe.jsx)(bt.Z,(0,r.Z)({ref:kn,placeholder:br,allowClear:!0},et));return ke?ke(H,(0,r.Z)({mode:ce},et),ur):ur}return null},yf=u.forwardRef(A1),bf=function(C,z){var H=C.text,ce=(0,u.useContext)(P.ZP.ConfigContext),Ie=ce.getPrefixCls,ke=Ie("pro-field-readonly"),et="".concat(ke,"-textarea"),Je=(0,mn.Xj)("TextArea",function(){return(0,V.Z)({},".".concat(et),{display:"inline-block",lineHeight:"1.5715",maxWidth:"100%",whiteSpace:"pre-wrap"})}),ft=Je.wrapSSR,$t=Je.hashId;return ft((0,Qe.jsx)("span",{ref:z,className:L()($t,ke,et),style:{},children:H!=null?H:"-"}))},Cf=u.forwardRef(bf),L1=function(C,z){var H=C.text,ce=C.mode,Ie=C.render,ke=C.renderFormItem,et=C.fieldProps,Je=(0,o.YB)();if(ce==="read"){var ft=(0,Qe.jsx)(Cf,(0,r.Z)((0,r.Z)({},C),{},{ref:z}));return Ie?Ie(H,(0,r.Z)({mode:ce},et),ft):ft}if(ce==="edit"||ce==="update"){var $t=(0,Qe.jsx)(bt.Z.TextArea,(0,r.Z)({ref:z,rows:3,onKeyPress:function(Wt){Wt.key==="Enter"&&Wt.stopPropagation()},placeholder:Je.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},et));return ke?ke(H,(0,r.Z)({mode:ce},et),$t):$t}return null},xf=u.forwardRef(L1),I1=e(24023),Sf=function(C,z){var H=C.text,ce=C.mode,Ie=C.light,ke=C.label,et=C.format,Je=C.render,ft=C.renderFormItem,$t=C.plain,At=C.fieldProps,Wt=C.lightLabel,fn=(0,u.useState)(!1),bn=(0,f.Z)(fn,2),xn=bn[0],zn=bn[1],kn=(0,o.YB)(),Dn=(At==null?void 0:At.format)||et||"HH:mm:ss",pr=Pl().isDayjs(H)||typeof H=="number";if(ce==="read"){var br=(0,Qe.jsx)("span",{ref:z,children:H?Pl()(H,pr?void 0:Dn).format(Dn):"-"});return Je?Je(H,(0,r.Z)({mode:ce},At),(0,Qe.jsx)("span",{children:br})):br}if(ce==="edit"||ce==="update"){var ur,Cr=At.disabled,Xr=At.value,Hr=id(Xr,Dn);if(Ie){var Fr;ur=(0,Qe.jsx)(w.Q,{onClick:function(){var qr;At==null||(qr=At.onOpenChange)===null||qr===void 0||qr.call(At,!0),zn(!0)},style:Hr?{paddingInlineEnd:0}:void 0,label:ke,disabled:Cr,value:Hr||xn?(0,Qe.jsx)(I1.Z,(0,r.Z)((0,r.Z)({bordered:!1,format:et,ref:z},At),{},{placeholder:(Fr=At.placeholder)!==null&&Fr!==void 0?Fr:kn.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),value:Hr,onOpenChange:function(qr){var Er;zn(qr),At==null||(Er=At.onOpenChange)===null||Er===void 0||Er.call(At,qr)},open:xn})):null,downIcon:Hr||xn?!1:void 0,allowClear:!1,ref:Wt})}else ur=(0,Qe.jsx)(ld.default.TimePicker,(0,r.Z)((0,r.Z)({ref:z,format:et,bordered:$t===void 0?!0:!$t},At),{},{value:Hr}));return ft?ft(H,(0,r.Z)({mode:ce},At),ur):ur}return null},N1=function(C,z){var H=C.text,ce=C.light,Ie=C.label,ke=C.mode,et=C.lightLabel,Je=C.format,ft=C.render,$t=C.renderFormItem,At=C.plain,Wt=C.fieldProps,fn=(0,o.YB)(),bn=(0,u.useState)(!1),xn=(0,f.Z)(bn,2),zn=xn[0],kn=xn[1],Dn=(Wt==null?void 0:Wt.format)||Je||"HH:mm:ss",pr=Array.isArray(H)?H:[],br=(0,f.Z)(pr,2),ur=br[0],Cr=br[1],Xr=Pl().isDayjs(ur)||typeof ur=="number",Hr=Pl().isDayjs(Cr)||typeof Cr=="number",Fr=ur?Pl()(ur,Xr?void 0:Dn).format(Dn):"",Yr=Cr?Pl()(Cr,Hr?void 0:Dn).format(Dn):"";if(ke==="read"){var qr=(0,Qe.jsxs)("div",{ref:z,children:[(0,Qe.jsx)("div",{children:Fr||"-"}),(0,Qe.jsx)("div",{children:Yr||"-"})]});return ft?ft(H,(0,r.Z)({mode:ke},Wt),(0,Qe.jsx)("span",{children:qr})):qr}if(ke==="edit"||ke==="update"){var Er=id(Wt.value,Dn),da;if(ce){var aa=Wt.disabled,ga=Wt.placeholder,Ma=ga===void 0?[fn.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),fn.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")]:ga;da=(0,Qe.jsx)(w.Q,{onClick:function(){var sa;Wt==null||(sa=Wt.onOpenChange)===null||sa===void 0||sa.call(Wt,!0),kn(!0)},style:Er?{paddingInlineEnd:0}:void 0,label:Ie,disabled:aa,placeholder:Ma,value:Er||zn?(0,Qe.jsx)(I1.Z.RangePicker,(0,r.Z)((0,r.Z)({bordered:!1,format:Je,ref:z},Wt),{},{placeholder:Ma,value:Er,onOpenChange:function(sa){var Ta;kn(sa),Wt==null||(Ta=Wt.onOpenChange)===null||Ta===void 0||Ta.call(Wt,sa)},open:zn})):null,downIcon:Er||zn?!1:void 0,allowClear:!1,ref:et})}else da=(0,Qe.jsx)(I1.Z.RangePicker,(0,r.Z)((0,r.Z)({ref:z,format:Je,bordered:At===void 0?!0:!At},Wt),{},{value:Er}));return $t?$t(H,(0,r.Z)({mode:ke},Wt),da):da}return null},Of=u.forwardRef(N1),wf=u.forwardRef(Sf),Ef=function(b){var C=u.useRef({valueLabels:new Map});return u.useMemo(function(){var z=C.current.valueLabels,H=new Map,ce=b.map(function(Ie){var ke,et=Ie.value,Je=(ke=Ie.label)!==null&&ke!==void 0?ke:z.get(et);return H.set(et,Je),(0,r.Z)((0,r.Z)({},Ie),{},{label:Je})});return C.current.valueLabels=H,[ce]},[b])},H1=function(b,C,z,H){return u.useMemo(function(){var ce=b.map(function(Je){var ft=Je.value;return ft}),Ie=C.map(function(Je){var ft=Je.value;return ft}),ke=ce.filter(function(Je){return!H[Je]});if(z){var et=(0,F.S)(ce,!0,H);ce=et.checkedKeys,Ie=et.halfCheckedKeys}return[Array.from(new Set([].concat((0,Z.Z)(ke),(0,Z.Z)(ce)))),Ie]},[b,C,z,H])},Tf=function(b,C){return u.useMemo(function(){var z=(0,Ye.I8)(b,{fieldNames:C,initWrapper:function(ce){return(0,r.Z)((0,r.Z)({},ce),{},{valueEntities:new Map})},processEntity:function(ce,Ie){var ke=ce.node[C.value];if(!1)var et;Ie.valueEntities.set(ke,ce)}});return z},[b,C])},Pf=function(){return null},Z1=Pf,B1=["children","value"];function j1(b){return(0,wn.Z)(b).map(function(C){if(!u.isValidElement(C)||!C.type)return null;var z=C,H=z.key,ce=z.props,Ie=ce.children,ke=ce.value,et=(0,t.Z)(ce,B1),Je=(0,r.Z)({key:H,value:ke},et),ft=j1(Ie);return ft.length&&(Je.children=ft),Je}).filter(function(C){return C})}function F1(b){if(!b)return b;var C=(0,r.Z)({},b);return"props"in C||Object.defineProperty(C,"props",{get:function(){return(0,ze.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),C}}),C}function Mf(b,C,z,H,ce,Ie){var ke=null,et=null;function Je(){function ft($t){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return $t.map(function(fn,bn){var xn="".concat(At,"-").concat(bn),zn=fn[Ie.value],kn=z.includes(zn),Dn=ft(fn[Ie.children]||[],xn,kn),pr=u.createElement(Z1,fn,Dn.map(function(ur){return ur.node}));if(C===zn&&(ke=pr),kn){var br={pos:xn,node:pr,children:Dn};return Wt||et.push(br),br}return null}).filter(function(fn){return fn})}et||(et=[],ft(H),et.sort(function($t,At){var Wt=$t.node.props.value,fn=At.node.props.value,bn=z.indexOf(Wt),xn=z.indexOf(fn);return bn-xn}))}Object.defineProperty(b,"triggerNode",{get:function(){return(0,ze.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Je(),ke}}),Object.defineProperty(b,"allCheckedNodes",{get:function(){return(0,ze.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Je(),ce?et:et.map(function($t){var At=$t.node;return At})}})}var V1=function(b,C,z){var H=z.treeNodeFilterProp,ce=z.filterTreeNode,Ie=z.fieldNames,ke=Ie.children;return u.useMemo(function(){if(!C||ce===!1)return b;var et;if(typeof ce=="function")et=ce;else{var Je=C.toUpperCase();et=function(At,Wt){var fn=Wt[H];return String(fn).toUpperCase().includes(Je)}}function ft($t){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return $t.reduce(function(Wt,fn){var bn=fn[ke],xn=At||et(C,F1(fn)),zn=ft(bn||[],xn);return(xn||zn.length)&&Wt.push((0,r.Z)((0,r.Z)({},fn),{},(0,V.Z)({isLeaf:void 0},ke,zn))),Wt},[])}return ft(b)},[b,C,ke,H,ce])};function W1(b){var C=u.useRef();C.current=b;var z=u.useCallback(function(){return C.current.apply(C,arguments)},[]);return z}function Rf(b,C){var z=C.id,H=C.pId,ce=C.rootPId,Ie={},ke=[],et=b.map(function(Je){var ft=(0,r.Z)({},Je),$t=ft[z];return Ie[$t]=ft,ft.key=ft.key||$t,ft});return et.forEach(function(Je){var ft=Je[H],$t=Ie[ft];$t&&($t.children=$t.children||[],$t.children.push(Je)),(ft===ce||!$t&&ce===null)&&ke.push(Je)}),ke}function If(b,C,z){return u.useMemo(function(){return b?z?Rf(b,(0,r.Z)({id:"id",pId:"pId",rootPId:null},z!==!0?z:{})):b:j1(C)},[C,z,b])}var k1=u.createContext(null),U1=k1,Zf=e(92807),Ff=e(76965),K1=u.createContext(null),G1=K1;function $f(b){return Array.isArray(b)?b:b!==void 0?[b]:[]}function Y1(b){var C=b||{},z=C.label,H=C.value,ce=C.children,Ie=H||"value";return{_title:z?[z]:["title","label"],value:Ie,key:Ie,children:ce||"children"}}function $1(b){return!b||b.disabled||b.disableCheckbox||b.checkable===!1}function zf(b,C){var z=[];function H(ce){ce.forEach(function(Ie){var ke=Ie[C.children];ke&&(z.push(Ie[C.value]),H(ke))})}return H(b),z}function X1(b){return b==null}var Q1={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Df=function(C,z){var H=(0,T.lk)(),ce=H.prefixCls,Ie=H.multiple,ke=H.searchValue,et=H.toggleOpen,Je=H.open,ft=H.notFoundContent,$t=u.useContext(G1),At=$t.virtual,Wt=$t.listHeight,fn=$t.listItemHeight,bn=$t.listItemScrollOffset,xn=$t.treeData,zn=$t.fieldNames,kn=$t.onSelect,Dn=$t.dropdownMatchSelectWidth,pr=$t.treeExpandAction,br=u.useContext(U1),ur=br.checkable,Cr=br.checkedKeys,Xr=br.halfCheckedKeys,Hr=br.treeExpandedKeys,Fr=br.treeDefaultExpandAll,Yr=br.treeDefaultExpandedKeys,qr=br.onTreeExpand,Er=br.treeIcon,da=br.showTreeIcon,aa=br.switcherIcon,ga=br.treeLine,Ma=br.treeNodeFilterProp,ca=br.loadData,sa=br.treeLoadedKeys,Ta=br.treeMotion,no=br.onTreeLoad,To=br.keyEntities,Po=u.useRef(),jo=(0,Zf.Z)(function(){return xn},[Je,xn],function(Ji,Qo){return Qo[0]&&Ji[1]!==Qo[1]}),zi=u.useState(null),Bo=(0,f.Z)(zi,2),pi=Bo[0],Ri=Bo[1],ui=To[pi],ni=u.useMemo(function(){return ur?{checked:Cr,halfChecked:Xr}:null},[ur,Cr,Xr]);u.useEffect(function(){if(Je&&!Ie&&Cr.length){var Ji;(Ji=Po.current)===null||Ji===void 0||Ji.scrollTo({key:Cr[0]}),Ri(Cr[0])}},[Je]);var Si=String(ke).toLowerCase(),Yi=function(Qo){return Si?String(Qo[Ma]).toLowerCase().includes(Si):!1},gi=u.useState(Yr),Ro=(0,f.Z)(gi,2),Uo=Ro[0],Mo=Ro[1],Wo=u.useState(null),yi=(0,f.Z)(Wo,2),Hi=yi[0],xl=yi[1],Bi=u.useMemo(function(){return Hr?(0,Z.Z)(Hr):ke?Hi:Uo},[Uo,Hi,Hr,ke]);u.useEffect(function(){ke&&xl(zf(xn,zn))},[ke]);var Hl=function(Qo){Mo(Qo),xl(Qo),qr&&qr(Qo)},hl=function(Qo){Qo.preventDefault()},vs=function(Qo,Go){var Oi=Go.node;ur&&$1(Oi)||(kn(Oi.key,{selected:!Cr.includes(Oi.key)}),Ie||et(!1))};if(u.useImperativeHandle(z,function(){var Ji;return{scrollTo:(Ji=Po.current)===null||Ji===void 0?void 0:Ji.scrollTo,onKeyDown:function(Go){var Oi,_i=Go.which;switch(_i){case ee.Z.UP:case ee.Z.DOWN:case ee.Z.LEFT:case ee.Z.RIGHT:(Oi=Po.current)===null||Oi===void 0||Oi.onKeyDown(Go);break;case ee.Z.ENTER:{if(ui){var Ti=(ui==null?void 0:ui.node)||{},rl=Ti.selectable,Ms=Ti.value;rl!==!1&&vs(null,{node:{key:pi},selected:!Cr.includes(Ms)})}break}case ee.Z.ESC:et(!1)}},onKeyUp:function(){}}}),jo.length===0)return u.createElement("div",{role:"listbox",className:"".concat(ce,"-empty"),onMouseDown:hl},ft);var ts={fieldNames:zn};return sa&&(ts.loadedKeys=sa),Bi&&(ts.expandedKeys=Bi),u.createElement("div",{onMouseDown:hl},ui&&Je&&u.createElement("span",{style:Q1,"aria-live":"assertive"},ui.node.value),u.createElement(Ff.Z,(0,I.Z)({ref:Po,focusable:!1,prefixCls:"".concat(ce,"-tree"),treeData:jo,height:Wt,itemHeight:fn,itemScrollOffset:bn,virtual:At!==!1&&Dn!==!1,multiple:Ie,icon:Er,showIcon:da,switcherIcon:aa,showLine:ga,loadData:ke?null:ca,motion:Ta,activeKey:pi,checkable:ur,checkStrictly:!0,checkedKeys:ni,selectedKeys:ur?[]:Cr,defaultExpandAll:Fr},ts,{onActiveChange:Ri,onSelect:vs,onCheck:vs,onExpand:Hl,onLoad:no,filterTreeNode:Yi,expandAction:pr})))},J1=u.forwardRef(Df);J1.displayName="OptionList";var Af=J1,d1="SHOW_ALL",z1="SHOW_PARENT",f1="SHOW_CHILD";function _1(b,C,z,H){var ce=new Set(b);return C===f1?b.filter(function(Ie){var ke=z[Ie];return!(ke&&ke.children&&ke.children.some(function(et){var Je=et.node;return ce.has(Je[H.value])})&&ke.children.every(function(et){var Je=et.node;return $1(Je)||ce.has(Je[H.value])}))}):C===z1?b.filter(function(Ie){var ke=z[Ie],et=ke?ke.parent:null;return!(et&&!$1(et.node)&&ce.has(et.key))}):b}function Lf(b){var C=b.searchPlaceholder,z=b.treeCheckStrictly,H=b.treeCheckable,ce=b.labelInValue,Ie=b.value,ke=b.multiple;warning(!C,"`searchPlaceholder` has been removed."),z&&ce===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ce||z)&&warning(toArray(Ie).every(function(et){return et&&_typeof(et)==="object"&&"value"in et}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),z||ke||H?warning(!Ie||Array.isArray(Ie),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ie),"`value` should not be array when `TreeSelect` is single mode.")}var x4=null,Nf=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Hf(b){return!b||(0,n.Z)(b)!=="object"}var q1=u.forwardRef(function(b,C){var z=b.id,H=b.prefixCls,ce=H===void 0?"rc-tree-select":H,Ie=b.value,ke=b.defaultValue,et=b.onChange,Je=b.onSelect,ft=b.onDeselect,$t=b.searchValue,At=b.inputValue,Wt=b.onSearch,fn=b.autoClearSearchValue,bn=fn===void 0?!0:fn,xn=b.filterTreeNode,zn=b.treeNodeFilterProp,kn=zn===void 0?"value":zn,Dn=b.showCheckedStrategy,pr=b.treeNodeLabelProp,br=b.multiple,ur=b.treeCheckable,Cr=b.treeCheckStrictly,Xr=b.labelInValue,Hr=b.fieldNames,Fr=b.treeDataSimpleMode,Yr=b.treeData,qr=b.children,Er=b.loadData,da=b.treeLoadedKeys,aa=b.onTreeLoad,ga=b.treeDefaultExpandAll,Ma=b.treeExpandedKeys,ca=b.treeDefaultExpandedKeys,sa=b.onTreeExpand,Ta=b.treeExpandAction,no=b.virtual,To=b.listHeight,Po=To===void 0?200:To,jo=b.listItemHeight,zi=jo===void 0?20:jo,Bo=b.listItemScrollOffset,pi=Bo===void 0?0:Bo,Ri=b.onDropdownVisibleChange,ui=b.dropdownMatchSelectWidth,ni=ui===void 0?!0:ui,Si=b.treeLine,Yi=b.treeIcon,gi=b.showTreeIcon,Ro=b.switcherIcon,Uo=b.treeMotion,Mo=(0,t.Z)(b,Nf),Wo=(0,q.ZP)(z),yi=ur&&!Cr,Hi=ur||Cr,xl=Cr||Xr,Bi=Hi||br,Hl=(0,M.Z)(ke,{value:Ie}),hl=(0,f.Z)(Hl,2),vs=hl[0],ts=hl[1],Ji=u.useMemo(function(){return ur?Dn||f1:d1},[Dn,ur]),Qo=u.useMemo(function(){return Y1(Hr)},[JSON.stringify(Hr)]),Go=(0,M.Z)("",{value:$t!==void 0?$t:At,postState:function(go){return go||""}}),Oi=(0,f.Z)(Go,2),_i=Oi[0],Ti=Oi[1],rl=function(go){Ti(go),Wt==null||Wt(go)},Ms=If(Yr,qr,Fr),Rs=Tf(Ms,Qo),ns=Rs.keyEntities,ks=Rs.valueEntities,_c=u.useCallback(function(Ao){var go=[],Ci=[];return Ao.forEach(function(Ii){ks.has(Ii)?Ci.push(Ii):go.push(Ii)}),{missingRawValues:go,existRawValues:Ci}},[ks]),yu=V1(Ms,_i,{fieldNames:Qo,treeNodeFilterProp:kn,filterTreeNode:xn}),bu=u.useCallback(function(Ao){if(Ao){if(pr)return Ao[pr];for(var go=Qo._title,Ci=0;Ci{const{componentCls:C,treePrefixCls:z,colorBgElevated:H}=b,ce=`.${z}`;return[{[`${C}-dropdown`]:[{padding:`${(0,Ct.bf)(b.paddingXS)} ${(0,Ct.bf)(b.calc(b.paddingXS).div(2).equal())}`},(0,tf.Yk)(z,(0,si.TS)(b,{colorBgContainer:H})),{[ce]:{borderRadius:0,[`${ce}-list-holder-inner`]:{alignItems:"stretch",[`${ce}-treenode`]:{[`${ce}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Dt.C2)(`${z}-checkbox`,b),{"&-rtl":{direction:"rtl",[`${ce}-switcher${ce}-switcher_close`]:{[`${ce}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Wf=null;function kf(b,C,z){return(0,It.I$)("TreeSelect",H=>{const ce=(0,si.TS)(H,{treePrefixCls:C});return[Vf(ce)]},tf.TM)(b,z)}var Uf=function(b,C){var z={};for(var H in b)Object.prototype.hasOwnProperty.call(b,H)&&C.indexOf(H)<0&&(z[H]=b[H]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,H=Object.getOwnPropertySymbols(b);ce{var z,H,{prefixCls:ce,size:Ie,disabled:ke,bordered:et=!0,className:Je,rootClassName:ft,treeCheckable:$t,multiple:At,listHeight:Wt=256,listItemHeight:fn=26,placement:bn,notFoundContent:xn,switcherIcon:zn,treeLine:kn,getPopupContainer:Dn,popupClassName:pr,dropdownClassName:br,treeIcon:ur=!1,transitionName:Cr,choiceTransitionName:Xr="",status:Hr,treeExpandAction:Fr,builtinPlacements:Yr,dropdownMatchSelectWidth:qr,popupMatchSelectWidth:Er,allowClear:da}=b,aa=Uf(b,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:ga,getPrefixCls:Ma,renderEmpty:ca,direction:sa,virtual:Ta,popupMatchSelectWidth:no,popupOverflow:To}=u.useContext(un.E_),Po=Ma(),jo=Ma("select",ce),zi=Ma("select-tree",ce),Bo=Ma("tree-select",ce),{compactSize:pi,compactItemClassnames:Ri}=(0,dn.ri)(jo,sa),ui=(0,yt.Z)(jo),ni=(0,yt.Z)(Bo),[Si,Yi,gi]=(0,an.Z)(jo,ui),[Ro]=kf(Bo,zi,ni),Uo=L()(pr||br,`${Bo}-dropdown`,{[`${Bo}-dropdown-rtl`]:sa==="rtl"},ft,gi,ui,ni,Yi),Mo=!!($t||At),Wo=(0,Un.Z)(aa.suffixIcon,aa.showArrow),yi=(z=Er!=null?Er:qr)!==null&&z!==void 0?z:no,{status:Hi,hasFeedback:xl,isFormItemInput:Bi,feedbackIcon:Hl}=u.useContext(Qt.aM),hl=(0,ot.F)(Hi,Hr),{suffixIcon:vs,removeIcon:ts,clearIcon:Ji}=(0,$n.Z)(Object.assign(Object.assign({},aa),{multiple:Mo,showSuffixIcon:Wo,hasFeedback:xl,feedbackIcon:Hl,prefixCls:jo,componentName:"TreeSelect"})),Qo=da===!0?{clearIcon:Ji}:da;let Go;xn!==void 0?Go=xn:Go=(ca==null?void 0:ca("Select"))||u.createElement(Cn.Z,{componentName:"Select"});const Oi=(0,at.Z)(aa,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),_i=u.useMemo(()=>bn!==void 0?bn:sa==="rtl"?"bottomRight":"bottomLeft",[bn,sa]),Ti=(0,Lt.Z)(yu=>{var bu;return(bu=Ie!=null?Ie:pi)!==null&&bu!==void 0?bu:yu}),rl=u.useContext(On.Z),Ms=ke!=null?ke:rl,Rs=L()(!ce&&Bo,{[`${jo}-lg`]:Ti==="large",[`${jo}-sm`]:Ti==="small",[`${jo}-rtl`]:sa==="rtl",[`${jo}-borderless`]:!et,[`${jo}-in-form-item`]:Bi},(0,ot.Z)(jo,hl,xl),Ri,Je,ft,gi,ui,ni,Yi),ns=yu=>u.createElement(jf.Z,{prefixCls:zi,switcherIcon:zn,treeNodeProps:yu,showLine:kn}),[ks]=(0,mt.Cn)("SelectLike",(H=aa.dropdownStyle)===null||H===void 0?void 0:H.zIndex),_c=u.createElement(ef,Object.assign({virtual:Ta,disabled:Ms},Oi,{dropdownMatchSelectWidth:yi,builtinPlacements:(0,Kt.Z)(Yr,To),ref:C,prefixCls:jo,className:Rs,listHeight:Wt,listItemHeight:fn,treeCheckable:$t&&u.createElement("span",{className:`${jo}-tree-checkbox-inner`}),treeLine:!!kn,suffixIcon:vs,multiple:Mo,placement:_i,removeIcon:ts,allowClear:Qo,switcherIcon:ns,showTreeIcon:ur,notFoundContent:Go,getPopupContainer:Dn||ga,treeMotion:null,dropdownClassName:Uo,dropdownStyle:Object.assign(Object.assign({},aa.dropdownStyle),{zIndex:ks}),choiceTransitionName:(0,zt.m)(Po,"",Xr),transitionName:(0,zt.m)(Po,"slide-up",Cr),treeExpandAction:Fr}));return Si(Ro(_c))},Pd=u.forwardRef(Kf),Yf=(0,hn.Z)(Pd);Pd.TreeNode=Z1,Pd.SHOW_ALL=d1,Pd.SHOW_PARENT=z1,Pd.SHOW_CHILD=f1,Pd._InternalPanelDoNotUseOrYouWillBeFired=Yf;var Xf=Pd,nf=["radioType","renderFormItem","mode","light","label","render"],Qf=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","fetchDataOnSearch","searchValue"],Jf=function(C,z){var H=C.radioType,ce=C.renderFormItem,Ie=C.mode,ke=C.light,et=C.label,Je=C.render,ft=(0,t.Z)(C,nf),$t=(0,u.useContext)(P.ZP.ConfigContext),At=$t.getPrefixCls,Wt=At("pro-field-tree-select"),fn=(0,u.useRef)(null),bn=(0,u.useState)(!1),xn=(0,f.Z)(bn,2),zn=xn[0],kn=xn[1],Dn=ft.fieldProps,pr=Dn.onSearch,br=Dn.onClear,ur=Dn.onChange,Cr=Dn.onBlur,Xr=Dn.showSearch,Hr=Dn.autoClearSearchValue,Fr=Dn.treeData,Yr=Dn.fetchDataOnSearch,qr=Dn.searchValue,Er=(0,t.Z)(Dn,Qf),da=(0,o.YB)(),aa=(0,Zt.aK)((0,r.Z)((0,r.Z)({},ft),{},{defaultKeyWords:qr})),ga=(0,f.Z)(aa,3),Ma=ga[0],ca=ga[1],sa=ga[2],Ta=(0,M.Z)(void 0,{onChange:pr,value:qr}),no=(0,f.Z)(Ta,2),To=no[0],Po=no[1];(0,u.useImperativeHandle)(z,function(){return(0,r.Z)((0,r.Z)({},fn.current||{}),{},{fetchData:function(Wo){return sa(Wo)}})});var jo=(0,u.useMemo)(function(){if(Ie==="read"){var Mo=(Er==null?void 0:Er.fieldNames)||{},Wo=Mo.value,yi=Wo===void 0?"value":Wo,Hi=Mo.label,xl=Hi===void 0?"label":Hi,Bi=Mo.children,Hl=Bi===void 0?"children":Bi,hl=new Map,vs=function ts(Ji){if(!(Ji!=null&&Ji.length))return hl;for(var Qo=Ji.length,Go=0;Go0&&xe!=="read"?(0,V.jsx)("div",{className:"".concat(Ye,"-action ").concat(he).trim(),children:yt}):null,Qt={name:tt.name,field:re,index:de,record:Y==null||(ve=Y.getFieldValue)===null||ve===void 0?void 0:ve.call(Y,[Ue.listName,N,re.name].filter(function(dn){return dn!==void 0}).flat(1)),fields:A,operation:qe,meta:K},Kt=(0,S.zx)(),an=Kt.grid,$n=(we==null?void 0:we(ot,Qt))||ot,Un=(st==null?void 0:st({listDom:(0,V.jsx)("div",{className:"".concat(Ye,"-container ").concat(ie||""," ").concat(he||"").trim(),style:(0,t.Z)({width:an?"100%":void 0},oe),children:$n}),action:Lt},Qt))||(0,V.jsxs)("div",{className:"".concat(Ye,"-item ").concat(he,` `).concat(ct===void 0&&"".concat(Ye,"-item-default"),` - `).concat(ct?"".concat(Ye,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[(0,V.jsx)("div",{className:"".concat(Ye,"-container ").concat(ie||""," ").concat(he).trim(),style:(0,t.Z)({width:an?"100%":void 0},oe),children:$n}),Lt]});return(0,V.jsx)(se.Provider,{value:(0,t.Z)((0,t.Z)({},re),{},{listName:[Ue.listName,N,re.name].filter(function(dn){return dn!==void 0}).flat(1)}),children:Un})},ue=function(k){var ve=(0,a.YB)(),be=k.creatorButtonProps,Ee=k.prefixCls,je=k.children,we=k.creatorRecord,st=k.action,ct=k.fields,Ye=k.actionGuard,ut=k.max,qe=k.fieldExtraRender,ze=k.meta,W=k.containerClassName,F=k.containerStyle,A=k.onAfterAdd,K=k.onAfterRemove,re=(0,f.useContext)(a.L_),de=re.hashId,Y=(0,f.useRef)(new Map),N=(0,f.useState)(!1),ie=(0,P.Z)(N,2),oe=ie[0],ee=ie[1],fe=(0,f.useMemo)(function(){return ct.map(function(Ge){var pe,xe;if(!((pe=Y.current)!==null&&pe!==void 0&&pe.has(Ge.key.toString()))){var Oe;(Oe=Y.current)===null||Oe===void 0||Oe.set(Ge.key.toString(),(0,D.x)())}var Fe=(xe=Y.current)===null||xe===void 0?void 0:xe.get(Ge.key.toString());return(0,t.Z)((0,t.Z)({},Ge),{},{uuid:Fe})})},[ct]),Ne=(0,f.useMemo)(function(){var Ge=(0,t.Z)({},st),pe=fe.length;return Ye!=null&&Ye.beforeAddRow?Ge.add=(0,w.Z)((0,O.Z)().mark(function xe(){var Oe,Fe,We,Se,Te,Ae=arguments;return(0,O.Z)().wrap(function(mt){for(;;)switch(mt.prev=mt.next){case 0:for(Oe=Ae.length,Fe=new Array(Oe),We=0;We0&&arguments[0]!==void 0?arguments[0]:{},L=D.children,I=D.Wrapper,T=(0,n.Z)(D,c);return O?(0,s.jsx)(o.Z,(0,t.Z)((0,t.Z)((0,t.Z)({gutter:8},w),T),{},{children:L})):I?(0,s.jsx)(I,{children:L}):L},ColWrapper:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=D.children,I=D.Wrapper,T=(0,n.Z)(D,v),q=(0,a.useMemo)(function(){var Q=(0,t.Z)((0,t.Z)({},P),T);return typeof Q.span=="undefined"&&typeof Q.xs=="undefined"&&(Q.xs=24),Q},[T]);return O?(0,s.jsx)(l.Z,(0,t.Z)((0,t.Z)({},q),{},{children:L})):I?(0,s.jsx)(I,{children:L}):L}}},u=function(S){var O=(0,a.useMemo)(function(){return(0,r.Z)(S)==="object"?S:{grid:S}},[S]),w=(0,a.useContext)(g),P=w.grid,Z=w.colProps;return(0,a.useMemo)(function(){return x({grid:!!(P||O.grid),rowProps:O==null?void 0:O.rowProps,colProps:(O==null?void 0:O.colProps)||Z,Wrapper:O==null?void 0:O.Wrapper})},[O==null?void 0:O.Wrapper,O.grid,P,JSON.stringify([Z,O==null?void 0:O.colProps,O==null?void 0:O.rowProps])])}},5e4:function(h,m,e){"use strict";e.d(m,{Y:function(){return Z}});var r=e(11642),t=e(73356),n=e(35361),o=e(959),l=e(56929),a=e(6721),s=e(96558),c=e(94675),v=e(72266),g=e.n(v),x=e(3691),u=e(3769),f=e(50959),S=e(10422),O=e(57377),w=e(11527),P=["children","trigger","onVisibleChange","onOpenChange","modalProps","onFinish","submitTimeout","title","width","visible","open"];function Z(D){var L,I,T=D.children,q=D.trigger,Q=D.onVisibleChange,M=D.onOpenChange,J=D.modalProps,X=D.onFinish,V=D.submitTimeout,U=D.title,ae=D.width,le=D.visible,ue=D.open,R=(0,l.Z)(D,P);(0,u.ET)(!R.footer||!(J!=null&&J.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var B=(0,f.useContext)(s.ZP.ConfigContext),G=(0,f.useState)([]),$=(0,o.Z)(G,2),j=$[1],se=(0,f.useState)(!1),me=(0,o.Z)(se,2),ne=me[0],k=me[1],ve=(0,x.Z)(!!le,{value:ue||le,onChange:M||Q}),be=(0,o.Z)(ve,2),Ee=be[0],je=be[1],we=(0,f.useRef)(null),st=(0,f.useCallback)(function(A){we.current===null&&A&&j([]),we.current=A},[]),ct=(0,f.useRef)(),Ye=(0,f.useCallback)(function(){var A,K,re,de=(A=(K=R.form)!==null&&K!==void 0?K:(re=R.formRef)===null||re===void 0?void 0:re.current)!==null&&A!==void 0?A:ct.current;de&&J!==null&&J!==void 0&&J.destroyOnClose&&de.resetFields()},[J==null?void 0:J.destroyOnClose,R.form,R.formRef]);(0,f.useImperativeHandle)(R.formRef,function(){return ct.current},[ct.current]),(0,f.useEffect)(function(){Ee&&(ue||le)&&(M==null||M(!0),Q==null||Q(!0))},[le,ue,Ee]);var ut=(0,f.useMemo)(function(){return q?f.cloneElement(q,(0,n.Z)((0,n.Z)({key:"trigger"},q.props),{},{onClick:function(){var A=(0,t.Z)((0,r.Z)().mark(function re(de){var Y,N;return(0,r.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:je(!Ee),(Y=q.props)===null||Y===void 0||(N=Y.onClick)===null||N===void 0||N.call(Y,de);case 2:case"end":return oe.stop()}},re)}));function K(re){return A.apply(this,arguments)}return K}()})):null},[je,q,Ee]),qe=(0,f.useMemo)(function(){var A,K,re,de,Y,N;return R.submitter===!1?!1:g()({searchConfig:{submitText:(A=(K=J==null?void 0:J.okText)!==null&&K!==void 0?K:(re=B.locale)===null||re===void 0||(re=re.Modal)===null||re===void 0?void 0:re.okText)!==null&&A!==void 0?A:"\u786E\u8BA4",resetText:(de=(Y=J==null?void 0:J.cancelText)!==null&&Y!==void 0?Y:(N=B.locale)===null||N===void 0||(N=N.Modal)===null||N===void 0?void 0:N.cancelText)!==null&&de!==void 0?de:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:V?ne:void 0,onClick:function(oe){var ee;je(!1),J==null||(ee=J.onCancel)===null||ee===void 0||ee.call(J,oe)}}},R.submitter)},[(L=B.locale)===null||L===void 0||(L=L.Modal)===null||L===void 0?void 0:L.cancelText,(I=B.locale)===null||I===void 0||(I=I.Modal)===null||I===void 0?void 0:I.okText,J,R.submitter,je,ne,V]),ze=(0,f.useCallback)(function(A,K){return(0,w.jsxs)(w.Fragment,{children:[A,we.current&&K?(0,w.jsx)(f.Fragment,{children:(0,S.createPortal)(K,we.current)},"submitter"):K]})},[]),W=(0,f.useCallback)(function(){var A=(0,t.Z)((0,r.Z)().mark(function K(re){var de,Y,N;return(0,r.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return de=X==null?void 0:X(re),V&&de instanceof Promise&&(k(!0),Y=setTimeout(function(){return k(!1)},V),de.finally(function(){clearTimeout(Y),k(!1)})),oe.next=4,de;case 4:return N=oe.sent,N&&je(!1),oe.abrupt("return",N);case 7:case"end":return oe.stop()}},K)}));return function(K){return A.apply(this,arguments)}}(),[X,je,V]),F=(0,a.X)(Ee);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(c.Z,(0,n.Z)((0,n.Z)((0,n.Z)({title:U,width:ae||800},J),F),{},{onCancel:function(K){var re;V&&ne||(je(!1),J==null||(re=J.onCancel)===null||re===void 0||re.call(J,K))},afterClose:function(){var K;Ye(),je(!1),J==null||(K=J.afterClose)===null||K===void 0||K.call(J)},footer:R.submitter!==!1?(0,w.jsx)("div",{ref:st,style:{display:"flex",justifyContent:"flex-end"}}):null,children:(0,w.jsx)(O.I,(0,n.Z)((0,n.Z)({formComponentType:"ModalForm",layout:"vertical"},R),{},{onInit:function(K,re){var de;R.formRef&&(R.formRef.current=re),R==null||(de=R.onInit)===null||de===void 0||de.call(R,K,re),ct.current=re},formRef:ct,submitter:qe,onFinish:function(){var A=(0,t.Z)((0,r.Z)().mark(function K(re){var de;return(0,r.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,W(re);case 2:return de=N.sent,N.abrupt("return",de);case 4:case"end":return N.stop()}},K)}));return function(K){return A.apply(this,arguments)}}(),contentRender:ze,children:T}))})),ut]})}},49547:function(h,m,e){"use strict";e.d(m,{A:function(){return Q}});var r=e(35361),t=e(50925),n=e(50959),o=e(57377),l=e(26099),a=e(88357),s=e(959),c=e(74303),v=e(3691),g=e(35769),x=e(96558),u=e(36735),f=e(82187),S=e.n(f),O=e(71252),w=e(88929),P=e(69601),Z=function(J){var X;return(0,a.Z)({},J.componentCls,{"&-title":{marginBlockEnd:J.marginXL,fontWeight:"bold"},"&-container":(0,a.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(J.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(X={display:"block",width:"100%"},(0,a.Z)(X,"".concat(J.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,a.Z)(X,"".concat(J.componentCls,"-container"),{paddingInlineStart:16}),(0,a.Z)(X,"".concat(J.antCls,"-space-item,").concat(J.antCls,"-form-item"),{width:"100%"}),(0,a.Z)(X,"".concat(J.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),X)})};function D(M){return(0,P.Xj)("ProFormGroup",function(J){var X=(0,r.Z)((0,r.Z)({},J),{},{componentCls:".".concat(M)});return[Z(X)]})}var L=e(11527),I=n.forwardRef(function(M,J){var X=n.useContext(O.Z),V=X.groupProps,U=(0,r.Z)((0,r.Z)({},V),M),ae=U.children,le=U.collapsible,ue=U.defaultCollapsed,R=U.style,B=U.labelLayout,G=U.title,$=G===void 0?M.label:G,j=U.tooltip,se=U.align,me=se===void 0?"start":se,ne=U.direction,k=U.size,ve=k===void 0?32:k,be=U.titleStyle,Ee=U.titleRender,je=U.spaceProps,we=U.extra,st=U.autoFocus,ct=(0,v.Z)(function(){return ue||!1},{value:M.collapsed,onChange:M.onCollapse}),Ye=(0,s.Z)(ct,2),ut=Ye[0],qe=Ye[1],ze=(0,n.useContext)(x.ZP.ConfigContext),W=ze.getPrefixCls,F=(0,w.zx)(M),A=F.ColWrapper,K=F.RowWrapper,re=W("pro-form-group"),de=D(re),Y=de.wrapSSR,N=de.hashId,ie=le&&(0,L.jsx)(c.Z,{style:{marginInlineEnd:8},rotate:ut?void 0:90}),oe=(0,L.jsx)(g.G,{label:ie?(0,L.jsxs)("div",{children:[ie,$]}):$,tooltip:j}),ee=(0,n.useCallback)(function(Ue){var Ge=Ue.children;return(0,L.jsx)(u.Z,(0,r.Z)((0,r.Z)({},je),{},{className:S()("".concat(re,"-container ").concat(N),je==null?void 0:je.className),size:ve,align:me,direction:ne,style:(0,r.Z)({rowGap:0},je==null?void 0:je.style),children:Ge}))},[me,re,ne,N,ve,je]),fe=Ee?Ee(oe,M):oe,Ne=(0,n.useMemo)(function(){var Ue=[],Ge=n.Children.toArray(ae).map(function(pe,xe){var Oe;return n.isValidElement(pe)&&pe!==null&&pe!==void 0&&(Oe=pe.props)!==null&&Oe!==void 0&&Oe.hidden?(Ue.push(pe),null):xe===0&&n.isValidElement(pe)&&st?n.cloneElement(pe,(0,r.Z)((0,r.Z)({},pe.props),{},{autoFocus:st})):pe});return[(0,L.jsx)(K,{Wrapper:ee,children:Ge},"children"),Ue.length>0?(0,L.jsx)("div",{style:{display:"none"},children:Ue}):null]},[ae,K,ee,st]),tt=(0,s.Z)(Ne,2),$e=tt[0],he=tt[1];return Y((0,L.jsx)(A,{children:(0,L.jsxs)("div",{className:S()(re,N,(0,a.Z)({},"".concat(re,"-twoLine"),B==="twoLine")),style:R,ref:J,children:[he,($||j||we)&&(0,L.jsx)("div",{className:"".concat(re,"-title ").concat(N).trim(),style:be,onClick:function(){qe(!ut)},children:we?(0,L.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[fe,(0,L.jsx)("span",{onClick:function(Ge){return Ge.stopPropagation()},children:we})]}):fe}),(0,L.jsx)("div",{style:{display:le&&ut?"none":void 0},children:$e})]})}))});I.displayName="ProForm-Group";var T=I,q=e(69439);function Q(M){return(0,L.jsx)(o.I,(0,r.Z)({layout:"vertical",submitter:{render:function(X,V){return V.reverse()}},contentRender:function(X,V){return(0,L.jsxs)(L.Fragment,{children:[X,V]})}},M))}Q.Group=T,Q.useForm=t.Z.useForm,Q.Item=q.Z,Q.useWatch=t.Z.useWatch,Q.ErrorList=t.Z.ErrorList,Q.Provider=t.Z.Provider,Q.useFormInstance=t.Z.useFormInstance,Q.EditOrReadOnlyContext=l.A},14143:function(h,m,e){"use strict";e.d(m,{q:function(){return D}});var r=e(35361),t=e(27263),n=e(50959),o=e(42585),l=e(30961),a=function(I,T){return n.createElement(l.Z,(0,t.Z)({},I,{ref:T,icon:o.Z}))},s=n.forwardRef(a),c=e(41573),v=e(96558),g=e(82187),x=e.n(g),u=e(88357),f=e(69601),S=function(I){return(0,u.Z)({},I.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:I.colorTextSecondary,"&-link":{color:I.colorTextSecondary,textDecoration:I.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:I.colorPrimary}},"&-copyright":{fontSize:"14px",color:I.colorText}})};function O(L){return(0,f.Xj)("ProLayoutFooter",function(I){var T=(0,r.Z)((0,r.Z)({},I),{},{componentCls:".".concat(L)});return[S(T)]})}var w=e(11527),P=function(I){var T=I.className,q=I.prefixCls,Q=I.links,M=I.copyright,J=I.style,X=(0,n.useContext)(v.ZP.ConfigContext),V=X.getPrefixCls(q||"pro-global-footer"),U=O(V),ae=U.wrapSSR,le=U.hashId;return(Q==null||Q===!1||Array.isArray(Q)&&Q.length===0)&&(M==null||M===!1)?null:ae((0,w.jsxs)("div",{className:x()(V,le,T),style:J,children:[Q&&(0,w.jsx)("div",{className:"".concat(V,"-list ").concat(le).trim(),children:Q.map(function(ue){return(0,w.jsx)("a",{className:"".concat(V,"-list-link ").concat(le).trim(),title:ue.key,target:ue.blankTarget?"_blank":"_self",href:ue.href,rel:"noreferrer",children:ue.title},ue.key)})}),M&&(0,w.jsx)("div",{className:"".concat(V,"-copyright ").concat(le).trim(),children:M})]}))},Z=c.Z.Footer,D=function(I){var T=I.links,q=I.copyright,Q=I.style,M=I.className,J=I.prefixCls;return(0,w.jsx)(Z,{className:M,style:(0,r.Z)({padding:0},Q),children:(0,w.jsx)(P,{links:T,prefixCls:J,copyright:q===!1?null:(0,w.jsxs)(n.Fragment,{children:[(0,w.jsx)(s,{})," ",q]})})})}},53198:function(h,m,e){"use strict";e.d(m,{h:function(){return r}});var r={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1}},89507:function(h,m,e){"use strict";e.d(m,{e:function(){return O},G:function(){return S}});var r=e(32532),t=e(35361),n={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},o=(0,t.Z)({},n),l={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},a=(0,t.Z)({},l),s={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},c=(0,t.Z)({},s),v={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},g=(0,t.Z)({},v),x={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},u=(0,t.Z)({},x),f={"zh-CN":g,"zh-TW":u,"en-US":o,"it-IT":a,"ko-KR":c},S=function(){if(!(0,r.j)())return"zh-CN";var P=window.localStorage.getItem("umi_locale");return P||window.g_locale||navigator.language},O=function(){var P=S();return f[P]||f["zh-CN"]}},45793:function(h,m,e){"use strict";e.d(m,{O7:function(){return t},QX:function(){return l},tV:function(){return o}});var r=e(35361),t=function a(s){return(s||[]).reduce(function(c,v){if(v.key&&c.push(v.key),v.children||v.routes){var g=c.concat(a(v.children||v.routes)||[]);return g}return c},[])},n={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function o(a){return a&&n[a]?n[a]:a||""}function l(a){return a.map(function(s){var c=s.children||[],v=(0,r.Z)({},s);if(!v.children&&v.routes&&(v.children=v.routes),!v.name||v.hideInMenu)return null;if(v&&v!==null&&v!==void 0&&v.children){if(!v.hideChildrenInMenu&&c.some(function(g){return g&&g.name&&!g.hideInMenu}))return(0,r.Z)((0,r.Z)({},s),{},{children:l(c)});delete v.children}return delete v.routes,v}).filter(function(s){return s})}},38292:function(h,m,e){"use strict";e.d(m,{_Y:function(){return U},L_:function(){return le},ZP:function(){return ue},nu:function(){return Q},YB:function(){return ae}});var r=e(30360),t=e(959),n=e(56929),o=e(35361),l=e(601),a=e(21373),s=e(96558),c=e(9113),v=e(50959),g=e(84707),x=e(4188),u=e(5726),f=e.n(u),S=e(69601),O=function(B,G){var $,j,se,me,ne,k=(0,o.Z)({},B);return(0,o.Z)((0,o.Z)({bgLayout:"linear-gradient(".concat(G.colorBgContainer,", ").concat(G.colorBgLayout," 28%)"),colorTextAppListIcon:G.colorTextSecondary,appListIconHoverBgColor:k==null||($=k.sider)===null||$===void 0?void 0:$.colorBgMenuItemSelected,colorBgAppListIconHover:(0,S.uK)(G.colorTextBase,.04),colorTextAppListIconHover:G.colorTextBase},k),{},{header:(0,o.Z)({colorBgHeader:(0,S.uK)(G.colorBgElevated,.6),colorBgScrollHeader:(0,S.uK)(G.colorBgElevated,.8),colorHeaderTitle:G.colorText,colorBgMenuItemHover:(0,S.uK)(G.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(k==null||(j=k.header)===null||j===void 0?void 0:j.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(se=k.header)===null||se===void 0?void 0:se.colorBgHeader:G.colorBgElevated,colorTextMenuSelected:(0,S.uK)(G.colorTextBase,.95),colorBgRightActionsItemHover:(0,S.uK)(G.colorTextBase,.03),colorTextRightActionsItem:G.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:G.colorTextSecondary,colorTextMenuSecondary:G.colorTextTertiary,colorTextMenuTitle:G.colorText,colorTextMenuActive:G.colorText},k.header),sider:(0,o.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:G.colorBgElevated,colorTextCollapsedButtonHover:G.colorTextSecondary,colorTextCollapsedButton:(0,S.uK)(G.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,S.uK)(G.colorTextBase,.06),colorBgMenuItemHover:(0,S.uK)(G.colorTextBase,.03),colorBgMenuItemSelected:(0,S.uK)(G.colorTextBase,.04),colorTextMenuItemHover:G.colorText,colorTextMenuSelected:(0,S.uK)(G.colorTextBase,.95),colorTextMenuActive:G.colorText,colorTextMenu:G.colorTextSecondary,colorTextMenuSecondary:G.colorTextTertiary,colorTextMenuTitle:G.colorText,colorTextSubMenuSelected:(0,S.uK)(G.colorTextBase,.95)},k.sider),pageContainer:(0,o.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((me=k.pageContainer)===null||me===void 0?void 0:me.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((ne=k.pageContainer)===null||ne===void 0?void 0:ne.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:G.colorBgElevated},k.pageContainer)})},w=e(47665),P=e(97382),Z=function(){for(var B={},G=arguments.length,$=new Array(G),j=0;j1&&arguments[1]!==void 0?arguments[1]:1,f=3735928559^u,S=1103547991^u,O=0,w;O>>16,2246822507)^Math.imul(S^S>>>13,3266489909),S=Math.imul(S^S>>>16,2246822507)^Math.imul(f^f>>>13,3266489909),4294967296*(2097151&S)+(f>>>0)},s=(0,t.jG)(function(g){return g}),c={theme:s,token:(0,r.Z)((0,r.Z)({},l),n.Z===null||n.Z===void 0||(o=n.Z.defaultAlgorithm)===null||o===void 0?void 0:o.call(n.Z,n.Z===null||n.Z===void 0?void 0:n.Z.defaultSeed)),hashId:"pro-".concat(a(JSON.stringify(l)))},v=function(){return c}},17104:function(h,m,e){"use strict";e.d(m,{n:function(){return g}});var r=e(959),t=e(97382),n=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,o=function(u){return u==="*"||u==="x"||u==="X"},l=function(u){var f=parseInt(u,10);return isNaN(f)?u:f},a=function(u,f){return(0,t.Z)(u)!==(0,t.Z)(f)?[String(u),String(f)]:[u,f]},s=function(u,f){if(o(u)||o(f))return 0;var S=a(l(u),l(f)),O=(0,r.Z)(S,2),w=O[0],P=O[1];return w>P?1:w-1?{open:c,onOpenChange:v}:{visible:c,onVisibleChange:v};return(0,t.Y)(g)}},31424:function(h,m,e){"use strict";e.d(m,{Q:function(){return O}});var r=e(88357),t=e(89220),n=e(8029),o=e(38292),l=e(96558),a=e(82187),s=e.n(a),c=e(50959),v=e(35361),g=e(69601),x=function(P){var Z,D,L,I;return(0,r.Z)({},P.componentCls,(I={display:"inline-flex",gap:P.marginXXS,alignItems:"center",height:"30px",paddingBlock:0,paddingInline:8,fontSize:P.fontSize,lineHeight:"30px",borderRadius:"2px",cursor:"pointer","&:hover":{backgroundColor:P.colorBgTextHover},"&-active":(0,r.Z)({paddingBlock:0,paddingInline:8,backgroundColor:P.colorBgTextHover},"&".concat(P.componentCls,"-allow-clear:hover:not(").concat(P.componentCls,"-disabled)"),(Z={},(0,r.Z)(Z,"".concat(P.componentCls,"-arrow"),{display:"none"}),(0,r.Z)(Z,"".concat(P.componentCls,"-close"),{display:"inline-flex"}),Z))},(0,r.Z)(I,"".concat(P.antCls,"-select"),(0,r.Z)({},"".concat(P.antCls,"-select-clear"),{borderRadius:"50%"})),(0,r.Z)(I,"".concat(P.antCls,"-picker"),(0,r.Z)({},"".concat(P.antCls,"-picker-clear"),{borderRadius:"50%"})),(0,r.Z)(I,"&-icon",(D={color:P.colorIcon,transition:"color 0.3s",fontSize:12,verticalAlign:"middle"},(0,r.Z)(D,"&".concat(P.componentCls,"-close"),{display:"none",fontSize:12,alignItems:"center",justifyContent:"center",color:P.colorTextPlaceholder,borderRadius:"50%"}),(0,r.Z)(D,"&:hover",{color:P.colorIconHover}),D)),(0,r.Z)(I,"&-disabled",(0,r.Z)({color:P.colorTextPlaceholder,cursor:"not-allowed"},"".concat(P.componentCls,"-icon"),{color:P.colorTextPlaceholder})),(0,r.Z)(I,"&-small",(L={height:"24px",paddingBlock:0,paddingInline:4,fontSize:P.fontSizeSM,lineHeight:"24px"},(0,r.Z)(L,"&".concat(P.componentCls,"-active"),{paddingBlock:0,paddingInline:8}),(0,r.Z)(L,"".concat(P.componentCls,"-icon"),{paddingBlock:0,paddingInline:0}),(0,r.Z)(L,"".concat(P.componentCls,"-close"),{marginBlockStart:"-2px",paddingBlock:4,paddingInline:4,fontSize:"6px"}),L)),(0,r.Z)(I,"&-bordered",{height:"32px",paddingBlock:0,paddingInline:8,border:"".concat(P.lineWidth,"px solid ").concat(P.colorBorder),borderRadius:"@border-radius-base"}),(0,r.Z)(I,"&-bordered&-small",{height:"24px",paddingBlock:0,paddingInline:8}),(0,r.Z)(I,"&-bordered&-active",{backgroundColor:P.colorBgContainer}),I))};function u(w){return(0,g.Xj)("FieldLabel",function(P){var Z=(0,v.Z)((0,v.Z)({},P),{},{componentCls:".".concat(w)});return[x(Z)]})}var f=e(11527),S=function(P,Z){var D,L,I,T,q=P.label,Q=P.onClear,M=P.value,J=P.disabled,X=P.onLabelClick,V=P.ellipsis,U=P.placeholder,ae=P.className,le=P.formatter,ue=P.bordered,R=P.style,B=P.downIcon,G=P.allowClear,$=G===void 0?!0:G,j=P.valueMaxLength,se=j===void 0?41:j,me=(l.ZP===null||l.ZP===void 0||(D=l.ZP.useConfig)===null||D===void 0?void 0:D.call(l.ZP))||{componentSize:"middle"},ne=me.componentSize,k=ne,ve=(0,c.useContext)(l.ZP.ConfigContext),be=ve.getPrefixCls,Ee=be("pro-core-field-label"),je=u(Ee),we=je.wrapSSR,st=je.hashId,ct=(0,o.YB)(),Ye=(0,c.useRef)(null),ut=(0,c.useRef)(null);(0,c.useImperativeHandle)(Z,function(){return{labelRef:ut,clearRef:Ye}});var qe=function(A){return A.every(function(K){return typeof K=="string"})?A.join(","):A.map(function(K,re){var de=re===A.length-1?"":",";return typeof K=="string"?(0,f.jsxs)("span",{children:[K,de]},re):(0,f.jsxs)("span",{style:{display:"flex"},children:[K,de]},re)})},ze=function(A){return le?le(A):Array.isArray(A)?qe(A):A},W=function(A,K){if(K!=null&&K!==""&&(!Array.isArray(K)||K.length)){var re,de,Y=A?(0,f.jsxs)("span",{onClick:function(){X==null||X()},className:"".concat(Ee,"-text"),children:[A,": "]}):"",N=ze(K);if(!V)return(0,f.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[Y,ze(K)]});var ie=function(){var fe=Array.isArray(K)&&K.length>1,Ne=ct.getMessage("form.lightFilter.itemUnit","\u9879");return typeof N=="string"&&N.length>se&&fe?"...".concat(K.length).concat(Ne):""},oe=ie();return(0,f.jsxs)("span",{title:typeof N=="string"?N:void 0,style:{display:"inline-flex",alignItems:"center"},children:[Y,(0,f.jsx)("span",{style:{paddingInlineStart:4,display:"flex"},children:typeof N=="string"?N==null||(re=N.toString())===null||re===void 0||(de=re.substr)===null||de===void 0?void 0:de.call(re,0,se):N}),oe]})}return A||U};return we((0,f.jsxs)("span",{className:s()(Ee,st,"".concat(Ee,"-").concat((L=(I=P.size)!==null&&I!==void 0?I:k)!==null&&L!==void 0?L:"middle"),(T={},(0,r.Z)(T,"".concat(Ee,"-active"),!!M||M===0),(0,r.Z)(T,"".concat(Ee,"-disabled"),J),(0,r.Z)(T,"".concat(Ee,"-bordered"),ue),(0,r.Z)(T,"".concat(Ee,"-allow-clear"),$),T),ae),style:R,ref:ut,onClick:function(){var A;P==null||(A=P.onClick)===null||A===void 0||A.call(P)},children:[W(q,M),(M||M===0)&&$&&(0,f.jsx)(t.Z,{role:"button",title:ct.getMessage("form.lightFilter.clear","\u6E05\u9664"),className:s()("".concat(Ee,"-icon"),st,"".concat(Ee,"-close")),onClick:function(A){J||Q==null||Q(),A.stopPropagation()},ref:Ye}),B!==!1?B!=null?B:(0,f.jsx)(n.Z,{className:s()("".concat(Ee,"-icon"),st,"".concat(Ee,"-arrow"))}):null]}))},O=c.forwardRef(S)},68704:function(h,m,e){"use strict";e.d(m,{M:function(){return Z}});var r=e(35361),t=e(88357),n=e(96558),o=e(25666),l=e(50959),a=e(38292),s=e(50159),c=e(82187),v=e.n(c),g=e(69601),x=function(L){return(0,t.Z)({},L.componentCls,{display:"flex",justifyContent:"space-between",paddingBlock:8,paddingInlineStart:8,paddingInlineEnd:8,borderBlockStart:"1px solid ".concat(L.colorSplit)})};function u(D){return(0,g.Xj)("DropdownFooter",function(L){var I=(0,r.Z)((0,r.Z)({},L),{},{componentCls:".".concat(D)});return[x(I)]})}var f=e(11527),S=function(L){var I=(0,a.YB)(),T=L.onClear,q=L.onConfirm,Q=L.disabled,M=L.footerRender,J=(0,l.useContext)(n.ZP.ConfigContext),X=J.getPrefixCls,V=X("pro-core-dropdown-footer"),U=u(V),ae=U.wrapSSR,le=U.hashId,ue=[(0,f.jsx)(s.ZP,{style:{visibility:T?"visible":"hidden"},type:"link",size:"small",disabled:Q,onClick:function(G){T&&T(G),G.stopPropagation()},children:I.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),(0,f.jsx)(s.ZP,{"data-type":"confirm",type:"primary",size:"small",onClick:q,disabled:Q,children:I.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(M===!1||(M==null?void 0:M(q,T))===!1)return null;var R=(M==null?void 0:M(q,T))||ue;return ae((0,f.jsx)("div",{className:v()(V,le),onClick:function(G){return G.target.getAttribute("data-type")!=="confirm"&&G.stopPropagation()},children:R}))},O=e(6721),w=function(L){var I;return I={},(0,t.Z)(I,"".concat(L.componentCls,"-label"),{cursor:"pointer"}),(0,t.Z)(I,"".concat(L.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),(0,t.Z)(I,"".concat(L.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),I};function P(D){return(0,g.Xj)("FilterDropdown",function(L){var I=(0,r.Z)((0,r.Z)({},L),{},{componentCls:".".concat(D)});return[w(I)]})}var Z=function(L){var I,T=L.children,q=L.label,Q=L.footer,M=L.open,J=L.onOpenChange,X=L.disabled,V=L.onVisibleChange,U=L.visible,ae=L.footerRender,le=L.placement,ue=(0,l.useContext)(n.ZP.ConfigContext),R=ue.getPrefixCls,B=R("pro-core-field-dropdown"),G=P(B),$=G.wrapSSR,j=G.hashId,se=(0,O.X)(M||U||!1,J||V),me=(0,l.useRef)(null);return $((0,f.jsx)(o.Z,(0,r.Z)((0,r.Z)({placement:le,trigger:["click"]},se),{},{overlayInnerStyle:{padding:0},content:(0,f.jsxs)("div",{ref:me,className:v()("".concat(B,"-overlay"),(I={},(0,t.Z)(I,"".concat(B,"-overlay-").concat(le),le),(0,t.Z)(I,"hashId",j),I)),children:[(0,f.jsx)(n.ZP,{getPopupContainer:function(){return me.current||document.body},children:(0,f.jsx)("div",{className:"".concat(B,"-content ").concat(j).trim(),children:T})}),Q&&(0,f.jsx)(S,(0,r.Z)({disabled:X,footerRender:ae},Q))]}),children:(0,f.jsx)("span",{className:"".concat(B,"-label ").concat(j).trim(),children:q})})))}},35769:function(h,m,e){"use strict";e.d(m,{G:function(){return P}});var r=e(35361),t=e(88357),n=e(27263),o=e(50959),l=e(9455),a=e(30961),s=function(D,L){return o.createElement(a.Z,(0,n.Z)({},D,{ref:L,icon:l.Z}))},c=o.forwardRef(s),v=e(96558),g=e(38546),x=e(82187),u=e.n(x),f=e(69601),S=function(D){return(0,t.Z)({},D.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:D.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:D.colorTextSecondary,fontWeight:"normal",fontSize:D.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function O(Z){return(0,f.Xj)("LabelIconTip",function(D){var L=(0,r.Z)((0,r.Z)({},D),{},{componentCls:".".concat(Z)});return[S(L)]})}var w=e(11527),P=o.memo(function(Z){var D=Z.label,L=Z.tooltip,I=Z.ellipsis,T=Z.subTitle,q=(0,o.useContext)(v.ZP.ConfigContext),Q=q.getPrefixCls,M=Q("pro-core-label-tip"),J=O(M),X=J.wrapSSR,V=J.hashId;if(!L&&!T)return(0,w.jsx)(w.Fragment,{children:D});var U=typeof L=="string"||o.isValidElement(L)?{title:L}:L,ae=(U==null?void 0:U.icon)||(0,w.jsx)(c,{});return X((0,w.jsxs)("div",{className:u()(M,V),onMouseDown:function(ue){return ue.stopPropagation()},onMouseLeave:function(ue){return ue.stopPropagation()},onMouseMove:function(ue){return ue.stopPropagation()},children:[(0,w.jsx)("div",{className:u()("".concat(M,"-title"),V,(0,t.Z)({},"".concat(M,"-title-ellipsis"),I)),children:D}),T&&(0,w.jsx)("div",{className:"".concat(M,"-subtitle ").concat(V).trim(),children:T}),L&&(0,w.jsx)(g.Z,(0,r.Z)((0,r.Z)({},U),{},{children:(0,w.jsx)("span",{className:"".concat(M,"-icon ").concat(V).trim(),children:ae})}))]}))})},36101:function(h,m,e){"use strict";e.d(m,{J:function(){return t}});var r=e(50959),t=r.createContext({})},64857:function(h,m,e){"use strict";e.d(m,{Cl:function(){return c},lp:function(){return f}});var r=e(97382),t=e(5726),n=e.n(t),o=e(56591),l=e.n(o),a=e(75124),s=e(480);n().extend(l());var c={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function v(S){return Object.prototype.toString.call(S)==="[object Object]"}function g(S){if(v(S)===!1)return!1;var O=S.constructor;if(O===void 0)return!0;var w=O.prototype;return!(v(w)===!1||w.hasOwnProperty("isPrototypeOf")===!1)}var x=function(O){return!!(O!=null&&O._isAMomentObject)},u=function(O,w,P){if(!w)return O;if(n().isDayjs(O)||x(O)){if(w==="number")return O.valueOf();if(w==="string")return O.format(c[P]||"YYYY-MM-DD HH:mm:ss");if(typeof w=="string"&&w!=="string")return O.format(w);if(typeof w=="function")return w(O,P)}return O},f=function S(O,w,P,Z,D){var L={};return typeof window=="undefined"||(0,r.Z)(O)!=="object"||(0,s.k)(O)||O instanceof Blob||Array.isArray(O)?O:(Object.keys(O).forEach(function(I){var T=D?[D,I].flat(1):[I],q=(0,a.Z)(P,T)||"text",Q="text",M;typeof q=="string"?Q=q:q&&(Q=q.valueType,M=q.dateFormat);var J=O[I];if(!((0,s.k)(J)&&Z)){if(g(J)&&!Array.isArray(J)&&!n().isDayjs(J)&&!x(J)){L[I]=S(J,w,P,Z,[I]);return}if(Array.isArray(J)){L[I]=J.map(function(X,V){return n().isDayjs(X)||x(X)?u(X,M||w,Q):S(X,w,P,Z,[I,"".concat(V)].flat(1))});return}L[I]=u(J,M||w,Q)}}),L)}},71739:function(h,m,e){"use strict";e.d(m,{D:function(){return l}});var r=e(11642),t=e(73356),n=e(50959),o=e(19348);function l(a,s){var c=(0,o.J)(a),v=(0,n.useRef)(),g=(0,n.useCallback)(function(){v.current&&(clearTimeout(v.current),v.current=null)},[]),x=(0,n.useCallback)((0,t.Z)((0,r.Z)().mark(function u(){var f,S,O,w=arguments;return(0,r.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:for(f=w.length,S=new Array(f),O=0;O0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(r+=1).toFixed(0);for(var a="",s=crypto.getRandomValues(new Uint8Array(l));l--;){var c=63&s[l];a+=c<36?c.toString(36):c<62?(c-26).toString(36).toUpperCase():c<63?"_":"-"}return a},n=function(){return typeof window=="undefined"?t():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():t()}},21373:function(h,m,e){"use strict";e.d(m,{Y:function(){return r}});var r=function(n){var o={};if(Object.keys(n||{}).forEach(function(l){n[l]!==void 0&&(o[l]=n[l])}),!(Object.keys(o).length<1))return o}},51454:function(h,m,e){"use strict";e.d(m,{MP:function(){return g},R6:function(){return c}});var r=e(97382),t=e(79062),n=e(36735),o=e(50959),l=e(11527);function a(x){var u=Object.prototype.toString.call(x).match(/^\[object (.*)\]$/)[1].toLowerCase();return u==="string"&&(0,r.Z)(x)==="object"?"object":x===null?"null":x===void 0?"undefined":u}var s=function(u){var f=u.color,S=u.children;return(0,l.jsx)(t.Z,{color:f,text:S})},c=function(u){return a(u)==="map"?u:new Map(Object.entries(u||{}))},v={Success:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"success",text:f})},Error:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"error",text:f})},Default:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"default",text:f})},Processing:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"processing",text:f})},Warning:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"warning",text:f})},success:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"success",text:f})},error:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"error",text:f})},default:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"default",text:f})},processing:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"processing",text:f})},warning:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"warning",text:f})}},g=function x(u,f,S){if(Array.isArray(u))return(0,l.jsx)(n.Z,{split:",",size:2,wrap:!0,children:u.map(function(L,I){return x(L,f,I)})},S);var O=c(f);if(!O.has(u)&&!O.has("".concat(u)))return(u==null?void 0:u.label)||u;var w=O.get(u)||O.get("".concat(u));if(!w)return(0,l.jsx)(o.Fragment,{children:(u==null?void 0:u.label)||u},S);var P=w.status,Z=w.color,D=v[P||"Init"];return D?(0,l.jsx)(D,{children:w.text},S):Z?(0,l.jsx)(s,{color:Z,children:w.text},S):(0,l.jsx)(o.Fragment,{children:w.text||w},S)}},89558:function(h,m,e){"use strict";e.d(m,{h:function(){return r}});function r(t){if(typeof t=="function"){for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l.5?q/(2-Z-D):q/(Z+D),Z){case O:L=(w-P)/q+(w1&&(P-=1),P<.16666666666666666?O+(w-O)*(6*P):P<.5?w:P<.6666666666666666?O+(w-O)*(.6666666666666666-P)*6:O}function l(O,w,P){var Z,D,L;if(O=(0,r.sh)(O,360),w=(0,r.sh)(w,100),P=(0,r.sh)(P,100),w===0)D=P,L=P,Z=P;else{var I=P<.5?P*(1+w):P+w-P*w,T=2*P-I;Z=o(T,I,O+.3333333333333333),D=o(T,I,O),L=o(T,I,O-.3333333333333333)}return{r:Z*255,g:D*255,b:L*255}}function a(O,w,P){O=(0,r.sh)(O,255),w=(0,r.sh)(w,255),P=(0,r.sh)(P,255);var Z=Math.max(O,w,P),D=Math.min(O,w,P),L=0,I=Z,T=Z-D,q=Z===0?0:T/Z;if(Z===D)L=0;else{switch(Z){case O:L=(w-P)/T+(w>16,g:(O&65280)>>8,b:O&255}}},76367:function(h,m,e){"use strict";e.d(m,{R:function(){return r}});var r={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"}},28556:function(h,m,e){"use strict";e.d(m,{uA:function(){return o}});var r=e(96299),t=e(76367),n=e(23881);function o(f){var S={r:0,g:0,b:0},O=1,w=null,P=null,Z=null,D=!1,L=!1;return typeof f=="string"&&(f=x(f)),typeof f=="object"&&(u(f.r)&&u(f.g)&&u(f.b)?(S=(0,r.rW)(f.r,f.g,f.b),D=!0,L=String(f.r).substr(-1)==="%"?"prgb":"rgb"):u(f.h)&&u(f.s)&&u(f.v)?(w=(0,n.JX)(f.s),P=(0,n.JX)(f.v),S=(0,r.WE)(f.h,w,P),D=!0,L="hsv"):u(f.h)&&u(f.s)&&u(f.l)&&(w=(0,n.JX)(f.s),Z=(0,n.JX)(f.l),S=(0,r.ve)(f.h,w,Z),D=!0,L="hsl"),Object.prototype.hasOwnProperty.call(f,"a")&&(O=f.a)),O=(0,n.Yq)(O),{ok:D,format:f.format||L,r:Math.min(255,Math.max(S.r,0)),g:Math.min(255,Math.max(S.g,0)),b:Math.min(255,Math.max(S.b,0)),a:O}}var l="[-\\+]?\\d+%?",a="[-\\+]?\\d*\\.\\d+%?",s="(?:".concat(a,")|(?:").concat(l,")"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),v="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),g={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+v),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+v),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+v),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 x(f){if(f=f.trim().toLowerCase(),f.length===0)return!1;var S=!1;if(t.R[f])f=t.R[f],S=!0;else if(f==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var O=g.rgb.exec(f);return O?{r:O[1],g:O[2],b:O[3]}:(O=g.rgba.exec(f),O?{r:O[1],g:O[2],b:O[3],a:O[4]}:(O=g.hsl.exec(f),O?{h:O[1],s:O[2],l:O[3]}:(O=g.hsla.exec(f),O?{h:O[1],s:O[2],l:O[3],a:O[4]}:(O=g.hsv.exec(f),O?{h:O[1],s:O[2],v:O[3]}:(O=g.hsva.exec(f),O?{h:O[1],s:O[2],v:O[3],a:O[4]}:(O=g.hex8.exec(f),O?{r:(0,r.VD)(O[1]),g:(0,r.VD)(O[2]),b:(0,r.VD)(O[3]),a:(0,r.T6)(O[4]),format:S?"name":"hex8"}:(O=g.hex6.exec(f),O?{r:(0,r.VD)(O[1]),g:(0,r.VD)(O[2]),b:(0,r.VD)(O[3]),format:S?"name":"hex"}:(O=g.hex4.exec(f),O?{r:(0,r.VD)(O[1]+O[1]),g:(0,r.VD)(O[2]+O[2]),b:(0,r.VD)(O[3]+O[3]),a:(0,r.T6)(O[4]+O[4]),format:S?"name":"hex8"}:(O=g.hex3.exec(f),O?{r:(0,r.VD)(O[1]+O[1]),g:(0,r.VD)(O[2]+O[2]),b:(0,r.VD)(O[3]+O[3]),format:S?"name":"hex"}:!1)))))))))}function u(f){return!!g.CSS_UNIT.exec(String(f))}},99978:function(h,m,e){"use strict";e.d(m,{C:function(){return l}});var r=e(96299),t=e(76367),n=e(28556),o=e(23881),l=function(){function s(c,v){c===void 0&&(c=""),v===void 0&&(v={});var g;if(c instanceof s)return c;typeof c=="number"&&(c=(0,r.Yt)(c)),this.originalInput=c;var x=(0,n.uA)(c);this.originalInput=c,this.r=x.r,this.g=x.g,this.b=x.b,this.a=x.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=v.format)!==null&&g!==void 0?g:x.format,this.gradientType=v.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=x.ok}return s.prototype.isDark=function(){return this.getBrightness()<128},s.prototype.isLight=function(){return!this.isDark()},s.prototype.getBrightness=function(){var c=this.toRgb();return(c.r*299+c.g*587+c.b*114)/1e3},s.prototype.getLuminance=function(){var c=this.toRgb(),v,g,x,u=c.r/255,f=c.g/255,S=c.b/255;return u<=.03928?v=u/12.92:v=Math.pow((u+.055)/1.055,2.4),f<=.03928?g=f/12.92:g=Math.pow((f+.055)/1.055,2.4),S<=.03928?x=S/12.92:x=Math.pow((S+.055)/1.055,2.4),.2126*v+.7152*g+.0722*x},s.prototype.getAlpha=function(){return this.a},s.prototype.setAlpha=function(c){return this.a=(0,o.Yq)(c),this.roundA=Math.round(100*this.a)/100,this},s.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},s.prototype.toHsv=function(){var c=(0,r.py)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,v:c.v,a:this.a}},s.prototype.toHsvString=function(){var c=(0,r.py)(this.r,this.g,this.b),v=Math.round(c.h*360),g=Math.round(c.s*100),x=Math.round(c.v*100);return this.a===1?"hsv(".concat(v,", ").concat(g,"%, ").concat(x,"%)"):"hsva(".concat(v,", ").concat(g,"%, ").concat(x,"%, ").concat(this.roundA,")")},s.prototype.toHsl=function(){var c=(0,r.lC)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,l:c.l,a:this.a}},s.prototype.toHslString=function(){var c=(0,r.lC)(this.r,this.g,this.b),v=Math.round(c.h*360),g=Math.round(c.s*100),x=Math.round(c.l*100);return this.a===1?"hsl(".concat(v,", ").concat(g,"%, ").concat(x,"%)"):"hsla(".concat(v,", ").concat(g,"%, ").concat(x,"%, ").concat(this.roundA,")")},s.prototype.toHex=function(c){return c===void 0&&(c=!1),(0,r.vq)(this.r,this.g,this.b,c)},s.prototype.toHexString=function(c){return c===void 0&&(c=!1),"#"+this.toHex(c)},s.prototype.toHex8=function(c){return c===void 0&&(c=!1),(0,r.s)(this.r,this.g,this.b,this.a,c)},s.prototype.toHex8String=function(c){return c===void 0&&(c=!1),"#"+this.toHex8(c)},s.prototype.toHexShortString=function(c){return c===void 0&&(c=!1),this.a===1?this.toHexString(c):this.toHex8String(c)},s.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},s.prototype.toRgbString=function(){var c=Math.round(this.r),v=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(v,", ").concat(g,")"):"rgba(".concat(c,", ").concat(v,", ").concat(g,", ").concat(this.roundA,")")},s.prototype.toPercentageRgb=function(){var c=function(v){return"".concat(Math.round((0,o.sh)(v,255)*100),"%")};return{r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},s.prototype.toPercentageRgbString=function(){var c=function(v){return Math.round((0,o.sh)(v,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},s.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var c="#"+(0,r.vq)(this.r,this.g,this.b,!1),v=0,g=Object.entries(t.R);v=0,u=!v&&x&&(c.startsWith("hex")||c==="name");return u?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(g=this.toRgbString()),c==="prgb"&&(g=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(g=this.toHexString()),c==="hex3"&&(g=this.toHexString(!0)),c==="hex4"&&(g=this.toHex8String(!0)),c==="hex8"&&(g=this.toHex8String()),c==="name"&&(g=this.toName()),c==="hsl"&&(g=this.toHslString()),c==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},s.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},s.prototype.clone=function(){return new s(this.toString())},s.prototype.lighten=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.l+=c/100,v.l=(0,o.V2)(v.l),new s(v)},s.prototype.brighten=function(c){c===void 0&&(c=10);var v=this.toRgb();return v.r=Math.max(0,Math.min(255,v.r-Math.round(255*-(c/100)))),v.g=Math.max(0,Math.min(255,v.g-Math.round(255*-(c/100)))),v.b=Math.max(0,Math.min(255,v.b-Math.round(255*-(c/100)))),new s(v)},s.prototype.darken=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.l-=c/100,v.l=(0,o.V2)(v.l),new s(v)},s.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},s.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},s.prototype.desaturate=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.s-=c/100,v.s=(0,o.V2)(v.s),new s(v)},s.prototype.saturate=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.s+=c/100,v.s=(0,o.V2)(v.s),new s(v)},s.prototype.greyscale=function(){return this.desaturate(100)},s.prototype.spin=function(c){var v=this.toHsl(),g=(v.h+c)%360;return v.h=g<0?360+g:g,new s(v)},s.prototype.mix=function(c,v){v===void 0&&(v=50);var g=this.toRgb(),x=new s(c).toRgb(),u=v/100,f={r:(x.r-g.r)*u+g.r,g:(x.g-g.g)*u+g.g,b:(x.b-g.b)*u+g.b,a:(x.a-g.a)*u+g.a};return new s(f)},s.prototype.analogous=function(c,v){c===void 0&&(c=6),v===void 0&&(v=30);var g=this.toHsl(),x=360/v,u=[this];for(g.h=(g.h-(x*c>>1)+720)%360;--c;)g.h=(g.h+x)%360,u.push(new s(g));return u},s.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new s(c)},s.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var v=this.toHsv(),g=v.h,x=v.s,u=v.v,f=[],S=1/c;c--;)f.push(new s({h:g,s:x,v:u})),u=(u+S)%1;return f},s.prototype.splitcomplement=function(){var c=this.toHsl(),v=c.h;return[this,new s({h:(v+72)%360,s:c.s,l:c.l}),new s({h:(v+216)%360,s:c.s,l:c.l})]},s.prototype.onBackground=function(c){var v=this.toRgb(),g=new s(c).toRgb(),x=v.a+g.a*(1-v.a);return new s({r:(v.r*v.a+g.r*g.a*(1-v.a))/x,g:(v.g*v.a+g.g*g.a*(1-v.a))/x,b:(v.b*v.a+g.b*g.a*(1-v.a))/x,a:x})},s.prototype.triad=function(){return this.polyad(3)},s.prototype.tetrad=function(){return this.polyad(4)},s.prototype.polyad=function(c){for(var v=this.toHsl(),g=v.h,x=[this],u=360/c,f=1;f1)&&(c=1),c}function a(c){return c<=1?"".concat(Number(c)*100,"%"):c}function s(c){return c.length===1?"0"+c:String(c)}},15077:function(h,m,e){"use strict";e.d(m,{Z:function(){return Q}});var r=e(959),t=e(50959),n=e(10422),o=e(95882),l=e(3769),a=e(38152),s=t.createContext(null),c=s,v=e(30360),g=e(45910),x=[];function u(M,J){var X=t.useState(function(){if(!(0,o.Z)())return null;var me=document.createElement("div");return me}),V=(0,r.Z)(X,1),U=V[0],ae=t.useRef(!1),le=t.useContext(c),ue=t.useState(x),R=(0,r.Z)(ue,2),B=R[0],G=R[1],$=le||(ae.current?void 0:function(me){G(function(ne){var k=[me].concat((0,v.Z)(ne));return k})});function j(){U.parentElement||document.body.appendChild(U),ae.current=!0}function se(){var me;(me=U.parentElement)===null||me===void 0||me.removeChild(U),ae.current=!1}return(0,g.Z)(function(){return M?le?le(j):j():se(),se},[M]),(0,g.Z)(function(){B.length&&(B.forEach(function(me){return me()}),G(x))},[B]),[U,$]}var f=e(20685),S=e(96717);function O(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var w="rc-util-locker-".concat(Date.now()),P=0;function Z(M){var J=!!M,X=t.useState(function(){return P+=1,"".concat(w,"_").concat(P)}),V=(0,r.Z)(X,1),U=V[0];(0,g.Z)(function(){if(J){var ae=(0,S.o)(document.body).width,le=O();(0,f.hq)(` + `).concat(ct?"".concat(Ye,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[(0,V.jsx)("div",{className:"".concat(Ye,"-container ").concat(ie||""," ").concat(he).trim(),style:(0,t.Z)({width:an?"100%":void 0},oe),children:$n}),Lt]});return(0,V.jsx)(se.Provider,{value:(0,t.Z)((0,t.Z)({},re),{},{listName:[Ue.listName,N,re.name].filter(function(dn){return dn!==void 0}).flat(1)}),children:Un})},ue=function(k){var ve=(0,a.YB)(),be=k.creatorButtonProps,Ee=k.prefixCls,je=k.children,we=k.creatorRecord,st=k.action,ct=k.fields,Ye=k.actionGuard,ut=k.max,qe=k.fieldExtraRender,ze=k.meta,W=k.containerClassName,F=k.containerStyle,A=k.onAfterAdd,K=k.onAfterRemove,re=(0,f.useContext)(a.L_),de=re.hashId,Y=(0,f.useRef)(new Map),N=(0,f.useState)(!1),ie=(0,P.Z)(N,2),oe=ie[0],ee=ie[1],fe=(0,f.useMemo)(function(){return ct.map(function(Ge){var pe,xe;if(!((pe=Y.current)!==null&&pe!==void 0&&pe.has(Ge.key.toString()))){var Oe;(Oe=Y.current)===null||Oe===void 0||Oe.set(Ge.key.toString(),(0,D.x)())}var Fe=(xe=Y.current)===null||xe===void 0?void 0:xe.get(Ge.key.toString());return(0,t.Z)((0,t.Z)({},Ge),{},{uuid:Fe})})},[ct]),Ne=(0,f.useMemo)(function(){var Ge=(0,t.Z)({},st),pe=fe.length;return Ye!=null&&Ye.beforeAddRow?Ge.add=(0,w.Z)((0,O.Z)().mark(function xe(){var Oe,Fe,We,Se,Te,Ae=arguments;return(0,O.Z)().wrap(function(mt){for(;;)switch(mt.prev=mt.next){case 0:for(Oe=Ae.length,Fe=new Array(Oe),We=0;We0&&arguments[0]!==void 0?arguments[0]:{},L=D.children,I=D.Wrapper,T=(0,n.Z)(D,c);return O?(0,s.jsx)(o.Z,(0,t.Z)((0,t.Z)((0,t.Z)({gutter:8},w),T),{},{children:L})):I?(0,s.jsx)(I,{children:L}):L},ColWrapper:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=D.children,I=D.Wrapper,T=(0,n.Z)(D,v),q=(0,a.useMemo)(function(){var Q=(0,t.Z)((0,t.Z)({},P),T);return typeof Q.span=="undefined"&&typeof Q.xs=="undefined"&&(Q.xs=24),Q},[T]);return O?(0,s.jsx)(l.Z,(0,t.Z)((0,t.Z)({},q),{},{children:L})):I?(0,s.jsx)(I,{children:L}):L}}},u=function(S){var O=(0,a.useMemo)(function(){return(0,r.Z)(S)==="object"?S:{grid:S}},[S]),w=(0,a.useContext)(g),P=w.grid,Z=w.colProps;return(0,a.useMemo)(function(){return x({grid:!!(P||O.grid),rowProps:O==null?void 0:O.rowProps,colProps:(O==null?void 0:O.colProps)||Z,Wrapper:O==null?void 0:O.Wrapper})},[O==null?void 0:O.Wrapper,O.grid,P,JSON.stringify([Z,O==null?void 0:O.colProps,O==null?void 0:O.rowProps])])}},5e4:function(h,m,e){"use strict";e.d(m,{Y:function(){return Z}});var r=e(11642),t=e(73356),n=e(35361),o=e(959),l=e(56929),a=e(6721),s=e(96558),c=e(94675),v=e(72266),g=e.n(v),x=e(3691),u=e(3769),f=e(50959),S=e(10422),O=e(57377),w=e(11527),P=["children","trigger","onVisibleChange","onOpenChange","modalProps","onFinish","submitTimeout","title","width","visible","open"];function Z(D){var L,I,T=D.children,q=D.trigger,Q=D.onVisibleChange,M=D.onOpenChange,J=D.modalProps,X=D.onFinish,V=D.submitTimeout,U=D.title,ae=D.width,le=D.visible,ue=D.open,R=(0,l.Z)(D,P);(0,u.ET)(!R.footer||!(J!=null&&J.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var B=(0,f.useContext)(s.ZP.ConfigContext),G=(0,f.useState)([]),$=(0,o.Z)(G,2),j=$[1],se=(0,f.useState)(!1),me=(0,o.Z)(se,2),ne=me[0],k=me[1],ve=(0,x.Z)(!!le,{value:ue||le,onChange:M||Q}),be=(0,o.Z)(ve,2),Ee=be[0],je=be[1],we=(0,f.useRef)(null),st=(0,f.useCallback)(function(A){we.current===null&&A&&j([]),we.current=A},[]),ct=(0,f.useRef)(),Ye=(0,f.useCallback)(function(){var A,K,re,de=(A=(K=R.form)!==null&&K!==void 0?K:(re=R.formRef)===null||re===void 0?void 0:re.current)!==null&&A!==void 0?A:ct.current;de&&J!==null&&J!==void 0&&J.destroyOnClose&&de.resetFields()},[J==null?void 0:J.destroyOnClose,R.form,R.formRef]);(0,f.useImperativeHandle)(R.formRef,function(){return ct.current},[ct.current]),(0,f.useEffect)(function(){Ee&&(ue||le)&&(M==null||M(!0),Q==null||Q(!0))},[le,ue,Ee]);var ut=(0,f.useMemo)(function(){return q?f.cloneElement(q,(0,n.Z)((0,n.Z)({key:"trigger"},q.props),{},{onClick:function(){var A=(0,t.Z)((0,r.Z)().mark(function re(de){var Y,N;return(0,r.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:je(!Ee),(Y=q.props)===null||Y===void 0||(N=Y.onClick)===null||N===void 0||N.call(Y,de);case 2:case"end":return oe.stop()}},re)}));function K(re){return A.apply(this,arguments)}return K}()})):null},[je,q,Ee]),qe=(0,f.useMemo)(function(){var A,K,re,de,Y,N;return R.submitter===!1?!1:g()({searchConfig:{submitText:(A=(K=J==null?void 0:J.okText)!==null&&K!==void 0?K:(re=B.locale)===null||re===void 0||(re=re.Modal)===null||re===void 0?void 0:re.okText)!==null&&A!==void 0?A:"\u786E\u8BA4",resetText:(de=(Y=J==null?void 0:J.cancelText)!==null&&Y!==void 0?Y:(N=B.locale)===null||N===void 0||(N=N.Modal)===null||N===void 0?void 0:N.cancelText)!==null&&de!==void 0?de:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:V?ne:void 0,onClick:function(oe){var ee;je(!1),J==null||(ee=J.onCancel)===null||ee===void 0||ee.call(J,oe)}}},R.submitter)},[(L=B.locale)===null||L===void 0||(L=L.Modal)===null||L===void 0?void 0:L.cancelText,(I=B.locale)===null||I===void 0||(I=I.Modal)===null||I===void 0?void 0:I.okText,J,R.submitter,je,ne,V]),ze=(0,f.useCallback)(function(A,K){return(0,w.jsxs)(w.Fragment,{children:[A,we.current&&K?(0,w.jsx)(f.Fragment,{children:(0,S.createPortal)(K,we.current)},"submitter"):K]})},[]),W=(0,f.useCallback)(function(){var A=(0,t.Z)((0,r.Z)().mark(function K(re){var de,Y,N;return(0,r.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return de=X==null?void 0:X(re),V&&de instanceof Promise&&(k(!0),Y=setTimeout(function(){return k(!1)},V),de.finally(function(){clearTimeout(Y),k(!1)})),oe.next=4,de;case 4:return N=oe.sent,N&&je(!1),oe.abrupt("return",N);case 7:case"end":return oe.stop()}},K)}));return function(K){return A.apply(this,arguments)}}(),[X,je,V]),F=(0,a.X)(Ee);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(c.Z,(0,n.Z)((0,n.Z)((0,n.Z)({title:U,width:ae||800},J),F),{},{onCancel:function(K){var re;V&&ne||(je(!1),J==null||(re=J.onCancel)===null||re===void 0||re.call(J,K))},afterClose:function(){var K;Ye(),je(!1),J==null||(K=J.afterClose)===null||K===void 0||K.call(J)},footer:R.submitter!==!1?(0,w.jsx)("div",{ref:st,style:{display:"flex",justifyContent:"flex-end"}}):null,children:(0,w.jsx)(O.I,(0,n.Z)((0,n.Z)({formComponentType:"ModalForm",layout:"vertical"},R),{},{onInit:function(K,re){var de;R.formRef&&(R.formRef.current=re),R==null||(de=R.onInit)===null||de===void 0||de.call(R,K,re),ct.current=re},formRef:ct,submitter:qe,onFinish:function(){var A=(0,t.Z)((0,r.Z)().mark(function K(re){var de;return(0,r.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,W(re);case 2:return de=N.sent,N.abrupt("return",de);case 4:case"end":return N.stop()}},K)}));return function(K){return A.apply(this,arguments)}}(),contentRender:ze,children:T}))})),ut]})}},49547:function(h,m,e){"use strict";e.d(m,{A:function(){return Q}});var r=e(35361),t=e(50925),n=e(50959),o=e(57377),l=e(26099),a=e(88357),s=e(959),c=e(74303),v=e(3691),g=e(35769),x=e(96558),u=e(36735),f=e(82187),S=e.n(f),O=e(71252),w=e(88929),P=e(69601),Z=function(J){var X;return(0,a.Z)({},J.componentCls,{"&-title":{marginBlockEnd:J.marginXL,fontWeight:"bold"},"&-container":(0,a.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(J.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(X={display:"block",width:"100%"},(0,a.Z)(X,"".concat(J.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,a.Z)(X,"".concat(J.componentCls,"-container"),{paddingInlineStart:16}),(0,a.Z)(X,"".concat(J.antCls,"-space-item,").concat(J.antCls,"-form-item"),{width:"100%"}),(0,a.Z)(X,"".concat(J.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),X)})};function D(M){return(0,P.Xj)("ProFormGroup",function(J){var X=(0,r.Z)((0,r.Z)({},J),{},{componentCls:".".concat(M)});return[Z(X)]})}var L=e(11527),I=n.forwardRef(function(M,J){var X=n.useContext(O.Z),V=X.groupProps,U=(0,r.Z)((0,r.Z)({},V),M),ae=U.children,le=U.collapsible,ue=U.defaultCollapsed,R=U.style,B=U.labelLayout,G=U.title,$=G===void 0?M.label:G,j=U.tooltip,se=U.align,me=se===void 0?"start":se,ne=U.direction,k=U.size,ve=k===void 0?32:k,be=U.titleStyle,Ee=U.titleRender,je=U.spaceProps,we=U.extra,st=U.autoFocus,ct=(0,v.Z)(function(){return ue||!1},{value:M.collapsed,onChange:M.onCollapse}),Ye=(0,s.Z)(ct,2),ut=Ye[0],qe=Ye[1],ze=(0,n.useContext)(x.ZP.ConfigContext),W=ze.getPrefixCls,F=(0,w.zx)(M),A=F.ColWrapper,K=F.RowWrapper,re=W("pro-form-group"),de=D(re),Y=de.wrapSSR,N=de.hashId,ie=le&&(0,L.jsx)(c.Z,{style:{marginInlineEnd:8},rotate:ut?void 0:90}),oe=(0,L.jsx)(g.G,{label:ie?(0,L.jsxs)("div",{children:[ie,$]}):$,tooltip:j}),ee=(0,n.useCallback)(function(Ue){var Ge=Ue.children;return(0,L.jsx)(u.Z,(0,r.Z)((0,r.Z)({},je),{},{className:S()("".concat(re,"-container ").concat(N),je==null?void 0:je.className),size:ve,align:me,direction:ne,style:(0,r.Z)({rowGap:0},je==null?void 0:je.style),children:Ge}))},[me,re,ne,N,ve,je]),fe=Ee?Ee(oe,M):oe,Ne=(0,n.useMemo)(function(){var Ue=[],Ge=n.Children.toArray(ae).map(function(pe,xe){var Oe;return n.isValidElement(pe)&&pe!==null&&pe!==void 0&&(Oe=pe.props)!==null&&Oe!==void 0&&Oe.hidden?(Ue.push(pe),null):xe===0&&n.isValidElement(pe)&&st?n.cloneElement(pe,(0,r.Z)((0,r.Z)({},pe.props),{},{autoFocus:st})):pe});return[(0,L.jsx)(K,{Wrapper:ee,children:Ge},"children"),Ue.length>0?(0,L.jsx)("div",{style:{display:"none"},children:Ue}):null]},[ae,K,ee,st]),tt=(0,s.Z)(Ne,2),$e=tt[0],he=tt[1];return Y((0,L.jsx)(A,{children:(0,L.jsxs)("div",{className:S()(re,N,(0,a.Z)({},"".concat(re,"-twoLine"),B==="twoLine")),style:R,ref:J,children:[he,($||j||we)&&(0,L.jsx)("div",{className:"".concat(re,"-title ").concat(N).trim(),style:be,onClick:function(){qe(!ut)},children:we?(0,L.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[fe,(0,L.jsx)("span",{onClick:function(Ge){return Ge.stopPropagation()},children:we})]}):fe}),(0,L.jsx)("div",{style:{display:le&&ut?"none":void 0},children:$e})]})}))});I.displayName="ProForm-Group";var T=I,q=e(69439);function Q(M){return(0,L.jsx)(o.I,(0,r.Z)({layout:"vertical",submitter:{render:function(X,V){return V.reverse()}},contentRender:function(X,V){return(0,L.jsxs)(L.Fragment,{children:[X,V]})}},M))}Q.Group=T,Q.useForm=t.Z.useForm,Q.Item=q.Z,Q.useWatch=t.Z.useWatch,Q.ErrorList=t.Z.ErrorList,Q.Provider=t.Z.Provider,Q.useFormInstance=t.Z.useFormInstance,Q.EditOrReadOnlyContext=l.A},14143:function(h,m,e){"use strict";e.d(m,{q:function(){return D}});var r=e(35361),t=e(27263),n=e(50959),o=e(42585),l=e(30961),a=function(I,T){return n.createElement(l.Z,(0,t.Z)({},I,{ref:T,icon:o.Z}))},s=n.forwardRef(a),c=e(41573),v=e(96558),g=e(82187),x=e.n(g),u=e(88357),f=e(69601),S=function(I){return(0,u.Z)({},I.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:I.colorTextSecondary,"&-link":{color:I.colorTextSecondary,textDecoration:I.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:I.colorPrimary}},"&-copyright":{fontSize:"14px",color:I.colorText}})};function O(L){return(0,f.Xj)("ProLayoutFooter",function(I){var T=(0,r.Z)((0,r.Z)({},I),{},{componentCls:".".concat(L)});return[S(T)]})}var w=e(11527),P=function(I){var T=I.className,q=I.prefixCls,Q=I.links,M=I.copyright,J=I.style,X=(0,n.useContext)(v.ZP.ConfigContext),V=X.getPrefixCls(q||"pro-global-footer"),U=O(V),ae=U.wrapSSR,le=U.hashId;return(Q==null||Q===!1||Array.isArray(Q)&&Q.length===0)&&(M==null||M===!1)?null:ae((0,w.jsxs)("div",{className:x()(V,le,T),style:J,children:[Q&&(0,w.jsx)("div",{className:"".concat(V,"-list ").concat(le).trim(),children:Q.map(function(ue){return(0,w.jsx)("a",{className:"".concat(V,"-list-link ").concat(le).trim(),title:ue.key,target:ue.blankTarget?"_blank":"_self",href:ue.href,rel:"noreferrer",children:ue.title},ue.key)})}),M&&(0,w.jsx)("div",{className:"".concat(V,"-copyright ").concat(le).trim(),children:M})]}))},Z=c.Z.Footer,D=function(I){var T=I.links,q=I.copyright,Q=I.style,M=I.className,J=I.prefixCls;return(0,w.jsx)(Z,{className:M,style:(0,r.Z)({padding:0},Q),children:(0,w.jsx)(P,{links:T,prefixCls:J,copyright:q===!1?null:(0,w.jsxs)(n.Fragment,{children:[(0,w.jsx)(s,{})," ",q]})})})}},53198:function(h,m,e){"use strict";e.d(m,{h:function(){return r}});var r={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1}},89507:function(h,m,e){"use strict";e.d(m,{e:function(){return O},G:function(){return S}});var r=e(32532),t=e(35361),n={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},o=(0,t.Z)({},n),l={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},a=(0,t.Z)({},l),s={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},c=(0,t.Z)({},s),v={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},g=(0,t.Z)({},v),x={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},u=(0,t.Z)({},x),f={"zh-CN":g,"zh-TW":u,"en-US":o,"it-IT":a,"ko-KR":c},S=function(){if(!(0,r.j)())return"zh-CN";var P=window.localStorage.getItem("umi_locale");return P||window.g_locale||navigator.language},O=function(){var P=S();return f[P]||f["zh-CN"]}},45793:function(h,m,e){"use strict";e.d(m,{O7:function(){return t},QX:function(){return l},tV:function(){return o}});var r=e(35361),t=function a(s){return(s||[]).reduce(function(c,v){if(v.key&&c.push(v.key),v.children||v.routes){var g=c.concat(a(v.children||v.routes)||[]);return g}return c},[])},n={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function o(a){return a&&n[a]?n[a]:a||""}function l(a){return a.map(function(s){var c=s.children||[],v=(0,r.Z)({},s);if(!v.children&&v.routes&&(v.children=v.routes),!v.name||v.hideInMenu)return null;if(v&&v!==null&&v!==void 0&&v.children){if(!v.hideChildrenInMenu&&c.some(function(g){return g&&g.name&&!g.hideInMenu}))return(0,r.Z)((0,r.Z)({},s),{},{children:l(c)});delete v.children}return delete v.routes,v}).filter(function(s){return s})}},38292:function(h,m,e){"use strict";e.d(m,{_Y:function(){return U},L_:function(){return le},ZP:function(){return ue},nu:function(){return Q},YB:function(){return ae}});var r=e(30360),t=e(959),n=e(56929),o=e(35361),l=e(601),a=e(21373),s=e(96558),c=e(9113),v=e(50959),g=e(84707),x=e(4188),u=e(5726),f=e.n(u),S=e(69601),O=function(B,G){var $,j,se,me,ne,k=(0,o.Z)({},B);return(0,o.Z)((0,o.Z)({bgLayout:"linear-gradient(".concat(G.colorBgContainer,", ").concat(G.colorBgLayout," 28%)"),colorTextAppListIcon:G.colorTextSecondary,appListIconHoverBgColor:k==null||($=k.sider)===null||$===void 0?void 0:$.colorBgMenuItemSelected,colorBgAppListIconHover:(0,S.uK)(G.colorTextBase,.04),colorTextAppListIconHover:G.colorTextBase},k),{},{header:(0,o.Z)({colorBgHeader:(0,S.uK)(G.colorBgElevated,.6),colorBgScrollHeader:(0,S.uK)(G.colorBgElevated,.8),colorHeaderTitle:G.colorText,colorBgMenuItemHover:(0,S.uK)(G.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(k==null||(j=k.header)===null||j===void 0?void 0:j.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(se=k.header)===null||se===void 0?void 0:se.colorBgHeader:G.colorBgElevated,colorTextMenuSelected:(0,S.uK)(G.colorTextBase,.95),colorBgRightActionsItemHover:(0,S.uK)(G.colorTextBase,.03),colorTextRightActionsItem:G.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:G.colorTextSecondary,colorTextMenuSecondary:G.colorTextTertiary,colorTextMenuTitle:G.colorText,colorTextMenuActive:G.colorText},k.header),sider:(0,o.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:G.colorBgElevated,colorTextCollapsedButtonHover:G.colorTextSecondary,colorTextCollapsedButton:(0,S.uK)(G.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,S.uK)(G.colorTextBase,.06),colorBgMenuItemHover:(0,S.uK)(G.colorTextBase,.03),colorBgMenuItemSelected:(0,S.uK)(G.colorTextBase,.04),colorTextMenuItemHover:G.colorText,colorTextMenuSelected:(0,S.uK)(G.colorTextBase,.95),colorTextMenuActive:G.colorText,colorTextMenu:G.colorTextSecondary,colorTextMenuSecondary:G.colorTextTertiary,colorTextMenuTitle:G.colorText,colorTextSubMenuSelected:(0,S.uK)(G.colorTextBase,.95)},k.sider),pageContainer:(0,o.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((me=k.pageContainer)===null||me===void 0?void 0:me.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((ne=k.pageContainer)===null||ne===void 0?void 0:ne.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:G.colorBgElevated},k.pageContainer)})},w=e(47665),P=e(97382),Z=function(){for(var B={},G=arguments.length,$=new Array(G),j=0;j1&&arguments[1]!==void 0?arguments[1]:1,f=3735928559^u,S=1103547991^u,O=0,w;O>>16,2246822507)^Math.imul(S^S>>>13,3266489909),S=Math.imul(S^S>>>16,2246822507)^Math.imul(f^f>>>13,3266489909),4294967296*(2097151&S)+(f>>>0)},s=(0,t.jG)(function(g){return g}),c={theme:s,token:(0,r.Z)((0,r.Z)({},l),n.Z===null||n.Z===void 0||(o=n.Z.defaultAlgorithm)===null||o===void 0?void 0:o.call(n.Z,n.Z===null||n.Z===void 0?void 0:n.Z.defaultSeed)),hashId:"pro-".concat(a(JSON.stringify(l)))},v=function(){return c}},17104:function(h,m,e){"use strict";e.d(m,{n:function(){return g}});var r=e(959),t=e(97382),n=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,o=function(u){return u==="*"||u==="x"||u==="X"},l=function(u){var f=parseInt(u,10);return isNaN(f)?u:f},a=function(u,f){return(0,t.Z)(u)!==(0,t.Z)(f)?[String(u),String(f)]:[u,f]},s=function(u,f){if(o(u)||o(f))return 0;var S=a(l(u),l(f)),O=(0,r.Z)(S,2),w=O[0],P=O[1];return w>P?1:w-1?{open:c,onOpenChange:v}:{visible:c,onVisibleChange:v};return(0,t.Y)(g)}},31424:function(h,m,e){"use strict";e.d(m,{Q:function(){return O}});var r=e(88357),t=e(89220),n=e(8029),o=e(38292),l=e(96558),a=e(82187),s=e.n(a),c=e(50959),v=e(35361),g=e(69601),x=function(P){var Z,D,L,I;return(0,r.Z)({},P.componentCls,(I={display:"inline-flex",gap:P.marginXXS,alignItems:"center",height:"30px",paddingBlock:0,paddingInline:8,fontSize:P.fontSize,lineHeight:"30px",borderRadius:"2px",cursor:"pointer","&:hover":{backgroundColor:P.colorBgTextHover},"&-active":(0,r.Z)({paddingBlock:0,paddingInline:8,backgroundColor:P.colorBgTextHover},"&".concat(P.componentCls,"-allow-clear:hover:not(").concat(P.componentCls,"-disabled)"),(Z={},(0,r.Z)(Z,"".concat(P.componentCls,"-arrow"),{display:"none"}),(0,r.Z)(Z,"".concat(P.componentCls,"-close"),{display:"inline-flex"}),Z))},(0,r.Z)(I,"".concat(P.antCls,"-select"),(0,r.Z)({},"".concat(P.antCls,"-select-clear"),{borderRadius:"50%"})),(0,r.Z)(I,"".concat(P.antCls,"-picker"),(0,r.Z)({},"".concat(P.antCls,"-picker-clear"),{borderRadius:"50%"})),(0,r.Z)(I,"&-icon",(D={color:P.colorIcon,transition:"color 0.3s",fontSize:12,verticalAlign:"middle"},(0,r.Z)(D,"&".concat(P.componentCls,"-close"),{display:"none",fontSize:12,alignItems:"center",justifyContent:"center",color:P.colorTextPlaceholder,borderRadius:"50%"}),(0,r.Z)(D,"&:hover",{color:P.colorIconHover}),D)),(0,r.Z)(I,"&-disabled",(0,r.Z)({color:P.colorTextPlaceholder,cursor:"not-allowed"},"".concat(P.componentCls,"-icon"),{color:P.colorTextPlaceholder})),(0,r.Z)(I,"&-small",(L={height:"24px",paddingBlock:0,paddingInline:4,fontSize:P.fontSizeSM,lineHeight:"24px"},(0,r.Z)(L,"&".concat(P.componentCls,"-active"),{paddingBlock:0,paddingInline:8}),(0,r.Z)(L,"".concat(P.componentCls,"-icon"),{paddingBlock:0,paddingInline:0}),(0,r.Z)(L,"".concat(P.componentCls,"-close"),{marginBlockStart:"-2px",paddingBlock:4,paddingInline:4,fontSize:"6px"}),L)),(0,r.Z)(I,"&-bordered",{height:"32px",paddingBlock:0,paddingInline:8,border:"".concat(P.lineWidth,"px solid ").concat(P.colorBorder),borderRadius:"@border-radius-base"}),(0,r.Z)(I,"&-bordered&-small",{height:"24px",paddingBlock:0,paddingInline:8}),(0,r.Z)(I,"&-bordered&-active",{backgroundColor:P.colorBgContainer}),I))};function u(w){return(0,g.Xj)("FieldLabel",function(P){var Z=(0,v.Z)((0,v.Z)({},P),{},{componentCls:".".concat(w)});return[x(Z)]})}var f=e(11527),S=function(P,Z){var D,L,I,T,q=P.label,Q=P.onClear,M=P.value,J=P.disabled,X=P.onLabelClick,V=P.ellipsis,U=P.placeholder,ae=P.className,le=P.formatter,ue=P.bordered,R=P.style,B=P.downIcon,G=P.allowClear,$=G===void 0?!0:G,j=P.valueMaxLength,se=j===void 0?41:j,me=(l.ZP===null||l.ZP===void 0||(D=l.ZP.useConfig)===null||D===void 0?void 0:D.call(l.ZP))||{componentSize:"middle"},ne=me.componentSize,k=ne,ve=(0,c.useContext)(l.ZP.ConfigContext),be=ve.getPrefixCls,Ee=be("pro-core-field-label"),je=u(Ee),we=je.wrapSSR,st=je.hashId,ct=(0,o.YB)(),Ye=(0,c.useRef)(null),ut=(0,c.useRef)(null);(0,c.useImperativeHandle)(Z,function(){return{labelRef:ut,clearRef:Ye}});var qe=function(A){return A.every(function(K){return typeof K=="string"})?A.join(","):A.map(function(K,re){var de=re===A.length-1?"":",";return typeof K=="string"?(0,f.jsxs)("span",{children:[K,de]},re):(0,f.jsxs)("span",{style:{display:"flex"},children:[K,de]},re)})},ze=function(A){return le?le(A):Array.isArray(A)?qe(A):A},W=function(A,K){if(K!=null&&K!==""&&(!Array.isArray(K)||K.length)){var re,de,Y=A?(0,f.jsxs)("span",{onClick:function(){X==null||X()},className:"".concat(Ee,"-text"),children:[A,": "]}):"",N=ze(K);if(!V)return(0,f.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[Y,ze(K)]});var ie=function(){var fe=Array.isArray(K)&&K.length>1,Ne=ct.getMessage("form.lightFilter.itemUnit","\u9879");return typeof N=="string"&&N.length>se&&fe?"...".concat(K.length).concat(Ne):""},oe=ie();return(0,f.jsxs)("span",{title:typeof N=="string"?N:void 0,style:{display:"inline-flex",alignItems:"center"},children:[Y,(0,f.jsx)("span",{style:{paddingInlineStart:4,display:"flex"},children:typeof N=="string"?N==null||(re=N.toString())===null||re===void 0||(de=re.substr)===null||de===void 0?void 0:de.call(re,0,se):N}),oe]})}return A||U};return we((0,f.jsxs)("span",{className:s()(Ee,st,"".concat(Ee,"-").concat((L=(I=P.size)!==null&&I!==void 0?I:k)!==null&&L!==void 0?L:"middle"),(T={},(0,r.Z)(T,"".concat(Ee,"-active"),!!M||M===0),(0,r.Z)(T,"".concat(Ee,"-disabled"),J),(0,r.Z)(T,"".concat(Ee,"-bordered"),ue),(0,r.Z)(T,"".concat(Ee,"-allow-clear"),$),T),ae),style:R,ref:ut,onClick:function(){var A;P==null||(A=P.onClick)===null||A===void 0||A.call(P)},children:[W(q,M),(M||M===0)&&$&&(0,f.jsx)(t.Z,{role:"button",title:ct.getMessage("form.lightFilter.clear","\u6E05\u9664"),className:s()("".concat(Ee,"-icon"),st,"".concat(Ee,"-close")),onClick:function(A){J||Q==null||Q(),A.stopPropagation()},ref:Ye}),B!==!1?B!=null?B:(0,f.jsx)(n.Z,{className:s()("".concat(Ee,"-icon"),st,"".concat(Ee,"-arrow"))}):null]}))},O=c.forwardRef(S)},68704:function(h,m,e){"use strict";e.d(m,{M:function(){return Z}});var r=e(35361),t=e(88357),n=e(96558),o=e(25666),l=e(50959),a=e(38292),s=e(50159),c=e(82187),v=e.n(c),g=e(69601),x=function(L){return(0,t.Z)({},L.componentCls,{display:"flex",justifyContent:"space-between",paddingBlock:8,paddingInlineStart:8,paddingInlineEnd:8,borderBlockStart:"1px solid ".concat(L.colorSplit)})};function u(D){return(0,g.Xj)("DropdownFooter",function(L){var I=(0,r.Z)((0,r.Z)({},L),{},{componentCls:".".concat(D)});return[x(I)]})}var f=e(11527),S=function(L){var I=(0,a.YB)(),T=L.onClear,q=L.onConfirm,Q=L.disabled,M=L.footerRender,J=(0,l.useContext)(n.ZP.ConfigContext),X=J.getPrefixCls,V=X("pro-core-dropdown-footer"),U=u(V),ae=U.wrapSSR,le=U.hashId,ue=[(0,f.jsx)(s.ZP,{style:{visibility:T?"visible":"hidden"},type:"link",size:"small",disabled:Q,onClick:function(G){T&&T(G),G.stopPropagation()},children:I.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),(0,f.jsx)(s.ZP,{"data-type":"confirm",type:"primary",size:"small",onClick:q,disabled:Q,children:I.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(M===!1||(M==null?void 0:M(q,T))===!1)return null;var R=(M==null?void 0:M(q,T))||ue;return ae((0,f.jsx)("div",{className:v()(V,le),onClick:function(G){return G.target.getAttribute("data-type")!=="confirm"&&G.stopPropagation()},children:R}))},O=e(6721),w=function(L){var I;return I={},(0,t.Z)(I,"".concat(L.componentCls,"-label"),{cursor:"pointer"}),(0,t.Z)(I,"".concat(L.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),(0,t.Z)(I,"".concat(L.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),I};function P(D){return(0,g.Xj)("FilterDropdown",function(L){var I=(0,r.Z)((0,r.Z)({},L),{},{componentCls:".".concat(D)});return[w(I)]})}var Z=function(L){var I,T=L.children,q=L.label,Q=L.footer,M=L.open,J=L.onOpenChange,X=L.disabled,V=L.onVisibleChange,U=L.visible,ae=L.footerRender,le=L.placement,ue=(0,l.useContext)(n.ZP.ConfigContext),R=ue.getPrefixCls,B=R("pro-core-field-dropdown"),G=P(B),$=G.wrapSSR,j=G.hashId,se=(0,O.X)(M||U||!1,J||V),me=(0,l.useRef)(null);return $((0,f.jsx)(o.Z,(0,r.Z)((0,r.Z)({placement:le,trigger:["click"]},se),{},{overlayInnerStyle:{padding:0},content:(0,f.jsxs)("div",{ref:me,className:v()("".concat(B,"-overlay"),(I={},(0,t.Z)(I,"".concat(B,"-overlay-").concat(le),le),(0,t.Z)(I,"hashId",j),I)),children:[(0,f.jsx)(n.ZP,{getPopupContainer:function(){return me.current||document.body},children:(0,f.jsx)("div",{className:"".concat(B,"-content ").concat(j).trim(),children:T})}),Q&&(0,f.jsx)(S,(0,r.Z)({disabled:X,footerRender:ae},Q))]}),children:(0,f.jsx)("span",{className:"".concat(B,"-label ").concat(j).trim(),children:q})})))}},35769:function(h,m,e){"use strict";e.d(m,{G:function(){return P}});var r=e(35361),t=e(88357),n=e(27263),o=e(50959),l=e(9455),a=e(30961),s=function(D,L){return o.createElement(a.Z,(0,n.Z)({},D,{ref:L,icon:l.Z}))},c=o.forwardRef(s),v=e(96558),g=e(38546),x=e(82187),u=e.n(x),f=e(69601),S=function(D){return(0,t.Z)({},D.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:D.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:D.colorTextSecondary,fontWeight:"normal",fontSize:D.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function O(Z){return(0,f.Xj)("LabelIconTip",function(D){var L=(0,r.Z)((0,r.Z)({},D),{},{componentCls:".".concat(Z)});return[S(L)]})}var w=e(11527),P=o.memo(function(Z){var D=Z.label,L=Z.tooltip,I=Z.ellipsis,T=Z.subTitle,q=(0,o.useContext)(v.ZP.ConfigContext),Q=q.getPrefixCls,M=Q("pro-core-label-tip"),J=O(M),X=J.wrapSSR,V=J.hashId;if(!L&&!T)return(0,w.jsx)(w.Fragment,{children:D});var U=typeof L=="string"||o.isValidElement(L)?{title:L}:L,ae=(U==null?void 0:U.icon)||(0,w.jsx)(c,{});return X((0,w.jsxs)("div",{className:u()(M,V),onMouseDown:function(ue){return ue.stopPropagation()},onMouseLeave:function(ue){return ue.stopPropagation()},onMouseMove:function(ue){return ue.stopPropagation()},children:[(0,w.jsx)("div",{className:u()("".concat(M,"-title"),V,(0,t.Z)({},"".concat(M,"-title-ellipsis"),I)),children:D}),T&&(0,w.jsx)("div",{className:"".concat(M,"-subtitle ").concat(V).trim(),children:T}),L&&(0,w.jsx)(g.Z,(0,r.Z)((0,r.Z)({},U),{},{children:(0,w.jsx)("span",{className:"".concat(M,"-icon ").concat(V).trim(),children:ae})}))]}))})},36101:function(h,m,e){"use strict";e.d(m,{J:function(){return t}});var r=e(50959),t=r.createContext({})},64857:function(h,m,e){"use strict";e.d(m,{Cl:function(){return c},lp:function(){return f}});var r=e(97382),t=e(5726),n=e.n(t),o=e(56591),l=e.n(o),a=e(75124),s=e(480);n().extend(l());var c={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function v(S){return Object.prototype.toString.call(S)==="[object Object]"}function g(S){if(v(S)===!1)return!1;var O=S.constructor;if(O===void 0)return!0;var w=O.prototype;return!(v(w)===!1||w.hasOwnProperty("isPrototypeOf")===!1)}var x=function(O){return!!(O!=null&&O._isAMomentObject)},u=function(O,w,P){if(!w)return O;if(n().isDayjs(O)||x(O)){if(w==="number")return O.valueOf();if(w==="string")return O.format(c[P]||"YYYY-MM-DD HH:mm:ss");if(typeof w=="string"&&w!=="string")return O.format(w);if(typeof w=="function")return w(O,P)}return O},f=function S(O,w,P,Z,D){var L={};return typeof window=="undefined"||(0,r.Z)(O)!=="object"||(0,s.k)(O)||O instanceof Blob||Array.isArray(O)?O:(Object.keys(O).forEach(function(I){var T=D?[D,I].flat(1):[I],q=(0,a.Z)(P,T)||"text",Q="text",M;typeof q=="string"?Q=q:q&&(Q=q.valueType,M=q.dateFormat);var J=O[I];if(!((0,s.k)(J)&&Z)){if(g(J)&&!Array.isArray(J)&&!n().isDayjs(J)&&!x(J)){L[I]=S(J,w,P,Z,[I]);return}if(Array.isArray(J)){L[I]=J.map(function(X,V){return n().isDayjs(X)||x(X)?u(X,M||w,Q):S(X,w,P,Z,[I,"".concat(V)].flat(1))});return}L[I]=u(J,M||w,Q)}}),L)}},71739:function(h,m,e){"use strict";e.d(m,{D:function(){return l}});var r=e(11642),t=e(73356),n=e(50959),o=e(19348);function l(a,s){var c=(0,o.J)(a),v=(0,n.useRef)(),g=(0,n.useCallback)(function(){v.current&&(clearTimeout(v.current),v.current=null)},[]),x=(0,n.useCallback)((0,t.Z)((0,r.Z)().mark(function u(){var f,S,O,w=arguments;return(0,r.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:for(f=w.length,S=new Array(f),O=0;O0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(r+=1).toFixed(0);for(var a="",s=crypto.getRandomValues(new Uint8Array(l));l--;){var c=63&s[l];a+=c<36?c.toString(36):c<62?(c-26).toString(36).toUpperCase():c<63?"_":"-"}return a},n=function(){return typeof window=="undefined"?t():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():t()}},21373:function(h,m,e){"use strict";e.d(m,{Y:function(){return r}});var r=function(n){var o={};if(Object.keys(n||{}).forEach(function(l){n[l]!==void 0&&(o[l]=n[l])}),!(Object.keys(o).length<1))return o}},51454:function(h,m,e){"use strict";e.d(m,{MP:function(){return g},R6:function(){return c}});var r=e(97382),t=e(79062),n=e(36735),o=e(50959),l=e(11527);function a(x){var u=Object.prototype.toString.call(x).match(/^\[object (.*)\]$/)[1].toLowerCase();return u==="string"&&(0,r.Z)(x)==="object"?"object":x===null?"null":x===void 0?"undefined":u}var s=function(u){var f=u.color,S=u.children;return(0,l.jsx)(t.Z,{color:f,text:S})},c=function(u){return a(u)==="map"?u:new Map(Object.entries(u||{}))},v={Success:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"success",text:f})},Error:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"error",text:f})},Default:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"default",text:f})},Processing:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"processing",text:f})},Warning:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"warning",text:f})},success:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"success",text:f})},error:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"error",text:f})},default:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"default",text:f})},processing:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"processing",text:f})},warning:function(u){var f=u.children;return(0,l.jsx)(t.Z,{status:"warning",text:f})}},g=function x(u,f,S){if(Array.isArray(u))return(0,l.jsx)(n.Z,{split:",",size:2,wrap:!0,children:u.map(function(L,I){return x(L,f,I)})},S);var O=c(f);if(!O.has(u)&&!O.has("".concat(u)))return(u==null?void 0:u.label)||u;var w=O.get(u)||O.get("".concat(u));if(!w)return(0,l.jsx)(o.Fragment,{children:(u==null?void 0:u.label)||u},S);var P=w.status,Z=w.color,D=v[P||"Init"];return D?(0,l.jsx)(D,{children:w.text},S):Z?(0,l.jsx)(s,{color:Z,children:w.text},S):(0,l.jsx)(o.Fragment,{children:w.text||w},S)}},89558:function(h,m,e){"use strict";e.d(m,{h:function(){return r}});function r(t){if(typeof t=="function"){for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l.5?q/(2-Z-D):q/(Z+D),Z){case O:L=(w-P)/q+(w1&&(P-=1),P<.16666666666666666?O+(w-O)*(6*P):P<.5?w:P<.6666666666666666?O+(w-O)*(.6666666666666666-P)*6:O}function l(O,w,P){var Z,D,L;if(O=(0,r.sh)(O,360),w=(0,r.sh)(w,100),P=(0,r.sh)(P,100),w===0)D=P,L=P,Z=P;else{var I=P<.5?P*(1+w):P+w-P*w,T=2*P-I;Z=o(T,I,O+.3333333333333333),D=o(T,I,O),L=o(T,I,O-.3333333333333333)}return{r:Z*255,g:D*255,b:L*255}}function a(O,w,P){O=(0,r.sh)(O,255),w=(0,r.sh)(w,255),P=(0,r.sh)(P,255);var Z=Math.max(O,w,P),D=Math.min(O,w,P),L=0,I=Z,T=Z-D,q=Z===0?0:T/Z;if(Z===D)L=0;else{switch(Z){case O:L=(w-P)/T+(w>16,g:(O&65280)>>8,b:O&255}}},76367:function(h,m,e){"use strict";e.d(m,{R:function(){return r}});var r={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"}},28556:function(h,m,e){"use strict";e.d(m,{uA:function(){return o}});var r=e(96299),t=e(76367),n=e(23881);function o(f){var S={r:0,g:0,b:0},O=1,w=null,P=null,Z=null,D=!1,L=!1;return typeof f=="string"&&(f=x(f)),typeof f=="object"&&(u(f.r)&&u(f.g)&&u(f.b)?(S=(0,r.rW)(f.r,f.g,f.b),D=!0,L=String(f.r).substr(-1)==="%"?"prgb":"rgb"):u(f.h)&&u(f.s)&&u(f.v)?(w=(0,n.JX)(f.s),P=(0,n.JX)(f.v),S=(0,r.WE)(f.h,w,P),D=!0,L="hsv"):u(f.h)&&u(f.s)&&u(f.l)&&(w=(0,n.JX)(f.s),Z=(0,n.JX)(f.l),S=(0,r.ve)(f.h,w,Z),D=!0,L="hsl"),Object.prototype.hasOwnProperty.call(f,"a")&&(O=f.a)),O=(0,n.Yq)(O),{ok:D,format:f.format||L,r:Math.min(255,Math.max(S.r,0)),g:Math.min(255,Math.max(S.g,0)),b:Math.min(255,Math.max(S.b,0)),a:O}}var l="[-\\+]?\\d+%?",a="[-\\+]?\\d*\\.\\d+%?",s="(?:".concat(a,")|(?:").concat(l,")"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),v="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),g={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+v),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+v),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+v),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 x(f){if(f=f.trim().toLowerCase(),f.length===0)return!1;var S=!1;if(t.R[f])f=t.R[f],S=!0;else if(f==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var O=g.rgb.exec(f);return O?{r:O[1],g:O[2],b:O[3]}:(O=g.rgba.exec(f),O?{r:O[1],g:O[2],b:O[3],a:O[4]}:(O=g.hsl.exec(f),O?{h:O[1],s:O[2],l:O[3]}:(O=g.hsla.exec(f),O?{h:O[1],s:O[2],l:O[3],a:O[4]}:(O=g.hsv.exec(f),O?{h:O[1],s:O[2],v:O[3]}:(O=g.hsva.exec(f),O?{h:O[1],s:O[2],v:O[3],a:O[4]}:(O=g.hex8.exec(f),O?{r:(0,r.VD)(O[1]),g:(0,r.VD)(O[2]),b:(0,r.VD)(O[3]),a:(0,r.T6)(O[4]),format:S?"name":"hex8"}:(O=g.hex6.exec(f),O?{r:(0,r.VD)(O[1]),g:(0,r.VD)(O[2]),b:(0,r.VD)(O[3]),format:S?"name":"hex"}:(O=g.hex4.exec(f),O?{r:(0,r.VD)(O[1]+O[1]),g:(0,r.VD)(O[2]+O[2]),b:(0,r.VD)(O[3]+O[3]),a:(0,r.T6)(O[4]+O[4]),format:S?"name":"hex8"}:(O=g.hex3.exec(f),O?{r:(0,r.VD)(O[1]+O[1]),g:(0,r.VD)(O[2]+O[2]),b:(0,r.VD)(O[3]+O[3]),format:S?"name":"hex"}:!1)))))))))}function u(f){return!!g.CSS_UNIT.exec(String(f))}},99978:function(h,m,e){"use strict";e.d(m,{C:function(){return l}});var r=e(96299),t=e(76367),n=e(28556),o=e(23881),l=function(){function s(c,v){c===void 0&&(c=""),v===void 0&&(v={});var g;if(c instanceof s)return c;typeof c=="number"&&(c=(0,r.Yt)(c)),this.originalInput=c;var x=(0,n.uA)(c);this.originalInput=c,this.r=x.r,this.g=x.g,this.b=x.b,this.a=x.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=v.format)!==null&&g!==void 0?g:x.format,this.gradientType=v.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=x.ok}return s.prototype.isDark=function(){return this.getBrightness()<128},s.prototype.isLight=function(){return!this.isDark()},s.prototype.getBrightness=function(){var c=this.toRgb();return(c.r*299+c.g*587+c.b*114)/1e3},s.prototype.getLuminance=function(){var c=this.toRgb(),v,g,x,u=c.r/255,f=c.g/255,S=c.b/255;return u<=.03928?v=u/12.92:v=Math.pow((u+.055)/1.055,2.4),f<=.03928?g=f/12.92:g=Math.pow((f+.055)/1.055,2.4),S<=.03928?x=S/12.92:x=Math.pow((S+.055)/1.055,2.4),.2126*v+.7152*g+.0722*x},s.prototype.getAlpha=function(){return this.a},s.prototype.setAlpha=function(c){return this.a=(0,o.Yq)(c),this.roundA=Math.round(100*this.a)/100,this},s.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},s.prototype.toHsv=function(){var c=(0,r.py)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,v:c.v,a:this.a}},s.prototype.toHsvString=function(){var c=(0,r.py)(this.r,this.g,this.b),v=Math.round(c.h*360),g=Math.round(c.s*100),x=Math.round(c.v*100);return this.a===1?"hsv(".concat(v,", ").concat(g,"%, ").concat(x,"%)"):"hsva(".concat(v,", ").concat(g,"%, ").concat(x,"%, ").concat(this.roundA,")")},s.prototype.toHsl=function(){var c=(0,r.lC)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,l:c.l,a:this.a}},s.prototype.toHslString=function(){var c=(0,r.lC)(this.r,this.g,this.b),v=Math.round(c.h*360),g=Math.round(c.s*100),x=Math.round(c.l*100);return this.a===1?"hsl(".concat(v,", ").concat(g,"%, ").concat(x,"%)"):"hsla(".concat(v,", ").concat(g,"%, ").concat(x,"%, ").concat(this.roundA,")")},s.prototype.toHex=function(c){return c===void 0&&(c=!1),(0,r.vq)(this.r,this.g,this.b,c)},s.prototype.toHexString=function(c){return c===void 0&&(c=!1),"#"+this.toHex(c)},s.prototype.toHex8=function(c){return c===void 0&&(c=!1),(0,r.s)(this.r,this.g,this.b,this.a,c)},s.prototype.toHex8String=function(c){return c===void 0&&(c=!1),"#"+this.toHex8(c)},s.prototype.toHexShortString=function(c){return c===void 0&&(c=!1),this.a===1?this.toHexString(c):this.toHex8String(c)},s.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},s.prototype.toRgbString=function(){var c=Math.round(this.r),v=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(v,", ").concat(g,")"):"rgba(".concat(c,", ").concat(v,", ").concat(g,", ").concat(this.roundA,")")},s.prototype.toPercentageRgb=function(){var c=function(v){return"".concat(Math.round((0,o.sh)(v,255)*100),"%")};return{r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},s.prototype.toPercentageRgbString=function(){var c=function(v){return Math.round((0,o.sh)(v,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},s.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var c="#"+(0,r.vq)(this.r,this.g,this.b,!1),v=0,g=Object.entries(t.R);v=0,u=!v&&x&&(c.startsWith("hex")||c==="name");return u?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(g=this.toRgbString()),c==="prgb"&&(g=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(g=this.toHexString()),c==="hex3"&&(g=this.toHexString(!0)),c==="hex4"&&(g=this.toHex8String(!0)),c==="hex8"&&(g=this.toHex8String()),c==="name"&&(g=this.toName()),c==="hsl"&&(g=this.toHslString()),c==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},s.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},s.prototype.clone=function(){return new s(this.toString())},s.prototype.lighten=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.l+=c/100,v.l=(0,o.V2)(v.l),new s(v)},s.prototype.brighten=function(c){c===void 0&&(c=10);var v=this.toRgb();return v.r=Math.max(0,Math.min(255,v.r-Math.round(255*-(c/100)))),v.g=Math.max(0,Math.min(255,v.g-Math.round(255*-(c/100)))),v.b=Math.max(0,Math.min(255,v.b-Math.round(255*-(c/100)))),new s(v)},s.prototype.darken=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.l-=c/100,v.l=(0,o.V2)(v.l),new s(v)},s.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},s.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},s.prototype.desaturate=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.s-=c/100,v.s=(0,o.V2)(v.s),new s(v)},s.prototype.saturate=function(c){c===void 0&&(c=10);var v=this.toHsl();return v.s+=c/100,v.s=(0,o.V2)(v.s),new s(v)},s.prototype.greyscale=function(){return this.desaturate(100)},s.prototype.spin=function(c){var v=this.toHsl(),g=(v.h+c)%360;return v.h=g<0?360+g:g,new s(v)},s.prototype.mix=function(c,v){v===void 0&&(v=50);var g=this.toRgb(),x=new s(c).toRgb(),u=v/100,f={r:(x.r-g.r)*u+g.r,g:(x.g-g.g)*u+g.g,b:(x.b-g.b)*u+g.b,a:(x.a-g.a)*u+g.a};return new s(f)},s.prototype.analogous=function(c,v){c===void 0&&(c=6),v===void 0&&(v=30);var g=this.toHsl(),x=360/v,u=[this];for(g.h=(g.h-(x*c>>1)+720)%360;--c;)g.h=(g.h+x)%360,u.push(new s(g));return u},s.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new s(c)},s.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var v=this.toHsv(),g=v.h,x=v.s,u=v.v,f=[],S=1/c;c--;)f.push(new s({h:g,s:x,v:u})),u=(u+S)%1;return f},s.prototype.splitcomplement=function(){var c=this.toHsl(),v=c.h;return[this,new s({h:(v+72)%360,s:c.s,l:c.l}),new s({h:(v+216)%360,s:c.s,l:c.l})]},s.prototype.onBackground=function(c){var v=this.toRgb(),g=new s(c).toRgb(),x=v.a+g.a*(1-v.a);return new s({r:(v.r*v.a+g.r*g.a*(1-v.a))/x,g:(v.g*v.a+g.g*g.a*(1-v.a))/x,b:(v.b*v.a+g.b*g.a*(1-v.a))/x,a:x})},s.prototype.triad=function(){return this.polyad(3)},s.prototype.tetrad=function(){return this.polyad(4)},s.prototype.polyad=function(c){for(var v=this.toHsl(),g=v.h,x=[this],u=360/c,f=1;f1)&&(c=1),c}function a(c){return c<=1?"".concat(Number(c)*100,"%"):c}function s(c){return c.length===1?"0"+c:String(c)}},15077:function(h,m,e){"use strict";e.d(m,{Z:function(){return Q}});var r=e(959),t=e(50959),n=e(10422),o=e(95882),l=e(3769),a=e(38152),s=t.createContext(null),c=s,v=e(30360),g=e(45910),x=[];function u(M,J){var X=t.useState(function(){if(!(0,o.Z)())return null;var me=document.createElement("div");return me}),V=(0,r.Z)(X,1),U=V[0],ae=t.useRef(!1),le=t.useContext(c),ue=t.useState(x),R=(0,r.Z)(ue,2),B=R[0],G=R[1],$=le||(ae.current?void 0:function(me){G(function(ne){var k=[me].concat((0,v.Z)(ne));return k})});function j(){U.parentElement||document.body.appendChild(U),ae.current=!0}function se(){var me;(me=U.parentElement)===null||me===void 0||me.removeChild(U),ae.current=!1}return(0,g.Z)(function(){return M?le?le(j):j():se(),se},[M]),(0,g.Z)(function(){B.length&&(B.forEach(function(me){return me()}),G(x))},[B]),[U,$]}var f=e(20685),S=e(96717);function O(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var w="rc-util-locker-".concat(Date.now()),P=0;function Z(M){var J=!!M,X=t.useState(function(){return P+=1,"".concat(w,"_").concat(P)}),V=(0,r.Z)(X,1),U=V[0];(0,g.Z)(function(){if(J){var ae=(0,S.o)(document.body).width,le=O();(0,f.hq)(` html body { overflow-y: hidden; `.concat(le?"width: calc(100% - ".concat(ae,"px);"):"",` @@ -572,7 +572,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},93914:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(25940);function t(o,l){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);l&&(s=s.filter(function(c){return Object.getOwnPropertyDescriptor(o,c).enumerable})),a.push.apply(a,s)}return a}function n(o){for(var l=1;l=0)&&(l[s]=n[s]);return l}function t(n,o){if(n==null)return{};var l=r(n,o),a,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,a)&&(l[a]=n[a])}return l}},40394:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(91744);function t(o,l){if((0,r.Z)(o)!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var s=a.call(o,l||"default");if((0,r.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(o)}function n(o){var l=t(o,"string");return(0,r.Z)(l)=="symbol"?l:String(l)}},91744:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(t){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(t)}},76059:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});function r(n,o){(o==null||o>n.length)&&(o=n.length);for(var l=0,a=new Array(o);lt.length)&&(n=t.length);for(var o=0,l=new Array(n);o=n.length?{done:!0}:{done:!1,value:n[a++]}},e:function(u){throw u},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,v=!1,g;return{s:function(){l=l.call(n)},n:function(){var u=l.next();return c=u.done,u},e:function(u){v=!0,g=u},f:function(){try{!c&&l.return!=null&&l.return()}finally{if(v)throw g}}}}},25678:function(h,m,e){"use strict";e.d(m,{Z:function(){return a}});function r(s){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(v){return v.__proto__||Object.getPrototypeOf(v)},r(s)}function t(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(s){return!1}}var n=e(97382),o=e(1378);function l(s,c){if(c&&((0,n.Z)(c)==="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(s)}function a(s){var c=t();return function(){var g=r(s),x;if(c){var u=r(this).constructor;x=Reflect.construct(g,arguments,u)}else x=g.apply(this,arguments);return l(this,x)}}},88357:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(45233);function t(n,o,l){return o=(0,r.Z)(o),o in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l,n}},27263:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0)&&(l[s]=n[s]);return l}function t(n,o){if(n==null)return{};var l=r(n,o),a,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,a)&&(l[a]=n[a])}return l}},11642:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(97382);function t(){"use strict";t=function(){return o};var n,o={},l=Object.prototype,a=l.hasOwnProperty,s=Object.defineProperty||function(G,$,j){G[$]=j.value},c=typeof Symbol=="function"?Symbol:{},v=c.iterator||"@@iterator",g=c.asyncIterator||"@@asyncIterator",x=c.toStringTag||"@@toStringTag";function u(G,$,j){return Object.defineProperty(G,$,{value:j,enumerable:!0,configurable:!0,writable:!0}),G[$]}try{u({},"")}catch(G){u=function(j,se,me){return j[se]=me}}function f(G,$,j,se){var me=$&&$.prototype instanceof L?$:L,ne=Object.create(me.prototype),k=new R(se||[]);return s(ne,"_invoke",{value:U(G,j,k)}),ne}function S(G,$,j){try{return{type:"normal",arg:G.call($,j)}}catch(se){return{type:"throw",arg:se}}}o.wrap=f;var O="suspendedStart",w="suspendedYield",P="executing",Z="completed",D={};function L(){}function I(){}function T(){}var q={};u(q,v,function(){return this});var Q=Object.getPrototypeOf,M=Q&&Q(Q(B([])));M&&M!==l&&a.call(M,v)&&(q=M);var J=T.prototype=L.prototype=Object.create(q);function X(G){["next","throw","return"].forEach(function($){u(G,$,function(j){return this._invoke($,j)})})}function V(G,$){function j(me,ne,k,ve){var be=S(G[me],G,ne);if(be.type!=="throw"){var Ee=be.arg,je=Ee.value;return je&&(0,r.Z)(je)=="object"&&a.call(je,"__await")?$.resolve(je.__await).then(function(we){j("next",we,k,ve)},function(we){j("throw",we,k,ve)}):$.resolve(je).then(function(we){Ee.value=we,k(Ee)},function(we){return j("throw",we,k,ve)})}ve(be.arg)}var se;s(this,"_invoke",{value:function(ne,k){function ve(){return new $(function(be,Ee){j(ne,k,be,Ee)})}return se=se?se.then(ve,ve):ve()}})}function U(G,$,j){var se=O;return function(me,ne){if(se===P)throw new Error("Generator is already running");if(se===Z){if(me==="throw")throw ne;return{value:n,done:!0}}for(j.method=me,j.arg=ne;;){var k=j.delegate;if(k){var ve=ae(k,j);if(ve){if(ve===D)continue;return ve}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(se===O)throw se=Z,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);se=P;var be=S(G,$,j);if(be.type==="normal"){if(se=j.done?Z:w,be.arg===D)continue;return{value:be.arg,done:j.done}}be.type==="throw"&&(se=Z,j.method="throw",j.arg=be.arg)}}}function ae(G,$){var j=$.method,se=G.iterator[j];if(se===n)return $.delegate=null,j==="throw"&&G.iterator.return&&($.method="return",$.arg=n,ae(G,$),$.method==="throw")||j!=="return"&&($.method="throw",$.arg=new TypeError("The iterator does not provide a '"+j+"' method")),D;var me=S(se,G.iterator,$.arg);if(me.type==="throw")return $.method="throw",$.arg=me.arg,$.delegate=null,D;var ne=me.arg;return ne?ne.done?($[G.resultName]=ne.value,$.next=G.nextLoc,$.method!=="return"&&($.method="next",$.arg=n),$.delegate=null,D):ne:($.method="throw",$.arg=new TypeError("iterator result is not an object"),$.delegate=null,D)}function le(G){var $={tryLoc:G[0]};1 in G&&($.catchLoc=G[1]),2 in G&&($.finallyLoc=G[2],$.afterLoc=G[3]),this.tryEntries.push($)}function ue(G){var $=G.completion||{};$.type="normal",delete $.arg,G.completion=$}function R(G){this.tryEntries=[{tryLoc:"root"}],G.forEach(le,this),this.reset(!0)}function B(G){if(G||G===""){var $=G[v];if($)return $.call(G);if(typeof G.next=="function")return G;if(!isNaN(G.length)){var j=-1,se=function me(){for(;++j=0;--me){var ne=this.tryEntries[me],k=ne.completion;if(ne.tryLoc==="root")return se("end");if(ne.tryLoc<=this.prev){var ve=a.call(ne,"catchLoc"),be=a.call(ne,"finallyLoc");if(ve&&be){if(this.prev=0;--se){var me=this.tryEntries[se];if(me.tryLoc<=this.prev&&a.call(me,"finallyLoc")&&this.prev=0;--j){var se=this.tryEntries[j];if(se.finallyLoc===$)return this.complete(se.completion,se.afterLoc),ue(se),D}},catch:function($){for(var j=this.tryEntries.length-1;j>=0;--j){var se=this.tryEntries[j];if(se.tryLoc===$){var me=se.completion;if(me.type==="throw"){var ne=me.arg;ue(se)}return ne}}throw new Error("illegal catch attempt")},delegateYield:function($,j,se){return this.delegate={iterator:B($),resultName:j,nextLoc:se},this.method==="next"&&(this.arg=n),D}},o}},959:function(h,m,e){"use strict";e.d(m,{Z:function(){return l}});var r=e(2374);function t(a,s){var c=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c!=null){var v,g,x,u,f=[],S=!0,O=!1;try{if(x=(c=c.call(a)).next,s===0){if(Object(c)!==c)return;S=!1}else for(;!(S=(v=x.call(c)).done)&&(f.push(v.value),f.length!==s);S=!0);}catch(w){O=!0,g=w}finally{try{if(!S&&c.return!=null&&(u=c.return(),Object(u)!==u))return}finally{if(O)throw g}}return f}}var n=e(16333),o=e(38483);function l(a,s){return(0,r.Z)(a)||t(a,s)||(0,n.Z)(a,s)||(0,o.Z)()}},82435:function(h,m,e){"use strict";e.d(m,{Z:function(){return l}});var r=e(2374),t=e(27131),n=e(16333),o=e(38483);function l(a){return(0,r.Z)(a)||(0,t.Z)(a)||(0,n.Z)(a)||(0,o.Z)()}},30360:function(h,m,e){"use strict";e.d(m,{Z:function(){return a}});var r=e(64044);function t(s){if(Array.isArray(s))return(0,r.Z)(s)}var n=e(27131),o=e(16333);function l(){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 a(s){return t(s)||(0,n.Z)(s)||(0,o.Z)(s)||l()}},45233:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(97382);function t(o,l){if((0,r.Z)(o)!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var s=a.call(o,l||"default");if((0,r.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(o)}function n(o){var l=t(o,"string");return(0,r.Z)(l)=="symbol"?l:String(l)}},97382:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(t){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(t)}},16333:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(64044);function t(n,o){if(n){if(typeof n=="string")return(0,r.Z)(n,o);var l=Object.prototype.toString.call(n).slice(8,-1);if(l==="Object"&&n.constructor&&(l=n.constructor.name),l==="Map"||l==="Set")return Array.from(n);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,r.Z)(n,o)}}},84707:function(h,m,e){"use strict";e.d(m,{J$:function(){return pe},ZP:function(){return xe},kY:function(){return N}});var r=e(50959),t=e(4322);const n=()=>{},o=n(),l=Object,a=Oe=>Oe===o,s=Oe=>typeof Oe=="function",c=(Oe,Fe)=>g1(g1({},Oe),Fe),v=Oe=>s(Oe.then),g=new WeakMap;let x=0;const u=Oe=>{const Fe=typeof Oe,We=Oe&&Oe.constructor,Se=We==Date;let Te,Ae;if(l(Oe)===Oe&&!Se&&We!=RegExp){if(Te=g.get(Oe),Te)return Te;if(Te=++x+"~",g.set(Oe,Te),We==Array){for(Te="@",Ae=0;AeP&&typeof window.requestAnimationFrame!=w,L=(Oe,Fe)=>{const We=f.get(Oe);return[()=>!a(Fe)&&Oe.get(Fe)||S,Se=>{if(!a(Fe)){const Te=Oe.get(Fe);Fe in O||(O[Fe]=Te),We[5](Fe,c(Te,Se),Te||S)}},We[6],()=>!a(Fe)&&Fe in O?O[Fe]:!a(Fe)&&Oe.get(Fe)||S]};let I=!0;const T=()=>I,[q,Q]=P&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[n,n],M=()=>{const Oe=Z&&document.visibilityState;return a(Oe)||Oe!=="hidden"},J=Oe=>(Z&&document.addEventListener("visibilitychange",Oe),q("focus",Oe),()=>{Z&&document.removeEventListener("visibilitychange",Oe),Q("focus",Oe)}),X=Oe=>{const Fe=()=>{I=!0,Oe()},We=()=>{I=!1};return q("online",Fe),q("offline",We),()=>{Q("online",Fe),Q("offline",We)}},V={isOnline:T,isVisible:M},U={initFocus:J,initReconnect:X},ae=!r.useId,le=!P||"Deno"in window,ue=Oe=>D()?window.requestAnimationFrame(Oe):setTimeout(Oe,1),R=le?r.useEffect:r.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,G=!le&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),$=Oe=>{if(s(Oe))try{Oe=Oe()}catch(We){Oe=""}const Fe=Oe;return Oe=typeof Oe=="string"?Oe:(Array.isArray(Oe)?Oe.length:Oe)?u(Oe):"",[Oe,Fe]};let j=0;const se=()=>++j,me=0,ne=1,k=2;var be={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:me,MUTATE_EVENT:k,RECONNECT_EVENT:ne};function Ee(...Oe){return mf(this,null,function*(){const[Fe,We,Se,Te]=Oe,Ae=c({populateCache:!0,throwOnError:!0},typeof Te=="boolean"?{revalidate:Te}:Te||{});let at=Ae.populateCache;const mt=Ae.rollbackOnError;let zt=Ae.optimisticData;const hn=Ae.revalidate!==!1,ot=On=>typeof mt=="function"?mt(On):mt!==!1,un=Ae.throwOnError;if(s(We)){const On=We,yt=[],Lt=Fe.keys();for(const Qt of Lt)!/^\$(inf|sub)\$/.test(Qt)&&On(Fe.get(Qt)._k)&&yt.push(Qt);return Promise.all(yt.map(Cn))}return Cn(We);function Cn(On){return mf(this,null,function*(){const[yt]=$(On);if(!yt)return;const[Lt,Qt]=L(Fe,yt),[Kt,an,$n,Un]=f.get(Fe),dn=()=>{const Dt=Kt[yt];return hn&&(delete $n[yt],delete Un[yt],Dt&&Dt[0])?Dt[0](k).then(()=>Lt().data):Lt().data};if(Oe.length<3)return dn();let on=Se,Sn;const vn=se();an[yt]=[vn,0];const Bn=!a(zt),Jn=Lt(),vr=Jn.data,It=Jn._c,Ct=a(It)?vr:It;if(Bn&&(zt=s(zt)?zt(Ct,vr):zt,Qt({data:zt,_c:Ct})),s(on))try{on=on(Ct)}catch(Dt){Sn=Dt}if(on&&v(on))if(on=yield on.catch(Dt=>{Sn=Dt}),vn!==an[yt][0]){if(Sn)throw Sn;return on}else Sn&&Bn&&ot(Sn)&&(at=!0,Qt({data:Ct,_c:o}));if(at&&!Sn)if(s(at)){const Dt=at(on,Ct);Qt({data:Dt,error:o,_c:o})}else Qt({data:on,error:o,_c:o});if(an[yt][1]=se(),Promise.resolve(dn()).then(()=>{Qt({_c:o})}),Sn){if(un)throw Sn;return}return on})}})}const je=(Oe,Fe)=>{for(const We in Oe)Oe[We][0]&&Oe[We][0](Fe)},we=(Oe,Fe)=>{if(!f.has(Oe)){const We=c(U,Fe),Se={},Te=Ee.bind(o,Oe);let Ae=n;const at={},mt=(ot,un)=>{const Cn=at[ot]||[];return at[ot]=Cn,Cn.push(un),()=>Cn.splice(Cn.indexOf(un),1)},zt=(ot,un,Cn)=>{Oe.set(ot,un);const On=at[ot];if(On)for(const yt of On)yt(un,Cn)},hn=()=>{if(!f.has(Oe)&&(f.set(Oe,[Se,{},{},{},Te,zt,mt]),!le)){const ot=We.initFocus(setTimeout.bind(o,je.bind(o,Se,me))),un=We.initReconnect(setTimeout.bind(o,je.bind(o,Se,ne)));Ae=()=>{ot&&ot(),un&&un(),f.delete(Oe)}}};return hn(),[Oe,Te,hn,Ae]}return[Oe,f.get(Oe)[4]]},st=(Oe,Fe,We,Se,Te)=>{const Ae=We.errorRetryCount,at=Te.retryCount,mt=~~((Math.random()+.5)*(1<<(at<8?at:8)))*We.errorRetryInterval;!a(Ae)&&at>Ae||setTimeout(Se,mt,Te)},ct=(Oe,Fe)=>u(Oe)==u(Fe),[Ye,ut]=we(new Map),qe=c({onLoadingSlow:n,onSuccess:n,onError:n,onErrorRetry:st,onDiscarded:n,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:G?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:G?5e3:3e3,compare:ct,isPaused:()=>!1,cache:Ye,mutate:ut,fallback:{}},V),ze=(Oe,Fe)=>{const We=c(Oe,Fe);if(Fe){const{use:Se,fallback:Te}=Oe,{use:Ae,fallback:at}=Fe;Se&&Ae&&(We.use=Se.concat(Ae)),Te&&at&&(We.fallback=c(Te,at))}return We},W=(0,r.createContext)({}),F=Oe=>{const{value:Fe}=Oe,We=(0,r.useContext)(W),Se=s(Fe),Te=(0,r.useMemo)(()=>Se?Fe(We):Fe,[Se,We,Fe]),Ae=(0,r.useMemo)(()=>Se?Te:ze(We,Te),[Se,We,Te]),at=Te&&Te.provider,mt=(0,r.useRef)(o);at&&!mt.current&&(mt.current=we(at(Ae.cache||Ye),Te));const zt=mt.current;return zt&&(Ae.cache=zt[0],Ae.mutate=zt[1]),R(()=>{if(zt)return zt[2]&&zt[2](),zt[3]},[]),(0,r.createElement)(W.Provider,c(Oe,{value:Ae}))},A="$inf$",K=P&&window.__SWR_DEVTOOLS_USE__,re=K?window.__SWR_DEVTOOLS_USE__:[],de=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=r)},Y=Oe=>s(Oe[1])?[Oe[0],Oe[1],Oe[2]||{}]:[Oe[0],null,(Oe[1]===null?Oe[2]:Oe[1])||{}],N=()=>c(qe,(0,r.useContext)(W)),ie=(Oe,Fe)=>{const[We,Se]=$(Oe),[,,,Te]=f.get(Ye);if(Te[We])return Te[We];const Ae=Fe(Se);return Te[We]=Ae,Ae},oe=Oe=>(Fe,We,Se)=>Oe(Fe,We&&((...Ae)=>{const[at]=$(Fe),[,,,mt]=f.get(Ye);if(at.startsWith(A))return We(...Ae);const zt=mt[at];return a(zt)?We(...Ae):(delete mt[at],zt)}),Se),ee=re.concat(oe),fe=Oe=>function(...We){const Se=N(),[Te,Ae,at]=Y(We),mt=ze(Se,at);let zt=Oe;const{use:hn}=mt,ot=(hn||[]).concat(ee);for(let un=ot.length;un--;)zt=ot[un](zt);return zt(Te,Ae||mt.fetcher||null,mt)},Ne=(Oe,Fe,We)=>{const Se=Fe[Oe]||(Fe[Oe]=[]);return Se.push(We),()=>{const Te=Se.indexOf(We);Te>=0&&(Se[Te]=Se[Se.length-1],Se.pop())}},tt=(Oe,Fe)=>(...We)=>{const[Se,Te,Ae]=Y(We),at=(Ae.use||[]).concat(Fe);return Oe(Se,Te,G5(g1({},Ae),{use:at}))};de();const $e=Oe=>serialize(Oe)[0],he=r.use||(Oe=>{if(Oe.status==="pending")throw Oe;if(Oe.status==="fulfilled")return Oe.value;throw Oe.status==="rejected"?Oe.reason:(Oe.status="pending",Oe.then(Fe=>{Oe.status="fulfilled",Oe.value=Fe},Fe=>{Oe.status="rejected",Oe.reason=Fe}),Oe)}),Ue={dedupe:!0},Ge=(Oe,Fe,We)=>{const{cache:Se,compare:Te,suspense:Ae,fallbackData:at,revalidateOnMount:mt,revalidateIfStale:zt,refreshInterval:hn,refreshWhenHidden:ot,refreshWhenOffline:un,keepPreviousData:Cn}=We,[On,yt,Lt,Qt]=f.get(Se),[Kt,an]=$(Oe),$n=(0,r.useRef)(!1),Un=(0,r.useRef)(!1),dn=(0,r.useRef)(Kt),on=(0,r.useRef)(Fe),Sn=(0,r.useRef)(We),vn=()=>Sn.current,Bn=()=>vn().isVisible()&&vn().isOnline(),[Jn,vr,It,Ct]=L(Se,Kt),Dt=(0,r.useRef)({}).current,dt=a(at)?We.fallback[Kt]:at,en=(Zt,Qe)=>{for(const nn in Dt){const Ht=nn;if(Ht==="data"){if(!Te(Zt[Ht],Qe[Ht])&&(!a(Zt[Ht])||!Te(Ke,Qe[Ht])))return!1}else if(Qe[Ht]!==Zt[Ht])return!1}return!0},pn=(0,r.useMemo)(()=>{const Zt=(()=>!Kt||!Fe?!1:a(mt)?vn().isPaused()||Ae?!1:a(zt)?!0:zt:mt)(),Qe=er=>{const qn=c(er);return delete qn._k,Zt?g1({isValidating:!0,isLoading:!0},qn):qn},nn=Jn(),Ht=Ct(),En=Qe(nn),mn=nn===Ht?En:Qe(Ht);let Mn=En;return[()=>{const er=Qe(Jn());return en(er,Mn)?(Mn.data=er.data,Mn.isLoading=er.isLoading,Mn.isValidating=er.isValidating,Mn.error=er.error,Mn):(Mn=er,er)},()=>mn]},[Se,Kt]),Rn=(0,t.useSyncExternalStore)((0,r.useCallback)(Zt=>It(Kt,(Qe,nn)=>{en(nn,Qe)||Zt()}),[Se,Kt]),pn[0],pn[1]),Tn=!$n.current,or=On[Kt]&&On[Kt].length>0,Kn=Rn.data,ht=a(Kn)?dt:Kn,Et=Rn.error,Ze=(0,r.useRef)(ht),Ke=Cn?a(Kn)?Ze.current:Kn:ht,wt=(()=>or&&!a(Et)?!1:Tn&&!a(mt)?mt:vn().isPaused()?!1:Ae?a(ht)?!1:zt:a(ht)||zt)(),xt=!!(Kt&&Fe&&Tn&&wt),kt=a(Rn.isValidating)?xt:Rn.isValidating,Rt=a(Rn.isLoading)?xt:Rn.isLoading,Jt=(0,r.useCallback)(Zt=>mf(this,null,function*(){const Qe=on.current;if(!Kt||!Qe||Un.current||vn().isPaused())return!1;let nn,Ht,En=!0;const mn=Zt||{},Mn=!Lt[Kt]||!mn.dedupe,er=()=>ae?!Un.current&&Kt===dn.current&&$n.current:Kt===dn.current,qn={isValidating:!1,isLoading:!1},lt=()=>{vr(qn)},rt=()=>{const bt=Lt[Kt];bt&&bt[1]===Ht&&delete Lt[Kt]},pt={isValidating:!0};a(Jn().data)&&(pt.isLoading=!0);try{if(Mn&&(vr(pt),We.loadingTimeout&&a(Jn().data)&&setTimeout(()=>{En&&er()&&vn().onLoadingSlow(Kt,We)},We.loadingTimeout),Lt[Kt]=[Qe(an),se()]),[nn,Ht]=Lt[Kt],nn=yield nn,Mn&&setTimeout(rt,We.dedupingInterval),!Lt[Kt]||Lt[Kt][1]!==Ht)return Mn&&er()&&vn().onDiscarded(Kt),!1;qn.error=o;const bt=yt[Kt];if(!a(bt)&&(Ht<=bt[0]||Ht<=bt[1]||bt[1]===0))return lt(),Mn&&er()&&vn().onDiscarded(Kt),!1;const Me=Jn().data;qn.data=Te(Me,nn)?Me:nn,Mn&&er()&&vn().onSuccess(nn,Kt,We)}catch(bt){rt();const Me=vn(),{shouldRetryOnError:Pe}=Me;Me.isPaused()||(qn.error=bt,Mn&&er()&&(Me.onError(bt,Kt,Me),(Pe===!0||s(Pe)&&Pe(bt))&&Bn()&&Me.onErrorRetry(bt,Kt,Me,Re=>{const He=On[Kt];He&&He[0]&&He[0](be.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(mn.retryCount||0)+1,dedupe:!0})))}return En=!1,lt(),!0}),[Kt,Se]),St=(0,r.useCallback)((...Zt)=>Ee(Se,dn.current,...Zt),[]);if(R(()=>{on.current=Fe,Sn.current=We,a(Kn)||(Ze.current=Kn)}),R(()=>{if(!Kt)return;const Zt=Jt.bind(o,Ue);let Qe=0;const Ht=Ne(Kt,On,(En,mn={})=>{if(En==be.FOCUS_EVENT){const Mn=Date.now();vn().revalidateOnFocus&&Mn>Qe&&Bn()&&(Qe=Mn+vn().focusThrottleInterval,Zt())}else if(En==be.RECONNECT_EVENT)vn().revalidateOnReconnect&&Bn()&&Zt();else{if(En==be.MUTATE_EVENT)return Jt();if(En==be.ERROR_REVALIDATE_EVENT)return Jt(mn)}});return Un.current=!1,dn.current=Kt,$n.current=!0,vr({_k:an}),wt&&(a(ht)||le?Zt():ue(Zt)),()=>{Un.current=!0,Ht()}},[Kt]),R(()=>{let Zt;function Qe(){const Ht=s(hn)?hn(Jn().data):hn;Ht&&Zt!==-1&&(Zt=setTimeout(nn,Ht))}function nn(){!Jn().error&&(ot||vn().isVisible())&&(un||vn().isOnline())?Jt(Ue).then(Qe):Qe()}return Qe(),()=>{Zt&&(clearTimeout(Zt),Zt=-1)}},[hn,ot,un,Kt]),(0,r.useDebugValue)(Ke),Ae&&a(ht)&&Kt){if(!ae&&le)throw new Error("Fallback data is required when using suspense in SSR.");on.current=Fe,Sn.current=We,Un.current=!1;const Zt=Qt[Kt];if(!a(Zt)){const Qe=St(Zt);he(Qe)}if(a(Et)){const Qe=Jt(Ue);a(Ke)||(Qe.status="fulfilled",Qe.value=!0),he(Qe)}else throw Et}return{mutate:St,get data(){return Dt.data=!0,Ke},get error(){return Dt.error=!0,Et},get isValidating(){return Dt.isValidating=!0,kt},get isLoading(){return Dt.isLoading=!0,Rt}}},pe=l.defineProperty(F,"defaultValue",{value:qe}),xe=fe(Ge)}},rc={};function rn(h){var m=rc[h];if(m!==void 0)return m.exports;var e=rc[h]={id:h,loaded:!1,exports:{}};return Dc[h].call(e.exports,e,e.exports,rn),e.loaded=!0,e.exports}rn.m=Dc,function(){rn.amdO={}}(),function(){rn.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return rn.d(m,{a:m}),m}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;rn.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var t=Object.create(null);rn.r(t);var n={};m=m||[null,h({}),h([]),h(h)];for(var o=r&2&&e;typeof o=="object"&&!~m.indexOf(o);o=h(o))Object.getOwnPropertyNames(o).forEach(function(l){n[l]=function(){return e[l]}});return n.default=function(){return e},rn.d(t,n),t}}(),function(){rn.d=function(h,m){for(var e in m)rn.o(m,e)&&!rn.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:m[e]})}}(),function(){rn.f={},rn.e=function(h){return Promise.all(Object.keys(rn.f).reduce(function(m,e){return rn.f[e](h,m),m},[]))}}(),function(){rn.u=function(h){return""+({38:"src__pages__goodsSetMeal__$id__create",207:"src__pages__user__register__service",344:"src__pages__user__register___mock",675:"src__pages__note__note__edit",1333:"src__pages__config__agreement__index",1551:"src__pages__goodsSetMeal__$id__update",1817:"src__pages__user__grade__index",1873:"src__pages__system__log__index",2263:"src__pages__system__role__index",2341:"src__pages__goodsSetMeal__index",2722:"src__pages__finance__integral__index",2727:"src__pages__user__register-result__style.style",2890:"src__pages__config__config__index",3192:"src__pages__Welcome",3342:"src__pages__note__cate__edit",3740:"src__pages__note__cate__index",3759:"src__pages__goods__index",3836:"src__pages__system__user__index",4147:"src__pages__finance__variation__index",4373:"src__pages__config__banner__index",4468:"src__pages__user__user__components__LevelFormModal",4575:"src__pages__user__user__edit",4615:"src__pages__order__index",4650:"src__pages__404",4936:"src__pages__note__note__index",5106:"src__pages__user__register-result__index",5258:"src__pages__finance__earnings__index",5281:"src__pages__user__login__index",5351:"src__pages__facility__serviceCharge__index",5829:"src__pages__finance__withdraw__components__TempFormModal",6301:"t__plugin-layout__Layout",6387:"src__pages__config__agreement__edit",6864:"src__pages__payment__index",7015:"src__pages__user__register__style.style",7178:"src__pages__finance__withdraw__index",7210:"src__pages__system__user__edit",7329:"src__pages__Admin",7709:"src__pages__system__menu__index",8009:"src__pages__user__login__login.test",8015:"src__pages__goods__$id__create",8263:"src__pages__user__register__index",8280:"src__pages__user__user__components__TempFormModal",8776:"src__pages__system__menu__edit",8780:"src__pages__user__user__index",8922:"src__pages__system__role__edit",9398:"src__pages__goods__$id__update",9532:"src__pages__config__banner__edit"}[h]||h)+"."+{38:"f41c9baa",207:"7eb8f028",344:"ea66fc46",449:"5332a375",675:"98a602f7",1333:"132afff0",1411:"867e45ca",1551:"f619931d",1817:"da7b48f9",1873:"f12e38f4",2263:"639caba5",2284:"ee505d0a",2341:"bb6569eb",2722:"f0234d3f",2727:"8978797b",2890:"a8d055b0",2901:"b1b16834",2911:"4bdb898c",3192:"522f55aa",3342:"e886800f",3740:"e671dfbf",3759:"0fd6bf4b",3836:"008e6c97",4147:"9bb1432f",4373:"17af17bf",4468:"ca83adca",4575:"d5613104",4587:"70b182d8",4615:"37a49989",4650:"f65a06f8",4936:"c624e0d9",4974:"a79f4396",5106:"00dca1b1",5258:"6cdff313",5281:"175dbb02",5351:"7c458627",5829:"58bbe3b9",6030:"76a4da21",6276:"f338284a",6301:"10dd31a5",6387:"2203edcb",6864:"8fd12029",7015:"cba1b658",7178:"ce7070a8",7210:"51817833",7329:"3d9dd6b3",7709:"e06b225a",8009:"f48da20e",8015:"29c0233a",8263:"fa46b55c",8280:"c1accced",8383:"8257ce37",8776:"bc36c2fa",8780:"44594f2c",8922:"f186886d",9398:"0c308962",9532:"cdb224f0",9910:"c8239399"}[h]+".async.js"}}(),function(){rn.miniCssF=function(h){return""+({5281:"src__pages__user__login__index",6301:"t__plugin-layout__Layout",7709:"src__pages__system__menu__index",8776:"src__pages__system__menu__edit"}[h]||h)+"."+{2284:"dd92c41b",5281:"13f5e071",6301:"6cae69f5",7709:"e6c21101",8776:"e6c21101"}[h]+".chunk.css"}}(),function(){rn.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){rn.hmd=function(h){return h=Object.create(h),h.children||(h.children=[]),Object.defineProperty(h,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+h.id)}}),h}}(),function(){rn.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){var h={},m="ant-design-pro:";rn.l=function(e,r,t,n){if(h[e]){h[e].push(r);return}var o,l;if(t!==void 0)for(var a=document.getElementsByTagName("script"),s=0;s{},o=n(),l=Object,a=Oe=>Oe===o,s=Oe=>typeof Oe=="function",c=(Oe,Fe)=>g1(g1({},Oe),Fe),v=Oe=>s(Oe.then),g=new WeakMap;let x=0;const u=Oe=>{const Fe=typeof Oe,We=Oe&&Oe.constructor,Se=We==Date;let Te,Ae;if(l(Oe)===Oe&&!Se&&We!=RegExp){if(Te=g.get(Oe),Te)return Te;if(Te=++x+"~",g.set(Oe,Te),We==Array){for(Te="@",Ae=0;AeP&&typeof window.requestAnimationFrame!=w,L=(Oe,Fe)=>{const We=f.get(Oe);return[()=>!a(Fe)&&Oe.get(Fe)||S,Se=>{if(!a(Fe)){const Te=Oe.get(Fe);Fe in O||(O[Fe]=Te),We[5](Fe,c(Te,Se),Te||S)}},We[6],()=>!a(Fe)&&Fe in O?O[Fe]:!a(Fe)&&Oe.get(Fe)||S]};let I=!0;const T=()=>I,[q,Q]=P&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[n,n],M=()=>{const Oe=Z&&document.visibilityState;return a(Oe)||Oe!=="hidden"},J=Oe=>(Z&&document.addEventListener("visibilitychange",Oe),q("focus",Oe),()=>{Z&&document.removeEventListener("visibilitychange",Oe),Q("focus",Oe)}),X=Oe=>{const Fe=()=>{I=!0,Oe()},We=()=>{I=!1};return q("online",Fe),q("offline",We),()=>{Q("online",Fe),Q("offline",We)}},V={isOnline:T,isVisible:M},U={initFocus:J,initReconnect:X},ae=!r.useId,le=!P||"Deno"in window,ue=Oe=>D()?window.requestAnimationFrame(Oe):setTimeout(Oe,1),R=le?r.useEffect:r.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,G=!le&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),$=Oe=>{if(s(Oe))try{Oe=Oe()}catch(We){Oe=""}const Fe=Oe;return Oe=typeof Oe=="string"?Oe:(Array.isArray(Oe)?Oe.length:Oe)?u(Oe):"",[Oe,Fe]};let j=0;const se=()=>++j,me=0,ne=1,k=2;var be={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:me,MUTATE_EVENT:k,RECONNECT_EVENT:ne};function Ee(...Oe){return mf(this,null,function*(){const[Fe,We,Se,Te]=Oe,Ae=c({populateCache:!0,throwOnError:!0},typeof Te=="boolean"?{revalidate:Te}:Te||{});let at=Ae.populateCache;const mt=Ae.rollbackOnError;let zt=Ae.optimisticData;const hn=Ae.revalidate!==!1,ot=On=>typeof mt=="function"?mt(On):mt!==!1,un=Ae.throwOnError;if(s(We)){const On=We,yt=[],Lt=Fe.keys();for(const Qt of Lt)!/^\$(inf|sub)\$/.test(Qt)&&On(Fe.get(Qt)._k)&&yt.push(Qt);return Promise.all(yt.map(Cn))}return Cn(We);function Cn(On){return mf(this,null,function*(){const[yt]=$(On);if(!yt)return;const[Lt,Qt]=L(Fe,yt),[Kt,an,$n,Un]=f.get(Fe),dn=()=>{const Dt=Kt[yt];return hn&&(delete $n[yt],delete Un[yt],Dt&&Dt[0])?Dt[0](k).then(()=>Lt().data):Lt().data};if(Oe.length<3)return dn();let on=Se,Sn;const vn=se();an[yt]=[vn,0];const Bn=!a(zt),Jn=Lt(),vr=Jn.data,It=Jn._c,Ct=a(It)?vr:It;if(Bn&&(zt=s(zt)?zt(Ct,vr):zt,Qt({data:zt,_c:Ct})),s(on))try{on=on(Ct)}catch(Dt){Sn=Dt}if(on&&v(on))if(on=yield on.catch(Dt=>{Sn=Dt}),vn!==an[yt][0]){if(Sn)throw Sn;return on}else Sn&&Bn&&ot(Sn)&&(at=!0,Qt({data:Ct,_c:o}));if(at&&!Sn)if(s(at)){const Dt=at(on,Ct);Qt({data:Dt,error:o,_c:o})}else Qt({data:on,error:o,_c:o});if(an[yt][1]=se(),Promise.resolve(dn()).then(()=>{Qt({_c:o})}),Sn){if(un)throw Sn;return}return on})}})}const je=(Oe,Fe)=>{for(const We in Oe)Oe[We][0]&&Oe[We][0](Fe)},we=(Oe,Fe)=>{if(!f.has(Oe)){const We=c(U,Fe),Se={},Te=Ee.bind(o,Oe);let Ae=n;const at={},mt=(ot,un)=>{const Cn=at[ot]||[];return at[ot]=Cn,Cn.push(un),()=>Cn.splice(Cn.indexOf(un),1)},zt=(ot,un,Cn)=>{Oe.set(ot,un);const On=at[ot];if(On)for(const yt of On)yt(un,Cn)},hn=()=>{if(!f.has(Oe)&&(f.set(Oe,[Se,{},{},{},Te,zt,mt]),!le)){const ot=We.initFocus(setTimeout.bind(o,je.bind(o,Se,me))),un=We.initReconnect(setTimeout.bind(o,je.bind(o,Se,ne)));Ae=()=>{ot&&ot(),un&&un(),f.delete(Oe)}}};return hn(),[Oe,Te,hn,Ae]}return[Oe,f.get(Oe)[4]]},st=(Oe,Fe,We,Se,Te)=>{const Ae=We.errorRetryCount,at=Te.retryCount,mt=~~((Math.random()+.5)*(1<<(at<8?at:8)))*We.errorRetryInterval;!a(Ae)&&at>Ae||setTimeout(Se,mt,Te)},ct=(Oe,Fe)=>u(Oe)==u(Fe),[Ye,ut]=we(new Map),qe=c({onLoadingSlow:n,onSuccess:n,onError:n,onErrorRetry:st,onDiscarded:n,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:G?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:G?5e3:3e3,compare:ct,isPaused:()=>!1,cache:Ye,mutate:ut,fallback:{}},V),ze=(Oe,Fe)=>{const We=c(Oe,Fe);if(Fe){const{use:Se,fallback:Te}=Oe,{use:Ae,fallback:at}=Fe;Se&&Ae&&(We.use=Se.concat(Ae)),Te&&at&&(We.fallback=c(Te,at))}return We},W=(0,r.createContext)({}),F=Oe=>{const{value:Fe}=Oe,We=(0,r.useContext)(W),Se=s(Fe),Te=(0,r.useMemo)(()=>Se?Fe(We):Fe,[Se,We,Fe]),Ae=(0,r.useMemo)(()=>Se?Te:ze(We,Te),[Se,We,Te]),at=Te&&Te.provider,mt=(0,r.useRef)(o);at&&!mt.current&&(mt.current=we(at(Ae.cache||Ye),Te));const zt=mt.current;return zt&&(Ae.cache=zt[0],Ae.mutate=zt[1]),R(()=>{if(zt)return zt[2]&&zt[2](),zt[3]},[]),(0,r.createElement)(W.Provider,c(Oe,{value:Ae}))},A="$inf$",K=P&&window.__SWR_DEVTOOLS_USE__,re=K?window.__SWR_DEVTOOLS_USE__:[],de=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=r)},Y=Oe=>s(Oe[1])?[Oe[0],Oe[1],Oe[2]||{}]:[Oe[0],null,(Oe[1]===null?Oe[2]:Oe[1])||{}],N=()=>c(qe,(0,r.useContext)(W)),ie=(Oe,Fe)=>{const[We,Se]=$(Oe),[,,,Te]=f.get(Ye);if(Te[We])return Te[We];const Ae=Fe(Se);return Te[We]=Ae,Ae},oe=Oe=>(Fe,We,Se)=>Oe(Fe,We&&((...Ae)=>{const[at]=$(Fe),[,,,mt]=f.get(Ye);if(at.startsWith(A))return We(...Ae);const zt=mt[at];return a(zt)?We(...Ae):(delete mt[at],zt)}),Se),ee=re.concat(oe),fe=Oe=>function(...We){const Se=N(),[Te,Ae,at]=Y(We),mt=ze(Se,at);let zt=Oe;const{use:hn}=mt,ot=(hn||[]).concat(ee);for(let un=ot.length;un--;)zt=ot[un](zt);return zt(Te,Ae||mt.fetcher||null,mt)},Ne=(Oe,Fe,We)=>{const Se=Fe[Oe]||(Fe[Oe]=[]);return Se.push(We),()=>{const Te=Se.indexOf(We);Te>=0&&(Se[Te]=Se[Se.length-1],Se.pop())}},tt=(Oe,Fe)=>(...We)=>{const[Se,Te,Ae]=Y(We),at=(Ae.use||[]).concat(Fe);return Oe(Se,Te,G5(g1({},Ae),{use:at}))};de();const $e=Oe=>serialize(Oe)[0],he=r.use||(Oe=>{if(Oe.status==="pending")throw Oe;if(Oe.status==="fulfilled")return Oe.value;throw Oe.status==="rejected"?Oe.reason:(Oe.status="pending",Oe.then(Fe=>{Oe.status="fulfilled",Oe.value=Fe},Fe=>{Oe.status="rejected",Oe.reason=Fe}),Oe)}),Ue={dedupe:!0},Ge=(Oe,Fe,We)=>{const{cache:Se,compare:Te,suspense:Ae,fallbackData:at,revalidateOnMount:mt,revalidateIfStale:zt,refreshInterval:hn,refreshWhenHidden:ot,refreshWhenOffline:un,keepPreviousData:Cn}=We,[On,yt,Lt,Qt]=f.get(Se),[Kt,an]=$(Oe),$n=(0,r.useRef)(!1),Un=(0,r.useRef)(!1),dn=(0,r.useRef)(Kt),on=(0,r.useRef)(Fe),Sn=(0,r.useRef)(We),vn=()=>Sn.current,Bn=()=>vn().isVisible()&&vn().isOnline(),[Jn,vr,It,Ct]=L(Se,Kt),Dt=(0,r.useRef)({}).current,dt=a(at)?We.fallback[Kt]:at,en=(Zt,Qe)=>{for(const nn in Dt){const Ht=nn;if(Ht==="data"){if(!Te(Zt[Ht],Qe[Ht])&&(!a(Zt[Ht])||!Te(Ke,Qe[Ht])))return!1}else if(Qe[Ht]!==Zt[Ht])return!1}return!0},pn=(0,r.useMemo)(()=>{const Zt=(()=>!Kt||!Fe?!1:a(mt)?vn().isPaused()||Ae?!1:a(zt)?!0:zt:mt)(),Qe=er=>{const qn=c(er);return delete qn._k,Zt?g1({isValidating:!0,isLoading:!0},qn):qn},nn=Jn(),Ht=Ct(),En=Qe(nn),mn=nn===Ht?En:Qe(Ht);let Mn=En;return[()=>{const er=Qe(Jn());return en(er,Mn)?(Mn.data=er.data,Mn.isLoading=er.isLoading,Mn.isValidating=er.isValidating,Mn.error=er.error,Mn):(Mn=er,er)},()=>mn]},[Se,Kt]),Rn=(0,t.useSyncExternalStore)((0,r.useCallback)(Zt=>It(Kt,(Qe,nn)=>{en(nn,Qe)||Zt()}),[Se,Kt]),pn[0],pn[1]),Tn=!$n.current,or=On[Kt]&&On[Kt].length>0,Kn=Rn.data,ht=a(Kn)?dt:Kn,Et=Rn.error,Ze=(0,r.useRef)(ht),Ke=Cn?a(Kn)?Ze.current:Kn:ht,wt=(()=>or&&!a(Et)?!1:Tn&&!a(mt)?mt:vn().isPaused()?!1:Ae?a(ht)?!1:zt:a(ht)||zt)(),xt=!!(Kt&&Fe&&Tn&&wt),kt=a(Rn.isValidating)?xt:Rn.isValidating,Rt=a(Rn.isLoading)?xt:Rn.isLoading,Jt=(0,r.useCallback)(Zt=>mf(this,null,function*(){const Qe=on.current;if(!Kt||!Qe||Un.current||vn().isPaused())return!1;let nn,Ht,En=!0;const mn=Zt||{},Mn=!Lt[Kt]||!mn.dedupe,er=()=>ae?!Un.current&&Kt===dn.current&&$n.current:Kt===dn.current,qn={isValidating:!1,isLoading:!1},lt=()=>{vr(qn)},rt=()=>{const bt=Lt[Kt];bt&&bt[1]===Ht&&delete Lt[Kt]},pt={isValidating:!0};a(Jn().data)&&(pt.isLoading=!0);try{if(Mn&&(vr(pt),We.loadingTimeout&&a(Jn().data)&&setTimeout(()=>{En&&er()&&vn().onLoadingSlow(Kt,We)},We.loadingTimeout),Lt[Kt]=[Qe(an),se()]),[nn,Ht]=Lt[Kt],nn=yield nn,Mn&&setTimeout(rt,We.dedupingInterval),!Lt[Kt]||Lt[Kt][1]!==Ht)return Mn&&er()&&vn().onDiscarded(Kt),!1;qn.error=o;const bt=yt[Kt];if(!a(bt)&&(Ht<=bt[0]||Ht<=bt[1]||bt[1]===0))return lt(),Mn&&er()&&vn().onDiscarded(Kt),!1;const Me=Jn().data;qn.data=Te(Me,nn)?Me:nn,Mn&&er()&&vn().onSuccess(nn,Kt,We)}catch(bt){rt();const Me=vn(),{shouldRetryOnError:Pe}=Me;Me.isPaused()||(qn.error=bt,Mn&&er()&&(Me.onError(bt,Kt,Me),(Pe===!0||s(Pe)&&Pe(bt))&&Bn()&&Me.onErrorRetry(bt,Kt,Me,Re=>{const He=On[Kt];He&&He[0]&&He[0](be.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(mn.retryCount||0)+1,dedupe:!0})))}return En=!1,lt(),!0}),[Kt,Se]),St=(0,r.useCallback)((...Zt)=>Ee(Se,dn.current,...Zt),[]);if(R(()=>{on.current=Fe,Sn.current=We,a(Kn)||(Ze.current=Kn)}),R(()=>{if(!Kt)return;const Zt=Jt.bind(o,Ue);let Qe=0;const Ht=Ne(Kt,On,(En,mn={})=>{if(En==be.FOCUS_EVENT){const Mn=Date.now();vn().revalidateOnFocus&&Mn>Qe&&Bn()&&(Qe=Mn+vn().focusThrottleInterval,Zt())}else if(En==be.RECONNECT_EVENT)vn().revalidateOnReconnect&&Bn()&&Zt();else{if(En==be.MUTATE_EVENT)return Jt();if(En==be.ERROR_REVALIDATE_EVENT)return Jt(mn)}});return Un.current=!1,dn.current=Kt,$n.current=!0,vr({_k:an}),wt&&(a(ht)||le?Zt():ue(Zt)),()=>{Un.current=!0,Ht()}},[Kt]),R(()=>{let Zt;function Qe(){const Ht=s(hn)?hn(Jn().data):hn;Ht&&Zt!==-1&&(Zt=setTimeout(nn,Ht))}function nn(){!Jn().error&&(ot||vn().isVisible())&&(un||vn().isOnline())?Jt(Ue).then(Qe):Qe()}return Qe(),()=>{Zt&&(clearTimeout(Zt),Zt=-1)}},[hn,ot,un,Kt]),(0,r.useDebugValue)(Ke),Ae&&a(ht)&&Kt){if(!ae&&le)throw new Error("Fallback data is required when using suspense in SSR.");on.current=Fe,Sn.current=We,Un.current=!1;const Zt=Qt[Kt];if(!a(Zt)){const Qe=St(Zt);he(Qe)}if(a(Et)){const Qe=Jt(Ue);a(Ke)||(Qe.status="fulfilled",Qe.value=!0),he(Qe)}else throw Et}return{mutate:St,get data(){return Dt.data=!0,Ke},get error(){return Dt.error=!0,Et},get isValidating(){return Dt.isValidating=!0,kt},get isLoading(){return Dt.isLoading=!0,Rt}}},pe=l.defineProperty(F,"defaultValue",{value:qe}),xe=fe(Ge)}},rc={};function rn(h){var m=rc[h];if(m!==void 0)return m.exports;var e=rc[h]={id:h,loaded:!1,exports:{}};return Dc[h].call(e.exports,e,e.exports,rn),e.loaded=!0,e.exports}rn.m=Dc,function(){rn.amdO={}}(),function(){rn.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return rn.d(m,{a:m}),m}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;rn.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var t=Object.create(null);rn.r(t);var n={};m=m||[null,h({}),h([]),h(h)];for(var o=r&2&&e;typeof o=="object"&&!~m.indexOf(o);o=h(o))Object.getOwnPropertyNames(o).forEach(function(l){n[l]=function(){return e[l]}});return n.default=function(){return e},rn.d(t,n),t}}(),function(){rn.d=function(h,m){for(var e in m)rn.o(m,e)&&!rn.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:m[e]})}}(),function(){rn.f={},rn.e=function(h){return Promise.all(Object.keys(rn.f).reduce(function(m,e){return rn.f[e](h,m),m},[]))}}(),function(){rn.u=function(h){return""+({38:"src__pages__goodsSetMeal__$id__create",207:"src__pages__user__register__service",344:"src__pages__user__register___mock",675:"src__pages__note__note__edit",1333:"src__pages__config__agreement__index",1551:"src__pages__goodsSetMeal__$id__update",1817:"src__pages__user__grade__index",1873:"src__pages__system__log__index",2263:"src__pages__system__role__index",2341:"src__pages__goodsSetMeal__index",2722:"src__pages__finance__integral__index",2727:"src__pages__user__register-result__style.style",2890:"src__pages__config__config__index",3192:"src__pages__Welcome",3342:"src__pages__note__cate__edit",3740:"src__pages__note__cate__index",3759:"src__pages__goods__index",3836:"src__pages__system__user__index",4147:"src__pages__finance__variation__index",4373:"src__pages__config__banner__index",4468:"src__pages__user__user__components__LevelFormModal",4575:"src__pages__user__user__edit",4615:"src__pages__order__index",4650:"src__pages__404",4936:"src__pages__note__note__index",5106:"src__pages__user__register-result__index",5258:"src__pages__finance__earnings__index",5281:"src__pages__user__login__index",5351:"src__pages__facility__serviceCharge__index",5829:"src__pages__finance__withdraw__components__TempFormModal",6301:"t__plugin-layout__Layout",6387:"src__pages__config__agreement__edit",6864:"src__pages__payment__index",7015:"src__pages__user__register__style.style",7178:"src__pages__finance__withdraw__index",7210:"src__pages__system__user__edit",7329:"src__pages__Admin",7709:"src__pages__system__menu__index",8009:"src__pages__user__login__login.test",8015:"src__pages__goods__$id__create",8263:"src__pages__user__register__index",8280:"src__pages__user__user__components__TempFormModal",8776:"src__pages__system__menu__edit",8780:"src__pages__user__user__index",8922:"src__pages__system__role__edit",9398:"src__pages__goods__$id__update",9532:"src__pages__config__banner__edit"}[h]||h)+"."+{38:"f41c9baa",207:"7eb8f028",344:"ea66fc46",449:"5332a375",675:"98a602f7",1333:"132afff0",1411:"867e45ca",1551:"f619931d",1817:"da7b48f9",1873:"f12e38f4",2263:"639caba5",2284:"ee505d0a",2341:"bb6569eb",2722:"f0234d3f",2727:"8978797b",2890:"a8d055b0",2901:"e8cca09c",2911:"4bdb898c",3192:"522f55aa",3342:"e886800f",3740:"e671dfbf",3759:"0fd6bf4b",3836:"008e6c97",4147:"9bb1432f",4373:"17af17bf",4468:"ca83adca",4575:"d5613104",4587:"ddfce86d",4615:"37a49989",4650:"f65a06f8",4936:"c624e0d9",4974:"a79f4396",5106:"00dca1b1",5258:"6cdff313",5281:"175dbb02",5351:"7c458627",5829:"58bbe3b9",6030:"76a4da21",6276:"f338284a",6301:"10dd31a5",6387:"2203edcb",6864:"8fd12029",7015:"cba1b658",7178:"ce7070a8",7210:"51817833",7329:"3d9dd6b3",7709:"e06b225a",8009:"f48da20e",8015:"29c0233a",8263:"fa46b55c",8280:"c1accced",8383:"8257ce37",8776:"bc36c2fa",8780:"44594f2c",8922:"f186886d",9398:"0c308962",9532:"cdb224f0",9910:"c8239399"}[h]+".async.js"}}(),function(){rn.miniCssF=function(h){return""+({5281:"src__pages__user__login__index",6301:"t__plugin-layout__Layout",7709:"src__pages__system__menu__index",8776:"src__pages__system__menu__edit"}[h]||h)+"."+{2284:"dd92c41b",5281:"13f5e071",6301:"6cae69f5",7709:"e6c21101",8776:"e6c21101"}[h]+".chunk.css"}}(),function(){rn.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){rn.hmd=function(h){return h=Object.create(h),h.children||(h.children=[]),Object.defineProperty(h,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+h.id)}}),h}}(),function(){rn.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){var h={},m="ant-design-pro:";rn.l=function(e,r,t,n){if(h[e]){h[e].push(r);return}var o,l;if(t!==void 0)for(var a=document.getElementsByTagName("script"),s=0;s