hisd3-ui-kit 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +147 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -160
- package/dist/index.js +146 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +45 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom"),o=require("styled-components");function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i=r(t),a=r(n);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}("/* stylelint-disable */\nhtml,\nbody {\n width: 100%;\n height: 100%;\n}\ninput::-ms-clear,\ninput::-ms-reveal {\n display: none;\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n@-ms-viewport {\n width: device-width;\n}\nbody {\n margin: 0;\n}\n[tabindex='-1']:focus {\n outline: none;\n}\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 0.5em;\n font-weight: 500;\n}\np {\n margin-top: 0;\n margin-bottom: 1em;\n}\nabbr[title],\nabbr[data-original-title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline;\n text-decoration: underline dotted;\n border-bottom: 0;\n cursor: help;\n}\naddress {\n margin-bottom: 1em;\n font-style: normal;\n line-height: inherit;\n}\ninput[type='text'],\ninput[type='password'],\ninput[type='number'],\ntextarea {\n -webkit-appearance: none;\n}\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1em;\n}\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\ndt {\n font-weight: 500;\n}\ndd {\n margin-bottom: 0.5em;\n margin-left: 0;\n}\nblockquote {\n margin: 0 0 1em;\n}\ndfn {\n font-style: italic;\n}\nb,\nstrong {\n font-weight: bolder;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\npre,\ncode,\nkbd,\nsamp {\n font-size: 1em;\n font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n}\npre {\n margin-top: 0;\n margin-bottom: 1em;\n overflow: auto;\n}\nfigure {\n margin: 0 0 1em;\n}\nimg {\n vertical-align: middle;\n border-style: none;\n}\na,\narea,\nbutton,\n[role='button'],\ninput:not([type='range']),\nlabel,\nselect,\nsummary,\ntextarea {\n touch-action: manipulation;\n}\ntable {\n border-collapse: collapse;\n}\ncaption {\n padding-top: 0.75em;\n padding-bottom: 0.3em;\n text-align: left;\n caption-side: bottom;\n}\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\nbutton,\ninput {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml [type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\ninput[type='radio'],\ninput[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n}\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n -webkit-appearance: listbox;\n}\ntextarea {\n overflow: auto;\n resize: vertical;\n}\nfieldset {\n min-width: 0;\n margin: 0;\n padding: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n margin-bottom: 0.5em;\n padding: 0;\n color: inherit;\n font-size: 1.5em;\n line-height: inherit;\n white-space: normal;\n}\nprogress {\n vertical-align: baseline;\n}\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n[type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\noutput {\n display: inline-block;\n}\nsummary {\n display: list-item;\n}\ntemplate {\n display: none;\n}\n[hidden] {\n display: none !important;\n}\nmark {\n padding: 0.2em;\n background-color: #feffe6;\n}\n");const l=t.createContext({});function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var u,d={exports:{}};
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/function p(){return u||(u=1,function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=r(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var o="";for(var i in e)t.call(e,i)&&e[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(d)),d.exports}var f=c(p()),m={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"};const g=Math.round;function h(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=n.map((e=>parseFloat(e)));for(let e=0;e<3;e+=1)o[e]=t(o[e]||0,n[e]||"",e);return n[3]?o[3]=n[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const v=(e,t,n)=>0===n?e:e/100;function b(e,t){const n=t||255;return e>n?n:e<0?0:e}let y=class e{isValid=!0;r=0;g=0;b=0;a=1;_h;_s;_l;_v;_max;_min;_brightness;constructor(t){function n(e){return e[0]in t&&e[1]in t&&e[2]in t}if(t)if("string"==typeof t){const o=t.trim();function r(e){return o.startsWith(e)}if(/^#?[A-F\d]{3,8}$/i.test(o))this.fromHexString(o);else if(r("rgb"))this.fromRgbString(o);else if(r("hsl"))this.fromHslString(o);else if(r("hsv")||r("hsb"))this.fromHsvString(o);else{const i=m[o.toLowerCase()];i&&this.fromHexString(parseInt(i,36).toString(16).padStart(6,"0"))}}else if(t instanceof e)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=b(t.r),this.g=b(t.g),this.b=b(t.b),this.a="number"==typeof t.a?b(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else{if(!n("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t));this.fromHsv(t)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:g(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let o=this.getLightness()-e/100;return o<0&&(o=0),this._c({h:t,s:n,l:o,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let o=this.getLightness()+e/100;return o>1&&(o=1),this._c({h:t,s:n,l:o,a:this.a})}mix(e,t=50){const n=this._c(e),o=t/100,r=e=>(n[e]-this[e])*o+this[e],i={r:g(r("r")),g:g(r("g")),b:g(r("b")),a:g(100*r("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),o=e=>g((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const o=(this.b||0).toString(16);if(e+=2===o.length?o:"0"+o,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=g(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=g(100*this.getSaturation()),n=g(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const o=this.clone();return o[e]=b(t,n),o}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:o}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof o?o:1,t<=0){const e=g(255*n);this.r=e,this.g=e,this.b=e}let r=0,i=0,a=0;const l=e/60,c=(1-Math.abs(2*n-1))*t,s=c*(1-Math.abs(l%2-1));l>=0&&l<1?(r=c,i=s):l>=1&&l<2?(r=s,i=c):l>=2&&l<3?(i=c,a=s):l>=3&&l<4?(i=s,a=c):l>=4&&l<5?(r=s,a=c):l>=5&&l<6&&(r=c,a=s);const u=n-c/2;this.r=g(255*(r+u)),this.g=g(255*(i+u)),this.b=g(255*(a+u))}fromHsv({h:e,s:t,v:n,a:o}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof o?o:1;const r=g(255*n);if(this.r=r,this.g=r,this.b=r,t<=0)return;const i=e/60,a=Math.floor(i),l=i-a,c=g(n*(1-t)*255),s=g(n*(1-t*l)*255),u=g(n*(1-t*(1-l))*255);switch(a){case 0:this.g=u,this.b=c;break;case 1:this.r=s,this.b=c;break;case 2:this.r=c,this.b=u;break;case 3:this.r=c,this.g=s;break;case 4:this.r=u,this.g=c;break;default:this.g=c,this.b=s}}fromHsvString(e){const t=h(e,v);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=h(e,v);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=h(e,((e,t)=>t.includes("%")?g(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}};const x=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function C(e,t,n){let o;return o=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t,o<0?o+=360:o>=360&&(o-=360),o}function w(e,t,n){if(0===e.h&&0===e.s)return e.s;let o;return o=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t,o>1&&(o=1),n&&5===t&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(100*o)/100}function S(e,t,n){let o;return o=n?e.v+.05*t:e.v-.15*t,o=Math.max(0,Math.min(1,o)),Math.round(100*o)/100}const E=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];E.primary=E[5];const k="data-rc-order",$="data-rc-priority",O=new Map;function M({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:"rc-util-key"}function N(e){if(e.attachTo)return e.attachTo;return document.querySelector("head")||document.body}function j(e){return Array.from((O.get(e)||e).children).filter((e=>"STYLE"===e.tagName))}function I(e,t={}){if("undefined"==typeof window||!window.document||!window.document.createElement)return null;const{csp:n,prepend:o,priority:r=0}=t,i=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o),a="prependQueue"===i,l=document.createElement("style");l.setAttribute(k,i),a&&r&&l.setAttribute($,`${r}`),n?.nonce&&(l.nonce=n?.nonce),l.innerHTML=e;const c=N(t),{firstChild:s}=c;if(o){if(a){const e=(t.styles||j(c)).filter((e=>{if(!["prepend","prependQueue"].includes(e.getAttribute(k)))return!1;const t=Number(e.getAttribute($)||0);return r>=t}));if(e.length)return c.insertBefore(l,e[e.length-1].nextSibling),l}c.insertBefore(l,s)}else c.appendChild(l);return l}function P(e,t,n={}){const o=N(n),r=j(o),i={...n,styles:r};!function(e,t){const n=O.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){const n=I("",t),{parentNode:o}=n;O.set(e,o),e.removeChild(n)}}(o,i);const a=function(e,t={}){let{styles:n}=t;return n||=j(N(t)),n.find((n=>n.getAttribute(M(t))===e))}(t,i);if(a)return i.csp?.nonce&&a.nonce!==i.csp?.nonce&&(a.nonce=i.csp?.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;const l=I(e,i);return l.setAttribute(M(i),t),l}function T(e){return e?.getRootNode?.()}function R(e){return function(e){return T(e)instanceof ShadowRoot}(e)?T(e):null}let B={};const z=[];function D(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){const e=z.reduce(((e,t)=>t(e??"","warning")),t);e&&console.error(`Warning: ${e}`)}}function L(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){const e=z.reduce(((e,t)=>t(e??"","note")),t);e&&console.warn(`Note: ${e}`)}}function F(e,t,n){t||B[n]||(e(!1,n),B[n]=!0)}function H(e,t){F(D,e,t)}function A(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"==typeof e.icon||"function"==typeof e.icon)}function _(e={}){return Object.keys(e).reduce(((t,n)=>{const o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,((e,t)=>t.toUpperCase())))]=o;var r;return t}),{})}function W(e,n,o){return o?t.createElement(e.tag,{key:n,..._(e.attrs),...o},(e.children||[]).map(((t,o)=>W(t,`${n}-${e.tag}-${o}`)))):t.createElement(e.tag,{key:n,..._(e.attrs)},(e.children||[]).map(((t,o)=>W(t,`${n}-${e.tag}-${o}`))))}function V(e){return function(e,t={}){const n=[],o=new y(e),r=o.toHsv();for(let e=5;e>0;e-=1){const t=new y({h:C(r,e,!0),s:w(r,e,!0),v:S(r,e,!0)});n.push(t)}n.push(o);for(let e=1;e<=4;e+=1){const t=new y({h:C(r,e),s:w(r,e),v:S(r,e)});n.push(t)}return"dark"===t.theme?x.map((({index:e,amount:o})=>new y(t.backgroundColor||"#141414").mix(n[e],o).toHexString())):n.map((e=>e.toHexString()))}(e)[0]}function X(e){return e?Array.isArray(e)?e:[e]:[]}H.preMessage=e=>{z.push(e)},H.resetWarned=function(){B={}},H.noteOnce=function(e,t){F(L,e,t)};const G={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};const q=e=>{const{icon:n,className:o,onClick:r,style:a,primaryColor:c,secondaryColor:s,...u}=e,d=i.useRef();let p=G;if(c&&(p={primaryColor:c,secondaryColor:s||V(c)}),(e=>{const{csp:n,prefixCls:o,layer:r}=t.useContext(l);let i="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";o&&(i=i.replace(/anticon/g,o)),r&&(i=`@layer ${r} {\n${i}\n}`),t.useEffect((()=>{const t=R(e.current);P(i,"@ant-design-icons",{prepend:!r,csp:n,attachTo:t})}),[])})(d),function(e,t){H(e,`[@ant-design/icons] ${t}`)}(A(n),`icon should be icon definiton, but got ${n}`),!A(n))return null;let f=n;return f&&"function"==typeof f.icon&&(f={...f,icon:f.icon(p.primaryColor,p.secondaryColor)}),W(f.icon,`svg-${f.name}`,{className:o,onClick:r,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...u,ref:d})};function K(e){const[t,n]=X(e);return q.setTwoToneColors({primaryColor:t,secondaryColor:n})}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},U.apply(this,arguments)}q.displayName="IconReact",q.getTwoToneColors=function(){return{...G}},q.setTwoToneColors=function({primaryColor:e,secondaryColor:t}){G.primaryColor=e,G.secondaryColor=t||V(e),G.calculated=!!t},K(E.primary);const Y=i.forwardRef(((e,t)=>{const{className:n,icon:o,spin:r,rotate:a,tabIndex:c,onClick:s,twoToneColor:u,...d}=e,{prefixCls:p="anticon",rootClassName:m}=i.useContext(l),g=f(m,p,{[`${p}-${o.name}`]:!!o.name,[`${p}-spin`]:!!r||"loading"===o.name},n);let h=c;void 0===h&&s&&(h=-1);const v=a?{msTransform:`rotate(${a}deg)`,transform:`rotate(${a}deg)`}:void 0,[b,y]=X(u);return i.createElement("span",U({role:"img","aria-label":o.name},d,{ref:t,tabIndex:h,onClick:s,className:g}),i.createElement(q,{icon:o,primaryColor:b,secondaryColor:y,style:v}))}));Y.displayName="AntdIcon",Y.getTwoToneColor=function(){const e=q.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Y.setTwoToneColor=K;var Z={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ee={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},te={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},le.apply(this,arguments)}const ce=(e,t)=>i.createElement(Y,le({},e,{ref:t,icon:ae}))
|
|
7
|
+
/** */,se=i.forwardRef(ce);"production"!==process.env.NODE_ENV&&(se.displayName="DownOutlined");var ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ge.apply(this,arguments)}const he=(e,t)=>i.createElement(Y,ge({},e,{ref:t,icon:me}))
|
|
8
|
+
/** */,ve=i.forwardRef(he);"production"!==process.env.NODE_ENV&&(ve.displayName="ExclamationCircleOutlined");var be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"};function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Se.apply(this,arguments)}const Ee=(e,t)=>i.createElement(Y,Se({},e,{ref:t,icon:we}))
|
|
9
|
+
/** */,ke=i.forwardRef(Ee);"production"!==process.env.NODE_ENV&&(ke.displayName="LogoutOutlined");var $e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"},je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Be.apply(this,arguments)}const ze=(e,t)=>i.createElement(Y,Be({},e,{ref:t,icon:Re}))
|
|
10
|
+
/** */,De=i.forwardRef(ze);"production"!==process.env.NODE_ENV&&(De.displayName="SettingOutlined");var Le,Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},We={exports:{}},Ve={};var Xe,Ge,qe={};
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-is.development.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/var Ke=(Ge||(Ge=1,"production"===process.env.NODE_ENV?We.exports=function(){if(Le)return Ve;Le=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case o:case i:case r:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case s:case f:case p:case a:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),Ve.ContextConsumer=l,Ve.ContextProvider=a,Ve.Element=t,Ve.ForwardRef=s,Ve.Fragment=o,Ve.Lazy=f,Ve.Memo=p,Ve.Portal=n,Ve.Profiler=i,Ve.StrictMode=r,Ve.Suspense=u,Ve.SuspenseList=d,Ve.isAsyncMode=function(){return!1},Ve.isConcurrentMode=function(){return!1},Ve.isContextConsumer=function(e){return g(e)===l},Ve.isContextProvider=function(e){return g(e)===a},Ve.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ve.isForwardRef=function(e){return g(e)===s},Ve.isFragment=function(e){return g(e)===o},Ve.isLazy=function(e){return g(e)===f},Ve.isMemo=function(e){return g(e)===p},Ve.isPortal=function(e){return g(e)===n},Ve.isProfiler=function(e){return g(e)===i},Ve.isStrictMode=function(e){return g(e)===r},Ve.isSuspense=function(e){return g(e)===u},Ve.isSuspenseList=function(e){return g(e)===d},Ve.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===i||t===r||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===a||t.$$typeof===l||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},Ve.typeOf=g,Ve}():We.exports=(Xe||(Xe=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case o:case i:case r:case u:case d:return g;default:var h=g&&g.$$typeof;switch(h){case c:case l:case s:case f:case p:case a:return h;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var h=l,v=a,b=t,y=s,x=o,C=f,w=p,S=n,E=i,k=r,$=u,O=d,M=!1,N=!1;qe.ContextConsumer=h,qe.ContextProvider=v,qe.Element=b,qe.ForwardRef=y,qe.Fragment=x,qe.Lazy=C,qe.Memo=w,qe.Portal=S,qe.Profiler=E,qe.StrictMode=k,qe.Suspense=$,qe.SuspenseList=O,qe.isAsyncMode=function(e){return M||(M=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},qe.isConcurrentMode=function(e){return N||(N=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},qe.isContextConsumer=function(e){return g(e)===l},qe.isContextProvider=function(e){return g(e)===a},qe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qe.isForwardRef=function(e){return g(e)===s},qe.isFragment=function(e){return g(e)===o},qe.isLazy=function(e){return g(e)===f},qe.isMemo=function(e){return g(e)===p},qe.isPortal=function(e){return g(e)===n},qe.isProfiler=function(e){return g(e)===i},qe.isStrictMode=function(e){return g(e)===r},qe.isSuspense=function(e){return g(e)===u},qe.isSuspenseList=function(e){return g(e)===d},qe.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===i||t===r||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===a||t.$$typeof===l||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},qe.typeOf=g}()),qe)),We.exports);function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Ye(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ze(e,t){if(e){if("string"==typeof e)return Ue(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ue(e,t):void 0}}function Qe(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||Ye(e)||Ze(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Je(e){if(Array.isArray(e))return e}function et(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tt(e,t){return Je(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||Ze(e,t)||et()}function nt(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ot(e){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ot(e)}function rt(e){var t=function(e,t){if("object"!=ot(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=ot(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ot(t)?t:t+""}function it(e,t,n){return(t=rt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){it(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ct(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function st(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function ut(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var dt="data-rc-order",pt="data-rc-priority",ft=new Map;function mt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function gt(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ht(e){return Array.from((ft.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!st())return null;var n=t.csp,o=t.prepend,r=t.priority,i=void 0===r?0:r,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o),l="prependQueue"===a,c=document.createElement("style");c.setAttribute(dt,a),l&&i&&c.setAttribute(pt,"".concat(i)),null!=n&&n.nonce&&(c.nonce=null==n?void 0:n.nonce),c.innerHTML=e;var s=gt(t),u=s.firstChild;if(o){if(l){var d=(t.styles||ht(s)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(dt)))return!1;var t=Number(e.getAttribute(pt)||0);return i>=t}));if(d.length)return s.insertBefore(c,d[d.length-1].nextSibling),c}s.insertBefore(c,u)}else s.appendChild(c);return c}function bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=gt(t);return(t.styles||ht(n)).find((function(n){return n.getAttribute(mt(t))===e}))}function yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=bt(e,t);n&>(t).removeChild(n)}function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=gt(n),r=ht(o),i=lt(lt({},n),{},{styles:r});!function(e,t){var n=ft.get(e);if(!n||!ut(document,n)){var o=vt("",t),r=o.parentNode;ft.set(e,r),e.removeChild(o)}}(o,i);var a=bt(t,i);if(a){var l,c,s;if(null!==(l=i.csp)&&void 0!==l&&l.nonce&&a.nonce!==(null===(c=i.csp)||void 0===c?void 0:c.nonce))a.nonce=null===(s=i.csp)||void 0===s?void 0:s.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var u=vt(e,i);return u.setAttribute(mt(i),t),u}function Ct(e,t,n){var o=i.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}var wt={},St=[];function Et(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=St.reduce((function(e,t){return t(null!=e?e:"","warning")}),t);n&&console.error("Warning: ".concat(n))}}function kt(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=St.reduce((function(e,t){return t(null!=e?e:"","note")}),t);n&&console.warn("Note: ".concat(n))}}function $t(){wt={}}function Ot(e,t,n){t||wt[n]||(e(!1,n),wt[n]=!0)}function Mt(e,t){Ot(Et,e,t)}function Nt(e,t){Ot(kt,e,t)}function jt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=o.has(t);if(Mt(!a,"Warning: There may be circular references"),a)return!1;if(t===r)return!0;if(n&&i>1)return!1;o.add(t);var l=i+1;if(Array.isArray(t)){if(!Array.isArray(r)||t.length!==r.length)return!1;for(var c=0;c<t.length;c++)if(!e(t[c],r[c],l))return!1;return!0}if(t&&r&&"object"===ot(t)&&"object"===ot(r)){var s=Object.keys(t);return s.length===Object.keys(r).length&&s.every((function(n){return e(t[n],r[n],l)}))}return!1}(e,t)}function It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,rt(o.key),o)}}function Tt(e,t,n){return t&&Pt(e.prototype,t),n&&Pt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}Mt.preMessage=function(e){St.push(e)},Mt.resetWarned=$t,Mt.noteOnce=Nt;function Rt(e){return e.join("%")}var Bt=function(){function e(t){It(this,e),it(this,"instanceId",void 0),it(this,"cache",new Map),this.instanceId=t}return Tt(e,[{key:"get",value:function(e){return this.opGet(Rt(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(Rt(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),zt="data-token-hash",Dt="data-css-hash",Lt="__cssinjs_instance__";var Ft=i.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Dt,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[Lt]=t[Lt]||e,t[Lt]===e&&document.head.insertBefore(t,n)}));var o={};Array.from(document.querySelectorAll("style[".concat(Dt,"]"))).forEach((function(t){var n,r=t.getAttribute(Dt);o[r]?t[Lt]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):o[r]=!0}))}return new Bt(e)}(),defaultCache:!0});function Ht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e,t){return At=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},At(e,t)}function _t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&At(e,t)}function Wt(e){return Wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wt(e)}function Vt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vt=function(){return!!e})()}function Xt(e,t){if(t&&("object"==ot(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ht(e)}function Gt(e){var t=Vt();return function(){var n,o=Wt(e);if(t){var r=Wt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Xt(this,n)}}var qt=function(){function e(){It(this,e),it(this,"cache",void 0),it(this,"keys",void 0),it(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Tt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={map:this.cache};return e.forEach((function(e){var t;r?r=null===(t=r)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):r=void 0})),null!==(t=r)&&void 0!==t&&t.value&&o&&(r.value[1]=this.cacheCallTimes++),null===(n=r)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var o=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var r=this.keys.reduce((function(e,t){var n=tt(e,2)[1];return o.internalGet(t)[1]<n?[t,o.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]),i=tt(r,1)[0];this.delete(i)}this.keys.push(t)}var a=this.cache;t.forEach((function(e,r){if(r===t.length-1)a.set(e,{value:[n,o.cacheCallTimes++]});else{var i=a.get(e);i?i.map||(i.map=new Map):a.set(e,{map:new Map}),a=a.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var n,o=e.get(t[0]);if(1===t.length)return o.map?e.set(t[0],{map:o.map}):e.delete(t[0]),null===(n=o.value)||void 0===n?void 0:n[0];var r=this.deleteByPath(o.map,t.slice(1));return o.map&&0!==o.map.size||o.value||e.delete(t[0]),r}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();it(qt,"MAX_CACHE_SIZE",20),it(qt,"MAX_CACHE_OFFSET",5);var Kt=0,Ut=function(){function e(t){It(this,e),it(this,"derivatives",void 0),it(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Kt,0===t.length&&Et(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Kt+=1}return Tt(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),Yt=new qt;function Zt(e){var t=Array.isArray(e)?e:[e];return Yt.has(t)||Yt.set(t,new Ut(t)),Yt.get(t)}var Qt=new WeakMap,Jt={};var en=new WeakMap;function tn(e){var t=en.get(e)||"";return t||(Object.keys(e).forEach((function(n){var o=e[n];t+=n,o instanceof Ut?t+=o.id:o&&"object"===ot(o)?t+=tn(o):t+=o})),t=ct(t),en.set(e,t)),t}function nn(e,t){return ct("".concat(t,"_").concat(tn(e)))}var on=st();function rn(e){return"number"==typeof e?"".concat(e,"px"):e}function an(e,t,n){var o;if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var r=lt(lt({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},(it(o={},zt,t),it(o,Dt,n),o)),i=Object.keys(r).map((function(e){var t=r[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var ln=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},cn=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=tt(e,2),n=t[0],o=t[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},sn=function(e,t,n){var o={},r={};return Object.entries(e).forEach((function(e){var t,i,a=tt(e,2),l=a[0],c=a[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])r[l]=c;else if(!("string"!=typeof c&&"number"!=typeof c||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[l])){var s,u=ln(l,null==n?void 0:n.prefix);o[u]="number"!=typeof c||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[l]?String(c):"".concat(c,"px"),r[l]="var(".concat(u,")")}})),[r,cn(o,t,{scope:null==n?void 0:n.scope})]},un="test"!==process.env.NODE_ENV&&st()?i.useLayoutEffect:i.useEffect,dn=function(e,t){var n=i.useRef(!0);un((function(){return e(n.current)}),t),un((function(){return n.current=!1,function(){n.current=!0}}),[])},pn=function(e,t){dn((function(t){if(!t)return e()}),t)},fn=lt({},i).useInsertionEffect,mn=fn?function(e,t,n){return fn((function(){return e(),t()}),n)}:function(e,t,n){i.useMemo(e,n),dn((function(){return t(!0)}),n)},gn=void 0!==lt({},i).useInsertionEffect?function(e){var t=[],n=!1;return i.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n?"production"!==process.env.NODE_ENV&&Et(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect."):t.push(e)}}:function(){return function(e){e()}};var hn=!1;var vn="production"===process.env.NODE_ENV?function(){return!1}:function(){return hn};if("production"!==process.env.NODE_ENV&&"undefined"!=typeof module&&module&&module.hot&&"undefined"!=typeof window){var bn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:null;if(bn&&"function"==typeof bn.webpackHotUpdate){var yn=bn.webpackHotUpdate;bn.webpackHotUpdate=function(){return hn=!0,setTimeout((function(){hn=!1}),0),yn.apply(void 0,arguments)}}}function xn(e,t,n,o,r){var a=i.useContext(Ft).cache,l=Rt([e].concat(Qe(t))),c=gn([l]),s=vn(),u=function(e){a.opUpdate(l,(function(t){var r=tt(t||[void 0,void 0],2),i=r[0],a=void 0===i?0:i,l=r[1],c=l;"production"!==process.env.NODE_ENV&&l&&s&&(null==o||o(c,s),c=null);var u=[a,c||n()];return e?e(u):u}))};i.useMemo((function(){u()}),[l]);var d=a.opGet(l);"production"===process.env.NODE_ENV||d||(u(),d=a.opGet(l));var p=d[1];return mn((function(){null==r||r(p)}),(function(e){return u((function(t){var n=tt(t,2),o=n[0],i=n[1];return e&&0===o&&(null==r||r(p)),[o+1,i]})),function(){a.opUpdate(l,(function(t){var n=tt(t||[],2),r=n[0],i=void 0===r?0:r,s=n[1];return 0===i-1?(c((function(){!e&&a.opGet(l)||null==o||o(s,!1)})),null):[i-1,s]}))}}),[l]),p}var Cn={},wn="production"!==process.env.NODE_ENV?"css-dev-only-do-not-override":"css",Sn=new Map;function En(e,t){Sn.set(e,(Sn.get(e)||0)-1);var n=Array.from(Sn.keys()),o=n.filter((function(e){return(Sn.get(e)||0)<=0}));n.length-o.length>0&&o.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(zt,'="').concat(e,'"]')).forEach((function(e){var n;e[Lt]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),Sn.delete(e)}))}var kn=function(e,t,n,o){var r=lt(lt({},n.getDerivativeToken(e)),t);return o&&(r=o(r)),r},$n="token";function On(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.useContext(Ft),i=r.cache.instanceId,a=r.container,l=o.salt,c=void 0===l?"":l,s=o.override,u=void 0===s?Cn:s,d=o.formatToken,p=o.getComputedToken,f=o.cssVar,m=function(e,t){for(var n=Qt,o=0;o<t.length;o+=1){var r=t[o];n.has(r)||n.set(r,new WeakMap),n=n.get(r)}return n.has(Jt)||n.set(Jt,e()),n.get(Jt)}((function(){return Object.assign.apply(Object,[{}].concat(Qe(n)))}),n),g=tn(m),h=tn(u),v=f?tn(f):"",b=xn($n,[c,e.id,g,h,v],(function(){var t,n=p?p(m,u,e):kn(m,u,e,d),o=lt({},n),r="";if(f){var i=tt(sn(n,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),2);n=i[0],r=i[1]}var a=nn(n,c);n._tokenKey=a,o._tokenKey=nn(o,c);var l=null!==(t=null==f?void 0:f.key)&&void 0!==t?t:a;n._themeKey=l,function(e){Sn.set(e,(Sn.get(e)||0)+1)}(l);var s="".concat(wn,"-").concat(ct(a));return n._hashId=s,[n,s,o,r,(null==f?void 0:f.key)||""]}),(function(e){En(e[0]._themeKey,i)}),(function(e){var t=tt(e,4),n=t[0],o=t[3];if(f&&o){var r=xt(o,ct("css-variables-".concat(n._themeKey)),{mark:Dt,prepend:"queue",attachTo:a,priority:-999});r[Lt]=i,r.setAttribute(zt,n._themeKey)}}));return b}function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Mn.apply(null,arguments)}var Nn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jn="comm",In="rule",Pn="decl",Tn=Math.abs,Rn=String.fromCharCode;function Bn(e){return e.trim()}function zn(e,t,n){return e.replace(t,n)}function Dn(e,t,n){return e.indexOf(t,n)}function Ln(e,t){return 0|e.charCodeAt(t)}function Fn(e,t,n){return e.slice(t,n)}function Hn(e){return e.length}function An(e,t){return t.push(e),e}var _n=1,Wn=1,Vn=0,Xn=0,Gn=0,qn="";function Kn(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:_n,column:Wn,length:a,return:"",siblings:l}}function Un(){return Gn=Xn>0?Ln(qn,--Xn):0,Wn--,10===Gn&&(Wn=1,_n--),Gn}function Yn(){return Gn=Xn<Vn?Ln(qn,Xn++):0,Wn++,10===Gn&&(Wn=1,_n++),Gn}function Zn(){return Ln(qn,Xn)}function Qn(){return Xn}function Jn(e,t){return Fn(qn,e,t)}function eo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function to(e){return Bn(Jn(Xn-1,ro(91===e?e+2:40===e?e+1:e)))}function no(e){for(;(Gn=Zn())&&Gn<33;)Yn();return eo(e)>2||eo(Gn)>3?"":" "}function oo(e,t){for(;--t&&Yn()&&!(Gn<48||Gn>102||Gn>57&&Gn<65||Gn>70&&Gn<97););return Jn(e,Qn()+(t<6&&32==Zn()&&32==Yn()))}function ro(e){for(;Yn();)switch(Gn){case e:return Xn;case 34:case 39:34!==e&&39!==e&&ro(Gn);break;case 40:41===e&&ro(e);break;case 92:Yn()}return Xn}function io(e,t){for(;Yn()&&e+Gn!==57&&(e+Gn!==84||47!==Zn()););return"/*"+Jn(t,Xn-1)+"*"+Rn(47===e?e:Yn())}function ao(e){for(;!eo(Zn());)Yn();return Jn(e,Xn)}function lo(e){return function(e){return qn="",e}(co("",null,null,null,[""],e=function(e){return _n=Wn=1,Vn=Hn(qn=e),Xn=0,[]}(e),0,[0],e))}function co(e,t,n,o,r,i,a,l,c){for(var s=0,u=0,d=a,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",x=r,C=i,w=o,S=y;h;)switch(m=b,b=Yn()){case 40:if(108!=m&&58==Ln(S,d-1)){-1!=Dn(S+=zn(to(b),"&","&\f"),"&\f",Tn(s?l[s-1]:0))&&(v=-1);break}case 34:case 39:case 91:S+=to(b);break;case 9:case 10:case 13:case 32:S+=no(m);break;case 92:S+=oo(Qn()-1,7);continue;case 47:switch(Zn()){case 42:case 47:An(uo(io(Yn(),Qn()),t,n,c),c),5!=eo(m||1)&&5!=eo(Zn()||1)||!Hn(S)||" "===Fn(S,-1,void 0)||(S+=" ");break;default:S+="/"}break;case 123*g:l[s++]=Hn(S)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(S=zn(S,/\f/g,"")),f>0&&(Hn(S)-d||0===g&&47===m)&&An(f>32?po(S+";",o,n,d-1,c):po(zn(S," ","")+";",o,n,d-2,c),c);break;case 59:S+=";";default:if(An(w=so(S,t,n,s,u,r,l,y,x=[],C=[],d,i),i),123===b)if(0===u)co(S,t,w,w,x,i,d,l,C);else{switch(p){case 99:if(110===Ln(S,3))break;case 108:if(97===Ln(S,2))break;default:u=0;case 100:case 109:case 115:}u?co(e,w,w,o&&An(so(e,w,w,0,0,r,l,y,r,x=[],d,C),C),r,C,d,l,o?x:C):co(S,w,w,w,[""],C,0,l,C)}}s=u=f=0,g=v=1,y=S="",d=a;break;case 58:d=1+Hn(S),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Un())continue;switch(S+=Rn(b),b*g){case 38:v=u>0?1:(S+="\f",-1);break;case 44:l[s++]=(Hn(S)-1)*v,v=1;break;case 64:45===Zn()&&(S+=to(Yn())),p=Zn(),u=d=Hn(y=S+=ao(Qn())),b++;break;case 45:45===m&&2==Hn(S)&&(g=0)}}return i}function so(e,t,n,o,r,i,a,l,c,s,u,d){for(var p=r-1,f=0===r?i:[""],m=function(e){return e.length}(f),g=0,h=0,v=0;g<o;++g)for(var b=0,y=Fn(e,p+1,p=Tn(h=a[g])),x=e;b<m;++b)(x=Bn(h>0?f[b]+" "+y:zn(y,/&\f/g,f[b])))&&(c[v++]=x);return Kn(e,t,n,0===r?In:l,c,s,u,d)}function uo(e,t,n,o){return Kn(e,t,n,jn,Rn(Gn),Fn(e,2,-2),0,o)}function po(e,t,n,o,r){return Kn(e,t,n,Pn,Fn(e,0,o),Fn(e,o+1,-1),o,r)}function fo(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function mo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case Pn:return e.return=e.return||e.value;case jn:return"";case"@keyframes":return e.return=e.value+"{"+fo(e.children,o)+"}";case In:if(!Hn(e.value=e.props.join(",")))return""}return Hn(n=fo(e.children,o))?e.return=e.value+"{"+n+"}":""}function go(e,t){var n=t.path,o=t.parentSelectors;Mt(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(o.length?" Selector: ".concat(o.join(" | ")):""))}var ho,vo=function(e,t,n){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&go("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),n)}},bo=function(e,t,n){"animation"===e&&n.hashId&&"none"!==t&&go("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),n)},yo="data-ant-cssinjs-cache-path",xo="_FILE_STYLE__",Co=!0;function wo(e){return function(){if(!ho&&(ho={},st())){var e=document.createElement("div");e.className=yo,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=tt(e.split(":"),2),n=t[0],o=t[1];ho[n]=o}));var n,o=document.querySelector("style[".concat(yo,"]"));o&&(Co=!1,null===(n=o.parentNode)||void 0===n||n.removeChild(o)),document.body.removeChild(e)}}(),!!ho[e]}var So="_skip_check_",Eo="_multi_value_";function ko(e){return fo(lo(e),mo).replace(/\{%%%\:[^;];}/g,";")}function $o(e,t,n){if(!t)return e;var o=".".concat(t),r="low"===n?":where(".concat(o,")"):o;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),o=n[0]||"",i=(null===(t=o.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[o="".concat(i).concat(r).concat(o.slice(i.length))].concat(Qe(n.slice(1))).join(" ")})).join(",")}var Oo=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},r=o.root,i=o.injectHash,a=o.parentSelectors,l=n.hashId,c=n.layer,s=n.path,u=n.hashPriority,d=n.transformers,p=void 0===d?[]:d,f=n.linters,m=void 0===f?[]:f,g="",h={};function v(t){var o=t.getName(l);if(!h[o]){var r=tt(e(t.style,n,{root:!1,parentSelectors:a}),1)[0];h[o]="@keyframes ".concat(t.getName(l)).concat(r)}}var b=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return b.forEach((function(t){var o="string"!=typeof t||r?t:{};if("string"==typeof o)g+="".concat(o,"\n");else if(o._keyframe)v(o);else{var c=p.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),o);Object.keys(c).forEach((function(t){var o=c[t];if("object"!==ot(o)||!o||"animationName"===t&&o._keyframe||function(e){return"object"===ot(e)&&e&&(So in e||Eo in e)}(o)){var d;function S(e,t){"production"===process.env.NODE_ENV||"object"===ot(o)&&null!=o&&o[So]||[vo,bo].concat(Qe(m)).forEach((function(n){return n(e,t,{path:s,hashId:l,parentSelectors:a})}));var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;Nn[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(l)),g+="".concat(n,":").concat(r,";")}var p=null!==(d=null==o?void 0:o.value)&&void 0!==d?d:o;"object"===ot(o)&&null!=o&&o[Eo]&&Array.isArray(p)?p.forEach((function(e){S(t,e)})):S(t,p)}else{var f=!1,b=t.trim(),y=!1;(r||i)&&l?b.startsWith("@")?f=!0:b=$o("&"===b?"":t,l,u):!r||l||"&"!==b&&""!==b||(b="",y=!0);var x=tt(e(o,n,{root:y,injectHash:f,parentSelectors:[].concat(Qe(a),[b])}),2),C=x[0],w=x[1];h=lt(lt({},h),w),g+="".concat(b).concat(C)}}))}})),r?c&&(g&&(g="@layer ".concat(c.name," {").concat(g,"}")),c.dependencies&&(h["@layer ".concat(c.name)]=c.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(c.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,h]};function Mo(e,t){return ct("".concat(e.join("%")).concat(t))}function No(){return null}var jo="style";function Io(e,t){var n=e.token,o=e.path,r=e.hashId,a=e.layer,l=e.nonce,c=e.clientOnly,s=e.order,u=void 0===s?0:s,d=i.useContext(Ft),p=d.autoClear,f=d.mock,m=d.defaultCache,g=d.hashPriority,h=d.container,v=d.ssrInline,b=d.transformers,y=d.linters,x=d.cache,C=d.layer,w=n._tokenKey,S=[w];C&&S.push("layer"),S.push.apply(S,Qe(o));var E=on;"production"!==process.env.NODE_ENV&&void 0!==f&&(E="client"===f);var k=xn(jo,S,(function(){var e=S.join("|");if(wo(e)){var n=function(e){var t=ho[e],n=null;if(t&&st())if(Co)n=xo;else{var o=document.querySelector("style[".concat(Dt,'="').concat(ho[e],'"]'));o?n=o.innerHTML:delete ho[e]}return[n,t]}(e),i=tt(n,2),l=i[0],s=i[1];if(l)return[l,w,s,{},c,u]}var d=t(),p=tt(Oo(d,{hashId:r,hashPriority:g,layer:C?a:void 0,path:o.join("-"),transformers:b,linters:y}),2),f=p[0],m=p[1],h=ko(f),v=Mo(S,h);return[h,w,v,m,c,u]}),(function(e,t){var n=tt(e,3)[2];(t||p)&&on&&yt(n,{mark:Dt})}),(function(e){var t=tt(e,4),n=t[0];t[1];var o=t[2],r=t[3];if(E&&n!==xo){var i={mark:Dt,prepend:!C&&"queue",attachTo:h,priority:u},a="function"==typeof l?l():l;a&&(i.csp={nonce:a});var c=[],s=[];Object.keys(r).forEach((function(e){e.startsWith("@layer")?c.push(e):s.push(e)})),c.forEach((function(e){xt(ko(r[e]),"_layer-".concat(e),lt(lt({},i),{},{prepend:!0}))}));var d=xt(n,o,i);d[Lt]=x.instanceId,d.setAttribute(zt,w),"production"!==process.env.NODE_ENV&&d.setAttribute("data-cache-path",S.join("|")),s.forEach((function(e){xt(ko(r[e]),"_effect-".concat(e),i)}))}})),$=tt(k,3),O=$[0],M=$[1],N=$[2];return function(e){var t,n;v&&!E&&m?t=i.createElement("style",Mn({},(it(n={},zt,M),it(n,Dt,N),n),{dangerouslySetInnerHTML:{__html:O}})):t=i.createElement(No,null);return i.createElement(i.Fragment,null,t,e)}}var Po,To="cssVar";it(Po={},jo,(function(e,t,n){var o=tt(e,6),r=o[0],i=o[1],a=o[2],l=o[3],c=o[4],s=o[5],u=(n||{}).plain;if(c)return null;var d=r,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=an(r,i,a,p,u),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=an(ko(l[e]),i,"_effect-".concat(e),p,u);e.startsWith("@layer")?d=n+d:d+=n}})),[s,a,d]})),it(Po,$n,(function(e,t,n){var o=tt(e,5),r=o[2],i=o[3],a=o[4],l=(n||{}).plain;if(!i)return null;var c=r._tokenKey;return[-999,c,an(i,a,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),it(Po,To,(function(e,t,n){var o=tt(e,4),r=o[1],i=o[2],a=o[3],l=(n||{}).plain;if(!r)return null;return[-999,i,an(r,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));var Ro=function(){function e(t,n){It(this,e),it(this,"name",void 0),it(this,"style",void 0),it(this,"_keyframe",!0),this.name=t,this.style=n}return Tt(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function Bo(e){return e.notSplit=!0,e}Bo(["borderTop","borderBottom"]),Bo(["borderTop"]),Bo(["borderBottom"]),Bo(["borderLeft","borderRight"]),Bo(["borderLeft"]),Bo(["borderRight"]);var zo=Symbol.for("react.element"),Do=Symbol.for("react.transitional.element"),Lo=Symbol.for("react.fragment");function Fo(e){return e&&"object"===ot(e)&&(e.$$typeof===zo||e.$$typeof===Do)&&e.type===Lo}function Ho(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[];return t.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?o=o.concat(Ho(e)):Fo(e)&&e.props?o=o.concat(Ho(e.props.children,n)):o.push(e))})),o}function Ao(e){return e instanceof HTMLElement||e instanceof SVGElement}function _o(e){var o,r=function(e){return e&&"object"===ot(e)&&Ao(e.nativeElement)?e.nativeElement:Ao(e)?e:null}(e);return r||(e instanceof t.Component?null===(o=n.findDOMNode)||void 0===o?void 0:o.call(n,e):null)}var Wo=Number(t.version.split(".")[0]),Vo=function(e,t){"function"==typeof e?e(t):"object"===ot(e)&&e&&"current"in e&&(e.current=t)},Xo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.filter(Boolean);return o.length<=1?o[0]:function(e){t.forEach((function(t){Vo(t,e)}))}},Go=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ct((function(){return Xo.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))},qo=function(e){var t,n;if(!e)return!1;if(Ko(e)&&Wo>=19)return!0;var o=Ke.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof o||null!==(t=o.prototype)&&void 0!==t&&t.render||o.$$typeof===Ke.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===Ke.ForwardRef)};function Ko(e){return t.isValidElement(e)&&!Fo(e)}var Uo=function(e){if(e&&Ko(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null},Yo=i.createContext(null);var Zo=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),Qo="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Jo="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),er="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Jo):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var tr=["top","right","bottom","left","width","height","size","weight"],nr="undefined"!=typeof MutationObserver,or=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){er(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Qo&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),nr?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Qo&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;tr.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),rr=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},ir=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Jo},ar=pr(0,0,0,0);function lr(e){return parseFloat(e)||0}function cr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+lr(e["border-"+n+"-width"])}),0)}function sr(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return ar;var o=ir(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=lr(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,l=lr(o.width),c=lr(o.height);if("border-box"===o.boxSizing&&(Math.round(l+i)!==t&&(l-=cr(o,"left","right")+i),Math.round(c+a)!==n&&(c-=cr(o,"top","bottom")+a)),!function(e){return e===ir(e).document.documentElement}(e)){var s=Math.round(l+i)-t,u=Math.round(c+a)-n;1!==Math.abs(s)&&(l-=s),1!==Math.abs(u)&&(c-=u)}return pr(r.left,r.top,l,c)}var ur="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof ir(e).SVGGraphicsElement}:function(e){return e instanceof ir(e).SVGElement&&"function"==typeof e.getBBox};function dr(e){return Qo?ur(e)?function(e){var t=e.getBBox();return pr(0,0,t.width,t.height)}(e):sr(e):ar}function pr(e,t,n,o){return{x:e,y:t,width:n,height:o}}var fr=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=pr(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=dr(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),mr=function(e,t){var n,o,r,i,a,l,c,s=(o=(n=t).x,r=n.y,i=n.width,a=n.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(l.prototype),rr(c,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),c);rr(this,{target:e,contentRect:s})},gr=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Zo,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof ir(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new fr(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof ir(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new mr(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),hr="undefined"!=typeof WeakMap?new WeakMap:new Zo,vr=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=or.getInstance(),o=new gr(t,n,this);hr.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){vr.prototype[e]=function(){var t;return(t=hr.get(this))[e].apply(t,arguments)}}));var br=void 0!==Jo.ResizeObserver?Jo.ResizeObserver:vr,yr=new Map;function xr(e){e.forEach((function(e){var t,n=e.target;null===(t=yr.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}var Cr=new br(xr);process.env.NODE_ENV,process.env.NODE_ENV;var wr=function(){_t(t,i.Component);var e=Gt(t);function t(){return It(this,t),e.apply(this,arguments)}return Tt(t,[{key:"render",value:function(){return this.props.children}}]),t}();function Sr(e,t){var n=e.children,o=e.disabled,r=i.useRef(null),a=i.useRef(null),l=i.useContext(Yo),c="function"==typeof n,s=c?n(r):n,u=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!c&&i.isValidElement(s)&&qo(s),p=d?Uo(s):null,f=Go(p,r),m=function(){var e;return _o(r.current)||(r.current&&"object"===ot(r.current)?_o(null===(e=r.current)||void 0===e?void 0:e.nativeElement):null)||_o(a.current)};i.useImperativeHandle(t,(function(){return m()}));var g=i.useRef(e);g.current=e;var h=i.useCallback((function(e){var t=g.current,n=t.onResize,o=t.data,r=e.getBoundingClientRect(),i=r.width,a=r.height,c=e.offsetWidth,s=e.offsetHeight,d=Math.floor(i),p=Math.floor(a);if(u.current.width!==d||u.current.height!==p||u.current.offsetWidth!==c||u.current.offsetHeight!==s){var f={width:d,height:p,offsetWidth:c,offsetHeight:s};u.current=f;var m=c===Math.round(i)?i:c,h=s===Math.round(a)?a:s,v=lt(lt({},f),{},{offsetWidth:m,offsetHeight:h});null==l||l(v,e,o),n&&Promise.resolve().then((function(){n(v,e)}))}}),[]);return i.useEffect((function(){var e,t,n=m();return n&&!o&&(e=n,t=h,yr.has(e)||(yr.set(e,new Set),Cr.observe(e)),yr.get(e).add(t)),function(){return function(e,t){yr.has(e)&&(yr.get(e).delete(t),yr.get(e).size||(Cr.unobserve(e),yr.delete(e)))}(n,h)}}),[r.current,o]),i.createElement(wr,{ref:a},d?i.cloneElement(s,{ref:f}):s)}var Er=i.forwardRef(Sr);"production"!==process.env.NODE_ENV&&(Er.displayName="SingleObserver");function kr(e,t){var n=e.children,o="function"==typeof n?[n]:Ho(n);return"production"!==process.env.NODE_ENV&&(o.length>1?Et(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):0===o.length&&Et(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),o.map((function(n,o){var r=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return i.createElement(Er,Mn({},e,{key:r,ref:0===o?t:void 0}),n)}))}var $r=i.forwardRef(kr);"production"!==process.env.NODE_ENV&&($r.displayName="ResizeObserver"),$r.Collection=function(e){var t=e.children,n=e.onBatchResize,o=i.useRef(0),r=i.useRef([]),a=i.useContext(Yo),l=i.useCallback((function(e,t,i){o.current+=1;var l=o.current;r.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){l===o.current&&(null==n||n(r.current),r.current=[])})),null==a||a(e,t,i)}),[n,a]);return i.createElement(Yo.Provider,{value:l},t)};var Or=function(e){return+setTimeout(e,16)},Mr=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(Or=function(e){return window.requestAnimationFrame(e)},Mr=function(e){return window.cancelAnimationFrame(e)});var Nr=0,jr=new Map;function Ir(e){jr.delete(e)}var Pr=function(e){var t=Nr+=1;return function n(o){if(0===o)Ir(t),e();else{var r=Or((function(){n(o-1)}));jr.set(t,r)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};function Tr(e){let t;const n=function(){if(null==t){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];t=Pr((n=>()=>{t=null,e.apply(void 0,Qe(n))})(o))}};return n.cancel=()=>{Pr.cancel(t),t=null},n}Pr.cancel=function(e){var t=jr.get(e);return Ir(e),Mr(t)},"production"!==process.env.NODE_ENV&&(Pr.ids=function(){return jr});var Rr=t.createContext({});function Br(e){return Je(e)||Ye(e)||Ze(e)||et()}function zr(e,t){for(var n=e,o=0;o<t.length;o+=1){if(null==n)return;n=n[t[o]]}return n}function Dr(e,t,n,o){if(!t.length)return n;var r,i=Br(t),a=i[0],l=i.slice(1);return r=e||"number"!=typeof a?Array.isArray(e)?Qe(e):lt({},e):[],o&&void 0===n&&1===l.length?delete r[a][l[0]]:r[a]=Dr(r[a],l,n,o),r}function Lr(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&o&&void 0===n&&!zr(e,t.slice(0,-1))?e:Dr(e,t,n,o)}function Fr(e){return Array.isArray(e)?[]:{}}var Hr="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function Ar(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Fr(t[0]);return t.forEach((function(e){!function t(n,r){var i,a=new Set(r),l=zr(e,n),c=Array.isArray(l);if(c||"object"===ot(i=l)&&null!==i&&Object.getPrototypeOf(i)===Object.prototype){if(!a.has(l)){a.add(l);var s=zr(o,n);c?o=Lr(o,n,[]):s&&"object"===ot(s)||(o=Lr(o,n,Fr(l))),Hr(l).forEach((function(e){t([].concat(Qe(n),[e]),a)}))}}else o=Lr(o,n,l)}([])})),o}function _r(){}let Wr=null;let Vr=_r;"production"!==process.env.NODE_ENV&&(Vr=(e,t,n)=>{Mt(e,`[antd: ${t}] ${n}`),"test"===process.env.NODE_ENV&&(Wr=null,$t())});const Xr=i.createContext({}),Gr="production"!==process.env.NODE_ENV?e=>{const{strict:t}=i.useContext(Xr),n=(n,o,r)=>{if(!n)if(!1===t&&"deprecated"===o){const t=Wr;Wr||(Wr={}),Wr[e]=Wr[e]||[],Wr[e].includes(r||"")||Wr[e].push(r||""),t||console.warn("[antd] There exists deprecated usage in your code:",Wr)}else"production"!==process.env.NODE_ENV&&Vr(n,e,r)};return n.deprecated=(e,t,o,r)=>{n(e,"deprecated",`\`${t}\` is deprecated. Please use \`${o}\` instead.${r?` ${r}`:""}`)},n}:()=>{const e=()=>{};return e.deprecated=_r,e};var qr=t.createContext(void 0),Kr={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Ur={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Yr=lt(lt({},Ur),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const Zr={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Qr={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Yr),timePickerLocale:Object.assign({},Zr)},Jr="${label} is not a valid ${type}",ei={locale:"en",Pagination:Kr,DatePicker:Qr,TimePicker:Zr,Calendar:Qr,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Jr,method:Jr,array:Jr,object:Jr,number:Jr,date:Jr,boolean:Jr,integer:Jr,float:Jr,regexp:Jr,email:Jr,url:Jr,hex:Jr},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let ti=Object.assign({},ei.Modal),ni=[];const oi=()=>ni.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),ei.Modal);function ri(){return ti}const ii=t.createContext(void 0),ai=(e,t)=>{const n=i.useContext(ii),o=i.useMemo((()=>{var o;const r=t||ei[e],i=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:{};return Object.assign(Object.assign({},"function"==typeof r?r():r),i||{})}),[e,t,n]);return[o,i.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?ei.locale:e}),[n])]},li="internalMark",ci=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;if("production"!==process.env.NODE_ENV){const e=Gr("LocaleProvider");"production"!==process.env.NODE_ENV&&e(o===li,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}i.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return ni.push(t),ti=oi(),()=>{ni=ni.filter((e=>e!==t)),ti=oi()}}ti=Object.assign({},ei.Modal)}(null==t?void 0:t.Modal);return e}),[t]);const r=i.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return i.createElement(ii.Provider,{value:r},n)};"production"!==process.env.NODE_ENV&&(ci.displayName="LocaleProvider");const si={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},ui=Object.assign(Object.assign({},si),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),di=Math.round;function pi(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=n.map((e=>parseFloat(e)));for(let e=0;e<3;e+=1)o[e]=t(o[e]||0,n[e]||"",e);return n[3]?o[3]=n[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const fi=(e,t,n)=>0===n?e:e/100;function mi(e,t){const n=t||255;return e>n?n:e<0?0:e}class gi{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(it(this,"isValid",!0),it(this,"r",0),it(this,"g",0),it(this,"b",0),it(this,"a",1),it(this,"_h",void 0),it(this,"_s",void 0),it(this,"_l",void 0),it(this,"_v",void 0),it(this,"_max",void 0),it(this,"_min",void 0),it(this,"_brightness",void 0),e)if("string"==typeof e){const n=e.trim();function o(e){return n.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(e instanceof gi)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=mi(e.r),this.g=mi(e.g),this.b=mi(e.b),this.a="number"==typeof e.a?mi(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:di(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let o=this.getLightness()-e/100;return o<0&&(o=0),this._c({h:t,s:n,l:o,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let o=this.getLightness()+e/100;return o>1&&(o=1),this._c({h:t,s:n,l:o,a:this.a})}mix(e,t=50){const n=this._c(e),o=t/100,r=e=>(n[e]-this[e])*o+this[e],i={r:di(r("r")),g:di(r("g")),b:di(r("b")),a:di(100*r("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),o=e=>di((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const o=(this.b||0).toString(16);if(e+=2===o.length?o:"0"+o,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=di(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=di(100*this.getSaturation()),n=di(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const o=this.clone();return o[e]=mi(t,n),o}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:o}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof o?o:1,t<=0){const e=di(255*n);this.r=e,this.g=e,this.b=e}let r=0,i=0,a=0;const l=e/60,c=(1-Math.abs(2*n-1))*t,s=c*(1-Math.abs(l%2-1));l>=0&&l<1?(r=c,i=s):l>=1&&l<2?(r=s,i=c):l>=2&&l<3?(i=c,a=s):l>=3&&l<4?(i=s,a=c):l>=4&&l<5?(r=s,a=c):l>=5&&l<6&&(r=c,a=s);const u=n-c/2;this.r=di(255*(r+u)),this.g=di(255*(i+u)),this.b=di(255*(a+u))}fromHsv({h:e,s:t,v:n,a:o}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof o?o:1;const r=di(255*n);if(this.r=r,this.g=r,this.b=r,t<=0)return;const i=e/60,a=Math.floor(i),l=i-a,c=di(n*(1-t)*255),s=di(n*(1-t*l)*255),u=di(n*(1-t*(1-l))*255);switch(a){case 0:this.g=u,this.b=c;break;case 1:this.r=s,this.b=c;break;case 2:this.r=c,this.b=u;break;case 3:this.r=c,this.g=s;break;case 4:this.r=u,this.g=c;break;default:this.g=c,this.b=s}}fromHsvString(e){const t=pi(e,fi);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=pi(e,fi);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=pi(e,((e,t)=>t.includes("%")?di(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var hi=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function vi(e,t,n){var o;return(o=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?o+=360:o>=360&&(o-=360),o}function bi(e,t,n){return 0===e.h&&0===e.s?e.s:((o=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(o=1),n&&5===t&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(100*o)/100);var o}function yi(e,t,n){var o;return o=n?e.v+.05*t:e.v-.15*t,o=Math.max(0,Math.min(1,o)),Math.round(100*o)/100}function xi(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],o=new gi(e),r=o.toHsv(),i=5;i>0;i-=1){var a=new gi({h:vi(r,i,!0),s:bi(r,i,!0),v:yi(r,i,!0)});n.push(a)}n.push(o);for(var l=1;l<=4;l+=1){var c=new gi({h:vi(r,l),s:bi(r,l),v:yi(r,l)});n.push(c)}return"dark"===t.theme?hi.map((function(e){var o=e.index,r=e.amount;return new gi(t.backgroundColor||"#141414").mix(n[o],r).toHexString()})):n.map((function(e){return e.toHexString()}))}var Ci={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},wi=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];wi.primary=wi[5];var Si=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Si.primary=Si[5];var Ei=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Ei.primary=Ei[5];var ki=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];ki.primary=ki[5];var $i=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];$i.primary=$i[5];var Oi=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Oi.primary=Oi[5];var Mi=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Mi.primary=Mi[5];var Ni=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Ni.primary=Ni[5];var ji=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ji.primary=ji[5];var Ii=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Ii.primary=Ii[5];var Pi=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Pi.primary=Pi[5];var Ti=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Ti.primary=Ti[5];var Ri=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Ri.primary=Ri[5];var Bi=Ri,zi={red:wi,volcano:Si,orange:Ei,gold:ki,yellow:$i,lime:Oi,green:Mi,cyan:Ni,blue:ji,geekblue:Ii,purple:Pi,magenta:Ti,grey:Ri},Di=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Di.primary=Di[5];var Li=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Li.primary=Li[5];var Fi=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Fi.primary=Fi[5];var Hi=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];Hi.primary=Hi[5];var Ai=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];Ai.primary=Ai[5];var _i=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];_i.primary=_i[5];var Wi=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Wi.primary=Wi[5];var Vi=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Vi.primary=Vi[5];var Xi=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Xi.primary=Xi[5];var Gi=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Gi.primary=Gi[5];var qi=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];qi.primary=qi[5];var Ki=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Ki.primary=Ki[5];var Ui=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Ui.primary=Ui[5];var Yi={red:Di,volcano:Li,orange:Fi,gold:Hi,yellow:Ai,lime:_i,green:Wi,cyan:Vi,blue:Xi,geekblue:Gi,purple:qi,magenta:Ki,grey:Ui},Zi=Object.freeze({__proto__:null,blue:ji,blueDark:Xi,cyan:Ni,cyanDark:Vi,geekblue:Ii,geekblueDark:Gi,generate:xi,gold:ki,goldDark:Hi,gray:Bi,green:Mi,greenDark:Wi,grey:Ri,greyDark:Ui,lime:Oi,limeDark:_i,magenta:Ti,magentaDark:Ki,orange:Ei,orangeDark:Fi,presetDarkPalettes:Yi,presetPalettes:zi,presetPrimaryColors:Ci,purple:Pi,purpleDark:qi,red:wi,redDark:Di,volcano:Si,volcanoDark:Li,yellow:$i,yellowDark:Ai});function Qi(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:c,colorBgBase:s,colorTextBase:u}=e,d=n(c),p=n(r),f=n(i),m=n(a),g=n(l),h=o(s,u),v=n(e.colorLink||e.colorInfo),b=new gi(m[1]).mix(new gi(m[3]),50).toHexString();return Object.assign(Object.assign({},h),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new gi("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const Ji=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};function ea(e){return(e+8)/e}const ta=e=>{const t=function(e){const t=Array.from({length:10}).map(((t,n)=>{const o=n-1,r=e*Math.pow(Math.E,o/5),i=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:ea(e)})))}(e),n=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),r=n[1],i=n[0],a=n[2],l=o[1],c=o[0],s=o[2];return{fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*r),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};const na=(e,t)=>new gi(e).setA(t).toRgbString(),oa=(e,t)=>new gi(e).darken(t).toHexString(),ra=e=>{const t=xi(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},ia=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:na(o,.88),colorTextSecondary:na(o,.65),colorTextTertiary:na(o,.45),colorTextQuaternary:na(o,.25),colorFill:na(o,.15),colorFillSecondary:na(o,.06),colorFillTertiary:na(o,.04),colorFillQuaternary:na(o,.02),colorBgSolid:na(o,1),colorBgSolidHover:na(o,.75),colorBgSolidActive:na(o,.95),colorBgLayout:oa(n,4),colorBgContainer:oa(n,0),colorBgElevated:oa(n,0),colorBgSpotlight:na(o,.85),colorBgBlur:"transparent",colorBorder:oa(n,15),colorBorderSecondary:oa(n,6)}};function aa(e){Ci.pink=Ci.magenta,zi.pink=zi.magenta;const t=Object.keys(si).map((t=>{const n=e[t]===Ci[t]?zi[t]:xi(e[t]);return Array.from({length:10},(()=>1)).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Qi(e,{generateColorPalettes:ra,generateNeutralColorPalettes:ia})),ta(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),Ji(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:r+1},(e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}})(o))}(e))}const la=Zt(aa),ca={token:ui,override:{override:ui},hashed:!0},sa=t.createContext(ca),ua="ant",da="anticon",pa=["outlined","borderless","filled","underlined"],fa=i.createContext({getPrefixCls:(e,t)=>t||(e?`${ua}-${e}`:ua),iconPrefixCls:da}),{Consumer:ma}=fa,ga={};function ha(e){const t=i.useContext(fa),{getPrefixCls:n,direction:o,getPopupContainer:r}=t,a=t[e];return Object.assign(Object.assign({classNames:ga,styles:ga},a),{getPrefixCls:n,direction:o,getPopupContainer:r})}const va=`-ant-${Date.now()}-${Math.random()}`;function ba(e,t){const n=function(e,t){const n={},o=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},r=(e,t)=>{const r=new gi(e),i=xi(r.toRgbString());n[`${t}-color`]=o(r),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=r.clone().setA(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){r(t.primaryColor,"primary");const e=new gi(t.primaryColor),i=xi(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=o(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=o(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=o(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=o(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=o(e,(e=>e.setA(.12*e.a)));const a=new gi(i[0]);n["primary-color-active-deprecated-f-30"]=o(a,(e=>e.setA(.3*e.a))),n["primary-color-active-deprecated-d-02"]=o(a,(e=>e.darken(2)))}return t.successColor&&r(t.successColor,"success"),t.warningColor&&r(t.warningColor,"warning"),t.errorColor&&r(t.errorColor,"error"),t.infoColor&&r(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);st()?xt(n,`${va}-dynamic-theme`):"production"!==process.env.NODE_ENV&&Vr(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const ya=i.createContext(!1),xa=e=>{let{children:t,disabled:n}=e;const o=i.useContext(ya);return i.createElement(ya.Provider,{value:null!=n?n:o},t)},Ca=i.createContext(void 0),wa=e=>{let{children:t,size:n}=e;const o=i.useContext(Ca);return i.createElement(Ca.Provider,{value:n||o},t)};var Sa=Tt((function e(){It(this,e)})),Ea="CALC_UNIT",ka=new RegExp(Ea,"g");function $a(e){return"number"==typeof e?"".concat(e).concat(Ea):e}var Oa=function(){_t(t,Sa);var e=Gt(t);function t(n,o){var r;It(this,t),it(Ht(r=e.call(this)),"result",""),it(Ht(r),"unitlessCssVar",void 0),it(Ht(r),"lowPriority",void 0);var i=ot(n);return r.unitlessCssVar=o,n instanceof t?r.result="(".concat(n.result,")"):"number"===i?r.result=$a(n):"string"===i&&(r.result=n),r}return Tt(t,[{key:"add",value:function(e){return e instanceof t?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat($a(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat($a(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof t?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof t?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,o=!0;return"boolean"==typeof n?o=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(o=!1),this.result=this.result.replace(ka,o?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),t}(),Ma=function(){_t(t,Sa);var e=Gt(t);function t(n){var o;return It(this,t),it(Ht(o=e.call(this)),"result",0),n instanceof t?o.result=n.result:"number"==typeof n&&(o.result=n),o}return Tt(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),t}(),Na=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function ja(e){var t=i.useRef();t.current=e;var n=i.useCallback((function(){for(var e,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(o))}),[]);return n}function Ia(e){var t=i.useRef(!1),n=tt(i.useState(e),2),o=n[0],r=n[1];return i.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[o,function(e,n){n&&t.current||r(e)}]}function Pa(e){return void 0!==e}function Ta(e,t){var n=t||{},o=n.defaultValue,r=n.value,i=n.onChange,a=n.postState,l=tt(Ia((function(){return Pa(r)?r:Pa(o)?"function"==typeof o?o():o:"function"==typeof e?e():e})),2),c=l[0],s=l[1],u=void 0!==r?r:c,d=a?a(u):u,p=ja(i),f=tt(Ia([u]),2),m=f[0],g=f[1];return pn((function(){var e=m[0];c!==e&&p(c,e)}),[m]),pn((function(){Pa(r)||s(r)}),[r]),[d,ja((function(e,t){s(e,t),g([u],t)}))]}function Ra(e,t,n,o){var r=lt({},t[e]);null!=o&&o.deprecatedTokens&&o.deprecatedTokens.forEach((function(t){var n,o=tt(t,2),i=o[0],a=o[1];("production"!==process.env.NODE_ENV&&Mt(!(null!=r&&r[i]),"Component Token `".concat(String(i),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(a),"` instead.")),null!=r&&r[i]||null!=r&&r[a])&&(null!==(n=r[a])&&void 0!==n||(r[a]=null==r?void 0:r[i]))}));var i=lt(lt({},n),r);return Object.keys(i).forEach((function(e){i[e]===t[e]&&delete i[e]})),i}var Ba="production"!==process.env.NODE_ENV||"undefined"!=typeof CSSINJS_STATISTIC,za=!0;function Da(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Ba)return Object.assign.apply(Object,[{}].concat(t));za=!1;var o={};return t.forEach((function(e){"object"===ot(e)&&Object.keys(e).forEach((function(t){Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})}))})),za=!0,o}var La={};function Fa(){}function Ha(e,t,n){var o;return"function"==typeof n?n(Da(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=n?n:{}}var Aa=function(){function e(){It(this,e),it(this,"map",new Map),it(this,"objectIDMap",new WeakMap),it(this,"nextID",0),it(this,"lastAccessBeat",new Map),it(this,"accessBeat",0)}return Tt(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===ot(e)?"obj_".concat(t.getObjectID(e)):"".concat(ot(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,o){t-n>6e5&&(e.map.delete(o),e.lastAccessBeat.delete(o))})),this.accessBeat=0}}}]),e}(),_a=new Aa;var Wa=function(){return{}};const Va=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var Xa="5.24.8";function Ga(e){return e>=0&&e<=255}function qa(e,t){const{r:n,g:o,b:r,a:i}=new gi(e).toRgb();if(i<1)return e;const{r:a,g:l,b:c}=new gi(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-a*(1-e))/e),i=Math.round((o-l*(1-e))/e),s=Math.round((r-c*(1-e))/e);if(Ga(t)&&Ga(i)&&Ga(s))return new gi({r:t,g:i,b:s,a:Math.round(100*e)/100}).toRgbString()}return new gi({r:n,g:o,b:r,a:1}).toRgbString()}var Ka=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Ua(e){const{override:t}=e,n=Ka(e,["override"]),o=Object.assign({},t);Object.keys(ui).forEach((e=>{delete o[e]}));const r=Object.assign(Object.assign({},n),o),i=1200,a=1600;if(!1===r.motion){const e="0s";r.motionDurationFast=e,r.motionDurationMid=e,r.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},r),{colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:qa(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:qa(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:qa(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:3*r.lineWidth,lineWidth:r.lineWidth,controlOutlineWidth:2*r.lineWidth,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:qa(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new gi("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new gi("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new gi("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}var Ya=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Za={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Qa={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},Ja={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},el=(e,t,n)=>{const o=n.getDerivativeToken(e),{override:r}=t,i=Ya(t,["override"]);let a=Object.assign(Object.assign({},o),{override:r});return a=Ua(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:o}=n,r=Ya(n,["theme"]);let i=r;o&&(i=el(Object.assign(Object.assign({},a),r),{override:r},o)),a[t]=i})),a};function tl(){const{token:e,hashed:n,theme:o,override:r,cssVar:i}=t.useContext(sa),a=`${Xa}-${n||""}`,l=o||la,[c,s,u]=On(l,[ui,e],{salt:a,override:r,getComputedToken:el,formatToken:Ua,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Za,ignore:Qa,preserve:Ja}});return[l,u,n?s:"",c,i]}const nl={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ol=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},rl=(e,t)=>({outline:`${rn(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),il=(e,t)=>({"&:focus-visible":Object.assign({},rl(e,t))}),al=e=>({[`.${e}`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}),ll=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},il(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:cl,genComponentStyleHook:sl,genSubStyleComponent:ul}=function(e){var n=e.useCSP,o=void 0===n?Wa:n,r=e.useToken,i=e.usePrefix,a=e.getResetStyles,l=e.getCommonStyle,c=e.getCompUnitless;function s(n,c,s){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=Array.isArray(n)?n:[n,n],p=tt(d,1)[0],f=d.join("-"),m=e.layer||{name:"antd"};return function(e){var n,d,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,h=r(),v=h.theme,b=h.realToken,y=h.hashId,x=h.token,C=h.cssVar,w=i(),S=w.rootPrefixCls,E=w.iconPrefixCls,k=o(),$=C?"css":"js",O=(n=function(){var e=new Set;return C&&Object.keys(u.unitless||{}).forEach((function(t){e.add(ln(t,C.prefix)),e.add(ln(t,Na(p,C.prefix)))})),function(e,t){var n="css"===e?Oa:Ma;return function(e){return new n(e,t)}}($,e)},d=[$,p,null==C?void 0:C.prefix],t.useMemo((function(){var e=_a.get(d);if(e)return e;var t=n();return _a.set(d,t),t}),d)),M=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map((function(e){return rn(e)})).join(","),")")},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map((function(e){return rn(e)})).join(","),")")}}}($),N=M.max,j=M.min,I={theme:v,token:x,hashId:y,nonce:function(){return k.nonce},clientOnly:u.clientOnly,layer:m,order:u.order||-999};"function"==typeof a&&Io(lt(lt({},I),{},{clientOnly:!1,path:["Shared",S]}),(function(){return a(x,{prefix:{rootPrefixCls:S,iconPrefixCls:E},csp:k})}));var P=Io(lt(lt({},I),{},{path:[f,e,E]}),(function(){if(!1===u.injectStyle)return[];var t=function(e){var t,n=e,o=Fa;return Ba&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){var o;return za&&(null===(o=t)||void 0===o||o.add(n)),e[n]}}),o=function(e,n){var o;La[e]={global:Array.from(t),component:lt(lt({},null===(o=La[e])||void 0===o?void 0:o.component),n)}}),{token:n,keys:t,flush:o}}(x),n=t.token,o=t.flush,r=Ha(p,b,s),i=".".concat(e),a=Ra(p,b,r,{deprecatedTokens:u.deprecatedTokens});C&&r&&"object"===ot(r)&&Object.keys(r).forEach((function(e){r[e]="var(".concat(ln(e,Na(p,C.prefix)),")")}));var d=Da(n,{componentCls:i,prefixCls:e,iconCls:".".concat(E),antCls:".".concat(S),calc:O,max:N,min:j},C?r:a),f=c(d,{hashId:y,prefixCls:e,rootPrefixCls:S,iconPrefixCls:E});o(p,a);var m="function"==typeof l?l(d,e,g,u.resetFont):null;return[!1===u.resetStyle?null:m,f]}));return[P,y]}}return{genStyleHooks:function(e,n,o,i){var a=Array.isArray(e)?e[0]:e;function l(e){return"".concat(String(a)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var u=(null==i?void 0:i.unitless)||{},d=lt(lt({},"function"==typeof c?c(e):{}),{},it({},l("zIndexPopup"),!0));Object.keys(u).forEach((function(e){d[l(e)]=u[e]}));var p=lt(lt({},i),{},{unitless:d,prefixToken:l}),f=s(e,n,o,p),m=function(e,n,o){var i=o.unitless,a=o.injectStyle,l=void 0===a||a,c=o.prefixToken,s=o.ignore,u=function(a){var l=a.rootCls,u=a.cssVar,d=void 0===u?{}:u,p=r().realToken;return function(e,n){var o=e.key,r=e.prefix,i=e.unitless,a=e.ignore,l=e.token,c=e.scope,s=void 0===c?"":c,u=t.useContext(Ft),d=u.cache.instanceId,p=u.container,f=l._tokenKey,m=[].concat(Qe(e.path),[o,s,f]),g=xn(To,m,(function(){var e=n(),t=tt(sn(e,o,{prefix:r,unitless:i,ignore:a,scope:s}),2),l=t[0],c=t[1];return[l,c,Mo(m,c),o]}),(function(e){var t=tt(e,3)[2];on&&yt(t,{mark:Dt})}),(function(e){var t=tt(e,3),n=t[1],r=t[2];if(n){var i=xt(n,r,{mark:Dt,prepend:"queue",attachTo:p,priority:-999});i[Lt]=d,i.setAttribute(zt,o)}}))}({path:[e],prefix:d.prefix,key:d.key,unitless:i,ignore:s,token:p,scope:l},(function(){var t=Ha(e,p,n),r=Ra(e,p,t,{deprecatedTokens:null==o?void 0:o.deprecatedTokens});return Object.keys(t).forEach((function(e){r[c(e)]=r[e],delete r[e]})),r})),null},d=function(n){var o=r().cssVar;return[function(r){return l&&o?t.createElement(t.Fragment,null,t.createElement(u,{rootCls:n,cssVar:o,component:e}),r):r},null==o?void 0:o.key]};return d}(a,o,p);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=tt(f(e,t),2)[1],o=tt(m(t),2);return[o[0],n,o[1]]}},genSubStyleComponent:function(e,t,n){var o=s(e,t,n,lt({resetStyle:!1,order:-998},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),r=function(e){var t=e.prefixCls,n=e.rootCls;return o(t,void 0===n?t:n),null};return"production"!==process.env.NODE_ENV&&(r.displayName="SubStyle_".concat(String(Array.isArray(e)?e.join("."):e))),r},genComponentStyleHook:s}}({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:n}=t.useContext(fa);return{rootPrefixCls:e(),iconPrefixCls:n}},useToken:()=>{const[e,t,n,o,r]=tl();return{theme:e,realToken:t,hashId:n,token:o,cssVar:r}},useCSP:()=>{const{csp:e}=t.useContext(fa);return null!=e?e:{}},getResetStyles:(e,t)=>{var n;const o=(e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}))(e);return[o,{"&":o},al(null!==(n=null==t?void 0:t.prefix.iconPrefixCls)&&void 0!==n?n:da)]},getCommonStyle:(e,t,n,o)=>{const r=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return!1!==o&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},l),a),{[r]:a})}},getCompUnitless:()=>Za});function dl(e,t){return Va.reduce(((n,o)=>{const r=e[`${o}1`],i=e[`${o}3`],a=e[`${o}6`],l=e[`${o}7`];return Object.assign(Object.assign({},n),t(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:l}))}),{})}const pl=Object.assign({},i),{useId:fl}=pl,ml=void 0===fl?()=>"":fl;var gl=["children"],hl=i.createContext({});function vl(e){var t=e.children,n=nt(e,gl);return i.createElement(hl.Provider,{value:n},t)}var bl=function(){_t(t,i.Component);var e=Gt(t);function t(){return It(this,t),e.apply(this,arguments)}return Tt(t,[{key:"render",value:function(){return this.props.children}}]),t}();var yl="none",xl="appear",Cl="enter",wl="leave",Sl="none",El="prepare",kl="start",$l="active",Ol="end",Ml="prepared";function Nl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var jl=function(e,t){var n={animationend:Nl("Animation","AnimationEnd"),transitionend:Nl("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}(st(),"undefined"!=typeof window?window:{}),Il={};if(st()){var Pl=document.createElement("div");Il=Pl.style}var Tl={};function Rl(e){if(Tl[e])return Tl[e];var t=jl[e];if(t)for(var n=Object.keys(t),o=n.length,r=0;r<o;r+=1){var i=n[r];if(Object.prototype.hasOwnProperty.call(t,i)&&i in Il)return Tl[e]=t[i],Tl[e]}return""}var Bl=Rl("animationend"),zl=Rl("transitionend"),Dl=!(!Bl||!zl),Ll=Bl||"animationend",Fl=zl||"transitionend";function Hl(e,t){if(!e)return null;if("object"===ot(e)){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return"".concat(e,"-").concat(t)}var Al=st()?t.useLayoutEffect:t.useEffect,_l=[El,kl,$l,Ol],Wl=[El,Ml],Vl=!1;function Xl(e){return e===$l||e===Ol}var Gl=function(e,t,n){var o=tt(Ia(Sl),2),r=o[0],a=o[1],l=function(){var e=i.useRef(null);function t(){Pr.cancel(e.current)}return i.useEffect((function(){return function(){t()}}),[]),[function n(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=Pr((function(){r<=1?o({isCanceled:function(){return i!==e.current}}):n(o,r-1)}));e.current=i},t]}(),c=tt(l,2),s=c[0],u=c[1];var d=t?Wl:_l;return Al((function(){if(r!==Sl&&r!==Ol){var e=d.indexOf(r),t=d[e+1],o=n(r);o===Vl?a(t,!0):t&&s((function(e){function n(){e.isCanceled()||a(t,!0)}!0===o?n():Promise.resolve(o).then(n)}))}}),[e,r]),i.useEffect((function(){return function(){u()}}),[]),[function(){a(El,!0)},r]};function ql(e,n,o,r){var a,l,c,s=r.motionEnter,u=void 0===s||s,d=r.motionAppear,p=void 0===d||d,f=r.motionLeave,m=void 0===f||f,g=r.motionDeadline,h=r.motionLeaveImmediately,v=r.onAppearPrepare,b=r.onEnterPrepare,y=r.onLeavePrepare,x=r.onAppearStart,C=r.onEnterStart,w=r.onLeaveStart,S=r.onAppearActive,E=r.onEnterActive,k=r.onLeaveActive,$=r.onAppearEnd,O=r.onEnterEnd,M=r.onLeaveEnd,N=r.onVisibleChanged,j=tt(Ia(),2),I=j[0],P=j[1],T=(a=yl,l=tt(i.useReducer((function(e){return e+1}),0),2)[1],c=i.useRef(a),[ja((function(){return c.current})),ja((function(e){c.current="function"==typeof e?e(c.current):e,l()}))]),R=tt(T,2),B=R[0],z=R[1],D=tt(Ia(null),2),L=D[0],F=D[1],H=B(),A=t.useRef(!1),_=t.useRef(null);function W(){return o()}var V=t.useRef(!1);function X(){z(yl),F(null,!0)}var G=ja((function(e){var t=B();if(t!==yl){var n=W();if(!e||e.deadline||e.target===n){var o,r=V.current;t===xl&&r?o=null==$?void 0:$(n,e):t===Cl&&r?o=null==O?void 0:O(n,e):t===wl&&r&&(o=null==M?void 0:M(n,e)),r&&!1!==o&&X()}}})),q=function(e){var n=t.useRef();function o(t){t&&(t.removeEventListener(Fl,e),t.removeEventListener(Ll,e))}return i.useEffect((function(){return function(){o(n.current)}}),[]),[function(t){n.current&&n.current!==t&&o(n.current),t&&t!==n.current&&(t.addEventListener(Fl,e),t.addEventListener(Ll,e),n.current=t)},o]}(G),K=tt(q,1)[0],U=function(e){switch(e){case xl:return it(it(it({},El,v),kl,x),$l,S);case Cl:return it(it(it({},El,b),kl,C),$l,E);case wl:return it(it(it({},El,y),kl,w),$l,k);default:return{}}},Y=i.useMemo((function(){return U(H)}),[H]),Z=tt(Gl(H,!e,(function(e){if(e===El){var t=Y[El];return t?t(W()):Vl}var n;J in Y&&F((null===(n=Y[J])||void 0===n?void 0:n.call(Y,W(),null))||null);return J===$l&&H!==yl&&(K(W()),g>0&&(clearTimeout(_.current),_.current=setTimeout((function(){G({deadline:!0})}),g))),J===Ml&&X(),true})),2),Q=Z[0],J=Z[1],ee=Xl(J);V.current=ee;var te=t.useRef(null);Al((function(){if(!A.current||te.current!==n){P(n);var t,o=A.current;A.current=!0,!o&&n&&p&&(t=xl),o&&n&&u&&(t=Cl),(o&&!n&&m||!o&&h&&!n&&m)&&(t=wl);var r=U(t);t&&(e||r[El])?(z(t),Q()):z(yl),te.current=n}}),[n]),t.useEffect((function(){(H===xl&&!p||H===Cl&&!u||H===wl&&!m)&&z(yl)}),[p,u,m]),t.useEffect((function(){return function(){A.current=!1,clearTimeout(_.current)}}),[]);var ne=i.useRef(!1);t.useEffect((function(){I&&(ne.current=!0),void 0!==I&&H===yl&&((ne.current||I)&&(null==N||N(I)),ne.current=!0)}),[I,H]);var oe=L;return Y[El]&&J===kl&&(oe=lt({transition:"none"},oe)),[H,J,oe,null!=I?I:n]}var Kl=function(e){var n=e;"object"===ot(e)&&(n=e.transitionSupport);var o=i.forwardRef((function(e,o){var r=e.visible,a=void 0===r||r,l=e.removeOnLeave,c=void 0===l||l,s=e.forceRender,u=e.children,d=e.motionName,p=e.leavedClassName,m=e.eventProps,g=function(e,t){return!(!e.motionName||!n||!1===t)}(e,i.useContext(hl).motion),h=t.useRef(),v=t.useRef();var b=tt(ql(g,a,(function(){try{return h.current instanceof HTMLElement?h.current:_o(v.current)}catch(e){return null}}),e),4),y=b[0],x=b[1],C=b[2],w=b[3],S=i.useRef(w);w&&(S.current=!0);var E,k=i.useCallback((function(e){h.current=e,Vo(o,e)}),[o]),$=lt(lt({},m),{},{visible:a});if(u)if(y===yl)E=w?u(lt({},$),k):!c&&S.current&&p?u(lt(lt({},$),{},{className:p}),k):s||!c&&!p?u(lt(lt({},$),{},{style:{display:"none"}}),k):null;else{var O;x===El?O="prepare":Xl(x)?O="active":x===kl&&(O="start");var M=Hl(d,"".concat(y,"-").concat(O));E=u(lt(lt({},$),{},{className:f(Hl(d,y),it(it({},M,M&&O),d,"string"==typeof d)),style:C}),k)}else E=null;i.isValidElement(E)&&qo(E)&&(Uo(E)||(E=i.cloneElement(E,{ref:k})));return i.createElement(bl,{ref:v},E)}));return o.displayName="CSSMotion",o}(Dl),Ul="add",Yl="keep",Zl="remove",Ql="removed";function Jl(e){var t;return lt(lt({},t=e&&"object"===ot(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function ec(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(Jl)}var tc=["component","children","onVisibleChanged","onAllRemoved"],nc=["status"],oc=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var rc=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kl,t=function(){_t(n,i.Component);var t=Gt(n);function n(){var e;It(this,n);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return it(Ht(e=t.call.apply(t,[this].concat(r))),"state",{keyEntities:[]}),it(Ht(e),"removeKey",(function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:lt(lt({},e),{},{status:Ql})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==Ql})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return Tt(n,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,o=this.props,r=o.component,a=o.children,l=o.onVisibleChanged;o.onAllRemoved;var c=nt(o,tc),s=r||i.Fragment,u={};return oc.forEach((function(e){u[e]=c[e],delete c[e]})),delete c.keys,i.createElement(s,c,n.map((function(n,o){var r=n.status,c=nt(n,nc),s=r===Ul||r===Yl;return i.createElement(e,Mn({},u,{key:c.key,visible:s,eventProps:c,onVisibleChanged:function(e){null==l||l(e,{key:c.key}),e||t.removeKey(c.key)}}),(function(e,t){return a(lt(lt({},e),{},{index:o}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,o=t.keyEntities,r=ec(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,r=t.length,i=ec(e),a=ec(t);i.forEach((function(e){for(var t=!1,i=o;i<r;i+=1){var l=a[i];if(l.key===e.key){o<i&&(n=n.concat(a.slice(o,i).map((function(e){return lt(lt({},e),{},{status:Ul})}))),o=i),n.push(lt(lt({},l),{},{status:Yl})),o+=1,t=!0;break}}t||n.push(lt(lt({},e),{},{status:Zl}))})),o<r&&(n=n.concat(a.slice(o).map((function(e){return lt(lt({},e),{},{status:Ul})}))));var l={};return n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1})),Object.keys(l).filter((function(e){return l[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,o=t.status;return n!==e||o!==Zl}))).forEach((function(t){t.key===e&&(t.status=Yl)}))})),n}(o,r);return{keyEntities:i.filter((function(e){var t=o.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Ql||e.status!==Zl}))}}}]),n}();return it(t,"defaultProps",{component:"div"}),t}(Dl);function ic(e){const{children:t}=e,[,n]=tl(),{motion:o}=n,r=i.useRef(!1);return r.current=r.current||!1===o,r.current?i.createElement(vl,{motion:o},t):t}const ac=i.memo((e=>{let{dropdownMatchSelectWidth:t}=e;return Gr("ConfigProvider").deprecated(void 0===t,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null}));"production"!==process.env.NODE_ENV&&(ac.displayName="PropWarning");var lc="production"!==process.env.NODE_ENV?ac:()=>null,cc=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};let sc=!1;const uc="production"!==process.env.NODE_ENV?e=>{"production"!==process.env.NODE_ENV&&Vr(!sc,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.")}:null,dc=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let pc,fc,mc,gc;function hc(){return pc||ua}function vc(){return fc||da}const bc=()=>({getPrefixCls:(e,t)=>t||(e?`${hc()}-${e}`:hc()),getIconPrefixCls:vc,getRootPrefixCls:()=>pc||hc(),getTheme:()=>mc,holderRender:gc}),yc=e=>{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:r,anchor:a,form:l,locale:c,componentSize:s,direction:u,space:d,splitter:p,virtual:f,dropdownMatchSelectWidth:m,popupMatchSelectWidth:g,popupOverflow:h,legacyLocale:v,parentContext:b,iconPrefixCls:y,theme:x,componentDisabled:C,segmented:w,statistic:S,spin:E,calendar:k,carousel:$,cascader:O,collapse:M,typography:N,checkbox:j,descriptions:I,divider:P,drawer:T,skeleton:R,steps:B,image:z,layout:D,list:L,mentions:F,modal:H,progress:A,result:_,slider:W,breadcrumb:V,menu:X,pagination:G,input:q,textArea:K,empty:U,badge:Y,radio:Z,rate:Q,switch:J,transfer:ee,avatar:te,message:ne,tag:oe,table:re,card:ie,tabs:ae,timeline:le,timePicker:ce,upload:se,notification:ue,tree:de,colorPicker:pe,datePicker:fe,rangePicker:me,flex:ge,wave:he,dropdown:ve,warning:be,tour:ye,tooltip:xe,popover:Ce,popconfirm:we,floatButtonGroup:Se,variant:Ee,inputNumber:ke,treeSelect:$e}=e,Oe=i.useCallback(((t,n)=>{const{prefixCls:o}=e;if(n)return n;const r=o||b.getPrefixCls("");return t?`${r}-${t}`:r}),[b.getPrefixCls,e.prefixCls]),Me=y||b.iconPrefixCls||da,Ne=n||b.csp;((e,t)=>{const[n,o]=tl();Io({token:o,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[al(e)]))})(Me,Ne);const je=function(e,t,n){var o,r;const i=Gr("ConfigProvider"),a=e||{},l=!1!==a.inherit&&t?t:Object.assign(Object.assign({},ca),{hashed:null!==(o=null==t?void 0:t.hashed)&&void 0!==o?o:ca.hashed,cssVar:null==t?void 0:t.cssVar}),c=ml();if("production"!==process.env.NODE_ENV){const e=a.cssVar||l.cssVar,t=!!("object"==typeof a.cssVar&&(null===(r=a.cssVar)||void 0===r?void 0:r.key)||c);"production"!==process.env.NODE_ENV&&i(!e||t,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return Ct((()=>{var o,r;if(!e)return t;const i=Object.assign({},l.components);Object.keys(e.components||{}).forEach((t=>{i[t]=Object.assign(Object.assign({},i[t]),e.components[t])}));const s=`css-var-${c.replace(/:/g,"")}`,u=(null!==(o=a.cssVar)&&void 0!==o?o:l.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof l.cssVar?l.cssVar:{}),"object"==typeof a.cssVar?a.cssVar:{}),{key:"object"==typeof a.cssVar&&(null===(r=a.cssVar)||void 0===r?void 0:r.key)||s});return Object.assign(Object.assign(Object.assign({},l),a),{token:Object.assign(Object.assign({},l.token),a.token),components:i,cssVar:u})}),[a,l],((e,t)=>e.some(((e,n)=>!jt(e,t[n],!0)))))}(x,b.theme,{prefixCls:Oe("")});"production"!==process.env.NODE_ENV&&(sc=sc||!!je);const Ie={csp:Ne,autoInsertSpaceInButton:o,alert:r,anchor:a,locale:c||v,direction:u,space:d,splitter:p,virtual:f,popupMatchSelectWidth:null!=g?g:m,popupOverflow:h,getPrefixCls:Oe,iconPrefixCls:Me,theme:je,segmented:w,statistic:S,spin:E,calendar:k,carousel:$,cascader:O,collapse:M,typography:N,checkbox:j,descriptions:I,divider:P,drawer:T,skeleton:R,steps:B,image:z,input:q,textArea:K,layout:D,list:L,mentions:F,modal:H,progress:A,result:_,slider:W,breadcrumb:V,menu:X,pagination:G,empty:U,badge:Y,radio:Z,rate:Q,switch:J,transfer:ee,avatar:te,message:ne,tag:oe,table:re,card:ie,tabs:ae,timeline:le,timePicker:ce,upload:se,notification:ue,tree:de,colorPicker:pe,datePicker:fe,rangePicker:me,flex:ge,wave:he,dropdown:ve,warning:be,tour:ye,tooltip:xe,popover:Ce,popconfirm:we,floatButtonGroup:Se,variant:Ee,inputNumber:ke,treeSelect:$e};if("production"!==process.env.NODE_ENV){Gr("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.")}const Pe=Object.assign({},b);Object.keys(Ie).forEach((e=>{void 0!==Ie[e]&&(Pe[e]=Ie[e])})),dc.forEach((t=>{const n=e[t];n&&(Pe[t]=n)})),void 0!==o&&(Pe.button=Object.assign({autoInsertSpace:o},Pe.button));const Te=Ct((()=>Pe),Pe,((e,t)=>{const n=Object.keys(e),o=Object.keys(t);return n.length!==o.length||n.some((n=>e[n]!==t[n]))})),{layer:Re}=i.useContext(Ft),Be=i.useMemo((()=>({prefixCls:Me,csp:Ne,layer:Re?"antd":void 0})),[Me,Ne,Re]);let ze=i.createElement(i.Fragment,null,i.createElement(lc,{dropdownMatchSelectWidth:m}),t);const De=i.useMemo((()=>{var e,t,n,o;return Ar((null===(e=ei.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=Te.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(o=Te.form)||void 0===o?void 0:o.validateMessages)||{},(null==l?void 0:l.validateMessages)||{})}),[Te,null==l?void 0:l.validateMessages]);Object.keys(De).length>0&&(ze=i.createElement(qr.Provider,{value:De},ze)),c&&(ze=i.createElement(ci,{locale:c,_ANT_MARK__:li},ze)),ze=i.createElement(Rr.Provider,{value:Be},ze),s&&(ze=i.createElement(wa,{size:s},ze)),ze=i.createElement(ic,null,ze);const Le=i.useMemo((()=>{const e=je||{},{algorithm:t,token:n,components:o,cssVar:r}=e,i=cc(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?Zt(t):la,l={};Object.entries(o||{}).forEach((e=>{let[t,n]=e;const o=Object.assign({},n);"algorithm"in o&&(!0===o.algorithm?o.theme=a:(Array.isArray(o.algorithm)||"function"==typeof o.algorithm)&&(o.theme=Zt(o.algorithm)),delete o.algorithm),l[t]=o}));const c=Object.assign(Object.assign({},ui),n);return Object.assign(Object.assign({},i),{theme:a,token:c,components:l,override:Object.assign({override:c},l),cssVar:r})}),[je]);return x&&(ze=i.createElement(sa.Provider,{value:Le},ze)),Te.warning&&(ze=i.createElement(Xr.Provider,{value:Te.warning},ze)),void 0!==C&&(ze=i.createElement(xa,{disabled:C},ze)),i.createElement(fa.Provider,{value:Te},ze)},xc=e=>{const t=i.useContext(fa),n=i.useContext(ii);return i.createElement(yc,Object.assign({parentContext:t,legacyLocale:n},e))};xc.ConfigContext=fa,xc.SizeContext=Ca,xc.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:o,holderRender:r}=e;void 0!==t&&(pc=t),void 0!==n&&(fc=n),"holderRender"in e&&(gc=r),o&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(o)?mc=o:("production"!==process.env.NODE_ENV&&Vr(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),ba(hc(),o)))},xc.useConfig=function(){return{componentDisabled:t.useContext(ya),componentSize:t.useContext(Ca)}},Object.defineProperty(xc,"SizeContext",{get:()=>("production"!==process.env.NODE_ENV&&Vr(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Ca)}),"production"!==process.env.NODE_ENV&&(xc.displayName="ConfigProvider");var Cc=cl("Affix",(e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}}),(e=>({zIndexPopup:e.zIndexBase+10})));function wc(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Sc(e,t,n){if(void 0!==n&&Math.round(t.top)>Math.round(e.top)-n)return n+t.top}function Ec(e,t,n){if(void 0!==n&&Math.round(t.bottom)<Math.round(e.bottom)+n){return n+(window.innerHeight-t.bottom)}}var kc=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const $c=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function Oc(){return"undefined"!=typeof window?window:null}const Mc=t.forwardRef(((e,n)=>{var o;const{style:r,offsetTop:i,offsetBottom:a,prefixCls:l,className:c,rootClassName:s,children:u,target:d,onChange:p,onTestUpdatePosition:m}=e,g=kc(e,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:h,getTargetContainer:v}=t.useContext(fa),b=h("affix",l),[y,x]=t.useState(!1),[C,w]=t.useState(),[S,E]=t.useState(),k=t.useRef(0),$=t.useRef(null),O=t.useRef(null),M=t.useRef(null),N=t.useRef(null),j=t.useRef(null),I=null!==(o=null!=d?d:v)&&void 0!==o?o:Oc,P=void 0===a&&void 0===i?0:i,T=()=>{k.current=1,(()=>{if(1!==k.current||!N.current||!M.current||!I)return;const e=I();if(e){const t={status:0},n=wc(M.current);if(0===n.top&&0===n.left&&0===n.width&&0===n.height)return;const o=wc(e),r=Sc(n,o,P),i=Ec(n,o,a);void 0!==r?(t.affixStyle={position:"fixed",top:r,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}):void 0!==i&&(t.affixStyle={position:"fixed",bottom:i,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}),t.lastAffix=!!t.affixStyle,y!==t.lastAffix&&(null==p||p(t.lastAffix)),k.current=t.status,w(t.affixStyle),E(t.placeholderStyle),x(t.lastAffix)}})(),"test"===process.env.NODE_ENV&&(null==m||m())},R=Tr((()=>{T()})),B=Tr((()=>{if(I&&C){const e=I();if(e&&M.current){const t=wc(e),n=wc(M.current),o=Sc(n,t,P),r=Ec(n,t,a);if(void 0!==o&&C.top===o||void 0!==r&&C.bottom===r)return}}T()})),z=()=>{const e=null==I?void 0:I();e&&($c.forEach((t=>{var n;O.current&&(null===(n=$.current)||void 0===n||n.removeEventListener(t,O.current)),null==e||e.addEventListener(t,B)})),$.current=e,O.current=B)};t.useImperativeHandle(n,(()=>({updatePosition:R}))),t.useEffect((()=>(j.current=setTimeout(z),()=>(()=>{j.current&&(clearTimeout(j.current),j.current=null);const e=null==I?void 0:I();$c.forEach((t=>{var n;null==e||e.removeEventListener(t,B),O.current&&(null===(n=$.current)||void 0===n||n.removeEventListener(t,O.current))})),R.cancel(),B.cancel()})())),[]),t.useEffect((()=>{z()}),[d,C,y]),t.useEffect((()=>{R()}),[d,i,a]);const[D,L,F]=Cc(b),H=f(s,L,b,F),A=f({[H]:C});return D(t.createElement($r,{onResize:R},t.createElement("div",Object.assign({style:r,className:c,ref:M},g),C&&t.createElement("div",{style:S,"aria-hidden":"true"}),t.createElement("div",{className:A,ref:N,style:C},t.createElement($r,{onResize:R},u)))))}));function Nc(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function jc(e){return function(e){return Nc(e)instanceof ShadowRoot}(e)?Nc(e):null}function Ic(e,t){Mt(e,"[@ant-design/icons] ".concat(t))}function Pc(e){return"object"===ot(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===ot(e.icon)||"function"==typeof e.icon)}function Tc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var o,r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[(o=n,o.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=r;return t}),{})}function Rc(e,n,o){return o?t.createElement(e.tag,lt(lt({key:n},Tc(e.attrs)),o),(e.children||[]).map((function(t,o){return Rc(t,"".concat(n,"-").concat(e.tag,"-").concat(o))}))):t.createElement(e.tag,lt({key:n},Tc(e.attrs)),(e.children||[]).map((function(t,o){return Rc(t,"".concat(n,"-").concat(e.tag,"-").concat(o))})))}function Bc(e){return xi(e)[0]}function zc(e){return e?Array.isArray(e)?e:[e]:[]}"production"!==process.env.NODE_ENV&&(Mc.displayName="Affix");var Dc={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Lc=function(e){var n=t.useContext(Rr),o=n.csp,r=n.prefixCls,i=n.layer,a="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(a=a.replace(/anticon/g,r)),i&&(a="@layer ".concat(i," {\n").concat(a,"\n}")),t.useEffect((function(){var t=jc(e.current);xt(a,"@ant-design-icons",{prepend:!i,csp:o,attachTo:t})}),[])},Fc=["icon","className","onClick","style","primaryColor","secondaryColor"],Hc={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var Ac=function(e){var t=e.icon,n=e.className,o=e.onClick,r=e.style,a=e.primaryColor,l=e.secondaryColor,c=nt(e,Fc),s=i.useRef(),u=Hc;if(a&&(u={primaryColor:a,secondaryColor:l||Bc(a)}),Lc(s),Ic(Pc(t),"icon should be icon definiton, but got ".concat(t)),!Pc(t))return null;var d=t;return d&&"function"==typeof d.icon&&(d=lt(lt({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),Rc(d.icon,"svg-".concat(d.name),lt(lt({className:n,onClick:o,style:r,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:s}))};function _c(e){var t=tt(zc(e),2),n=t[0],o=t[1];return Ac.setTwoToneColors({primaryColor:n,secondaryColor:o})}Ac.displayName="IconReact",Ac.getTwoToneColors=function(){return lt({},Hc)},Ac.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;Hc.primaryColor=t,Hc.secondaryColor=n||Bc(t),Hc.calculated=!!n};var Wc=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];_c(ji.primary);var Vc=i.forwardRef((function(e,t){var n=e.className,o=e.icon,r=e.spin,a=e.rotate,l=e.tabIndex,c=e.onClick,s=e.twoToneColor,u=nt(e,Wc),d=i.useContext(Rr),p=d.prefixCls,m=void 0===p?"anticon":p,g=d.rootClassName,h=f(g,m,it(it({},"".concat(m,"-").concat(o.name),!!o.name),"".concat(m,"-spin"),!!r||"loading"===o.name),n),v=l;void 0===v&&c&&(v=-1);var b=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,y=tt(zc(s),2),x=y[0],C=y[1];return i.createElement("span",Mn({role:"img","aria-label":o.name},u,{ref:t,tabIndex:v,onClick:c,className:h}),i.createElement(Ac,{icon:o,primaryColor:x,secondaryColor:C,style:b}))}));Vc.displayName="AntdIcon",Vc.getTwoToneColor=function(){var e=Ac.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Vc.setTwoToneColor=_c;var Xc=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Q}))},Gc=i.forwardRef(Xc);
|
|
20
|
+
/** */"production"!==process.env.NODE_ENV&&(Gc.displayName="CheckCircleFilled");var qc=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ee}))},Kc=i.forwardRef(qc);
|
|
21
|
+
/** */"production"!==process.env.NODE_ENV&&(Kc.displayName="CloseCircleFilled");var Uc=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:te}))},Yc=i.forwardRef(Uc);
|
|
22
|
+
/** */"production"!==process.env.NODE_ENV&&(Yc.displayName="CloseOutlined");var Zc=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:fe}))},Qc=i.forwardRef(Zc);
|
|
23
|
+
/** */"production"!==process.env.NODE_ENV&&(Qc.displayName="ExclamationCircleFilled");var Jc=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ye}))},es=i.forwardRef(Jc);
|
|
24
|
+
/** */"production"!==process.env.NODE_ENV&&(es.displayName="InfoCircleFilled");var ts="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function ns(e,t){return 0===e.indexOf(t)}function os(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:lt({},n);var o={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||ns(n,"aria-"))||t.data&&ns(n,"data-")||t.attr&&ts.includes(n))&&(o[n]=e[n])})),o}function rs(e){return e&&t.isValidElement(e)&&e.type===t.Fragment}const is=(e,n,o)=>t.isValidElement(e)?t.cloneElement(e,"function"==typeof o?o(e.props||{}):o):n;function as(e,t){return is(e,e,t)}const ls=(e,t,n,o,r)=>({background:e,border:`${rn(o.lineWidth)} ${o.lineType} ${t}`,[`${r}-icon`]:{color:n}}),cs=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:o,marginSM:r,fontSize:i,fontSizeLG:a,lineHeight:l,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:u,colorText:d,colorTextHeading:p,withDescriptionPadding:f,defaultPadding:m}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:o,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:l},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${s}, opacity ${n} ${s},\n padding-top ${n} ${s}, padding-bottom ${n} ${s},\n margin-bottom ${n} ${s}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:f,[`${t}-icon`]:{marginInlineEnd:r,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:o,color:p,fontSize:a},[`${t}-description`]:{display:"block",color:d}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},ss=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:o,colorSuccessBg:r,colorWarning:i,colorWarningBorder:a,colorWarningBg:l,colorError:c,colorErrorBorder:s,colorErrorBg:u,colorInfo:d,colorInfoBorder:p,colorInfoBg:f}=e;return{[t]:{"&-success":ls(r,o,n,e,t),"&-info":ls(f,p,d,e,t),"&-warning":ls(l,a,i,e,t),"&-error":Object.assign(Object.assign({},ls(u,s,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},us=e=>{const{componentCls:t,iconCls:n,motionDurationMid:o,marginXS:r,fontSizeIcon:i,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:r},[`${t}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:i,lineHeight:rn(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${o}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${o}`,"&:hover":{color:l}}}}};var ds=cl("Alert",(e=>[cs(e),ss(e),us(e)]),(e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}))),ps=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const fs={success:Gc,info:es,error:Kc,warning:Qc},ms=e=>{const{icon:t,prefixCls:n,type:o}=e,r=fs[o]||null;return t?is(t,i.createElement("span",{className:`${n}-icon`},t),(()=>({className:f(`${n}-icon`,t.props.className)}))):i.createElement(r,{className:`${n}-icon`})},gs=e=>{const{isClosable:t,prefixCls:n,closeIcon:o,handleClose:r,ariaProps:a}=e,l=!0===o||void 0===o?i.createElement(Yc,null):o;return t?i.createElement("button",Object.assign({type:"button",onClick:r,className:`${n}-close-icon`,tabIndex:0},a),l):null},hs=i.forwardRef(((e,t)=>{const{description:n,prefixCls:o,message:r,banner:a,className:l,rootClassName:c,style:s,onMouseEnter:u,onMouseLeave:d,onClick:p,afterClose:m,showIcon:g,closable:h,closeText:v,closeIcon:b,action:y,id:x}=e,C=ps(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[w,S]=i.useState(!1);if("production"!==process.env.NODE_ENV){Gr("Alert").deprecated(!v,"closeText","closable.closeIcon")}const E=i.useRef(null);i.useImperativeHandle(t,(()=>({nativeElement:E.current})));const{getPrefixCls:k,direction:$,closable:O,closeIcon:M,className:N,style:j}=ha("alert"),I=k("alert",o),[P,T,R]=ds(I),B=t=>{var n;S(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},z=i.useMemo((()=>void 0!==e.type?e.type:a?"warning":"info"),[e.type,a]),D=i.useMemo((()=>!("object"!=typeof h||!h.closeIcon)||(!!v||("boolean"==typeof h?h:!1!==b&&null!=b||!!O))),[v,b,h,O]),L=!(!a||void 0!==g)||g,F=f(I,`${I}-${z}`,{[`${I}-with-description`]:!!n,[`${I}-no-icon`]:!L,[`${I}-banner`]:!!a,[`${I}-rtl`]:"rtl"===$},N,l,c,R,T),H=os(C,{aria:!0,data:!0}),A=i.useMemo((()=>"object"==typeof h&&h.closeIcon?h.closeIcon:v||(void 0!==b?b:"object"==typeof O&&O.closeIcon?O.closeIcon:M)),[b,h,v,M]),_=i.useMemo((()=>{const e=null!=h?h:O;if("object"==typeof e){const{closeIcon:t}=e;return ps(e,["closeIcon"])}return{}}),[h,O]);return P(i.createElement(Kl,{visible:!w,motionName:`${I}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:m},((t,o)=>{let{className:a,style:l}=t;return i.createElement("div",Object.assign({id:x,ref:Xo(E,o),"data-show":!w,className:f(F,a),style:Object.assign(Object.assign(Object.assign({},j),s),l),onMouseEnter:u,onMouseLeave:d,onClick:p,role:"alert"},H),L?i.createElement(ms,{description:n,icon:e.icon,prefixCls:I,type:z}):null,i.createElement("div",{className:`${I}-content`},r?i.createElement("div",{className:`${I}-message`},r):null,n?i.createElement("div",{className:`${I}-description`},n):null),y?i.createElement("div",{className:`${I}-action`},y):null,i.createElement(gs,{isClosable:D,prefixCls:I,closeIcon:A,handleClose:B,ariaProps:_}))})))}));"production"!==process.env.NODE_ENV&&(hs.displayName="Alert");let vs=function(){function e(){var t,n,o,r;return It(this,e),n=this,r=arguments,o=Wt(o=e),(t=Xt(n,Vt()?Reflect.construct(o,r||[],Wt(n).constructor):o.apply(n,r))).state={error:void 0,info:{componentStack:""}},t}return _t(e,i.Component),Tt(e,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){const{message:e,description:t,id:n,children:o}=this.props,{error:r,info:a}=this.state,l=(null==a?void 0:a.componentStack)||null,c=void 0===e?(r||"").toString():e,s=void 0===t?l:t;return r?i.createElement(hs,{id:n,type:"error",message:c,description:i.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},s)}):o}}])}();const bs=hs;bs.ErrorBoundary=vs;const ys=e=>{const[,,,,t]=tl();return t?`${e}-css-var`:""};var xs={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},Cs=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.style,r=e.className,a=e.duration,l=void 0===a?4.5:a,c=e.showProgress,s=e.pauseOnHover,u=void 0===s||s,d=e.eventKey,p=e.content,m=e.closable,g=e.closeIcon,h=void 0===g?"x":g,v=e.props,b=e.onClick,y=e.onNoticeClose,x=e.times,C=e.hovering,w=tt(i.useState(!1),2),S=w[0],E=w[1],k=tt(i.useState(0),2),$=k[0],O=k[1],M=tt(i.useState(0),2),N=M[0],j=M[1],I=C||S,P=l>0&&c,T=function(){y(d)};i.useEffect((function(){if(!I&&l>0){var e=Date.now()-N,t=setTimeout((function(){T()}),1e3*l-N);return function(){u&&clearTimeout(t),j(Date.now()-e)}}}),[l,I,x]),i.useEffect((function(){if(!I&&P&&(u||0===N)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame((function(e){var o=e+N-t,r=Math.min(o/(1e3*l),1);O(100*r),r<1&&n()}))}(),function(){u&&cancelAnimationFrame(e)}}}),[l,N,I,P,x]);var R=i.useMemo((function(){return"object"===ot(m)&&null!==m?m:m?{closeIcon:h}:{}}),[m,h]),B=os(R,!0),z=100-(!$||$<0?0:$>100?100:$),D="".concat(n,"-notice");return i.createElement("div",Mn({},v,{ref:t,className:f(D,r,it({},"".concat(D,"-closable"),m)),style:o,onMouseEnter:function(e){var t;E(!0),null==v||null===(t=v.onMouseEnter)||void 0===t||t.call(v,e)},onMouseLeave:function(e){var t;E(!1),null==v||null===(t=v.onMouseLeave)||void 0===t||t.call(v,e)},onClick:b}),i.createElement("div",{className:"".concat(D,"-content")},p),m&&i.createElement("a",Mn({tabIndex:0,className:"".concat(D,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==xs.ENTER||T()},"aria-label":"Close"},B,{onClick:function(e){e.preventDefault(),e.stopPropagation(),T()}}),R.closeIcon),P&&i.createElement("progress",{className:"".concat(D,"-progress"),max:"100",value:z},z+"%"))})),ws=t.createContext({}),Ss=function(e){var n=e.children,o=e.classNames;return t.createElement(ws.Provider,{value:{classNames:o}},n)},Es=["className","style","classNames","styles"],ks=function(e){var n,o,r,i,a,l=e.configList,c=e.placement,s=e.prefixCls,u=e.className,d=e.style,p=e.motion,m=e.onAllNoticeRemoved,g=e.onNoticeClose,h=e.stack,v=t.useContext(ws).classNames,b=t.useRef({}),y=tt(t.useState(null),2),x=y[0],C=y[1],w=tt(t.useState([]),2),S=w[0],E=w[1],k=l.map((function(e){return{config:e,key:String(e.key)}})),$=tt((a={offset:8,threshold:3,gap:16},(n=h)&&"object"===ot(n)&&(a.offset=null!==(o=n.offset)&&void 0!==o?o:8,a.threshold=null!==(r=n.threshold)&&void 0!==r?r:3,a.gap=null!==(i=n.gap)&&void 0!==i?i:16),[!!n,a]),2),O=$[0],M=$[1],N=M.offset,j=M.threshold,I=M.gap,P=O&&(S.length>0||k.length<=j),T="function"==typeof p?p(c):p;return t.useEffect((function(){O&&S.length>1&&E((function(e){return e.filter((function(e){return k.some((function(t){var n=t.key;return e===n}))}))}))}),[S,k,O]),t.useEffect((function(){var e,t;O&&b.current[null===(e=k[k.length-1])||void 0===e?void 0:e.key]&&C(b.current[null===(t=k[k.length-1])||void 0===t?void 0:t.key])}),[k,O]),t.createElement(rc,Mn({key:c,className:f(s,"".concat(s,"-").concat(c),null==v?void 0:v.list,u,it(it({},"".concat(s,"-stack"),!!O),"".concat(s,"-stack-expanded"),P)),style:d,keys:k,motionAppear:!0},T,{onAllRemoved:function(){m(c)}}),(function(e,n){var o=e.config,r=e.className,i=e.style,a=e.index,l=o,u=l.key,d=l.times,p=String(u),m=o,h=m.className,y=m.style,C=m.classNames,w=m.styles,$=nt(m,Es),M=k.findIndex((function(e){return e.key===p})),j={};if(O){var T=k.length-1-(M>-1?M:a-1),R="top"===c||"bottom"===c?"-50%":"0";if(T>0){var B,z,D;j.height=P?null===(B=b.current[p])||void 0===B?void 0:B.offsetHeight:null==x?void 0:x.offsetHeight;for(var L=0,F=0;F<T;F++){var H;L+=(null===(H=b.current[k[k.length-1-F].key])||void 0===H?void 0:H.offsetHeight)+I}var A=(P?L:T*N)*(c.startsWith("top")?1:-1),_=!P&&null!=x&&x.offsetWidth&&null!==(z=b.current[p])&&void 0!==z&&z.offsetWidth?((null==x?void 0:x.offsetWidth)-2*N*(T<3?T:3))/(null===(D=b.current[p])||void 0===D?void 0:D.offsetWidth):1;j.transform="translate3d(".concat(R,", ").concat(A,"px, 0) scaleX(").concat(_,")")}else j.transform="translate3d(".concat(R,", 0, 0)")}return t.createElement("div",{ref:n,className:f("".concat(s,"-notice-wrapper"),r,null==C?void 0:C.wrapper),style:lt(lt(lt({},i),j),null==w?void 0:w.wrapper),onMouseEnter:function(){return E((function(e){return e.includes(p)?e:[].concat(Qe(e),[p])}))},onMouseLeave:function(){return E((function(e){return e.filter((function(e){return e!==p}))}))}},t.createElement(Cs,Mn({},$,{ref:function(e){M>-1?b.current[p]=e:delete b.current[p]},prefixCls:s,classNames:C,styles:w,className:f(h,null==v?void 0:v.notice),style:y,times:d,key:u,eventKey:u,onNoticeClose:g,hovering:O&&S.length>0})))}))};"production"!==process.env.NODE_ENV&&(ks.displayName="NoticeList");var $s=i.forwardRef((function(e,t){var o=e.prefixCls,r=void 0===o?"rc-notification":o,a=e.container,l=e.motion,c=e.maxCount,s=e.className,u=e.style,d=e.onAllRemoved,p=e.stack,f=e.renderNotifications,m=tt(i.useState([]),2),g=m[0],h=m[1],v=function(e){var t,n=g.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),h((function(t){return t.filter((function(t){return t.key!==e}))}))};i.useImperativeHandle(t,(function(){return{open:function(e){h((function(t){var n,o=Qe(t),r=o.findIndex((function(t){return t.key===e.key})),i=lt({},e);r>=0?(i.times=((null===(n=t[r])||void 0===n?void 0:n.times)||0)+1,o[r]=i):(i.times=0,o.push(i));return c>0&&o.length>c&&(o=o.slice(-c)),o}))},close:function(e){v(e)},destroy:function(){h([])}}}));var b=tt(i.useState({}),2),y=b[0],x=b[1];i.useEffect((function(){var e={};g.forEach((function(t){var n=t.placement,o=void 0===n?"topRight":n;o&&(e[o]=e[o]||[],e[o].push(t))})),Object.keys(y).forEach((function(t){e[t]=e[t]||[]})),x(e)}),[g]);var C=function(e){x((function(t){var n=lt({},t);return(n[e]||[]).length||delete n[e],n}))},w=i.useRef(!1);if(i.useEffect((function(){Object.keys(y).length>0?w.current=!0:w.current&&(null==d||d(),w.current=!1)}),[y]),!a)return null;var S=Object.keys(y);return n.createPortal(i.createElement(i.Fragment,null,S.map((function(e){var t=y[e],n=i.createElement(ks,{key:e,configList:t,placement:e,prefixCls:r,className:null==s?void 0:s(e),style:null==u?void 0:u(e),motion:l,onNoticeClose:v,onAllNoticeRemoved:C,stack:p});return f?f(n,{prefixCls:r,key:e}):n}))),a)}));"production"!==process.env.NODE_ENV&&($s.displayName="Notifications");var Os=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Ms=function(){return document.body},Ns=0;function js(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?Ms:t,o=e.motion,r=e.prefixCls,a=e.maxCount,l=e.className,c=e.style,s=e.onAllRemoved,u=e.stack,d=e.renderNotifications,p=nt(e,Os),f=tt(i.useState(),2),m=f[0],g=f[1],h=i.useRef(),v=i.createElement($s,{container:m,ref:h,prefixCls:r,motion:o,maxCount:a,className:l,style:c,onAllRemoved:s,stack:u,renderNotifications:d}),b=tt(i.useState([]),2),y=b[0],x=b[1],C=ja((function(e){var t=function(){for(var e={},t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var o=t[n];void 0!==o&&(e[n]=o)}))})),e}(p,e);null!==t.key&&void 0!==t.key||(t.key="rc-notification-".concat(Ns),Ns+=1),x((function(e){return[].concat(Qe(e),[{type:"open",config:t}])}))})),w=i.useMemo((function(){return{open:C,close:function(e){x((function(t){return[].concat(Qe(t),[{type:"close",key:e}])}))},destroy:function(){x((function(e){return[].concat(Qe(e),[{type:"destroy"}])}))}}}),[]);return i.useEffect((function(){g(n())})),i.useEffect((function(){var e,t;h.current&&y.length&&(y.forEach((function(e){switch(e.type){case"open":h.current.open(e.config);break;case"close":h.current.close(e.key);break;case"destroy":h.current.destroy()}})),x((function(n){return e===n&&t||(e=n,t=n.filter((function(e){return!y.includes(e)}))),t})))}),[y]),[w,v]}var Is=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Ce}))},Ps=i.forwardRef(Is);
|
|
25
|
+
/** */"production"!==process.env.NODE_ENV&&(Ps.displayName="LoadingOutlined");const Ts=t.createContext(void 0);"production"!==process.env.NODE_ENV&&(Ts.displayName="zIndexContext");const Rs=100,Bs=1e3,zs={Modal:Rs,Drawer:Rs,Popover:Rs,Popconfirm:Rs,Tooltip:Rs,Tour:Rs,FloatButton:Rs},Ds={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};const Ls=(e,n)=>{const[,o]=tl(),r=t.useContext(Ts),i=function(e){return e in zs}(e);let a;if(void 0!==n)a=[n,n];else{let t=null!=r?r:0;t+=i?(r?0:o.zIndexPopupBase)+zs[e]:Ds[e],a=[void 0===r?n:t,t]}if("production"!==process.env.NODE_ENV){const t=Gr(e),r=o.zIndexPopupBase+1100,i=a[0]||0;"production"!==process.env.NODE_ENV&&t(void 0!==n||i<=r,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.")}return a},Fs=e=>{const{componentCls:t,iconCls:n,boxShadow:o,colorText:r,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:c,fontSizeLG:s,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:p,paddingXS:f,borderRadiusLG:m,zIndexPopup:g,contentPadding:h,contentBg:v}=e,b=`${t}-notice`,y=new Ro("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),x=new Ro("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:f,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:p,fontSize:s},[`${b}-content`]:{display:"inline-block",padding:h,background:v,borderRadius:m,boxShadow:o,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:c}};return[{[t]:Object.assign(Object.assign({},ol(e)),{color:r,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]};var Hs=cl("Message",(e=>{const t=Da(e,{height:150});return[Fs(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+Bs+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}))),As=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const _s={info:i.createElement(es,null),success:i.createElement(Gc,null),error:i.createElement(Kc,null),warning:i.createElement(Qc,null),loading:i.createElement(Ps,null)},Ws=e=>{let{prefixCls:t,type:n,icon:o,children:r}=e;return i.createElement("div",{className:f(`${t}-custom-content`,`${t}-${n}`)},o||_s[n],i.createElement("span",null,r))};function Vs(e){let t;const n=new Promise((n=>{t=e((()=>{n(!0)}))})),o=()=>{null==t||t()};return o.then=(e,t)=>n.then(e,t),o.promise=n,o}var Xs=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Gs=3,qs=e=>{let{children:t,prefixCls:n}=e;const o=ys(n),[r,a,l]=Hs(n,o);return r(i.createElement(Ss,{classNames:{list:f(a,l,o)}},t))},Ks=(e,t)=>{let{prefixCls:n,key:o}=t;return i.createElement(qs,{prefixCls:n,key:o},e)},Us=i.forwardRef(((e,t)=>{const{top:n,prefixCls:o,getContainer:r,maxCount:a,duration:l=Gs,rtl:c,transitionName:s,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:p,message:m,direction:g}=i.useContext(fa),h=o||d("message"),v=i.createElement("span",{className:`${h}-close-x`},i.createElement(Yc,{className:`${h}-close-icon`})),[b,y]=js({prefixCls:h,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>f({[`${h}-rtl`]:null!=c?c:"rtl"===g}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(h,s),closable:!1,closeIcon:v,duration:l,getContainer:()=>(null==r?void 0:r())||(null==p?void 0:p())||document.body,maxCount:a,onAllRemoved:u,renderNotifications:Ks});return i.useImperativeHandle(t,(()=>Object.assign(Object.assign({},b),{prefixCls:h,message:m}))),y}));let Ys=0;function Zs(e){const t=i.useRef(null),n=Gr("Message"),o=i.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},o=o=>{if(!t.current){"production"!==process.env.NODE_ENV&&n(!1,"usage","You are calling notice in render which will break in React 18 concurrent mode. Please trigger in effect instead.");const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:a,message:l}=t.current,c=`${a}-notice`,{content:s,icon:u,type:d,key:p,className:m,style:g,onClose:h}=o,v=Xs(o,["content","icon","type","key","className","style","onClose"]);let b=p;return null==b&&(Ys+=1,b=`antd-message-${Ys}`),Vs((t=>(r(Object.assign(Object.assign({},v),{key:b,content:i.createElement(Ws,{prefixCls:a,type:d,icon:u},s),placement:"top",className:f(d&&`${c}-${d}`,m,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),g),onClose:()=>{null==h||h(),t()}})),()=>{e(b)})))},r={open:o,destroy:n=>{var o;void 0!==n?e(n):null===(o=t.current)||void 0===o||o.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,n,r)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof n?l=n:(a=n,l=r);const c=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return o(c)}})),r}),[]);return[o,i.createElement(Us,Object.assign({key:"message-holder"},e,{ref:t}))]}function Qs(){Qs=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),l=new j(o||[]);return r(a,"_invoke",{value:$(e,n,l)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",f="suspendedYield",m="executing",g="completed",h={};function v(){}function b(){}function y(){}var x={};s(x,a,(function(){return this}));var C=Object.getPrototypeOf,w=C&&C(C(I([])));w&&w!==n&&o.call(w,a)&&(x=w);var S=y.prototype=v.prototype=Object.create(x);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(r,i,a,l){var c=d(e[r],e,i);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==ot(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;r(this,"_invoke",{value:function(e,o){function r(){return new t((function(t,r){n(e,o,t,r)}))}return i=i?i.then(r,r):r()}})}function $(t,n,o){var r=p;return function(i,a){if(r===m)throw Error("Generator is already running");if(r===g){if("throw"===i)throw a;return{value:e,done:!0}}for(o.method=i,o.arg=a;;){var l=o.delegate;if(l){var c=O(l,o);if(c){if(c===h)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===p)throw r=g,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=m;var s=d(t,n,o);if("normal"===s.type){if(r=o.done?g:f,s.arg===h)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(r=g,o.method="throw",o.arg=s.arg)}}}function O(t,n){var o=n.method,r=t.iterator[o];if(r===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(ot(t)+" is not iterable")}return b.prototype=y,r(S,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:b,configurable:!0}),b.displayName=s(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},E(k.prototype),s(k.prototype,l,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,o,r,i){void 0===i&&(i=Promise);var a=new k(u(e,n,o,r),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(S),s(S,c,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=I,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(o,r){return l.type="throw",l.arg=t,n.next=o,r&&(n.method="next",n.arg=e),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;N(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:I(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),h}},t}function Js(e,t,n,o,r,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,r)}function eu(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){Js(i,o,r,a,l,"next",e)}function l(e){Js(i,o,r,a,l,"throw",e)}a(void 0)}))}}var tu,nu=lt({},a),ou=nu.version,ru=nu.render,iu=nu.unmountComponentAtNode;try{Number((ou||"").split(".")[0])>=18&&(tu=nu.createRoot)}catch(e){}function au(e){var t=nu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===ot(t)&&(t.usingClientEntryPoint=e)}var lu="__rc_react_root__";function cu(e,t){tu?function(e,t){au(!0);var n=t[lu]||tu(t);au(!1),n.render(e),t[lu]=n}(e,t):function(e,t){null==ru||ru(e,t)}(e,t)}function su(e){return uu.apply(this,arguments)}function uu(){return(uu=eu(Qs().mark((function e(t){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[lu])||void 0===e||e.unmount(),delete t[lu]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function du(e){iu(e)}function pu(){return(pu=eu(Qs().mark((function e(t){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===tu){e.next=2;break}return e.abrupt("return",su(t));case 2:du(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}let fu=(e,t)=>{if("production"!==process.env.NODE_ENV){const e=parseInt(i.version.split(".")[0],10),t=Object.keys(a);"production"!==process.env.NODE_ENV&&Vr(e<19||t.includes("createRoot"),"compatible","antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.")}return cu(e,t),()=>function(e){return pu.apply(this,arguments)}(t)};function mu(){return fu}const gu=()=>({height:0,opacity:0}),hu=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},vu=e=>({height:e?e.offsetHeight:0}),bu=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,yu=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:ua}-motion-collapse`,onAppearStart:gu,onEnterStart:gu,onAppearActive:hu,onEnterActive:hu,onLeaveStart:vu,onLeaveActive:gu,onAppearEnd:bu,onEnterEnd:bu,onLeaveEnd:bu,motionDeadline:500}},xu=(e,t,n)=>void 0!==n?n:`${e}-${t}`;function Cu(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}var wu=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,o=t.height;if(n||o)return!0}if(e.getBoundingClientRect){var r=e.getBoundingClientRect(),i=r.width,a=r.height;if(i||a)return!0}}return!1};const Su=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}};var Eu=sl("Wave",(e=>[Su(e)]));const ku=`${ua}-wave-target`;function $u(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function Ou(e){return Number.isNaN(e)?0:e}const Mu=e=>{const{className:t,target:n,component:o,registerUnmount:r}=e,a=i.useRef(null),l=i.useRef(null);i.useEffect((()=>{l.current=r()}),[]);const[c,s]=i.useState(null),[u,d]=i.useState([]),[p,m]=i.useState(0),[g,h]=i.useState(0),[v,b]=i.useState(0),[y,x]=i.useState(0),[C,w]=i.useState(!1),S={left:p,top:g,width:v,height:y,borderRadius:u.map((e=>`${e}px`)).join(" ")};function E(){const e=getComputedStyle(n);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return $u(t)?t:$u(n)?n:$u(o)?o:null}(n));const t="static"===e.position,{borderLeftWidth:o,borderTopWidth:r}=e;m(t?n.offsetLeft:Ou(-parseFloat(o))),h(t?n.offsetTop:Ou(-parseFloat(r))),b(n.offsetWidth),x(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:c}=e;d([i,a,c,l].map((e=>Ou(parseFloat(e)))))}if(c&&(S["--wave-color"]=c),i.useEffect((()=>{if(n){const e=Pr((()=>{E(),w(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(E),t.observe(n)),()=>{Pr.cancel(e),null==t||t.disconnect()}}}),[]),!C)return null;const k=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(ku));return i.createElement(Kl,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,o;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=a.current)||void 0===n?void 0:n.parentElement;null===(o=l.current)||void 0===o||o.call(l).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:o}=e;return i.createElement("div",{ref:Xo(a,n),className:f(t,o,{"wave-quick":k}),style:S})}))},Nu=(e,t)=>{var n;const{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",null==e||e.insertBefore(r,null==e?void 0:e.firstChild);const a=mu();let l=null;l=a(i.createElement(Mu,Object.assign({},t,{target:e,registerUnmount:function(){return l}})),r)},ju=(e,t,n)=>{const{wave:o}=i.useContext(fa),[,r,a]=tl(),l=ja((i=>{const l=e.current;if((null==o?void 0:o.disabled)||!l)return;const c=l.querySelector(`.${ku}`)||l,{showEffect:s}=o||{};(s||Nu)(c,{className:t,token:r,component:n,event:i,hashId:a})})),c=i.useRef(null);return e=>{Pr.cancel(c.current),c.current=Pr((()=>{l(e)}))}},Iu=e=>{const{children:n,disabled:o,component:r}=e,{getPrefixCls:i}=t.useContext(fa),a=t.useRef(null),l=i("wave"),[,c]=Eu(l),s=ju(a,f(l,c),r);if(t.useEffect((()=>{const e=a.current;if(!e||1!==e.nodeType||o)return;const t=t=>{!wu(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[o]),!t.isValidElement(n))return null!=n?n:null;return as(n,{ref:qo(n)?Xo(Uo(n),a):a})};"production"!==process.env.NODE_ENV&&(Iu.displayName="Wave");const Pu=e=>{const n=t.useContext(Ca);return t.useMemo((()=>e?"string"==typeof e?null!=e?e:n:"function"==typeof e?e(n):n:n),[e,n])},Tu=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Ru=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Bu=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var zu=cl("Space",(e=>{const t=Da(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Ru(t),Bu(t),Tu(t)]}),(()=>({})),{resetStyle:!1}),Du=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Lu=i.createContext(null),Fu=(e,t)=>{const n=i.useContext(Lu),o=i.useMemo((()=>{if(!n)return"";const{compactDirection:o,isFirstItem:r,isLastItem:i}=n,a="vertical"===o?"-vertical-":"-";return f(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:r,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},Hu=e=>{const{children:t}=e;return i.createElement(Lu.Provider,{value:null},t)},Au=e=>{const{children:t}=e,n=Du(e,["children"]);return i.createElement(Lu.Provider,{value:i.useMemo((()=>n),[n])},t)};var _u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Wu=i.createContext(void 0),Vu=/^[\u4E00-\u9FA5]{2}$/,Xu=Vu.test.bind(Vu);function Gu(e){return"danger"===e?{danger:!0}:{type:e}}function qu(e){return"string"==typeof e}function Ku(e){return"text"===e||"link"===e}function Uu(e,n){let o=!1;const r=[];return t.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(o&&n){const t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);o=n})),t.Children.map(r,(e=>function(e,n){if(null==e)return;const o=n?" ":"";return"string"!=typeof e&&"number"!=typeof e&&qu(e.type)&&Xu(e.props.children)?as(e,{children:e.props.children.split("").join(o)}):qu(e)?Xu(e)?t.createElement("span",null,e.split("").join(o)):t.createElement("span",null,e):rs(e)?t.createElement("span",null,e):e}(e,n)))}["default","primary","danger"].concat(Qe(Va));const Yu=t.forwardRef(((e,n)=>{const{className:o,style:r,children:i,prefixCls:a}=e,l=f(`${a}-icon`,o);return t.createElement("span",{ref:n,className:l,style:r},i)})),Zu=t.forwardRef(((e,n)=>{const{prefixCls:o,className:r,style:i,iconClassName:a}=e,l=f(`${o}-loading-icon`,r);return t.createElement(Yu,{prefixCls:o,className:l,style:i,ref:n},t.createElement(Ps,{className:a}))})),Qu=()=>({width:0,opacity:0,transform:"scale(0)"}),Ju=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),ed=e=>{const{prefixCls:n,loading:o,existIcon:r,className:i,style:a,mount:l}=e,c=!!o;return r?t.createElement(Zu,{prefixCls:n,className:i,style:a}):t.createElement(Kl,{visible:c,motionName:`${n}-loading-icon-motion`,motionAppear:!l,motionEnter:!l,motionLeave:!l,removeOnLeave:!0,onAppearStart:Qu,onAppearActive:Ju,onEnterStart:Qu,onEnterActive:Ju,onLeaveStart:Ju,onLeaveActive:Qu},((e,o)=>{let{className:r,style:l}=e;const c=Object.assign(Object.assign({},a),l);return t.createElement(Zu,{prefixCls:n,className:f(i,r),style:c,ref:o})}))},td=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),nd=e=>{const{componentCls:t,fontSize:n,lineWidth:o,groupBorderColor:r,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(o).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},td(`${t}-primary`,r),td(`${t}-danger`,i)]}};var od=["b"],rd=["v"],id=function(e){return Math.round(Number(e||0))},ad=function(){_t(t,gi);var e=Gt(t);function t(n){return It(this,t),e.call(this,function(e){if(e instanceof gi)return e;if(e&&"object"===ot(e)&&"h"in e&&"b"in e){var t=e,n=t.b;return lt(lt({},nt(t,od)),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(n))}return Tt(t,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=id(100*e.s),n=id(100*e.b),o=id(e.h),r=e.a,i="hsb(".concat(o,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(o,", ").concat(t,"%, ").concat(n,"%, ").concat(r.toFixed(0===r?0:2),")");return 1===r?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v;return lt(lt({},nt(e,rd)),{},{b:t,a:this.a})}}]),t}(),ld=function(e){return e instanceof ad?e:new ad(e)},cd=ld("#1677ff"),sd=function(e){var t=e.offset,n=e.targetRef,o=e.containerRef,r=e.color,i=e.type,a=o.current.getBoundingClientRect(),l=a.width,c=a.height,s=n.current.getBoundingClientRect(),u=s.width/2,d=s.height/2,p=(t.x+u)/l,f=1-(t.y+d)/c,m=r.toHsb(),g=p,h=(t.x+u)/l*360;if(i)switch(i){case"hue":return ld(lt(lt({},m),{},{h:h<=0?0:h}));case"alpha":return ld(lt(lt({},m),{},{a:g<=0?0:g}))}return ld({h:m.h,s:p<=0?0:p,b:f>=1?1:f,a:m.a})},ud=function(e,t){var n=e.toHsb();switch(t){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*n.s,y:100*(1-n.b)}}},dd=function(e){var n=e.color,o=e.prefixCls,r=e.className,i=e.style,a=e.onClick,l="".concat(o,"-color-block");return t.createElement("div",{className:f(l,r),style:i,onClick:a},t.createElement("div",{className:"".concat(l,"-inner"),style:{background:n}}))};function pd(e){var n=e.targetRef,o=e.containerRef,r=e.direction,i=e.onDragChange,a=e.onDragChangeComplete,l=e.calculate,c=e.color,s=e.disabledDrag,u=tt(t.useState({x:0,y:0}),2),d=u[0],p=u[1],f=t.useRef(null),m=t.useRef(null);t.useEffect((function(){p(l())}),[c]),t.useEffect((function(){return function(){document.removeEventListener("mousemove",f.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",f.current),document.removeEventListener("touchend",m.current),f.current=null,m.current=null}}),[]);var g=function(e){var t=function(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,o=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-o}}(e),a=t.pageX,l=t.pageY,c=o.current.getBoundingClientRect(),s=c.x,u=c.y,p=c.width,f=c.height,m=n.current.getBoundingClientRect(),g=m.width,h=m.height,v=g/2,b=h/2,y=Math.max(0,Math.min(a-s,p))-v,x=Math.max(0,Math.min(l-u,f))-b,C={x:y,y:"x"===r?d.y:x};if(0===g&&0===h||g!==h)return!1;null==i||i(C)},h=function(e){e.preventDefault(),g(e)},v=function(e){e.preventDefault(),document.removeEventListener("mousemove",f.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",f.current),document.removeEventListener("touchend",m.current),f.current=null,m.current=null,null==a||a()};return[d,function(e){document.removeEventListener("mousemove",f.current),document.removeEventListener("mouseup",m.current),s||(g(e),document.addEventListener("mousemove",h),document.addEventListener("mouseup",v),document.addEventListener("touchmove",h),document.addEventListener("touchend",v),f.current=h,m.current=v)}]}var fd=function(e){var n=e.size,o=void 0===n?"default":n,r=e.color,i=e.prefixCls;return t.createElement("div",{className:f("".concat(i,"-handler"),it({},"".concat(i,"-handler-sm"),"small"===o)),style:{backgroundColor:r}})},md=function(e){var n=e.children,o=e.style,r=e.prefixCls;return t.createElement("div",{className:"".concat(r,"-palette"),style:lt({position:"relative"},o)},n)},gd=t.forwardRef((function(e,n){var o=e.children,r=e.x,i=e.y;return t.createElement("div",{ref:n,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},o)})),hd=function(e){var n=e.color,o=e.onChange,r=e.prefixCls,i=e.onChangeComplete,a=e.disabled,l=t.useRef(),c=t.useRef(),s=t.useRef(n),u=ja((function(e){var t=sd({offset:e,targetRef:c,containerRef:l,color:n});s.current=t,o(t)})),d=tt(pd({color:n,containerRef:l,targetRef:c,calculate:function(){return ud(n)},onDragChange:u,onDragChangeComplete:function(){return null==i?void 0:i(s.current)},disabledDrag:a}),2),p=d[0],f=d[1];return t.createElement("div",{ref:l,className:"".concat(r,"-select"),onMouseDown:f,onTouchStart:f},t.createElement(md,{prefixCls:r},t.createElement(gd,{x:p.x,y:p.y,ref:c},t.createElement(fd,{color:n.toRgbString(),prefixCls:r})),t.createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},vd=function(e){var n=e.colors,o=e.children,r=e.direction,i=void 0===r?"to right":r,a=e.type,l=e.prefixCls,c=t.useMemo((function(){return n.map((function(e,t){var o=ld(e);return"alpha"===a&&t===n.length-1&&(o=new ad(o.setA(1))),o.toRgbString()})).join(",")}),[n,a]);return t.createElement("div",{className:"".concat(l,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(c,")")}},o)},bd=function(e){var n=e.prefixCls,o=e.colors,r=e.disabled,i=e.onChange,a=e.onChangeComplete,l=e.color,c=e.type,s=t.useRef(),u=t.useRef(),d=t.useRef(l),p=function(e){return"hue"===c?e.getHue():100*e.a},m=ja((function(e){var t=sd({offset:e,targetRef:u,containerRef:s,color:l,type:c});d.current=t,i(p(t))})),g=tt(pd({color:l,targetRef:u,containerRef:s,calculate:function(){return ud(l,c)},onDragChange:m,onDragChangeComplete:function(){a(p(d.current))},direction:"x",disabledDrag:r}),2),h=g[0],v=g[1],b=t.useMemo((function(){if("hue"===c){var e=l.toHsb();return e.s=1,e.b=1,e.a=1,new ad(e)}return l}),[l,c]),y=t.useMemo((function(){return o.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[o]);return t.createElement("div",{ref:s,className:f("".concat(n,"-slider"),"".concat(n,"-slider-").concat(c)),onMouseDown:v,onTouchStart:v},t.createElement(md,{prefixCls:n},t.createElement(gd,{x:h.x,y:h.y,ref:u},t.createElement(fd,{size:"small",color:b.toHexString(),prefixCls:n})),t.createElement(vd,{colors:y,type:c,prefixCls:n})))};function yd(e){return i.useMemo((function(){return[(e||{}).slider||bd]}),[e])}var xd=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],Cd=t.forwardRef((function(e,n){var o=e.value,r=e.defaultValue,i=e.prefixCls,a=void 0===i?"rc-color-picker":i,l=e.onChange,c=e.onChangeComplete,s=e.className,u=e.style,d=e.panelRender,p=e.disabledAlpha,m=void 0!==p&&p,g=e.disabled,h=void 0!==g&&g,v=tt(yd(e.components),1)[0],b=function(e,n){var o=tt(Ta(e,{value:n}),2),r=o[0],i=o[1];return[t.useMemo((function(){return ld(r)}),[r]),i]}(r||cd,o),y=tt(b,2),x=y[0],C=y[1],w=t.useMemo((function(){return x.setA(1).toRgbString()}),[x]),S=function(e,t){o||C(e),null==l||l(e,t)},E=function(e){return new ad(x.setHue(e))},k=function(e){return new ad(x.setA(e/100))},$=f("".concat(a,"-panel"),s,it({},"".concat(a,"-panel-disabled"),h)),O={prefixCls:a,disabled:h,color:x},M=t.createElement(t.Fragment,null,t.createElement(hd,Mn({onChange:S},O,{onChangeComplete:c})),t.createElement("div",{className:"".concat(a,"-slider-container")},t.createElement("div",{className:f("".concat(a,"-slider-group"),it({},"".concat(a,"-slider-group-disabled-alpha"),m))},t.createElement(v,Mn({},O,{type:"hue",colors:xd,min:0,max:359,value:x.getHue(),onChange:function(e){S(E(e),{type:"hue",value:e})},onChangeComplete:function(e){c&&c(E(e))}})),!m&&t.createElement(v,Mn({},O,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:100*x.a,onChange:function(e){S(k(e),{type:"alpha",value:e})},onChangeComplete:function(e){c&&c(k(e))}}))),t.createElement(dd,{color:x.toRgbString(),prefixCls:a})));return t.createElement("div",{className:$,style:u,ref:n},"function"==typeof d?d(M):M)}));"production"!==process.env.NODE_ENV&&(Cd.displayName="ColorPicker");let wd=function(){return Tt((function e(t){var n;if(It(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(n=t.colors)||void 0===n?void 0:n.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const o=Array.isArray(t);o&&t.length?(this.colors=t.map((t=>{let{color:n,percent:o}=t;return{color:new e(n),percent:o}})),this.metaColor=new ad(this.colors[0].color.metaColor)):this.metaColor=new ad(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return e=this.toHexString(),t=this.metaColor.a<1,e?((e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"")(e,t):"";var e,t}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,n)=>{const o=e.colors[n];return t.percent===o.percent&&t.color.equals(o.color)})):this.toHexString()===e.toHexString())}}])}();var Sd=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:je}))},Ed=i.forwardRef(Sd);
|
|
26
|
+
/** */"production"!==process.env.NODE_ENV&&(Ed.displayName="RightOutlined");const kd=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),$d=e=>({animationDuration:e,animationFillMode:"both"}),Od=e=>({animationDuration:e,animationFillMode:"both"}),Md=function(e,t,n,o){const r=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${r}${e}-enter,\n ${r}${e}-appear\n `]:Object.assign(Object.assign({},$d(o)),{animationPlayState:"paused"}),[`${r}${e}-leave`]:Object.assign(Object.assign({},Od(o)),{animationPlayState:"paused"}),[`\n ${r}${e}-enter${e}-enter-active,\n ${r}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${r}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Nd=new Ro("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),jd=new Ro("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Id=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,o=`${n}-fade`,r=t?"&":"";return[Md(o,Nd,jd,e.motionDurationMid,t),{[`\n ${r}${o}-enter,\n ${r}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${o}-leave`]:{animationTimingFunction:"linear"}}]},Pd=new Ro("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Td=new Ro("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Rd=new Ro("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Bd=new Ro("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),zd=new Ro("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Dd=new Ro("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Ld={"move-up":{inKeyframes:new Ro("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new Ro("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:Pd,outKeyframes:Td},"move-left":{inKeyframes:Rd,outKeyframes:Bd},"move-right":{inKeyframes:zd,outKeyframes:Dd}},Fd=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=Ld[t];return[Md(o,r,i,e.motionDurationMid),{[`\n ${o}-enter,\n ${o}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Hd=new Ro("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ad=new Ro("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),_d=new Ro("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Wd=new Ro("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Vd=new Ro("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Xd=new Ro("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Gd=new Ro("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),qd=new Ro("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Kd={"slide-up":{inKeyframes:Hd,outKeyframes:Ad},"slide-down":{inKeyframes:_d,outKeyframes:Wd},"slide-left":{inKeyframes:Vd,outKeyframes:Xd},"slide-right":{inKeyframes:Gd,outKeyframes:qd}},Ud=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=Kd[t];return[Md(o,r,i,e.motionDurationMid),{[`\n ${o}-enter,\n ${o}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Yd=new Ro("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Zd=new Ro("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Qd=new Ro("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Jd=new Ro("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),ep=new Ro("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),tp=new Ro("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),np={zoom:{inKeyframes:Yd,outKeyframes:Zd},"zoom-big":{inKeyframes:Qd,outKeyframes:Jd},"zoom-big-fast":{inKeyframes:Qd,outKeyframes:Jd},"zoom-left":{inKeyframes:new Ro("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Ro("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Ro("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Ro("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:ep,outKeyframes:tp},"zoom-down":{inKeyframes:new Ro("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Ro("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},op=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=np[t];return[Md(o,r,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${o}-enter,\n ${o}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},rp=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Da(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},ip=e=>{var t,n,o,r,i,a;const l=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,c=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,s=null!==(o=e.contentFontSizeLG)&&void 0!==o?o:e.fontSizeLG,u=null!==(r=e.contentLineHeight)&&void 0!==r?r:ea(l),d=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:ea(c),p=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:ea(s),f=((e,t)=>{const{r:n,g:o,b:r,a:i}=e.toRgb(),a=new ad(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*o+.114*r>192})(new wd(e.colorBgSolid),"#fff")?"#000":"#fff",m=Va.reduce(((t,n)=>Object.assign(Object.assign({},t),{[`${n}ShadowColor`]:`0 ${rn(e.controlOutlineWidth)} 0 ${qa(e[`${n}1`],e.colorBgContainer)}`})),{});return Object.assign(Object.assign({},m),{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:f,contentFontSize:l,contentFontSizeSM:c,contentFontSizeLG:s,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:p,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*p)/2-e.lineWidth,0)})},ap=e=>{const{componentCls:t,iconCls:n,fontWeight:o,opacityLoading:r,motionDurationSlow:i,motionEaseInOut:a,marginXS:l,calc:c}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:o,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${rn(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}},"> a":{color:"currentColor"},"&:not(:disabled)":il(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:r,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map((e=>`${e} ${i} ${a}`)).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(l).mul(-1).equal()}}}}}},lp=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),cp=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),sp=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),up=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),dp=(e,t,n,o,r,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:o||void 0,boxShadow:"none"},lp(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}})}),pp=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},up(e))}),fp=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),mp=(e,t,n,o)=>{const r=o&&["link","text"].includes(o)?fp:pp;return Object.assign(Object.assign({},r(e)),lp(e.componentCls,t,n))},gp=(e,t,n,o,r)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},mp(e,o,r))}),hp=(e,t,n,o,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},mp(e,o,r))}),vp=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),bp=(e,t,n,o)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},mp(e,n,o))}),yp=(e,t,n,o,r)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},mp(e,o,r,n))}),xp=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},gp(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),vp(e)),bp(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),dp(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),yp(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Cp=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},hp(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),vp(e)),bp(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),yp(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),yp(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),dp(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),wp=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},gp(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),hp(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),vp(e)),bp(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),yp(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),yp(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),dp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Sp=e=>Object.assign(Object.assign({},yp(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),dp(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),Ep=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:xp(e),[`${t}-color-primary`]:Cp(e),[`${t}-color-dangerous`]:wp(e),[`${t}-color-link`]:Sp(e)},(e=>{const{componentCls:t}=e;return Va.reduce(((n,o)=>{const r=e[`${o}6`],i=e[`${o}1`],a=e[`${o}5`],l=e[`${o}2`],c=e[`${o}3`],s=e[`${o}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${o}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:r,boxShadow:e[`${o}ShadowColor`]},gp(e,e.colorTextLightSolid,r,{background:a},{background:s})),hp(e,r,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:s,borderColor:s,background:e.colorBgContainer})),vp(e)),bp(e,i,{background:l},{background:c})),yp(e,r,"link",{color:a},{color:s})),yp(e,r,"text",{color:a,background:i},{color:s,background:c}))})}),{})})(e))},kp=e=>Object.assign(Object.assign(Object.assign(Object.assign({},hp(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),yp(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),gp(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),yp(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),$p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:o,fontSize:r,borderRadius:i,buttonPaddingHorizontal:a,iconCls:l,buttonPaddingVertical:c,buttonIconOnlyFontSize:s}=e;return[{[t]:{fontSize:r,height:o,padding:`${rn(c)} ${rn(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:o,[l]:{fontSize:s}}}},{[`${n}${n}-circle${t}`]:cp(e)},{[`${n}${n}-round${t}`]:sp(e)}]},Op=e=>{const t=Da(e,{fontSize:e.contentFontSize});return $p(t,e.componentCls)},Mp=e=>{const t=Da(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return $p(t,`${e.componentCls}-sm`)},Np=e=>{const t=Da(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return $p(t,`${e.componentCls}-lg`)},jp=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}};var Ip=cl("Button",(e=>{const t=rp(e);return[ap(t),Op(t),Mp(t),Np(t),jp(t),Ep(t),kp(t),nd(t)]}),ip,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function Pp(e,t,n){const{focusElCls:o,focus:r,borderElCls:i}=n,a=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Tp(e,t,n){const{borderElCls:o}=n,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Rp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:Object.assign(Object.assign({},Pp(e,o,t)),Tp(n,o,t))}}function Bp(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function zp(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Bp(e,t)),(n=e.componentCls,o=t,{[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,o}const Dp=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:o,calc:r}=e,i=r(o).mul(-1).equal(),a=e=>{const r=`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${r} + ${r}::before`]:{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":o,height:e?o:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))};var Lp=ul(["Button","compact"],(e=>{const t=rp(e);return[Rp(t),zp(t),Dp(t)]}),ip),Fp=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Hp={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},Ap=t.forwardRef(((e,n)=>{var o,r;const{loading:i=!1,prefixCls:a,color:l,variant:c,type:s,danger:u=!1,shape:d="default",size:p,styles:m,disabled:g,className:h,rootClassName:v,children:b,icon:y,iconPosition:x="start",ghost:C=!1,block:w=!1,htmlType:S="button",classNames:E,style:k={},autoInsertSpace:$,autoFocus:O}=e,M=Fp(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),N=s||"default",[j,I]=t.useMemo((()=>{if(l&&c)return[l,c];const e=Hp[N]||[];return u?["danger",e[1]]:e}),[s,l,c,u]),P="danger"===j?"dangerous":j,{getPrefixCls:T,direction:R,autoInsertSpace:B,className:z,style:D,classNames:L,styles:F}=ha("button"),H=null===(o=null!=$?$:B)||void 0===o||o,A=T("btn",a),[_,W,V]=Ip(A),X=t.useContext(ya),G=null!=g?g:X,q=t.useContext(Wu),K=t.useMemo((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(i)),[i]),[U,Y]=t.useState(K.loading),[Z,Q]=t.useState(!1),J=t.useRef(null),ee=Go(n,J),te=1===t.Children.count(b)&&!y&&!Ku(I),ne=t.useRef(!0);t.useEffect((()=>(ne.current=!1,()=>{ne.current=!0})),[]),t.useEffect((()=>{let e=null;return K.delay>0?e=setTimeout((()=>{e=null,Y(!0)}),K.delay):Y(K.loading),function(){e&&(clearTimeout(e),e=null)}}),[K]),t.useEffect((()=>{if(!J.current||!H)return;const e=J.current.textContent||"";te&&Xu(e)?Z||Q(!0):Z&&Q(!1)})),t.useEffect((()=>{O&&J.current&&J.current.focus()}),[]);const oe=t.useCallback((t=>{var n;U||G?t.preventDefault():null===(n=e.onClick)||void 0===n||n.call(e,t)}),[e.onClick,U,G]);if("production"!==process.env.NODE_ENV){const e=Gr("Button");"production"!==process.env.NODE_ENV&&e(!("string"==typeof y&&y.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${y}\` at https://ant.design/components/icon`),"production"!==process.env.NODE_ENV&&e(!(C&&Ku(I)),"usage","`link` or `text` button can't be a `ghost` button.")}const{compactSize:re,compactItemClassnames:ie}=Fu(A,R),ae={large:"lg",small:"sm",middle:void 0},le=Pu((e=>{var t,n;return null!==(n=null!==(t=null!=p?p:re)&&void 0!==t?t:q)&&void 0!==n?n:e})),ce=le&&null!==(r=ae[le])&&void 0!==r?r:"",se=U?"loading":y,ue=Cu(M,["navigate"]),de=f(A,W,V,{[`${A}-${d}`]:"default"!==d&&d,[`${A}-${N}`]:N,[`${A}-dangerous`]:u,[`${A}-color-${P}`]:P,[`${A}-variant-${I}`]:I,[`${A}-${ce}`]:ce,[`${A}-icon-only`]:!b&&0!==b&&!!se,[`${A}-background-ghost`]:C&&!Ku(I),[`${A}-loading`]:U,[`${A}-two-chinese-chars`]:Z&&H&&!U,[`${A}-block`]:w,[`${A}-rtl`]:"rtl"===R,[`${A}-icon-end`]:"end"===x},ie,h,v,z),pe=Object.assign(Object.assign({},D),k),fe=f(null==E?void 0:E.icon,L.icon),me=Object.assign(Object.assign({},(null==m?void 0:m.icon)||{}),F.icon||{}),ge=y&&!U?t.createElement(Yu,{prefixCls:A,className:fe,style:me},y):i&&"object"==typeof i&&i.icon?t.createElement(Yu,{prefixCls:A,className:fe,style:me},i.icon):t.createElement(ed,{existIcon:!!y,prefixCls:A,loading:U,mount:ne.current}),he=b||0===b?Uu(b,te&&H):null;if(void 0!==ue.href)return _(t.createElement("a",Object.assign({},ue,{className:f(de,{[`${A}-disabled`]:G}),href:G?void 0:ue.href,style:pe,onClick:oe,ref:ee,tabIndex:G?-1:0}),ge,he));let ve=t.createElement("button",Object.assign({},M,{type:S,className:de,style:pe,onClick:oe,disabled:G,ref:ee}),ge,he,ie&&t.createElement(Lp,{prefixCls:A}));return Ku(I)||(ve=t.createElement(Iu,{component:"Button",disabled:U},ve)),_(ve)})),_p=Ap;function Wp(e){return!!(null==e?void 0:e.then)}_p.Group=e=>{const{getPrefixCls:t,direction:n}=i.useContext(fa),{prefixCls:o,size:r,className:a}=e,l=_u(e,["prefixCls","size","className"]),c=t("btn-group",o),[,,s]=tl(),u=i.useMemo((()=>{switch(r){case"large":return"lg";case"small":return"sm";default:return""}}),[r]);if("production"!==process.env.NODE_ENV){const e=Gr("Button.Group");e.deprecated(!1,"Button.Group","Space.Compact"),"production"!==process.env.NODE_ENV&&e(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.")}const d=f(c,{[`${c}-${u}`]:u,[`${c}-rtl`]:"rtl"===n},a,s);return i.createElement(Wu.Provider,{value:r},i.createElement("div",Object.assign({},l,{className:d})))},_p.__ANT_BUTTON=!0,"production"!==process.env.NODE_ENV&&(_p.displayName="Button");const Vp=e=>{const{type:t,children:n,prefixCls:o,buttonProps:r,close:a,autoFocus:l,emitEvent:c,isSilent:s,quitOnNullishReturnValue:u,actionFn:d}=e,p=i.useRef(!1),f=i.useRef(null),[m,g]=Ia(!1),h=function(){null==a||a.apply(void 0,arguments)};i.useEffect((()=>{let e=null;return l&&(e=setTimeout((()=>{var e;null===(e=f.current)||void 0===e||e.focus({preventScroll:!0})}))),()=>{e&&clearTimeout(e)}}),[]);return i.createElement(_p,Object.assign({},Gu(t),{onClick:e=>{if(p.current)return;if(p.current=!0,!d)return void h();let t;if(c){if(t=d(e),u&&!Wp(t))return p.current=!1,void h(e)}else if(d.length)t=d(a),p.current=!1;else if(t=d(),!Wp(t))return void h();(e=>{Wp(e)&&(g(!0),e.then((function(){g(!1,!0),h.apply(void 0,arguments),p.current=!1}),(e=>{if(g(!1,!0),p.current=!1,!(null==s?void 0:s()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:o},r,{ref:f}),n)},Xp=t.createContext({}),{Provider:Gp}=Xp,qp=()=>{const{autoFocusButton:e,cancelButtonProps:n,cancelTextLocale:o,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:l,onCancel:c,onConfirm:s}=t.useContext(Xp);return i?t.createElement(Vp,{isSilent:r,actionFn:c,close:function(){null==l||l.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:n,prefixCls:`${a}-btn`},o):null},Kp=()=>{const{autoFocusButton:e,close:n,isSilent:o,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:l,onConfirm:c,onOk:s}=t.useContext(Xp);return t.createElement(Vp,{isSilent:o,type:l||"primary",actionFn:s,close:function(){null==n||n.apply(void 0,arguments),null==c||c(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)};var Up=i.createContext(null),Yp=[];function Zp(e){return"undefined"!=typeof document&&e&&e instanceof Element?function(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var o,r,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),s=parseInt(l.height,10);try{var u=c?"width: ".concat(l.width,";"):"",d=s?"height: ".concat(l.height,";"):"";xt("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(d,"\n}"),t)}catch(e){console.error(e),o=c,r=s}}document.body.appendChild(n);var p=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,f=e&&r&&!isNaN(r)?r:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),yt(t),{width:p,height:f}}(e):{width:0,height:0}}var Qp="rc-util-locker-".concat(Date.now()),Jp=0;function ef(e){var t=!!e,n=tt(i.useState((function(){return Jp+=1,"".concat(Qp,"_").concat(Jp)})),1)[0];dn((function(){if(t){var e=Zp(document.body).width,o=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;xt("\nhtml body {\n overflow-y: hidden;\n ".concat(o?"width: calc(100% - ".concat(e,"px);"):"","\n}"),n)}else yt(n);return function(){yt(n)}}),[t,n])}var tf=function(e){return!1!==e&&(st()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},nf=i.forwardRef((function(e,t){var o=e.open,r=e.autoLock,a=e.getContainer,l=e.debug,c=e.autoDestroy,s=void 0===c||c,u=e.children,d=tt(i.useState(o),2),p=d[0],f=d[1],m=p||o;"production"!==process.env.NODE_ENV&&Mt(st()||!o,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),i.useEffect((function(){(s||o)&&f(o)}),[o,s]);var g=tt(i.useState((function(){return tf(a)})),2),h=g[0],v=g[1];i.useEffect((function(){var e=tf(a);v(null!=e?e:null)}));var b=function(e,t){var n=tt(i.useState((function(){if(!st())return null;var e=document.createElement("div");return"production"!==process.env.NODE_ENV&&t&&e.setAttribute("data-debug",t),e})),1)[0],o=i.useRef(!1),r=i.useContext(Up),a=tt(i.useState(Yp),2),l=a[0],c=a[1],s=r||(o.current?void 0:function(e){c((function(t){return[e].concat(Qe(t))}))});function u(){n.parentElement||document.body.appendChild(n),o.current=!0}function d(){var e;null===(e=n.parentElement)||void 0===e||e.removeChild(n),o.current=!1}return dn((function(){return e?r?r(u):u():d(),d}),[e]),dn((function(){l.length&&(l.forEach((function(e){return e()})),c(Yp))}),[l]),[n,s]}(m&&!h,l),y=tt(b,2),x=y[0],C=y[1],w=null!=h?h:x;ef(r&&o&&st()&&(w===x||w===document.body));var S=null;u&&qo(u)&&t&&(S=u.ref);var E=Go(S,t);if(!m||!st()||void 0===h)return null;var k=!1===w||!1,$=u;return t&&($=i.cloneElement(u,{ref:E})),i.createElement(Up.Provider,{value:C},k?$:n.createPortal($,w))}));"production"!==process.env.NODE_ENV&&(nf.displayName="Portal");var of=i.createContext({});var rf=0,af=lt({},i).useId,lf=af?function(e){var t=af();return e||("test"===process.env.NODE_ENV?"test-id":t)}:function(e){var t=tt(i.useState("ssr-id"),2),n=t[0],o=t[1];return i.useEffect((function(){var e=rf;rf+=1,o("rc_unique_".concat(e))}),[]),e||("test"===process.env.NODE_ENV?"test-id":n)};function cf(e,t,n){var o=t;return!o&&n&&(o="".concat(e,"-").concat(n)),o}function sf(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}var uf=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),df={width:0,height:0,overflow:"hidden",outline:"none"},pf={outline:"none"},ff=t.forwardRef((function(e,n){var o=e.prefixCls,r=e.className,i=e.style,a=e.title,l=e.ariaId,c=e.footer,s=e.closable,u=e.closeIcon,d=e.onClose,p=e.children,m=e.bodyStyle,g=e.bodyProps,h=e.modalRender,v=e.onMouseDown,b=e.onMouseUp,y=e.holderRef,x=e.visible,C=e.forceRender,w=e.width,S=e.height,E=e.classNames,k=e.styles,$=t.useContext(of).panel,O=Go(y,$),M=t.useRef(),N=t.useRef();t.useImperativeHandle(n,(function(){return{focus:function(){var e;null===(e=M.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===N.current?M.current.focus({preventScroll:!0}):e||t!==M.current||N.current.focus({preventScroll:!0})}}}));var j={};void 0!==w&&(j.width=w),void 0!==S&&(j.height=S);var I=c?t.createElement("div",{className:f("".concat(o,"-footer"),null==E?void 0:E.footer),style:lt({},null==k?void 0:k.footer)},c):null,P=a?t.createElement("div",{className:f("".concat(o,"-header"),null==E?void 0:E.header),style:lt({},null==k?void 0:k.header)},t.createElement("div",{className:"".concat(o,"-title"),id:l},a)):null,T=t.useMemo((function(){return"object"===ot(s)&&null!==s?s:s?{closeIcon:null!=u?u:t.createElement("span",{className:"".concat(o,"-close-x")})}:{}}),[s,u,o]),R=os(T,!0),B="object"===ot(s)&&s.disabled,z=s?t.createElement("button",Mn({type:"button",onClick:d,"aria-label":"Close"},R,{className:"".concat(o,"-close"),disabled:B}),T.closeIcon):null,D=t.createElement("div",{className:f("".concat(o,"-content"),null==E?void 0:E.content),style:null==k?void 0:k.content},z,P,t.createElement("div",Mn({className:f("".concat(o,"-body"),null==E?void 0:E.body),style:lt(lt({},m),null==k?void 0:k.body)},g),p),I);return t.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?l:null,"aria-modal":"true",ref:O,style:lt(lt({},i),j),className:f(o,r),onMouseDown:v,onMouseUp:b},t.createElement("div",{ref:M,tabIndex:0,style:pf},t.createElement(uf,{shouldUpdate:x||C},h?h(D):D)),t.createElement("div",{tabIndex:0,ref:N,style:df}))}));"production"!==process.env.NODE_ENV&&(ff.displayName="Panel");var mf=i.forwardRef((function(e,n){var o=e.prefixCls,r=e.title,a=e.style,l=e.className,c=e.visible,s=e.forceRender,u=e.destroyOnClose,d=e.motionName,p=e.ariaId,m=e.onVisibleChanged,g=e.mousePosition,h=t.useRef(),v=tt(i.useState(),2),b=v[0],y=v[1],x={};function C(){var e,t,n,o,r,i=(e=h.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow,n.left+=sf(r),n.top+=sf(r,!0),n);y(g&&(g.x||g.y)?"".concat(g.x-i.left,"px ").concat(g.y-i.top,"px"):"")}return b&&(x.transformOrigin=b),i.createElement(Kl,{visible:c,onVisibleChanged:m,onAppearPrepare:C,onEnterPrepare:C,forceRender:s,motionName:d,removeOnLeave:u,ref:h},(function(t,c){var s=t.className,u=t.style;return i.createElement(ff,Mn({},e,{ref:n,title:r,ariaId:p,prefixCls:o,holderRef:c,style:lt(lt(lt({},u),a),x),className:f(l,s)}))}))}));mf.displayName="Content";var gf=function(e){var t=e.prefixCls,n=e.style,o=e.visible,r=e.maskProps,a=e.motionName,l=e.className;return i.createElement(Kl,{key:"mask",visible:o,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var a=e.className,c=e.style;return i.createElement("div",Mn({ref:o,style:lt(lt({},c),n),className:f("".concat(t,"-mask"),a,l)},r))}))},hf=function(e){var n=e.prefixCls,o=void 0===n?"rc-dialog":n,r=e.zIndex,a=e.visible,l=void 0!==a&&a,c=e.keyboard,s=void 0===c||c,u=e.focusTriggerAfterClose,d=void 0===u||u,p=e.wrapStyle,m=e.wrapClassName,g=e.wrapProps,h=e.onClose,v=e.afterOpenChange,b=e.afterClose,y=e.transitionName,x=e.animation,C=e.closable,w=void 0===C||C,S=e.mask,E=void 0===S||S,k=e.maskTransitionName,$=e.maskAnimation,O=e.maskClosable,M=void 0===O||O,N=e.maskStyle,j=e.maskProps,I=e.rootClassName,P=e.classNames,T=e.styles;"production"!==process.env.NODE_ENV&&(["wrapStyle","bodyStyle","maskStyle"].forEach((function(t){Et(!(t in e),"".concat(t," is deprecated, please use styles instead."))})),"wrapClassName"in e&&Et(!1,"wrapClassName is deprecated, please use classNames instead."));var R=t.useRef(),B=t.useRef(),z=t.useRef(),D=tt(i.useState(l),2),L=D[0],F=D[1],H=lf();function A(e){null==h||h(e)}var _=t.useRef(!1),W=t.useRef(),V=null;M&&(V=function(e){_.current?_.current=!1:B.current===e.target&&A(e)}),t.useEffect((function(){l&&(F(!0),ut(B.current,document.activeElement)||(R.current=document.activeElement))}),[l]),t.useEffect((function(){return function(){clearTimeout(W.current)}}),[]);var X=lt(lt(lt({zIndex:r},p),null==T?void 0:T.wrapper),{},{display:L?null:"none"});return i.createElement("div",Mn({className:f("".concat(o,"-root"),I)},os(e,{data:!0})),i.createElement(gf,{prefixCls:o,visible:E&&l,motionName:cf(o,k,$),style:lt(lt({zIndex:r},N),null==T?void 0:T.mask),maskProps:j,className:null==P?void 0:P.mask}),i.createElement("div",Mn({tabIndex:-1,onKeyDown:function(e){if(s&&e.keyCode===xs.ESC)return e.stopPropagation(),void A(e);l&&e.keyCode===xs.TAB&&z.current.changeActive(!e.shiftKey)},className:f("".concat(o,"-wrap"),m,null==P?void 0:P.wrapper),ref:B,onClick:V,style:X},g),i.createElement(mf,Mn({},e,{onMouseDown:function(){clearTimeout(W.current),_.current=!0},onMouseUp:function(){W.current=setTimeout((function(){_.current=!1}))},ref:z,closable:w,ariaId:H,prefixCls:o,visible:l&&L,onClose:A,onVisibleChanged:function(e){if(e)ut(B.current,document.activeElement)||null===(t=z.current)||void 0===t||t.focus();else{if(F(!1),E&&R.current&&d){try{R.current.focus({preventScroll:!0})}catch(e){}R.current=null}L&&(null==b||b())}var t;null==v||v(e)},motionName:cf(o,y,x)}))))},vf=function(e){var t=e.visible,n=e.getContainer,o=e.forceRender,r=e.destroyOnClose,a=void 0!==r&&r,l=e.afterClose,c=e.panelRef,s=tt(i.useState(t),2),u=s[0],d=s[1],p=i.useMemo((function(){return{panel:c}}),[c]);return i.useEffect((function(){t&&d(!0)}),[t]),o||!a||u?i.createElement(of.Provider,{value:p},i.createElement(nf,{open:t||o||u,autoDestroy:!1,getContainer:n,autoLock:t||u},i.createElement(hf,Mn({},e,{destroyOnClose:a,afterClose:function(){null==l||l(),d(!1)}})))):null};vf.displayName="Dialog";var bf="RC_FORM_INTERNAL_HOOKS",yf=function(){Mt(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},xf=i.createContext({getFieldValue:yf,getFieldsValue:yf,getFieldError:yf,getFieldWarning:yf,getFieldsError:yf,isFieldsTouched:yf,isFieldTouched:yf,isFieldValidating:yf,isFieldsValidating:yf,resetFields:yf,setFields:yf,setFieldValue:yf,setFieldsValue:yf,validateFields:yf,submit:yf,getInternalHooks:function(){return yf(),{dispatch:yf,initEntityValue:yf,registerField:yf,useSubscribe:yf,setInitialValues:yf,destroyForm:yf,setCallbacks:yf,registerWatch:yf,getFields:yf,setValidateMessages:yf,setPreserve:yf,getInitialValue:yf}}}),Cf=i.createContext(null);function wf(e){return null==e?[]:Array.isArray(e)?e:[e]}function Sf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ef=Sf();function kf(e){var t="function"==typeof Map?new Map:void 0;return kf=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(Vt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var r=new(e.bind.apply(e,o));return n&&At(r,n.prototype),r}(e,arguments,Wt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),At(n,e)},kf(e)}var $f=/%[sdj%]/g,Of=function(){};function Mf(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function Nf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=0,i=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace($f,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}break;default:return e}})):e}function jf(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function If(e,t,n){var o=0,r=e.length;!function i(a){if(a&&a.length)n(a);else{var l=o;o+=1,l<r?t(e[l],i):n([])}}([])}"undefined"!=typeof process&&process.env&&"production"!==process.env.NODE_ENV&&"undefined"!=typeof window&&"undefined"!=typeof document&&(Of=function(e,t){"undefined"!=typeof console&&console.warn&&"undefined"==typeof ASYNC_VALIDATOR_NO_WARNING&&t.every((function(e){return"string"==typeof e}))&&console.warn(e,t)});var Pf=function(){_t(t,kf(Error));var e=Gt(t);function t(n,o){var r;return It(this,t),it(Ht(r=e.call(this,"Async Validation Error")),"errors",void 0),it(Ht(r),"fields",void 0),r.errors=n,r.fields=o,r}return Tt(t)}();function Tf(e,t,n,o,r){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,Qe(e[n]||[]))})),t}(e);If(a,n,(function(e){return o(e),e.length?i(new Pf(e,Mf(e))):t(r)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),c=l.length,s=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++s===c)return o(u),u.length?i(new Pf(u,Mf(u))):t(r)};l.length||(o(u),t(r)),l.forEach((function(t){var o=e[t];-1!==a.indexOf(t)?If(o,n,d):function(e,t,n){var o=[],r=0,i=e.length;function a(e){o.push.apply(o,Qe(e||[])),++r===i&&n(o)}e.forEach((function(e){t(e,a)}))}(o,n,d)}))}));return d.catch((function(e){return e})),d}function Rf(e,t){return function(n){var o,r;return o=e.fullFields?function(e,t){for(var n=e,o=0;o<t.length;o++){if(null==n)return n;n=n[t[o]]}return n}(t,e.fullFields):t[n.field||e.fullField],(r=n)&&void 0!==r.message?(n.field=n.field||e.fullField,n.fieldValue=o,n):{message:"function"==typeof n?n():n,fieldValue:o,field:n.field||e.fullField}}}function Bf(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];"object"===ot(o)&&"object"===ot(e[n])?e[n]=lt(lt({},e[n]),o):e[n]=o}return e}var zf,Df="enum",Lf=function(e,t,n,o,r,i){!e.required||n.hasOwnProperty(e.field)&&!jf(t,i||e.type)||o.push(Nf(r.messages.required,e.fullField))},Ff=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Hf=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Af={integer:function(e){return Af.number(e)&&parseInt(e,10)===e},float:function(e){return Af.number(e)&&!Af.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===ot(e)&&!Af.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Ff)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(zf)return zf;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=["(?:".concat(o,":){7}(?:").concat(o,"|:)"),"(?:".concat(o,":){6}(?:").concat(n,"|:").concat(o,"|:)"),"(?:".concat(o,":){5}(?::").concat(n,"|(?::").concat(o,"){1,2}|:)"),"(?:".concat(o,":){4}(?:(?::").concat(o,"){0,1}:").concat(n,"|(?::").concat(o,"){1,3}|:)"),"(?:".concat(o,":){3}(?:(?::").concat(o,"){0,2}:").concat(n,"|(?::").concat(o,"){1,4}|:)"),"(?:".concat(o,":){2}(?:(?::").concat(o,"){0,3}:").concat(n,"|(?::").concat(o,"){1,5}|:)"),"(?:".concat(o,":){1}(?:(?::").concat(o,"){0,4}:").concat(n,"|(?::").concat(o,"){1,6}|:)"),"(?::(?:(?::".concat(o,"){0,5}:").concat(n,"|(?::").concat(o,"){1,7}|:))")],i="(?:".concat(r.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),a=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(i,"$")),s=function(e){return e&&e.exact?a:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};s.v4=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},s.v6=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var u=s.v4().source,d=s.v6().source,p="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return zf=new RegExp("(?:^".concat(p,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Hf)}},_f={required:Lf,whitespace:function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(Nf(r.messages.whitespace,e.fullField))},type:function(e,t,n,o,r){if(e.required&&void 0===t)Lf(e,t,n,o,r);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?Af[i](t)||o.push(Nf(r.messages.types[i],e.fullField,e.type)):i&&ot(t)!==e.type&&o.push(Nf(r.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,o,r){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,c=t,s=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?s="number":d?s="string":p&&(s="array"),!s)return!1;p&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&o.push(Nf(r.messages[s].len,e.fullField,e.len)):a&&!l&&c<e.min?o.push(Nf(r.messages[s].min,e.fullField,e.min)):l&&!a&&c>e.max?o.push(Nf(r.messages[s].max,e.fullField,e.max)):a&&l&&(c<e.min||c>e.max)&&o.push(Nf(r.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,r){e[Df]=Array.isArray(e[Df])?e[Df]:[],-1===e[Df].indexOf(t)&&o.push(Nf(r.messages[Df],e.fullField,e[Df].join(", ")))},pattern:function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(Nf(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(Nf(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},Wf=function(e,t,n,o,r){var i=e.type,a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t,i)&&!e.required)return n();_f.required(e,t,o,a,r,i),jf(t,i)||_f.type(e,t,o,a,r)}n(a)},Vf={string:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t,"string")&&!e.required)return n();_f.required(e,t,o,i,r,"string"),jf(t,"string")||(_f.type(e,t,o,i,r),_f.range(e,t,o,i,r),_f.pattern(e,t,o,i,r),!0===e.whitespace&&_f.whitespace(e,t,o,i,r))}n(i)},method:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&_f.type(e,t,o,i,r)}n(i)},number:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&(_f.type(e,t,o,i,r),_f.range(e,t,o,i,r))}n(i)},boolean:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&_f.type(e,t,o,i,r)}n(i)},regexp:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),jf(t)||_f.type(e,t,o,i,r)}n(i)},integer:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&(_f.type(e,t,o,i,r),_f.range(e,t,o,i,r))}n(i)},float:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&(_f.type(e,t,o,i,r),_f.range(e,t,o,i,r))}n(i)},array:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();_f.required(e,t,o,i,r,"array"),null!=t&&(_f.type(e,t,o,i,r),_f.range(e,t,o,i,r))}n(i)},object:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&_f.type(e,t,o,i,r)}n(i)},enum:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r),void 0!==t&&_f.enum(e,t,o,i,r)}n(i)},pattern:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t,"string")&&!e.required)return n();_f.required(e,t,o,i,r),jf(t,"string")||_f.pattern(e,t,o,i,r)}n(i)},date:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t,"date")&&!e.required)return n();var a;if(_f.required(e,t,o,i,r),!jf(t,"date"))a=t instanceof Date?t:new Date(t),_f.type(e,a,o,i,r),a&&_f.range(e,a.getTime(),o,i,r)}n(i)},url:Wf,hex:Wf,email:Wf,required:function(e,t,n,o,r){var i=[],a=Array.isArray(t)?"array":ot(t);_f.required(e,t,o,i,r,a),n(i)},any:function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(jf(t)&&!e.required)return n();_f.required(e,t,o,i,r)}n(i)}},Xf=function(){function e(t){It(this,e),it(this,"rules",null),it(this,"_messages",Ef),this.define(t)}return Tt(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==ot(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var o=e[n];t.rules[n]=Array.isArray(o)?o:[o]}))}},{key:"messages",value:function(e){return e&&(this._messages=Bf(Sf(),e)),this._messages}},{key:"validate",value:function(t){var n=this,o=t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof r&&(i=r,r={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,o),Promise.resolve(o);if(r.messages){var a=this.messages();a===Ef&&(a=Sf()),Bf(a,r.messages),r.messages=a}else r.messages=this.messages();var l={};(r.keys||Object.keys(this.rules)).forEach((function(e){var r=n.rules[e],i=o[e];r.forEach((function(r){var a=r;"function"==typeof a.transform&&(o===t&&(o=lt({},o)),null!=(i=o[e]=a.transform(i))&&(a.type=a.type||(Array.isArray(i)?"array":ot(i)))),(a="function"==typeof a?{validator:a}:lt({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),l[e]=l[e]||[],l[e].push({rule:a,value:i,source:o,field:e}))}))}));var c={};return Tf(l,r,(function(t,n){var i,a=t.rule,l=!("object"!==a.type&&"array"!==a.type||"object"!==ot(a.fields)&&"object"!==ot(a.defaultField));function s(e,t){return lt(lt({},t),{},{fullField:"".concat(a.fullField,".").concat(e),fullFields:a.fullFields?[].concat(Qe(a.fullFields),[e]):[e]})}function u(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],u=Array.isArray(i)?i:[i];!r.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==a.message&&(u=[].concat(a.message));var d=u.map(Rf(a,o));if(r.first&&d.length)return c[a.field]=1,n(d);if(l){if(a.required&&!t.value)return void 0!==a.message?d=[].concat(a.message).map(Rf(a,o)):r.error&&(d=[r.error(a,Nf(r.messages.required,a.field))]),n(d);var p={};a.defaultField&&Object.keys(t.value).map((function(e){p[e]=a.defaultField})),p=lt(lt({},p),t.rule.fields);var f={};Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];f[e]=n.map(s.bind(null,e))}));var m=new e(f);m.messages(r.messages),t.rule.options&&(t.rule.options.messages=r.messages,t.rule.options.error=r.error),m.validate(t.value,t.rule.options||r,(function(e){var t=[];d&&d.length&&t.push.apply(t,Qe(d)),e&&e.length&&t.push.apply(t,Qe(e)),n(t.length?t:null)}))}else n(d)}if(l=l&&(a.required||!a.required&&t.value),a.field=t.field,a.asyncValidator)i=a.asyncValidator(a,t.value,u,t.source,r);else if(a.validator){try{i=a.validator(a,t.value,u,t.source,r)}catch(e){var d,p;null===(d=(p=console).error)||void 0===d||d.call(p,e),r.suppressValidatorError||setTimeout((function(){throw e}),0),u(e.message)}!0===i?u():!1===i?u("function"==typeof a.message?a.message(a.fullField||a.field):a.message||"".concat(a.fullField||a.field," fails")):i instanceof Array?u(i):i instanceof Error&&u(i.message)}i&&i.then&&i.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){for(var t,n,r=[],a={},l=0;l<e.length;l++)t=e[l],n=void 0,Array.isArray(t)?r=(n=r).concat.apply(n,Qe(t)):r.push(t);r.length?(a=Mf(r),i(r,a)):i(null,o)}(e)}),o)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!Vf.hasOwnProperty(e.type))throw new Error(Nf("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?Vf.required:Vf[this.getType(e)]||void 0}}]),e}();it(Xf,"register",(function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Vf[e]=t})),it(Xf,"warning",Of),it(Xf,"messages",Ef),it(Xf,"validators",Vf);var Gf="'${name}' is not a valid ${type}",qf={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Gf,method:Gf,array:Gf,object:Gf,number:Gf,date:Gf,boolean:Gf,integer:Gf,float:Gf,regexp:Gf,email:Gf,url:Gf,hex:Gf},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Kf=Xf;function Uf(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var n=e.slice(2,-1);return t[n]}))}var Yf="CODE_LOGIC_ERROR";function Zf(e,t,n,o,r){return Qf.apply(this,arguments)}function Qf(){return Qf=eu(Qs().mark((function e(t,n,o,r,a){var l,c,s,u,d,p,f,m,g;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(l=lt({},o)).ruleIndex,Kf.warning=function(){},l.validator&&(c=l.validator,l.validator=function(){try{return c.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(Yf)}}),s=null,l&&"array"===l.type&&l.defaultField&&(s=l.defaultField,delete l.defaultField),u=new Kf(it({},t,[l])),d=Ar(qf,r.validateMessages),u.messages(d),p=[],e.prev=10,e.next=13,Promise.resolve(u.validate(it({},t,n),lt({},r)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(p=e.t0.errors.map((function(e,t){var n=e.message,o=n===Yf?d.default:n;return i.isValidElement(o)?i.cloneElement(o,{key:"error_".concat(t)}):o})));case 18:if(p.length||!s){e.next=23;break}return e.next=21,Promise.all(n.map((function(e,n){return Zf("".concat(t,".").concat(n),e,s,r,a)})));case 21:return f=e.sent,e.abrupt("return",f.reduce((function(e,t){return[].concat(Qe(e),Qe(t))}),[]));case 23:return m=lt(lt({},o),{},{name:t,enum:(o.enum||[]).join(", ")},a),g=p.map((function(e){return"string"==typeof e?Uf(e,m):e})),e.abrupt("return",g);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),Qf.apply(this,arguments)}function Jf(e,t,n,o,r,i){var a,l=e.join("."),c=n.map((function(e,t){var n=e.validator,o=lt(lt({},e),{},{ruleIndex:t});return n&&(o.validator=function(e,t,o){var r=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){Mt(!r,"Your validator function has already return a promise. `callback` will be ignored."),r||o.apply(void 0,t)}))}));Mt(r=i&&"function"==typeof i.then&&"function"==typeof i.catch,"`callback` is deprecated. Please return a promise instead."),r&&i.then((function(){o()})).catch((function(e){o(e||" ")}))}),o})).sort((function(e,t){var n=e.warningOnly,o=e.ruleIndex,r=t.warningOnly,i=t.ruleIndex;return!!n==!!r?o-i:n?1:-1}));if(!0===r)a=new Promise(function(){var e=eu(Qs().mark((function e(n,r){var a,s,u;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<c.length)){e.next=12;break}return s=c[a],e.next=5,Zf(l,t,s,o,i);case 5:if(!(u=e.sent).length){e.next=9;break}return r([{errors:u,rule:s}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var s=c.map((function(e){return Zf(l,t,e,o,i).then((function(t){return{errors:t,rule:e}}))}));a=(r?function(e){return tm.apply(this,arguments)}(s):function(e){return em.apply(this,arguments)}(s)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function em(){return(em=eu(Qs().mark((function e(t){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t;return(t=[]).concat.apply(t,Qe(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function tm(){return tm=eu(Qs().mark((function e(t){var n;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(o){o.then((function(o){o.errors.length&&e([o]),(n+=1)===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)}))),tm.apply(this,arguments)}function nm(e){return wf(e)}function om(e,t){var n={};return t.forEach((function(t){var o=zr(e,t);n=Lr(n,t,o)})),n}function rm(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return im(t,e,n)}))}function im(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function am(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===ot(t.target)&&e in t.target?t.target[e]:t}function lm(e,t,n){var o=e.length;if(t<0||t>=o||n<0||n>=o)return e;var r=e[t],i=t-n;return i>0?[].concat(Qe(e.slice(0,n)),[r],Qe(e.slice(n,t)),Qe(e.slice(t+1,o))):i<0?[].concat(Qe(e.slice(0,t)),Qe(e.slice(t+1,n+1)),[r],Qe(e.slice(n+1,o))):e}var cm=["name"],sm=[];function um(e,t,n,o,r,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):o!==r}var dm=function(){_t(t,i.Component);var e=Gt(t);function t(n){var o;(It(this,t),it(Ht(o=e.call(this,n)),"state",{resetCount:0}),it(Ht(o),"cancelRegisterFunc",null),it(Ht(o),"mounted",!1),it(Ht(o),"touched",!1),it(Ht(o),"dirty",!1),it(Ht(o),"validatePromise",void 0),it(Ht(o),"prevValidating",void 0),it(Ht(o),"errors",sm),it(Ht(o),"warnings",sm),it(Ht(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,nm(r)),o.cancelRegisterFunc=null})),it(Ht(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat(Qe(void 0===n?[]:n),Qe(t)):[]})),it(Ht(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),it(Ht(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),it(Ht(o),"metaCache",null),it(Ht(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=lt(lt({},o.getMeta()),{},{destroy:e});jt(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),it(Ht(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,l=void 0===a?[]:a,c=r.onReset,s=n.store,u=o.getNamePath(),d=o.getValue(e),p=o.getValue(s),f=t&&rm(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||jt(d,p)||(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=sm,o.warnings=sm,o.triggerMetaEvent()),n.type){case"reset":if(!t||f)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=sm,o.warnings=sm,o.triggerMetaEvent(),null==c||c(),void o.refresh();break;case"remove":if(i&&um(i,e,s,d,p,n))return void o.reRender();break;case"setField":var m=n.data;if(f)return"touched"in m&&(o.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(o.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(o.errors=m.errors||sm),"warnings"in m&&(o.warnings=m.warnings||sm),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in m&&rm(t,u,!0))return void o.reRender();if(i&&!u.length&&um(i,e,s,d,p,n))return void o.reRender();break;case"dependenciesUpdate":if(l.map(nm).some((function(e){return rm(n.relatedFields,e)})))return void o.reRender();break;default:if(f||(!l.length||u.length||i)&&um(i,e,s,d,p,n))return void o.reRender()}!0===i&&o.reRender()})),it(Ht(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,a=r.validateOnly,l=void 0!==a&&a,c=Promise.resolve().then(eu(Qs().mark((function r(){var a,l,s,u,d,p,f;return Qs().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(a=o.props,l=a.validateFirst,s=void 0!==l&&l,u=a.messageVariables,d=a.validateDebounce,p=o.getRules(),i&&(p=p.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||wf(t).includes(i)}))),!d||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,d)}));case 8:if(o.validatePromise===c){r.next=10;break}return r.abrupt("return",[]);case 10:return(f=Jf(t,n,p,e,s,u)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sm;if(o.validatePromise===c){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?sm:o;t?r.push.apply(r,Qe(i)):n.push.apply(n,Qe(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",f);case 13:case"end":return r.stop()}}),r)}))));return l||(o.validatePromise=c,o.dirty=!0,o.errors=sm,o.warnings=sm,o.triggerMetaEvent(),o.reRender()),c})),it(Ht(o),"isFieldValidating",(function(){return!!o.validatePromise})),it(Ht(o),"isFieldTouched",(function(){return o.touched})),it(Ht(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(bf).getInitialValue)(o.getNamePath())})),it(Ht(o),"getErrors",(function(){return o.errors})),it(Ht(o),"getWarnings",(function(){return o.warnings})),it(Ht(o),"isListField",(function(){return o.props.isListField})),it(Ht(o),"isList",(function(){return o.props.isList})),it(Ht(o),"isPreserve",(function(){return o.props.preserve})),it(Ht(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),it(Ht(o),"getOnlyChild",(function(e){if("function"==typeof e){var t=o.getMeta();return lt(lt({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=Ho(e);return 1===n.length&&i.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),it(Ht(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return zr(e||t(!0),n)})),it(Ht(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.name,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,s=t.getValueProps,u=t.fieldContext,d=void 0!==i?i:u.validateTrigger,p=o.getNamePath(),f=u.getInternalHooks,m=u.getFieldsValue,g=f(bf).dispatch,h=o.getValue(),v=s||function(e){return it({},c,e)},b=e[r],y=void 0!==n?v(h):{};"production"!==process.env.NODE_ENV&&y&&Object.keys(y).forEach((function(e){Mt("function"!=typeof y[e],"It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(e,")"))}));var x=lt(lt({},e),y);return x[r]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=a?a.apply(void 0,n):am.apply(void 0,[c].concat(n)),l&&(e=l(e,h,m(!0))),e!==h&&g({type:"updateValue",namePath:p,value:e}),b&&b.apply(void 0,n)},wf(d||[]).forEach((function(e){var t=x[e];x[e]=function(){t&&t.apply(void 0,arguments);var n=o.props.rules;n&&n.length&&g({type:"validateField",namePath:p,triggerName:e})}})),x})),n.fieldContext)&&(0,(0,n.fieldContext.getInternalHooks)(bf).initEntityValue)(Ht(o));return o}return Tt(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var o=(0,n.getInternalHooks)(bf).registerField;this.cancelRegisterFunc=o(this)}!0===t&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,n=this.props.children,o=this.getOnlyChild(n),r=o.child;return o.isFunction?e=r:i.isValidElement(r)?e=i.cloneElement(r,this.getControlled(r.props)):(Mt(!r,"`children` of Field is not validate ReactElement."),e=r),i.createElement(i.Fragment,{key:t},e)}}]),t}();function pm(e){var t,n=e.name,o=nt(e,cm),r=i.useContext(xf),a=i.useContext(Cf),l=void 0!==n?nm(n):void 0,c=null!==(t=o.isListField)&&void 0!==t?t:!!a,s="keep";return c||(s="_".concat((l||[]).join("_"))),"production"!==process.env.NODE_ENV&&!1===o.preserve&&c&&l.length<=1&&Mt(!1,"`preserve` should not apply on Form.List fields."),i.createElement(dm,Mn({key:s,name:l,isListField:c},o,{fieldContext:r}))}it(dm,"contextType",xf),it(dm,"defaultProps",{trigger:"onChange",valuePropName:"value"});var fm="__@field_split__";function mm(e){return e.map((function(e){return"".concat(ot(e),":").concat(e)})).join(fm)}var gm=function(){function e(){It(this,e),it(this,"kvs",new Map)}return Tt(e,[{key:"set",value:function(e,t){this.kvs.set(mm(e),t)}},{key:"get",value:function(e){return this.kvs.get(mm(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(mm(e))}},{key:"map",value:function(e){return Qe(this.kvs.entries()).map((function(t){var n=tt(t,2),o=n[0],r=n[1],i=o.split(fm);return e({key:i.map((function(e){var t=tt(e.match(/^([^:]*):(.*)$/),3),n=t[1],o=t[2];return"number"===n?Number(o):o})),value:r})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,o=t.value;return e[n.join(".")]=o,null})),e}}]),e}(),hm=["name"],vm=Tt((function e(t){var n=this;It(this,e),it(this,"formHooked",!1),it(this,"forceRootUpdate",void 0),it(this,"subscribable",!0),it(this,"store",{}),it(this,"fieldEntities",[]),it(this,"initialValues",{}),it(this,"callbacks",{}),it(this,"validateMessages",null),it(this,"preserve",null),it(this,"lastValidatePromise",null),it(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),it(this,"getInternalHooks",(function(e){return e===bf?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Mt(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),it(this,"useSubscribe",(function(e){n.subscribable=e})),it(this,"prevWithoutPreserves",null),it(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var o,r=Ar(e,n.store);null===(o=n.prevWithoutPreserves)||void 0===o||o.map((function(t){var n=t.key;r=Lr(r,n,zr(e,n))})),n.prevWithoutPreserves=null,n.updateStore(r)}})),it(this,"destroyForm",(function(e){if(e)n.updateStore({});else{var t=new gm;n.getFieldEntities(!0).forEach((function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),n.prevWithoutPreserves=t}})),it(this,"getInitialValue",(function(e){var t=zr(n.initialValues,e);return e.length?Ar(t):t})),it(this,"setCallbacks",(function(e){n.callbacks=e})),it(this,"setValidateMessages",(function(e){n.validateMessages=e})),it(this,"setPreserve",(function(e){n.preserve=e})),it(this,"watchList",[]),it(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),it(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,o,e)}))}})),it(this,"timeoutId",null),it(this,"warningUnhooked",(function(){"production"===process.env.NODE_ENV||n.timeoutId||"undefined"==typeof window||(n.timeoutId=setTimeout((function(){n.timeoutId=null,n.formHooked||Mt(!1,"Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?")})))})),it(this,"updateStore",(function(e){n.store=e})),it(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),it(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new gm;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),it(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=nm(e);return t.get(n)||{INVALIDATE_NAME_PATH:nm(e)}}))})),it(this,"getFieldsValue",(function(e,t){var o,r,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(o=e,r=t):e&&"object"===ot(e)&&(i=e.strict,r=e.filter),!0===o&&!r)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),l=[];return a.forEach((function(e){var t,n,a,c,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(c=e).isList)&&void 0!==a&&a.call(c))return}else if(!o&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(r){var u="getMeta"in e?e.getMeta():null;r(u)&&l.push(s)}else l.push(s)})),om(n.store,l.map(nm))})),it(this,"getFieldValue",(function(e){n.warningUnhooked();var t=nm(e);return zr(n.store,t)})),it(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:nm(e[n]),errors:[],warnings:[]}}))})),it(this,"getFieldError",(function(e){n.warningUnhooked();var t=nm(e);return n.getFieldsError([t])[0].errors})),it(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=nm(e);return n.getFieldsError([t])[0].warnings})),it(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r,i=t[0],a=t[1],l=!1;0===t.length?r=null:1===t.length?Array.isArray(i)?(r=i.map(nm),l=!1):(r=null,l=i):(r=i.map(nm),l=a);var c=n.getFieldEntities(!0),s=function(e){return e.isFieldTouched()};if(!r)return l?c.every((function(e){return s(e)||e.isList()})):c.some(s);var u=new gm;r.forEach((function(e){u.set(e,[])})),c.forEach((function(e){var t=e.getNamePath();r.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&u.update(n,(function(t){return[].concat(Qe(t),[e])}))}))}));var d=function(e){return e.some(s)},p=u.map((function(e){return e.value}));return l?p.every(d):p.some(d)})),it(this,"isFieldTouched",(function(e){return n.warningUnhooked(),n.isFieldsTouched([e])})),it(this,"isFieldsValidating",(function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var o=e.map(nm);return t.some((function(e){var t=e.getNamePath();return rm(o,t)&&e.isFieldValidating()}))})),it(this,"isFieldValidating",(function(e){return n.warningUnhooked(),n.isFieldsValidating([e])})),it(this,"resetWithFieldInitialValue",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new gm,o=n.getFieldEntities(!0);o.forEach((function(e){var n=e.props.initialValue,o=e.getNamePath();if(void 0!==n){var r=t.get(o)||new Set;r.add({entity:e,value:n}),t.set(o,r)}}));var r;e.entities?r=e.entities:e.namePathList?(r=[],e.namePathList.forEach((function(e){var n,o=t.get(e);o&&(n=r).push.apply(n,Qe(Qe(o).map((function(e){return e.entity}))))}))):r=o,r.forEach((function(o){if(void 0!==o.props.initialValue){var r=o.getNamePath();if(void 0!==n.getInitialValue(r))Mt(!1,"Form already set 'initialValues' with path '".concat(r.join("."),"'. Field can not overwrite it."));else{var i=t.get(r);if(i&&i.size>1)Mt(!1,"Multiple Field with path '".concat(r.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(r);o.isListField()||e.skipExist&&void 0!==a||n.updateStore(Lr(n.store,r,Qe(i)[0].value))}}}}))})),it(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(Ar(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var o=e.map(nm);o.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(Lr(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(t,o,{type:"reset"}),n.notifyWatch(o)})),it(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,o=[];e.forEach((function(e){var r=e.name,i=nt(e,hm),a=nm(r);o.push(a),"value"in i&&n.updateStore(Lr(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(o)})),it(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),o=lt(lt({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))})),it(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var o=e.getNamePath();void 0===zr(n.store,o)&&n.updateStore(Lr(n.store,o,t))}})),it(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),it(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var o=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(o,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(r)&&(!o||i.length>1)){var a=o?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!im(e.getNamePath(),t)}))){var l=n.store;n.updateStore(Lr(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}})),it(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,o=e.value;n.updateValue(t,o);break;case"validateField":var r=e.namePath,i=e.triggerName;n.validateFields([r],{triggerName:i})}})),it(this,"notifyObservers",(function(e,t,o){if(n.subscribable){var r=lt(lt({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,r)}))}else n.forceRootUpdate()})),it(this,"triggerDependenciesUpdate",(function(e,t){var o=n.getDependencyChildrenFields(t);return o.length&&n.validateFields(o),n.notifyObservers(e,o,{type:"dependenciesUpdate",relatedFields:[t].concat(Qe(o))}),o})),it(this,"updateValue",(function(e,t){var o=nm(e),r=n.store;n.updateStore(Lr(n.store,o,t)),n.notifyObservers(r,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var i=n.triggerDependenciesUpdate(r,o),a=n.callbacks.onValuesChange;a&&a(om(n.store,[o]),n.getFieldsValue());n.triggerOnFieldsChange([o].concat(Qe(i)))})),it(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var o=Ar(n.store,e);n.updateStore(o)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),it(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t,errors:[],warnings:[]}])})),it(this,"getDependencyChildrenFields",(function(e){var t=new Set,o=[],r=new gm;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=nm(t);r.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(r.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var r=n.getNamePath();n.isFieldDirty()&&r.length&&(o.push(r),e(r))}}))}(e),o})),it(this,"triggerOnFieldsChange",(function(e,t){var o=n.callbacks.onFieldsChange;if(o){var r=n.getFields();if(t){var i=new gm;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),r.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=r.filter((function(t){var n=t.name;return rm(e,n)}));a.length&&o(a,r)}})),it(this,"validateFields",(function(e,t){var o,r;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(o=e,r=t):r=e;var i=!!o,a=i?o.map(nm):[],l=[],c=String(Date.now()),s=new Set,u=r||{},d=u.recursive,p=u.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!p||e.isFieldDirty())){var t=e.getNamePath();if(s.add(t.join(c)),!i||rm(a,t,d)){var o=e.validateRules(lt({validateMessages:lt(lt({},qf),n.validateMessages)},r));l.push(o.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,o=[],r=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?r.push.apply(r,Qe(n)):o.push.apply(o,Qe(n))})),o.length?Promise.reject({name:t,errors:o,warnings:r}):{name:t,errors:o,warnings:r}})))}}}));var f=function(e){var t=!1,n=e.length,o=[];return e.length?new Promise((function(r,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,o[a]=e,n>0||(t&&i(o),r(o))}))}))})):Promise.resolve([])}(l);n.lastValidatePromise=f,f.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var m=f.then((function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==f})}));m.catch((function(e){return e}));var g=a.filter((function(e){return s.has(e.join(c))}));return n.triggerOnFieldsChange(g),m})),it(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));function bm(e){var t=i.useRef(),n=tt(i.useState({}),2)[1];if(!t.current)if(e)t.current=e;else{var o=new vm((function(){n({})}));t.current=o.getForm()}return[t.current]}var ym=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),xm=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],Cm=function(e,t){var n=e.name,o=e.initialValues,r=e.fields,a=e.form,l=e.preserve,c=e.children,s=e.component,u=void 0===s?"form":s,d=e.validateMessages,p=e.validateTrigger,f=void 0===p?"onChange":p,m=e.onValuesChange,g=e.onFieldsChange,h=e.onFinish,v=e.onFinishFailed,b=e.clearOnDestroy,y=nt(e,xm),x=i.useRef(null),C=i.useContext(ym),w=tt(bm(a),1)[0],S=w.getInternalHooks(bf),E=S.useSubscribe,k=S.setInitialValues,$=S.setCallbacks,O=S.setValidateMessages,M=S.setPreserve,N=S.destroyForm;i.useImperativeHandle(t,(function(){return lt(lt({},w),{},{nativeElement:x.current})})),i.useEffect((function(){return C.registerForm(n,w),function(){C.unregisterForm(n)}}),[C,w,n]),O(lt(lt({},C.validateMessages),d)),$({onValuesChange:m,onFieldsChange:function(e){if(C.triggerFormChange(n,e),g){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];g.apply(void 0,[e].concat(o))}},onFinish:function(e){C.triggerFormFinish(n,e),h&&h(e)},onFinishFailed:v}),M(l);var j,I=i.useRef(null);k(o,!I.current),I.current||(I.current=!0),i.useEffect((function(){return function(){return N(b)}}),[]);var P="function"==typeof c;P?j=c(w.getFieldsValue(!0),w):j=c;E(!P);var T=i.useRef();i.useEffect((function(){(function(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==ot(e)||"object"!==ot(t))return!1;var n=Object.keys(e),o=Object.keys(t);return Qe(new Set([].concat(n,o))).every((function(n){var o=e[n],r=t[n];return"function"==typeof o&&"function"==typeof r||o===r}))})(T.current||[],r||[])||w.setFields(r||[]),T.current=r}),[r,w]);var R=i.useMemo((function(){return lt(lt({},w),{},{validateTrigger:f})}),[w,f]),B=i.createElement(Cf.Provider,{value:null},i.createElement(xf.Provider,{value:R},j));return!1===u?B:i.createElement(u,Mn({},y,{ref:x,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),w.submit()},onReset:function(e){var t;e.preventDefault(),w.resetFields(),null===(t=y.onReset)||void 0===t||t.call(y,e)}}),B)};function wm(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var Sm="production"!==process.env.NODE_ENV?function(e){var n=e.join("__RC_FIELD_FORM_SPLIT__");Mt(t.useRef(n).current===n,"`useWatch` is not support dynamic `namePath`. Please provide static instead.")}:function(){};var Em=i.forwardRef(Cm);Em.FormProvider=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,r=e.children,a=i.useContext(ym),l=i.useRef({});return i.createElement(ym.Provider,{value:lt(lt({},a),{},{validateMessages:lt(lt({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:l.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:l.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=lt(lt({},l.current),{},it({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=lt({},l.current);delete t[e],l.current=t,a.unregisterForm(e)}})},r)},Em.Field=pm,Em.List=function(e){var t=e.name,n=e.initialValue,o=e.children,r=e.rules,a=e.validateTrigger,l=e.isListField,c=i.useContext(xf),s=i.useContext(Cf),u=i.useRef({keys:[],id:0}).current,d=i.useMemo((function(){var e=nm(c.prefixName)||[];return[].concat(Qe(e),Qe(nm(t)))}),[c.prefixName,t]),p=i.useMemo((function(){return lt(lt({},c),{},{prefixName:d})}),[c,d]),f=i.useMemo((function(){return{getKey:function(e){var t=d.length,n=e[t];return[u.keys[n],e.slice(t+1)]}}}),[d]);return"function"!=typeof o?(Mt(!1,"Form.List only accepts function as children."),null):i.createElement(Cf.Provider,{value:f},i.createElement(xf.Provider,{value:p},i.createElement(pm,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:r,validateTrigger:a,initialValue:n,isList:!0,isListField:null!=l?l:!!s},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=c.getFieldValue,l=function(){return a(d||[])||[]},s={add:function(e,t){var n=l();t>=0&&t<=n.length?(u.keys=[].concat(Qe(u.keys.slice(0,t)),[u.id],Qe(u.keys.slice(t))),i([].concat(Qe(n.slice(0,t)),[e],Qe(n.slice(t))))):("production"!==process.env.NODE_ENV&&(t<0||t>n.length)&&Mt(!1,"The second parameter of the add function should be a valid positive number."),u.keys=[].concat(Qe(u.keys),[u.id]),i([].concat(Qe(n),[e]))),u.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(u.keys=lm(u.keys,e,t),i(lm(n,e,t)))}}},p=r||[];return Array.isArray(p)||(p=[],"production"!==process.env.NODE_ENV&&Mt(!1,"Current value of '".concat(d.join(" > "),"' is not an array type."))),o(p.map((function(e,t){var n=u.keys[t];return void 0===n&&(u.keys[t]=u.id,n=u.keys[t],u.id+=1),{name:t,key:n,isListField:!0}})),s,t)}))))},Em.useForm=bm,Em.useWatch=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var r=n[0],i=n[1],a=void 0===i?{}:i,l=function(e){return e&&!!e._init}(a)?{form:a}:a,c=l.form,s=tt(t.useState(),2),u=s[0],d=s[1],p=t.useMemo((function(){return wm(u)}),[u]),f=t.useRef(p);f.current=p;var m=t.useContext(xf),g=c||m,h=g&&g._init;"production"!==process.env.NODE_ENV&&Mt(2===n.length&&!c||h,"useWatch requires a form instance since it can not auto detect from context.");var v=nm(r),b=t.useRef(v);return b.current=v,Sm(v),t.useEffect((function(){if(h){var e=g.getFieldsValue,t=(0,g.getInternalHooks)(bf).registerWatch,n=function(e,t){var n=l.preserve?t:e;return"function"==typeof r?r(n):zr(n,b.current)},o=t((function(e,t){var o=n(e,t),r=wm(o);f.current!==r&&(f.current=r,d(o))})),i=n(e(),e(!0));return u!==i&&d(i),o}}),[h]),u};const km=i.createContext({});"production"!==process.env.NODE_ENV&&(km.displayName="FormItemInputContext");const $m=e=>{let{children:t,status:n,override:o}=e;const r=i.useContext(km),a=i.useMemo((()=>{const e=Object.assign({},r);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,r]);return i.createElement(km.Provider,{value:a},t)},Om=i.createContext(void 0),Mm=e=>{const{space:n,form:o,children:r}=e;if(null==r)return null;let i=r;return o&&(i=t.createElement($m,{override:!0,status:!0},i)),n&&(i=t.createElement(Hu,null,i)),i};function Nm(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function jm(e){const{closable:n,closeIcon:o}=e||{};return t.useMemo((()=>{if(!n&&(!1===n||!1===o||null===o))return!1;if(void 0===n&&void 0===o)return null;let e={closeIcon:"boolean"!=typeof o&&null!==o?o:void 0};return n&&"object"==typeof n&&(e=Object.assign(Object.assign({},e),n)),e}),[n,o])}function Im(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach((t=>{t&&Object.keys(t).forEach((n=>{void 0!==t[n]&&(e[n]=t[n])}))})),e}const Pm={};function Tm(e,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Pm;const r=jm(e),i=jm(n),a="boolean"!=typeof r&&!!(null==r?void 0:r.disabled),l=t.useMemo((()=>Object.assign({closeIcon:t.createElement(Yc,null)},o)),[o]),c=t.useMemo((()=>!1!==r&&(r?Im(l,i,r):!1!==i&&(i?Im(l,i):!!l.closable&&l))),[r,i,l]);return t.useMemo((()=>{if(!1===c)return[!1,null,a];const{closeIconRender:e}=l,{closeIcon:n}=c;let o=n;if(null!=o){e&&(o=e(n));const r=os(c,!0);Object.keys(r).length&&(o=t.isValidElement(o)?t.cloneElement(o,r):t.createElement("span",Object.assign({},r),o))}return[!0,o,a]}),[c,l])}function Rm(e,t){return function(e){if(st()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1}(e)}const Bm=e=>{const{prefixCls:t,className:n,style:o,size:r,shape:a}=e,l=f({[`${t}-lg`]:"large"===r,[`${t}-sm`]:"small"===r}),c=f({[`${t}-circle`]:"circle"===a,[`${t}-square`]:"square"===a,[`${t}-round`]:"round"===a}),s=i.useMemo((()=>"number"==typeof r?{width:r,height:r,lineHeight:`${r}px`}:{}),[r]);return i.createElement("span",{className:f(t,l,c,n),style:Object.assign(Object.assign({},s),o)})},zm=new Ro("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Dm=e=>({height:e,lineHeight:rn(e)}),Lm=e=>Object.assign({width:e},Dm(e)),Fm=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:zm,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Hm=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Dm(e)),Am=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:o,controlHeightLG:r,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Lm(o)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Lm(r)),[`${t}${t}-sm`]:Object.assign({},Lm(i))}},_m=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:o,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[o]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},Hm(t,l)),[`${o}-lg`]:Object.assign({},Hm(r,l)),[`${o}-sm`]:Object.assign({},Hm(i,l))}},Wm=e=>Object.assign({width:e},Dm(e)),Vm=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:o,borderRadiusSM:r,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:o,borderRadius:r},Wm(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},Wm(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Xm=(e,t,n)=>{const{skeletonButtonCls:o}=e;return{[`${n}${o}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${o}-round`]:{borderRadius:t}}},Gm=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Dm(e)),qm=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:o,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(o).mul(2).equal(),minWidth:l(o).mul(2).equal()},Gm(o,l))},Xm(e,o,n)),{[`${n}-lg`]:Object.assign({},Gm(r,l))}),Xm(e,r,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Gm(i,l))}),Xm(e,i,`${n}-sm`))},Km=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:o,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:c,controlHeightLG:s,controlHeightSM:u,gradientFromColor:d,padding:p,marginSM:f,borderRadius:m,titleHeight:g,blockRadius:h,paragraphLiHeight:v,controlHeightXS:b,paragraphMarginTop:y}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},Lm(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Lm(s)),[`${n}-sm`]:Object.assign({},Lm(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[o]:{width:"100%",height:g,background:d,borderRadius:h,[`+ ${r}`]:{marginBlockStart:u}},[r]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:d,borderRadius:h,"+ li":{marginBlockStart:b}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${o}, ${r} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[o]:{marginBlockStart:f,[`+ ${r}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},qm(e)),Am(e)),_m(e)),Vm(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${o},\n ${r} > li,\n ${n},\n ${i},\n ${a},\n ${l}\n `]:Object.assign({},Fm(e))}}};var Um=cl("Skeleton",(e=>{const{componentCls:t,calc:n}=e,o=Da(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Km(o)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});const Ym=(e,t)=>{const{width:n,rows:o=2}=t;return Array.isArray(n)?n[e]:o-1===e?n:void 0},Zm=e=>{const{prefixCls:t,className:n,style:o,rows:r=0}=e,a=Array.from({length:r}).map(((t,n)=>i.createElement("li",{key:n,style:{width:Ym(n,e)}})));return i.createElement("ul",{className:f(t,n),style:o},a)},Qm=e=>{let{prefixCls:t,className:n,width:o,style:r}=e;return i.createElement("h3",{className:f(t,n),style:Object.assign({width:o},r)})};function Jm(e){return e&&"object"==typeof e?e:{}}const eg=e=>{const{prefixCls:t,loading:n,className:o,rootClassName:r,style:a,children:l,avatar:c=!1,title:s=!0,paragraph:u=!0,active:d,round:p}=e,{getPrefixCls:m,direction:g,className:h,style:v}=ha("skeleton"),b=m("skeleton",t),[y,x,C]=Um(b);if(n||!("loading"in e)){const e=!!c,t=!!s,n=!!u;let l,m;if(e){const e=Object.assign(Object.assign({prefixCls:`${b}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),Jm(c));l=i.createElement("div",{className:`${b}-header`},i.createElement(Bm,Object.assign({},e)))}if(t||n){let o,r;if(t){const t=Object.assign(Object.assign({prefixCls:`${b}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),Jm(s));o=i.createElement(Qm,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${b}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),Jm(u));r=i.createElement(Zm,Object.assign({},n))}m=i.createElement("div",{className:`${b}-content`},o,r)}const w=f(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:d,[`${b}-rtl`]:"rtl"===g,[`${b}-round`]:p},h,o,r,x,C);return y(i.createElement("div",{className:w,style:Object.assign(Object.assign({},v),a)},l,m))}return null!=l?l:null};function tg(){}eg.Button=e=>{const{prefixCls:t,className:n,rootClassName:o,active:r,block:a=!1,size:l="default"}=e,{getPrefixCls:c}=i.useContext(fa),s=c("skeleton",t),[u,d,p]=Um(s),m=Cu(e,["prefixCls"]),g=f(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:a},n,o,d,p);return u(i.createElement("div",{className:g},i.createElement(Bm,Object.assign({prefixCls:`${s}-button`,size:l},m))))},eg.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:o,active:r,shape:a="circle",size:l="default"}=e,{getPrefixCls:c}=i.useContext(fa),s=c("skeleton",t),[u,d,p]=Um(s),m=Cu(e,["prefixCls","className"]),g=f(s,`${s}-element`,{[`${s}-active`]:r},n,o,d,p);return u(i.createElement("div",{className:g},i.createElement(Bm,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:l},m))))},eg.Input=e=>{const{prefixCls:t,className:n,rootClassName:o,active:r,block:a,size:l="default"}=e,{getPrefixCls:c}=i.useContext(fa),s=c("skeleton",t),[u,d,p]=Um(s),m=Cu(e,["prefixCls"]),g=f(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:a},n,o,d,p);return u(i.createElement("div",{className:g},i.createElement(Bm,Object.assign({prefixCls:`${s}-input`,size:l},m))))},eg.Image=e=>{const{prefixCls:t,className:n,rootClassName:o,style:r,active:a}=e,{getPrefixCls:l}=i.useContext(fa),c=l("skeleton",t),[s,u,d]=Um(c),p=f(c,`${c}-element`,{[`${c}-active`]:a},n,o,u,d);return s(i.createElement("div",{className:p},i.createElement("div",{className:f(`${c}-image`,n),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${c}-image-svg`},i.createElement("title",null,"Image placeholder"),i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${c}-image-path`})))))},eg.Node=e=>{const{prefixCls:t,className:n,rootClassName:o,style:r,active:a,children:l}=e,{getPrefixCls:c}=i.useContext(fa),s=c("skeleton",t),[u,d,p]=Um(s),m=f(s,`${s}-element`,{[`${s}-active`]:a},d,n,o,p);return u(i.createElement("div",{className:m},i.createElement("div",{className:f(`${s}-image`,n),style:r},l)))},"production"!==process.env.NODE_ENV&&(eg.displayName="Skeleton");const ng=i.createContext({add:tg,remove:tg});function og(e){const t=i.useContext(ng),n=i.useRef(null);return ja((o=>{if(o){const r=e?o.querySelector(e):o;t.add(r),n.current=r}else t.remove(n.current)}))}const rg=()=>{const{cancelButtonProps:e,cancelTextLocale:n,onCancel:o}=t.useContext(Xp);return t.createElement(_p,Object.assign({onClick:o},e),n)},ig=()=>{const{confirmLoading:e,okButtonProps:n,okType:o,okTextLocale:r,onOk:i}=t.useContext(Xp);return t.createElement(_p,Object.assign({},Gu(o),{loading:e,onClick:i},n),r)};function ag(e,n){return t.createElement("span",{className:`${e}-close-x`},n||t.createElement(Yc,{className:`${e}-close-icon`}))}const lg=e=>{const{okText:n,okType:o="primary",cancelText:r,confirmLoading:i,onOk:a,onCancel:l,okButtonProps:c,cancelButtonProps:s,footer:u}=e,[d]=ai("Modal",ri()),p={confirmLoading:i,okButtonProps:c,cancelButtonProps:s,okTextLocale:n||(null==d?void 0:d.okText),cancelTextLocale:r||(null==d?void 0:d.cancelText),okType:o,onOk:a,onCancel:l},f=t.useMemo((()=>p),Qe(Object.values(p)));let m;return"function"==typeof u||void 0===u?(m=t.createElement(t.Fragment,null,t.createElement(rg,null),t.createElement(ig,null)),"function"==typeof u&&(m=u(m,{OkBtn:ig,CancelBtn:rg})),m=t.createElement(Gp,{value:f},m)):m=u,t.createElement(xa,{disabled:!1},m)},cg=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},sg=(e,t)=>((e,t)=>{const{prefixCls:n,componentCls:o,gridColumns:r}=e,i={};for(let e=r;e>=0;e--)0===e?(i[`${o}${t}-${e}`]={display:"none"},i[`${o}-push-${e}`]={insetInlineStart:"auto"},i[`${o}-pull-${e}`]={insetInlineEnd:"auto"},i[`${o}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${o}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${o}${t}-offset-${e}`]={marginInlineStart:0},i[`${o}${t}-order-${e}`]={order:0}):(i[`${o}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:e/r*100+"%"}],i[`${o}${t}-push-${e}`]={insetInlineStart:e/r*100+"%"},i[`${o}${t}-pull-${e}`]={insetInlineEnd:e/r*100+"%"},i[`${o}${t}-offset-${e}`]={marginInlineStart:e/r*100+"%"},i[`${o}${t}-order-${e}`]={order:e});return i[`${o}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i})(e,t),ug=cl("Grid",(e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}}),(()=>({}))),dg=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),pg=cl("Grid",(e=>{const t=Da(e,{gridColumns:24}),n=dg(t);return delete n.xs,[cg(t),sg(t,""),sg(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${rn(t)})`]:Object.assign({},sg(e,n))}))(t,n[e],`-${e}`))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}),(()=>({})));function fg(e){return{position:e,inset:0}}const mg=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},fg("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},fg("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Id(e)}]},gg=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${rn(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},ol(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${rn(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:rn(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},il(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${rn(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},hg=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},vg=e=>{const{componentCls:t}=e,n=dg(e);delete n.xs;const o=Object.keys(n).map((e=>({[`@media (min-width: ${rn(n[e])})`]:{width:`var(--${t.replace(".","")}-${e}-width)`}})));return{[`${t}-root`]:{[t]:[{width:`var(--${t.replace(".","")}-xs-width)`}].concat(Qe(o))}}},bg=e=>{const t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5;return Da(e,{modalHeaderHeight:e.calc(e.calc(o).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},yg=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${rn(e.paddingMD)} ${rn(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${rn(e.padding)} ${rn(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${rn(e.paddingXS)} ${rn(e.padding)}`:0,footerBorderTop:e.wireframe?`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${rn(2*e.padding)} ${rn(2*e.padding)} ${rn(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});var xg=cl("Modal",(e=>{const t=bg(e);return[gg(t),hg(t),mg(t),op(t,"zoom"),vg(t)]}),yg,{unitless:{titleLineHeight:!0}}),Cg=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};let wg;const Sg=e=>{wg={x:e.pageX,y:e.pageY},setTimeout((()=>{wg=null}),100)};st()&&window.document.documentElement&&document.documentElement.addEventListener("click",Sg,!0);const Eg=e=>{const{prefixCls:t,className:n,rootClassName:o,open:r,wrapClassName:a,centered:l,getContainer:c,focusTriggerAfterClose:s=!0,style:u,visible:d,width:p=520,footer:m,classNames:g,styles:h,children:v,loading:b,confirmLoading:y,zIndex:x,mousePosition:C,onOk:w,onCancel:S}=e,E=Cg(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel"]),{getPopupContainer:k,getPrefixCls:$,direction:O,modal:M}=i.useContext(fa),N=e=>{y||null==S||S(e)};if("production"!==process.env.NODE_ENV){const t=Gr("Modal");[["visible","open"],["bodyStyle","styles.body"],["maskStyle","styles.mask"]].forEach((n=>{let[o,r]=n;t.deprecated(!(o in e),o,r)}))}const j=$("modal",t),I=$(),P=ys(j),[T,R,B]=xg(j,P),z=f(a,{[`${j}-centered`]:null!=l?l:null==M?void 0:M.centered,[`${j}-wrap-rtl`]:"rtl"===O}),D=null===m||b?null:i.createElement(lg,Object.assign({},e,{onOk:e=>{null==w||w(e)},onCancel:N})),[L,F,H]=Tm(Nm(e),Nm(M),{closable:!0,closeIcon:i.createElement(Yc,{className:`${j}-close-icon`}),closeIconRender:e=>ag(j,e)}),A=og(`.${j}-content`),[_,W]=Ls("Modal",x),[V,X]=i.useMemo((()=>p&&"object"==typeof p?[void 0,p]:[p,void 0]),[p]),G=i.useMemo((()=>{const e={};return X&&Object.keys(X).forEach((t=>{const n=X[t];void 0!==n&&(e[`--${j}-${t}-width`]="number"==typeof n?`${n}px`:n)})),e}),[X]);return T(i.createElement(Mm,{form:!0,space:!0},i.createElement(Ts.Provider,{value:W},i.createElement(vf,Object.assign({width:V},E,{zIndex:_,getContainer:void 0===c?k:c,prefixCls:j,rootClassName:f(R,o,B,P),footer:D,visible:null!=r?r:d,mousePosition:null!=C?C:wg,onClose:N,closable:L?{disabled:H,closeIcon:F}:L,closeIcon:F,focusTriggerAfterClose:s,transitionName:xu(I,"zoom",e.transitionName),maskTransitionName:xu(I,"fade",e.maskTransitionName),className:f(R,n,null==M?void 0:M.className),style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.style),u),G),classNames:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.classNames),g),{wrapper:f(z,null==g?void 0:g.wrapper)}),styles:Object.assign(Object.assign({},null==M?void 0:M.styles),h),panelRef:A}),b?i.createElement(eg,{active:!0,title:!1,paragraph:{rows:4},className:`${j}-body-skeleton`}):v))))},kg=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:o,modalConfirmIconSize:r,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:c,confirmBodyPadding:s}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`&${t} ${t}-body`]:{padding:s},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:r,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(r).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(r).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${rn(e.marginSM)})`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${rn(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:o},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var $g=ul(["Modal","confirm"],(e=>{const t=bg(e);return[kg(t)]}),yg,{order:-1e3}),Og=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Mg(e){const{prefixCls:t,icon:n,okText:o,cancelText:r,confirmPrefixCls:a,type:l,okCancel:c,footer:s,locale:u}=e,d=Og(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);if("production"!==process.env.NODE_ENV){const e=Gr("Modal");"production"!==process.env.NODE_ENV&&e(!("string"==typeof n&&n.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${n}\` at https://ant.design/components/icon`)}let p=n;if(!n&&null!==n)switch(l){case"info":p=i.createElement(es,null);break;case"success":p=i.createElement(Gc,null);break;case"error":p=i.createElement(Kc,null);break;default:p=i.createElement(Qc,null)}const m=null!=c?c:"confirm"===l,g=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[h]=ai("Modal"),v=u||h,b=o||(m?null==v?void 0:v.okText:null==v?void 0:v.justOkText),y=r||(null==v?void 0:v.cancelText),x=Object.assign({autoFocusButton:g,cancelTextLocale:y,okTextLocale:b,mergedOkCancel:m},d),C=i.useMemo((()=>x),Qe(Object.values(x))),w=i.createElement(i.Fragment,null,i.createElement(qp,null),i.createElement(Kp,null)),S=void 0!==e.title&&null!==e.title,E=`${a}-body`;return i.createElement("div",{className:`${a}-body-wrapper`},i.createElement("div",{className:f(E,{[`${E}-has-title`]:S})},p,i.createElement("div",{className:`${a}-paragraph`},S&&i.createElement("span",{className:`${a}-title`},e.title),i.createElement("div",{className:`${a}-content`},e.content))),void 0===s||"function"==typeof s?i.createElement(Gp,{value:C},i.createElement("div",{className:`${a}-btns`},"function"==typeof s?s(w,{OkBtn:Kp,CancelBtn:qp}):w)):s,i.createElement($g,{prefixCls:t}))}const Ng=e=>{const{close:t,zIndex:n,maskStyle:o,direction:r,prefixCls:a,wrapClassName:l,rootPrefixCls:c,bodyStyle:s,closable:u=!1,onConfirm:d,styles:p}=e;if("production"!==process.env.NODE_ENV){const t=Gr("Modal");[["visible","open"],["bodyStyle","styles.body"],["maskStyle","styles.mask"]].forEach((n=>{let[o,r]=n;t.deprecated(!(o in e),o,r)}))}const m=`${a}-confirm`,g=e.width||416,h=e.style||{},v=void 0===e.mask||e.mask,b=void 0!==e.maskClosable&&e.maskClosable,y=f(m,`${m}-${e.type}`,{[`${m}-rtl`]:"rtl"===r},e.className),[,x]=tl(),C=i.useMemo((()=>void 0!==n?n:x.zIndexPopupBase+Bs),[n,x]);return i.createElement(Eg,Object.assign({},e,{className:y,wrapClassName:f({[`${m}-centered`]:!!e.centered},l),onCancel:()=>{null==t||t({triggerCancel:!0}),null==d||d(!1)},title:"",footer:null,transitionName:xu(c||"","zoom",e.transitionName),maskTransitionName:xu(c||"","fade",e.maskTransitionName),mask:v,maskClosable:b,style:h,styles:Object.assign({body:s,mask:o},p),width:g,zIndex:C,closable:u}),i.createElement(Mg,Object.assign({},e,{confirmPrefixCls:m})))},jg=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:o,theme:r}=e;return i.createElement(xc,{prefixCls:t,iconPrefixCls:n,direction:o,theme:r},i.createElement(Ng,Object.assign({},e)))};"production"!==process.env.NODE_ENV&&(Ng.displayName="ConfirmDialog",jg.displayName="ConfirmDialogWrapper");const Ig=[];let Pg="";function Tg(){return Pg}const Rg=e=>{var n,o;const{prefixCls:r,getContainer:i,direction:a}=e,l=ri(),c=t.useContext(fa),s=Tg()||c.getPrefixCls(),u=r||`${s}-modal`;let d=i;return!1===d&&(d=void 0,"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&Vr(!1,"Modal","Static method not support `getContainer` to be `false` since it do not have context env.")),t.createElement(jg,Object.assign({},e,{rootPrefixCls:s,prefixCls:u,iconPrefixCls:c.iconPrefixCls,theme:c.theme,direction:null!=a?a:c.direction,locale:null!==(o=null===(n=c.locale)||void 0===n?void 0:n.Modal)&&void 0!==o?o:l,getContainer:d}))};function Bg(e){const n=bc();"production"===process.env.NODE_ENV||n.holderRender||uc("Modal");const o=document.createDocumentFragment();let r,i,a=Object.assign(Object.assign({},e),{close:s,open:!0});function l(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];var a;o.some((e=>null==e?void 0:e.triggerCancel))&&(null===(t=e.onCancel)||void 0===t||(a=t).call.apply(a,[e,()=>{}].concat(Qe(o.slice(1)))));for(let e=0;e<Ig.length;e++){if(Ig[e]===s){Ig.splice(e,1);break}}i()}function c(e){clearTimeout(r),r=setTimeout((()=>{const r=n.getPrefixCls(void 0,Tg()),a=n.getIconPrefixCls(),l=n.getTheme(),c=t.createElement(Rg,Object.assign({},e)),s=mu();i=s(t.createElement(xc,{prefixCls:r,iconPrefixCls:a,theme:l},n.holderRender?n.holderRender(c):c),o)}))}function s(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];a=Object.assign(Object.assign({},a),{open:!1,afterClose:()=>{"function"==typeof e.afterClose&&e.afterClose(),l.apply(this,n)}}),a.visible&&delete a.visible,c(a)}return c(a),Ig.push(s),{destroy:s,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),c(a)}}}function zg(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Dg(e){return Object.assign(Object.assign({},e),{type:"info"})}function Lg(e){return Object.assign(Object.assign({},e),{type:"success"})}function Fg(e){return Object.assign(Object.assign({},e),{type:"error"})}function Hg(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var Ag=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const _g=(e,t)=>{var n,{afterClose:o,config:r}=e,a=Ag(e,["afterClose","config"]);const[l,c]=i.useState(!0),[s,u]=i.useState(r),{direction:d,getPrefixCls:p}=i.useContext(fa),f=p("modal"),m=p(),g=function(){var e;c(!1);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var r;n.some((e=>null==e?void 0:e.triggerCancel))&&(null===(e=s.onCancel)||void 0===e||(r=e).call.apply(r,[s,()=>{}].concat(Qe(n.slice(1)))))};i.useImperativeHandle(t,(()=>({destroy:g,update:e=>{u((t=>Object.assign(Object.assign({},t),e)))}})));const h=null!==(n=s.okCancel)&&void 0!==n?n:"confirm"===s.type,[v]=ai("Modal",ei.Modal);return i.createElement(jg,Object.assign({prefixCls:f,rootPrefixCls:m},s,{close:g,open:l,afterClose:()=>{var e;o(),null===(e=s.afterClose)||void 0===e||e.call(s)},okText:s.okText||(h?null==v?void 0:v.okText:null==v?void 0:v.justOkText),direction:s.direction||d,cancelText:s.cancelText||(null==v?void 0:v.cancelText)},a))};var Wg=i.forwardRef(_g);let Vg=0;const Xg=i.memo(i.forwardRef(((e,t)=>{const[n,o]=function(){const[e,t]=i.useState([]);return[e,i.useCallback((e=>(t((t=>[].concat(Qe(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return i.useImperativeHandle(t,(()=>({patchElement:o})),[]),i.createElement(i.Fragment,null,n)})));const Gg=t.createContext({});function qg(e){return t=>i.createElement(xc,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(e,Object.assign({},t)))}const Kg=(e,t,n,o,r)=>qg((n=>{const{prefixCls:a,style:l}=n,c=i.useRef(null),[s,u]=i.useState(0),[d,p]=i.useState(0),[f,m]=Ta(!1,{value:n.open}),{getPrefixCls:g}=i.useContext(fa),h=g(o||"select",a);i.useEffect((()=>{if(m(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;u(t.offsetHeight+8),p(t.offsetWidth)})),t=setInterval((()=>{var n;const o=r?`.${r(h)}`:`.${h}-dropdown`,i=null===(n=c.current)||void 0===n?void 0:n.querySelector(o);i&&(clearInterval(t),e.observe(i))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let v=Object.assign(Object.assign({},n),{style:Object.assign(Object.assign({},l),{margin:0}),open:f,visible:f,getPopupContainer:()=>c.current});t&&Object.assign(v,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const b={paddingBottom:s,position:"relative",minWidth:d};return i.createElement("div",{ref:c,style:b},i.createElement(e,Object.assign({},v)))}));var Ug=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))},Yg=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,r=e.children,a=e.onMouseDown,l=e.onClick,c="function"==typeof n?n(o):n;return i.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==a||a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==c?c:i.createElement("span",{className:f(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},r))},Zg=i.createContext(null);function Qg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=i.useRef(null),n=i.useRef(null);return i.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}]}var Jg=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],eh=void 0;function th(e,t){var n=e.prefixCls,o=e.invalidate,r=e.item,a=e.renderItem,l=e.responsive,c=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,d=e.className,p=e.style,m=e.children,g=e.display,h=e.order,v=e.component,b=void 0===v?"div":v,y=nt(e,Jg),x=l&&!g;function C(e){s(u,e)}i.useEffect((function(){return function(){C(null)}}),[]);var w,S=a&&r!==eh?a(r,{index:h}):m;o||(w={opacity:x?0:1,height:x?0:eh,overflowY:x?"hidden":eh,order:l?h:eh,pointerEvents:x?"none":eh,position:x?"absolute":eh});var E={};x&&(E["aria-hidden"]=!0);var k=i.createElement(b,Mn({className:f(!o&&n,d),style:lt(lt({},w),p)},E,y,{ref:t}),S);return l&&(k=i.createElement($r,{onResize:function(e){C(e.offsetWidth)},disabled:c},k)),k}var nh=i.forwardRef(th);function oh(){var e=i.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)Pr(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){n.unstable_batchedUpdates((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function rh(e,t){var n=tt(i.useState(t),2),o=n[0],r=n[1];return[o,ja((function(t){e((function(){r(t)}))}))]}nh.displayName="Item";var ih=t.createContext(null),ah=["component"],lh=["className"],ch=["className"],sh=function(e,t){var n=i.useContext(ih);if(!n){var o=e.component,r=void 0===o?"div":o,a=nt(e,ah);return i.createElement(r,Mn({},a,{ref:t}))}var l=n.className,c=nt(n,lh),s=e.className,u=nt(e,ch);return i.createElement(ih.Provider,{value:null},i.createElement(nh,Mn({ref:t,className:f(l,s)},c,u)))},uh=i.forwardRef(sh);uh.displayName="RawItem";var dh=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ph="responsive",fh="invalidate";function mh(e){return"+ ".concat(e.length," ...")}function gh(e,n){var o=e.prefixCls,r=void 0===o?"rc-overflow":o,a=e.data,l=void 0===a?[]:a,c=e.renderItem,s=e.renderRawItem,u=e.itemKey,d=e.itemWidth,p=void 0===d?10:d,m=e.ssr,g=e.style,h=e.className,v=e.maxCount,b=e.renderRest,y=e.renderRawRest,x=e.suffix,C=e.component,w=void 0===C?"div":C,S=e.itemComponent,E=e.onVisibleChange,k=nt(e,dh),$="full"===m,O=oh(),M=tt(rh(O,null),2),N=M[0],j=M[1],I=N||0,P=tt(rh(O,new Map),2),T=P[0],R=P[1],B=tt(rh(O,0),2),z=B[0],D=B[1],L=tt(rh(O,0),2),F=L[0],H=L[1],A=tt(rh(O,0),2),_=A[0],W=A[1],V=tt(t.useState(null),2),X=V[0],G=V[1],q=tt(t.useState(null),2),K=q[0],U=q[1],Y=i.useMemo((function(){return null===K&&$?Number.MAX_SAFE_INTEGER:K||0}),[K,N]),Z=tt(t.useState(!1),2),Q=Z[0],J=Z[1],ee="".concat(r,"-item"),te=Math.max(z,F),ne=v===ph,oe=l.length&&ne,re=v===fh,ie=oe||"number"==typeof v&&l.length>v,ae=t.useMemo((function(){var e=l;return oe?e=null===N&&$?l:l.slice(0,Math.min(l.length,I/p)):"number"==typeof v&&(e=l.slice(0,v)),e}),[l,p,N,v,oe]),le=t.useMemo((function(){return oe?l.slice(Y+1):l.slice(ae.length)}),[l,ae,oe,Y]),ce=t.useCallback((function(e,t){var n;return"function"==typeof u?u(e):null!==(n=u&&(null==e?void 0:e[u]))&&void 0!==n?n:t}),[u]),se=t.useCallback(c||function(e){return e},[c]);function ue(e,t,n){(K!==e||void 0!==t&&t!==X)&&(U(e),n||(J(e<l.length-1),null==E||E(e)),void 0!==t&&G(t))}function de(e,t){R((function(n){var o=new Map(n);return null===t?o.delete(e):o.set(e,t),o}))}function pe(e){return T.get(ce(ae[e],e))}dn((function(){if(I&&"number"==typeof te&&ae){var e=_,t=ae.length,n=t-1;if(!t)return void ue(0,null);for(var o=0;o<t;o+=1){var r=pe(o);if($&&(r=r||0),void 0===r){ue(o-1,void 0,!0);break}if(e+=r,0===n&&e<=I||o===n-1&&e+pe(n)<=I){ue(n,null);break}if(e+te>I){ue(o-1,e-r-_+F);break}}x&&pe(0)+_>I&&G(null)}}),[I,T,F,_,ce,ae]);var fe=Q&&!!le.length,me={};null!==X&&oe&&(me={position:"absolute",left:X,top:0});var ge={prefixCls:ee,responsive:oe,component:S,invalidate:re},he=s?function(e,t){var n=ce(e,t);return i.createElement(ih.Provider,{key:n,value:lt(lt({},ge),{},{order:t,item:e,itemKey:n,registerSize:de,display:t<=Y})},s(e,t))}:function(e,t){var n=ce(e,t);return i.createElement(nh,Mn({},ge,{order:t,key:n,item:e,renderItem:se,itemKey:n,registerSize:de,display:t<=Y}))},ve={order:fe?Y:Number.MAX_SAFE_INTEGER,className:"".concat(ee,"-rest"),registerSize:function(e,t){H(t),D(F)},display:fe},be=b||mh,ye=y?i.createElement(ih.Provider,{value:lt(lt({},ge),ve)},y(le)):i.createElement(nh,Mn({},ge,ve),"function"==typeof be?be(le):be),xe=i.createElement(w,Mn({className:f(!re&&r,h),style:g,ref:n},k),ae.map(he),ie?ye:null,x&&i.createElement(nh,Mn({},ge,{responsive:ne,responsiveDisabled:!oe,order:Y,className:"".concat(ee,"-suffix"),registerSize:function(e,t){W(t)},display:!0,style:me}),x));return ne?i.createElement($r,{onResize:function(e,t){j(t.clientWidth)},disabled:!oe},xe):xe}var hh=i.forwardRef(gh);hh.displayName="Overflow",hh.Item=uh,hh.RESPONSIVE=ph,hh.INVALIDATE=fh;var vh=function(e,t){var n,o=e.prefixCls,r=e.id,a=e.inputElement,l=e.disabled,c=e.tabIndex,s=e.autoFocus,u=e.autoComplete,d=e.editable,p=e.activeDescendantId,m=e.value,g=e.maxLength,h=e.onKeyDown,v=e.onMouseDown,b=e.onChange,y=e.onPaste,x=e.onCompositionStart,C=e.onCompositionEnd,w=e.onBlur,S=e.open,E=e.attrs,k=a||i.createElement("input",null),$=k,O=$.ref,M=$.props,N=M.onKeyDown,j=M.onChange,I=M.onMouseDown,P=M.onCompositionStart,T=M.onCompositionEnd,R=M.onBlur,B=M.style;return Et(!("maxLength"in k.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),k=i.cloneElement(k,lt(lt(lt({type:"search"},M),{},{id:r,ref:Xo(t,O),disabled:l,tabIndex:c,autoComplete:u||"off",autoFocus:s,className:f("".concat(o,"-selection-search-input"),null===(n=k)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":S||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":S?p:void 0},E),{},{value:d?m:"",maxLength:g,readOnly:!d,unselectable:d?null:"on",style:lt(lt({},B),{},{opacity:d?null:0}),onKeyDown:function(e){h(e),N&&N(e)},onMouseDown:function(e){v(e),I&&I(e)},onChange:function(e){b(e),j&&j(e)},onCompositionStart:function(e){x(e),P&&P(e)},onCompositionEnd:function(e){C(e),T&&T(e)},onPaste:y,onBlur:function(e){w(e),R&&R(e)}}))},bh=i.forwardRef(vh);function yh(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}"production"!==process.env.NODE_ENV&&(bh.displayName="Input");var xh="undefined"!=typeof window&&window.document&&window.document.documentElement,Ch="test"!==process.env.NODE_ENV&&xh;function wh(e){return["string","number"].includes(ot(e))}function Sh(e){var t=void 0;return e&&(wh(e.title)?t=e.title.toString():wh(e.label)&&(t=e.label.toString())),t}function Eh(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var kh=function(e){e.preventDefault(),e.stopPropagation()},$h=function(e){var n,o,r=e.id,a=e.prefixCls,l=e.values,c=e.open,s=e.searchValue,u=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,g=e.mode,h=e.showSearch,v=e.autoFocus,b=e.autoComplete,y=e.activeDescendantId,x=e.tabIndex,C=e.removeIcon,w=e.maxTagCount,S=e.maxTagTextLength,E=e.maxTagPlaceholder,k=void 0===E?function(e){return"+ ".concat(e.length," ...")}:E,$=e.tagRender,O=e.onToggleOpen,M=e.onRemove,N=e.onInputChange,j=e.onInputPaste,I=e.onInputKeyDown,P=e.onInputMouseDown,T=e.onInputCompositionStart,R=e.onInputCompositionEnd,B=e.onInputBlur,z=i.useRef(null),D=tt(t.useState(0),2),L=D[0],F=D[1],H=tt(t.useState(!1),2),A=H[0],_=H[1],W="".concat(a,"-selection"),V=c||"multiple"===g&&!1===u||"tags"===g?s:"",X="tags"===g||"multiple"===g&&!1===u||h&&(c||A);n=function(){F(z.current.scrollWidth)},o=[V],Ch?i.useLayoutEffect(n,o):i.useEffect(n,o);var G=function(e,t,n,o,r){return i.createElement("span",{title:Sh(e),className:f("".concat(W,"-item"),it({},"".concat(W,"-item-disabled"),n))},i.createElement("span",{className:"".concat(W,"-item-content")},t),o&&i.createElement(Yg,{className:"".concat(W,"-item-remove"),onMouseDown:kh,onClick:r,customizeIcon:C},"×"))},q=function(e,t,n,o,r,a){return i.createElement("span",{onMouseDown:function(e){kh(e),O(!c)}},$({label:t,value:e,disabled:n,closable:o,onClose:r,isMaxTag:!!a}))},K=i.createElement("div",{className:"".concat(W,"-search"),style:{width:L},onFocus:function(){_(!0)},onBlur:function(){_(!1)}},i.createElement(bh,{ref:d,open:c,prefixCls:a,id:r,inputElement:null,disabled:m,autoFocus:v,autoComplete:b,editable:X,activeDescendantId:y,value:V,onKeyDown:I,onMouseDown:P,onChange:N,onPaste:j,onCompositionStart:T,onCompositionEnd:R,onBlur:B,tabIndex:x,attrs:os(e,!0)}),i.createElement("span",{ref:z,className:"".concat(W,"-search-mirror"),"aria-hidden":!0},V," ")),U=i.createElement(hh,{prefixCls:"".concat(W,"-overflow"),data:l,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!m&&!t,i=n;if("number"==typeof S&&("string"==typeof n||"number"==typeof n)){var a=String(i);a.length>S&&(i="".concat(a.slice(0,S),"..."))}var l=function(t){t&&t.stopPropagation(),M(e)};return"function"==typeof $?q(o,i,t,r,l):G(e,i,t,r,l)},renderRest:function(e){if(!l.length)return null;var t="function"==typeof k?k(e):k;return"function"==typeof $?q(void 0,t,!1,!1,void 0,!0):G({title:t},t,!1)},suffix:K,itemKey:Eh,maxCount:w});return i.createElement("span",{className:"".concat(W,"-wrap")},U,!l.length&&!V&&i.createElement("span",{className:"".concat(W,"-placeholder")},p))},Oh=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,l=e.autoFocus,c=e.autoComplete,s=e.activeDescendantId,u=e.mode,d=e.open,p=e.values,f=e.placeholder,m=e.tabIndex,g=e.showSearch,h=e.searchValue,v=e.activeValue,b=e.maxLength,y=e.onInputKeyDown,x=e.onInputMouseDown,C=e.onInputChange,w=e.onInputPaste,S=e.onInputCompositionStart,E=e.onInputCompositionEnd,k=e.onInputBlur,$=e.title,O=tt(i.useState(!1),2),M=O[0],N=O[1],j="combobox"===u,I=j||g,P=p[0],T=h||"";j&&v&&!M&&(T=v),i.useEffect((function(){j&&N(!1)}),[j,v]);var R=!("combobox"!==u&&!d&&!g)&&!!T,B=void 0===$?Sh(P):$,z=i.useMemo((function(){return P?null:i.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:R?{visibility:"hidden"}:void 0},f)}),[P,R,f,n]);return i.createElement("span",{className:"".concat(n,"-selection-wrap")},i.createElement("span",{className:"".concat(n,"-selection-search")},i.createElement(bh,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:a,autoFocus:l,autoComplete:c,editable:I,activeDescendantId:s,value:T,onKeyDown:y,onMouseDown:x,onChange:function(e){N(!0),C(e)},onPaste:w,onCompositionStart:S,onCompositionEnd:E,onBlur:k,tabIndex:m,attrs:os(e,!0),maxLength:j?b:void 0})),!j&&P?i.createElement("span",{className:"".concat(n,"-selection-item"),title:B,style:R?{visibility:"hidden"}:void 0},P.label):null,z)},Mh=function(e,n){var o=t.useRef(null),r=t.useRef(!1),a=e.prefixCls,l=e.open,c=e.mode,s=e.showSearch,u=e.tokenWithEnter,d=e.disabled,p=e.prefix,f=e.autoClearSearchValue,m=e.onSearch,g=e.onSearchSubmit,h=e.onToggleOpen,v=e.onInputKeyDown,b=e.onInputBlur,y=e.domRef;i.useImperativeHandle(n,(function(){return{focus:function(e){o.current.focus(e)},blur:function(){o.current.blur()}}}));var x=tt(Qg(0),2),C=x[0],w=x[1],S=t.useRef(null),E=function(e){!1!==m(e,!0,r.current)&&h(!0)},k={inputRef:o,onInputKeyDown:function(e){var t,n=e.which,i=o.current instanceof HTMLTextAreaElement;(i||!l||n!==xs.UP&&n!==xs.DOWN||e.preventDefault(),v&&v(e),n!==xs.ENTER||"tags"!==c||r.current||l||null==g||g(e.target.value),i&&!l&&~[xs.UP,xs.DOWN,xs.LEFT,xs.RIGHT].indexOf(n))||(t=n)&&![xs.ESC,xs.SHIFT,xs.BACKSPACE,xs.TAB,xs.WIN_KEY,xs.ALT,xs.META,xs.WIN_KEY_RIGHT,xs.CTRL,xs.SEMICOLON,xs.EQUALS,xs.CAPS_LOCK,xs.CONTEXT_MENU,xs.F1,xs.F2,xs.F3,xs.F4,xs.F5,xs.F6,xs.F7,xs.F8,xs.F9,xs.F10,xs.F11,xs.F12].includes(t)&&h(!0)},onInputMouseDown:function(){w(!0)},onInputChange:function(e){var t=e.target.value;if(u&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,E(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");S.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&E(e.target.value)},onInputBlur:b},$="multiple"===c||"tags"===c?i.createElement($h,Mn({},e,k)):i.createElement(Oh,Mn({},e,k));return i.createElement("div",{ref:y,className:"".concat(a,"-selector"),onClick:function(e){e.target!==o.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){o.current.focus()})):o.current.focus())},onMouseDown:function(e){var t=C();e.target===o.current||t||"combobox"===c&&d||e.preventDefault(),("combobox"===c||s&&t)&&l||(l&&!1!==f&&m("",!0,!1),h())}},p&&i.createElement("div",{className:"".concat(a,"-prefix")},p),$)},Nh=i.forwardRef(Mh);function jh(e){var t=e.prefixCls,n=e.align,o=e.arrow,r=e.arrowPos,a=o||{},l=a.className,c=a.content,s=r.x,u=void 0===s?0:s,d=r.y,p=void 0===d?0:d,m=i.useRef();if(!n||!n.points)return null;var g={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],v=n.points[1],b=h[0],y=h[1],x=v[0],C=v[1];b!==x&&["t","b"].includes(b)?"t"===b?g.top=0:g.bottom=0:g.top=p,y!==C&&["l","r"].includes(y)?"l"===y?g.left=0:g.right=0:g.left=u}return i.createElement("div",{ref:m,className:f("".concat(t,"-arrow"),l),style:g},c)}function Ih(e){var t=e.prefixCls,n=e.open,o=e.zIndex,r=e.mask,a=e.motion;return r?i.createElement(Kl,Mn({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return i.createElement("div",{style:{zIndex:o},className:f("".concat(t,"-mask"),n)})})):null}"production"!==process.env.NODE_ENV&&(Nh.displayName="Selector");var Ph=i.memo((function(e){return e.children}),(function(e,t){return t.cache}));"production"!==process.env.NODE_ENV&&(Ph.displayName="PopupContent");var Th=i.forwardRef((function(e,t){var n=e.popup,o=e.className,r=e.prefixCls,a=e.style,l=e.target,c=e.onVisibleChanged,s=e.open,u=e.keepDom,d=e.fresh,p=e.onClick,m=e.mask,g=e.arrow,h=e.arrowPos,v=e.align,b=e.motion,y=e.maskMotion,x=e.forceRender,C=e.getPopupContainer,w=e.autoDestroy,S=e.portal,E=e.zIndex,k=e.onMouseEnter,$=e.onMouseLeave,O=e.onPointerEnter,M=e.onPointerDownCapture,N=e.ready,j=e.offsetX,I=e.offsetY,P=e.offsetR,T=e.offsetB,R=e.onAlign,B=e.onPrepare,z=e.stretch,D=e.targetWidth,L=e.targetHeight,F="function"==typeof n?n():n,H=s||u,A=(null==C?void 0:C.length)>0,_=tt(i.useState(!C||!A),2),W=_[0],V=_[1];if(dn((function(){!W&&A&&l&&V(!0)}),[W,A,l]),!W)return null;var X="auto",G={left:"-1000vw",top:"-1000vh",right:X,bottom:X};if(N||!s){var q,K=v.points,U=v.dynamicInset||(null===(q=v._experimental)||void 0===q?void 0:q.dynamicInset),Y=U&&"r"===K[0][1],Z=U&&"b"===K[0][0];Y?(G.right=P,G.left=X):(G.left=j,G.right=X),Z?(G.bottom=T,G.top=X):(G.top=I,G.bottom=X)}var Q={};return z&&(z.includes("height")&&L?Q.height=L:z.includes("minHeight")&&L&&(Q.minHeight=L),z.includes("width")&&D?Q.width=D:z.includes("minWidth")&&D&&(Q.minWidth=D)),s||(Q.pointerEvents="none"),i.createElement(S,{open:x||H,getContainer:C&&function(){return C(l)},autoDestroy:w},i.createElement(Ih,{prefixCls:r,open:s,zIndex:E,mask:m,motion:y}),i.createElement($r,{onResize:R,disabled:!s},(function(e){return i.createElement(Kl,Mn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(r,"-hidden")},b,{onAppearPrepare:B,onEnterPrepare:B,visible:s,onVisibleChanged:function(e){var t;null==b||null===(t=b.onVisibleChanged)||void 0===t||t.call(b,e),c(e)}}),(function(n,l){var c=n.className,u=n.style,m=f(r,c,o);return i.createElement("div",{ref:Xo(e,t,l),className:m,style:lt(lt(lt(lt({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},G),Q),u),{},{boxSizing:"border-box",zIndex:E},a),onMouseEnter:k,onMouseLeave:$,onPointerEnter:O,onClick:p,onPointerDownCapture:M},g&&i.createElement(jh,{prefixCls:r,arrow:g,arrowPos:h,align:v}),i.createElement(Ph,{cache:!s&&!d},F))}))})))}));"production"!==process.env.NODE_ENV&&(Th.displayName="Popup");var Rh=i.forwardRef((function(e,t){var n=e.children,o=e.getTriggerDOMNode,r=qo(n),a=i.useCallback((function(e){Vo(t,o?o(e):e)}),[o]),l=Go(a,Uo(n));return r?i.cloneElement(n,{ref:l}):n}));"production"!==process.env.NODE_ENV&&(Rh.displayName="TriggerWrapper");var Bh=i.createContext(null);function zh(e){return e?Array.isArray(e)?e:[e]:[]}function Dh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Lh(e,t,n,o){return t||(n?{motionName:"".concat(e,"-").concat(n)}:o?{motionName:o}:null)}function Fh(e){return e.ownerDocument.defaultView}function Hh(e){for(var t=[],n=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=Fh(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some((function(e){return o.includes(e)}))&&t.push(n),n=n.parentElement}return t}function Ah(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function _h(e){return Ah(parseFloat(e),0)}function Wh(e,t){var n=lt({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=Fh(e).getComputedStyle(e),o=t.overflow,r=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,c=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,f=e.clientWidth,m=_h(i),g=_h(a),h=_h(l),v=_h(c),b=Ah(Math.round(s.width/p*1e3)/1e3),y=Ah(Math.round(s.height/u*1e3)/1e3),x=(p-f-h-v)*b,C=(u-d-m-g)*y,w=m*y,S=g*y,E=h*b,k=v*b,$=0,O=0;if("clip"===o){var M=_h(r);$=M*b,O=M*y}var N=s.x+E-$,j=s.y+w-O,I=N+s.width+2*$-E-k-x,P=j+s.height+2*O-w-S-C;n.left=Math.max(n.left,N),n.top=Math.max(n.top,j),n.right=Math.min(n.right,I),n.bottom=Math.min(n.bottom,P)}})),n}function Vh(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function Xh(e,t){var n=tt(t||[],2),o=n[0],r=n[1];return[Vh(e.width,o),Vh(e.height,r)]}function Gh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function qh(e,t){var n,o=t[0],r=t[1];return n="t"===o?e.y:"b"===o?e.y+e.height:e.y+e.height/2,{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:n}}function Kh(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,o){return o===t?n[e]||"c":e})).join("")}var Uh=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];var Yh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nf,t=i.forwardRef((function(t,n){var o=t.prefixCls,r=void 0===o?"rc-trigger-popup":o,a=t.children,l=t.action,c=void 0===l?"hover":l,s=t.showAction,u=t.hideAction,d=t.popupVisible,p=t.defaultPopupVisible,m=t.onPopupVisibleChange,g=t.afterPopupVisibleChange,h=t.mouseEnterDelay,v=t.mouseLeaveDelay,b=void 0===v?.1:v,y=t.focusDelay,x=t.blurDelay,C=t.mask,w=t.maskClosable,S=void 0===w||w,E=t.getPopupContainer,k=t.forceRender,$=t.autoDestroy,O=t.destroyPopupOnHide,M=t.popup,N=t.popupClassName,j=t.popupStyle,I=t.popupPlacement,P=t.builtinPlacements,T=void 0===P?{}:P,R=t.popupAlign,B=t.zIndex,z=t.stretch,D=t.getPopupClassNameFromAlign,L=t.fresh,F=t.alignPoint,H=t.onPopupClick,A=t.onPopupAlign,_=t.arrow,W=t.popupMotion,V=t.maskMotion,X=t.popupTransitionName,G=t.popupAnimation,q=t.maskTransitionName,K=t.maskAnimation,U=t.className,Y=t.getTriggerDOMNode,Z=nt(t,Uh),Q=$||O||!1,J=tt(i.useState(!1),2),ee=J[0],te=J[1];dn((function(){te(Ug())}),[]);var ne=i.useRef({}),oe=i.useContext(Bh),re=i.useMemo((function(){return{registerSubPopup:function(e,t){ne.current[e]=t,null==oe||oe.registerSubPopup(e,t)}}}),[oe]),ie=lf(),ae=tt(i.useState(null),2),le=ae[0],ce=ae[1],se=i.useRef(null),ue=ja((function(e){se.current=e,Ao(e)&&le!==e&&ce(e),null==oe||oe.registerSubPopup(ie,e)})),de=tt(i.useState(null),2),pe=de[0],fe=de[1],me=i.useRef(null),ge=ja((function(e){Ao(e)&&pe!==e&&(fe(e),me.current=e)})),he=i.Children.only(a),ve=(null==he?void 0:he.props)||{},be={},ye=ja((function(e){var t,n,o=pe;return(null==o?void 0:o.contains(e))||(null===(t=jc(o))||void 0===t?void 0:t.host)===e||e===o||(null==le?void 0:le.contains(e))||(null===(n=jc(le))||void 0===n?void 0:n.host)===e||e===le||Object.values(ne.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),xe=Lh(r,W,G,X),Ce=Lh(r,V,K,q),we=tt(i.useState(p||!1),2),Se=we[0],Ee=we[1],ke=null!=d?d:Se,$e=ja((function(e){void 0===d&&Ee(e)}));dn((function(){Ee(d||!1)}),[d]);var Oe=i.useRef(ke);Oe.current=ke;var Me=i.useRef([]);Me.current=[];var Ne=ja((function(e){var t;$e(e),(null!==(t=Me.current[Me.current.length-1])&&void 0!==t?t:ke)!==e&&(Me.current.push(e),null==m||m(e))})),je=i.useRef(),Ie=function(){clearTimeout(je.current)},Pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Ie(),0===t?Ne(e):je.current=setTimeout((function(){Ne(e)}),1e3*t)};i.useEffect((function(){return Ie}),[]);var Te=tt(i.useState(!1),2),Re=Te[0],Be=Te[1];dn((function(e){e&&!ke||Be(!0)}),[ke]);var ze=tt(i.useState(null),2),De=ze[0],Le=ze[1],Fe=tt(i.useState(null),2),He=Fe[0],Ae=Fe[1],_e=function(e){Ae([e.clientX,e.clientY])},We=function(e,t,n,o,r,a,l){var c=tt(i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[o]||{}}),2),s=c[0],u=c[1],d=i.useRef(0),p=i.useMemo((function(){return t?Hh(t):[]}),[t]),f=i.useRef({});e||(f.current={});var m=ja((function(){if(t&&n&&e){var i,c,s,d,m,g=t,h=g.ownerDocument,v=Fh(g).getComputedStyle(g),b=v.width,y=v.height,x=v.position,C=g.style.left,w=g.style.top,S=g.style.right,E=g.style.bottom,k=g.style.overflow,$=lt(lt({},r[o]),a),O=h.createElement("div");if(null===(i=g.parentElement)||void 0===i||i.appendChild(O),O.style.left="".concat(g.offsetLeft,"px"),O.style.top="".concat(g.offsetTop,"px"),O.style.position=x,O.style.height="".concat(g.offsetHeight,"px"),O.style.width="".concat(g.offsetWidth,"px"),g.style.left="0",g.style.top="0",g.style.right="auto",g.style.bottom="auto",g.style.overflow="hidden",Array.isArray(n))m={x:n[0],y:n[1],width:0,height:0};else{var M,N,j=n.getBoundingClientRect();j.x=null!==(M=j.x)&&void 0!==M?M:j.left,j.y=null!==(N=j.y)&&void 0!==N?N:j.top,m={x:j.x,y:j.y,width:j.width,height:j.height}}var I=g.getBoundingClientRect();I.x=null!==(c=I.x)&&void 0!==c?c:I.left,I.y=null!==(s=I.y)&&void 0!==s?s:I.top;var P=h.documentElement,T=P.clientWidth,R=P.clientHeight,B=P.scrollWidth,z=P.scrollHeight,D=P.scrollTop,L=P.scrollLeft,F=I.height,H=I.width,A=m.height,_=m.width,W={left:0,top:0,right:T,bottom:R},V={left:-L,top:-D,right:B-L,bottom:z-D},X=$.htmlRegion,G="visible",q="visibleFirst";"scroll"!==X&&X!==q&&(X=G);var K=X===q,U=Wh(V,p),Y=Wh(W,p),Z=X===G?Y:U,Q=K?Y:Z;g.style.left="auto",g.style.top="auto",g.style.right="0",g.style.bottom="0";var J=g.getBoundingClientRect();g.style.left=C,g.style.top=w,g.style.right=S,g.style.bottom=E,g.style.overflow=k,null===(d=g.parentElement)||void 0===d||d.removeChild(O);var ee=Ah(Math.round(H/parseFloat(b)*1e3)/1e3),te=Ah(Math.round(F/parseFloat(y)*1e3)/1e3);if(0===ee||0===te||Ao(n)&&!wu(n))return;var ne=$.offset,oe=$.targetOffset,re=tt(Xh(I,ne),2),ie=re[0],ae=re[1],le=tt(Xh(m,oe),2),ce=le[0],se=le[1];m.x-=ce,m.y-=se;var ue=tt($.points||[],2),de=ue[0],pe=Gh(ue[1]),fe=Gh(de),me=qh(m,pe),ge=qh(I,fe),he=lt({},$),ve=me.x-ge.x+ie,be=me.y-ge.y+ae;function ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z,o=I.x+e,r=I.y+t,i=o+H,a=r+F,l=Math.max(o,n.left),c=Math.max(r,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-l)*(u-c))}var ye,xe,Ce,we,Se=ft(ve,be),Ee=ft(ve,be,Y),ke=qh(m,["t","l"]),$e=qh(I,["t","l"]),Oe=qh(m,["b","r"]),Me=qh(I,["b","r"]),Ne=$.overflow||{},je=Ne.adjustX,Ie=Ne.adjustY,Pe=Ne.shiftX,Te=Ne.shiftY,Re=function(e){return"boolean"==typeof e?e:e>=0};function mt(){ye=I.y+be,xe=ye+F,Ce=I.x+ve,we=Ce+H}mt();var Be=Re(Ie),ze=fe[0]===pe[0];if(Be&&"t"===fe[0]&&(xe>Q.bottom||f.current.bt)){var De=be;ze?De-=F-A:De=ke.y-Me.y-ae;var Le=ft(ve,De),Fe=ft(ve,De,Y);Le>Se||Le===Se&&(!K||Fe>=Ee)?(f.current.bt=!0,be=De,ae=-ae,he.points=[Kh(fe,0),Kh(pe,0)]):f.current.bt=!1}if(Be&&"b"===fe[0]&&(ye<Q.top||f.current.tb)){var He=be;ze?He+=F-A:He=Oe.y-$e.y-ae;var Ae=ft(ve,He),_e=ft(ve,He,Y);Ae>Se||Ae===Se&&(!K||_e>=Ee)?(f.current.tb=!0,be=He,ae=-ae,he.points=[Kh(fe,0),Kh(pe,0)]):f.current.tb=!1}var We=Re(je),Ve=fe[1]===pe[1];if(We&&"l"===fe[1]&&(we>Q.right||f.current.rl)){var Xe=ve;Ve?Xe-=H-_:Xe=ke.x-Me.x-ie;var Ge=ft(Xe,be),qe=ft(Xe,be,Y);Ge>Se||Ge===Se&&(!K||qe>=Ee)?(f.current.rl=!0,ve=Xe,ie=-ie,he.points=[Kh(fe,1),Kh(pe,1)]):f.current.rl=!1}if(We&&"r"===fe[1]&&(Ce<Q.left||f.current.lr)){var Ke=ve;Ve?Ke+=H-_:Ke=Oe.x-$e.x-ie;var Ue=ft(Ke,be),Ye=ft(Ke,be,Y);Ue>Se||Ue===Se&&(!K||Ye>=Ee)?(f.current.lr=!0,ve=Ke,ie=-ie,he.points=[Kh(fe,1),Kh(pe,1)]):f.current.lr=!1}mt();var Ze=!0===Pe?0:Pe;"number"==typeof Ze&&(Ce<Y.left&&(ve-=Ce-Y.left-ie,m.x+_<Y.left+Ze&&(ve+=m.x-Y.left+_-Ze)),we>Y.right&&(ve-=we-Y.right-ie,m.x>Y.right-Ze&&(ve+=m.x-Y.right+Ze)));var Qe=!0===Te?0:Te;"number"==typeof Qe&&(ye<Y.top&&(be-=ye-Y.top-ae,m.y+A<Y.top+Qe&&(be+=m.y-Y.top+A-Qe)),xe>Y.bottom&&(be-=xe-Y.bottom-ae,m.y>Y.bottom-Qe&&(be+=m.y-Y.bottom+Qe)));var Je=I.x+ve,et=Je+H,nt=I.y+be,ot=nt+F,rt=m.x,it=rt+_,at=m.y,ct=at+A,st=(Math.max(Je,rt)+Math.min(et,it))/2-Je,ut=(Math.max(nt,at)+Math.min(ot,ct))/2-nt;null==l||l(t,he);var dt=J.right-I.x-(ve+I.width),pt=J.bottom-I.y-(be+I.height);1===ee&&(ve=Math.round(ve),dt=Math.round(dt)),1===te&&(be=Math.round(be),pt=Math.round(pt)),u({ready:!0,offsetX:ve/ee,offsetY:be/te,offsetR:dt/ee,offsetB:pt/te,arrowX:st/ee,arrowY:ut/te,scaleX:ee,scaleY:te,align:he})}})),g=function(){u((function(e){return lt(lt({},e),{},{ready:!1})}))};return dn(g,[o]),dn((function(){e||g()}),[e]),[s.ready,s.offsetX,s.offsetY,s.offsetR,s.offsetB,s.arrowX,s.arrowY,s.scaleX,s.scaleY,s.align,function(){d.current+=1;var e=d.current;Promise.resolve().then((function(){d.current===e&&m()}))}]}(ke,le,F&&null!==He?He:pe,I,T,R,A),Ve=tt(We,11),Xe=Ve[0],Ge=Ve[1],qe=Ve[2],Ke=Ve[3],Ue=Ve[4],Ye=Ve[5],Ze=Ve[6],Je=Ve[7],et=Ve[8],ot=Ve[9],rt=Ve[10],it=function(e,t,n,o){return i.useMemo((function(){var r=zh(null!=n?n:t),i=zh(null!=o?o:t),a=new Set(r),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]}),[e,t,n,o])}(ee,c,s,u),at=tt(it,2),ct=at[0],st=at[1],ut=ct.has("click"),dt=st.has("click")||st.has("contextMenu"),pt=ja((function(){Re||rt()}));!function(e,t,n,o,r){dn((function(){if(e&&t&&n){var i=n,a=Hh(t),l=Hh(i),c=Fh(i),s=new Set([c].concat(Qe(a),Qe(l)));function u(){o(),r()}return s.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),c.addEventListener("resize",u,{passive:!0}),o(),function(){s.forEach((function(e){e.removeEventListener("scroll",u),c.removeEventListener("resize",u)}))}}}),[e,t,n])}(ke,pe,le,pt,(function(){Oe.current&&F&&dt&&Pe(!1)})),dn((function(){pt()}),[He,I]),dn((function(){!ke||null!=T&&T[I]||pt()}),[JSON.stringify(R)]);var ft=i.useMemo((function(){var e=function(e,t,n,o){for(var r=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var l,c=i[a];if(Dh(null===(l=e[c])||void 0===l?void 0:l.points,r,o))return"".concat(t,"-placement-").concat(c)}return""}(T,r,ot,F);return f(e,null==D?void 0:D(ot))}),[ot,D,T,r,F]);i.useImperativeHandle(n,(function(){return{nativeElement:me.current,popupElement:se.current,forceAlign:pt}}));var mt=tt(i.useState(0),2),gt=mt[0],ht=mt[1],vt=tt(i.useState(0),2),bt=vt[0],yt=vt[1],xt=function(){if(z&&pe){var e=pe.getBoundingClientRect();ht(e.width),yt(e.height)}};function Ct(e,t,n,o){be[e]=function(r){var i;null==o||o(r),Pe(t,n);for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];null===(i=ve[e])||void 0===i||i.call.apply(i,[ve,r].concat(l))}}dn((function(){De&&(rt(),De(),Le(null))}),[De]),(ut||dt)&&(be.onClick=function(e){var t;Oe.current&&dt?Pe(!1):!Oe.current&&ut&&(_e(e),Pe(!0));for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];null===(t=ve.onClick)||void 0===t||t.call.apply(t,[ve,e].concat(o))});var wt,St,kt=function(e,t,n,o,r,a,l,c){var s=i.useRef(e);s.current=e;var u=i.useRef(!1);return i.useEffect((function(){if(t&&o&&(!r||a)){var e=function(){u.current=!1},i=function(e){var t;!s.current||l((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||u.current||c(!1)},d=Fh(o);d.addEventListener("pointerdown",e,!0),d.addEventListener("mousedown",i,!0),d.addEventListener("contextmenu",i,!0);var p,f,m=jc(n);return m&&(m.addEventListener("mousedown",i,!0),m.addEventListener("contextmenu",i,!0)),"production"!==process.env.NODE_ENV&&Et((null==n||null===(p=n.getRootNode)||void 0===p?void 0:p.call(n))===(null===(f=o.getRootNode)||void 0===f?void 0:f.call(o)),"trigger element and popup element should in same shadow root."),function(){d.removeEventListener("pointerdown",e,!0),d.removeEventListener("mousedown",i,!0),d.removeEventListener("contextmenu",i,!0),m&&(m.removeEventListener("mousedown",i,!0),m.removeEventListener("contextmenu",i,!0))}}}),[t,n,o,r,a]),function(){u.current=!0}}(ke,dt,pe,le,C,S,ye,Pe),$t=ct.has("hover"),Ot=st.has("hover");$t&&(Ct("onMouseEnter",!0,h,(function(e){_e(e)})),Ct("onPointerEnter",!0,h,(function(e){_e(e)})),wt=function(e){(ke||Re)&&null!=le&&le.contains(e.target)&&Pe(!0,h)},F&&(be.onMouseMove=function(e){var t;null===(t=ve.onMouseMove)||void 0===t||t.call(ve,e)})),Ot&&(Ct("onMouseLeave",!1,b),Ct("onPointerLeave",!1,b),St=function(){Pe(!1,b)}),ct.has("focus")&&Ct("onFocus",!0,y),st.has("focus")&&Ct("onBlur",!1,x),ct.has("contextMenu")&&(be.onContextMenu=function(e){var t;Oe.current&&st.has("contextMenu")?Pe(!1):(_e(e),Pe(!0)),e.preventDefault();for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];null===(t=ve.onContextMenu)||void 0===t||t.call.apply(t,[ve,e].concat(o))}),U&&(be.className=f(ve.className,U));var Mt=lt(lt({},ve),be),Nt={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){Z[e]&&(Nt[e]=function(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];null===(t=Mt[e])||void 0===t||t.call.apply(t,[Mt].concat(o)),Z[e].apply(Z,o)})}));var jt=i.cloneElement(he,lt(lt({},Mt),Nt)),It={x:Ye,y:Ze},Pt=_?lt({},!0!==_?_:{}):null;return i.createElement(i.Fragment,null,i.createElement($r,{disabled:!ke,ref:ge,onResize:function(){xt(),pt()}},i.createElement(Rh,{getTriggerDOMNode:Y},jt)),i.createElement(Bh.Provider,{value:re},i.createElement(Th,{portal:e,ref:ue,prefixCls:r,popup:M,className:f(N,ft),style:j,target:pe,onMouseEnter:wt,onMouseLeave:St,onPointerEnter:wt,zIndex:B,open:ke,keepDom:Re,fresh:L,onClick:H,onPointerDownCapture:kt,mask:C,motion:xe,maskMotion:Ce,onVisibleChanged:function(e){Be(!1),rt(),null==g||g(e)},onPrepare:function(){return new Promise((function(e){xt(),Le((function(){return e}))}))},forceRender:k,autoDestroy:Q,getPopupContainer:E,align:ot,arrow:Pt,arrowPos:It,ready:Xe,offsetX:Ge,offsetY:qe,offsetR:Ke,offsetB:Ue,onAlign:pt,stretch:z,targetWidth:gt/Je,targetHeight:bt/et})))}));return"production"!==process.env.NODE_ENV&&(t.displayName="Trigger"),t}(nf),Zh=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Qh=function(e,t){var n=e.prefixCls;e.disabled;var o=e.visible,r=e.children,a=e.popupElement,l=e.animation,c=e.transitionName,s=e.dropdownStyle,u=e.dropdownClassName,d=e.direction,p=void 0===d?"ltr":d,m=e.placement,g=e.builtinPlacements,h=e.dropdownMatchSelectWidth,v=e.dropdownRender,b=e.dropdownAlign,y=e.getPopupContainer,x=e.empty,C=e.getTriggerDOMNode,w=e.onPopupVisibleChange,S=e.onPopupMouseEnter,E=nt(e,Zh),k="".concat(n,"-dropdown"),$=a;v&&($=v(a));var O=i.useMemo((function(){return g||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(h)}),[g,h]),M=l?"".concat(k,"-").concat(l):c,N="number"==typeof h,j=i.useMemo((function(){return N?null:!1===h?"minWidth":"width"}),[h,N]),I=s;N&&(I=lt(lt({},I),{},{width:h}));var P=i.useRef(null);return i.useImperativeHandle(t,(function(){return{getPopupElement:function(){var e;return null===(e=P.current)||void 0===e?void 0:e.popupElement}}})),i.createElement(Yh,Mn({},E,{showAction:w?["click"]:[],hideAction:w?["click"]:[],popupPlacement:m||("rtl"===p?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:k,popupTransitionName:M,popup:i.createElement("div",{onMouseEnter:S},$),ref:P,stretch:j,popupAlign:b,popupVisible:o,getPopupContainer:y,popupClassName:f(u,it({},"".concat(k,"-empty"),x)),popupStyle:I,getTriggerDOMNode:C,onPopupVisibleChange:w}),r)},Jh=i.forwardRef(Qh);function ev(e,t){var n,o=e.key;return"value"in e&&(n=e.value),null!=o?o:void 0!==n?n:"rc-index-key-".concat(t)}function tv(e){return void 0!==e&&!Number.isNaN(e)}function nv(e,t){var n=e||{},o=n.label||(t?"children":"label");return{label:o,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||o}}function ov(e){var t=lt({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Mt(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}"production"!==process.env.NODE_ENV&&(Jh.displayName="SelectTrigger");var rv=i.createContext(null);function iv(e){var t=e.visible,n=e.values;if(!t)return null;return i.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map((function(e){var t=e.label,n=e.value;return["number","string"].includes(ot(t))?t:n})).join(", ")),n.length>50?", ...":null)}var av=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],lv=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],cv=function(e){return"tags"===e||"multiple"===e},sv=i.forwardRef((function(e,n){var o,r=e.id,a=e.prefixCls,l=e.className,c=e.showSearch,s=e.tagRender,u=e.direction,d=e.omitDomProps,p=e.displayValues,m=e.onDisplayValuesChange,g=e.emptyOptions,h=e.notFoundContent,v=void 0===h?"Not Found":h,b=e.onClear,y=e.mode,x=e.disabled,C=e.loading,w=e.getInputElement,S=e.getRawInputElement,E=e.open,k=e.defaultOpen,$=e.onDropdownVisibleChange,O=e.activeValue,M=e.onActiveValueChange,N=e.activeDescendantId,j=e.searchValue,I=e.autoClearSearchValue,P=e.onSearch,T=e.onSearchSplit,R=e.tokenSeparators,B=e.allowClear,z=e.prefix,D=e.suffixIcon,L=e.clearIcon,F=e.OptionList,H=e.animation,A=e.transitionName,_=e.dropdownStyle,W=e.dropdownClassName,V=e.dropdownMatchSelectWidth,X=e.dropdownRender,G=e.dropdownAlign,q=e.placement,K=e.builtinPlacements,U=e.getPopupContainer,Y=e.showAction,Z=void 0===Y?[]:Y,Q=e.onFocus,J=e.onBlur,ee=e.onKeyUp,te=e.onKeyDown,ne=e.onMouseDown,oe=nt(e,av),re=cv(y),ie=(void 0!==c?c:re)||"combobox"===y,ae=lt({},oe);lv.forEach((function(e){delete ae[e]})),null==d||d.forEach((function(e){delete ae[e]}));var le=tt(i.useState(!1),2),ce=le[0],se=le[1];i.useEffect((function(){se(Ug())}),[]);var ue=i.useRef(null),de=i.useRef(null),pe=i.useRef(null),fe=i.useRef(null),me=i.useRef(null),ge=i.useRef(!1),he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=tt(i.useState(!1),2),n=t[0],o=t[1],r=i.useRef(null),a=function(){window.clearTimeout(r.current)};return i.useEffect((function(){return a}),[]),[n,function(t,n){a(),r.current=window.setTimeout((function(){o(t),n&&n()}),e)},a]}(),ve=tt(he,3),be=ve[0],ye=ve[1],xe=ve[2];i.useImperativeHandle(n,(function(){var e,t;return{focus:null===(e=fe.current)||void 0===e?void 0:e.focus,blur:null===(t=fe.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=me.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:ue.current||de.current}}));var Ce=i.useMemo((function(){var e;if("combobox"!==y)return j;var t=null===(e=p[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[j,y,p]),we="combobox"===y&&"function"==typeof w&&w()||null,Se="function"==typeof S&&S(),Ee=Go(de,null==Se||null===(o=Se.props)||void 0===o?void 0:o.ref),ke=tt(i.useState(!1),2),$e=ke[0],Oe=ke[1];dn((function(){Oe(!0)}),[]);var Me=tt(Ta(!1,{defaultValue:k,value:E}),2),Ne=Me[0],je=Me[1],Ie=!!$e&&Ne,Pe=!v&&g;(x||Pe&&Ie&&"combobox"===y)&&(Ie=!1);var Te=!Pe&&Ie,Re=i.useCallback((function(e){var t=void 0!==e?e:!Ie;x||(je(t),Ie!==t&&(null==$||$(t)))}),[x,Ie,je,$]),Be=i.useMemo((function(){return(R||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[R]),ze=i.useContext(rv)||{},De=ze.maxCount,Le=ze.rawValues,Fe=function(e,t,n){if(!(re&&tv(De)&&(null==Le?void 0:Le.size)>=De)){var o=!0,r=e;null==M||M(null);var i=function(e,t,n){if(!t||!t.length)return null;var o=!1,r=function e(t,n){var r=Br(n),i=r[0],a=r.slice(1);if(!i)return[t];var l=t.split(i);return o=o||l.length>1,l.reduce((function(t,n){return[].concat(Qe(t),Qe(e(n,a)))}),[]).filter(Boolean)}(e,t);return o?void 0!==n?r.slice(0,n):r:null}(e,R,tv(De)?De-Le.size:void 0),a=n?null:i;return"combobox"!==y&&a&&(r="",null==T||T(a),Re(!1),o=!1),P&&Ce!==r&&P(r,{source:t?"typing":"effect"}),o}};i.useEffect((function(){Ie||re||"combobox"===y||Fe("",!1,!1)}),[Ie]),i.useEffect((function(){Ne&&x&&je(!1),x&&!ge.current&&ye(!1)}),[x]);var He=tt(Qg(),2),Ae=He[0],_e=He[1],We=i.useRef(!1),Ve=i.useRef(!1),Xe=[];i.useEffect((function(){return function(){Xe.forEach((function(e){return clearTimeout(e)})),Xe.splice(0,Xe.length)}}),[]);var Ge,qe=tt(i.useState({}),2)[1];Se&&(Ge=function(e){Re(e)}),function(e,t,n,o){var r=i.useRef(null);r.current={open:t,triggerOpen:n,customizedTrigger:o},i.useEffect((function(){function t(t){var n;if(null===(n=r.current)||void 0===n||!n.customizedTrigger){var o=t.target;o.shadowRoot&&t.composed&&(o=t.composedPath()[0]||o),r.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(o)&&e!==o}))&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[ue.current,null===(e=pe.current)||void 0===e?void 0:e.getPopupElement()]}),Te,Re,!!Se);var Ke,Ue=i.useMemo((function(){return lt(lt({},e),{},{notFoundContent:v,open:Ie,triggerOpen:Te,id:r,showSearch:ie,multiple:re,toggleOpen:Re})}),[e,v,Te,Ie,r,ie,re,Re]),Ye=!!D||C;Ye&&(Ke=i.createElement(Yg,{className:f("".concat(a,"-arrow"),it({},"".concat(a,"-arrow-loading"),C)),customizeIcon:D,customizeIconProps:{loading:C,searchValue:Ce,open:Ie,focused:be,showSearch:ie}}));var Ze,Je=function(e,n,o,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,s=t.useMemo((function(){return"object"===ot(r)?r.clearIcon:i||void 0}),[r,i]);return{allowClear:t.useMemo((function(){return!(a||!r||!o.length&&!l||"combobox"===c&&""===l)}),[r,a,o.length,l,c]),clearIcon:t.createElement(Yg,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:s},"×")}}(a,(function(){var e;null==b||b(),null===(e=fe.current)||void 0===e||e.focus(),m([],{type:"clear",values:p}),Fe("",!1,!1)}),p,B,L,x,Ce,y),et=Je.allowClear,rt=Je.clearIcon,at=i.createElement(F,{ref:me}),ct=f(a,l,it(it(it(it(it(it(it(it(it(it({},"".concat(a,"-focused"),be),"".concat(a,"-multiple"),re),"".concat(a,"-single"),!re),"".concat(a,"-allow-clear"),B),"".concat(a,"-show-arrow"),Ye),"".concat(a,"-disabled"),x),"".concat(a,"-loading"),C),"".concat(a,"-open"),Ie),"".concat(a,"-customize-input"),we),"".concat(a,"-show-search"),ie)),st=i.createElement(Jh,{ref:pe,disabled:x,prefixCls:a,visible:Te,popupElement:at,animation:H,transitionName:A,dropdownStyle:_,dropdownClassName:W,direction:u,dropdownMatchSelectWidth:V,dropdownRender:X,dropdownAlign:G,placement:q,builtinPlacements:K,getPopupContainer:U,empty:g,getTriggerDOMNode:function(e){return de.current||e},onPopupVisibleChange:Ge,onPopupMouseEnter:function(){qe({})}},Se?i.cloneElement(Se,{ref:Ee}):i.createElement(Nh,Mn({},e,{domRef:de,prefixCls:a,inputElement:we,ref:fe,id:r,prefix:z,showSearch:ie,autoClearSearchValue:I,mode:y,activeDescendantId:N,tagRender:s,values:p,open:Ie,onToggleOpen:Re,activeValue:O,searchValue:Ce,onSearch:Fe,onSearchSubmit:function(e){e&&e.trim()&&P(e,{source:"submit"})},onRemove:function(e){var t=p.filter((function(t){return t!==e}));m(t,{type:"remove",values:[e]})},tokenWithEnter:Be,onInputBlur:function(){We.current=!1}})));return Ze=Se?st:i.createElement("div",Mn({className:ct},ae,{ref:ue,onMouseDown:function(e){var t,n=e.target,o=null===(t=pe.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout((function(){var e,t=Xe.indexOf(r);-1!==t&&Xe.splice(t,1),xe(),ce||o.contains(document.activeElement)||null===(e=fe.current)||void 0===e||e.focus()}));Xe.push(r)}for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];null==ne||ne.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=Ae(),o=e.key,r="Enter"===o;if(r&&("combobox"!==y&&e.preventDefault(),Ie||Re(!0)),_e(!!Ce),"Backspace"===o&&!n&&re&&!Ce&&p.length){for(var i=Qe(p),a=null,l=i.length-1;l>=0;l-=1){var c=i[l];if(!c.disabled){i.splice(l,1),a=c;break}}a&&m(i,{type:"remove",values:[a]})}for(var s=arguments.length,u=new Array(s>1?s-1:0),d=1;d<s;d++)u[d-1]=arguments[d];!Ie||r&&We.current||(r&&(We.current=!0),null===(t=me.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(u))),null==te||te.apply(void 0,[e].concat(u))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r;Ie&&(null===(r=me.current)||void 0===r||r.onKeyUp.apply(r,[e].concat(n))),"Enter"===e.key&&(We.current=!1),null==ee||ee.apply(void 0,[e].concat(n))},onFocus:function(){ye(!0),x||(Q&&!Ve.current&&Q.apply(void 0,arguments),Z.includes("focus")&&Re(!0)),Ve.current=!0},onBlur:function(){ge.current=!0,ye(!1,(function(){Ve.current=!1,ge.current=!1,Re(!1)})),x||(Ce&&("tags"===y?P(Ce,{source:"submit"}):"multiple"===y&&P("",{source:"blur"})),J&&J.apply(void 0,arguments))}}),i.createElement(iv,{visible:be&&!Ie,values:p}),st,Ke,et&&rt),i.createElement(Zg.Provider,{value:Ue},Ze)}));"production"!==process.env.NODE_ENV&&(sv.displayName="BaseSelect");var uv=function(){return null};uv.isSelectOptGroup=!0;var dv=function(){return null};dv.isSelectOption=!0;var pv=i.forwardRef((function(e,t){var n=e.height,o=e.offsetY,r=e.offsetX,a=e.children,l=e.prefixCls,c=e.onInnerResize,s=e.innerProps,u=e.rtl,d=e.extra,p={},m={display:"flex",flexDirection:"column"};return void 0!==o&&(p={height:n,position:"relative",overflow:"hidden"},m=lt(lt({},m),{},it(it(it(it(it({transform:"translateY(".concat(o,"px)")},u?"marginRight":"marginLeft",-r),"position","absolute"),"left",0),"right",0),"top",0))),i.createElement("div",{style:p},i.createElement($r,{onResize:function(e){e.offsetHeight&&c&&c()}},i.createElement("div",Mn({style:m,className:f(it({},"".concat(l,"-holder-inner"),l)),ref:t},s),a,d)))}));function fv(e){var t=e.children,n=e.setRef,o=i.useCallback((function(e){n(e)}),[]);return i.cloneElement(t,{ref:o})}function mv(e,t,n){var o=tt(i.useState(e),2),r=o[0],a=o[1],l=tt(i.useState(null),2),c=l[0],s=l[1];return i.useEffect((function(){var n=function(e,t,n){var o,r,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(o=e,r=t):(o=t,r=e);var l={__EMPTY_ITEM__:!0};function c(e){return void 0!==e?n(e):l}for(var s=null,u=1!==Math.abs(i-a),d=0;d<r.length;d+=1){var p=c(o[d]);if(p!==c(r[d])){s=d,u=u||p!==c(r[d+1]);break}}return null===s?null:{index:s,multiple:u}}(r||[],e||[],t);void 0!==(null==n?void 0:n.index)&&s(e[n.index]),a(e)}),[e]),[c]}pv.displayName="Filler";var gv="object"===("undefined"==typeof navigator?"undefined":ot(navigator))&&/Firefox/i.test(navigator.userAgent),hv=function(e,n,o,r){var i=t.useRef(!1),a=t.useRef(null);var l=t.useRef({top:e,bottom:n,left:o,right:r});return l.current.top=e,l.current.bottom=n,l.current.left=o,l.current.right=r,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&o?(clearTimeout(a.current),i.current=!1):o&&!i.current||(clearTimeout(a.current),i.current=!0,a.current=setTimeout((function(){i.current=!1}),50)),!i.current&&o}};function vv(e,n,o,r,i,a,l){var c=t.useRef(0),s=t.useRef(null),u=t.useRef(null),d=t.useRef(!1),p=hv(n,o,r,i);var f=t.useRef(null),m=t.useRef(null);return[function(t){if(e){Pr.cancel(m.current),m.current=Pr((function(){f.current=null}),2);var n=t.deltaX,o=t.deltaY,r=t.shiftKey,i=n,g=o;("sx"===f.current||!f.current&&r&&o&&!n)&&(i=o,g=0,f.current="sx");var h=Math.abs(i),v=Math.abs(g);null===f.current&&(f.current=a&&h>v?"x":"y"),"y"===f.current?function(e,t){if(Pr.cancel(s.current),!p(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,c.current+=t,u.current=t,gv||n.preventDefault(),s.current=Pr((function(){var e=d.current?10:1;l(c.current*e,!1),c.current=0})))}}(t,g):function(e,t){l(t,!0),gv||e.preventDefault()}(t,i)}},function(t){e&&(d.current=t.detail===u.current)}]}var bv=function(){function e(){It(this,e),it(this,"maps",void 0),it(this,"id",0),it(this,"diffKeys",new Set),this.maps=Object.create(null)}return Tt(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1,this.diffKeys.add(e)}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),e}();function yv(e){var t=parseFloat(e);return isNaN(t)?0:t}var xv=14/15;function Cv(e){return Math.floor(Math.pow(e,.5))}function wv(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var Sv=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,a=e.scrollRange,l=e.onStartMove,c=e.onStopMove,s=e.onScroll,u=e.horizontal,d=e.spinSize,p=e.containerSize,m=e.style,g=e.thumbStyle,h=e.showScrollBar,v=tt(i.useState(!1),2),b=v[0],y=v[1],x=tt(i.useState(null),2),C=x[0],w=x[1],S=tt(i.useState(null),2),E=S[0],k=S[1],$=!o,O=i.useRef(),M=i.useRef(),N=tt(i.useState(h),2),j=N[0],I=N[1],P=i.useRef(),T=function(){!0!==h&&!1!==h&&(clearTimeout(P.current),I(!0),P.current=setTimeout((function(){I(!1)}),3e3))},R=a-p||0,B=p-d||0,z=i.useMemo((function(){return 0===r||0===R?0:r/R*B}),[r,R,B]),D=i.useRef({top:z,dragging:b,pageY:C,startTop:E});D.current={top:z,dragging:b,pageY:C,startTop:E};var L=function(e){y(!0),w(wv(e,u)),k(D.current.top),l(),e.stopPropagation(),e.preventDefault()};i.useEffect((function(){var e=function(e){e.preventDefault()},t=O.current,n=M.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",L,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",L)}}),[]);var F=i.useRef();F.current=R;var H=i.useRef();H.current=B,i.useEffect((function(){if(b){var e,t=function(t){var n=D.current,o=n.dragging,r=n.pageY,i=n.startTop;Pr.cancel(e);var a=O.current.getBoundingClientRect(),l=p/(u?a.width:a.height);if(o){var c=(wv(t,u)-r)*l,d=i;!$&&u?d-=c:d+=c;var f=F.current,m=H.current,g=m?d/m:0,h=Math.ceil(g*f);h=Math.max(h,0),h=Math.min(h,f),e=Pr((function(){s(h,u)}))}},n=function(){y(!1),c()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),Pr.cancel(e)}}}),[b]),i.useEffect((function(){return T(),function(){clearTimeout(P.current)}}),[r]),i.useImperativeHandle(t,(function(){return{delayHidden:T}}));var A="".concat(n,"-scrollbar"),_={position:"absolute",visibility:j?null:"hidden"},W={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(_.height=8,_.left=0,_.right=0,_.bottom=0,W.height="100%",W.width=d,$?W.left=z:W.right=z):(_.width=8,_.top=0,_.bottom=0,$?_.right=0:_.left=0,W.width="100%",W.height=d,W.top=z),i.createElement("div",{ref:O,className:f(A,it(it(it({},"".concat(A,"-horizontal"),u),"".concat(A,"-vertical"),!u),"".concat(A,"-visible"),j)),style:lt(lt({},_),m),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:T},i.createElement("div",{ref:M,className:f("".concat(A,"-thumb"),it({},"".concat(A,"-thumb-moving"),b)),style:lt(lt({},W),g),onMouseDown:L}))}));"production"!==process.env.NODE_ENV&&(Sv.displayName="ScrollBar");function Ev(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*e;return isNaN(t)&&(t=0),t=Math.max(t,20),Math.floor(t)}var kv=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],$v=[],Ov={overflowY:"auto",overflowAnchor:"none"};function Mv(e,o){var r=e.prefixCls,a=void 0===r?"rc-virtual-list":r,l=e.className,c=e.height,s=e.itemHeight,u=e.fullHeight,d=void 0===u||u,p=e.style,m=e.data,g=e.children,h=e.itemKey,v=e.virtual,b=e.direction,y=e.scrollWidth,x=e.component,C=void 0===x?"div":x,w=e.onScroll,S=e.onVirtualScroll,E=e.onVisibleChange,k=e.innerProps,$=e.extraRender,O=e.styles,M=e.showScrollBar,N=void 0===M?"optional":M,j=nt(e,kv),I=i.useCallback((function(e){return"function"==typeof h?h(e):null==e?void 0:e[h]}),[h]),P=function(e){var n=tt(i.useState(0),2),o=n[0],r=n[1],a=t.useRef(new Map),l=t.useRef(new bv),c=t.useRef(0);function s(){c.current+=1}function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];s();var t=function(){var e=!1;a.current.forEach((function(t,n){if(t&&t.offsetParent){var o=t.offsetHeight,r=getComputedStyle(t),i=r.marginTop,a=r.marginBottom,c=o+yv(i)+yv(a);l.current.get(n)!==c&&(l.current.set(n,c),e=!0)}})),e&&r((function(e){return e+1}))};if(e)t();else{c.current+=1;var n=c.current;Promise.resolve().then((function(){n===c.current&&t()}))}}return t.useEffect((function(){return s}),[]),[function(t,n){var o=e(t);a.current.get(o),n?(a.current.set(o,n),u()):a.current.delete(o)},u,l.current,o]}(I),T=tt(P,4),R=T[0],B=T[1],z=T[2],D=T[3],L=!(!1===v||!c||!s),F=i.useMemo((function(){return Object.values(z.maps).reduce((function(e,t){return e+t}),0)}),[z.id,z.maps]),H=L&&m&&(Math.max(s*m.length,F)>c||!!y),A="rtl"===b,_=f(a,it({},"".concat(a,"-rtl"),A),l),W=m||$v,V=t.useRef(),X=t.useRef(),G=t.useRef(),q=tt(t.useState(0),2),K=q[0],U=q[1],Y=tt(t.useState(0),2),Z=Y[0],Q=Y[1],J=tt(t.useState(!1),2),ee=J[0],te=J[1],ne=function(){te(!0)},oe=function(){te(!1)},re={getKey:I};function ie(e){U((function(t){var n=function(e){var t=e;Number.isNaN(we.current)||(t=Math.min(t,we.current));return t=Math.max(t,0),t}("function"==typeof e?e(t):e);return V.current.scrollTop=n,n}))}var ae=t.useRef({start:0,end:W.length}),le=t.useRef(),ce=tt(mv(W,I),1)[0];le.current=ce;var se=i.useMemo((function(){if(!L)return{scrollHeight:void 0,start:0,end:W.length-1,offset:void 0};var e;if(!H)return{scrollHeight:(null===(e=X.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:W.length-1,offset:void 0};for(var t,n,o,r=0,i=W.length,a=0;a<i;a+=1){var l=W[a],u=I(l),d=z.get(u),p=r+(void 0===d?s:d);p>=K&&void 0===t&&(t=a,n=r),p>K+c&&void 0===o&&(o=a),r=p}return void 0===t&&(t=0,n=0,o=Math.ceil(c/s)),void 0===o&&(o=W.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,W.length-1),offset:n}}),[H,L,K,W,D,c]),ue=se.scrollHeight,de=se.start,pe=se.end,fe=se.offset;ae.current.start=de,ae.current.end=pe,i.useLayoutEffect((function(){var e=z.getRecord();if(1===e.size){var t=Array.from(e)[0],n=W[de];if(n)if(I(n)===t){var o=z.get(t)-s;ie((function(e){return e+o}))}}z.resetRecord()}),[ue]);var me=tt(i.useState({width:0,height:c}),2),ge=me[0],he=me[1],ve=t.useRef(),be=t.useRef(),ye=i.useMemo((function(){return Ev(ge.width,y)}),[ge.width,y]),xe=i.useMemo((function(){return Ev(ge.height,ue)}),[ge.height,ue]),Ce=ue-c,we=t.useRef(Ce);we.current=Ce;var Se=K<=0,Ee=K>=Ce,ke=Z<=0,$e=Z>=y,Oe=hv(Se,Ee,ke,$e),Me=function(){return{x:A?-Z:Z,y:K}},Ne=t.useRef(Me()),je=ja((function(e){if(S){var t=lt(lt({},Me()),e);Ne.current.x===t.x&&Ne.current.y===t.y||(S(t),Ne.current=t)}}));function Ie(e,t){var o=e;t?(n.flushSync((function(){Q(o)})),je()):ie(o)}var Pe=function(e){var t=e,n=y?y-ge.width:0;return t=Math.max(t,0),t=Math.min(t,n)},Te=ja((function(e,t){t?(n.flushSync((function(){Q((function(t){return Pe(t+(A?-e:e))}))})),je()):ie((function(t){return t+e}))})),Re=tt(vv(L,Se,Ee,ke,$e,!!y,Te),2),Be=Re[0],ze=Re[1];!function(e,n,o){var r,i=t.useRef(!1),a=t.useRef(0),l=t.useRef(0),c=t.useRef(null),s=t.useRef(null),u=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),r=a.current-t,c=l.current-n,u=Math.abs(r)>Math.abs(c);u?a.current=t:l.current=n;var d=o(u,u?r:c,!1,e);d&&e.preventDefault(),clearInterval(s.current),d&&(s.current=setInterval((function(){u?r*=xv:c*=xv;var e=Math.floor(u?r:c);(!o(u,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)}),16))}},d=function(){i.current=!1,r()},p=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,a.current=Math.ceil(e.touches[0].pageX),l.current=Math.ceil(e.touches[0].pageY),c.current=e.target,c.current.addEventListener("touchmove",u,{passive:!1}),c.current.addEventListener("touchend",d,{passive:!0}))};r=function(){c.current&&(c.current.removeEventListener("touchmove",u),c.current.removeEventListener("touchend",d))},dn((function(){return e&&n.current.addEventListener("touchstart",p,{passive:!0}),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",p),r(),clearInterval(s.current)}}),[e])}(L,V,(function(e,t,n,o){var r=o;return!Oe(e,t,n)&&((!r||!r._virtualHandled)&&(r&&(r._virtualHandled=!0),Be({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0))})),function(e,t,n){i.useEffect((function(){var o=t.current;if(e&&o){var r,i,a=!1,l=function(){Pr.cancel(r)},c=function e(){l(),r=Pr((function(){n(i),e()}))},s=function(e){if(!e.target.draggable&&0===e.button){var t=e;t._virtualHandled||(t._virtualHandled=!0,a=!0)}},u=function(){a=!1,l()},d=function(e){if(a){var t=wv(e,!1),n=o.getBoundingClientRect(),r=n.top,s=n.bottom;t<=r?(i=-Cv(r-t),c()):t>=s?(i=Cv(t-s),c()):l()}};return o.addEventListener("mousedown",s),o.ownerDocument.addEventListener("mouseup",u),o.ownerDocument.addEventListener("mousemove",d),function(){o.removeEventListener("mousedown",s),o.ownerDocument.removeEventListener("mouseup",u),o.ownerDocument.removeEventListener("mousemove",d),l()}}}),[e])}(H,V,(function(e){ie((function(t){return t+e}))})),dn((function(){function e(e){var t=Se&&e.detail<0,n=Ee&&e.detail>0;!L||t||n||e.preventDefault()}var t=V.current;return t.addEventListener("wheel",Be,{passive:!1}),t.addEventListener("DOMMouseScroll",ze,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",Be),t.removeEventListener("DOMMouseScroll",ze),t.removeEventListener("MozMousePixelScroll",e)}}),[L,Se,Ee]),dn((function(){if(y){var e=Pe(Z);Q(e),je({x:e})}}),[ge.width,y]);var De=function(){var e,t;null===(e=ve.current)||void 0===e||e.delayHidden(),null===(t=be.current)||void 0===t||t.delayHidden()},Le=function(e,t,n,o,r,a,l,c){var s=i.useRef(),u=tt(i.useState(null),2),d=u[0],p=u[1];return dn((function(){if(d&&d.times<10){if(!e.current)return void p((function(e){return lt({},e)}));a();var i=d.targetAlign,c=d.originAlign,s=d.index,u=d.offset,f=e.current.clientHeight,m=!1,g=i,h=null;if(f){for(var v=i||c,b=0,y=0,x=0,C=Math.min(t.length-1,s),w=0;w<=C;w+=1){var S=r(t[w]);y=b;var E=n.get(S);b=x=y+(void 0===E?o:E)}for(var k="top"===v?u:f-u,$=C;$>=0;$-=1){var O=r(t[$]),M=n.get(O);if(void 0===M){m=!0;break}if((k-=M)<=0)break}switch(v){case"top":h=y-u;break;case"bottom":h=x-f+u;break;default:var N=e.current.scrollTop;y<N?g="top":x>N+f&&(g="bottom")}null!==h&&l(h),h!==d.lastTop&&(m=!0)}m&&p(lt(lt({},d),{},{times:d.times+1,targetAlign:g,lastTop:h}))}else"production"!==process.env.NODE_ENV&&10===(null==d?void 0:d.times)&&Mt(!1,"Seems `scrollTo` with `rc-virtual-list` reach the max limitation. Please fire issue for us. Thanks.")}),[d,e.current]),function(e){if(null!=e){if(Pr.cancel(s.current),"number"==typeof e)l(e);else if(e&&"object"===ot(e)){var n,o=e.align;n="index"in e?e.index:t.findIndex((function(t){return r(t)===e.key}));var i=e.offset;p({times:0,index:n,offset:void 0===i?0:i,originAlign:o})}}else c()}}(V,W,z,s,I,(function(){return B(!0)}),ie,De);i.useImperativeHandle(o,(function(){return{nativeElement:G.current,getScrollInfo:Me,scrollTo:function(e){var t;(t=e)&&"object"===ot(t)&&("left"in t||"top"in t)?(void 0!==e.left&&Q(Pe(e.left)),Le(e.top)):Le(e)}}})),dn((function(){if(E){var e=W.slice(de,pe+1);E(e,W)}}),[de,pe,W]);var Fe=function(e,t,n,o){var r=tt(i.useMemo((function(){return[new Map,[]]}),[e,n.id,o]),2),a=r[0],l=r[1];return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,c=a.get(r),s=a.get(i);if(void 0===c||void 0===s)for(var u=e.length,d=l.length;d<u;d+=1){var p,f=e[d],m=t(f);a.set(m,d);var g=null!==(p=n.get(m))&&void 0!==p?p:o;if(l[d]=(l[d-1]||0)+g,m===r&&(c=d),m===i&&(s=d),void 0!==c&&void 0!==s)break}return{top:l[c-1]||0,bottom:l[s]}}}(W,I,z,s),He=null==$?void 0:$({start:de,end:pe,virtual:H,offsetX:Z,offsetY:fe,rtl:A,getSize:Fe}),Ae=function(e,t,n,o,r,a,l,c){var s=c.getKey;return e.slice(t,n+1).map((function(e,n){var c=l(e,t+n,{style:{width:o},offsetX:r}),u=s(e);return i.createElement(fv,{key:u,setRef:function(t){return a(e,t)}},c)}))}(W,de,pe,y,Z,R,g,re),_e=null;c&&(_e=lt(it({},d?"height":"maxHeight",c),Ov),L&&(_e.overflowY="hidden",y&&(_e.overflowX="hidden"),ee&&(_e.pointerEvents="none")));var We={};return A&&(We.dir="rtl"),i.createElement("div",Mn({ref:G,style:lt(lt({},p),{},{position:"relative"}),className:_},We,j),i.createElement($r,{onResize:function(e){he({width:e.offsetWidth,height:e.offsetHeight})}},i.createElement(C,{className:"".concat(a,"-holder"),style:_e,ref:V,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==K&&ie(t),null==w||w(e),je()},onMouseEnter:De},i.createElement(pv,{prefixCls:a,height:ue,offsetX:Z,offsetY:fe,scrollWidth:y,onInnerResize:B,ref:X,innerProps:k,rtl:A,extra:He},Ae))),H&&ue>c&&i.createElement(Sv,{ref:ve,prefixCls:a,scrollOffset:K,scrollRange:ue,rtl:A,onScroll:Ie,onStartMove:ne,onStopMove:oe,spinSize:xe,containerSize:ge.height,style:null==O?void 0:O.verticalScrollBar,thumbStyle:null==O?void 0:O.verticalScrollBarThumb,showScrollBar:N}),H&&y>ge.width&&i.createElement(Sv,{ref:be,prefixCls:a,scrollOffset:Z,scrollRange:y,rtl:A,onScroll:Ie,onStartMove:ne,onStopMove:oe,spinSize:ye,containerSize:ge.width,horizontal:!0,style:null==O?void 0:O.horizontalScrollBar,thumbStyle:null==O?void 0:O.horizontalScrollBarThumb,showScrollBar:N}))}var Nv=i.forwardRef(Mv);Nv.displayName="List";var jv=["disabled","title","children","style","className"];function Iv(e){return"string"==typeof e||"number"==typeof e}var Pv=function(e,n){var o=i.useContext(Zg),r=o.prefixCls,a=o.id,l=o.open,c=o.multiple,s=o.mode,u=o.searchValue,d=o.toggleOpen,p=o.notFoundContent,m=o.onPopupScroll,g=i.useContext(rv),h=g.maxCount,v=g.flattenOptions,b=g.onActiveValue,y=g.defaultActiveFirstOption,x=g.onSelect,C=g.menuItemSelectedIcon,w=g.rawValues,S=g.fieldNames,E=g.virtual,k=g.direction,$=g.listHeight,O=g.listItemHeight,M=g.optionRender,N="".concat(r,"-item"),j=Ct((function(){return v}),[l,v],(function(e,t){return t[0]&&e[1]!==t[1]})),I=i.useRef(null),P=i.useMemo((function(){return c&&tv(h)&&(null==w?void 0:w.size)>=h}),[c,h,null==w?void 0:w.size]),T=function(e){e.preventDefault()},R=function(e){var t;null===(t=I.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},B=i.useCallback((function(e){return"combobox"!==s&&w.has(e)}),[s,Qe(w).toString(),w.size]),z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=j.length,o=0;o<n;o+=1){var r=(e+o*t+n)%n,i=j[r]||{},a=i.group,l=i.data;if(!a&&(null==l||!l.disabled)&&(B(l.value)||!P))return r}return-1},D=tt(i.useState((function(){return z(0)})),2),L=D[0],F=D[1],H=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];F(e);var n={source:t?"keyboard":"mouse"},o=j[e];o?b(o.value,e,n):b(null,-1,n)};t.useEffect((function(){H(!1!==y?z(0):-1)}),[j.length,u]);var A=i.useCallback((function(e){return"combobox"===s?String(e).toLowerCase()===u.toLowerCase():w.has(e)}),[s,u,Qe(w).toString(),w.size]);t.useEffect((function(){var e,t=setTimeout((function(){if(!c&&l&&1===w.size){var e=Array.from(w)[0],t=j.findIndex((function(t){return t.data.value===e}));-1!==t&&(H(t),R(t))}}));l&&(null===(e=I.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[l,u]);var _=function(e){void 0!==e&&x(e,{selected:!w.has(e)}),c||d(!1)};if(i.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case xs.N:case xs.P:case xs.UP:case xs.DOWN:var o=0;if(t===xs.UP?o=-1:t===xs.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===xs.N?o=1:t===xs.P&&(o=-1)),0!==o){var r=z(L+o,o);R(r),H(r,!0)}break;case xs.TAB:case xs.ENTER:var i,a=j[L];!a||null!=a&&null!==(i=a.data)&&void 0!==i&&i.disabled||P?_(void 0):_(a.value),l&&e.preventDefault();break;case xs.ESC:d(!1),l&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){R(e)}}})),0===j.length)return i.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(N,"-empty"),onMouseDown:T},p);var W=Object.keys(S).map((function(e){return S[e]})),V=function(e){return e.label};function X(e,t){return{role:e.group?"presentation":"option",id:"".concat(a,"_list_").concat(t)}}var G=function(e){var t=j[e];if(!t)return null;var n=t.data||{},o=n.value,r=t.group,a=os(n,!0),l=V(t);return t?i.createElement("div",Mn({"aria-label":"string"!=typeof l||r?null:l},a,{key:e},X(t,e),{"aria-selected":A(o)}),o):null},q={role:"listbox",id:"".concat(a,"_list")};return i.createElement(i.Fragment,null,E&&i.createElement("div",Mn({},q,{style:{height:0,width:0,overflow:"hidden"}}),G(L-1),G(L),G(L+1)),i.createElement(Nv,{itemKey:"key",ref:I,data:j,height:$,itemHeight:O,fullHeight:!1,onMouseDown:T,onScroll:m,virtual:E,direction:k,innerProps:E?null:q},(function(e,t){var n=e.group,o=e.groupOption,r=e.data,a=e.label,l=e.value,c=r.key;if(n){var s,u=null!==(s=r.title)&&void 0!==s?s:Iv(a)?a.toString():void 0;return i.createElement("div",{className:f(N,"".concat(N,"-group"),r.className),title:u},void 0!==a?a:c)}var d=r.disabled,p=r.title;r.children;var m=r.style,g=r.className,h=Cu(nt(r,jv),W),v=B(l),b=d||!v&&P,y="".concat(N,"-option"),x=f(N,y,g,it(it(it(it({},"".concat(y,"-grouped"),o),"".concat(y,"-active"),L===t&&!b),"".concat(y,"-disabled"),b),"".concat(y,"-selected"),v)),w=V(e),S=!C||"function"==typeof C||v,k="number"==typeof w?w:w||l,$=Iv(k)?k.toString():void 0;return void 0!==p&&($=p),i.createElement("div",Mn({},os(h),E?{}:X(e,t),{"aria-selected":A(l),className:x,title:$,onMouseMove:function(){L===t||b||H(t)},onClick:function(){b||_(l)},style:m}),i.createElement("div",{className:"".concat(y,"-content")},"function"==typeof M?M(e,{index:t}):k),i.isValidElement(C)||v,S&&i.createElement(Yg,{className:"".concat(N,"-option-state"),customizeIcon:C,customizeIconProps:{value:l,disabled:b,isSelected:v}},v?"✓":null))})))},Tv=i.forwardRef(Pv);"production"!==process.env.NODE_ENV&&(Tv.displayName="OptionList");function Rv(e,t){return yh(e).join("").toUpperCase().includes(t)}var Bv=0,zv="test"!==process.env.NODE_ENV&&st();function Dv(e){var t=tt(i.useState(),2),n=t[0],o=t[1];return i.useEffect((function(){var e;o("rc_select_".concat((zv?(e=Bv,Bv+=1):e="TEST_OR_SSR",e)))}),[]),e||n}var Lv=["children","value"],Fv=["children"];function Hv(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Ho(e).map((function(e,n){if(!i.isValidElement(e)||!e.type)return null;var o=e,r=o.type.isSelectOptGroup,a=o.key,l=o.props,c=l.children,s=nt(l,Fv);return t||!r?function(e){var t=e,n=t.key,o=t.props,r=o.children,i=o.value;return lt({key:n,value:void 0!==i?i:n,children:r},nt(o,Lv))}(e):lt(lt({key:"__RC_SELECT_GRP__".concat(null===a?n:a,"__"),label:a},s),{},{options:Hv(c)})})).filter((function(e){return e}))}function Av(e){var t=i.useRef();t.current=e;var n=i.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var _v=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Wv=["inputValue"];var Vv=i.forwardRef((function(e,t){var n=e.id,o=e.mode,r=e.prefixCls,a=void 0===r?"rc-select":r,l=e.backfill,c=e.fieldNames,s=e.inputValue,u=e.searchValue,d=e.onSearch,p=e.autoClearSearchValue,f=void 0===p||p,m=e.onSelect,g=e.onDeselect,h=e.dropdownMatchSelectWidth,v=void 0===h||h,b=e.filterOption,y=e.filterSort,x=e.optionFilterProp,C=e.optionLabelProp,w=e.options,S=e.optionRender,E=e.children,k=e.defaultActiveFirstOption,$=e.menuItemSelectedIcon,O=e.virtual,M=e.direction,N=e.listHeight,j=void 0===N?200:N,I=e.listItemHeight,P=void 0===I?20:I,T=e.labelRender,R=e.value,B=e.defaultValue,z=e.labelInValue,D=e.onChange,L=e.maxCount,F=nt(e,_v),H=Dv(n),A=cv(o),_=!(w||!E),W=i.useMemo((function(){return(void 0!==b||"combobox"!==o)&&b}),[b,o]),V=i.useMemo((function(){return nv(c,_)}),[JSON.stringify(c),_]),X=tt(Ta("",{value:void 0!==u?u:s,postState:function(e){return e||""}}),2),G=X[0],q=X[1],K=function(e,t,n,o,r){return i.useMemo((function(){var i=e;!e&&(i=Hv(t));var a=new Map,l=new Map,c=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=0;s<t.length;s+=1){var u=t[s];!u[n.options]||i?(a.set(u[n.value],u),c(l,u,n.label),c(l,u,o),c(l,u,r)):e(u[n.options],!0)}}(i),{options:i,valueOptions:a,labelOptions:l}}),[e,t,n,o,r])}(w,E,V,x,C),U=K.valueOptions,Y=K.labelOptions,Z=K.options,Q=i.useCallback((function(e){return yh(e).map((function(e){var t,n,o,r,a,l;(function(e){return!e||"object"!==ot(e)})(e)?t=e:(o=e.key,n=e.label,t=null!==(l=e.value)&&void 0!==l?l:o);var c,s=U.get(t);if(s&&(void 0===n&&(n=null==s?void 0:s[C||V.label]),void 0===o&&(o=null!==(c=null==s?void 0:s.key)&&void 0!==c?c:t),r=null==s?void 0:s.disabled,a=null==s?void 0:s.title,"production"!==process.env.NODE_ENV&&!C)){var u=null==s?void 0:s[V.label];void 0===u||i.isValidElement(u)||i.isValidElement(n)||u===n||Mt(!1,"`label` of `value` is not same as `label` in Select options.")}return{label:n,value:t,key:o,disabled:r,title:a}}))}),[V,C,U]),J=tt(Ta(B,{value:R}),2),ee=J[0],te=J[1],ne=i.useMemo((function(){var e,t=Q(A&&null===ee?[]:ee);return"combobox"===o&&function(e){return!e&&0!==e}(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[ee,Q,o,A]),oe=function(e,t){var n=i.useRef({values:new Map,options:new Map});return[i.useMemo((function(){var o=n.current,r=o.values,i=o.options,a=e.map((function(e){var t;return void 0===e.label?lt(lt({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label}):e})),l=new Map,c=new Map;return a.forEach((function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||i.get(e.value))})),n.current.values=l,n.current.options=c,a}),[e,t]),i.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(ne,U),re=tt(oe,2),ie=re[0],ae=re[1],le=i.useMemo((function(){if(!o&&1===ie.length){var e=ie[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return ie.map((function(e){var t;return lt(lt({},e),{},{label:null!==(t="function"==typeof T?T(e):e.label)&&void 0!==t?t:e.value})}))}),[o,ie,T]),ce=i.useMemo((function(){return new Set(ie.map((function(e){return e.value})))}),[ie]);i.useEffect((function(){if("combobox"===o){var e,t=null===(e=ie[0])||void 0===e?void 0:e.value;q(function(e){return null!=e}(t)?String(t):"")}}),[ie]);var se=Av((function(e,t){var n=null!=t?t:e;return it(it({},V.value,e),V.label,n)})),ue=function(e,t,n,o,r){return i.useMemo((function(){if(!n||!1===o)return e;var i=t.options,a=t.label,l=t.value,c=[],s="function"==typeof o,u=n.toUpperCase(),d=s?o:function(e,t){return r?Rv(t[r],u):t[i]?Rv(t["children"!==a?a:"label"],u):Rv(t[l],u)},p=s?function(e){return ov(e)}:function(e){return e};return e.forEach((function(e){if(e[i])if(d(n,p(e)))c.push(e);else{var t=e[i].filter((function(e){return d(n,p(e))}));t.length&&c.push(lt(lt({},e),{},it({},i,t)))}else d(n,p(e))&&c.push(e)})),c}),[e,o,r,n,t])}(i.useMemo((function(){if("tags"!==o)return Z;var e=Qe(Z);return Qe(ie).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return U.has(e)})(n)||e.push(se(n,t.label))})),e}),[se,Z,U,ie,o]),V,G,W,x),de=i.useMemo((function(){return"tags"!==o||!G||ue.some((function(e){return e[x||"value"]===G}))||ue.some((function(e){return e[V.value]===G}))?ue:[se(G)].concat(Qe(ue))}),[se,x,o,ue,G,V]),pe=function e(t){return Qe(t).sort((function(e,t){return y(e,t,{searchValue:G})})).map((function(t){return Array.isArray(t.options)?lt(lt({},t),{},{options:t.options.length>0?e(t.options):t.options}):t}))},fe=i.useMemo((function(){return y?pe(de):de}),[de,y,G]),me=i.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=nv(n,!1),a=i.label,l=i.value,c=i.options,s=i.groupLabel;return function e(t,n){Array.isArray(t)&&t.forEach((function(t){if(n||!(c in t)){var i=t[l];r.push({key:ev(t,r.length),groupOption:n,data:t,label:t[a],value:i})}else{var u=t[s];void 0===u&&o&&(u=t.label),r.push({key:ev(t,r.length),group:!0,data:t,label:u}),e(t[c],!0)}}))}(e,!1),r}(fe,{fieldNames:V,childrenAsData:_})}),[fe,V,_]),ge=function(e){var t=Q(e);if(te(t),D&&(t.length!==ie.length||t.some((function(e,t){var n;return(null===(n=ie[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=z?t:t.map((function(e){return e.value})),o=t.map((function(e){return ov(ae(e.value))}));D(A?n:n[0],A?o:o[0])}},he=tt(i.useState(null),2),ve=he[0],be=he[1],ye=tt(i.useState(0),2),xe=ye[0],Ce=ye[1],we=void 0!==k?k:"combobox"!==o,Se=i.useCallback((function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).source,r=void 0===n?"keyboard":n;Ce(t),l&&"combobox"===o&&null!==e&&"keyboard"===r&&be(String(e))}),[l,o]),Ee=function(e,t,n){var o=function(){var t,n=ae(e);return[z?{label:null==n?void 0:n[V.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,ov(n)]};if(t&&m){var r=tt(o(),2),i=r[0],a=r[1];m(i,a)}else if(!t&&g&&"clear"!==n){var l=tt(o(),2),c=l[0],s=l[1];g(c,s)}},ke=Av((function(e,t){var n,r=!A||t.selected;n=r?A?[].concat(Qe(ie),[e]):[e]:ie.filter((function(t){return t.value!==e})),ge(n),Ee(e,r),"combobox"===o?be(""):cv&&!f||(q(""),be(""))})),$e=i.useMemo((function(){var e=!1!==O&&!1!==v;return lt(lt({},K),{},{flattenOptions:me,onActiveValue:Se,defaultActiveFirstOption:we,onSelect:ke,menuItemSelectedIcon:$,rawValues:ce,fieldNames:V,virtual:e,direction:M,listHeight:j,listItemHeight:P,childrenAsData:_,maxCount:L,optionRender:S})}),[L,K,me,Se,we,ke,$,ce,V,O,v,M,j,P,_,S]);return"production"!==process.env.NODE_ENV&&(function(e){var t=e.mode,n=e.options,o=e.children,r=e.backfill,a=e.allowClear,l=e.placeholder,c=e.getInputElement,s=e.showSearch,u=e.onSearch,d=e.defaultOpen,p=e.autoFocus,f=e.labelInValue,m=e.value,g=e.inputValue,h=e.optionLabelProp,v=cv(t),b=void 0!==s?s:v||"combobox"===t,y=n||Hv(o);if(Mt("tags"!==t||y.every((function(e){return!e.disabled})),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),("tags"===t||"combobox"===t)&&Mt(!y.some((function(e){return e.options?e.options.some((function(e){return"number"==typeof("value"in e?e.value:e.key)})):"number"==typeof("value"in e?e.value:e.key)})),"`value` of Option should not use number type when `mode` is `tags` or `combobox`."),Mt("combobox"!==t||!h,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Mt("combobox"===t||!r,"`backfill` only works with `combobox` mode."),Mt("combobox"===t||!c,"`getInputElement` only work with `combobox` mode."),Nt("combobox"!==t||!c||!a||!l,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),u&&!b&&"combobox"!==t&&"tags"!==t&&Mt(!1,"`onSearch` should work with `showSearch` instead of use alone."),Nt(!d||p,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),null!=m){var x=yh(m);Mt(!f||x.every((function(e){return"object"===ot(e)&&("key"in e||"value"in e)})),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Mt(!v||Array.isArray(m),"`value` should be array when `mode` is `multiple` or `tags`")}if(o){var C=null;Ho(o).some((function(e){if(!i.isValidElement(e)||!e.type)return!1;var t=e.type;return!t.isSelectOption&&(t.isSelectOptGroup?!Ho(e.props.children).every((function(t){return!(i.isValidElement(t)&&e.type&&!t.type.isSelectOption&&(C=t.type,1))})):(C=t,!0))})),C&&Mt(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(C.displayName||C.name||C,"`.")),Mt(void 0===g,"`inputValue` is deprecated, please use `searchValue` instead.")}}(e),function(e,t){e&&function e(n){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=0;r<n.length;r++){var i=n[r];if(null===i[null==t?void 0:t.value])return Mt(!1,"`value` in Select options should not be `null`."),!0;if(!o&&Array.isArray(i[null==t?void 0:t.options])&&e(i[null==t?void 0:t.options],!0))break}}(e)}(Z,V)),i.createElement(rv.Provider,{value:$e},i.createElement(sv,Mn({},F,{id:H,prefixCls:a,ref:t,omitDomProps:Wv,mode:o,displayValues:le,onDisplayValuesChange:function(e,t){ge(e);var n=t.type,o=t.values;"remove"!==n&&"clear"!==n||o.forEach((function(e){Ee(e.value,!1,n)}))},direction:M,searchValue:G,onSearch:function(e,t){if(q(e),be(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===o&&ge(e),null==d||d(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat(Qe(ce),[n])));ge(r),Ee(n,!0),q("")}}},autoClearSearchValue:f,onSearchSplit:function(e){var t=e;"tags"!==o&&(t=e.map((function(e){var t=Y.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat(Qe(ce),Qe(t))));ge(n),n.forEach((function(e){Ee(e,!0)}))},dropdownMatchSelectWidth:v,OptionList:Tv,emptyOptions:!me.length,activeValue:ve,activeDescendantId:"".concat(H,"_list_").concat(xe)})))}));"production"!==process.env.NODE_ENV&&(Vv.displayName="Select");var Xv=Vv;function Gv(e,t,n){return f({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}Xv.Option=dv,Xv.OptGroup=uv;const qv=(e,t)=>t||e,Kv=()=>{const[,e]=tl(),[t]=ai("Empty"),n=new gi(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,(null==t?void 0:t.description)||"Empty"),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),i.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),i.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),i.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),i.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};"production"!==process.env.NODE_ENV&&(Kv.displayName="EmptyImage");const Uv=()=>{const[,e]=tl(),[n]=ai("Empty"),{colorFill:o,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:l}=e,{borderColor:c,shadowColor:s,contentColor:u}=t.useMemo((()=>({borderColor:new gi(o).onBackground(l).toHexString(),shadowColor:new gi(r).onBackground(l).toHexString(),contentColor:new gi(a).onBackground(l).toHexString()})),[o,r,a,l]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,(null==n?void 0:n.description)||"Empty"),i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:c},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:u}))))};"production"!==process.env.NODE_ENV&&(Uv.displayName="SimpleImage");const Yv=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var Zv=cl("Empty",(e=>{const{componentCls:t,controlHeightLG:n,calc:o}=e,r=Da(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()});return[Yv(r)]})),Qv=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Jv=i.createElement(Kv,null),eb=i.createElement(Uv,null),tb=e=>{const{className:t,rootClassName:n,prefixCls:o,image:r=Jv,description:a,children:l,imageStyle:c,style:s,classNames:u,styles:d}=e,p=Qv(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:m,direction:g,className:h,style:v,classNames:b,styles:y}=ha("empty"),x=m("empty",o),[C,w,S]=Zv(x),[E]=ai("Empty"),k=void 0!==a?a:null==E?void 0:E.description,$="string"==typeof k?k:"empty";let O=null;if(O="string"==typeof r?i.createElement("img",{alt:$,src:r}):r,"production"!==process.env.NODE_ENV){const t=Gr("Empty");[["imageStyle","styles: { image: {} }"]].forEach((n=>{let[o,r]=n;t.deprecated(!(o in e),o,r)}))}return C(i.createElement("div",Object.assign({className:f(w,S,x,h,{[`${x}-normal`]:r===eb,[`${x}-rtl`]:"rtl"===g},t,n,b.root,null==u?void 0:u.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},y.root),v),null==d?void 0:d.root),s)},p),i.createElement("div",{className:f(`${x}-image`,b.image,null==u?void 0:u.image),style:Object.assign(Object.assign(Object.assign({},c),y.image),null==d?void 0:d.image)},O),k&&i.createElement("div",{className:f(`${x}-description`,b.description,null==u?void 0:u.description),style:Object.assign(Object.assign({},y.description),null==d?void 0:d.description)},k),l&&i.createElement("div",{className:f(`${x}-footer`,b.footer,null==u?void 0:u.footer),style:Object.assign(Object.assign({},y.footer),null==d?void 0:d.footer)},l)))};tb.PRESENTED_IMAGE_DEFAULT=Jv,tb.PRESENTED_IMAGE_SIMPLE=eb,"production"!==process.env.NODE_ENV&&(tb.displayName="Empty");const nb=e=>{const{componentName:n}=e,{getPrefixCls:o}=t.useContext(fa),r=o("empty");switch(n){case"Table":case"List":return t.createElement(tb,{image:tb.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return t.createElement(tb,{image:tb.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return t.createElement(tb,null)}},ob=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var o,r;const{variant:a,[e]:l}=i.useContext(fa),c=i.useContext(Om),s=null==l?void 0:l.variant;let u;u=void 0!==t?t:!1===n?"borderless":null!==(r=null!==(o=null!=c?c:s)&&void 0!==o?o:a)&&void 0!==r?r:"outlined";return[u,pa.includes(u)]};function rb(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}const ib=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}},ab=e=>{const{antCls:t,componentCls:n}=e,o=`${n}-item`,r=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`,c=`${o}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},ol(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${r}${l}bottomLeft,\n ${i}${l}bottomLeft\n `]:{animationName:Hd},[`\n ${r}${l}topLeft,\n ${i}${l}topLeft,\n ${r}${l}topRight,\n ${i}${l}topRight\n `]:{animationName:_d},[`${a}${l}bottomLeft`]:{animationName:Ad},[`\n ${a}${l}topLeft,\n ${a}${l}topRight\n `]:{animationName:Wd},"&-hidden":{display:"none"},[o]:Object.assign(Object.assign({},ib(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},nl),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${o}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ib(e)),{color:e.colorTextDisabled})}),[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},Ud(e,"slide-up"),Ud(e,"slide-down"),Fd(e,"move-up"),Fd(e,"move-down")]},lb=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:r,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:u}=e,d=`${t}-selection-overflow`;return{[d]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:u,borderRadius:o,cursor:"default",transition:`font-size ${r}, line-height ${r}, height ${r}`,marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},cb=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,r=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=(e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e;return e.calc(n).sub(t).div(2).sub(o).equal()})(e),l=t?`${n}-${t}`:"",c=(e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=e.max(e.calc(n).sub(o).equal(),0);return{basePadding:i,containerPadding:e.max(e.calc(i).sub(r).equal(),0),itemHeight:rn(t),itemLineHeight:rn(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}})(e);return{[`${n}-multiple${l}`]:Object.assign(Object.assign({},lb(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${rn(o)} 0`,lineHeight:rn(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:rn(c.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:rn(i),marginBlock:o}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},[`${r}-item + ${r}-item,\n ${n}-prefix + ${n}-selection-wrap\n `]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${r}-item-suffix`]:{minHeight:c.itemHeight,marginBlock:o},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:rn(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function sb(e,t){const{componentCls:n}=e,o=t?`${n}-${t}`:"",r={[`${n}-multiple${o}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[cb(e,t),r]}const ub=e=>{const{componentCls:t}=e,n=Da(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=Da(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[sb(e),sb(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},sb(o,"lg")]};function db(e,t){const{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},ol(e,!0)),{display:"flex",borderRadius:r,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:rn(i)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{display:"block",padding:0,lineHeight:rn(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-search,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${rn(o)}`,[`${n}-selection-search-input`]:{height:i,fontSize:e.fontSize},"&:after":{lineHeight:rn(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${rn(o)}`,"&:after":{display:"none"}}}}}}}function pb(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[db(e),db(Da(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${rn(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},db(Da(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const fb=(e,t)=>{const{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${rn(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${rn(r)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},mb=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},fb(e,t))}),gb=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},fb(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),mb(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),mb(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),hb=(e,t)=>{const{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${rn(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},vb=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},hb(e,t))}),bb=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},hb(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),vb(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),vb(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),yb=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${rn(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),xb=(e,t)=>{const{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`0 0 ${rn(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${n}-prefix`]:{color:t.color}}}},Cb=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},xb(e,t))}),wb=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},xb(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Cb(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Cb(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Sb=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},gb(e)),bb(e)),yb(e)),wb(e))}),Eb=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},kb=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},$b=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:o,iconCls:r}=e;return{[n]:Object.assign(Object.assign({},ol(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Eb(e)),kb(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},nl),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},nl),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}}}},Ob=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},$b(e),pb(e),ub(e),ab(e),{[`${t}-rtl`]:{direction:"rtl"}},Rp(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var Mb=cl("Select",((e,t)=>{let{rootPrefixCls:n}=t;const o=Da(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Ob(o),Sb(o)]}),(e=>{const{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:a,paddingXXS:l,controlPaddingHorizontal:c,zIndexPopupBase:s,colorText:u,fontWeightStrong:d,controlItemBgActive:p,controlItemBgHover:f,colorBgContainer:m,colorFillSecondary:g,colorBgContainerDisabled:h,colorTextDisabled:v,colorPrimaryHover:b,colorPrimary:y,controlOutline:x}=e,C=2*l,w=2*o,S=Math.min(r-C,r-w),E=Math.min(i-C,i-w),k=Math.min(a-C,a-w);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:s+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:p,optionActiveBg:f,optionPadding:`${(r-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:S,multipleItemHeightSM:E,multipleItemHeightLG:k,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:x,selectAffixPadding:l}}),{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),Nb=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:J}))},jb=i.forwardRef(Nb);"production"!==process.env.NODE_ENV&&(jb.displayName="CheckOutlined");var Ib=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ae}))},Pb=i.forwardRef(Ib);
|
|
27
|
+
/** */"production"!==process.env.NODE_ENV&&(Pb.displayName="DownOutlined");var Tb=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Te}))},Rb=i.forwardRef(Tb);
|
|
28
|
+
/** */"production"!==process.env.NODE_ENV&&(Rb.displayName="SearchOutlined");var Bb=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const zb="SECRET_COMBOBOX_MODE_DO_NOT_USE",Db=(e,t)=>{var n;const{prefixCls:o,bordered:r,className:a,rootClassName:l,getPopupContainer:c,popupClassName:s,dropdownClassName:u,listHeight:d=256,placement:p,listItemHeight:m,size:g,disabled:h,notFoundContent:v,status:b,builtinPlacements:y,dropdownMatchSelectWidth:x,popupMatchSelectWidth:C,direction:w,style:S,allowClear:E,variant:k,dropdownStyle:$,transitionName:O,tagRender:M,maxCount:N,prefix:j}=e,I=Bb(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:P,getPrefixCls:T,renderEmpty:R,direction:B,virtual:z,popupMatchSelectWidth:D,popupOverflow:L}=i.useContext(fa),F=ha("select"),[,H]=tl(),A=null!=m?m:null==H?void 0:H.controlHeight,_=T("select",o),W=T(),V=null!=w?w:B,{compactSize:X,compactItemClassnames:G}=Fu(_,V),[q,K]=ob("select",k,r),U=ys(_),[Y,Z,Q]=Mb(_,U),J=i.useMemo((()=>{const{mode:t}=e;if("combobox"!==t)return t===zb?"combobox":t}),[e.mode]),ee="multiple"===J||"tags"===J,te=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),ne=null!==(n=null!=C?C:x)&&void 0!==n?n:D,{status:oe,hasFeedback:re,isFormItemInput:ie,feedbackIcon:ae}=i.useContext(km),le=qv(oe,b);let ce;ce=void 0!==v?v:"combobox"===J?null:(null==R?void 0:R("Select"))||i.createElement(nb,{componentName:"Select"});const{suffixIcon:se,itemIcon:ue,removeIcon:de,clearIcon:pe}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:o,removeIcon:r,loading:a,multiple:l,hasFeedback:c,prefixCls:s,showSuffixIcon:u,feedbackIcon:d,showArrow:p,componentName:f}=e;"production"!==process.env.NODE_ENV&&Gr(f).deprecated(!n,"clearIcon","allowClear={{ clearIcon: React.ReactNode }}");const m=null!=n?n:i.createElement(Kc,null),g=e=>null!==t||c||p?i.createElement(i.Fragment,null,!1!==u&&e,c&&d):null;let h=null;if(void 0!==t)h=g(t);else if(a)h=g(i.createElement(Ps,{spin:!0}));else{const e=`${s}-suffix`;h=t=>{let{open:n,showSearch:o}=t;return g(n&&o?i.createElement(Rb,{className:e}):i.createElement(Pb,{className:e}))}}let v=null;v=void 0!==o?o:l?i.createElement(jb,null):null;let b=null;return b=void 0!==r?r:i.createElement(Yc,null),{clearIcon:m,suffixIcon:h,itemIcon:v,removeIcon:b}}(Object.assign(Object.assign({},I),{multiple:ee,hasFeedback:re,feedbackIcon:ae,showSuffixIcon:te,prefixCls:_,componentName:"Select"})),fe=!0===E?{clearIcon:pe}:E,me=Cu(I,["suffixIcon","itemIcon"]),ge=f(s||u,{[`${_}-dropdown-${V}`]:"rtl"===V},l,Q,U,Z),he=Pu((e=>{var t;return null!==(t=null!=g?g:X)&&void 0!==t?t:e})),ve=i.useContext(ya),be=null!=h?h:ve,ye=f({[`${_}-lg`]:"large"===he,[`${_}-sm`]:"small"===he,[`${_}-rtl`]:"rtl"===V,[`${_}-${q}`]:K,[`${_}-in-form-item`]:ie},Gv(_,le,re),G,F.className,a,l,Q,U,Z),xe=i.useMemo((()=>void 0!==p?p:"rtl"===V?"bottomRight":"bottomLeft"),[p,V]);if("production"!==process.env.NODE_ENV){const t=Gr("Select");t.deprecated(!u,"dropdownClassName","popupClassName"),t.deprecated(void 0===x,"dropdownMatchSelectWidth","popupMatchSelectWidth"),"production"!==process.env.NODE_ENV&&t(!("showArrow"in e),"deprecated","`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."),t.deprecated(!("bordered"in e),"bordered","variant"),"production"!==process.env.NODE_ENV&&t(!(void 0!==N&&!ee),"usage","`maxCount` only works with mode `multiple` or `tags`")}const[Ce]=Ls("SelectLike",null==$?void 0:$.zIndex);return Y(i.createElement(Xv,Object.assign({ref:t,virtual:z,showSearch:F.showSearch},me,{style:Object.assign(Object.assign({},F.style),S),dropdownMatchSelectWidth:ne,transitionName:xu(W,"slide-up",O),builtinPlacements:rb(y,L),listHeight:d,listItemHeight:A,mode:J,prefixCls:_,placement:xe,direction:V,prefix:j,suffixIcon:se,menuItemSelectedIcon:ue,removeIcon:de,allowClear:fe,notFoundContent:ce,className:ye,getPopupContainer:c||P,dropdownClassName:ge,disabled:be,dropdownStyle:Object.assign(Object.assign({},$),{zIndex:Ce}),maxCount:ee?N:void 0,tagRender:ee?M:void 0})))};"production"!==process.env.NODE_ENV&&(Db.displayName="Select");const Lb=i.forwardRef(Db),Fb=Kg(Lb,"dropdownAlign");Lb.SECRET_COMBOBOX_MODE_DO_NOT_USE=zb,Lb.Option=dv,Lb.OptGroup=uv,Lb._InternalPanelDoNotUseOrYouWillBeFired=Fb,"production"!==process.env.NODE_ENV&&(Lb.displayName="Select");const Hb=["xxl","xl","lg","md","sm","xs"],Ab=()=>{const[,e]=tl(),n=(e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}))((e=>{const t=e,n=[].concat(Hb).reverse();return n.forEach(((e,o)=>{const r=e.toUpperCase(),i=`screen${r}Min`,a=`screen${r}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(o<n.length-1){const e=`screen${r}Max`;if(!(t[a]<=t[e]))throw new Error(`${a}<=${e} fails : !(${t[a]}<=${t[e]})`);const i=`screen${n[o+1].toUpperCase()}Min`;if(!(t[e]<=t[i]))throw new Error(`${e}<=${i} fails : !(${t[e]}<=${t[i]})`)}})),e})(e));return t.useMemo((()=>{const e=new Map;let t=-1,o={};return{responsiveMap:n,matchHandlers:{},dispatch:t=>(o=t,e.forEach((e=>e(o))),e.size>=1),subscribe(n){return e.size||this.register(),t+=1,e.set(t,n),n(o),t},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.keys(n).forEach((e=>{const t=n[e],r=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},o),{[e]:n}))},i=window.matchMedia(t);i.addListener(r),this.matchHandlers[t]={mql:i,listener:r},r(i)}))},unregister(){Object.keys(n).forEach((e=>{const t=n[e],o=this.matchHandlers[t];null==o||o.mql.removeListener(null==o?void 0:o.listener)})),e.clear()}}}),[e])};function _b(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=t.useRef(n),r=function(){const[,e]=i.useReducer((e=>e+1),0);return e}(),a=Ab();return dn((()=>{const t=a.subscribe((t=>{o.current=t,e&&r()}));return()=>a.unsubscribe(t)}),[]),o.current}const Wb=i.createContext({}),Vb=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:r,avatarColor:i,containerSize:a,containerSizeLG:l,containerSizeSM:c,textFontSize:s,textFontSizeLG:u,textFontSizeSM:d,borderRadius:p,borderRadiusLG:f,borderRadiusSM:m,lineWidth:g,lineType:h}=e,v=(e,t,r)=>({width:e,height:e,borderRadius:"50%",[`&${n}-square`]:{borderRadius:r},[`&${n}-icon`]:{fontSize:t,[`> ${o}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${rn(g)} ${h} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),v(a,s,p)),{"&-lg":Object.assign({},v(l,u,f)),"&-sm":Object.assign({},v(c,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},Xb=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:o,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:o}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}};var Gb=cl("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=Da(e,{avatarBg:n,avatarColor:t});return[Vb(o),Xb(o)]}),(e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:r,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:l,marginXS:c,marginXXS:s,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((i+a)/2),textFontSizeLG:l,textFontSizeSM:r,groupSpace:s,groupOverlapping:-c,groupBorderColor:u}})),qb=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Kb=i.forwardRef(((e,t)=>{const{prefixCls:n,shape:o,size:r,src:a,srcSet:l,icon:c,className:s,rootClassName:u,style:d,alt:p,draggable:m,children:g,crossOrigin:h,gap:v=4,onError:b}=e,y=qb(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","style","alt","draggable","children","crossOrigin","gap","onError"]),[x,C]=i.useState(1),[w,S]=i.useState(!1),[E,k]=i.useState(!0),$=i.useRef(null),O=i.useRef(null),M=Xo(t,$),{getPrefixCls:N,avatar:j}=i.useContext(fa),I=i.useContext(Wb),P=()=>{if(!O.current||!$.current)return;const e=O.current.offsetWidth,t=$.current.offsetWidth;0!==e&&0!==t&&2*v<t&&C(t-2*v<e?(t-2*v)/e:1)};i.useEffect((()=>{S(!0)}),[]),i.useEffect((()=>{k(!0),C(1)}),[a]),i.useEffect(P,[v]);const T=()=>{!1!==(null==b?void 0:b())&&k(!1)},R=Pu((e=>{var t,n;return null!==(n=null!==(t=null!=r?r:null==I?void 0:I.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"})),B=_b(Object.keys("object"==typeof R&&R||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e)))),z=i.useMemo((()=>{if("object"!=typeof R)return{};const e=Hb.find((e=>B[e])),t=R[e];return t?{width:t,height:t,fontSize:t&&(c||g)?t/2:18}:{}}),[B,R]);if("production"!==process.env.NODE_ENV){const e=Gr("Avatar");"production"!==process.env.NODE_ENV&&e(!("string"==typeof c&&c.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${c}\` at https://ant.design/components/icon`)}const D=N("avatar",n),L=ys(D),[F,H,A]=Gb(D,L),_=f({[`${D}-lg`]:"large"===R,[`${D}-sm`]:"small"===R}),W=i.isValidElement(a),V=o||(null==I?void 0:I.shape)||"circle",X=f(D,_,null==j?void 0:j.className,`${D}-${V}`,{[`${D}-image`]:W||a&&E,[`${D}-icon`]:!!c},A,L,s,u,H),G="number"==typeof R?{width:R,height:R,fontSize:c?R/2:18}:{};let q;if("string"==typeof a&&E)q=i.createElement("img",{src:a,draggable:m,srcSet:l,onError:T,alt:p,crossOrigin:h});else if(W)q=a;else if(c)q=c;else if(w||1!==x){const e=`scale(${x})`,t={msTransform:e,WebkitTransform:e,transform:e};q=i.createElement($r,{onResize:P},i.createElement("span",{className:`${D}-string`,ref:O,style:Object.assign({},t)},g))}else q=i.createElement("span",{className:`${D}-string`,style:{opacity:0},ref:O},g);return F(i.createElement("span",Object.assign({},y,{style:Object.assign(Object.assign(Object.assign(Object.assign({},G),z),null==j?void 0:j.style),d),className:X,ref:M}),q))}));"production"!==process.env.NODE_ENV&&(Kb.displayName="Avatar");const Ub=e=>e?"function"==typeof e?e():e:null;function Yb(e){var t=e.children,n=e.prefixCls,o=e.id,r=e.overlayInnerStyle,a=e.bodyClassName,l=e.className,c=e.style;return i.createElement("div",{className:f("".concat(n,"-content"),l),style:c},i.createElement("div",{className:f("".concat(n,"-inner"),a),id:o,role:"tooltip",style:r},"function"==typeof t?t():t))}var Zb={shiftX:64,adjustY:1},Qb={adjustX:1,shiftY:!0},Jb=[0,0],ey={left:{points:["cr","cl"],overflow:Qb,offset:[-4,0],targetOffset:Jb},right:{points:["cl","cr"],overflow:Qb,offset:[4,0],targetOffset:Jb},top:{points:["bc","tc"],overflow:Zb,offset:[0,-4],targetOffset:Jb},bottom:{points:["tc","bc"],overflow:Zb,offset:[0,4],targetOffset:Jb},topLeft:{points:["bl","tl"],overflow:Zb,offset:[0,-4],targetOffset:Jb},leftTop:{points:["tr","tl"],overflow:Qb,offset:[-4,0],targetOffset:Jb},topRight:{points:["br","tr"],overflow:Zb,offset:[0,-4],targetOffset:Jb},rightTop:{points:["tl","tr"],overflow:Qb,offset:[4,0],targetOffset:Jb},bottomRight:{points:["tr","br"],overflow:Zb,offset:[0,4],targetOffset:Jb},rightBottom:{points:["bl","br"],overflow:Qb,offset:[4,0],targetOffset:Jb},bottomLeft:{points:["tl","bl"],overflow:Zb,offset:[0,4],targetOffset:Jb},leftBottom:{points:["br","bl"],overflow:Qb,offset:[-4,0],targetOffset:Jb}},ty=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],ny=function(e,n){var o=e.overlayClassName,r=e.trigger,a=void 0===r?["hover"]:r,l=e.mouseEnterDelay,c=void 0===l?0:l,s=e.mouseLeaveDelay,u=void 0===s?.1:s,d=e.overlayStyle,p=e.prefixCls,m=void 0===p?"rc-tooltip":p,g=e.children,h=e.onVisibleChange,v=e.afterVisibleChange,b=e.transitionName,y=e.animation,x=e.motion,C=e.placement,w=void 0===C?"right":C,S=e.align,E=void 0===S?{}:S,k=e.destroyTooltipOnHide,$=void 0!==k&&k,O=e.defaultVisible,M=e.getTooltipContainer,N=e.overlayInnerStyle;e.arrowContent;var j=e.overlay,I=e.id,P=e.showArrow,T=void 0===P||P,R=e.classNames,B=e.styles,z=nt(e,ty),D=lf(I),L=t.useRef(null);t.useImperativeHandle(n,(function(){return L.current}));var F=lt({},z);"visible"in e&&(F.popupVisible=e.visible);var H,A;return i.createElement(Yh,Mn({popupClassName:f(o,null==R?void 0:R.root),prefixCls:m,popup:function(){return i.createElement(Yb,{key:"content",prefixCls:m,id:D,bodyClassName:null==R?void 0:R.body,overlayInnerStyle:lt(lt({},N),null==B?void 0:B.body)},j)},action:a,builtinPlacements:ey,popupPlacement:w,ref:L,popupAlign:E,getPopupContainer:M,onPopupVisibleChange:h,afterPopupVisibleChange:v,popupTransitionName:b,popupAnimation:y,popupMotion:x,defaultPopupVisible:O,autoDestroy:$,mouseLeaveDelay:u,popupStyle:lt(lt({},d),null==B?void 0:B.root),mouseEnterDelay:c,arrow:T},F),(H=i.Children.only(g),A=lt(lt({},(null==H?void 0:H.props)||{}),{},{"aria-describedby":j?D:null}),i.cloneElement(g,A)))},oy=t.forwardRef(ny);function ry(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:o}=e,r=t/2,i=r,a=1*o/Math.sqrt(2),l=r-o*(1-1/Math.sqrt(2)),c=r-n*(1/Math.sqrt(2)),s=o*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),u=2*r-c,d=s,p=2*r-a,f=l,m=2*r-0,g=i,h=r*Math.sqrt(2)+o*(Math.sqrt(2)-2),v=o*(Math.sqrt(2)-1);return{arrowShadowWidth:h,arrowPath:`path('M 0 ${i} A ${o} ${o} 0 0 0 ${a} ${l} L ${c} ${s} A ${n} ${n} 0 0 1 ${u} ${d} L ${p} ${f} A ${o} ${o} 0 0 0 ${m} ${g} Z')`,arrowPolygon:`polygon(${v}px 100%, 50% ${v}px, ${2*r-v}px 100%, ${v}px 100%)`}}const iy=(e,t,n)=>{const{sizePopupArrow:o,arrowPolygon:r,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[r,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${rn(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}};function ay(e){const{contentRadius:t,limitVerticalRadius:n}=e,o=t>12?t+2:12;return{arrowOffsetHorizontal:o,arrowOffsetVertical:n?8:o}}function ly(e,t){return e?t:{}}function cy(e,t,n){const{componentCls:o,boxShadowPopoverArrow:r,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({[`${o}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},iy(e,t,r)),{"&:before":{background:t}})]},ly(!!c.top,{[[`&-placement-top > ${o}-arrow`,`&-placement-topLeft > ${o}-arrow`,`&-placement-topRight > ${o}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${o}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${rn(a)})`,[`> ${o}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),ly(!!c.bottom,{[[`&-placement-bottom > ${o}-arrow`,`&-placement-bottomLeft > ${o}-arrow`,`&-placement-bottomRight > ${o}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${o}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${rn(a)})`,[`> ${o}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),ly(!!c.left,{[[`&-placement-left > ${o}-arrow`,`&-placement-leftTop > ${o}-arrow`,`&-placement-leftBottom > ${o}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${o}-arrow`]:{top:i},[`&-placement-leftBottom > ${o}-arrow`]:{bottom:i}})),ly(!!c.right,{[[`&-placement-right > ${o}-arrow`,`&-placement-rightTop > ${o}-arrow`,`&-placement-rightBottom > ${o}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${o}-arrow`]:{top:i},[`&-placement-rightBottom > ${o}-arrow`]:{bottom:i}}))}}const sy={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},uy={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},dy=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function py(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=e,l=t/2,c={};return Object.keys(sy).forEach((e=>{const s=o&&uy[e]||sy[e],u=Object.assign(Object.assign({},s),{offset:[0,0],dynamicInset:!0});switch(c[e]=u,dy.has(e)&&(u.autoArrow=!1),e){case"top":case"topLeft":case"topRight":u.offset[1]=-l-r;break;case"bottom":case"bottomLeft":case"bottomRight":u.offset[1]=l+r;break;case"left":case"leftTop":case"leftBottom":u.offset[0]=-l-r;break;case"right":case"rightTop":case"rightBottom":u.offset[0]=l+r}const d=ay({contentRadius:i,limitVerticalRadius:!0});if(o)switch(e){case"topLeft":case"bottomLeft":u.offset[0]=-d.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":u.offset[0]=d.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":u.offset[1]=2*-d.arrowOffsetHorizontal+l;break;case"leftBottom":case"rightBottom":u.offset[1]=2*d.arrowOffsetHorizontal-l}u.overflow=function(e,t,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};const r=o&&"object"==typeof o?o:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),r);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,d,t,n),a&&(u.htmlRegion="visibleFirst")})),c}const fy=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:o,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:c,boxShadowSecondary:s,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:p,sizePopupArrow:f}=e,m=t(a).add(f).add(p).equal(),g=t(a).mul(2).add(f).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:o,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${n}-inner`]:{minWidth:g,minHeight:c,padding:`${rn(e.calc(u).div(2).equal())} ${rn(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:s,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:m},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(a,8)}},[`${n}-content`]:{position:"relative"}}),dl(e,((e,t)=>{let{darkColor:o}=t;return{[`&${n}-${e}`]:{[`${n}-inner`]:{backgroundColor:o},[`${n}-arrow`]:{"--antd-arrow-background-color":o}}}}))),{"&-rtl":{direction:"rtl"}})},cy(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},my=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},ay({contentRadius:e.borderRadius,limitVerticalRadius:!0})),ry(Da(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var gy=function(e){const t=cl("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:o}=e,r=Da(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:o});return[fy(r),op(e,"zoom-big-fast")]}),my,{resetStyle:!1,injectStyle:!(arguments.length>1&&void 0!==arguments[1])||arguments[1]});return t(e)};const hy=Va.map((e=>`${e}-inverse`));function vy(e,t){const n=function(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?Va.includes(e):[].concat(Qe(hy),Qe(Va)).includes(e)}(t),o=f({[`${e}-${t}`]:t&&n}),r={},i={};return t&&!n&&(r.background=t,i["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:i}}var by=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const yy=i.forwardRef(((e,t)=>{var n,o;const{prefixCls:r,openClassName:a,getTooltipContainer:l,color:c,overlayInnerStyle:s,children:u,afterOpenChange:d,afterVisibleChange:p,destroyTooltipOnHide:m,arrow:g=!0,title:h,overlay:v,builtinPlacements:b,arrowPointAtCenter:y=!1,autoAdjustOverflow:x=!0,motion:C,getPopupContainer:w,placement:S="top",mouseEnterDelay:E=.1,mouseLeaveDelay:k=.1,overlayStyle:$,rootClassName:O,overlayClassName:M,styles:N,classNames:j}=e,I=by(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),P=!!g,[,T]=tl(),{getPopupContainer:R,getPrefixCls:B,direction:z,className:D,style:L,classNames:F,styles:H}=ha("tooltip"),A=Gr("Tooltip"),_=i.useRef(null),W=()=>{var e;null===(e=_.current)||void 0===e||e.forceAlign()};i.useImperativeHandle(t,(()=>{var e,t;return{forceAlign:W,forcePopupAlign:()=>{A.deprecated(!1,"forcePopupAlign","forceAlign"),W()},nativeElement:null===(e=_.current)||void 0===e?void 0:e.nativeElement,popupElement:null===(t=_.current)||void 0===t?void 0:t.popupElement}})),"production"!==process.env.NODE_ENV&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"],["overlayStyle","styles={{ root: {} }}"],["overlayInnerStyle","styles={{ body: {} }}"],["overlayClassName",'classNames={{ root: "" }}']].forEach((t=>{let[n,o]=t;A.deprecated(!(n in e),n,o)})),"production"!==process.env.NODE_ENV&&A(!m||"boolean"==typeof m,"usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),"production"!==process.env.NODE_ENV&&A(!g||"boolean"==typeof g||!("arrowPointAtCenter"in g),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[V,X]=Ta(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),G=!h&&!v&&0!==h,q=i.useMemo((()=>{var e,t;let n=y;return"object"==typeof g&&(n=null!==(t=null!==(e=g.pointAtCenter)&&void 0!==e?e:g.arrowPointAtCenter)&&void 0!==t?t:y),b||py({arrowPointAtCenter:n,autoAdjustOverflow:x,arrowWidth:P?T.sizePopupArrow:0,borderRadius:T.borderRadius,offset:T.marginXXS,visibleFirst:!0})}),[y,g,b,T]),K=i.useMemo((()=>0===h?h:v||h||""),[v,h]),U=i.createElement(Mm,{space:!0},"function"==typeof K?K():K),Y=B("tooltip",r),Z=B(),Q=e["data-popover-inject"];let J=V;"open"in e||"visible"in e||!G||(J=!1);const ee=i.isValidElement(u)&&!rs(u)?u:i.createElement("span",null,u),te=ee.props,ne=te.className&&"string"!=typeof te.className?te.className:f(te.className,a||`${Y}-open`),[oe,re,ie]=gy(Y,!Q),ae=vy(Y,c),le=ae.arrowStyle,ce=f(M,{[`${Y}-rtl`]:"rtl"===z},ae.className,O,re,ie,D,F.root,null==j?void 0:j.root),se=f(F.body,null==j?void 0:j.body),[ue,de]=Ls("Tooltip",I.zIndex),pe=i.createElement(oy,Object.assign({},I,{zIndex:ue,showArrow:P,placement:S,mouseEnterDelay:E,mouseLeaveDelay:k,prefixCls:Y,classNames:{root:ce,body:se},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},le),H.root),L),$),null==N?void 0:N.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},H.body),s),null==N?void 0:N.body),ae.overlayStyle)},getTooltipContainer:w||l||R,ref:_,builtinPlacements:q,overlay:U,visible:J,onVisibleChange:t=>{var n,o;X(!G&&t),G||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(o=e.onVisibleChange)||void 0===o||o.call(e,t))},afterVisibleChange:null!=d?d:p,arrowContent:i.createElement("span",{className:`${Y}-arrow-content`}),motion:{motionName:xu(Z,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),J?as(ee,{className:ne}):ee);return oe(i.createElement(Ts.Provider,{value:de},pe))})),xy=yy;"production"!==process.env.NODE_ENV&&(xy.displayName="Tooltip"),xy._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:o="top",title:r,color:a,overlayInnerStyle:l}=e,{getPrefixCls:c}=i.useContext(fa),s=c("tooltip",t),[u,d,p]=gy(s),m=vy(s,a),g=m.arrowStyle,h=Object.assign(Object.assign({},l),m.overlayStyle),v=f(d,p,s,`${s}-pure`,`${s}-placement-${o}`,n,m.className);return u(i.createElement("div",{className:v,style:g},i.createElement("div",{className:`${s}-arrow`}),i.createElement(Yb,Object.assign({},e,{className:d,prefixCls:s,overlayInnerStyle:h}),r)))};const Cy=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:r,innerPadding:i,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:c,zIndexPopup:s,titleMarginBottom:u,colorBgElevated:d,popoverBg:p,titleBorderBottom:f,innerContentPadding:m,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},ol(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:c,boxShadow:a,padding:i},[`${t}-title`]:{minWidth:o,marginBottom:u,color:l,fontWeight:r,borderBottom:f,padding:g},[`${t}-inner-content`]:{color:n,padding:m}})},cy(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},wy=e=>{const{componentCls:t}=e;return{[t]:Va.map((n=>{const o=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}}))}};var Sy=cl("Popover",(e=>{const{colorBgElevated:t,colorText:n}=e,o=Da(e,{popoverBg:t,popoverColor:n});return[Cy(o),wy(o),op(o,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:n,fontHeight:o,padding:r,wireframe:i,zIndexPopupBase:a,borderRadiusLG:l,marginXS:c,lineType:s,colorSplit:u,paddingSM:d}=e,p=n-o,f=p/2,m=p/2-t,g=r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},ry(e)),ay({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:c,titlePadding:i?`${f}px ${g}px ${m}px`:0,titleBorderBottom:i?`${t}px ${s} ${u}`:"none",innerContentPadding:i?`${d}px ${g}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]}),Ey=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const ky=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?i.createElement(i.Fragment,null,t&&i.createElement("div",{className:`${o}-title`},t),n&&i.createElement("div",{className:`${o}-inner-content`},n)):null},$y=e=>{const{hashId:t,prefixCls:n,className:o,style:r,placement:a="top",title:l,content:c,children:s}=e,u=Ub(l),d=Ub(c),p=f(t,n,`${n}-pure`,`${n}-placement-${a}`,o);return i.createElement("div",{className:p,style:r},i.createElement("div",{className:`${n}-arrow`}),i.createElement(Yb,Object.assign({},e,{className:t,prefixCls:n}),s||i.createElement(ky,{prefixCls:n,title:u,content:d})))};var Oy=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const My=i.forwardRef(((e,t)=>{var n,o;const{prefixCls:r,title:a,content:l,overlayClassName:c,placement:s="top",trigger:u="hover",children:d,mouseEnterDelay:p=.1,mouseLeaveDelay:m=.1,onOpenChange:g,overlayStyle:h={},styles:v,classNames:b}=e,y=Oy(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:x,className:C,style:w,classNames:S,styles:E}=ha("popover"),k=x("popover",r),[$,O,M]=Sy(k),N=x(),j=f(c,O,M,C,S.root,null==b?void 0:b.root),I=f(S.body,null==b?void 0:b.body),[P,T]=Ta(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),R=(e,t)=>{T(e,!0),null==g||g(e,t)},B=Ub(a),z=Ub(l);return $(i.createElement(xy,Object.assign({placement:s,trigger:u,mouseEnterDelay:p,mouseLeaveDelay:m},y,{prefixCls:k,classNames:{root:j,body:I},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},E.root),w),h),null==v?void 0:v.root),body:Object.assign(Object.assign({},E.body),null==v?void 0:v.body)},ref:t,open:P,onOpenChange:e=>{R(e)},overlay:B||z?i.createElement(ky,{prefixCls:k,title:B,content:z}):null,transitionName:xu(N,"zoom-big",y.transitionName),"data-popover-inject":!0}),as(d,{onKeyDown:e=>{var t,n;i.isValidElement(d)&&(null===(n=null==d?void 0:(t=d.props).onKeyDown)||void 0===n||n.call(t,e)),(e=>{e.keyCode===xs.ESC&&R(!1,e)})(e)}})))})),Ny=My;Ny._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n}=e,o=Ey(e,["prefixCls","className"]),{getPrefixCls:r}=i.useContext(fa),a=r("popover",t),[l,c,s]=Sy(a);return l(i.createElement($y,Object.assign({},o,{prefixCls:a,hashId:c,className:f(n,s)})))},"production"!==process.env.NODE_ENV&&(Ny.displayName="Popover");const jy=e=>{const{size:t,shape:n}=i.useContext(Wb),o=i.useMemo((()=>({size:e.size||t,shape:e.shape||n})),[e.size,e.shape,t,n]);return i.createElement(Wb.Provider,{value:o},e.children)},Iy=Kb;Iy.Group=e=>{var t,n,o,r;const{getPrefixCls:a,direction:l}=i.useContext(fa),{prefixCls:c,className:s,rootClassName:u,style:d,maxCount:p,maxStyle:m,size:g,shape:h,maxPopoverPlacement:v,maxPopoverTrigger:b,children:y,max:x}=e;if("production"!==process.env.NODE_ENV){const t=Gr("Avatar.Group");[["maxCount","max={{ count: number }}"],["maxStyle","max={{ style: CSSProperties }}"],["maxPopoverPlacement","max={{ popover: PopoverProps }}"],["maxPopoverTrigger","max={{ popover: PopoverProps }}"]].forEach((n=>{let[o,r]=n;t.deprecated(!(o in e),o,r)}))}const C=a("avatar",c),w=`${C}-group`,S=ys(C),[E,k,$]=Gb(C,S),O=f(w,{[`${w}-rtl`]:"rtl"===l},$,S,s,u,k),M=Ho(y).map(((e,t)=>as(e,{key:`avatar-key-${t}`}))),N=(null==x?void 0:x.count)||p,j=M.length;if(N&&N<j){const e=M.slice(0,N),a=M.slice(N,j),l=(null==x?void 0:x.style)||m,c=(null===(t=null==x?void 0:x.popover)||void 0===t?void 0:t.trigger)||b||"hover",s=(null===(n=null==x?void 0:x.popover)||void 0===n?void 0:n.placement)||v||"top",u=Object.assign(Object.assign({content:a},null==x?void 0:x.popover),{classNames:{root:f(`${w}-popover`,null===(r=null===(o=null==x?void 0:x.popover)||void 0===o?void 0:o.classNames)||void 0===r?void 0:r.root)},placement:s,trigger:c});return e.push(i.createElement(Ny,Object.assign({key:"avatar-popover-key",destroyTooltipOnHide:!0},u),i.createElement(Kb,{style:l},"+"+(j-N)))),E(i.createElement(jy,{shape:h,size:g},i.createElement("div",{className:O,style:d},e)))}return E(i.createElement(jy,{shape:h,size:g},i.createElement("div",{className:O,style:d},M)))};var Py=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:xe}))},Ty=i.forwardRef(Py);
|
|
29
|
+
/** */"production"!==process.env.NODE_ENV&&(Ty.displayName="LeftOutlined");var Ry=xs.ESC,By=xs.TAB;var zy=t.forwardRef((function(e,n){var o=e.overlay,r=e.arrow,i=e.prefixCls,a=t.useMemo((function(){return"function"==typeof o?o():o}),[o]),l=Xo(n,Uo(a));return t.createElement(t.Fragment,null,r&&t.createElement("div",{className:"".concat(i,"-arrow")}),t.cloneElement(a,{ref:qo(a)?l:void 0}))})),Dy={adjustX:1,adjustY:1},Ly=[0,0],Fy={topLeft:{points:["bl","tl"],overflow:Dy,offset:[0,-4],targetOffset:Ly},top:{points:["bc","tc"],overflow:Dy,offset:[0,-4],targetOffset:Ly},topRight:{points:["br","tr"],overflow:Dy,offset:[0,-4],targetOffset:Ly},bottomLeft:{points:["tl","bl"],overflow:Dy,offset:[0,4],targetOffset:Ly},bottom:{points:["tc","bc"],overflow:Dy,offset:[0,4],targetOffset:Ly},bottomRight:{points:["tr","br"],overflow:Dy,offset:[0,4],targetOffset:Ly}},Hy=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ay(e,n){var o,r=e.arrow,a=void 0!==r&&r,l=e.prefixCls,c=void 0===l?"rc-dropdown":l,s=e.transitionName,u=e.animation,d=e.align,p=e.placement,m=void 0===p?"bottomLeft":p,g=e.placements,h=void 0===g?Fy:g,v=e.getPopupContainer,b=e.showAction,y=e.hideAction,x=e.overlayClassName,C=e.overlayStyle,w=e.visible,S=e.trigger,E=void 0===S?["hover"]:S,k=e.autoFocus,$=e.overlay,O=e.children,M=e.onVisibleChange,N=nt(e,Hy),j=tt(t.useState(),2),I=j[0],P=j[1],T="visible"in e?w:I,R=t.useRef(null),B=t.useRef(null),z=t.useRef(null);t.useImperativeHandle(n,(function(){return R.current}));var D=function(e){P(e),null==M||M(e)};!function(e){var t=e.visible,n=e.triggerRef,o=e.onVisibleChange,r=e.autoFocus,a=e.overlayRef,l=i.useRef(!1),c=function(){var e,r;t&&(null===(e=n.current)||void 0===e||null===(r=e.focus)||void 0===r||r.call(e),null==o||o(!1))},s=function(){var e;return!(null===(e=a.current)||void 0===e||!e.focus||(a.current.focus(),l.current=!0,0))},u=function(e){switch(e.keyCode){case Ry:c();break;case By:var t=!1;l.current||(t=s()),t?e.preventDefault():c()}};i.useEffect((function(){return t?(window.addEventListener("keydown",u),r&&Pr(s,3),function(){window.removeEventListener("keydown",u),l.current=!1}):function(){l.current=!1}}),[t])}({visible:T,triggerRef:z,onVisibleChange:D,autoFocus:k,overlayRef:B});var L,F,H,A=function(){return t.createElement(zy,{ref:B,overlay:$,prefixCls:c,arrow:a})},_=t.cloneElement(O,{className:f(null===(o=O.props)||void 0===o?void 0:o.className,T&&(L=e.openClassName,void 0!==L?L:"".concat(c,"-open"))),ref:qo(O)?Xo(z,Uo(O)):void 0}),W=y;return W||-1===E.indexOf("contextMenu")||(W=["click"]),t.createElement(Yh,Mn({builtinPlacements:h},N,{prefixCls:c,ref:R,popupClassName:f(x,it({},"".concat(c,"-show-arrow"),a)),popupStyle:C,action:E,showAction:b,hideAction:W,popupPlacement:m,popupAlign:d,popupTransitionName:s,popupAnimation:u,popupVisible:T,stretch:(F=e.minOverlayWidthMatchTrigger,H=e.alignPoint,("minOverlayWidthMatchTrigger"in e?F:!H)?"minWidth":""),popup:"function"==typeof $?A:A(),onPopupVisibleChange:D,onPopupClick:function(t){var n=e.onOverlayClick;P(!1),n&&n(t)},getPopupContainer:v}),_)}var _y=t.forwardRef(Ay);var Wy=i.createContext(null);function Vy(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Xy(e){return Vy(i.useContext(Wy),e)}var Gy=["children","locked"],qy=i.createContext(null);function Ky(e){var t=e.children,n=e.locked,o=nt(e,Gy),r=i.useContext(qy),a=Ct((function(){return e=o,t=lt({},r),Object.keys(e).forEach((function(n){var o=e[n];void 0!==o&&(t[n]=o)})),t;var e,t}),[r,o],(function(e,t){return!(n||e[0]===t[0]&&jt(e[1],t[1],!0))}));return i.createElement(qy.Provider,{value:a},t)}var Uy=[],Yy=i.createContext(null);function Zy(){return i.useContext(Yy)}var Qy=i.createContext(Uy);function Jy(e){var t=i.useContext(Qy);return i.useMemo((function(){return void 0!==e?[].concat(Qe(t),[e]):t}),[t,e])}var ex=i.createContext(null),tx=i.createContext({});function nx(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(wu(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),i=Number(r),a=null;return r&&!Number.isNaN(i)?a=i:o&&null===a&&(a=0),o&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}var ox=xs.LEFT,rx=xs.RIGHT,ix=xs.UP,ax=xs.DOWN,lx=xs.ENTER,cx=xs.ESC,sx=xs.HOME,ux=xs.END,dx=[ix,ax,ox,rx];function px(e,t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Qe(e.querySelectorAll("*")).filter((function(e){return nx(e,t)}));return nx(e,t)&&n.unshift(e),n}(e,!0);return n.filter((function(e){return t.has(e)}))}function fx(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=px(e,t),i=r.length,a=r.findIndex((function(e){return n===e}));return o<0?-1===a?a=i-1:a-=1:o>0&&(a+=1),r[a=(a+i)%i]}var mx=function(e,t){var n=new Set,o=new Map,r=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(Vy(t,e),"']"));i&&(n.add(i),r.set(i,e),o.set(e,i))})),{elements:n,key2element:o,element2key:r}};function gx(e,t,n,o,r,a,l,c,s,u){var d=i.useRef(),p=i.useRef();p.current=t;var f=function(){Pr.cancel(d.current)};return i.useEffect((function(){return function(){f()}}),[]),function(i){var m=i.which;if([].concat(dx,[lx,cx,sx,ux]).includes(m)){var g=a(),h=mx(g,o),v=h,b=v.elements,y=v.key2element,x=v.element2key,C=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y.get(t),b),w=x.get(C),S=function(e,t,n,o){var r,i="prev",a="next",l="children",c="parent";if("inline"===e&&o===lx)return{inlineTrigger:!0};var s=it(it({},ix,i),ax,a),u=it(it(it(it({},ox,n?a:i),rx,n?i:a),ax,l),lx,l),d=it(it(it(it(it(it({},ix,i),ax,a),lx,l),cx,c),ox,n?l:c),rx,n?c:l);switch(null===(r={inline:s,horizontal:u,vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d}["".concat(e).concat(t?"":"Sub")])||void 0===r?void 0:r[o]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}(e,1===l(w,!0).length,n,m);if(!S&&m!==sx&&m!==ux)return;(dx.includes(m)||[sx,ux].includes(m))&&i.preventDefault();var E=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=x.get(e);c(o),f(),d.current=Pr((function(){p.current===o&&t.focus()}))}};if([sx,ux].includes(m)||S.sibling||!C){var k,$,O=px(k=C&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(C):r.current,b);$=m===sx?O[0]:m===ux?O[O.length-1]:fx(k,b,C,S.offset),E($)}else if(S.inlineTrigger)s(w);else if(S.offset>0)s(w,!0),f(),d.current=Pr((function(){h=mx(g,o);var e=C.getAttribute("aria-controls"),t=fx(document.getElementById(e),h.elements);E(t)}),5);else if(S.offset<0){var M=l(w,!0),N=M[M.length-2],j=y.get(N);s(N,!1),E(j)}}null==u||u(i)}}var hx="__RC_UTIL_PATH_SPLIT__",vx=function(e){return e.join(hx)},bx="rc-menu-more";function yx(){var e=tt(i.useState({}),2)[1],n=t.useRef(new Map),o=t.useRef(new Map),r=tt(i.useState([]),2),a=r[0],l=r[1],c=t.useRef(0),s=t.useRef(!1),u=t.useCallback((function(t,r){"production"!==process.env.NODE_ENV&&Mt(!n.current.has(t),"Duplicated key '".concat(t,"' used in Menu by path [").concat(r.join(" > "),"]"));var i=vx(r);o.current.set(i,t),n.current.set(t,i),c.current+=1;var a,l=c.current;a=function(){l===c.current&&(s.current||e({}))},Promise.resolve().then(a)}),[]),d=t.useCallback((function(e,t){var r=vx(t);o.current.delete(r),n.current.delete(e)}),[]),p=t.useCallback((function(e){l(e)}),[]),f=t.useCallback((function(e,t){var o=n.current.get(e)||"",r=o.split(hx);return t&&a.includes(r[0])&&r.unshift(bx),r}),[a]),m=t.useCallback((function(e,t){return e.filter((function(e){return void 0!==e})).some((function(e){return f(e,!0).includes(t)}))}),[f]),g=t.useCallback((function(e){var t="".concat(n.current.get(e)).concat(hx),r=new Set;return Qe(o.current.keys()).forEach((function(e){e.startsWith(t)&&r.add(o.current.get(e))})),r}),[]);return i.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:u,unregisterPath:d,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:f,getKeys:function(){var e=Qe(n.current.keys());return a.length&&e.push(bx),e},getSubPathKeys:g}}function xx(e){var t=i.useRef(e);t.current=e;var n=i.useCallback((function(){for(var e,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(o))}),[]);return e?n:void 0}var Cx=Math.random().toFixed(5).toString().slice(2),wx=0;function Sx(e,t,n,o){var r=i.useContext(qy),a=r.activeKey,l=r.onActive,c=r.onInactive,s={active:a===e};return t||(s.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),l(e)},s.onMouseLeave=function(t){null==o||o({key:e,domEvent:t}),c(e)}),s}function Ex(e){var t=i.useContext(qy),n=t.mode,o=t.rtl,r=t.inlineIndent;if("inline"!==n)return null;return o?{paddingRight:e*r}:{paddingLeft:e*r}}function kx(e){var t,n=e.icon,o=e.props,r=e.children;return null===n||!1===n?null:("function"==typeof n?t=i.createElement(n,lt({},o)):"boolean"!=typeof n&&(t=n),t||r||null)}var $x=["item"];function Ox(e){var t=e.item,n=nt(e,$x);return Object.defineProperty(n,"item",{get:function(){return Mt(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var Mx=["title","attribute","elementRef"],Nx=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],jx=["active"],Ix=function(){_t(t,i.Component);var e=Gt(t);function t(){return It(this,t),e.apply(this,arguments)}return Tt(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,r=Cu(nt(e,Mx),["eventKey","popupClassName","popupOffset","onTitleClick"]);return Mt(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),i.createElement(hh.Item,Mn({},n,{title:"string"==typeof t?t:void 0},r,{ref:o}))}}]),t}(),Px=i.forwardRef((function(e,t){var n=e.style,o=e.className,r=e.eventKey,a=e.warnKey,l=e.disabled,c=e.itemIcon,s=e.children,u=e.role,d=e.onMouseEnter,p=e.onMouseLeave,m=e.onClick,g=e.onKeyDown,h=e.onFocus,v=nt(e,Nx),b=Xy(r),y=i.useContext(qy),x=y.prefixCls,C=y.onItemClick,w=y.disabled,S=y.overflowDisabled,E=y.itemIcon,k=y.selectedKeys,$=y.onActive,O=i.useContext(tx)._internalRenderMenuItem,M="".concat(x,"-item"),N=i.useRef(),j=i.useRef(),I=w||l,P=Go(t,j),T=Jy(r);"production"!==process.env.NODE_ENV&&a&&Mt(!1,"MenuItem should not leave undefined `key`.");var R=function(e){return{key:r,keyPath:Qe(T).reverse(),item:N.current,domEvent:e}},B=c||E,z=Sx(r,I,d,p),D=z.active,L=nt(z,jx),F=k.includes(r),H=Ex(T.length),A={};"option"===e.role&&(A["aria-selected"]=F);var _=i.createElement(Ix,Mn({ref:N,elementRef:P,role:null===u?"none":u||"menuitem",tabIndex:l?null:-1,"data-menu-id":S&&b?null:b},Cu(v,["extra"]),L,A,{component:"li","aria-disabled":l,style:lt(lt({},H),n),className:f(M,it(it(it({},"".concat(M,"-active"),D),"".concat(M,"-selected"),F),"".concat(M,"-disabled"),I),o),onClick:function(e){if(!I){var t=R(e);null==m||m(Ox(t)),C(t)}},onKeyDown:function(e){if(null==g||g(e),e.which===xs.ENTER){var t=R(e);null==m||m(Ox(t)),C(t)}},onFocus:function(e){$(r),null==h||h(e)}}),s,i.createElement(kx,{props:lt(lt({},e),{},{isSelected:F}),icon:B}));return O&&(_=O(_,e,{selected:F})),_}));function Tx(e,t){var n=e.eventKey,o=Zy(),r=Jy(n);return i.useEffect((function(){if(o)return o.registerPath(n,r),function(){o.unregisterPath(n,r)}}),[r]),o?null:i.createElement(Px,Mn({},e,{ref:t}))}var Rx=i.forwardRef(Tx),Bx=["className","children"],zx=function(e,t){var n=e.className,o=e.children,r=nt(e,Bx),a=i.useContext(qy),l=a.prefixCls,c=a.mode,s=a.rtl;return i.createElement("ul",Mn({className:f(l,s&&"".concat(l,"-rtl"),"".concat(l,"-sub"),"".concat(l,"-").concat("inline"===c?"inline":"vertical"),n),role:"menu"},r,{"data-menu-list":!0,ref:t}),o)},Dx=i.forwardRef(zx);function Lx(e,t){return Ho(e).map((function(e,n){if(i.isValidElement(e)){var o,r,a=e.key,l=null!==(o=null===(r=e.props)||void 0===r?void 0:r.eventKey)&&void 0!==o?o:a,c=null==l;c&&(l="tmp_key-".concat([].concat(Qe(t),[n]).join("-")));var s={key:l,eventKey:l};return"production"!==process.env.NODE_ENV&&c&&(s.warnKey=!0),i.cloneElement(e,s)}return e}))}Dx.displayName="SubMenuList";var Fx={adjustX:1,adjustY:1},Hx={topLeft:{points:["bl","tl"],overflow:Fx},topRight:{points:["br","tr"],overflow:Fx},bottomLeft:{points:["tl","bl"],overflow:Fx},bottomRight:{points:["tr","br"],overflow:Fx},leftTop:{points:["tr","tl"],overflow:Fx},leftBottom:{points:["br","bl"],overflow:Fx},rightTop:{points:["tl","tr"],overflow:Fx},rightBottom:{points:["bl","br"],overflow:Fx}},Ax={topLeft:{points:["bl","tl"],overflow:Fx},topRight:{points:["br","tr"],overflow:Fx},bottomLeft:{points:["tl","bl"],overflow:Fx},bottomRight:{points:["tr","br"],overflow:Fx},rightTop:{points:["tr","tl"],overflow:Fx},rightBottom:{points:["br","bl"],overflow:Fx},leftTop:{points:["tl","tr"],overflow:Fx},leftBottom:{points:["bl","br"],overflow:Fx}};function _x(e,t,n){return t||(n?n[e]||n.other:void 0)}var Wx={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Vx(e){var t=e.prefixCls,n=e.visible,o=e.children,r=e.popup,a=e.popupStyle,l=e.popupClassName,c=e.popupOffset,s=e.disabled,u=e.mode,d=e.onVisibleChange,p=i.useContext(qy),m=p.getPopupContainer,g=p.rtl,h=p.subMenuOpenDelay,v=p.subMenuCloseDelay,b=p.builtinPlacements,y=p.triggerSubMenuAction,x=p.forceSubMenuRender,C=p.rootClassName,w=p.motion,S=p.defaultMotions,E=tt(i.useState(!1),2),k=E[0],$=E[1],O=lt(lt({},g?Ax:Hx),b),M=Wx[u],N=_x(u,w,S),j=i.useRef(N);"inline"!==u&&(j.current=N);var I=lt(lt({},j.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),P=i.useRef();return i.useEffect((function(){return P.current=Pr((function(){$(n)})),function(){Pr.cancel(P.current)}}),[n]),i.createElement(Yh,{prefixCls:t,popupClassName:f("".concat(t,"-popup"),it({},"".concat(t,"-rtl"),g),l,C),stretch:"horizontal"===u?"minWidth":null,getPopupContainer:m,builtinPlacements:O,popupPlacement:M,popupVisible:k,popup:r,popupStyle:a,popupAlign:c&&{offset:c},action:s?[]:[y],mouseEnterDelay:h,mouseLeaveDelay:v,onPopupVisibleChange:d,forceRender:x,popupMotion:I,fresh:!0},o)}function Xx(e){var t=e.id,n=e.open,o=e.keyPath,r=e.children,a="inline",l=i.useContext(qy),c=l.prefixCls,s=l.forceSubMenuRender,u=l.motion,d=l.defaultMotions,p=l.mode,f=i.useRef(!1);f.current=p===a;var m=tt(i.useState(!f.current),2),g=m[0],h=m[1],v=!!f.current&&n;i.useEffect((function(){f.current&&h(!1)}),[p]);var b=lt({},_x(a,u,d));o.length>1&&(b.motionAppear=!1);var y=b.onVisibleChanged;return b.onVisibleChanged=function(e){return f.current||e||h(!0),null==y?void 0:y(e)},g?null:i.createElement(Ky,{mode:a,locked:!f.current},i.createElement(Kl,Mn({visible:v},b,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(c,"-hidden")}),(function(e){var n=e.className,o=e.style;return i.createElement(Dx,{id:t,className:n,style:o},r)})))}var Gx=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],qx=["active"],Kx=i.forwardRef((function(e,t){var n=e.style,o=e.className,r=e.title,a=e.eventKey,l=e.warnKey,c=e.disabled,s=e.internalPopupClose,u=e.children,d=e.itemIcon,p=e.expandIcon,m=e.popupClassName,g=e.popupOffset,h=e.popupStyle,v=e.onClick,b=e.onMouseEnter,y=e.onMouseLeave,x=e.onTitleClick,C=e.onTitleMouseEnter,w=e.onTitleMouseLeave,S=nt(e,Gx),E=Xy(a),k=i.useContext(qy),$=k.prefixCls,O=k.mode,M=k.openKeys,N=k.disabled,j=k.overflowDisabled,I=k.activeKey,P=k.selectedKeys,T=k.itemIcon,R=k.expandIcon,B=k.onItemClick,z=k.onOpenChange,D=k.onActive,L=i.useContext(tx)._internalRenderSubMenuItem,F=i.useContext(ex).isSubPathKey,H=Jy(),A="".concat($,"-submenu"),_=N||c,W=i.useRef(),V=i.useRef();"production"!==process.env.NODE_ENV&&l&&Mt(!1,"SubMenu should not leave undefined `key`.");var X=null!=d?d:T,G=null!=p?p:R,q=M.includes(a),K=!j&&q,U=F(P,a),Y=Sx(a,_,C,w),Z=Y.active,Q=nt(Y,qx),J=tt(i.useState(!1),2),ee=J[0],te=J[1],ne=function(e){_||te(e)},oe=i.useMemo((function(){return Z||"inline"!==O&&(ee||F([I],a))}),[O,Z,I,ee,a,F]),re=Ex(H.length),ie=xx((function(e){null==v||v(Ox(e)),B(e)})),ae=E&&"".concat(E,"-popup"),le=i.useMemo((function(){return i.createElement(kx,{icon:"horizontal"!==O?G:void 0,props:lt(lt({},e),{},{isOpen:K,isSubMenu:!0})},i.createElement("i",{className:"".concat(A,"-arrow")}))}),[O,G,e,K,A]),ce=i.createElement("div",Mn({role:"menuitem",style:re,className:"".concat(A,"-title"),tabIndex:_?null:-1,ref:W,title:"string"==typeof r?r:null,"data-menu-id":j&&E?null:E,"aria-expanded":K,"aria-haspopup":!0,"aria-controls":ae,"aria-disabled":_,onClick:function(e){_||(null==x||x({key:a,domEvent:e}),"inline"===O&&z(a,!q))},onFocus:function(){D(a)}},Q),r,le),se=i.useRef(O);if("inline"!==O&&H.length>1?se.current="vertical":se.current=O,!j){var ue=se.current;ce=i.createElement(Vx,{mode:ue,prefixCls:A,visible:!s&&K&&"inline"!==O,popupClassName:m,popupOffset:g,popupStyle:h,popup:i.createElement(Ky,{mode:"horizontal"===ue?"vertical":ue},i.createElement(Dx,{id:ae,ref:V},u)),disabled:_,onVisibleChange:function(e){"inline"!==O&&z(a,e)}},ce)}var de=i.createElement(hh.Item,Mn({ref:t,role:"none"},S,{component:"li",style:n,className:f(A,"".concat(A,"-").concat(O),o,it(it(it(it({},"".concat(A,"-open"),K),"".concat(A,"-active"),oe),"".concat(A,"-selected"),U),"".concat(A,"-disabled"),_)),onMouseEnter:function(e){ne(!0),null==b||b({key:a,domEvent:e})},onMouseLeave:function(e){ne(!1),null==y||y({key:a,domEvent:e})}}),ce,!j&&i.createElement(Xx,{id:ae,open:K,keyPath:H},u));return L&&(de=L(de,e,{selected:U,active:oe,open:K,disabled:_})),i.createElement(Ky,{onItemClick:ie,mode:"horizontal"===O?"vertical":O,itemIcon:X,expandIcon:G},de)})),Ux=i.forwardRef((function(e,t){var n,o=e.eventKey,r=e.children,a=Jy(o),l=Lx(r,a),c=Zy();return i.useEffect((function(){if(c)return c.registerPath(o,a),function(){c.unregisterPath(o,a)}}),[a]),n=c?l:i.createElement(Kx,Mn({ref:t},e),l),i.createElement(Qy.Provider,{value:a},n)}));function Yx(e){var t=e.className,n=e.style,o=i.useContext(qy).prefixCls;return Zy()?null:i.createElement("li",{role:"separator",className:f("".concat(o,"-item-divider"),t),style:n})}"production"!==process.env.NODE_ENV&&(Ux.displayName="SubMenu");var Zx=["className","title","eventKey","children"],Qx=i.forwardRef((function(e,t){var n=e.className,o=e.title;e.eventKey;var r=e.children,a=nt(e,Zx),l=i.useContext(qy).prefixCls,c="".concat(l,"-item-group");return i.createElement("li",Mn({ref:t,role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:f(c,n)}),i.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),i.createElement("ul",{role:"group",className:"".concat(c,"-list")},r))})),Jx=i.forwardRef((function(e,t){var n=e.eventKey,o=Lx(e.children,Jy(n));return Zy()?o:i.createElement(Qx,Mn({ref:t},Cu(e,["warnKey"])),o)}));"production"!==process.env.NODE_ENV&&(Jx.displayName="MenuItemGroup");var eC=["label","children","key","type","extra"];function tC(e,t,n){var o=t.item,r=t.group,a=t.submenu,l=t.divider;return(e||[]).map((function(e,c){if(e&&"object"===ot(e)){var s=e,u=s.label,d=s.children,p=s.key,f=s.type,m=s.extra,g=nt(s,eC),h=null!=p?p:"tmp-".concat(c);return d||"group"===f?"group"===f?i.createElement(r,Mn({key:h},g,{title:u}),tC(d,t,n)):i.createElement(a,Mn({key:h},g,{title:u}),tC(d,t,n)):"divider"===f?i.createElement(l,Mn({key:h},g)):i.createElement(o,Mn({key:h},g,{extra:m}),u,(!!m||0===m)&&i.createElement("span",{className:"".concat(n,"-item-extra")},m))}return null})).filter((function(e){return e}))}function nC(e,t,n,o,r){var i=e,a=lt({divider:Yx,item:Rx,group:Jx,submenu:Ux},o);return t&&(i=tC(t,a,r)),Lx(i,n)}var oC=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],rC=[],iC=i.forwardRef((function(e,o){var r,a=e,l=a.prefixCls,c=void 0===l?"rc-menu":l,s=a.rootClassName,u=a.style,d=a.className,p=a.tabIndex,m=void 0===p?0:p,g=a.items,h=a.children,v=a.direction,b=a.id,y=a.mode,x=void 0===y?"vertical":y,C=a.inlineCollapsed,w=a.disabled,S=a.disabledOverflow,E=a.subMenuOpenDelay,k=void 0===E?.1:E,$=a.subMenuCloseDelay,O=void 0===$?.1:$,M=a.forceSubMenuRender,N=a.defaultOpenKeys,j=a.openKeys,I=a.activeKey,P=a.defaultActiveFirst,T=a.selectable,R=void 0===T||T,B=a.multiple,z=void 0!==B&&B,D=a.defaultSelectedKeys,L=a.selectedKeys,F=a.onSelect,H=a.onDeselect,A=a.inlineIndent,_=void 0===A?24:A,W=a.motion,V=a.defaultMotions,X=a.triggerSubMenuAction,G=void 0===X?"hover":X,q=a.builtinPlacements,K=a.itemIcon,U=a.expandIcon,Y=a.overflowedIndicator,Z=void 0===Y?"...":Y,Q=a.overflowedIndicatorPopupClassName,J=a.getPopupContainer,ee=a.onClick,te=a.onOpenChange,ne=a.onKeyDown,oe=a.openAnimation,re=a.openTransitionName,ie=a._internalRenderMenuItem,ae=a._internalRenderSubMenuItem,le=a._internalComponents,ce=nt(a,oC),se=tt(i.useMemo((function(){return[nC(h,g,rC,le,c),nC(h,g,rC,{},c)]}),[h,g,le]),2),ue=se[0],de=se[1],pe=tt(i.useState(!1),2),fe=pe[0],me=pe[1],ge=i.useRef(),he=function(e){var t=tt(Ta(e,{value:e}),2),n=t[0],o=t[1];return i.useEffect((function(){wx+=1;var e="test"===process.env.NODE_ENV?"test":"".concat(Cx,"-").concat(wx);o("rc-menu-uuid-".concat(e))}),[]),n}(b),ve="rtl"===v;"production"!==process.env.NODE_ENV&&Mt(!oe&&!re,"`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");var be=Ta(N,{value:j,postState:function(e){return e||rC}}),ye=tt(be,2),xe=ye[0],Ce=ye[1],we=function(e){function t(){Ce(e),null==te||te(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?n.flushSync(t):t()},Se=tt(i.useState(xe),2),Ee=Se[0],ke=Se[1],$e=i.useRef(!1),Oe=tt(i.useMemo((function(){return"inline"!==x&&"vertical"!==x||!C?[x,!1]:["vertical",C]}),[x,C]),2),Me=Oe[0],Ne=Oe[1],je="inline"===Me,Ie=tt(i.useState(Me),2),Pe=Ie[0],Te=Ie[1],Re=tt(i.useState(Ne),2),Be=Re[0],ze=Re[1];i.useEffect((function(){Te(Me),ze(Ne),$e.current&&(je?Ce(Ee):we(rC))}),[Me,Ne]);var De=tt(i.useState(0),2),Le=De[0],Fe=De[1],He=Le>=ue.length-1||"horizontal"!==Pe||S;i.useEffect((function(){je&&ke(xe)}),[xe]),i.useEffect((function(){return $e.current=!0,function(){$e.current=!1}}),[]);var Ae=yx(),_e=Ae.registerPath,We=Ae.unregisterPath,Ve=Ae.refreshOverflowKeys,Xe=Ae.isSubPathKey,Ge=Ae.getKeyPath,qe=Ae.getKeys,Ke=Ae.getSubPathKeys,Ue=i.useMemo((function(){return{registerPath:_e,unregisterPath:We}}),[_e,We]),Ye=i.useMemo((function(){return{isSubPathKey:Xe}}),[Xe]);i.useEffect((function(){Ve(He?rC:ue.slice(Le+1).map((function(e){return e.key})))}),[Le,He]);var Ze=tt(Ta(I||P&&(null===(r=ue[0])||void 0===r?void 0:r.key),{value:I}),2),Je=Ze[0],et=Ze[1],ot=xx((function(e){et(e)})),rt=xx((function(){et(void 0)}));t.useImperativeHandle(o,(function(){return{list:ge.current,focus:function(e){var t,n,o=qe(),r=mx(o,he),i=r.elements,a=r.key2element,l=r.element2key,c=px(ge.current,i),s=null!=Je?Je:c[0]?l.get(c[0]):null===(t=ue.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(s);s&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var at=Ta(D||[],{value:L,postState:function(e){return Array.isArray(e)?e:null==e?rC:[e]}}),ct=tt(at,2),st=ct[0],ut=ct[1],dt=xx((function(e){null==ee||ee(Ox(e)),function(e){if(R){var t,n=e.key,o=st.includes(n);t=z?o?st.filter((function(e){return e!==n})):[].concat(Qe(st),[n]):[n],ut(t);var r=lt(lt({},e),{},{selectedKeys:t});o?null==H||H(r):null==F||F(r)}!z&&xe.length&&"inline"!==Pe&&we(rC)}(e)})),pt=xx((function(e,t){var n=xe.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Pe){var o=Ke(e);n=n.filter((function(e){return!o.has(e)}))}jt(xe,n,!0)||we(n,!0)})),ft=gx(Pe,Je,ve,he,ge,qe,Ge,et,(function(e,t){var n=null!=t?t:!xe.includes(e);pt(e,n)}),ne);i.useEffect((function(){me(!0)}),[]);var mt=i.useMemo((function(){return{_internalRenderMenuItem:ie,_internalRenderSubMenuItem:ae}}),[ie,ae]),gt="horizontal"!==Pe||S?ue:ue.map((function(e,t){return i.createElement(Ky,{key:e.key,overflowDisabled:t>Le},e)})),ht=i.createElement(hh,Mn({id:b,ref:ge,prefixCls:"".concat(c,"-overflow"),component:"ul",itemComponent:Rx,className:f(c,"".concat(c,"-root"),"".concat(c,"-").concat(Pe),d,it(it({},"".concat(c,"-inline-collapsed"),Be),"".concat(c,"-rtl"),ve),s),dir:v,style:u,role:"menu",tabIndex:m,data:gt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?ue.slice(-t):null;return i.createElement(Ux,{eventKey:bx,title:Z,disabled:He,internalPopupClose:0===t,popupClassName:Q},n)},maxCount:"horizontal"!==Pe||S?hh.INVALIDATE:hh.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Fe(e)},onKeyDown:ft},ce));return i.createElement(tx.Provider,{value:mt},i.createElement(Wy.Provider,{value:he},i.createElement(Ky,{prefixCls:c,rootClassName:s,mode:Pe,openKeys:xe,rtl:ve,disabled:w,motion:fe?W:null,defaultMotions:fe?V:null,activeKey:Je,onActive:ot,onInactive:rt,selectedKeys:st,inlineIndent:_,subMenuOpenDelay:k,subMenuCloseDelay:O,forceSubMenuRender:M,builtinPlacements:q,triggerSubMenuAction:G,getPopupContainer:J,itemIcon:K,expandIcon:U,onItemClick:dt,onOpenChange:pt},i.createElement(ex.Provider,{value:Ye},ht),i.createElement("div",{style:{display:"none"},"aria-hidden":!0},i.createElement(Yy.Provider,{value:Ue},de)))))})),aC=iC;aC.Item=Rx,aC.SubMenu=Ux,aC.ItemGroup=Jx,aC.Divider=Yx;var lC=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Z}))},cC=i.forwardRef(lC);
|
|
30
|
+
/** */"production"!==process.env.NODE_ENV&&(cC.displayName="BarsOutlined");const sC=i.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),uC=e=>{const{antCls:t,componentCls:n,colorText:o,footerBg:r,headerHeight:i,headerPadding:a,headerColor:l,footerPadding:c,fontSize:s,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:i,padding:a,color:l,lineHeight:rn(i),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:c,color:o,fontSize:s,background:r},[`${n}-content`]:{flex:"auto",color:o,minHeight:0}}},dC=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:o,colorText:r,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:c}=e,s=1.25*o;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:`0 ${s}px`,headerColor:r,footerPadding:`${i}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:o+2*a,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:o,zeroTriggerHeight:o,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:r}},pC=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];var fC=cl("Layout",(e=>[uC(e)]),dC,{deprecatedTokens:pC});const mC=e=>{const{componentCls:t,siderBg:n,motionDurationMid:o,motionDurationSlow:r,antCls:i,triggerHeight:a,triggerColor:l,triggerBg:c,headerHeight:s,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:p,lightSiderBg:f,lightTriggerColor:m,lightTriggerBg:g,bodyBg:h}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${o}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:l,lineHeight:rn(a),textAlign:"center",background:c,cursor:"pointer",transition:`all ${o}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:s,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${rn(p)} ${rn(p)} 0`,cursor:"pointer",transition:`background ${r} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${r}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${rn(p)} 0 0 ${rn(p)}`}},"&-light":{background:f,[`${t}-trigger`]:{color:m,background:g},[`${t}-zero-width-trigger`]:{color:m,background:g,border:`1px solid ${h}`,borderInlineStart:0}}}}};var gC=cl(["Layout","Sider"],(e=>[mC(e)]),dC,{deprecatedTokens:pC}),hC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const vC={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},bC=i.createContext({}),yC=(()=>{let e=0;return function(){return e+=1,`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}${e}`}})(),xC=i.forwardRef(((e,n)=>{const{prefixCls:o,className:r,trigger:a,children:l,defaultCollapsed:c=!1,theme:s="dark",style:u={},collapsible:d=!1,reverseArrow:p=!1,width:m=200,collapsedWidth:g=80,zeroWidthTriggerStyle:h,breakpoint:v,onCollapse:b,onBreakpoint:y}=e,x=hC(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:C}=t.useContext(sC),[w,S]=t.useState("collapsed"in e?e.collapsed:c),[E,k]=t.useState(!1);t.useEffect((()=>{"collapsed"in e&&S(e.collapsed)}),[e.collapsed]);const $=(t,n)=>{"collapsed"in e||S(t),null==b||b(t,n)},{getPrefixCls:O,direction:M}=t.useContext(fa),N=O("layout-sider",o),[j,I,P]=gC(N),T=t.useRef(null);T.current=e=>{k(e.matches),null==y||y(e.matches),w!==e.matches&&$(e.matches,"responsive")},t.useEffect((()=>{function e(e){return T.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:n}=window;if(n&&v&&v in vC){t=n(`screen and (max-width: ${vC[v]})`);try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}}),[v]),t.useEffect((()=>{const e=yC("ant-sider-");return C.addSider(e),()=>C.removeSider(e)}),[]);const R=()=>{$(!w,"clickTrigger")},B=Cu(x,["collapsed"]),z=w?g:m,D=(L=z,!Number.isNaN(Number.parseFloat(L))&&isFinite(L)?`${z}px`:String(z));var L;const F=0===parseFloat(String(g||0))?i.createElement("span",{onClick:R,className:f(`${N}-zero-width-trigger`,`${N}-zero-width-trigger-${p?"right":"left"}`),style:h},a||i.createElement(cC,null)):null,H="rtl"===M==!p,A={expanded:H?i.createElement(Ed,null):i.createElement(Ty,null),collapsed:H?i.createElement(Ty,null):i.createElement(Ed,null)}[w?"collapsed":"expanded"],_=null!==a?F||i.createElement("div",{className:`${N}-trigger`,onClick:R,style:{width:D}},a||A):null,W=Object.assign(Object.assign({},u),{flex:`0 0 ${D}`,maxWidth:D,minWidth:D,width:D}),V=f(N,`${N}-${s}`,{[`${N}-collapsed`]:!!w,[`${N}-has-trigger`]:d&&null!==a&&!F,[`${N}-below`]:!!E,[`${N}-zero-width`]:0===parseFloat(D)},r,I,P),X=i.useMemo((()=>({siderCollapsed:w})),[w]);return j(i.createElement(bC.Provider,{value:X},i.createElement("aside",Object.assign({className:V},B,{style:W,ref:n}),i.createElement("div",{className:`${N}-children`},l),d||E&&F?_:null)))}));"production"!==process.env.NODE_ENV&&(xC.displayName="Sider");var CC=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:de}))},wC=i.forwardRef(CC);
|
|
31
|
+
/** */"production"!==process.env.NODE_ENV&&(wC.displayName="EllipsisOutlined");const SC=t.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var EC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const kC=e=>{const{prefixCls:t,className:n,dashed:o}=e,r=EC(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=i.useContext(fa),l=a("menu",t),c=f({[`${l}-item-divider-dashed`]:!!o},n);return i.createElement(Yx,Object.assign({className:c},r))},$C=e=>{var t;const{className:n,children:o,icon:r,title:a,danger:l,extra:c}=e,{prefixCls:s,firstLevel:u,direction:d,disableMenuItemTitleTooltip:p,inlineCollapsed:m}=i.useContext(SC),{siderCollapsed:g}=i.useContext(bC);let h=a;void 0===a?h=u?o:"":!1===a&&(h="");const v={title:h};g||m||(v.title=null,v.open=!1);const b=Ho(o).length;let y=i.createElement(Rx,Object.assign({},Cu(e,["title","icon","danger"]),{className:f({[`${s}-item-danger`]:l,[`${s}-item-only-child`]:1===(r?b+1:b)},n),title:"string"==typeof a?a:void 0}),as(r,{className:f(i.isValidElement(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=null==o?void 0:o[0],n=i.createElement("span",{className:f(`${s}-title-content`,{[`${s}-title-content-with-extra`]:!!c||0===c})},o);return(!r||i.isValidElement(o)&&"span"===o.type)&&o&&e&&u&&"string"==typeof t?i.createElement("div",{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):n})(m));return p||(y=i.createElement(xy,Object.assign({},v,{placement:"rtl"===d?"left":"right",classNames:{root:`${s}-inline-collapsed-tooltip`}}),y)),y};var OC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const MC=i.createContext(null),NC=i.forwardRef(((e,t)=>{const{children:n}=e,o=OC(e,["children"]),r=i.useContext(MC),a=i.useMemo((()=>Object.assign(Object.assign({},r),o)),[r,o.prefixCls,o.mode,o.selectable,o.rootClassName]),l=function(e){return Ko(e)&&qo(e)}(n),c=Go(t,l?Uo(n):null);return i.createElement(MC.Provider,{value:a},i.createElement(Mm,{space:!0},l?i.cloneElement(n,{ref:c}):n))})),jC=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:r,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${rn(i)} ${a} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},IC=e=>{let{componentCls:t,menuArrowOffset:n,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${rn(o(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${rn(n)})`}}}}},PC=e=>Object.assign({},rl(e)),TC=(e,t)=>{const{componentCls:n,itemColor:o,itemSelectedColor:r,subMenuItemSelectedColor:i,groupTitleColor:a,itemBg:l,subMenuItemBg:c,itemSelectedBg:s,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:p,motionDurationSlow:f,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:b,lineType:y,colorSplit:x,itemDisabledColor:C,dangerItemColor:w,dangerItemHoverColor:S,dangerItemSelectedColor:E,dangerItemActiveBg:k,dangerItemSelectedBg:$,popupBg:O,itemHoverBg:M,itemActiveBg:N,menuSubMenuBg:j,horizontalItemSelectedColor:I,horizontalItemSelectedBg:P,horizontalItemBorderRadius:T,horizontalItemHoverBg:R}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:o,background:l,[`&${n}-root:focus-visible`]:Object.assign({},PC(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:a}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:i},[`${n}-item, ${n}-submenu-title`]:{color:o,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},PC(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:N}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:N}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:k}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:E},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:$}},[`&${n}-submenu > ${n}`]:{backgroundColor:j},[`&${n}-popup > ${n}`]:{backgroundColor:O},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:O},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${rn(u)} solid transparent`,transition:`border-color ${f} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:R,"&::after":{borderBottomWidth:u,borderBottomColor:I}},"&-selected":{color:I,backgroundColor:P,"&:hover":{backgroundColor:P},"&::after":{borderBottomWidth:u,borderBottomColor:I}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${rn(p)} ${y} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${rn(d)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:E}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${m}`,`opacity ${v} ${m}`].join(",")}}}}}},RC=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:c,itemPaddingInline:s}=e,u=e.calc(i).add(r).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:rn(n),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:l,width:c},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:rn(n)},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:u}}},BC=e=>{const{componentCls:t,iconCls:n,itemHeight:o,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:a,motionEaseOut:l,paddingXL:c,itemMarginInline:s,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:p,paddingXS:f,boxShadowSecondary:m,collapsedWidth:g,collapsedIconSize:h}=e,v={height:o,lineHeight:rn(o),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},RC(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},RC(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${rn(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${d} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${rn(e.calc(h).div(2).equal())} - ${rn(s)})`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:rn(o),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},nl),{paddingInline:f})}}]},zC=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:r,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${r}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${o} ${i}`,`margin ${n} ${r}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${r}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},DC=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${rn(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${rn(a)})`}}}}},LC=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:c,colorSplit:s,lineWidth:u,zIndexPopup:d,borderRadiusLG:p,subMenuItemBorderRadius:f,menuArrowSize:m,menuArrowOffset:g,lineType:h,groupTitleLineHeight:v,groupTitleFontSize:b}=e;return[{"":{[n]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${rn(l)} ${rn(c)}`,fontSize:b,lineHeight:v,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${a}`,`padding ${r} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:h,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),zC(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${rn(e.calc(o).mul(2).equal())} ${rn(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},zC(e)),DC(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:f},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${a}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),DC(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${rn(g)})`},"&::after":{transform:`rotate(45deg) translateX(${rn(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${rn(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${rn(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${rn(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},FC=e=>{var t,n,o;const{colorPrimary:r,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:c,colorTextDescription:s,colorBgContainer:u,colorFillAlter:d,colorFillContent:p,lineWidth:f,lineWidthBold:m,controlItemBgActive:g,colorBgTextHover:h,controlHeightLG:v,lineHeight:b,colorBgElevated:y,marginXXS:x,padding:C,fontSize:w,controlHeightSM:S,fontSizeLG:E,colorTextLightSolid:k,colorErrorHover:$}=e,O=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,M=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:f,N=null!==(o=e.itemMarginInline)&&void 0!==o?o:e.marginXXS,j=new gi(k).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:s,groupTitleColor:s,colorItemTextSelected:r,itemSelectedColor:r,subMenuItemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:u,itemBg:u,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:p,itemActiveBg:g,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:f,activeBarBorderWidth:M,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:N,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:b,collapsedWidth:2*v,popupBg:y,itemMarginBlock:x,itemPaddingInline:C,horizontalLineHeight:1.15*v+"px",iconSize:w,iconMarginInlineEnd:S-w,collapsedIconSize:E,groupTitleFontSize:w,darkItemDisabledColor:new gi(k).setA(.25).toRgbString(),darkItemColor:j,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:k,darkItemSelectedBg:r,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:j,darkItemHoverColor:k,darkDangerItemHoverColor:$,darkDangerItemSelectedColor:k,darkDangerItemActiveBg:i,itemWidth:O?`calc(100% + ${M}px)`:`calc(100% - ${2*N}px)`}};const HC=e=>{var t;const{popupClassName:n,icon:o,title:r,theme:a}=e,l=i.useContext(SC),{prefixCls:c,inlineCollapsed:s,theme:u}=l,d=Jy();let p;if(o){const e=i.isValidElement(r)&&"span"===r.type;p=i.createElement(i.Fragment,null,as(o,{className:f(i.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${c}-item-icon`)}),e?r:i.createElement("span",{className:`${c}-title-content`},r))}else p=s&&!d.length&&r&&"string"==typeof r?i.createElement("div",{className:`${c}-inline-collapsed-noicon`},r.charAt(0)):i.createElement("span",{className:`${c}-title-content`},r);const m=i.useMemo((()=>Object.assign(Object.assign({},l),{firstLevel:!1})),[l]),[g]=Ls("Menu");return i.createElement(SC.Provider,{value:m},i.createElement(Ux,Object.assign({},Cu(e,["icon"]),{title:p,popupClassName:f(c,n,`${c}-${a||u}`),popupStyle:Object.assign({zIndex:g},e.popupStyle)})))};var AC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function _C(e){return null===e||!1===e}const WC={item:$C,submenu:HC,divider:kC},VC=t.forwardRef(((e,t)=>{var n;const o=i.useContext(MC),r=o||{},{getPrefixCls:a,getPopupContainer:l,direction:c,menu:s}=i.useContext(fa),u=a(),{prefixCls:d,className:p,style:m,theme:g="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:v,inlineCollapsed:b,siderCollapsed:y,rootClassName:x,mode:C,selectable:w,onClick:S,overflowedIndicatorPopupClassName:E}=e,k=Cu(AC(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]);if("production"!==process.env.NODE_ENV){const t=Gr("Menu");"production"!==process.env.NODE_ENV&&t(!("inlineCollapsed"in e&&"inline"!==C),"usage","`inlineCollapsed` should only be used when `mode` is inline."),t.deprecated("items"in e&&!e.children,"children","items")}null===(n=r.validator)||void 0===n||n.call(r,{mode:C});const $=ja((function(){var e;null==S||S.apply(void 0,arguments),null===(e=r.onClick)||void 0===e||e.call(r)})),O=r.mode||C,M=null!=w?w:r.selectable,N=null!=b?b:y,j={horizontal:{motionName:`${u}-slide-up`},inline:yu(u),other:{motionName:`${u}-zoom-big`}},I=a("menu",d||r.prefixCls),P=ys(I),[T,R,B]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const n=cl("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:n,fontSize:o,darkItemColor:r,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:c,darkItemSelectedBg:s,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:p,darkItemHoverColor:f,darkItemDisabledColor:m,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:h,darkDangerItemActiveBg:v,popupBg:b,darkPopupBg:y}=e,x=e.calc(o).div(7).mul(5).equal(),C=Da(e,{menuArrowSize:x,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(x).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:b}),w=Da(C,{itemColor:r,itemHoverColor:f,groupTitleColor:p,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:a,popupBg:y,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:i,dangerItemHoverColor:g,dangerItemSelectedColor:h,dangerItemActiveBg:v,dangerItemSelectedBg:u,menuSubMenuBg:l,horizontalItemSelectedColor:c,horizontalItemSelectedBg:s});return[LC(C),jC(C),BC(C),TC(C,"light"),TC(w,"dark"),IC(C),kd(C),Ud(C,"slide-up"),Ud(C,"slide-down"),op(C,"zoom-big")]}),FC,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],unitless:{groupTitleLineHeight:!0}});return n(e,t)}(I,P,!o),z=f(`${I}-${g}`,null==s?void 0:s.className,p),D=i.useMemo((()=>{var e,t;if("function"==typeof h||_C(h))return h||null;if("function"==typeof r.expandIcon||_C(r.expandIcon))return r.expandIcon||null;if("function"==typeof(null==s?void 0:s.expandIcon)||_C(null==s?void 0:s.expandIcon))return(null==s?void 0:s.expandIcon)||null;const n=null!==(e=null!=h?h:null==r?void 0:r.expandIcon)&&void 0!==e?e:null==s?void 0:s.expandIcon;return as(n,{className:f(`${I}-submenu-expand-icon`,i.isValidElement(n)?null===(t=n.props)||void 0===t?void 0:t.className:void 0)})}),[h,null==r?void 0:r.expandIcon,null==s?void 0:s.expandIcon,I]),L=i.useMemo((()=>({prefixCls:I,inlineCollapsed:N||!1,direction:c,firstLevel:!0,theme:g,mode:O,disableMenuItemTitleTooltip:v})),[I,N,c,v,g]);return T(i.createElement(MC.Provider,{value:null},i.createElement(SC.Provider,{value:L},i.createElement(aC,Object.assign({getPopupContainer:l,overflowedIndicator:i.createElement(wC,null),overflowedIndicatorPopupClassName:f(I,`${I}-${g}`,E),mode:O,selectable:M,onClick:$},k,{inlineCollapsed:N,style:Object.assign(Object.assign({},null==s?void 0:s.style),m),className:z,prefixCls:I,direction:c,defaultMotions:j,expandIcon:D,ref:t,rootClassName:f(x,R,r.rootClassName,B,P),_internalComponents:WC})))))})),XC=t.forwardRef(((e,n)=>{const o=t.useRef(null),r=i.useContext(bC);return t.useImperativeHandle(n,(()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}}))),i.createElement(VC,Object.assign({ref:o},e,r))}));XC.Item=$C,XC.SubMenu=HC,XC.Divider=kC,XC.ItemGroup=Jx,"production"!==process.env.NODE_ENV&&(XC.displayName="Menu");const GC=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},qC=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:c,paddingBlock:s,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:p,fontSizeIcon:f,controlPaddingHorizontal:m,colorBgElevated:g}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:f}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:f},[`${l}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Hd},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:_d},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Ad},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Wd}}},cy(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},ol(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},il(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${rn(s)} ${rn(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${rn(s)} ${rn(m)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},il(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${rn(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:f,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${rn(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Ud(e,"slide-up"),Ud(e,"slide-down"),Fd(e,"move-up"),Fd(e,"move-down"),op(e,"zoom-big")]]};var KC=cl("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:o,componentCls:r}=e,i=Da(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:o});return[qC(i),GC(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},ay({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),ry(e))),{resetStyle:!1});const UC=e=>{var t;const{menu:n,arrow:o,prefixCls:r,children:a,trigger:l,disabled:c,dropdownRender:s,getPopupContainer:u,overlayClassName:d,rootClassName:p,overlayStyle:m,open:g,onOpenChange:h,visible:v,onVisibleChange:b,mouseEnterDelay:y=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:C=!0,placement:w="",overlay:S,transitionName:E}=e,{getPopupContainer:k,getPrefixCls:$,direction:O,dropdown:M}=i.useContext(fa),N=Gr("Dropdown");"production"!==process.env.NODE_ENV&&([["visible","open"],["onVisibleChange","onOpenChange"]].forEach((t=>{let[n,o]=t;N.deprecated(!(n in e),n,o)})),N.deprecated(!("overlay"in e),"overlay","menu"));const j=i.useMemo((()=>{const e=$();return void 0!==E?E:w.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[$,w,E]),I=i.useMemo((()=>w?w.includes("Center")?w.slice(0,w.indexOf("Center")):w:"rtl"===O?"bottomRight":"bottomLeft"),[w,O]);if("production"!==process.env.NODE_ENV){if(w.includes("Center")){const e=w.slice(0,w.indexOf("Center"));"production"!==process.env.NODE_ENV&&N(!w.includes("Center"),"deprecated",`You are using '${w}' placement in Dropdown, which is deprecated. Try to use '${e}' instead.`)}[["visible","open"],["onVisibleChange","onOpenChange"]].forEach((t=>{let[n,o]=t;N.deprecated(!(n in e),n,o)}))}const P=$("dropdown",r),T=ys(P),[R,B,z]=KC(P,T),[,D]=tl(),L=i.Children.only("object"!=typeof(F=a)&&"function"!=typeof F||null===F?i.createElement("span",null,a):a);var F;const H=as(L,{className:f(`${P}-trigger`,{[`${P}-rtl`]:"rtl"===O},L.props.className),disabled:null!==(t=L.props.disabled)&&void 0!==t?t:c}),A=c?[]:l,_=!!(null==A?void 0:A.includes("contextMenu")),[W,V]=Ta(!1,{value:null!=g?g:v}),X=ja((e=>{null==h||h(e,{source:"trigger"}),null==b||b(e),V(e)})),G=f(d,p,B,z,T,null==M?void 0:M.className,{[`${P}-rtl`]:"rtl"===O}),q=py({arrowPointAtCenter:"object"==typeof o&&o.pointAtCenter,autoAdjustOverflow:C,offset:D.marginXXS,arrowWidth:o?D.sizePopupArrow:0,borderRadius:D.borderRadius}),K=i.useCallback((()=>{(null==n?void 0:n.selectable)&&(null==n?void 0:n.multiple)||(null==h||h(!1,{source:"menu"}),V(!1))}),[null==n?void 0:n.selectable,null==n?void 0:n.multiple]),[U,Y]=Ls("Dropdown",null==m?void 0:m.zIndex);let Z=i.createElement(_y,Object.assign({alignPoint:_},Cu(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:x,visible:W,builtinPlacements:q,arrow:!!o,overlayClassName:G,prefixCls:P,getPopupContainer:u||k,transitionName:j,trigger:A,overlay:()=>{let e;return e=(null==n?void 0:n.items)?i.createElement(XC,Object.assign({},n)):"function"==typeof S?S():S,s&&(e=s(e)),e=i.Children.only("string"==typeof e?i.createElement("span",null,e):e),i.createElement(NC,{prefixCls:`${P}-menu`,rootClassName:f(z,T),expandIcon:i.createElement("span",{className:`${P}-menu-submenu-arrow`},"rtl"===O?i.createElement(Ty,{className:`${P}-menu-submenu-arrow-icon`}):i.createElement(Ed,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:K,validator:e=>{let{mode:t}=e;"production"!==process.env.NODE_ENV&&N(!t||"vertical"===t,"usage",`mode="${t}" is not supported for Dropdown's Menu.`)}},e)},placement:I,onVisibleChange:X,overlayStyle:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.style),m),{zIndex:U})}),H);return U&&(Z=i.createElement(Ts.Provider,{value:Y},Z)),R(Z)},YC=Kg(UC,"align",0,"dropdown",(e=>e));UC._InternalPanelDoNotUseOrYouWillBeFired=e=>i.createElement(YC,Object.assign({},e),i.createElement("span",null)),"production"!==process.env.NODE_ENV&&(UC.displayName="Dropdown");const ZC=e=>{let{children:t}=e;const{getPrefixCls:n}=i.useContext(fa),o=n("breadcrumb");return i.createElement("li",{className:`${o}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};ZC.__ANT_BREADCRUMB_SEPARATOR=!0;var QC=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function JC(e,t,n,o){if(null==n)return null;const{className:r,onClick:a}=t,l=QC(t,["className","onClick"]),c=Object.assign(Object.assign({},os(l,{data:!0,aria:!0})),{onClick:a});return void 0!==o?i.createElement("a",Object.assign({},c,{className:f(`${e}-link`,r),href:o}),n):i.createElement("span",Object.assign({},c,{className:f(`${e}-link`,r)}),n)}function ew(e,t){return(n,o,r,i,a)=>{if(t)return t(n,o,r,i);const l=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,o);return JC(e,n,l,a)}}var tw=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const nw=e=>{const{prefixCls:t,separator:n="/",children:o,menu:r,overlay:a,dropdownProps:l,href:c}=e;if("production"!==process.env.NODE_ENV){Gr("Breadcrumb.Item").deprecated(!("overlay"in e),"overlay","menu")}const s=(e=>{if(r||a){const n=Object.assign({},l);if(r){const e=r||{},{items:t}=e,o=tw(e,["items"]);n.menu=Object.assign(Object.assign({},o),{items:null==t?void 0:t.map(((e,t)=>{var{key:n,title:o,label:r,path:a}=e,l=tw(e,["key","title","label","path"]);let s=null!=r?r:o;return a&&(s=i.createElement("a",{href:`${c}${a}`},s)),Object.assign(Object.assign({},l),{key:null!=n?n:t,label:s})}))})}else a&&(n.overlay=a);return i.createElement(UC,Object.assign({placement:"bottom"},n),i.createElement("span",{className:`${t}-overlay-link`},e,i.createElement(Pb,null)))}return e})(o);return null!=s?i.createElement(i.Fragment,null,i.createElement("li",null,s),n&&i.createElement(ZC,null,n)):null},ow=e=>{const{prefixCls:t,children:n,href:o}=e,r=tw(e,["prefixCls","children","href"]),{getPrefixCls:a}=i.useContext(fa),l=a("breadcrumb",t);return i.createElement(nw,Object.assign({},r,{prefixCls:l}),JC(l,r,n,o))};ow.__ANT_BREADCRUMB_ITEM=!0;var rw=cl("Breadcrumb",(e=>(e=>{const{componentCls:t,iconCls:n,calc:o}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${rn(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:o(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},il(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${n} + span,\n > ${n} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${rn(e.paddingXXS)}`,marginInline:o(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})(Da(e,{}))),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),iw=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function aw(e){const{breadcrumbName:t,children:n}=e,o=iw(e,["breadcrumbName","children"]),r=Object.assign({title:t},o);return n&&(r.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=iw(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),r}var lw=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const cw=e=>{const{prefixCls:n,separator:o="/",style:r,className:a,rootClassName:l,routes:c,items:s,children:u,itemRender:d,params:p={}}=e,m=lw(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:g,direction:h,breadcrumb:v}=i.useContext(fa);let b;const y=g("breadcrumb",n),[x,C,w]=rw(y),S=function(e,n){return t.useMemo((()=>e||(n?n.map(aw):null)),[e,n])}(s,c);if("production"!==process.env.NODE_ENV){const e=Gr("Breadcrumb");if(e.deprecated(!c,"routes","items"),!S||0===S.length){const t=Ho(u);e.deprecated(0===t.length,"Breadcrumb.Item and Breadcrumb.Separator","items"),t.forEach((t=>{t&&"production"!==process.env.NODE_ENV&&e(t.type&&(!0===t.type.__ANT_BREADCRUMB_ITEM||!0===t.type.__ANT_BREADCRUMB_SEPARATOR),"usage","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children")}))}}const E=ew(y,d);if(S&&S.length>0){const e=[],t=s||c;b=S.map(((n,r)=>{const{path:a,key:l,type:c,menu:s,overlay:u,onClick:d,className:f,separator:m,dropdownProps:g}=n,h=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(p,a);void 0!==h&&e.push(h);const v=null!=l?l:r;if("separator"===c)return i.createElement(ZC,{key:v},m);const b={},x=r===S.length-1;s?b.menu=s:u&&(b.overlay=u);let{href:C}=n;return e.length&&void 0!==h&&(C=`#/${e.join("/")}`),i.createElement(nw,Object.assign({key:v},b,os(n,{data:!0,aria:!0}),{className:f,dropdownProps:g,href:C,separator:x?"":o,onClick:d,prefixCls:y}),E(n,p,t,e,C))}))}else if(u){const e=Ho(u).length;b=Ho(u).map(((t,n)=>{if(!t)return t;return as(t,{separator:n===e-1?"":o,key:n})}))}const k=f(y,null==v?void 0:v.className,{[`${y}-rtl`]:"rtl"===h},a,l,C,w),$=Object.assign(Object.assign({},null==v?void 0:v.style),r);return x(i.createElement("nav",Object.assign({className:k,style:$},m),i.createElement("ol",null,b)))};cw.Item=ow,cw.Separator=ZC,"production"!==process.env.NODE_ENV&&(cw.displayName="Breadcrumb");var sw,uw={exports:{}};function dw(){return sw||(sw=1,uw.exports=function(){var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",a="hour",l="day",c="week",s="month",u="quarter",d="year",p="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},b={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+v(o,2,"0")+":"+v(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,s),i=n-r<0,a=t.clone().add(o+(i?-1:1),s);return+(-(o+(n-r)/(i?r-a:a-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:s,y:d,w:c,d:l,D:p,h:a,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",x={};x[y]=h;var C="$isDayjsObject",w=function(e){return e instanceof $||!(!e||!e[C])},S=function e(t,n,o){var r;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();x[i]&&(r=i),n&&(x[i]=n,r=i);var a=t.split("-");if(!r&&a.length>1)return e(a[0])}else{var l=t.name;x[l]=t,r=l}return!o&&r&&(y=r),r||!o&&y},E=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new $(n)},k=b;k.l=S,k.i=w,k.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var $=function(){function h(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[C]=!0}var v=h.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(m);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===f)},v.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return E(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<E(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,o=!!k.u(t)||t,u=k.p(e),f=function(e,t){var r=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(l)},m=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,h=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case s:return o?f(1,h):f(0,h+1);case c:var y=this.$locale().weekStart||0,x=(g<y?g+7:g)-y;return f(o?v-x:v+(6-x),h);case l:case p:return m(b+"Hours",0);case a:return m(b+"Minutes",1);case i:return m(b+"Seconds",2);case r:return m(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,c=k.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[l]=u+"Date",n[p]=u+"Date",n[s]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[c],m=c===l?this.$D+(t-this.$W):t;if(c===s||c===d){var g=this.clone().set(p,1);g.$d[f](m),g.init(),this.$d=g.set(p,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(o,u){var p,f=this;o=Number(o);var m=k.p(u),g=function(e){var t=E(f);return k.w(t.date(t.date()+Math.round(e*o)),f)};if(m===s)return this.set(s,this.$M+o);if(m===d)return this.set(d,this.$y+o);if(m===l)return g(1);if(m===c)return g(7);var h=(p={},p[i]=t,p[a]=n,p[r]=e,p)[m]||1,v=this.$d.getTime()+o*h;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var o=e||"YYYY-MM-DDTHH:mm:ssZ",r=k.z(this),i=this.$H,a=this.$m,l=this.$M,c=n.weekdays,s=n.months,u=n.meridiem,d=function(e,n,r,i){return e&&(e[n]||e(t,o))||r[n].slice(0,i)},p=function(e){return k.s(i%12||12,e,"0")},m=u||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o};return o.replace(g,(function(e,o){return o||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return l+1;case"MM":return k.s(l+1,2,"0");case"MMM":return d(n.monthsShort,l,s,3);case"MMMM":return d(s,l);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(o,p,f){var m,g=this,h=k.p(p),v=E(o),b=(v.utcOffset()-this.utcOffset())*t,y=this-v,x=function(){return k.m(g,v)};switch(h){case d:m=x()/12;break;case s:m=x();break;case u:m=x()/3;break;case c:m=(y-b)/6048e5;break;case l:m=(y-b)/864e5;break;case a:m=y/n;break;case i:m=y/t;break;case r:m=y/e;break;default:m=y}return f?m:k.a(m)},v.daysInMonth=function(){return this.endOf(s).$D},v.$locale=function(){return x[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=S(e,t,!0);return o&&(n.$L=o),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},h}(),O=$.prototype;return E.prototype=O,[["$ms",o],["$s",r],["$m",i],["$H",a],["$W",l],["$M",s],["$y",d],["$D",p]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,$,E),e.$i=!0),E},E.locale=S,E.isDayjs=w,E.unix=function(e){return E(1e3*e)},E.en=x[y],E.Ls=x,E.p={},E}()),uw.exports}var pw=c(dw());function fw(e){return Da(e,{inputAffixPadding:e.paddingXXS})}const mw=e=>{const{controlHeight:t,fontSize:n,lineHeight:o,lineWidth:r,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:s,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:m,controlOutlineWidth:g,controlOutline:h,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:y,inputFontSize:x,inputFontSizeLG:C,inputFontSizeSM:w}=e,S=x||n,E=w||S,k=C||l,$=Math.round((t-S*o)/2*10)/10-r,O=Math.round((i-E*o)/2*10)/10-r,M=Math.ceil((a-k*c)/2*10)/10-r;return{paddingBlock:Math.max($,0),paddingBlockSM:Math.max(O,0),paddingBlockLG:Math.max(M,0),paddingInline:s-r,paddingInlineSM:u-r,paddingInlineLG:d-r,addonBg:p,activeBorderColor:m,hoverBorderColor:f,activeShadow:`0 0 0 ${g}px ${h}`,errorActiveShadow:`0 0 0 ${g}px ${v}`,warningActiveShadow:`0 0 0 ${g}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:S,inputFontSizeLG:k,inputFontSizeSM:E}},gw=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),hw=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},gw(Da(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),vw=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),bw=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},vw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),yw=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vw(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},hw(e))}),bw(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),bw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),xw=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Cw=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},xw(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),xw(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},hw(e))}})}),ww=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Sw=(e,t)=>{var n;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null!==(n=null==t?void 0:t.inputColor)&&void 0!==n?n:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},Ew=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Sw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),kw=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Sw(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},hw(e))}),Ew(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Ew(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),$w=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Ow=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},$w(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),$w(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Mw=(e,t)=>({background:e.colorBgContainer,borderWidth:`${rn(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.borderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.borderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),Nw=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Mw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),jw=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Mw(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Nw(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),Nw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Iw=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:r}=e;return{padding:`${rn(t)} ${rn(r)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:o}},Pw=e=>({padding:`${rn(e.paddingBlockSM)} ${rn(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Tw=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${rn(e.paddingBlock)} ${rn(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},{"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e.colorTextPlaceholder,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),{"&-lg":Object.assign({},Iw(e)),"&-sm":Object.assign({},Pw(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Rw=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Iw(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Pw(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${rn(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${rn(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${rn(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${rn(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${rn(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Bw=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:o,calc:r}=e,i=r(n).sub(r(o).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),Tw(e)),yw(e)),kw(e)),ww(e)),jw(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},zw=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${rn(e.inputAffixPadding)}`}}}},Dw=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:o,motionDurationSlow:r,colorIcon:i,colorIconHover:a,iconCls:l}=e,c=`${t}-affix-wrapper`,s=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},Tw(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),zw(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}}),[`${t}-underlined`]:{borderRadius:0},[s]:{[`${l}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},Lw=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:o}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},ol(e)),Rw(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:o}}},Cw(e)),Ow(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},Fw=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-search`;return{[o]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${o}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${o}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${o}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${o}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${o}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${o}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Hw=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Aw=cl(["Input","Shared"],(e=>{const t=Da(e,fw(e));return[Bw(t),Dw(t)]}),mw,{resetFont:!1});var _w=cl(["Input","Component"],(e=>{const t=Da(e,fw(e));return[Lw(t),Fw(t),Hw(t),Rp(t)]}),mw,{resetFont:!1}),Ww=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Me}))},Vw=i.forwardRef(Ww);"production"!==process.env.NODE_ENV&&(Vw.displayName="PlusOutlined");var Xw=t.createContext(null),Gw={width:0,height:0,left:0,top:0};function qw(e,t){var n=i.useRef(e),o=tt(i.useState({}),2)[1];return[n.current,function(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,o({})}]}var Kw=Math.pow(.995,20);function Uw(e){var n=tt(t.useState(0),2),o=n[0],r=n[1],i=t.useRef(0),a=t.useRef();return a.current=e,pn((function(){var e;null===(e=a.current)||void 0===e||e.call(a)}),[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var Yw={width:0,height:0,left:0,top:0,right:0};function Zw(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Qw(e){return String(e).replace(/"/g,"TABS_DQ")}function Jw(e,t,n,o){return!(!n||o||!1===e||void 0===e&&(!1===t||null===t))}var eS=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,a=e.style;return o&&!1!==o.showAdd?i.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null})),tS=i.forwardRef((function(e,t){var n,o=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var l={};return"object"!==ot(a)||i.isValidElement(a)?l.right=a:l=a,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?i.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}));"production"!==process.env.NODE_ENV&&(tS.displayName="ExtraContent");var nS=i.forwardRef((function(e,n){var o=e.prefixCls,r=e.id,a=e.tabs,l=e.locale,c=e.mobile,s=e.more,u=void 0===s?{}:s,d=e.style,p=e.className,m=e.editable,g=e.tabBarGutter,h=e.rtl,v=e.removeAriaLabel,b=e.onTabClick,y=e.getPopupContainer,x=e.popupClassName,C=tt(t.useState(!1),2),w=C[0],S=C[1],E=tt(t.useState(null),2),k=E[0],$=E[1],O=u.icon,M=void 0===O?"More":O,N="".concat(r,"-more-popup"),j="".concat(o,"-dropdown"),I=null!==k?"".concat(N,"-").concat(k):null,P=null==l?void 0:l.dropdownAriaLabel;var T=i.createElement(aC,{onClick:function(e){var t=e.key,n=e.domEvent;b(t,n),S(!1)},prefixCls:"".concat(j,"-menu"),id:N,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[k],"aria-label":void 0!==P?P:"expanded dropdown"},a.map((function(e){var t=e.closable,n=e.disabled,o=e.closeIcon,a=e.key,l=e.label,c=Jw(t,o,m,n);return i.createElement(Rx,{key:a,id:"".concat(N,"-").concat(a),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(a),disabled:n},i.createElement("span",null,l),c&&i.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(j,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:t,event:e})}(e,a)}},o||m.removeIcon||"×"))})));function R(e){for(var t=a.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===k}))||0,o=t.length,r=0;r<o;r+=1){var i=t[n=(n+e+o)%o];if(!i.disabled)return void $(i.key)}}t.useEffect((function(){var e=document.getElementById(I);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[k]),t.useEffect((function(){w||$(null)}),[w]);var B=it({},h?"marginRight":"marginLeft",g);a.length||(B.visibility="hidden",B.order=1);var z=f(it({},"".concat(j,"-rtl"),h)),D=c?null:i.createElement(_y,Mn({prefixCls:j,overlay:T,visible:!!a.length&&w,onVisibleChange:S,overlayClassName:f(z,x),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:y},u),i.createElement("button",{type:"button",className:"".concat(o,"-nav-more"),style:B,"aria-haspopup":"listbox","aria-controls":N,id:"".concat(r,"-more"),"aria-expanded":w,onKeyDown:function(e){var t=e.which;if(w)switch(t){case xs.UP:R(-1),e.preventDefault();break;case xs.DOWN:R(1),e.preventDefault();break;case xs.ESC:S(!1);break;case xs.SPACE:case xs.ENTER:null!==k&&b(k,e)}else[xs.DOWN,xs.SPACE,xs.ENTER].includes(t)&&(S(!0),e.preventDefault())}},M));return i.createElement("div",{className:f("".concat(o,"-nav-operations"),p),style:d,ref:n},D,i.createElement(eS,{prefixCls:o,locale:l,editable:m}))})),oS=i.memo(nS,(function(e,t){return t.tabMoving})),rS=function(e){var t=e.prefixCls,n=e.id,o=e.active,r=e.focus,a=e.tab,l=a.key,c=a.label,s=a.disabled,u=a.closeIcon,d=a.icon,p=e.closable,m=e.renderWrapper,g=e.removeAriaLabel,h=e.editable,v=e.onClick,b=e.onFocus,y=e.onBlur,x=e.onKeyDown,C=e.onMouseDown,w=e.onMouseUp,S=e.style,E=e.tabCount,k=e.currentPosition,$="".concat(t,"-tab"),O=Jw(p,u,h,s);function M(e){s||v(e)}var N=i.useMemo((function(){return d&&"string"==typeof c?i.createElement("span",null,c):c}),[c,d]),j=i.useRef(null);i.useEffect((function(){r&&j.current&&j.current.focus()}),[r]);var I=i.createElement("div",{key:l,"data-node-key":Qw(l),className:f($,it(it(it(it({},"".concat($,"-with-remove"),O),"".concat($,"-active"),o),"".concat($,"-disabled"),s),"".concat($,"-focus"),r)),style:S,onClick:M},i.createElement("div",{ref:j,role:"tab","aria-selected":o,id:n&&"".concat(n,"-tab-").concat(l),className:"".concat($,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(l),"aria-disabled":s,tabIndex:s?null:o?0:-1,onClick:function(e){e.stopPropagation(),M(e)},onKeyDown:x,onMouseDown:C,onMouseUp:w,onFocus:b,onBlur:y},r&&i.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"Tab ".concat(k," of ").concat(E)),d&&i.createElement("span",{className:"".concat($,"-icon")},d),c&&N),O&&i.createElement("button",{type:"button",role:"tab","aria-label":g||"remove",tabIndex:o?0:-1,className:"".concat($,"-remove"),onClick:function(e){var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),h.onEdit("remove",{key:l,event:t})}},u||h.removeIcon||"×"));return m?m(I):I},iS=function(e){var t=e.current||{},n=t.offsetWidth,o=void 0===n?0:n,r=t.offsetHeight,i=void 0===r?0:r;if(e.current){var a=e.current.getBoundingClientRect(),l=a.width,c=a.height;if(Math.abs(l-o)<1)return[l,c]}return[o,i]},aS=function(e,t){return e[t?0:1]},lS=i.forwardRef((function(e,n){var o,r,a,l,c,s=e.className,u=e.style,d=e.id,p=e.animated,m=e.activeKey,g=e.rtl,h=e.extra,v=e.editable,b=e.locale,y=e.tabPosition,x=e.tabBarGutter,C=e.children,w=e.onTabClick,S=e.onTabScroll,E=e.indicator,k=i.useContext(Xw),$=k.prefixCls,O=k.tabs,M=t.useRef(null),N=t.useRef(null),j=t.useRef(null),I=t.useRef(null),P=t.useRef(null),T=t.useRef(null),R=t.useRef(null),B="top"===y||"bottom"===y,z=qw(0,(function(e,t){B&&S&&S({direction:e>t?"left":"right"})})),D=tt(z,2),L=D[0],F=D[1],H=qw(0,(function(e,t){!B&&S&&S({direction:e>t?"top":"bottom"})})),A=tt(H,2),_=A[0],W=A[1],V=tt(t.useState([0,0]),2),X=V[0],G=V[1],q=tt(t.useState([0,0]),2),K=q[0],U=q[1],Y=tt(t.useState([0,0]),2),Z=Y[0],Q=Y[1],J=tt(t.useState([0,0]),2),ee=J[0],te=J[1],ne=(o=new Map,r=t.useRef([]),a=tt(t.useState({}),2)[1],l=t.useRef("function"==typeof o?o():o),c=Uw((function(){var e=l.current;r.current.forEach((function(t){e=t(e)})),r.current=[],l.current=e,a({})})),[l.current,function(e){r.current.push(e),c()}]),oe=tt(ne,2),re=oe[0],ie=oe[1],ae=function(e,n,o){return t.useMemo((function(){for(var t,o=new Map,r=n.get(null===(t=e[0])||void 0===t?void 0:t.key)||Gw,i=r.left+r.width,a=0;a<e.length;a+=1){var l,c=e[a].key,s=n.get(c);s||(s=n.get(null===(l=e[a-1])||void 0===l?void 0:l.key)||Gw);var u=o.get(c)||lt({},s);u.right=i-u.left-u.width,o.set(c,u)}return o}),[e.map((function(e){return e.key})).join("_"),n,o])}(O,re,K[0]),le=aS(X,B),ce=aS(K,B),se=aS(Z,B),ue=aS(ee,B),de=Math.floor(le)<Math.floor(ce+se),pe=de?le-ue:le-se,fe="".concat($,"-nav-operations-hidden"),me=0,ge=0;function he(e){return e<me?me:e>ge?ge:e}B&&g?(me=0,ge=Math.max(0,ce-pe)):(me=Math.min(0,pe-ce),ge=0);var ve=t.useRef(null),be=tt(t.useState(),2),ye=be[0],xe=be[1];function Ce(){xe(Date.now())}function we(){ve.current&&clearTimeout(ve.current)}!function(e,n){var o=tt(t.useState(),2),r=o[0],a=o[1],l=tt(t.useState(0),2),c=l[0],s=l[1],u=tt(t.useState(0),2),d=u[0],p=u[1],f=tt(t.useState(),2),m=f[0],g=f[1],h=t.useRef(),v=t.useRef(),b=t.useRef(null);b.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,o=t.screenY;a({x:n,y:o}),window.clearInterval(h.current)},onTouchMove:function(e){if(r){var t=e.touches[0],o=t.screenX,i=t.screenY;a({x:o,y:i});var l=o-r.x,u=i-r.y;n(l,u);var d=Date.now();s(d),p(d-c),g({x:l,y:u})}},onTouchEnd:function(){if(r&&(a(null),g(null),m)){var e=m.x/d,t=m.y/d,o=Math.abs(e),i=Math.abs(t);if(Math.max(o,i)<.1)return;var l=e,c=t;h.current=window.setInterval((function(){Math.abs(l)<.01&&Math.abs(c)<.01?window.clearInterval(h.current):n(20*(l*=Kw),20*(c*=Kw))}),20)}},onWheel:function(e){var t=e.deltaX,o=e.deltaY,r=0,i=Math.abs(t),a=Math.abs(o);i===a?r="x"===v.current?t:o:i>a?(r=t,v.current="x"):(r=o,v.current="y"),n(-r,-r)&&e.preventDefault()}},i.useEffect((function(){function t(e){b.current.onTouchMove(e)}function n(e){b.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!0}),e.current.addEventListener("touchstart",(function(e){b.current.onTouchStart(e)}),{passive:!0}),e.current.addEventListener("wheel",(function(e){b.current.onWheel(e)}),{passive:!1}),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(I,(function(e,t){function n(e,t){e((function(e){return he(e+t)}))}return!!de&&(B?n(F,e):n(W,t),we(),Ce(),!0)})),t.useEffect((function(){return we(),ye&&(ve.current=setTimeout((function(){xe(0)}),100)),we}),[ye]);var Se=function(e,n,o,r,i,a,l){var c,s,u,d=l.tabs,p=l.tabPosition,f=l.rtl;return["top","bottom"].includes(p)?(c="width",s=f?"right":"left",u=Math.abs(o)):(c="height",s="top",u=-o),t.useMemo((function(){if(!d.length)return[0,0];for(var t=d.length,o=t,r=0;r<t;r+=1){var i=e.get(d[r].key)||Yw;if(Math.floor(i[s]+i[c])>Math.floor(u+n)){o=r-1;break}}for(var a=0,l=t-1;l>=0;l-=1)if((e.get(d[l].key)||Yw)[s]<u){a=l+1;break}return a>=o?[0,0]:[a,o]}),[e,n,r,i,a,u,p,d.map((function(e){return e.key})).join("_"),f])}(ae,pe,B?L:_,ce,se,ue,lt(lt({},e),{},{tabs:O})),Ee=tt(Se,2),ke=Ee[0],$e=Ee[1],Oe=ja((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=ae.get(e)||{width:0,height:0,left:0,right:0,top:0};if(B){var n=L;g?t.right<L?n=t.right:t.right+t.width>L+pe&&(n=t.right+t.width-pe):t.left<-L?n=-t.left:t.left+t.width>-L+pe&&(n=-(t.left+t.width-pe)),W(0),F(he(n))}else{var o=_;t.top<-_?o=-t.top:t.top+t.height>-_+pe&&(o=-(t.top+t.height-pe)),F(0),W(he(o))}})),Me=tt(t.useState(),2),Ne=Me[0],je=Me[1],Ie=tt(t.useState(!1),2),Pe=Ie[0],Te=Ie[1],Re=O.filter((function(e){return!e.disabled})).map((function(e){return e.key})),Be=function(e){var t=Re.indexOf(Ne||m),n=Re.length,o=Re[(t+e+n)%n];je(o)},ze=function(e){var t=e.code,n=g&&B,o=Re[0],r=Re[Re.length-1];switch(t){case"ArrowLeft":B&&Be(n?1:-1);break;case"ArrowRight":B&&Be(n?-1:1);break;case"ArrowUp":e.preventDefault(),B||Be(-1);break;case"ArrowDown":e.preventDefault(),B||Be(1);break;case"Home":e.preventDefault(),je(o);break;case"End":e.preventDefault(),je(r);break;case"Enter":case"Space":e.preventDefault(),w(null!=Ne?Ne:m,e);break;case"Backspace":case"Delete":var i=Re.indexOf(Ne),a=O.find((function(e){return e.key===Ne}));Jw(null==a?void 0:a.closable,null==a?void 0:a.closeIcon,v,null==a?void 0:a.disabled)&&(e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:Ne,event:e}),i===Re.length-1?Be(-1):Be(1))}},De={};B?De[g?"marginRight":"marginLeft"]=x:De.marginTop=x;var Le=O.map((function(e,t){var n=e.key;return i.createElement(rS,{id:d,prefixCls:$,key:n,tab:e,style:0===t?void 0:De,closable:e.closable,editable:v,active:n===m,focus:n===Ne,renderWrapper:C,removeAriaLabel:null==b?void 0:b.removeAriaLabel,tabCount:Re.length,currentPosition:t+1,onClick:function(e){w(n,e)},onKeyDown:ze,onFocus:function(){Pe||je(n),Oe(n),Ce(),I.current&&(g||(I.current.scrollLeft=0),I.current.scrollTop=0)},onBlur:function(){je(void 0)},onMouseDown:function(){Te(!0)},onMouseUp:function(){Te(!1)}})})),Fe=function(){return ie((function(){var e,t=new Map,n=null===(e=P.current)||void 0===e?void 0:e.getBoundingClientRect();return O.forEach((function(e){var o,r=e.key,i=null===(o=P.current)||void 0===o?void 0:o.querySelector('[data-node-key="'.concat(Qw(r),'"]'));if(i){var a=function(e,t){var n=e.offsetWidth,o=e.offsetHeight,r=e.offsetTop,i=e.offsetLeft,a=e.getBoundingClientRect(),l=a.width,c=a.height,s=a.left,u=a.top;return Math.abs(l-n)<1?[l,c,s-t.left,u-t.top]:[n,o,i,r]}(i,n),l=tt(a,4),c=l[0],s=l[1],u=l[2],d=l[3];t.set(r,{width:c,height:s,left:u,top:d})}})),t}))};t.useEffect((function(){Fe()}),[O.map((function(e){return e.key})).join("_")]);var He=Uw((function(){var e=iS(M),t=iS(N),n=iS(j);G([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var o=iS(R);Q(o);var r=iS(T);te(r);var i=iS(P);U([i[0]-o[0],i[1]-o[1]]),Fe()})),Ae=O.slice(0,ke),_e=O.slice($e+1),We=[].concat(Qe(Ae),Qe(_e)),Ve=ae.get(m),Xe=function(e){var n=e.activeTabOffset,o=e.horizontal,r=e.rtl,i=e.indicator,a=void 0===i?{}:i,l=a.size,c=a.align,s=void 0===c?"center":c,u=tt(t.useState(),2),d=u[0],p=u[1],f=t.useRef(),m=t.useCallback((function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e}),[l]);function g(){Pr.cancel(f.current)}return t.useEffect((function(){var e={};if(n)if(o){e.width=m(n.width);var t=r?"right":"left";"start"===s&&(e[t]=n[t]),"center"===s&&(e[t]=n[t]+n.width/2,e.transform=r?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[t]=n[t]+n.width,e.transform="translateX(-100%)")}else e.height=m(n.height),"start"===s&&(e.top=n.top),"center"===s&&(e.top=n.top+n.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=n.top+n.height,e.transform="translateY(-100%)");return g(),f.current=Pr((function(){var t=d&&e&&Object.keys(e).every((function(t){var n=e[t],o=d[t];return"number"==typeof n&&"number"==typeof o?Math.round(n)===Math.round(o):n===o}));t||p(e)})),g}),[JSON.stringify(n),o,r,s,m]),{style:d}}({activeTabOffset:Ve,horizontal:B,indicator:E,rtl:g}),Ge=Xe.style;t.useEffect((function(){Oe()}),[m,me,ge,Zw(Ve),Zw(ae),B]),t.useEffect((function(){He()}),[g]);var qe,Ke,Ue,Ye,Ze=!!We.length,Je="".concat($,"-nav-wrap");return B?g?(Ke=L>0,qe=L!==ge):(qe=L<0,Ke=L!==me):(Ue=_<0,Ye=_!==me),i.createElement($r,{onResize:He},i.createElement("div",{ref:Go(n,M),role:"tablist","aria-orientation":B?"horizontal":"vertical",className:f("".concat($,"-nav"),s),style:u,onKeyDown:function(){Ce()}},i.createElement(tS,{ref:N,position:"left",extra:h,prefixCls:$}),i.createElement($r,{onResize:He},i.createElement("div",{className:f(Je,it(it(it(it({},"".concat(Je,"-ping-left"),qe),"".concat(Je,"-ping-right"),Ke),"".concat(Je,"-ping-top"),Ue),"".concat(Je,"-ping-bottom"),Ye)),ref:I},i.createElement($r,{onResize:He},i.createElement("div",{ref:P,className:"".concat($,"-nav-list"),style:{transform:"translate(".concat(L,"px, ").concat(_,"px)"),transition:ye?"none":void 0}},Le,i.createElement(eS,{ref:R,prefixCls:$,locale:b,editable:v,style:lt(lt({},0===Le.length?void 0:De),{},{visibility:Ze?"hidden":null})}),i.createElement("div",{className:f("".concat($,"-ink-bar"),it({},"".concat($,"-ink-bar-animated"),p.inkBar)),style:Ge}))))),i.createElement(oS,Mn({},e,{removeAriaLabel:null==b?void 0:b.removeAriaLabel,ref:T,prefixCls:$,tabs:We,className:!Ze&&fe,tabMoving:!!ye})),i.createElement(tS,{ref:j,position:"right",extra:h,prefixCls:$})))})),cS=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,r=e.style,a=e.id,l=e.active,c=e.tabKey,s=e.children;return i.createElement("div",{id:a&&"".concat(a,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(c),"aria-hidden":!l,style:r,className:f(n,l&&"".concat(n,"-active"),o),ref:t},s)}));"production"!==process.env.NODE_ENV&&(cS.displayName="TabPane");var sS=["renderTabBar"],uS=["label","key"],dS=function(e){var t=e.renderTabBar,n=nt(e,sS),o=i.useContext(Xw).tabs;return t?t(lt(lt({},n),{},{panes:o.map((function(e){var t=e.label,n=e.key,o=nt(e,uS);return i.createElement(cS,Mn({tab:t,key:n,tabKey:n},o))}))}),lS):i.createElement(lS,n)};"production"!==process.env.NODE_ENV&&(dS.displayName="TabNavListWrapper");var pS=["key","forceRender","style","className","destroyInactiveTabPane"],fS=function(e){var t=e.id,n=e.activeKey,o=e.animated,r=e.tabPosition,a=e.destroyInactiveTabPane,l=i.useContext(Xw),c=l.prefixCls,s=l.tabs,u=o.tabPane,d="".concat(c,"-tabpane");return i.createElement("div",{className:f("".concat(c,"-content-holder"))},i.createElement("div",{className:f("".concat(c,"-content"),"".concat(c,"-content-").concat(r),it({},"".concat(c,"-content-animated"),u))},s.map((function(e){var r=e.key,l=e.forceRender,c=e.style,s=e.className,p=e.destroyInactiveTabPane,m=nt(e,pS),g=r===n;return i.createElement(Kl,Mn({key:r,visible:g,forceRender:l,removeOnLeave:!(!a&&!p),leavedClassName:"".concat(d,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,a=e.className;return i.createElement(cS,Mn({},m,{prefixCls:d,id:t,tabKey:r,animated:u,active:g,style:lt(lt({},c),o),className:f(s,a),ref:n}))}))}))))};var mS=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],gS=0,hS=i.forwardRef((function(e,n){var o=e.id,r=e.prefixCls,a=void 0===r?"rc-tabs":r,l=e.className,c=e.items,s=e.direction,u=e.activeKey,d=e.defaultActiveKey,p=e.editable,m=e.animated,g=e.tabPosition,h=void 0===g?"top":g,v=e.tabBarGutter,b=e.tabBarStyle,y=e.tabBarExtraContent,x=e.locale,C=e.more,w=e.destroyInactiveTabPane,S=e.renderTabBar,E=e.onChange,k=e.onTabClick,$=e.onTabScroll,O=e.getPopupContainer,M=e.popupClassName,N=e.indicator,j=nt(e,mS),I=i.useMemo((function(){return(c||[]).filter((function(e){return e&&"object"===ot(e)&&"key"in e}))}),[c]),P="rtl"===s,T=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:lt({inkBar:!0},"object"===ot(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&("production"!==process.env.NODE_ENV&&Mt(!1,"`animated.tabPane` is true but `animated.tabPaneMotion` is not provided. Motion will not work."),e.tabPane=!1),e}(m),R=tt(t.useState(!1),2),B=R[0],z=R[1];t.useEffect((function(){z(Ug())}),[]);var D=tt(Ta((function(){var e;return null===(e=I[0])||void 0===e?void 0:e.key}),{value:u,defaultValue:d}),2),L=D[0],F=D[1],H=tt(t.useState((function(){return I.findIndex((function(e){return e.key===L}))})),2),A=H[0],_=H[1];t.useEffect((function(){var e,t=I.findIndex((function(e){return e.key===L}));-1===t&&(t=Math.max(0,Math.min(A,I.length-1)),F(null===(e=I[t])||void 0===e?void 0:e.key));_(t)}),[I.map((function(e){return e.key})).join("_"),L,A]);var W=tt(Ta(null,{value:o}),2),V=W[0],X=W[1];t.useEffect((function(){o||(X("rc-tabs-".concat("test"===process.env.NODE_ENV?"test":gS)),gS+=1)}),[]);var G={id:V,activeKey:L,animated:T,tabPosition:h,rtl:P,mobile:B},q=lt(lt({},G),{},{editable:p,locale:x,more:C,tabBarGutter:v,onTabClick:function(e,t){null==k||k(e,t);var n=e!==L;F(e),n&&(null==E||E(e))},onTabScroll:$,extra:y,style:b,panes:null,getPopupContainer:O,popupClassName:M,indicator:N});return i.createElement(Xw.Provider,{value:{tabs:I,prefixCls:a}},i.createElement("div",Mn({ref:n,id:o,className:f(a,"".concat(a,"-").concat(h),it(it(it({},"".concat(a,"-mobile"),B),"".concat(a,"-editable"),p),"".concat(a,"-rtl"),P),l)},j),i.createElement(dS,Mn({},q,{renderTabBar:S})),i.createElement(fS,Mn({destroyInactiveTabPane:w},G,{animated:T}))))}));"production"!==process.env.NODE_ENV&&(hS.displayName="Tabs");const vS={motionAppear:!1,motionEnter:!0,motionLeave:!0};var bS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const yS=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Ud(e,"slide-up"),Ud(e,"slide-down")]]},xS=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${rn(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},rl(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:rn(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:rn(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${rn(e.borderRadiusLG)} 0 0 ${rn(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},CS=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},ol(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${rn(o)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},nl),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${rn(e.paddingXXS)} ${rn(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},wS=e=>{const{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:i,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${rn(e.lineWidth)} ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:rn(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},SS=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${rn(e.borderRadius)} ${rn(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${rn(e.borderRadius)} ${rn(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${rn(e.borderRadius)} ${rn(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${rn(e.borderRadius)} 0 0 ${rn(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},ES=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:c}=e,s=`${t}-tab`;return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},il(e)),"&:hover":{color:o},[`&${s}-active ${s}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${s}-focus ${s}-btn`]:Object.assign({},rl(e)),[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${r}`]:{margin:0},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:i}}}},kS=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r,calc:i}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:rn(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:rn(e.marginXS)},marginLeft:{_skip_check_:!0,value:rn(i(e.marginXXS).mul(-1).equal())},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},$S=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,marginLeft:{_skip_check_:!0,value:r},padding:rn(e.paddingXS),background:"transparent",border:`${rn(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},il(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),ES(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},il(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}};var OS=cl("Tabs",(e=>{const t=Da(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${rn(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${rn(e.horizontalItemGutter)}`});return[SS(t),kS(t),wS(t),CS(t),xS(t),$S(t),yS(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));const MS=()=>null;"production"!==process.env.NODE_ENV&&(MS.displayName="DeprecatedTabPane");var NS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const jS=e=>{var t,n,o,r,a,l,c,s,u,d,p;const{type:m,className:g,rootClassName:h,size:v,onEdit:b,hideAdd:y,centered:x,addIcon:C,removeIcon:w,moreIcon:S,more:E,popupClassName:k,children:$,items:O,animated:M,style:N,indicatorSize:j,indicator:I}=e,P=NS(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:T}=P,{direction:R,tabs:B,getPrefixCls:z,getPopupContainer:D}=i.useContext(fa),L=z("tabs",T),F=ys(L),[H,A,_]=OS(L,F);let W;"editable-card"===m&&(W={onEdit:(e,t)=>{let{key:n,event:o}=t;null==b||b("add"===e?o:n,e)},removeIcon:null!==(t=null!=w?w:null==B?void 0:B.removeIcon)&&void 0!==t?t:i.createElement(Yc,null),addIcon:(null!=C?C:null==B?void 0:B.addIcon)||i.createElement(Vw,null),showAdd:!0!==y});const V=z();if("production"!==process.env.NODE_ENV){const t=Gr("Tabs");"production"!==process.env.NODE_ENV&&t(!("onPrevClick"in e)&&!("onNextClick"in e),"breaking","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),"production"!==process.env.NODE_ENV&&t(!(j||(null==B?void 0:B.indicatorSize)),"deprecated","`indicatorSize` has been deprecated. Please use `indicator={{ size: ... }}` instead.")}const X=Pu(v),G=function(e,t){"production"!==process.env.NODE_ENV&&Gr("Tabs").deprecated(!t,"Tabs.TabPane","items");if(e)return e;const n=Ho(t).map((e=>{if(i.isValidElement(e)){const{key:t,props:n}=e,o=n||{},{tab:r}=o,i=bS(o,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:r})}return null}));return function(e){return e.filter((e=>e))}(n)}(O,$),q=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},vS),{motionName:xu(e,"switch")})),t}(L,M),K=Object.assign(Object.assign({},null==B?void 0:B.style),N),U={align:null!==(n=null==I?void 0:I.align)&&void 0!==n?n:null===(o=null==B?void 0:B.indicator)||void 0===o?void 0:o.align,size:null!==(c=null!==(a=null!==(r=null==I?void 0:I.size)&&void 0!==r?r:j)&&void 0!==a?a:null===(l=null==B?void 0:B.indicator)||void 0===l?void 0:l.size)&&void 0!==c?c:null==B?void 0:B.indicatorSize};return H(i.createElement(hS,Object.assign({direction:R,getPopupContainer:D},P,{items:G,className:f({[`${L}-${X}`]:X,[`${L}-card`]:["card","editable-card"].includes(m),[`${L}-editable-card`]:"editable-card"===m,[`${L}-centered`]:x},null==B?void 0:B.className,g,h,A,_,F),popupClassName:f(k,A,_,F),style:K,editable:W,more:Object.assign({icon:null!==(p=null!==(d=null!==(u=null===(s=null==B?void 0:B.more)||void 0===s?void 0:s.icon)&&void 0!==u?u:null==B?void 0:B.moreIcon)&&void 0!==d?d:S)&&void 0!==p?p:i.createElement(wC,null),transitionName:`${V}-slide-up`},E),prefixCls:L,animated:q,indicator:U})))};jS.TabPane=MS,"production"!==process.env.NODE_ENV&&(jS.displayName="Tabs");var IS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const PS=e=>{var{prefixCls:t,className:n,hoverable:o=!0}=e,r=IS(e,["prefixCls","className","hoverable"]);const{getPrefixCls:a}=i.useContext(fa),l=a("card",t),c=f(`${l}-grid`,n,{[`${l}-grid-hoverable`]:o});return i.createElement("div",Object.assign({},r,{className:c}))},TS=e=>{const{antCls:t,componentCls:n,headerHeight:o,headerPadding:r,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:o,marginBottom:-1,padding:`0 ${rn(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0`},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},nl),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},RS=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:o,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${rn(r)} 0 0 0 ${n},\n 0 ${rn(r)} 0 0 ${n},\n ${rn(r)} ${rn(r)} 0 0 ${n},\n ${rn(r)} 0 0 0 ${n} inset,\n 0 ${rn(r)} 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:o}}},BS=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:o,cardActionsIconSize:r,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${rn(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)}`},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"& > li":{margin:o,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:rn(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:r,lineHeight:rn(e.calc(r).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${rn(e.lineWidth)} ${e.lineType} ${i}`}}})},zS=e=>Object.assign(Object.assign({margin:`${rn(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},nl),"&-description":{color:e.colorTextDescription}}),DS=e=>{const{componentCls:t,colorFillAlter:n,headerPadding:o,bodyPadding:r}=e;return{[`${t}-head`]:{padding:`0 ${rn(o)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${rn(e.padding)} ${rn(r)}`}}},LS=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},FS=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:o,colorBorderSecondary:r,boxShadowTertiary:i,bodyPadding:a,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:TS(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:a,borderRadius:`0 0 ${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)}`},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`${t}-grid`]:RS(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:BS(e),[`${t}-meta`]:zS(e)}),[`${t}-bordered`]:{border:`${rn(e.lineWidth)} ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${rn(e.borderRadiusLG)} ${rn(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:o}}},[`${t}-type-inner`]:DS(e),[`${t}-loading`]:LS(e),[`${t}-rtl`]:{direction:"rtl"}}},HS=e=>{const{componentCls:t,bodyPaddingSM:n,headerPaddingSM:o,headerHeightSM:r,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${rn(o)}`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var AS=cl("Card",(e=>{const t=Da(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[FS(t),HS(t)]}),(e=>{var t,n;return{headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:null!==(t=e.bodyPadding)&&void 0!==t?t:e.paddingLG,headerPadding:null!==(n=e.headerPadding)&&void 0!==n?n:e.paddingLG}})),_S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const WS=e=>{const{actionClasses:t,actions:n=[],actionStyle:o}=e;return i.createElement("ul",{className:t,style:o},n.map(((e,t)=>{const o=`action-${t}`;return i.createElement("li",{style:{width:100/n.length+"%"},key:o},i.createElement("span",null,e))})))},VS=i.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:r,style:a,extra:l,headStyle:c={},bodyStyle:s={},title:u,loading:d,bordered:p,variant:m,size:g,type:h,cover:v,actions:b,tabList:y,children:x,activeTabKey:C,defaultActiveTabKey:w,tabBarExtraContent:S,hoverable:E,tabProps:k={},classNames:$,styles:O}=e,M=_S(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:N,direction:j,card:I}=i.useContext(fa),[P]=ob("card",m,p);if("production"!==process.env.NODE_ENV){const t=Gr("Card");[["headStyle","styles.header"],["bodyStyle","styles.body"],["bordered","variant"]].forEach((n=>{let[o,r]=n;t.deprecated(!(o in e),o,r)}))}const T=e=>{var t;return f(null===(t=null==I?void 0:I.classNames)||void 0===t?void 0:t[e],null==$?void 0:$[e])},R=e=>{var t;return Object.assign(Object.assign({},null===(t=null==I?void 0:I.styles)||void 0===t?void 0:t[e]),null==O?void 0:O[e])},B=i.useMemo((()=>{let e=!1;return i.Children.forEach(x,(t=>{(null==t?void 0:t.type)===PS&&(e=!0)})),e}),[x]),z=N("card",n),[D,L,F]=AS(z),H=i.createElement(eg,{loading:!0,active:!0,paragraph:{rows:4},title:!1},x),A=void 0!==C,_=Object.assign(Object.assign({},k),{[A?"activeKey":"defaultActiveKey"]:A?C:w,tabBarExtraContent:S});let W;const V=Pu(g),X=V&&"default"!==V?V:"large",G=y?i.createElement(jS,Object.assign({size:X},_,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:y.map((e=>{var{tab:t}=e,n=_S(e,["tab"]);return Object.assign({label:t},n)}))})):null;if(u||l||G){const e=f(`${z}-head`,T("header")),t=f(`${z}-head-title`,T("title")),n=f(`${z}-extra`,T("extra")),o=Object.assign(Object.assign({},c),R("header"));W=i.createElement("div",{className:e,style:o},i.createElement("div",{className:`${z}-head-wrapper`},u&&i.createElement("div",{className:t,style:R("title")},u),l&&i.createElement("div",{className:n,style:R("extra")},l)),G)}const q=f(`${z}-cover`,T("cover")),K=v?i.createElement("div",{className:q,style:R("cover")},v):null,U=f(`${z}-body`,T("body")),Y=Object.assign(Object.assign({},s),R("body")),Z=i.createElement("div",{className:U,style:Y},d?H:x),Q=f(`${z}-actions`,T("actions")),J=(null==b?void 0:b.length)?i.createElement(WS,{actionClasses:Q,actionStyle:R("actions"),actions:b}):null,ee=Cu(M,["onTabChange"]),te=f(z,null==I?void 0:I.className,{[`${z}-loading`]:d,[`${z}-bordered`]:"borderless"!==P,[`${z}-hoverable`]:E,[`${z}-contain-grid`]:B,[`${z}-contain-tabs`]:null==y?void 0:y.length,[`${z}-${V}`]:V,[`${z}-type-${h}`]:!!h,[`${z}-rtl`]:"rtl"===j},o,r,L,F),ne=Object.assign(Object.assign({},null==I?void 0:I.style),a);return D(i.createElement("div",Object.assign({ref:t},ee,{className:te,style:ne}),W,K,Z,J))}));var XS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const GS=VS;function qS(e,t,n){var o={}.atBegin;return function(e,t,n){var o,r=n||{},i=r.noTrailing,a=void 0!==i&&i,l=r.noLeading,c=void 0!==l&&l,s=r.debounceMode,u=void 0===s?void 0:s,d=!1,p=0;function f(){o&&clearTimeout(o)}function m(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var l=this,s=Date.now()-p;function m(){p=Date.now(),t.apply(l,r)}function g(){o=void 0}d||(c||!u||o||m(),f(),void 0===u&&s>e?c?(p=Date.now(),a||(o=setTimeout(u?g:m,e))):m():!0!==a&&(o=setTimeout(u?g:m,void 0===u?e-s:e)))}return m.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;f(),d=!n},m}(e,t,{debounceMode:!1!==(void 0!==o&&o)})}GS.Grid=PS,GS.Meta=e=>{const{prefixCls:t,className:n,avatar:o,title:r,description:a}=e,l=XS(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:c}=i.useContext(fa),s=c("card",t),u=f(`${s}-meta`,n),d=o?i.createElement("div",{className:`${s}-meta-avatar`},o):null,p=r?i.createElement("div",{className:`${s}-meta-title`},r):null,m=a?i.createElement("div",{className:`${s}-meta-description`},a):null,g=p||m?i.createElement("div",{className:`${s}-meta-detail`},p,m):null;return i.createElement("div",Object.assign({},l,{className:u}),d,g)},"production"!==process.env.NODE_ENV&&(GS.displayName="Card");const KS=t.createContext({});var US=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function YS(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const ZS=["xs","sm","md","lg","xl","xxl"],QS=i.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:o}=i.useContext(fa),{gutter:r,wrap:a}=i.useContext(KS),{prefixCls:l,span:c,order:s,offset:u,push:d,pull:p,className:m,children:g,flex:h,style:v}=e,b=US(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",l),[x,C,w]=pg(y),S={};let E={};ZS.forEach((t=>{let n={};const r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete b[t],E=Object.assign(Object.assign({},E),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-rtl`]:"rtl"===o}),n.flex&&(E[`${y}-${t}-flex`]=!0,S[`--${y}-${t}-flex`]=YS(n.flex))}));const k=f(y,{[`${y}-${c}`]:void 0!==c,[`${y}-order-${s}`]:s,[`${y}-offset-${u}`]:u,[`${y}-push-${d}`]:d,[`${y}-pull-${p}`]:p},m,E,C,w),$={};if(r&&r[0]>0){const e=r[0]/2;$.paddingLeft=e,$.paddingRight=e}return h&&($.flex=YS(h),!1!==a||$.minWidth||($.minWidth=0)),x(i.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign(Object.assign({},$),v),S),className:k,ref:t}),g))}));"production"!==process.env.NODE_ENV&&(QS.displayName="Col");var JS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function eE(e,t){const[n,o]=i.useState("string"==typeof e?e:"");return i.useEffect((()=>{(()=>{if("string"==typeof e&&o(e),"object"==typeof e)for(let n=0;n<Hb.length;n++){const r=Hb[n];if(!t||!t[r])continue;const i=e[r];if(void 0!==i)return void o(i)}})()}),[JSON.stringify(e),t]),n}const tE=i.forwardRef(((e,t)=>{const{prefixCls:n,justify:o,align:r,className:a,style:l,children:c,gutter:s=0,wrap:u}=e,d=JS(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:m}=i.useContext(fa),g=_b(!0,null),h=eE(r,g),v=eE(o,g),b=p("row",n),[y,x,C]=ug(b),w=function(e,t){const n=[void 0,void 0],o=Array.isArray(e)?e:[e,void 0],r=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return o.forEach(((e,t)=>{if("object"==typeof e&&null!==e)for(let o=0;o<Hb.length;o++){const i=Hb[o];if(r[i]&&void 0!==e[i]){n[t]=e[i];break}}else n[t]=e})),n}(s,g),S=f(b,{[`${b}-no-wrap`]:!1===u,[`${b}-${v}`]:v,[`${b}-${h}`]:h,[`${b}-rtl`]:"rtl"===m},a,x,C),E={},k=null!=w[0]&&w[0]>0?w[0]/-2:void 0;k&&(E.marginLeft=k,E.marginRight=k);const[$,O]=w;E.rowGap=O;const M=i.useMemo((()=>({gutter:[$,O],wrap:u})),[$,O,u]);return y(i.createElement(KS.Provider,{value:M},i.createElement("div",Object.assign({},d,{className:S,style:Object.assign(Object.assign({},E),l),ref:t}),c)))}));"production"!==process.env.NODE_ENV&&(tE.displayName="Row");const nE=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{borderBlockStart:`${rn(r)} solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${rn(r)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${rn(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${rn(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${rn(r)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${rn(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${rn(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var oE=cl("Divider",(e=>{const t=Da(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[nE(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),{unitless:{orientationMargin:!0}}),rE=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const iE=e=>{const{getPrefixCls:t,direction:n,className:o,style:r}=ha("divider"),{prefixCls:a,type:l="horizontal",orientation:c="center",orientationMargin:s,className:u,rootClassName:d,children:p,dashed:m,variant:g="solid",plain:h,style:v}=e,b=rE(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",a),[x,C,w]=oE(y),S=!!p,E=i.useMemo((()=>"left"===c?"rtl"===n?"end":"start":"right"===c?"rtl"===n?"start":"end":c),[n,c]),k="start"===E&&null!=s,$="end"===E&&null!=s,O=f(y,o,C,w,`${y}-${l}`,{[`${y}-with-text`]:S,[`${y}-with-text-${E}`]:S,[`${y}-dashed`]:!!m,[`${y}-${g}`]:"solid"!==g,[`${y}-plain`]:!!h,[`${y}-rtl`]:"rtl"===n,[`${y}-no-default-orientation-margin-start`]:k,[`${y}-no-default-orientation-margin-end`]:$},u,d),M=i.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),N={marginInlineStart:k?M:void 0,marginInlineEnd:$?M:void 0};if("production"!==process.env.NODE_ENV){const e=Gr("Divider");"production"!==process.env.NODE_ENV&&e(!p||"vertical"!==l,"usage","`children` not working in `vertical` mode.")}return x(i.createElement("div",Object.assign({className:O,style:Object.assign(Object.assign({},r),v)},b,{role:"separator"}),p&&"vertical"!==l&&i.createElement("span",{className:`${y}-inner-text`,style:N},p)))};function aE(e,t,n){var o=t.cloneNode(!0),r=Object.create(e,{target:{value:o},currentTarget:{value:o}});return o.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(o.selectionStart=t.selectionStart,o.selectionEnd=t.selectionEnd),o.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},r}function lE(e,t,n,o){if(n){var r=t;"click"!==t.type?"file"===e.type||void 0===o?n(r):n(r=aE(t,e,o)):n(r=aE(t,e,""))}}function cE(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}"production"!==process.env.NODE_ENV&&(iE.displayName="Divider");var sE=t.forwardRef((function(e,n){var o,r,i,a=e.inputElement,l=e.children,c=e.prefixCls,s=e.prefix,u=e.suffix,d=e.addonBefore,p=e.addonAfter,m=e.className,g=e.style,h=e.disabled,v=e.readOnly,b=e.focused,y=e.triggerFocus,x=e.allowClear,C=e.value,w=e.handleReset,S=e.hidden,E=e.classes,k=e.classNames,$=e.dataAttrs,O=e.styles,M=e.components,N=e.onClear,j=null!=l?l:a,I=(null==M?void 0:M.affixWrapper)||"span",P=(null==M?void 0:M.groupWrapper)||"span",T=(null==M?void 0:M.wrapper)||"span",R=(null==M?void 0:M.groupAddon)||"span",B=t.useRef(null),z=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e),D=t.cloneElement(j,{value:C,className:f(null===(o=j.props)||void 0===o?void 0:o.className,!z&&(null==k?void 0:k.variant))||null}),L=t.useRef(null);if(t.useImperativeHandle(n,(function(){return{nativeElement:L.current||B.current}})),z){var F=null;if(x){var H=!h&&!v&&C,A="".concat(c,"-clear-icon"),_="object"===ot(x)&&null!=x&&x.clearIcon?x.clearIcon:"✖";F=t.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null==w||w(e),null==N||N()},onMouseDown:function(e){return e.preventDefault()},className:f(A,it(it({},"".concat(A,"-hidden"),!H),"".concat(A,"-has-suffix"),!!u))},_)}var W="".concat(c,"-affix-wrapper"),V=f(W,it(it(it(it(it({},"".concat(c,"-disabled"),h),"".concat(W,"-disabled"),h),"".concat(W,"-focused"),b),"".concat(W,"-readonly"),v),"".concat(W,"-input-with-clear-btn"),u&&x&&C),null==E?void 0:E.affixWrapper,null==k?void 0:k.affixWrapper,null==k?void 0:k.variant),X=(u||x)&&t.createElement("span",{className:f("".concat(c,"-suffix"),null==k?void 0:k.suffix),style:null==O?void 0:O.suffix},F,u);D=t.createElement(I,Mn({className:V,style:null==O?void 0:O.affixWrapper,onClick:function(e){var t;null!==(t=B.current)&&void 0!==t&&t.contains(e.target)&&(null==y||y())}},null==$?void 0:$.affixWrapper,{ref:B}),s&&t.createElement("span",{className:f("".concat(c,"-prefix"),null==k?void 0:k.prefix),style:null==O?void 0:O.prefix},s),D,X)}if(function(e){return!(!e.addonBefore&&!e.addonAfter)}(e)){var G="".concat(c,"-group"),q="".concat(G,"-addon"),K="".concat(G,"-wrapper"),U=f("".concat(c,"-wrapper"),G,null==E?void 0:E.wrapper,null==k?void 0:k.wrapper),Y=f(K,it({},"".concat(K,"-disabled"),h),null==E?void 0:E.group,null==k?void 0:k.groupWrapper);D=t.createElement(P,{className:Y,ref:L},t.createElement(T,{className:U},d&&t.createElement(R,{className:q},d),D,p&&t.createElement(R,{className:q},p)))}return t.cloneElement(D,{className:f(null===(r=D.props)||void 0===r?void 0:r.className,m)||null,style:lt(lt({},null===(i=D.props)||void 0===i?void 0:i.style),g),hidden:S})})),uE=["show"];function dE(e,t){return i.useMemo((function(){var n={};t&&(n.show="object"===ot(t)&&t.formatter?t.formatter:!!t);var o=n=lt(lt({},n),e),r=o.show,i=nt(o,uE);return lt(lt({},i),{},{show:!!r,showFormatter:"function"==typeof r?r:void 0,strategy:i.strategy||function(e){return e.length}})}),[e,t])}var pE=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],fE=t.forwardRef((function(e,n){var o=e.autoComplete,r=e.onChange,i=e.onFocus,a=e.onBlur,l=e.onPressEnter,c=e.onKeyDown,s=e.onKeyUp,u=e.prefixCls,d=void 0===u?"rc-input":u,p=e.disabled,m=e.htmlSize,g=e.className,h=e.maxLength,v=e.suffix,b=e.showCount,y=e.count,x=e.type,C=void 0===x?"text":x,w=e.classes,S=e.classNames,E=e.styles,k=e.onCompositionStart,$=e.onCompositionEnd,O=nt(e,pE),M=tt(t.useState(!1),2),N=M[0],j=M[1],I=t.useRef(!1),P=t.useRef(!1),T=t.useRef(null),R=t.useRef(null),B=function(e){T.current&&cE(T.current,e)},z=tt(Ta(e.defaultValue,{value:e.value}),2),D=z[0],L=z[1],F=null==D?"":String(D),H=tt(t.useState(null),2),A=H[0],_=H[1],W=dE(y,b),V=W.max||h,X=W.strategy(F),G=!!V&&X>V;t.useImperativeHandle(n,(function(){var e;return{focus:B,blur:function(){var e;null===(e=T.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var o;null===(o=T.current)||void 0===o||o.setSelectionRange(e,t,n)},select:function(){var e;null===(e=T.current)||void 0===e||e.select()},input:T.current,nativeElement:(null===(e=R.current)||void 0===e?void 0:e.nativeElement)||T.current}})),t.useEffect((function(){P.current&&(P.current=!1),j((function(e){return(!e||!p)&&e}))}),[p]);var q=function(e,t,n){var o,i,a=t;if(!I.current&&W.exceedFormatter&&W.max&&W.strategy(t)>W.max)t!==(a=W.exceedFormatter(t,{max:W.max}))&&_([(null===(o=T.current)||void 0===o?void 0:o.selectionStart)||0,(null===(i=T.current)||void 0===i?void 0:i.selectionEnd)||0]);else if("compositionEnd"===n.source)return;L(a),T.current&&lE(T.current,e,r,a)};t.useEffect((function(){var e;A&&(null===(e=T.current)||void 0===e||e.setSelectionRange.apply(e,Qe(A)))}),[A]);var K,U=function(e){q(e,e.target.value,{source:"change"})},Y=function(e){I.current=!1,q(e,e.currentTarget.value,{source:"compositionEnd"}),null==$||$(e)},Z=function(e){l&&"Enter"===e.key&&!P.current&&(P.current=!0,l(e)),null==c||c(e)},Q=function(e){"Enter"===e.key&&(P.current=!1),null==s||s(e)},J=function(e){j(!0),null==i||i(e)},ee=function(e){P.current&&(P.current=!1),j(!1),null==a||a(e)},te=G&&"".concat(d,"-out-of-range");return t.createElement(sE,Mn({},O,{prefixCls:d,className:f(g,te),handleReset:function(e){L(""),B(),T.current&&lE(T.current,e,r)},value:F,focused:N,triggerFocus:B,suffix:function(){var e=Number(V)>0;if(v||W.show){var n=W.showFormatter?W.showFormatter({value:F,count:X,maxLength:V}):"".concat(X).concat(e?" / ".concat(V):"");return t.createElement(t.Fragment,null,W.show&&t.createElement("span",{className:f("".concat(d,"-show-count-suffix"),it({},"".concat(d,"-show-count-has-suffix"),!!v),null==S?void 0:S.count),style:lt({},null==E?void 0:E.count)},n),v)}return null}(),disabled:p,classes:w,classNames:S,styles:E,ref:R}),(K=Cu(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),t.createElement("input",Mn({autoComplete:o},K,{onChange:U,onFocus:J,onBlur:ee,onKeyDown:Z,onKeyUp:Q,className:f(d,it({},"".concat(d,"-disabled"),p),null==S?void 0:S.input),style:null==E?void 0:E.input,ref:T,size:m,type:C,onCompositionStart:function(e){I.current=!0,null==k||k(e)},onCompositionEnd:Y}))))}));const mE=e=>{let n;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?n=e:e&&(n={clearIcon:t.createElement(Kc,null)}),n};var gE=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const hE=t.forwardRef(((e,n)=>{const{prefixCls:o,bordered:r=!0,status:i,size:a,disabled:l,onBlur:c,onFocus:s,suffix:u,allowClear:d,addonAfter:p,addonBefore:m,className:g,style:h,styles:v,rootClassName:b,onChange:y,classNames:x,variant:C}=e,w=gE(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);if("production"!==process.env.NODE_ENV){const{deprecated:t}=Gr("Input");t(!("bordered"in e),"bordered","variant")}const{getPrefixCls:S,direction:E,allowClear:k,autoComplete:$,className:O,style:M,classNames:N,styles:j}=ha("input"),I=S("input",o),P=t.useRef(null),T=ys(I),[R,B,z]=Aw(I,b),[D]=_w(I,T),{compactSize:L,compactItemClassnames:F}=Fu(I,E),H=Pu((e=>{var t;return null!==(t=null!=a?a:L)&&void 0!==t?t:e})),A=t.useContext(ya),_=null!=l?l:A,{status:W,hasFeedback:V,feedbackIcon:X}=t.useContext(km),G=qv(W,i),q=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!V,K=t.useRef(q);if("production"!==process.env.NODE_ENV){const e=Gr("Input");t.useEffect((()=>{var t;q&&!K.current&&"production"!==process.env.NODE_ENV&&e(document.activeElement===(null===(t=P.current)||void 0===t?void 0:t.input),"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),K.current=q}),[q])}const U=function(e){const n=t.useRef([]),o=()=>{n.current.push(setTimeout((()=>{var t,n,o,r;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(o=e.current)||void 0===o?void 0:o.input.hasAttribute("value"))&&(null===(r=e.current)||void 0===r||r.input.removeAttribute("value"))})))};return t.useEffect((()=>(o(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}(P),Y=(V||u)&&t.createElement(t.Fragment,null,u,V&&X),Z=mE(null!=d?d:k),[Q,J]=ob("input",C,r);return R(D(t.createElement(fE,Object.assign({ref:Xo(n,P),prefixCls:I,autoComplete:$},w,{disabled:_,onBlur:e=>{U(),null==c||c(e)},onFocus:e=>{U(),null==s||s(e)},style:Object.assign(Object.assign({},M),h),styles:Object.assign(Object.assign({},j),v),suffix:Y,allowClear:Z,className:f(g,b,z,T,F,O),onChange:e=>{U(),null==y||y(e)},addonBefore:m&&t.createElement(Mm,{form:!0,space:!0},m),addonAfter:p&&t.createElement(Mm,{form:!0,space:!0},p),classNames:Object.assign(Object.assign(Object.assign({},x),N),{input:f({[`${I}-sm`]:"small"===H,[`${I}-lg`]:"large"===H,[`${I}-rtl`]:"rtl"===E},null==x?void 0:x.input,N.input,B),variant:f({[`${I}-${Q}`]:J},Gv(I,G)),affixWrapper:f({[`${I}-affix-wrapper-sm`]:"small"===H,[`${I}-affix-wrapper-lg`]:"large"===H,[`${I}-affix-wrapper-rtl`]:"rtl"===E},B),wrapper:f({[`${I}-group-rtl`]:"rtl"===E},B),groupWrapper:f({[`${I}-group-wrapper-sm`]:"small"===H,[`${I}-group-wrapper-lg`]:"large"===H,[`${I}-group-wrapper-rtl`]:"rtl"===E,[`${I}-group-wrapper-${Q}`]:J},Gv(`${I}-group-wrapper`,G,V),B)})}))))}));"production"!==process.env.NODE_ENV&&(hE.displayName="Input");var vE=i.createContext(null),bE=i.createContext({}),yE=["prefixCls","className","containerRef"],xE=function(e){var t=e.prefixCls,n=e.className,o=e.containerRef,r=nt(e,yE),a=i.useContext(bE).panel,l=Go(a,o);return i.createElement("div",Mn({className:f("".concat(t,"-content"),n),role:"dialog",ref:l},os(e,{aria:!0}),{"aria-modal":"true"},r))};function CE(e){return"string"==typeof e&&String(Number(e))===e?(Mt(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}"production"!==process.env.NODE_ENV&&(xE.displayName="DrawerPanel");var wE={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function SE(e,t){var n,o,r,a=e.prefixCls,l=e.open,c=e.placement,s=e.inline,u=e.push,d=e.forceRender,p=e.autoFocus,m=e.keyboard,g=e.classNames,h=e.rootClassName,v=e.rootStyle,b=e.zIndex,y=e.className,x=e.id,C=e.style,w=e.motion,S=e.width,E=e.height,k=e.children,$=e.mask,O=e.maskClosable,M=e.maskMotion,N=e.maskClassName,j=e.maskStyle,I=e.afterOpenChange,P=e.onClose,T=e.onMouseEnter,R=e.onMouseOver,B=e.onMouseLeave,z=e.onClick,D=e.onKeyDown,L=e.onKeyUp,F=e.styles,H=e.drawerRender,A=i.useRef(),_=i.useRef(),W=i.useRef();i.useImperativeHandle(t,(function(){return A.current}));i.useEffect((function(){var e;l&&p&&(null===(e=A.current)||void 0===e||e.focus({preventScroll:!0}))}),[l]);var V=tt(i.useState(!1),2),X=V[0],G=V[1],q=i.useContext(vE),K=null!==(n=null!==(o=null===(r="boolean"==typeof u?u?{}:{distance:0}:u||{})||void 0===r?void 0:r.distance)&&void 0!==o?o:null==q?void 0:q.pushDistance)&&void 0!==n?n:180,U=i.useMemo((function(){return{pushDistance:K,push:function(){G(!0)},pull:function(){G(!1)}}}),[K]);i.useEffect((function(){var e,t;l?null==q||null===(e=q.push)||void 0===e||e.call(q):null==q||null===(t=q.pull)||void 0===t||t.call(q)}),[l]),i.useEffect((function(){return function(){var e;null==q||null===(e=q.pull)||void 0===e||e.call(q)}}),[]);var Y=$&&i.createElement(Kl,Mn({key:"mask"},M,{visible:l}),(function(e,t){var n=e.className,o=e.style;return i.createElement("div",{className:f("".concat(a,"-mask"),n,null==g?void 0:g.mask,N),style:lt(lt(lt({},o),j),null==F?void 0:F.mask),onClick:O&&l?P:void 0,ref:t})})),Z="function"==typeof w?w(c):w,Q={};if(X&&K)switch(c){case"top":Q.transform="translateY(".concat(K,"px)");break;case"bottom":Q.transform="translateY(".concat(-K,"px)");break;case"left":Q.transform="translateX(".concat(K,"px)");break;default:Q.transform="translateX(".concat(-K,"px)")}"left"===c||"right"===c?Q.width=CE(S):Q.height=CE(E);var J={onMouseEnter:T,onMouseOver:R,onMouseLeave:B,onClick:z,onKeyDown:D,onKeyUp:L},ee=i.createElement(Kl,Mn({key:"panel"},Z,{visible:l,forceRender:d,onVisibleChanged:function(e){null==I||I(e)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),(function(t,n){var o=t.className,r=t.style,l=i.createElement(xE,Mn({id:x,containerRef:n,prefixCls:a,className:f(y,null==g?void 0:g.content),style:lt(lt({},C),null==F?void 0:F.content)},os(e,{aria:!0}),J),k);return i.createElement("div",Mn({className:f("".concat(a,"-content-wrapper"),null==g?void 0:g.wrapper,o),style:lt(lt(lt({},Q),r),null==F?void 0:F.wrapper)},os(e,{data:!0})),H?H(l):l)})),te=lt({},v);return b&&(te.zIndex=b),i.createElement(vE.Provider,{value:U},i.createElement("div",{className:f(a,"".concat(a,"-").concat(c),h,it(it({},"".concat(a,"-open"),l),"".concat(a,"-inline"),s)),style:te,tabIndex:-1,ref:A,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case xs.TAB:var o;if(t===xs.TAB)if(n||document.activeElement!==W.current){if(n&&document.activeElement===_.current){var r;null===(r=W.current)||void 0===r||r.focus({preventScroll:!0})}}else null===(o=_.current)||void 0===o||o.focus({preventScroll:!0});break;case xs.ESC:P&&m&&(e.stopPropagation(),P(e))}}},Y,i.createElement("div",{tabIndex:0,ref:_,style:wE,"aria-hidden":"true","data-sentinel":"start"}),ee,i.createElement("div",{tabIndex:0,ref:W,style:wE,"aria-hidden":"true","data-sentinel":"end"})))}var EE=i.forwardRef(SE);"production"!==process.env.NODE_ENV&&(EE.displayName="DrawerPopup");var kE=function(e){var t=e.open,n=void 0!==t&&t,o=e.prefixCls,r=void 0===o?"rc-drawer":o,a=e.placement,l=void 0===a?"right":a,c=e.autoFocus,s=void 0===c||c,u=e.keyboard,d=void 0===u||u,p=e.width,f=void 0===p?378:p,m=e.mask,g=void 0===m||m,h=e.maskClosable,v=void 0===h||h,b=e.getContainer,y=e.forceRender,x=e.afterOpenChange,C=e.destroyOnClose,w=e.onMouseEnter,S=e.onMouseOver,E=e.onMouseLeave,k=e.onClick,$=e.onKeyDown,O=e.onKeyUp,M=e.panelRef,N=tt(i.useState(!1),2),j=N[0],I=N[1];"production"!==process.env.NODE_ENV&&function(e){Mt(!("wrapperClassName"in e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),Mt(st()||!e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}(e);var P=tt(i.useState(!1),2),T=P[0],R=P[1];dn((function(){R(!0)}),[]);var B=!!T&&n,z=i.useRef(),D=i.useRef();dn((function(){B&&(D.current=document.activeElement)}),[B]);var L=i.useMemo((function(){return{panel:M}}),[M]);if(!y&&!j&&!B&&C)return null;var F={onMouseEnter:w,onMouseOver:S,onMouseLeave:E,onClick:k,onKeyDown:$,onKeyUp:O},H=lt(lt({},e),{},{open:B,prefixCls:r,placement:l,autoFocus:s,keyboard:d,width:f,mask:g,maskClosable:v,inline:!1===b,afterOpenChange:function(e){var t,n;(I(e),null==x||x(e),e||!D.current||null!==(t=z.current)&&void 0!==t&&t.contains(D.current))||(null===(n=D.current)||void 0===n||n.focus({preventScroll:!0}))},ref:z},F);return i.createElement(bE.Provider,{value:L},i.createElement(nf,{open:B||y||j,autoDestroy:!1,getContainer:b,autoLock:g&&(B||j)},i.createElement(EE,H)))};"production"!==process.env.NODE_ENV&&(kE.displayName="Drawer");const $E=e=>{var t,n;const{prefixCls:o,title:r,footer:a,extra:l,loading:c,onClose:s,headerStyle:u,bodyStyle:d,footerStyle:p,children:m,classNames:g,styles:h}=e,v=ha("drawer"),b=i.useCallback((e=>i.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${o}-close`},e)),[s]),[y,x]=Tm(Nm(e),Nm(v),{closable:!0,closeIconRender:b}),C=i.useMemo((()=>{var e,t;return r||y?i.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=v.styles)||void 0===e?void 0:e.header),u),null==h?void 0:h.header),className:f(`${o}-header`,{[`${o}-header-close-only`]:y&&!r&&!l},null===(t=v.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},i.createElement("div",{className:`${o}-header-title`},x,r&&i.createElement("div",{className:`${o}-title`},r)),l&&i.createElement("div",{className:`${o}-extra`},l)):null}),[y,x,l,u,o,r]),w=i.useMemo((()=>{var e,t;if(!a)return null;const n=`${o}-footer`;return i.createElement("div",{className:f(n,null===(e=v.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=v.styles)||void 0===t?void 0:t.footer),p),null==h?void 0:h.footer)},a)}),[a,p,o]);return i.createElement(i.Fragment,null,C,i.createElement("div",{className:f(`${o}-body`,null==g?void 0:g.body,null===(t=v.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=v.styles)||void 0===n?void 0:n.body),d),null==h?void 0:h.body)},c?i.createElement(eg,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):m),w)},OE=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},ME=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),NE=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},ME({opacity:e},{opacity:1})),jE=(e,t)=>[NE(.7,t),ME({transform:OE(e)},{transform:"none"})],IE=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:NE(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce(((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:jE(t,n)})),{})}}},PE=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:r,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:l,paddingXS:c,padding:s,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:m,colorSplit:g,marginXS:h,colorIcon:v,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:x,colorText:C,fontWeightStrong:w,footerPaddingBlock:S,footerPaddingInline:E,calc:k}=e,$=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:r,pointerEvents:"auto"},[$]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${$}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${$}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${$}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${$}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${rn(s)} ${rn(u)}`,fontSize:d,lineHeight:p,borderBottom:`${rn(f)} ${m} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:k(d).add(c).equal(),height:k(d).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:v,fontWeight:w,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${l}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},il(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${rn(S)} ${rn(E)}`,borderTop:`${rn(f)} ${m} ${g}`},"&-rtl":{direction:"rtl"}}}};var TE=cl("Drawer",(e=>{const t=Da(e,{});return[PE(t),IE(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}))),RE=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const BE={distance:180},zE=e=>{var t;const{rootClassName:n,width:o,height:r,size:a="default",mask:l=!0,push:c=BE,open:s,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:m,style:g,className:h,visible:v,afterVisibleChange:b,maskStyle:y,drawerStyle:x,contentWrapperStyle:C}=e,w=RE(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:E,direction:k,className:$,style:O,classNames:M,styles:N}=ha("drawer"),j=E("drawer",p),[I,P,T]=TE(j),R=void 0===m&&S?()=>S(document.body):m,B=f({"no-mask":!l,[`${j}-rtl`]:"rtl"===k},n,P,T);if("production"!==process.env.NODE_ENV){const n=Gr("Drawer");[["visible","open"],["afterVisibleChange","afterOpenChange"],["headerStyle","styles.header"],["bodyStyle","styles.body"],["footerStyle","styles.footer"],["contentWrapperStyle","styles.wrapper"],["maskStyle","styles.mask"],["drawerStyle","styles.content"]].forEach((t=>{let[o,r]=t;n.deprecated(!(o in e),o,r)})),void 0!==R&&"absolute"===(null===(t=e.style)||void 0===t?void 0:t.position)&&"production"!==process.env.NODE_ENV&&n(!1,"breaking","`style` is replaced by `rootStyle` in v5. Please check that `position: absolute` is necessary.")}const z=i.useMemo((()=>null!=o?o:"large"===a?736:378),[o,a]),D=i.useMemo((()=>null!=r?r:"large"===a?736:378),[r,a]),L={motionName:xu(j,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},F=og(),[H,A]=Ls("Drawer",w.zIndex),{classNames:_={},styles:W={}}=w;return I(i.createElement(Mm,{form:!0,space:!0},i.createElement(Ts.Provider,{value:A},i.createElement(kE,Object.assign({prefixCls:j,onClose:d,maskMotion:L,motion:e=>({motionName:xu(j,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},w,{classNames:{mask:f(_.mask,M.mask),content:f(_.content,M.content),wrapper:f(_.wrapper,M.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},W.mask),y),N.mask),content:Object.assign(Object.assign(Object.assign({},W.content),x),N.content),wrapper:Object.assign(Object.assign(Object.assign({},W.wrapper),C),N.wrapper)},open:null!=s?s:v,mask:l,push:c,width:z,height:D,style:Object.assign(Object.assign({},O),g),className:f($,h),rootClassName:B,getContainer:R,afterOpenChange:null!=u?u:b,panelRef:F,zIndex:H}),i.createElement($E,Object.assign({prefixCls:j},w,{onClose:d}))))))};function DE(e){return["small","middle","large"].includes(e)}function LE(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}zE._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:o,placement:r="right"}=e,a=RE(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=i.useContext(fa),c=l("drawer",t),[s,u,d]=TE(c),p=f(c,`${c}-pure`,`${c}-${r}`,u,d,o);return s(i.createElement("div",{className:p,style:n},i.createElement($E,Object.assign({prefixCls:c},a))))},"production"!==process.env.NODE_ENV&&(zE.displayName="Drawer");const FE=t.createContext({latestIndex:0}),HE=FE.Provider,AE=e=>{let{className:t,index:n,children:o,split:r,style:a}=e;const{latestIndex:l}=i.useContext(FE);return null==o?null:i.createElement(i.Fragment,null,i.createElement("div",{className:t,style:a},o),n<l&&r&&i.createElement("span",{className:`${t}-split`},r))};var _E=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const WE=i.forwardRef(((e,t)=>{var n;const{getPrefixCls:o,direction:r,size:a,className:l,style:c,classNames:s,styles:u}=ha("space"),{size:d=(null!=a?a:"small"),align:p,className:m,rootClassName:g,children:h,direction:v="horizontal",prefixCls:b,split:y,style:x,wrap:C=!1,classNames:w,styles:S}=e,E=_E(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,$]=Array.isArray(d)?d:[d,d],O=DE($),M=DE(k),N=LE($),j=LE(k),I=Ho(h,{keepEmpty:!0}),P=void 0===p&&"horizontal"===v?"center":p,T=o("space",b),[R,B,z]=zu(T),D=f(T,l,B,`${T}-${v}`,{[`${T}-rtl`]:"rtl"===r,[`${T}-align-${P}`]:P,[`${T}-gap-row-${$}`]:O,[`${T}-gap-col-${k}`]:M},m,g,z),L=f(`${T}-item`,null!==(n=null==w?void 0:w.item)&&void 0!==n?n:s.item);let F=0;const H=I.map(((e,t)=>{var n;null!=e&&(F=t);const o=(null==e?void 0:e.key)||`${L}-${t}`;return i.createElement(AE,{className:L,key:o,index:t,split:y,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:u.item},e)})),A=i.useMemo((()=>({latestIndex:F})),[F]);if(0===I.length)return null;const _={};return C&&(_.flexWrap="wrap"),!M&&j&&(_.columnGap=k),!O&&N&&(_.rowGap=$),R(i.createElement("div",Object.assign({ref:t,className:D,style:Object.assign(Object.assign(Object.assign({},_),c),x)},E),i.createElement(HE,{value:A},H)))})),VE=WE;VE.Compact=e=>{const{getPrefixCls:t,direction:n}=i.useContext(fa),{size:o,direction:r,block:a,prefixCls:l,className:c,rootClassName:s,children:u}=e,d=Du(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=Pu((e=>null!=o?o:e)),m=t("space-compact",l),[g,h]=zu(m),v=f(m,h,{[`${m}-rtl`]:"rtl"===n,[`${m}-block`]:a,[`${m}-vertical`]:"vertical"===r},c,s),b=i.useContext(Lu),y=Ho(u),x=i.useMemo((()=>y.map(((e,t)=>{const n=(null==e?void 0:e.key)||`${m}-item-${t}`;return i.createElement(Au,{key:n,compactSize:p,compactDirection:r,isFirstItem:0===t&&(!b||(null==b?void 0:b.isFirstItem)),isLastItem:t===y.length-1&&(!b||(null==b?void 0:b.isLastItem))},e)}))),[o,y,b]);return 0===y.length?null:g(i.createElement("div",Object.assign({className:v},d),x))},"production"!==process.env.NODE_ENV&&(VE.displayName="Space");var XE=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const GE=e=>{const{getPopupContainer:t,getPrefixCls:n,direction:o}=i.useContext(fa),{prefixCls:r,type:a="default",danger:l,disabled:c,loading:s,onClick:u,htmlType:d,children:p,className:m,menu:g,arrow:h,autoFocus:v,overlay:b,trigger:y,align:x,open:C,onOpenChange:w,placement:S,getPopupContainer:E,href:k,icon:$=i.createElement(wC,null),title:O,buttonsRender:M=e=>e,mouseEnterDelay:N,mouseLeaveDelay:j,overlayClassName:I,overlayStyle:P,destroyPopupOnHide:T,dropdownRender:R}=e,B=XE(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),z=n("dropdown",r),D=`${z}-button`,L={menu:g,arrow:h,autoFocus:v,align:x,disabled:c,trigger:c?[]:y,onOpenChange:w,getPopupContainer:E||t,mouseEnterDelay:N,mouseLeaveDelay:j,overlayClassName:I,overlayStyle:P,destroyPopupOnHide:T,dropdownRender:R},{compactSize:F,compactItemClassnames:H}=Fu(z,o),A=f(D,H,m);"overlay"in e&&(L.overlay=b),"open"in e&&(L.open=C),L.placement="placement"in e?S:"rtl"===o?"bottomLeft":"bottomRight";const _=i.createElement(_p,{type:a,danger:l,disabled:c,loading:s,onClick:u,htmlType:d,href:k,title:O},p),W=i.createElement(_p,{type:a,danger:l,icon:$}),[V,X]=M([_,W]);return i.createElement(VE.Compact,Object.assign({className:A,size:F,block:!0},B),V,i.createElement(UC,Object.assign({},L),X))};GE.__ANT_BUTTON=!0;const qE=UC;qE.Button=GE;var KE=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:be}))},UE=i.forwardRef(KE);
|
|
32
|
+
/** */function YE(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function ZE(e,t,o,r){var i=n.unstable_batchedUpdates?function(e){n.unstable_batchedUpdates(o,e)}:o;return null!=e&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}"production"!==process.env.NODE_ENV&&(UE.displayName="EyeOutlined");var QE=i.createContext(null),JE=function(e){var n=e.visible,o=e.maskTransitionName,r=e.getContainer,a=e.prefixCls,l=e.rootClassName,c=e.icons,s=e.countRender,u=e.showSwitch,d=e.showProgress,p=e.current,m=e.transform,g=e.count,h=e.scale,v=e.minScale,b=e.maxScale,y=e.closeIcon,x=e.onActive,C=e.onClose,w=e.onZoomIn,S=e.onZoomOut,E=e.onRotateRight,k=e.onRotateLeft,$=e.onFlipX,O=e.onFlipY,M=e.onReset,N=e.toolbarRender,j=e.zIndex,I=e.image,P=t.useContext(QE),T=c.rotateLeft,R=c.rotateRight,B=c.zoomIn,z=c.zoomOut,D=c.close,L=c.left,F=c.right,H=c.flipX,A=c.flipY,_="".concat(a,"-operations-operation");i.useEffect((function(){var e=function(e){e.keyCode===xs.ESC&&C()};return n&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[n]);var W=function(e,t){e.preventDefault(),e.stopPropagation(),x(t)},V=i.useCallback((function(e){var t=e.type,n=e.disabled,o=e.onClick,r=e.icon;return i.createElement("div",{key:t,className:f(_,"".concat(a,"-operations-operation-").concat(t),it({},"".concat(a,"-operations-operation-disabled"),!!n)),onClick:o},r)}),[_,a]),X=u?V({icon:L,onClick:function(e){return W(e,-1)},type:"prev",disabled:0===p}):void 0,G=u?V({icon:F,onClick:function(e){return W(e,1)},type:"next",disabled:p===g-1}):void 0,q=V({icon:A,onClick:O,type:"flipY"}),K=V({icon:H,onClick:$,type:"flipX"}),U=V({icon:T,onClick:k,type:"rotateLeft"}),Y=V({icon:R,onClick:E,type:"rotateRight"}),Z=V({icon:z,onClick:S,type:"zoomOut",disabled:h<=v}),Q=V({icon:B,onClick:w,type:"zoomIn",disabled:h===b}),J=i.createElement("div",{className:"".concat(a,"-operations")},q,K,U,Y,Z,Q);return i.createElement(Kl,{visible:n,motionName:o},(function(e){var t=e.className,n=e.style;return i.createElement(nf,{open:!0,getContainer:null!=r?r:document.body},i.createElement("div",{className:f("".concat(a,"-operations-wrapper"),t,l),style:lt(lt({},n),{},{zIndex:j})},null===y?null:i.createElement("button",{className:"".concat(a,"-close"),onClick:C},y||D),u&&i.createElement(i.Fragment,null,i.createElement("div",{className:f("".concat(a,"-switch-left"),it({},"".concat(a,"-switch-left-disabled"),0===p)),onClick:function(e){return W(e,-1)}},L),i.createElement("div",{className:f("".concat(a,"-switch-right"),it({},"".concat(a,"-switch-right-disabled"),p===g-1)),onClick:function(e){return W(e,1)}},F)),i.createElement("div",{className:"".concat(a,"-footer")},d&&i.createElement("div",{className:"".concat(a,"-progress")},s?s(p+1,g):"".concat(p+1," / ").concat(g)),N?N(J,lt(lt({icons:{prevIcon:X,nextIcon:G,flipYIcon:q,flipXIcon:K,rotateLeftIcon:U,rotateRightIcon:Y,zoomOutIcon:Z,zoomInIcon:Q},actions:{onActive:x,onFlipY:O,onFlipX:$,onRotateLeft:k,onRotateRight:E,onZoomOut:S,onZoomIn:w,onReset:M,onClose:C},transform:m},P?{current:p,total:g}:{}),{},{image:I})):J)))}))},ek={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function tk(e,t,n,o){var r=t+n,i=(n-o)/2;if(n>o){if(t>0)return it({},e,i);if(t<0&&r<o)return it({},e,-i)}else if(t<0||r>o)return it({},e,t<0?i:-i);return{}}function nk(e,t,n,o){var r=YE(),i=r.width,a=r.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=lt(lt({},tk("x",n,e,i)),tk("y",o,t,a))),l}function ok(e){var n=e.src,o=e.isCustomPlaceholder,r=e.fallback,i=tt(t.useState(o?"loading":"normal"),2),a=i[0],l=i[1],c=t.useRef(!1),s="error"===a;t.useEffect((function(){var e=!0;return function(e){return new Promise((function(t){if(e){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e}else t(!1)}))}(n).then((function(t){!t&&e&&l("error")})),function(){e=!1}}),[n]),t.useEffect((function(){o&&!c.current?l("loading"):s&&l("normal")}),[n]);var u=function(){l("normal")};return[function(e){c.current=!1,"loading"===a&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,u())},s&&r?{src:r}:{onLoad:u,src:n},a]}function rk(e,t){var n=e.x-t.x,o=e.y-t.y;return Math.hypot(n,o)}function ik(e,n,o,r,i,a,l){var c=i.rotate,s=i.scale,u=i.x,d=i.y,p=tt(t.useState(!1),2),f=p[0],m=p[1],g=t.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),h=function(e){g.current=lt(lt({},g.current),e)};return t.useEffect((function(){var e;return o&&n&&(e=ZE(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}}),[o,n]),{isTouching:f,onTouchStart:function(e){if(n){e.stopPropagation(),m(!0);var t=e.touches,o=void 0===t?[]:t;o.length>1?h({point1:{x:o[0].clientX,y:o[0].clientY},point2:{x:o[1].clientX,y:o[1].clientY},eventType:"touchZoom"}):h({point1:{x:o[0].clientX-u,y:o[0].clientY-d},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,o=g.current,r=o.point1,i=o.point2,c=o.eventType;if(n.length>1&&"touchZoom"===c){var s={x:n[0].clientX,y:n[0].clientY},u={x:n[1].clientX,y:n[1].clientY},d=function(e,t,n,o){var r=rk(e,n),i=rk(t,o);if(0===r&&0===i)return[e.x,e.y];var a=r/(r+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(r,i,s,u),p=tt(d,2),f=p[0],m=p[1],v=rk(s,u)/rk(r,i);l(v,"touchZoom",f,m,!0),h({point1:s,point2:u,eventType:"touchZoom"})}else"move"===c&&(a({x:n[0].clientX-r.x,y:n[0].clientY-r.y},"move"),h({eventType:"move"}))},onTouchEnd:function(){if(o){if(f&&m(!1),h({eventType:"none"}),r>s)return a({x:0,y:0,scale:r},"touchZoom");var t=e.current.offsetWidth*s,n=e.current.offsetHeight*s,i=e.current.getBoundingClientRect(),l=i.left,u=i.top,d=c%180!=0,p=nk(d?n:t,d?t:n,l,u);p&&a(lt({},p),"dragRebound")}}}}var ak=["fallback","src","imgRef"],lk=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ck=function(e){var n=e.fallback,o=e.src,r=e.imgRef,i=nt(e,ak),a=tt(ok({src:o,fallback:n}),2),l=a[0],c=a[1];return t.createElement("img",Mn({ref:function(e){r.current=e,l(e)}},i,c))},sk=function(e){var n=e.prefixCls,o=e.src,r=e.alt,i=e.imageInfo,a=e.fallback,l=e.movable,c=void 0===l||l,s=e.onClose,u=e.visible,d=e.icons,p=void 0===d?{}:d,m=e.rootClassName,g=e.closeIcon,h=e.getContainer,v=e.current,b=void 0===v?0:v,y=e.count,x=void 0===y?1:y,C=e.countRender,w=e.scaleStep,S=void 0===w?.5:w,E=e.minScale,k=void 0===E?1:E,$=e.maxScale,O=void 0===$?50:$,M=e.transitionName,N=void 0===M?"zoom":M,j=e.maskTransitionName,I=void 0===j?"fade":j,P=e.imageRender,T=e.imgCommonProps,R=e.toolbarRender,B=e.onTransform,z=e.onChange,D=nt(e,lk),L=t.useRef(),F=t.useContext(QE),H=F&&x>1,A=F&&x>=1,_=tt(t.useState(!0),2),W=_[0],V=_[1],X=function(e,n,o,r){var i=t.useRef(null),a=t.useRef([]),l=tt(t.useState(ek),2),c=l[0],s=l[1],u=function(e,t){null===i.current&&(a.current=[],i.current=Pr((function(){s((function(e){var n=e;return a.current.forEach((function(e){n=lt(lt({},n),e)})),i.current=null,null==r||r({transform:n,action:t}),n}))}))),a.current.push(lt(lt({},c),e))};return{transform:c,resetTransform:function(e){s(ek),jt(ek,c)||null==r||r({transform:ek,action:e})},updateTransform:u,dispatchZoomChange:function(t,r,i,a,l){var s=e.current,d=s.width,p=s.height,f=s.offsetWidth,m=s.offsetHeight,g=s.offsetLeft,h=s.offsetTop,v=t,b=c.scale*t;b>o?(b=o,v=o/c.scale):b<n&&(v=(b=l?b:n)/c.scale);var y=null!=i?i:innerWidth/2,x=null!=a?a:innerHeight/2,C=v-1,w=C*d*.5,S=C*p*.5,E=C*(y-c.x-g),k=C*(x-c.y-h),$=c.x-(E-w),O=c.y-(k-S);if(t<1&&1===b){var M=f*b,N=m*b,j=YE(),I=j.width,P=j.height;M<=I&&N<=P&&($=0,O=0)}u({x:$,y:O,scale:b},r)}}}(L,k,O,B),G=X.transform,q=X.resetTransform,K=X.updateTransform,U=X.dispatchZoomChange,Y=function(e,n,o,r,i,a,l){var c=i.rotate,s=i.scale,u=i.x,d=i.y,p=tt(t.useState(!1),2),f=p[0],m=p[1],g=t.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),h=function(e){o&&f&&a({x:e.pageX-g.current.diffX,y:e.pageY-g.current.diffY},"move")},v=function(){if(o&&f){m(!1);var t=g.current,n=t.transformX,r=t.transformY;if(u===n||d===r)return;var i=e.current.offsetWidth*s,l=e.current.offsetHeight*s,p=e.current.getBoundingClientRect(),h=p.left,v=p.top,b=c%180!=0,y=nk(b?l:i,b?i:l,h,v);y&&a(lt({},y),"dragRebound")}};return t.useEffect((function(){var e,t,o,r;if(n){o=ZE(window,"mouseup",v,!1),r=ZE(window,"mousemove",h,!1);try{window.top!==window.self&&(e=ZE(window.top,"mouseup",v,!1),t=ZE(window.top,"mousemove",h,!1))}catch(e){Et(!1,"[rc-image] ".concat(e))}}return function(){var n,i,a,l;null===(n=o)||void 0===n||n.remove(),null===(i=r)||void 0===i||i.remove(),null===(a=e)||void 0===a||a.remove(),null===(l=t)||void 0===l||l.remove()}}),[o,f,u,d,c,n]),{isMoving:f,onMouseDown:function(e){n&&0===e.button&&(e.preventDefault(),e.stopPropagation(),g.current={diffX:e.pageX-u,diffY:e.pageY-d,transformX:u,transformY:d},m(!0))},onMouseMove:h,onMouseUp:v,onWheel:function(e){if(o&&0!=e.deltaY){var t=Math.abs(e.deltaY/100),n=1+Math.min(t,1)*r;e.deltaY>0&&(n=1/n),l(n,"wheel",e.clientX,e.clientY)}}}}(L,c,u,S,G,K,U),Z=Y.isMoving,Q=Y.onMouseDown,J=Y.onWheel,ee=ik(L,c,u,k,G,K,U),te=ee.isTouching,ne=ee.onTouchStart,oe=ee.onTouchMove,re=ee.onTouchEnd,ie=G.rotate,ae=G.scale,le=f(it({},"".concat(n,"-moving"),Z));t.useEffect((function(){W||V(!0)}),[W]);var ce=function(e){var t=b+e;!Number.isInteger(t)||t<0||t>x-1||(V(!1),q(e<0?"prev":"next"),null==z||z(t,b))},se=function(e){u&&H&&(e.keyCode===xs.LEFT?ce(-1):e.keyCode===xs.RIGHT&&ce(1))};t.useEffect((function(){var e=ZE(window,"keydown",se,!1);return function(){e.remove()}}),[u,H,b]);var ue=t.createElement(ck,Mn({},T,{width:e.width,height:e.height,imgRef:L,className:"".concat(n,"-img"),alt:r,style:{transform:"translate3d(".concat(G.x,"px, ").concat(G.y,"px, 0) scale3d(").concat(G.flipX?"-":"").concat(ae,", ").concat(G.flipY?"-":"").concat(ae,", 1) rotate(").concat(ie,"deg)"),transitionDuration:(!W||te)&&"0s"},fallback:a,src:o,onWheel:J,onMouseDown:Q,onDoubleClick:function(e){u&&(1!==ae?K({x:0,y:0,scale:1},"doubleClick"):U(1+S,"doubleClick",e.clientX,e.clientY))},onTouchStart:ne,onTouchMove:oe,onTouchEnd:re,onTouchCancel:re})),de=lt({url:o,alt:r},i);return t.createElement(t.Fragment,null,t.createElement(vf,Mn({transitionName:N,maskTransitionName:I,closable:!1,keyboard:!0,prefixCls:n,onClose:s,visible:u,classNames:{wrapper:le},rootClassName:m,getContainer:h},D,{afterClose:function(){q("close")}}),t.createElement("div",{className:"".concat(n,"-img-wrapper")},P?P(ue,lt({transform:G,image:de},F?{current:b}:{})):ue)),t.createElement(JE,{visible:u,transform:G,maskTransitionName:I,closeIcon:g,getContainer:h,prefixCls:n,rootClassName:m,icons:p,countRender:C,showSwitch:H,showProgress:A,current:b,count:x,scale:ae,minScale:k,maxScale:O,toolbarRender:R,onActive:ce,onZoomIn:function(){U(1+S,"zoomIn")},onZoomOut:function(){U(1/(1+S),"zoomOut")},onRotateRight:function(){K({rotate:ie+90},"rotateRight")},onRotateLeft:function(){K({rotate:ie-90},"rotateLeft")},onFlipX:function(){K({flipX:!G.flipX},"flipX")},onFlipY:function(){K({flipY:!G.flipY},"flipY")},onClose:s,onReset:function(){q("reset")},zIndex:void 0!==D.zIndex?D.zIndex+1:void 0,image:de}))},uk=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];var dk=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],pk=["src"],fk=0;var mk=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],gk=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],hk=function(e){var n=e.src,o=e.alt,r=e.onPreviewClose,a=e.prefixCls,l=void 0===a?"rc-image":a,c=e.previewPrefixCls,s=void 0===c?"".concat(l,"-preview"):c,u=e.placeholder,d=e.fallback,p=e.width,m=e.height,g=e.style,h=e.preview,v=void 0===h||h,b=e.className,y=e.onClick,x=e.onError,C=e.wrapperClassName,w=e.wrapperStyle,S=e.rootClassName,E=nt(e,mk),k=u&&!0!==u,$="object"===ot(v)?v:{},O=$.src,M=$.visible,N=void 0===M?void 0:M,j=$.onVisibleChange,I=void 0===j?r:j,P=$.getContainer,T=void 0===P?void 0:P,R=$.mask,B=$.maskClassName,z=$.movable,D=$.icons,L=$.scaleStep,F=$.minScale,H=$.maxScale,A=$.imageRender,_=$.toolbarRender,W=nt($,gk),V=null!=O?O:n,X=tt(Ta(!!N,{value:N,onChange:I}),2),G=X[0],q=X[1],K=tt(ok({src:n,isCustomPlaceholder:k,fallback:d}),3),U=K[0],Y=K[1],Z=K[2],Q=tt(t.useState(null),2),J=Q[0],ee=Q[1],te=t.useContext(QE),ne=!!v,oe=f(l,C,S,it({},"".concat(l,"-error"),"error"===Z)),re=t.useMemo((function(){var t={};return uk.forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}),uk.map((function(t){return e[t]}))),ie=function(e,t){var n=tt(i.useState((function(){return String(fk+=1)})),1)[0],o=i.useContext(QE),r={data:t,canPreview:e};return i.useEffect((function(){if(o)return o.register(n,r)}),[]),i.useEffect((function(){o&&o.register(n,r)}),[e,t]),n}(ne,t.useMemo((function(){return lt(lt({},re),{},{src:V})}),[V,re]));return i.createElement(i.Fragment,null,i.createElement("div",Mn({},E,{className:oe,onClick:ne?function(e){var t=function(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}(e.target),n=t.left,o=t.top;te?te.onPreview(ie,V,n,o):(ee({x:n,y:o}),q(!0)),null==y||y(e)}:y,style:lt({width:p,height:m},w)}),i.createElement("img",Mn({},re,{className:f("".concat(l,"-img"),it({},"".concat(l,"-img-placeholder"),!0===u),b),style:lt({height:m},g),ref:U},Y,{width:p,height:m,onError:x})),"loading"===Z&&i.createElement("div",{"aria-hidden":"true",className:"".concat(l,"-placeholder")},u),R&&ne&&i.createElement("div",{className:f("".concat(l,"-mask"),B),style:{display:"none"===(null==g?void 0:g.display)?"none":void 0}},R)),!te&&ne&&i.createElement(sk,Mn({"aria-hidden":!G,visible:G,prefixCls:s,onClose:function(){q(!1),ee(null)},mousePosition:J,src:V,alt:o,imageInfo:{width:p,height:m},fallback:d,getContainer:T,icons:D,movable:z,scaleStep:L,minScale:F,maxScale:H,rootClassName:S,imageRender:A,imgCommonProps:re,toolbarRender:_},W)))};hk.PreviewGroup=function(e){var n,o=e.previewPrefixCls,r=void 0===o?"rc-image-preview":o,a=e.children,l=e.icons,c=void 0===l?{}:l,s=e.items,u=e.preview,d=e.fallback,p="object"===ot(u)?u:{},f=p.visible,m=p.onVisibleChange,g=p.getContainer,h=p.current,v=p.movable,b=p.minScale,y=p.maxScale,x=p.countRender,C=p.closeIcon,w=p.onChange,S=p.onTransform,E=p.toolbarRender,k=p.imageRender,$=nt(p,dk),O=function(e){var t=tt(i.useState({}),2),n=t[0],o=t[1],r=i.useCallback((function(e,t){return o((function(n){return lt(lt({},n),{},it({},e,t))})),function(){o((function(t){var n=lt({},t);return delete n[e],n}))}}),[]);return[i.useMemo((function(){return e?e.map((function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach((function(n){["src"].concat(Qe(uk)).includes(n)&&(t[n]=e[n])})),{data:t}})):Object.keys(n).reduce((function(e,t){var o=n[t],r=o.canPreview,i=o.data;return r&&e.push({data:i,id:t}),e}),[])}),[e,n]),r,!!e]}(s),M=tt(O,3),N=M[0],j=M[1],I=M[2],P=tt(Ta(0,{value:h}),2),T=P[0],R=P[1],B=tt(t.useState(!1),2),z=B[0],D=B[1],L=(null===(n=N[T])||void 0===n?void 0:n.data)||{},F=L.src,H=nt(L,pk),A=tt(Ta(!!f,{value:f,onChange:function(e,t){null==m||m(e,t,T)}}),2),_=A[0],W=A[1],V=tt(t.useState(null),2),X=V[0],G=V[1],q=i.useCallback((function(e,t,n,o){var r=I?N.findIndex((function(e){return e.data.src===t})):N.findIndex((function(t){return t.id===e}));R(r<0?0:r),W(!0),G({x:n,y:o}),D(!0)}),[N,I]);i.useEffect((function(){_?z||R(0):D(!1)}),[_]);var K=i.useMemo((function(){return{register:j,onPreview:q}}),[j,q]);return i.createElement(QE.Provider,{value:K},a,i.createElement(sk,Mn({"aria-hidden":!_,movable:v,visible:_,prefixCls:r,closeIcon:C,onClose:function(){W(!1),G(null)},mousePosition:X,imgCommonProps:H,src:F,fallback:d,icons:c,minScale:b,maxScale:y,getContainer:g,current:T,count:N.length,countRender:x,onTransform:S,toolbarRender:E,imageRender:k,onChange:function(e,t){R(e),null==w||w(e,t)}},$)))},"production"!==process.env.NODE_ENV&&(hk.displayName="Image");var vk=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Ie}))},bk=i.forwardRef(vk);
|
|
33
|
+
/** */"production"!==process.env.NODE_ENV&&(bk.displayName="RotateLeftOutlined");var yk=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Pe}))},xk=i.forwardRef(yk);
|
|
34
|
+
/** */"production"!==process.env.NODE_ENV&&(xk.displayName="RotateRightOutlined");var Ck=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Fe}))},wk=i.forwardRef(Ck);
|
|
35
|
+
/** */"production"!==process.env.NODE_ENV&&(wk.displayName="SwapOutlined");var Sk=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Ae}))},Ek=i.forwardRef(Sk);
|
|
36
|
+
/** */"production"!==process.env.NODE_ENV&&(Ek.displayName="ZoomInOutlined");var kk=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:_e}))},$k=i.forwardRef(kk);
|
|
37
|
+
/** */"production"!==process.env.NODE_ENV&&($k.displayName="ZoomOutOutlined");const Ok=e=>({position:e||"absolute",inset:0}),Mk=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:o,marginXXS:r,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new gi("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},nl),{padding:`0 ${rn(o)}`,[t]:{marginInlineEnd:r,svg:{verticalAlign:"baseline"}}})}},Nk=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:o,marginXL:r,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:s,iconCls:u,colorTextLightSolid:d}=e,p=new gi(n).setA(.1),f=p.clone().setA(.2);return{[`${t}-footer`]:{position:"fixed",bottom:r,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:r,right:{_skip_check_:!0,value:r},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:o,outline:0,border:0,cursor:"pointer",transition:`all ${s}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${rn(a)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:o,padding:o,cursor:"pointer",transition:`all ${s}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},jk=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:o,previewCls:r,zIndexPopup:i,motionDurationSlow:a}=e,l=new gi(t).setA(.1),c=l.clone().setA(.2);return{[`${r}-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:o,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${r}-switch-left`]:{insetInlineStart:e.marginSM},[`${r}-switch-right`]:{insetInlineEnd:e.marginSM}}},Ik=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r}=e;return[{[`${r}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},Ok()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${o} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ok()),{transition:`transform ${o} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${r}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Nk(e),jk(e)]}]},Pk=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Mk(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},Ok())}}},Tk=e=>{const{previewCls:t}=e;return{[`${t}-root`]:op(e,"zoom"),"&":Id(e,!0)}};var Rk=cl("Image",(e=>{const t=`${e.componentCls}-preview`,n=Da(e,{previewCls:t,modalMaskBg:new gi("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Pk(n),Ik(n),mg(Da(n,{componentCls:t})),Tk(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new gi(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new gi(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new gi(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}))),Bk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const zk={rotateLeft:i.createElement(bk,null),rotateRight:i.createElement(xk,null),zoomIn:i.createElement(Ek,null),zoomOut:i.createElement($k,null),close:i.createElement(Yc,null),left:i.createElement(Ty,null),right:i.createElement(Ed,null),flipX:i.createElement(wk,null),flipY:i.createElement(wk,{rotate:90})};var Dk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Lk=e=>{const{prefixCls:t,preview:n,className:o,rootClassName:r,style:a}=e,l=Dk(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,getPopupContainer:s,className:u,style:d,preview:p}=ha("image"),[m]=ai("Image"),g=c("image",t),h=c(),v=ys(g),[b,y,x]=Rk(g,v),C=f(r,y,x,v),w=f(o,y,u),[S]=Ls("ImagePreview","object"==typeof n?n.zIndex:void 0),E=i.useMemo((()=>{if(!1===n)return n;const e="object"==typeof n?n:{},{getContainer:t,closeIcon:o,rootClassName:r}=e,a=Dk(e,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:i.createElement("div",{className:`${g}-mask-info`},i.createElement(UE,null),null==m?void 0:m.preview),icons:zk},a),{rootClassName:f(C,r),getContainer:null!=t?t:s,transitionName:xu(h,"zoom",e.transitionName),maskTransitionName:xu(h,"fade",e.maskTransitionName),zIndex:S,closeIcon:null!=o?o:null==p?void 0:p.closeIcon})}),[n,m,null==p?void 0:p.closeIcon]),k=Object.assign(Object.assign({},d),a);return b(i.createElement(hk,Object.assign({prefixCls:g,preview:E,rootClassName:C,className:w,style:k},l)))};Lk.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,o=Bk(e,["previewPrefixCls","preview"]);const{getPrefixCls:r,direction:a}=i.useContext(fa),l=r("image",t),c=`${l}-preview`,s=r(),u=ys(l),[d,p,m]=Rk(l,u),[g]=Ls("ImagePreview","object"==typeof n?n.zIndex:void 0),h=i.useMemo((()=>Object.assign(Object.assign({},zk),{left:"rtl"===a?i.createElement(Ed,null):i.createElement(Ty,null),right:"rtl"===a?i.createElement(Ty,null):i.createElement(Ed,null)})),[a]),v=i.useMemo((()=>{var e;if(!1===n)return n;const t="object"==typeof n?n:{},o=f(p,m,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:xu(s,"zoom",t.transitionName),maskTransitionName:xu(s,"fade",t.maskTransitionName),rootClassName:o,zIndex:g})}),[n]);return d(i.createElement(hk.PreviewGroup,Object.assign({preview:v,previewPrefixCls:c,icons:h},o)))},"production"!==process.env.NODE_ENV&&(Lk.displayName="Image");var Fk,Hk=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ak={};function _k(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Fk||((Fk=document.createElement("textarea")).setAttribute("tab-index","-1"),Fk.setAttribute("aria-hidden","true"),Fk.setAttribute("name","hiddenTextarea"),document.body.appendChild(Fk)),e.getAttribute("wrap")?Fk.setAttribute("wrap",e.getAttribute("wrap")):Fk.removeAttribute("wrap");var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Ak[n])return Ak[n];var o=window.getComputedStyle(e),r=o.getPropertyValue("box-sizing")||o.getPropertyValue("-moz-box-sizing")||o.getPropertyValue("-webkit-box-sizing"),i=parseFloat(o.getPropertyValue("padding-bottom"))+parseFloat(o.getPropertyValue("padding-top")),a=parseFloat(o.getPropertyValue("border-bottom-width"))+parseFloat(o.getPropertyValue("border-top-width")),l={sizingStyle:Hk.map((function(e){return"".concat(e,":").concat(o.getPropertyValue(e))})).join(";"),paddingSize:i,borderSize:a,boxSizing:r};return t&&n&&(Ak[n]=l),l}(e,t),i=r.paddingSize,a=r.borderSize,l=r.boxSizing,c=r.sizingStyle;Fk.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),Fk.value=e.value||e.placeholder||"";var s,u=void 0,d=void 0,p=Fk.scrollHeight;if("border-box"===l?p+=a:"content-box"===l&&(p-=i),null!==n||null!==o){Fk.value=" ";var f=Fk.scrollHeight-i;null!==n&&(u=f*n,"border-box"===l&&(u=u+i+a),p=Math.max(u,p)),null!==o&&(d=f*o,"border-box"===l&&(d=d+i+a),s=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:s,resize:"none"};return u&&(m.minHeight=u),d&&(m.maxHeight=d),m}var Wk=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Vk=i.forwardRef((function(e,t){var n=e,o=n.prefixCls,r=n.defaultValue,a=n.value,l=n.autoSize,c=n.onResize,s=n.className,u=n.style,d=n.disabled,p=n.onChange,m=n.onInternalAutoSize,g=nt(n,Wk),h=tt(Ta(r,{value:a,postState:function(e){return null!=e?e:""}}),2),v=h[0],b=h[1],y=i.useRef();i.useImperativeHandle(t,(function(){return{textArea:y.current}}));var x=tt(i.useMemo((function(){return l&&"object"===ot(l)?[l.minRows,l.maxRows]:[]}),[l]),2),C=x[0],w=x[1],S=!!l,E=tt(i.useState(2),2),k=E[0],$=E[1],O=tt(i.useState(),2),M=O[0],N=O[1],j=function(){$(0),"test"===process.env.NODE_ENV&&(null==m||m())};dn((function(){S&&j()}),[a,C,w,S]),dn((function(){if(0===k)$(1);else if(1===k){var e=_k(y.current,!1,C,w);$(2),N(e)}else!function(){try{if(document.activeElement===y.current){var e=y.current,t=e.selectionStart,n=e.selectionEnd,o=e.scrollTop;y.current.setSelectionRange(t,n),y.current.scrollTop=o}}catch(e){}}()}),[k]);var I=i.useRef(),P=function(){Pr.cancel(I.current)};i.useEffect((function(){return P}),[]);var T=S?M:null,R=lt(lt({},u),T);return 0!==k&&1!==k||(R.overflowY="hidden",R.overflowX="hidden"),i.createElement($r,{onResize:function(e){2===k&&(null==c||c(e),l&&(P(),I.current=Pr((function(){j()}))))},disabled:!(l||c)},i.createElement("textarea",Mn({},g,{ref:y,style:R,className:f(o,s,it({},"".concat(o,"-disabled"),d)),disabled:d,value:v,onChange:function(e){b(e.target.value),null==p||p(e)}})))})),Xk=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Gk=t.forwardRef((function(e,n){var o,r=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,c=e.onChange,s=e.allowClear,u=e.maxLength,d=e.onCompositionStart,p=e.onCompositionEnd,m=e.suffix,g=e.prefixCls,h=void 0===g?"rc-textarea":g,v=e.showCount,b=e.count,y=e.className,x=e.style,C=e.disabled,w=e.hidden,S=e.classNames,E=e.styles,k=e.onResize,$=e.onClear,O=e.onPressEnter,M=e.readOnly,N=e.autoSize,j=e.onKeyDown,I=nt(e,Xk),P=tt(Ta(r,{value:i,defaultValue:r}),2),T=P[0],R=P[1],B=null==T?"":String(T),z=tt(t.useState(!1),2),D=z[0],L=z[1],F=t.useRef(!1),H=tt(t.useState(null),2),A=H[0],_=H[1],W=t.useRef(null),V=t.useRef(null),X=function(){var e;return null===(e=V.current)||void 0===e?void 0:e.textArea},G=function(){X().focus()};t.useImperativeHandle(n,(function(){var e;return{resizableTextArea:V.current,focus:G,blur:function(){X().blur()},nativeElement:(null===(e=W.current)||void 0===e?void 0:e.nativeElement)||X()}})),t.useEffect((function(){L((function(e){return!C&&e}))}),[C]);var q=tt(t.useState(null),2),K=q[0],U=q[1];t.useEffect((function(){var e;K&&(e=X()).setSelectionRange.apply(e,Qe(K))}),[K]);var Y,Z=dE(b,v),Q=null!==(o=Z.max)&&void 0!==o?o:u,J=Number(Q)>0,ee=Z.strategy(B),te=!!Q&&ee>Q,ne=function(e,t){var n=t;!F.current&&Z.exceedFormatter&&Z.max&&Z.strategy(t)>Z.max&&t!==(n=Z.exceedFormatter(t,{max:Z.max}))&&U([X().selectionStart||0,X().selectionEnd||0]),R(n),lE(e.currentTarget,e,c,n)},oe=m;Z.show&&(Y=Z.showFormatter?Z.showFormatter({value:B,count:ee,maxLength:Q}):"".concat(ee).concat(J?" / ".concat(Q):""),oe=t.createElement(t.Fragment,null,oe,t.createElement("span",{className:f("".concat(h,"-data-count"),null==S?void 0:S.count),style:null==E?void 0:E.count},Y)));var re=!N&&!v&&!s;return t.createElement(sE,{ref:W,value:B,allowClear:s,handleReset:function(e){R(""),G(),lE(X(),e,c)},suffix:oe,prefixCls:h,classNames:lt(lt({},S),{},{affixWrapper:f(null==S?void 0:S.affixWrapper,it(it({},"".concat(h,"-show-count"),v),"".concat(h,"-textarea-allow-clear"),s))}),disabled:C,focused:D,className:f(y,te&&"".concat(h,"-out-of-range")),style:lt(lt({},x),A&&!re?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof Y?Y:void 0}},hidden:w,readOnly:M,onClear:$},t.createElement(Vk,Mn({},I,{autoSize:N,maxLength:u,onKeyDown:function(e){"Enter"===e.key&&O&&O(e),null==j||j(e)},onChange:function(e){ne(e,e.target.value)},onFocus:function(e){L(!0),null==a||a(e)},onBlur:function(e){L(!1),null==l||l(e)},onCompositionStart:function(e){F.current=!0,null==d||d(e)},onCompositionEnd:function(e){F.current=!1,ne(e,e.currentTarget.value),null==p||p(e)},className:f(null==S?void 0:S.textarea),style:lt(lt({},null==E?void 0:E.textarea),{},{resize:null==x?void 0:x.resize}),disabled:C,prefixCls:h,onResize:function(e){var t;null==k||k(e),null!==(t=X())&&void 0!==t&&t.style.height&&_(!0)},ref:V,readOnly:M})))}));const qk=e=>{const{componentCls:t,paddingLG:n}=e,o=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[o]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${o}-has-feedback ${t}\n `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${o}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}};var Kk=cl(["Input","TextArea"],(e=>{const t=Da(e,fw(e));return[qk(t)]}),mw,{resetFont:!1}),Uk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Yk=t.forwardRef(((e,t)=>{var n;const{prefixCls:o,bordered:r=!0,size:a,disabled:l,status:c,allowClear:s,classNames:u,rootClassName:d,className:p,style:m,styles:g,variant:h,showCount:v,onMouseDown:b,onResize:y}=e,x=Uk(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);if("production"!==process.env.NODE_ENV){const{deprecated:t}=Gr("TextArea");t(!("bordered"in e),"bordered","variant")}const{getPrefixCls:C,direction:w,allowClear:S,autoComplete:E,className:k,style:$,classNames:O,styles:M}=ha("textArea"),N=i.useContext(ya),j=null!=l?l:N,{status:I,hasFeedback:P,feedbackIcon:T}=i.useContext(km),R=qv(I,c),B=i.useRef(null);i.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=B.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;cE(null===(n=null===(t=B.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.blur()}}}));const z=C("input",o),D=ys(z),[L,F,H]=Aw(z,d),[A]=Kk(z,D),{compactSize:_,compactItemClassnames:W}=Fu(z,w),V=Pu((e=>{var t;return null!==(t=null!=a?a:_)&&void 0!==t?t:e})),[X,G]=ob("textArea",h,r),q=mE(null!=s?s:S),[K,U]=i.useState(!1),[Y,Z]=i.useState(!1);return L(A(i.createElement(Gk,Object.assign({autoComplete:E},x,{style:Object.assign(Object.assign({},$),m),styles:Object.assign(Object.assign({},M),g),disabled:j,allowClear:q,className:f(H,D,p,d,W,k,Y&&`${z}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),O),{textarea:f({[`${z}-sm`]:"small"===V,[`${z}-lg`]:"large"===V},F,null==u?void 0:u.textarea,O.textarea,K&&`${z}-mouse-active`),variant:f({[`${z}-${X}`]:G},Gv(z,R)),affixWrapper:f(`${z}-textarea-affix-wrapper`,{[`${z}-affix-wrapper-rtl`]:"rtl"===w,[`${z}-affix-wrapper-sm`]:"small"===V,[`${z}-affix-wrapper-lg`]:"large"===V,[`${z}-textarea-show-count`]:v||(null===(n=e.count)||void 0===n?void 0:n.show)},F)}),prefixCls:z,suffix:P&&i.createElement("span",{className:`${z}-textarea-suffix`},T),showCount:v,ref:B,onResize:e=>{var t,n;if(null==y||y(e),K&&"function"==typeof getComputedStyle){const e=null===(n=null===(t=B.current)||void 0===t?void 0:t.nativeElement)||void 0===n?void 0:n.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&Z(!0)}},onMouseDown:e=>{U(!0),null==b||b(e);const t=()=>{U(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}}))))}));var Zk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Qk(e){let{suffixCls:t,tagName:n,displayName:o}=e;return e=>{const r=i.forwardRef(((o,r)=>i.createElement(e,Object.assign({ref:r,suffixCls:t,tagName:n},o))));return"production"!==process.env.NODE_ENV&&(r.displayName=o),r}}const Jk=i.forwardRef(((e,t)=>{const{prefixCls:n,suffixCls:o,className:r,tagName:a}=e,l=Zk(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=i.useContext(fa),s=c("layout",n),[u,d,p]=fC(s),m=o?`${s}-${o}`:s;return u(i.createElement(a,Object.assign({className:f(n||m,r,d,p),ref:t},l)))})),e$=i.forwardRef(((e,t)=>{const{direction:n}=i.useContext(fa),[o,r]=i.useState([]),{prefixCls:a,className:l,rootClassName:c,children:s,hasSider:u,tagName:d,style:p}=e,m=Cu(Zk(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),["suffixCls"]),{getPrefixCls:g,className:h,style:v}=ha("layout"),b=g("layout",a),y=function(e,t,n){return"boolean"==typeof n?n:!!e.length||Ho(t).some((e=>e.type===xC))}(o,s,u),[x,C,w]=fC(b),S=f(b,{[`${b}-has-sider`]:y,[`${b}-rtl`]:"rtl"===n},h,l,c,C,w),E=i.useMemo((()=>({siderHook:{addSider:e=>{r((t=>[].concat(Qe(t),[e])))},removeSider:e=>{r((t=>t.filter((t=>t!==e))))}}})),[]);return x(i.createElement(sC.Provider,{value:E},i.createElement(d,Object.assign({ref:t,className:S,style:Object.assign(Object.assign({},v),p)},m),s)))})),t$=Qk({tagName:"div",displayName:"Layout"})(e$),n$=Qk({suffixCls:"header",tagName:"header",displayName:"Header"})(Jk),o$=Qk({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Jk),r$=Qk({suffixCls:"content",tagName:"main",displayName:"Content"})(Jk),i$=t$;i$.Header=n$,i$.Footer=o$,i$.Content=r$,i$.Sider=xC,i$._InternalSiderContext=bC;var a$=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:re}))},l$=i.forwardRef(a$);
|
|
38
|
+
/** */"production"!==process.env.NODE_ENV&&(l$.displayName="DoubleLeftOutlined");var c$=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ie}))},s$=i.forwardRef(c$);
|
|
39
|
+
/** */"production"!==process.env.NODE_ENV&&(s$.displayName="DoubleRightOutlined");var u$={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},d$=[10,20,50,100],p$=function(e){var n=e.pageSizeOptions,o=void 0===n?d$:n,r=e.locale,i=e.changeSize,a=e.pageSize,l=e.goButton,c=e.quickGo,s=e.rootPrefixCls,u=e.disabled,d=e.buildOptionText,p=e.showSizeChanger,f=e.sizeChangerRender,m=tt(t.useState(""),2),g=m[0],h=m[1],v=function(){return!g||Number.isNaN(g)?void 0:Number(g)},b="function"==typeof d?d:function(e){return"".concat(e," ").concat(r.items_per_page)},y=function(e){""!==g&&(e.keyCode!==xs.ENTER&&"click"!==e.type||(h(""),null==c||c(v())))},x="".concat(s,"-options");if(!p&&!c)return null;var C=null,w=null,S=null;return p&&f&&(C=f({disabled:u,size:a,onSizeChange:function(e){null==i||i(Number(e))},"aria-label":r.page_size,className:"".concat(x,"-size-changer"),options:(o.some((function(e){return e.toString()===a.toString()}))?o:o.concat([a]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e){return{label:b(e),value:e}}))})),c&&(l&&(S="boolean"==typeof l?t.createElement("button",{type:"button",onClick:y,onKeyUp:y,disabled:u,className:"".concat(x,"-quick-jumper-button")},r.jump_to_confirm):t.createElement("span",{onClick:y,onKeyUp:y},l)),w=t.createElement("div",{className:"".concat(x,"-quick-jumper")},r.jump_to,t.createElement("input",{disabled:u,type:"text",value:g,onChange:function(e){h(e.target.value)},onKeyUp:y,onBlur:function(e){l||""===g||(h(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(v()))},"aria-label":r.page}),r.page,S)),t.createElement("li",{className:x},C,w)};"production"!==process.env.NODE_ENV&&(p$.displayName="Options");var f$=function(e){var n=e.rootPrefixCls,o=e.page,r=e.active,i=e.className,a=e.showTitle,l=e.onClick,c=e.onKeyPress,s=e.itemRender,u="".concat(n,"-item"),d=f(u,"".concat(u,"-").concat(o),it(it({},"".concat(u,"-active"),r),"".concat(u,"-disabled"),!o),i),p=s(o,"page",t.createElement("a",{rel:"nofollow"},o));return p?t.createElement("li",{title:a?String(o):null,className:d,onClick:function(){l(o)},onKeyDown:function(e){c(e,l,o)},tabIndex:0},p):null};"production"!==process.env.NODE_ENV&&(f$.displayName="Pager");var m$=function(e,t,n){return n};function g$(){}function h$(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function v$(e,t,n){var o=void 0===e?t:e;return Math.floor((n-1)/o)+1}var b$=function(e){var n=e.prefixCls,o=void 0===n?"rc-pagination":n,r=e.selectPrefixCls,i=void 0===r?"rc-select":r,a=e.className,l=e.current,c=e.defaultCurrent,s=void 0===c?1:c,u=e.total,d=void 0===u?0:u,p=e.pageSize,m=e.defaultPageSize,g=void 0===m?10:m,h=e.onChange,v=void 0===h?g$:h,b=e.hideOnSinglePage,y=e.align,x=e.showPrevNextJumpers,C=void 0===x||x,w=e.showQuickJumper,S=e.showLessItems,E=e.showTitle,k=void 0===E||E,$=e.onShowSizeChange,O=void 0===$?g$:$,M=e.locale,N=void 0===M?u$:M,j=e.style,I=e.totalBoundaryShowSizeChanger,P=void 0===I?50:I,T=e.disabled,R=e.simple,B=e.showTotal,z=e.showSizeChanger,D=void 0===z?d>P:z,L=e.sizeChangerRender,F=e.pageSizeOptions,H=e.itemRender,A=void 0===H?m$:H,_=e.jumpPrevIcon,W=e.jumpNextIcon,V=e.prevIcon,X=e.nextIcon,G=t.useRef(null),q=tt(Ta(10,{value:p,defaultValue:g}),2),K=q[0],U=q[1],Y=tt(Ta(1,{value:l,defaultValue:s,postState:function(e){return Math.max(1,Math.min(e,v$(void 0,K,d)))}}),2),Z=Y[0],Q=Y[1],J=tt(t.useState(Z),2),ee=J[0],te=J[1];t.useEffect((function(){te(Z)}),[Z]);var ne=v!==g$,oe="current"in e;"production"!==process.env.NODE_ENV&&Mt(!oe||ne,"You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var re=Math.max(1,Z-(S?3:5)),ie=Math.min(v$(void 0,K,d),Z+(S?3:5));function ae(n,r){var i=n||t.createElement("button",{type:"button","aria-label":r,className:"".concat(o,"-item-link")});return"function"==typeof n&&(i=t.createElement(n,lt({},e))),i}function le(e){var t=e.target.value,n=v$(void 0,K,d);return""===t?t:Number.isNaN(Number(t))?ee:t>=n?n:Number(t)}var ce=d>K&&w;function se(e){var t=le(e);switch(t!==ee&&te(t),e.keyCode){case xs.ENTER:ue(t);break;case xs.UP:ue(t-1);break;case xs.DOWN:ue(t+1)}}function ue(e){if(function(e){return h$(e)&&e!==Z&&h$(d)&&d>0}(e)&&!T){var t=v$(void 0,K,d),n=e;return e>t?n=t:e<1&&(n=1),n!==ee&&te(n),Q(n),null==v||v(n,K),n}return Z}var de=Z>1,pe=Z<v$(void 0,K,d);function fe(){de&&ue(Z-1)}function me(){pe&&ue(Z+1)}function ge(){ue(re)}function he(){ue(ie)}function ve(e,t){if("Enter"===e.key||e.charCode===xs.ENTER||e.keyCode===xs.ENTER){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];t.apply(void 0,o)}}function be(e){"click"!==e.type&&e.keyCode!==xs.ENTER||ue(ee)}var ye=null,xe=os(e,{aria:!0,data:!0}),Ce=B&&t.createElement("li",{className:"".concat(o,"-total-text")},B(d,[0===d?0:(Z-1)*K+1,Z*K>d?d:Z*K])),we=null,Se=v$(void 0,K,d);if(b&&d<=K)return null;var Ee=[],ke={rootPrefixCls:o,onClick:ue,onKeyPress:ve,showTitle:k,itemRender:A,page:-1},$e=Z-1>0?Z-1:0,Oe=Z+1<Se?Z+1:Se,Me=w&&w.goButton,Ne="object"===ot(R)?R.readOnly:!R,je=Me,Ie=null;R&&(Me&&(je="boolean"==typeof Me?t.createElement("button",{type:"button",onClick:be,onKeyUp:be},N.jump_to_confirm):t.createElement("span",{onClick:be,onKeyUp:be},Me),je=t.createElement("li",{title:k?"".concat(N.jump_to).concat(Z,"/").concat(Se):null,className:"".concat(o,"-simple-pager")},je)),Ie=t.createElement("li",{title:k?"".concat(Z,"/").concat(Se):null,className:"".concat(o,"-simple-pager")},Ne?ee:t.createElement("input",{type:"text","aria-label":N.jump_to,value:ee,disabled:T,onKeyDown:function(e){e.keyCode!==xs.UP&&e.keyCode!==xs.DOWN||e.preventDefault()},onKeyUp:se,onChange:se,onBlur:function(e){ue(le(e))},size:3}),t.createElement("span",{className:"".concat(o,"-slash")},"/"),Se));var Pe=S?1:2;if(Se<=3+2*Pe){Se||Ee.push(t.createElement(f$,Mn({},ke,{key:"noPager",page:1,className:"".concat(o,"-item-disabled")})));for(var Te=1;Te<=Se;Te+=1)Ee.push(t.createElement(f$,Mn({},ke,{key:Te,page:Te,active:Z===Te})))}else{var Re=S?N.prev_3:N.prev_5,Be=S?N.next_3:N.next_5,ze=A(re,"jump-prev",ae(_,"prev page")),De=A(ie,"jump-next",ae(W,"next page"));C&&(ye=ze?t.createElement("li",{title:k?Re:null,key:"prev",onClick:ge,tabIndex:0,onKeyDown:function(e){ve(e,ge)},className:f("".concat(o,"-jump-prev"),it({},"".concat(o,"-jump-prev-custom-icon"),!!_))},ze):null,we=De?t.createElement("li",{title:k?Be:null,key:"next",onClick:he,tabIndex:0,onKeyDown:function(e){ve(e,he)},className:f("".concat(o,"-jump-next"),it({},"".concat(o,"-jump-next-custom-icon"),!!W))},De):null);var Le=Math.max(1,Z-Pe),Fe=Math.min(Z+Pe,Se);Z-1<=Pe&&(Fe=1+2*Pe),Se-Z<=Pe&&(Le=Se-2*Pe);for(var He=Le;He<=Fe;He+=1)Ee.push(t.createElement(f$,Mn({},ke,{key:He,page:He,active:Z===He})));if(Z-1>=2*Pe&&3!==Z&&(Ee[0]=t.cloneElement(Ee[0],{className:f("".concat(o,"-item-after-jump-prev"),Ee[0].props.className)}),Ee.unshift(ye)),Se-Z>=2*Pe&&Z!==Se-2){var Ae=Ee[Ee.length-1];Ee[Ee.length-1]=t.cloneElement(Ae,{className:f("".concat(o,"-item-before-jump-next"),Ae.props.className)}),Ee.push(we)}1!==Le&&Ee.unshift(t.createElement(f$,Mn({},ke,{key:1,page:1}))),Fe!==Se&&Ee.push(t.createElement(f$,Mn({},ke,{key:Se,page:Se})))}var _e=function(e){var n=A(e,"prev",ae(V,"prev page"));return t.isValidElement(n)?t.cloneElement(n,{disabled:!de}):n}($e);if(_e){var We=!de||!Se;_e=t.createElement("li",{title:k?N.prev_page:null,onClick:fe,tabIndex:We?null:0,onKeyDown:function(e){ve(e,fe)},className:f("".concat(o,"-prev"),it({},"".concat(o,"-disabled"),We)),"aria-disabled":We},_e)}var Ve,Xe,Ge=function(e){var n=A(e,"next",ae(X,"next page"));return t.isValidElement(n)?t.cloneElement(n,{disabled:!pe}):n}(Oe);Ge&&(R?(Ve=!pe,Xe=de?0:null):Xe=(Ve=!pe||!Se)?null:0,Ge=t.createElement("li",{title:k?N.next_page:null,onClick:me,tabIndex:Xe,onKeyDown:function(e){ve(e,me)},className:f("".concat(o,"-next"),it({},"".concat(o,"-disabled"),Ve)),"aria-disabled":Ve},Ge));var qe=f(o,a,it(it(it(it(it({},"".concat(o,"-start"),"start"===y),"".concat(o,"-center"),"center"===y),"".concat(o,"-end"),"end"===y),"".concat(o,"-simple"),R),"".concat(o,"-disabled"),T));return t.createElement("ul",Mn({className:qe,style:j,ref:G},xe),Ce,_e,R?Ie:Ee,Ge,t.createElement(p$,{locale:N,rootPrefixCls:o,disabled:T,selectPrefixCls:i,changeSize:function(e){var t=v$(e,K,d),n=Z>t&&0!==t?t:Z;U(e),te(n),null==O||O(Z,e),Q(n),null==v||v(n,e)},pageSize:K,pageSizeOptions:F,quickGo:ce?ue:null,goButton:je,showSizeChanger:D,sizeChangerRender:L}))};"production"!==process.env.NODE_ENV&&(b$.displayName="Pagination");const y$=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},x$=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:rn(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:rn(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:rn(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${t}-mini ${t}-prev ${t}-item-link,\n &${t}-mini ${t}-next ${t}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:rn(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:rn(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:rn(e.itemSizeSM),input:Object.assign(Object.assign({},Pw(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},C$=e=>{const{componentCls:t}=e;return{[`\n &${t}-simple ${t}-prev,\n &${t}-simple ${t}-next\n `]:{height:e.itemSizeSM,lineHeight:rn(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:rn(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${rn(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${rn(e.inputOutlineOffset)} 0 ${rn(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},w$=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n ${t}-prev,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${t}-prev,\n ${t}-next,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:rn(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${rn(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:rn(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},Tw(e)),vw(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},hw(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},S$=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:rn(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${rn(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${rn(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},E$=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:rn(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),S$(e)),w$(e)),C$(e)),x$(e)),y$(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},k$=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},il(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},rl(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},rl(e))}}}},$$=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},mw(e)),O$=e=>Da(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},fw(e));var M$=cl("Pagination",(e=>{const t=O$(e);return[E$(t),k$(t)]}),$$);const N$=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var j$=ul(["Pagination","bordered"],(e=>{const t=O$(e);return[N$(t)]}),$$);function I$(e){return t.useMemo((()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0]),[e])}var P$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const T$=e=>{const{align:t,prefixCls:n,selectPrefixCls:o,className:r,rootClassName:a,style:l,size:c,locale:s,responsive:u,showSizeChanger:d,selectComponentClass:p,pageSizeOptions:m}=e,g=P$(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:h}=_b(u),[,v]=tl(),{getPrefixCls:b,direction:y,showSizeChanger:x,className:C,style:w}=ha("pagination"),S=b("pagination",n),[E,k,$]=M$(S),O=Pu(c),M="small"===O||!(!h||O||!u),[N]=ai("Pagination",Kr),j=Object.assign(Object.assign({},N),s),[I,P]=I$(d),[T,R]=I$(x),B=null!=I?I:T,z=null!=P?P:R,D=p||Lb,L=i.useMemo((()=>m?m.map((e=>Number(e))):void 0),[m]);if("production"!==process.env.NODE_ENV){const e=Gr("Pagination");"production"!==process.env.NODE_ENV&&e(!p,"usage","`selectComponentClass` is not official api which will be removed.")}const F=i.useMemo((()=>{const e=i.createElement("span",{className:`${S}-item-ellipsis`},"•••");return{prevIcon:i.createElement("button",{className:`${S}-item-link`,type:"button",tabIndex:-1},"rtl"===y?i.createElement(Ed,null):i.createElement(Ty,null)),nextIcon:i.createElement("button",{className:`${S}-item-link`,type:"button",tabIndex:-1},"rtl"===y?i.createElement(Ty,null):i.createElement(Ed,null)),jumpPrevIcon:i.createElement("a",{className:`${S}-item-link`},i.createElement("div",{className:`${S}-item-container`},"rtl"===y?i.createElement(s$,{className:`${S}-item-link-icon`}):i.createElement(l$,{className:`${S}-item-link-icon`}),e)),jumpNextIcon:i.createElement("a",{className:`${S}-item-link`},i.createElement("div",{className:`${S}-item-container`},"rtl"===y?i.createElement(l$,{className:`${S}-item-link-icon`}):i.createElement(s$,{className:`${S}-item-link-icon`}),e))}}),[y,S]),H=b("select",o),A=f({[`${S}-${t}`]:!!t,[`${S}-mini`]:M,[`${S}-rtl`]:"rtl"===y,[`${S}-bordered`]:v.wireframe},C,r,a,k,$),_=Object.assign(Object.assign({},w),l);return E(i.createElement(i.Fragment,null,v.wireframe&&i.createElement(j$,{prefixCls:S}),i.createElement(b$,Object.assign({},F,g,{style:_,prefixCls:S,selectPrefixCls:H,className:A,locale:j,pageSizeOptions:L,showSizeChanger:B,sizeChangerRender:e=>{var t;const{disabled:n,size:o,onSizeChange:r,"aria-label":a,className:l,options:c}=e,{className:s,onChange:u}=z||{},d=null===(t=c.find((e=>String(e.value)===String(o))))||void 0===t?void 0:t.value;return i.createElement(D,Object.assign({disabled:n,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":a,options:c},z,{value:d,onChange:(e,t)=>{null==r||r(e),null==u||u(e,t)},size:M?"small":"middle",className:f(l,s)}))}}))))};"production"!==process.env.NODE_ENV&&(T$.displayName="Pagination");const R$=80*Math.PI,B$=e=>{const{dotClassName:t,style:n,hasCircleCls:o}=e;return i.createElement("circle",{className:f(`${t}-circle`,{[`${t}-circle-bg`]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},z$=e=>{let{percent:t,prefixCls:n}=e;const o=`${n}-dot`,r=`${o}-holder`,a=`${r}-hidden`,[l,c]=i.useState(!1);dn((()=>{0!==t&&c(!0)}),[0!==t]);const s=Math.max(Math.min(t,100),0);if(!l)return null;const u={strokeDashoffset:""+R$/4,strokeDasharray:`${R$*s/100} ${R$*(100-s)/100}`};return i.createElement("span",{className:f(r,`${o}-progress`,s<=0&&a)},i.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},i.createElement(B$,{dotClassName:o,hasCircleCls:!0}),i.createElement(B$,{dotClassName:o,style:u})))};function D$(e){const{prefixCls:t,percent:n=0}=e,o=`${t}-dot`,r=`${o}-holder`,a=`${r}-hidden`;return i.createElement(i.Fragment,null,i.createElement("span",{className:f(r,n>0&&a)},i.createElement("span",{className:f(o,`${t}-dot-spin`)},[1,2,3,4].map((e=>i.createElement("i",{className:`${t}-dot-item`,key:e}))))),i.createElement(z$,{prefixCls:t,percent:n}))}function L$(e){const{prefixCls:t,indicator:n,percent:o}=e,r=`${t}-dot`;return n&&i.isValidElement(n)?as(n,{className:f(n.props.className,r),percent:o}):i.createElement(D$,{prefixCls:t,percent:o})}const F$=new Ro("antSpinMove",{to:{opacity:1}}),H$=new Ro("antRotate",{to:{transform:"rotate(405deg)"}}),A$=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",inset:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:F$,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:H$,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map((t=>`${t} ${e.motionDurationSlow} ease`)).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}};var _$=cl("Spin",(e=>{const t=Da(e,{spinDotDefault:e.colorTextDescription});return[A$(t)]}),(e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}));const W$=[[30,.05],[70,.03],[96,.01]];var V$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};let X$;const G$=e=>{var t;const{prefixCls:n,spinning:o=!0,delay:r=0,className:a,rootClassName:l,size:c="default",tip:s,wrapperClassName:u,style:d,children:p,fullscreen:m=!1,indicator:g,percent:h}=e,v=V$(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:b,direction:y,className:x,style:C,indicator:w}=ha("spin"),S=b("spin",n),[E,k,$]=_$(S),[O,M]=i.useState((()=>o&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(o,r))),N=function(e,t){const[n,o]=i.useState(0),r=i.useRef(null),a="auto"===t;return i.useEffect((()=>(a&&e&&(o(0),r.current=setInterval((()=>{o((e=>{const t=100-e;for(let n=0;n<W$.length;n+=1){const[o,r]=W$[n];if(e<=o)return e+t*r}return e}))}),200)),()=>{clearInterval(r.current)})),[a,e]),a?n:t}(O,h);i.useEffect((()=>{if(o){const e=qS(r,(()=>{M(!0)}));return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}M(!1)}),[r,o]);const j=i.useMemo((()=>void 0!==p&&!m),[p,m]);if("production"!==process.env.NODE_ENV){const e=Gr("Spin");"production"!==process.env.NODE_ENV&&e(!s||j||m,"usage","`tip` only work in nest or fullscreen pattern.")}const I=f(S,x,{[`${S}-sm`]:"small"===c,[`${S}-lg`]:"large"===c,[`${S}-spinning`]:O,[`${S}-show-text`]:!!s,[`${S}-rtl`]:"rtl"===y},a,!m&&l,k,$),P=f(`${S}-container`,{[`${S}-blur`]:O}),T=null!==(t=null!=g?g:w)&&void 0!==t?t:X$,R=Object.assign(Object.assign({},C),d),B=i.createElement("div",Object.assign({},v,{style:R,className:I,"aria-live":"polite","aria-busy":O}),i.createElement(L$,{prefixCls:S,indicator:T,percent:N}),s&&(j||m)?i.createElement("div",{className:`${S}-text`},s):null);return E(j?i.createElement("div",Object.assign({},v,{className:f(`${S}-nested-loading`,u,k,$)}),O&&i.createElement("div",{key:"loading"},B),i.createElement("div",{className:P,key:"container"},p)):m?i.createElement("div",{className:f(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:O},l,k,$)},B):B)};G$.setDefaultIndicator=e=>{X$=e},"production"!==process.env.NODE_ENV&&(G$.displayName="Spin");const q$=t.createContext({});q$.Consumer;var K$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const U$=t.forwardRef(((e,n)=>{const{prefixCls:o,children:r,actions:i,extra:a,styles:l,className:c,classNames:s,colStyle:u}=e,d=K$(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:m}=t.useContext(q$),{getPrefixCls:g,list:h}=t.useContext(fa),v=e=>{var t,n;return f(null===(n=null===(t=null==h?void 0:h.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==s?void 0:s[e])},b=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==h?void 0:h.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==l?void 0:l[e])},y=g("list",o),x=i&&i.length>0&&t.createElement("ul",{className:f(`${y}-item-action`,v("actions")),key:"actions",style:b("actions")},i.map(((e,n)=>t.createElement("li",{key:`${y}-item-action-${n}`},e,n!==i.length-1&&t.createElement("em",{className:`${y}-item-action-split`}))))),C=p?"div":"li",w=t.createElement(C,Object.assign({},d,p?{}:{ref:n},{className:f(`${y}-item`,{[`${y}-item-no-flex`]:!("vertical"===m?a:!(()=>{let e=!1;return t.Children.forEach(r,(t=>{"string"==typeof t&&(e=!0)})),e&&t.Children.count(r)>1})())},c)}),"vertical"===m&&a?[t.createElement("div",{className:`${y}-item-main`,key:"content"},r,x),t.createElement("div",{className:f(`${y}-item-extra`,v("extra")),key:"extra",style:b("extra")},a)]:[r,x,as(a,{key:"extra"})]);return p?t.createElement(QS,{ref:n,flex:1,style:u},w):w}));U$.Meta=e=>{var{prefixCls:n,className:o,avatar:r,title:i,description:a}=e,l=K$(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:c}=t.useContext(fa),s=c("list",n),u=f(`${s}-item-meta`,o),d=t.createElement("div",{className:`${s}-item-meta-content`},i&&t.createElement("h4",{className:`${s}-item-meta-title`},i),a&&t.createElement("div",{className:`${s}-item-meta-description`},a));return t.createElement("div",Object.assign({},l,{className:u}),r&&t.createElement("div",{className:`${s}-item-meta-avatar`},r),(i||a)&&d)};const Y$=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:o,margin:r,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:c}=e;return{[t]:{border:`${rn(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:o},[`${n}-pagination`]:{margin:`${rn(r)} ${rn(l)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},Z$=e=>{const{componentCls:t,screenSM:n,screenMD:o,marginLG:r,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${o}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:r}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:r}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${rn(a)}`}}}}}},Q$=e=>{const{componentCls:t,antCls:n,controlHeight:o,minHeight:r,paddingSM:i,marginLG:a,padding:l,itemPadding:c,colorPrimary:s,itemPaddingSM:u,itemPaddingLG:d,paddingXS:p,margin:f,colorText:m,colorTextDescription:g,motionDurationSlow:h,lineWidth:v,headerBg:b,footerBg:y,emptyTextPadding:x,metaMarginBottom:C,avatarMarginRight:w,titleMarginBottom:S,descriptionFontSize:E}=e;return{[t]:Object.assign(Object.assign({},ol(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:a,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:r,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:m,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:w},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${rn(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${h}`,"&:hover":{color:s}}},[`${t}-item-meta-description`]:{color:g,fontSize:E,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${rn(p)}`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${rn(l)} 0`,color:g,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:x,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:f,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:S,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${rn(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:o},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${rn(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var J$=cl("List",(e=>{const t=Da(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Q$(t),Y$(t),Z$(t)]}),(e=>({contentWidth:220,itemPadding:`${rn(e.paddingContentVertical)} 0`,itemPaddingSM:`${rn(e.paddingContentVerticalSM)} ${rn(e.paddingContentHorizontal)}`,itemPaddingLG:`${rn(e.paddingContentVerticalLG)} ${rn(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}))),eO=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function tO(e,t){const{pagination:n=!1,prefixCls:o,bordered:r=!1,split:a=!0,className:l,rootClassName:c,style:s,children:u,itemLayout:d,loadMore:p,grid:m,dataSource:g=[],size:h,header:v,footer:b,loading:y=!1,rowKey:x,renderItem:C,locale:w}=e,S=eO(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),E=n&&"object"==typeof n?n:{},[k,$]=i.useState(E.defaultCurrent||1),[O,M]=i.useState(E.defaultPageSize||10),{getPrefixCls:N,direction:j,className:I,style:P}=ha("list"),{renderEmpty:T}=i.useContext(fa),R=e=>(t,o)=>{var r;$(t),M(o),n&&(null===(r=null==n?void 0:n[e])||void 0===r||r.call(n,t,o))},B=R("onChange"),z=R("onShowSizeChange"),D=(e,t)=>{if(!C)return null;let n;return n="function"==typeof x?x(e):x?e[x]:e.key,n||(n=`list-item-${t}`),i.createElement(i.Fragment,{key:n},C(e,t))},L=!!(p||n||b),F=N("list",o),[H,A,_]=J$(F);let W=y;"boolean"==typeof W&&(W={spinning:W});const V=!!(null==W?void 0:W.spinning);let X="";switch(Pu(h)){case"large":X="lg";break;case"small":X="sm"}const G=f(F,{[`${F}-vertical`]:"vertical"===d,[`${F}-${X}`]:X,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:V,[`${F}-grid`]:!!m,[`${F}-something-after-last-item`]:L,[`${F}-rtl`]:"rtl"===j},I,l,c,A,_),q=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];n&&Object.keys(n).forEach((t=>{const o=n[t];void 0!==o&&(e[t]=o)}))}return e}({current:1,total:0},{total:g.length,current:k,pageSize:O},n||{}),K=Math.ceil(q.total/q.pageSize);q.current=Math.min(q.current,K);const U=n&&i.createElement("div",{className:f(`${F}-pagination`)},i.createElement(T$,Object.assign({align:"end"},q,{onChange:B,onShowSizeChange:z})));let Y=Qe(g);n&&g.length>(q.current-1)*q.pageSize&&(Y=Qe(g).splice((q.current-1)*q.pageSize,q.pageSize));const Z=_b(Object.keys(m||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e)))),Q=i.useMemo((()=>{for(let e=0;e<Hb.length;e+=1){const t=Hb[e];if(Z[t])return t}}),[Z]),J=i.useMemo((()=>{if(!m)return;const e=Q&&m[Q]?m[Q]:m.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0}),[JSON.stringify(m),Q]);let ee=V&&i.createElement("div",{style:{minHeight:53}});if(Y.length>0){const e=Y.map(D);ee=m?i.createElement(tE,{gutter:m.gutter},i.Children.map(e,(e=>i.createElement("div",{key:null==e?void 0:e.key,style:J},e)))):i.createElement("ul",{className:`${F}-items`},e)}else u||V||(ee=i.createElement("div",{className:`${F}-empty-text`},(null==w?void 0:w.emptyText)||(null==T?void 0:T("List"))||i.createElement(nb,{componentName:"List"})));const te=q.position||"bottom",ne=i.useMemo((()=>({grid:m,itemLayout:d})),[JSON.stringify(m),d]);return H(i.createElement(q$.Provider,{value:ne},i.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},P),s),className:G},S),("top"===te||"both"===te)&&U,v&&i.createElement("div",{className:`${F}-header`},v),i.createElement(G$,Object.assign({},W),ee,u),b&&i.createElement("div",{className:`${F}-footer`},b),p||("bottom"===te||"both"===te)&&U)))}const nO=i.forwardRef(tO);"production"!==process.env.NODE_ENV&&(nO.displayName="List");const oO=nO;oO.Item=U$;let rO=null,iO=e=>e(),aO=[],lO={};function cO(){const{getContainer:e,duration:t,rtl:n,maxCount:o,top:r}=lO,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:o,top:r}}const sO=t.forwardRef(((e,n)=>{const{messageConfig:o,sync:r}=e,{getPrefixCls:i}=t.useContext(fa),a=lO.prefixCls||i("message"),l=t.useContext(Gg),[c,s]=Zs(Object.assign(Object.assign(Object.assign({},o),{prefixCls:a}),l.message));return t.useImperativeHandle(n,(()=>{const e=Object.assign({},c);return Object.keys(e).forEach((t=>{e[t]=function(){return r(),c[t].apply(c,arguments)}})),{instance:e,sync:r}})),s})),uO=t.forwardRef(((e,n)=>{const[o,r]=t.useState(cO),i=()=>{r(cO)};t.useEffect(i,[]);const a=bc(),l=a.getRootPrefixCls(),c=a.getIconPrefixCls(),s=a.getTheme(),u=t.createElement(sO,{ref:n,sync:i,messageConfig:o});return t.createElement(xc,{prefixCls:l,iconPrefixCls:c,theme:s},a.holderRender?a.holderRender(u):u)}));function dO(){if(!rO){const e=document.createDocumentFragment(),n={fragment:e};return rO=n,void iO((()=>{mu()(t.createElement(uO,{ref:e=>{const{instance:t,sync:o}=e||{};Promise.resolve().then((()=>{!n.instance&&t&&(n.instance=t,n.sync=o,dO())}))}}),e)}))}rO.instance&&(aO.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":iO((()=>{const t=rO.instance.open(Object.assign(Object.assign({},lO),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":iO((()=>{null==rO||rO.instance.destroy(e.key)}));break;default:iO((()=>{var n;const o=(n=rO.instance)[t].apply(n,Qe(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)}))}})),aO=[])}const pO={open:function(e){const t=Vs((t=>{let n;const o={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return aO.push(o),()=>{n?iO((()=>{n()})):o.skipped=!0}}));return dO(),t},destroy:e=>{aO.push({type:"destroy",key:e}),dO()},config:function(e){lO=Object.assign(Object.assign({},lO),e),iO((()=>{var e;null===(e=null==rO?void 0:rO.sync)||void 0===e||e.call(rO)}))},useMessage:function(e){return Zs(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:o,icon:r,content:a}=e,l=As(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:c}=i.useContext(fa),s=t||c("message"),u=ys(s),[d,p,m]=Hs(s,u);return d(i.createElement(Cs,Object.assign({},l,{prefixCls:s,className:f(n,p,`${s}-notice-pure-panel`,m,u),eventKey:"pure",duration:null,content:i.createElement(Ws,{prefixCls:s,type:o,icon:r},a)})))}},fO=pO;["success","info","warning","error","loading"].forEach((e=>{fO[e]=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return function(e,t){const n=bc();"production"===process.env.NODE_ENV||n.holderRender||uc("message");const o=Vs((n=>{let o;const r={type:e,args:t,resolve:n,setCloseFn:e=>{o=e}};return aO.push(r),()=>{o?iO((()=>{o()})):r.skipped=!0}}));return dO(),o}(e,n)}})),process.env.NODE_ENV,process.env.NODE_ENV;var mO=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};var gO=qg((e=>{const{prefixCls:t,className:n,closeIcon:o,closable:r,type:a,title:l,children:c,footer:s}=e,u=mO(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=i.useContext(fa),p=d(),m=t||d("modal"),g=ys(p),[h,v,b]=xg(m,g),y=`${m}-confirm`;let x={};return x=a?{closable:null!=r&&r,title:"",footer:"",children:i.createElement(Mg,Object.assign({},e,{prefixCls:m,confirmPrefixCls:y,rootPrefixCls:p,content:c}))}:{closable:null==r||r,title:l,footer:null!==s&&i.createElement(lg,Object.assign({},e)),children:c},h(i.createElement(ff,Object.assign({prefixCls:m,className:f(v,`${m}-pure-panel`,a&&y,a&&`${y}-${a}`,n,b,g)},u,{closeIcon:ag(m,o),closable:r},x)))}));function hO(e){return Bg(zg(e))}const vO=Eg;vO.useModal=function(){const e=i.useRef(null),[t,n]=i.useState([]);i.useEffect((()=>{if(t.length){Qe(t).forEach((e=>{e()})),n([])}}),[t]);const o=i.useCallback((t=>function(o){var r;Vg+=1;const a=i.createRef();let l;const c=new Promise((e=>{l=e}));let s,u=!1;const d=i.createElement(Wg,{key:`modal-${Vg}`,config:t(o),ref:a,afterClose:()=>{null==s||s()},isSilent:()=>u,onConfirm:e=>{l(e)}});s=null===(r=e.current)||void 0===r?void 0:r.patchElement(d),s&&Ig.push(s);const p={destroy:()=>{function e(){var e;null===(e=a.current)||void 0===e||e.destroy()}a.current?e():n((t=>[].concat(Qe(t),[e])))},update:e=>{function t(){var t;null===(t=a.current)||void 0===t||t.update(e)}a.current?t():n((e=>[].concat(Qe(e),[t])))},then:e=>(u=!0,c.then(e))};return p}),[]);return[i.useMemo((()=>({info:o(Dg),success:o(Lg),error:o(Fg),warning:o(zg),confirm:o(Hg)})),[]),i.createElement(Xg,{key:"modal-holder",ref:e})]},vO.info=function(e){return Bg(Dg(e))},vO.success=function(e){return Bg(Lg(e))},vO.error=function(e){return Bg(Fg(e))},vO.warning=hO,vO.warn=hO,vO.confirm=function(e){return Bg(Hg(e))},vO.destroyAll=function(){for(;Ig.length;){const e=Ig.pop();e&&e()}},vO.config=function(e){let{rootPrefixCls:t}=e;"production"!==process.env.NODE_ENV&&Vr(!1,"Modal","Modal.config is deprecated. Please use ConfigProvider.config instead."),Pg=t},vO._InternalPanelDoNotUseOrYouWillBeFired=gO,"production"!==process.env.NODE_ENV&&(vO.displayName="Modal");var bO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ne}))},yO=i.forwardRef(bO);
|
|
40
|
+
/** */"production"!==process.env.NODE_ENV&&(yO.displayName="CopyOutlined");var xO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:oe}))},CO=i.forwardRef(xO);
|
|
41
|
+
/** */"production"!==process.env.NODE_ENV&&(CO.displayName="CopyrightOutlined");var wO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:ue}))},SO=i.forwardRef(wO);
|
|
42
|
+
/** */"production"!==process.env.NODE_ENV&&(SO.displayName="EditOutlined");var EO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:pe}))},kO=i.forwardRef(EO);
|
|
43
|
+
/** */"production"!==process.env.NODE_ENV&&(kO.displayName="EnterOutlined");var $O=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:$e}))},OO=i.forwardRef($O);
|
|
44
|
+
/** */"production"!==process.env.NODE_ENV&&(OO.displayName="MenuOutlined");var MO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Oe}))},NO=i.forwardRef(MO);
|
|
45
|
+
/** */"production"!==process.env.NODE_ENV&&(NO.displayName="NotificationOutlined");var jO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Ne}))},IO=i.forwardRef(jO);
|
|
46
|
+
/** */"production"!==process.env.NODE_ENV&&(IO.displayName="ProfileOutlined");var PO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:Re}))},TO=i.forwardRef(PO);
|
|
47
|
+
/** */"production"!==process.env.NODE_ENV&&(TO.displayName="SettingOutlined");var RO=function(e,t){return i.createElement(Vc,Mn({},e,{ref:t,icon:He}))},BO=i.forwardRef(RO);
|
|
48
|
+
/** */"production"!==process.env.NODE_ENV&&(BO.displayName="WarningFilled");var zO=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],DO=i.forwardRef((function(e,t){var n=e.className,o=e.component,r=e.viewBox,a=e.spin,l=e.rotate,c=e.tabIndex,s=e.onClick,u=e.children,d=nt(e,zO),p=i.useRef(),m=Go(p,t);Ic(Boolean(o||u),"Should have `component` prop or `children`."),Lc(p);var g=i.useContext(Rr),h=g.prefixCls,v=void 0===h?"anticon":h,b=g.rootClassName,y=f(b,v,it({},"".concat(v,"-spin"),!!a&&!!o),n),x=f(it({},"".concat(v,"-spin"),!!a)),C=l?{msTransform:"rotate(".concat(l,"deg)"),transform:"rotate(".concat(l,"deg)")}:void 0,w=lt(lt({},Dc),{},{className:x,style:C,viewBox:r});r||delete w.viewBox;var S=c;return void 0===S&&s&&(S=-1),i.createElement("span",Mn({role:"img"},d,{ref:m,tabIndex:S,onClick:s,className:y}),o?i.createElement(o,w,u):u?(Ic(Boolean(r)||1===i.Children.count(u)&&i.isValidElement(u)&&"use"===i.Children.only(u).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),i.createElement("svg",Mn({},w,{viewBox:r}),u)):null)}));DO.displayName="AntdIcon";var LO=["type","children"],FO=new Set;function HO(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e[n];if(t=o,Boolean("string"==typeof t&&t.length&&!FO.has(t))){var r=document.createElement("script");r.setAttribute("src",o),r.setAttribute("data-namespace",o),e.length>n+1&&(r.onload=function(){HO(e,n+1)},r.onerror=function(){HO(e,n+1)}),FO.add(o),document.body.appendChild(r)}}function AO(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?HO(t.reverse()):HO([t]));var r=i.forwardRef((function(e,t){var n=e.type,r=e.children,a=nt(e,LO),l=null;return e.type&&(l=i.createElement("use",{xlinkHref:"#".concat(n)})),r&&(l=r),i.createElement(DO,Mn({},o,a,{ref:t}),l)}));return r.displayName="Iconfont",r}const _O=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:o,padding:r,paddingXL:i,paddingXS:a,paddingLG:l,marginXS:c,lineHeight:s}=e;return{[t]:{padding:`${rn(e.calc(l).mul(2).equal())} ${rn(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${o}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:c,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:s,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${rn(l)} ${rn(e.calc(r).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},WO=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},VO=e=>(e=>[_O(e),WO(e)])(e);var XO=cl("Result",(e=>{const t=Da(e,{resultInfoIconColor:e.colorInfo,resultErrorIconColor:e.colorError,resultSuccessIconColor:e.colorSuccess,resultWarningIconColor:e.colorWarning,imageWidth:250,imageHeight:295});return[VO(t)]}),(e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:`${e.paddingLG}px 0 0 0`})));const GO={success:Gc,error:Kc,info:Qc,warning:BO},qO={404:()=>i.createElement("svg",{width:"252",height:"294"},i.createElement("title",null,"No Found"),i.createElement("defs",null,i.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .012)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),i.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),i.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),i.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),i.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),i.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),i.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),i.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),i.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),i.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),i.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),i.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),i.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),i.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),i.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),i.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),i.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),i.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),i.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),i.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),i.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),i.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),i.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),i.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),i.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),i.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),i.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),i.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),i.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),i.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),i.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),i.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),i.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),i.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),i.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),500:()=>i.createElement("svg",{width:"254",height:"294"},i.createElement("title",null,"Server Error"),i.createElement("defs",null,i.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),i.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .067)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),i.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),i.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),i.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),i.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),i.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),i.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),i.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),i.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),i.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),i.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),i.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),i.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),i.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),i.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),i.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),i.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),i.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),i.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),i.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),i.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),i.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),i.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),i.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),i.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),i.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),i.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),i.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),i.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),i.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),i.createElement("mask",{fill:"#fff"}),i.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),i.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),i.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),i.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),403:()=>i.createElement("svg",{width:"251",height:"294"},i.createElement("title",null,"Unauthorized"),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),i.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),i.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),i.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),i.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),i.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),i.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),i.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),i.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),i.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),i.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),i.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),i.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),i.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),i.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),i.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),i.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),i.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),i.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),i.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),i.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),i.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),i.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),i.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),i.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),i.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),i.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),i.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),i.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),i.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),i.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),i.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),i.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},KO=Object.keys(qO),UO=e=>{let{prefixCls:t,icon:n,status:o}=e;const r=f(`${t}-icon`);if("production"!==process.env.NODE_ENV){const e=Gr("Result");"production"!==process.env.NODE_ENV&&e(!("string"==typeof n&&n.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${n}\` at https://ant.design/components/icon`)}if(KO.includes(`${o}`)){const e=qO[o];return i.createElement("div",{className:`${r} ${t}-image`},i.createElement(e,null))}const a=i.createElement(GO[o]);return null===n||!1===n?null:i.createElement("div",{className:r},n||a)},YO=e=>{let{prefixCls:t,extra:n}=e;return n?i.createElement("div",{className:`${t}-extra`},n):null},ZO=e=>{let{prefixCls:t,className:n,rootClassName:o,subTitle:r,title:a,style:l,children:c,status:s="info",icon:u,extra:d}=e;const{getPrefixCls:p,direction:m,result:g}=i.useContext(fa),h=p("result",t),[v,b,y]=XO(h),x=f(h,`${h}-${s}`,n,null==g?void 0:g.className,o,{[`${h}-rtl`]:"rtl"===m},b,y),C=Object.assign(Object.assign({},null==g?void 0:g.style),l);return v(i.createElement("div",{className:x,style:C},i.createElement(UO,{prefixCls:h,status:s,icon:u}),i.createElement("div",{className:`${h}-title`},a),r&&i.createElement("div",{className:`${h}-subtitle`},r),i.createElement(YO,{prefixCls:h,extra:d}),c&&i.createElement("div",{className:`${h}-content`},c)))};ZO.PRESENTED_IMAGE_403=qO[403],ZO.PRESENTED_IMAGE_404=qO[404],ZO.PRESENTED_IMAGE_500=qO[500],"production"!==process.env.NODE_ENV&&(ZO.displayName="Result");var QO=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],JO=i.forwardRef((function(e,t){var n,o=e.prefixCls,r=void 0===o?"rc-switch":o,a=e.className,l=e.checked,c=e.defaultChecked,s=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,m=e.onClick,g=e.onChange,h=e.onKeyDown,v=nt(e,QO),b=tt(Ta(!1,{value:l,defaultValue:c}),2),y=b[0],x=b[1];function C(e,t){var n=y;return s||(x(n=e),null==g||g(n,t)),n}var w=f(r,a,(it(n={},"".concat(r,"-checked"),y),it(n,"".concat(r,"-disabled"),s),n));return i.createElement("button",Mn({},v,{type:"button",role:"switch","aria-checked":y,disabled:s,className:w,ref:t,onKeyDown:function(e){e.which===xs.LEFT?C(!1,e):e.which===xs.RIGHT&&C(!0,e),null==h||h(e)},onClick:function(e){var t=C(!y,e);null==m||m(t,e)}}),u,i.createElement("span",{className:"".concat(r,"-inner")},i.createElement("span",{className:"".concat(r,"-inner-checked")},d),i.createElement("span",{className:"".concat(r,"-inner-unchecked")},p)))}));JO.displayName="Switch";const eM=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:o,trackMinWidthSM:r,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:l,calc:c}=e,s=`${t}-inner`,u=rn(c(l).add(c(o).mul(2)).equal()),d=rn(c(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:r,height:n,lineHeight:rn(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${s}-checked, ${s}-unchecked`]:{minHeight:n},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:c(c(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${rn(c(l).add(o).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},tM=e=>{const{componentCls:t,handleSize:n,calc:o}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:o(o(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},nM=e=>{const{componentCls:t,trackPadding:n,handleBg:o,handleShadow:r,handleSize:i,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:o,borderRadius:a(i).div(2).equal(),boxShadow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${rn(a(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},oM=e=>{const{componentCls:t,trackHeight:n,trackPadding:o,innerMinMargin:r,innerMaxMargin:i,handleSize:a,calc:l}=e,c=`${t}-inner`,s=rn(l(a).add(l(o).mul(2)).equal()),u=rn(l(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:r,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(o).mul(2).equal(),marginInlineEnd:l(o).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(o).mul(-1).mul(2).equal(),marginInlineEnd:l(o).mul(2).equal()}}}}}},rM=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ol(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:o,height:n,lineHeight:rn(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),il(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}};var iM=cl("Switch",(e=>{const t=Da(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[rM(t),oM(t),nM(t),tM(t),eM(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:o,colorWhite:r}=e,i=t*n,a=o/2,l=i-4,c=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*l+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:r,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new gi("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}})),aM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const lM=i.forwardRef(((e,t)=>{const{prefixCls:n,size:o,disabled:r,loading:a,className:l,rootClassName:c,style:s,checked:u,value:d,defaultChecked:p,defaultValue:m,onChange:g}=e,h=aM(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[v,b]=Ta(!1,{value:null!=u?u:d,defaultValue:null!=p?p:m}),{getPrefixCls:y,direction:x,switch:C}=i.useContext(fa),w=i.useContext(ya),S=(null!=r?r:w)||a,E=y("switch",n),k=i.createElement("div",{className:`${E}-handle`},a&&i.createElement(Ps,{className:`${E}-loading-icon`})),[$,O,M]=iM(E),N=Pu(o),j=f(null==C?void 0:C.className,{[`${E}-small`]:"small"===N,[`${E}-loading`]:a,[`${E}-rtl`]:"rtl"===x},l,c,O,M),I=Object.assign(Object.assign({},null==C?void 0:C.style),s);return $(i.createElement(Iu,{component:"Switch"},i.createElement(JO,Object.assign({},h,{checked:v,onChange:function(){b(arguments.length<=0?void 0:arguments[0]),null==g||g.apply(void 0,arguments)},prefixCls:E,className:j,style:I,disabled:S,ref:t,loadingIcon:k}))))})),cM=lM;cM.__ANT_SWITCH=!0,"production"!==process.env.NODE_ENV&&(cM.displayName="Switch");const sM=(e,t)=>new gi(e).setA(t).toRgbString(),uM=(e,t)=>new gi(e).lighten(t).toHexString(),dM=e=>{const t=xi(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},pM=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:sM(o,.85),colorTextSecondary:sM(o,.65),colorTextTertiary:sM(o,.45),colorTextQuaternary:sM(o,.25),colorFill:sM(o,.18),colorFillSecondary:sM(o,.12),colorFillTertiary:sM(o,.08),colorFillQuaternary:sM(o,.04),colorBgSolid:sM(o,.95),colorBgSolidHover:sM(o,1),colorBgSolidActive:sM(o,.9),colorBgElevated:uM(n,12),colorBgContainer:uM(n,8),colorBgLayout:uM(n,0),colorBgSpotlight:uM(n,26),colorBgBlur:sM(o,.04),colorBorder:uM(n,26),colorBorderSecondary:uM(n,19)}};var fM={defaultSeed:ca.token,useToken:function(){const[e,t,n]=tl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:aa,darkAlgorithm:(e,t)=>{const n=Object.keys(si).map((t=>{const n=xi(e[t],{theme:"dark"});return Array.from({length:10},(()=>1)).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{}),o=null!=t?t:aa(e);return Object.assign(Object.assign(Object.assign({},o),n),Qi(e,{generateColorPalettes:dM,generateNeutralColorPalettes:pM}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:aa(e),o=n.fontSizeSM,r=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,o=n-2;return{sizeXXL:t*(o+10),sizeXL:t*(o+6),sizeLG:t*(o+2),sizeMD:t*(o+2),sizeMS:t*(o+1),size:t*o,sizeSM:t*o,sizeXS:t*(o-1),sizeXXS:t*(o-1)}}(null!=t?t:e)),ta(o)),{controlHeight:r}),Ji(Object.assign(Object.assign({},n),{controlHeight:r})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?Zt(e.algorithm):la,n=Object.assign(Object.assign({},ui),null==e?void 0:e.token);return kn(n,{override:null==e?void 0:e.token},t,Ua)},defaultConfig:ca,_internalContext:sa};const mM=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n h${n}&,\n div&-h${n},\n div&-h${n} > textarea,\n h${n}\n `]=((e,t,n,o)=>{const{titleMarginBottom:r,fontWeightStrong:i}=o;return{marginBottom:r,color:n,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},gM=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},ll(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},hM=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:ki[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),vM=e=>{const{componentCls:t,paddingSM:n}=e,o=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(o).mul(-1).equal(),marginBottom:`calc(1em - ${rn(o)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},bM=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),yM=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},mM(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${t}\n `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),hM(e)),gM(e)),{[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},ll(e)),{marginInlineStart:e.marginXXS})}),vM(e)),bM(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}};var xM=cl("Typography",(e=>[yM(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})));const CM=e=>{const{prefixCls:t,"aria-label":n,className:o,style:r,direction:a,maxLength:l,autoSize:c=!0,value:s,onSave:u,onCancel:d,onEnd:p,component:m,enterIcon:g=i.createElement(kO,null)}=e,h=i.useRef(null),v=i.useRef(!1),b=i.useRef(null),[y,x]=i.useState(s);i.useEffect((()=>{x(s)}),[s]),i.useEffect((()=>{var e;if(null===(e=h.current)||void 0===e?void 0:e.resizableTextArea){const{textArea:e}=h.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const C=()=>{u(y.trim())},[w,S,E]=xM(t),k=f(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a,[`${t}-${m}`]:!!m},o,S,E);return w(i.createElement("div",{className:k,style:r},i.createElement(Yk,{ref:h,maxLength:l,value:y,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;v.current||(b.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:o,metaKey:r,shiftKey:i}=e;b.current!==t||v.current||n||o||r||i||(t===xs.ENTER?(C(),null==p||p()):t===xs.ESC&&d())},onCompositionStart:()=>{v.current=!0},onCompositionEnd:()=>{v.current=!1},onBlur:()=>{C()},"aria-label":n,rows:1,autoSize:c}),null!==g?as(g,{className:`${t}-edit-content-confirm`}):null))};var wM,SM,EM,kM;var $M=function(){if(kM)return EM;kM=1;var e=(SM||(SM=1,wM=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}),wM),t={"text/plain":"Text","text/html":"Url",default:"Text"};return EM=function(n,o){var r,i,a,l,c,s,u=!1;o||(o={}),r=o.debug||!1;try{if(a=e(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=n,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(e){if(e.stopPropagation(),o.format)if(e.preventDefault(),void 0===e.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=t[o.format]||t.default;window.clipboardData.setData(i,n)}else e.clipboardData.clearData(),e.clipboardData.setData(o.format,n);o.onCopy&&(e.preventDefault(),o.onCopy(e.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(e){r&&console.error("unable to copy using execCommand: ",e),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",n),o.onCopy&&o.onCopy(window.clipboardData),u=!0}catch(e){r&&console.error("unable to copy using clipboardData: ",e),r&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in o?o.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,n)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return u},EM}(),OM=c($M),MM=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function l(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((o=o.apply(e,t||[])).next())}))};const NM=e=>{let{copyConfig:t,children:n}=e;const[o,r]=i.useState(!1),[a,l]=i.useState(!1),c=i.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),i.useEffect((()=>s),[]);return{copied:o,copyLoading:a,onClick:ja((e=>MM(void 0,void 0,void 0,(function*(){var o;null==e||e.preventDefault(),null==e||e.stopPropagation(),l(!0);try{const i="function"==typeof t.text?yield t.text():t.text;OM(i||function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&null==e?[]:Array.isArray(e)?e:[e]}(n,!0).join("")||"",u),l(!1),r(!0),s(),c.current=setTimeout((()=>{r(!1)}),3e3),null===(o=t.onCopy)||void 0===o||o.call(t,e)}catch(e){throw l(!1),e}}))))}};function jM(e,t){return i.useMemo((()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]}),[e])}var IM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const PM=i.forwardRef(((e,t)=>{const{prefixCls:n,component:o="article",className:r,rootClassName:a,setContentRef:l,children:c,direction:s,style:u}=e,d=IM(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:m,className:g,style:h}=ha("typography"),v=null!=s?s:m,b=l?Xo(t,l):t,y=p("typography",n);if("production"!==process.env.NODE_ENV){Gr("Typography").deprecated(!l,"setContentRef","ref")}const[x,C,w]=xM(y),S=f(y,g,{[`${y}-rtl`]:"rtl"===v},r,a,C,w),E=Object.assign(Object.assign({},h),u);return x(i.createElement(o,Object.assign({className:S,style:E,ref:b},d),c))}));function TM(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function RM(e,t,n){return!0===e||void 0===e?t:e||n&&t}"production"!==process.env.NODE_ENV&&(PM.displayName="Typography");const BM=e=>["string","number"].includes(typeof e),zM=e=>{let{prefixCls:t,copied:n,locale:o,iconOnly:r,tooltips:a,icon:l,tabIndex:c,onCopy:s,loading:u}=e;const d=TM(a),p=TM(l),{copied:m,copy:g}=null!=o?o:{},h=n?m:g,v=RM(d[n?1:0],h),b="string"==typeof v?v:h;return i.createElement(xy,{title:v},i.createElement("button",{type:"button",className:f(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:r}),onClick:s,"aria-label":b,tabIndex:c},n?RM(p[1],i.createElement(jb,null),!0):RM(p[0],u?i.createElement(Ps,null):i.createElement(yO,null),!0)))},DM=i.forwardRef(((e,t)=>{let{style:n,children:o}=e;const r=i.useRef(null);return i.useImperativeHandle(t,(()=>({isExceed:()=>{const e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight}))),i.createElement("span",{"aria-hidden":!0,ref:r,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},o)}));function LM(e,t){let n=0;const o=[];for(let r=0;r<e.length;r+=1){if(n===t)return o;const i=e[r],a=n+(BM(i)?String(i).length:1);if(a>t){const e=t-n;return o.push(String(i).slice(0,e)),o}o.push(i),n=a}return e}const FM=0,HM=4,AM={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function _M(e){const{enableMeasure:t,width:n,text:o,children:r,rows:a,expanded:l,miscDeps:c,onEllipsis:s}=e,u=i.useMemo((()=>Ho(o)),[o]),d=i.useMemo((()=>(e=>e.reduce(((e,t)=>e+(BM(t)?String(t).length:1)),0))(u)),[o]),p=i.useMemo((()=>r(u,!1)),[o]),[f,m]=i.useState(null),g=i.useRef(null),h=i.useRef(null),v=i.useRef(null),b=i.useRef(null),y=i.useRef(null),[x,C]=i.useState(!1),[w,S]=i.useState(FM),[E,k]=i.useState(0),[$,O]=i.useState(null);dn((()=>{S(t&&n&&d?1:FM)}),[n,o,a,t,u]),dn((()=>{var e,t,n,o;if(1===w){S(2);const e=h.current&&getComputedStyle(h.current).whiteSpace;O(e)}else if(2===w){const r=!!(null===(e=v.current)||void 0===e?void 0:e.isExceed());S(r?3:HM),m(r?[0,d]:null),C(r);const i=(null===(t=v.current)||void 0===t?void 0:t.getHeight())||0,l=1===a?0:(null===(n=b.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(o=y.current)||void 0===o?void 0:o.getHeight())||0,u=Math.max(i,l+c);k(u+1),s(r)}}),[w]);const M=f?Math.ceil((f[0]+f[1])/2):0;dn((()=>{var e;const[t,n]=f||[0,0];if(t!==n){const o=((null===(e=g.current)||void 0===e?void 0:e.getHeight())||0)>E;let r=M;n-t==1&&(r=o?t:n),m(o?[t,r]:[r,n])}}),[f,M]);const N=i.useMemo((()=>{if(!t)return r(u,!1);if(3!==w||!f||f[0]!==f[1]){const e=r(u,!1);return[HM,FM].includes(w)?e:i.createElement("span",{style:Object.assign(Object.assign({},AM),{WebkitLineClamp:a})},e)}return r(l?u:LM(u,f[0]),x)}),[l,w,f,u].concat(Qe(c))),j={width:n,margin:0,padding:0,whiteSpace:"nowrap"===$?"normal":"inherit"};return i.createElement(i.Fragment,null,N,2===w&&i.createElement(i.Fragment,null,i.createElement(DM,{style:Object.assign(Object.assign(Object.assign({},j),AM),{WebkitLineClamp:a}),ref:v},p),i.createElement(DM,{style:Object.assign(Object.assign(Object.assign({},j),AM),{WebkitLineClamp:a-1}),ref:b},p),i.createElement(DM,{style:Object.assign(Object.assign(Object.assign({},j),AM),{WebkitLineClamp:1}),ref:y},r([],!0))),3===w&&f&&f[0]!==f[1]&&i.createElement(DM,{style:Object.assign(Object.assign({},j),{top:400}),ref:g},r(LM(u,M),!0)),1===w&&i.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}const WM=e=>{let{enableEllipsis:t,isEllipsis:n,children:o,tooltipProps:r}=e;return(null==r?void 0:r.title)&&t?i.createElement(xy,Object.assign({open:!!n&&void 0},r),o):o};"production"!==process.env.NODE_ENV&&(WM.displayName="EllipsisTooltip");var VM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const XM=i.forwardRef(((e,n)=>{var o;const{prefixCls:r,className:a,style:l,type:c,disabled:s,children:u,ellipsis:d,editable:p,copyable:m,component:g,title:h}=e,v=VM(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:b,direction:y}=i.useContext(fa),[x]=ai("Text"),C=i.useRef(null),w=i.useRef(null),S=b("typography",r),E=Cu(v,["mark","code","delete","underline","strong","keyboard","italic"]),[k,$]=jM(p),[O,M]=Ta(!1,{value:$.editing}),{triggerType:N=["icon"]}=$,j=e=>{var t;e&&(null===(t=$.onStart)||void 0===t||t.call($)),M(e)},I=(e=>{const n=t.useRef(void 0);return t.useEffect((()=>{n.current=e})),n.current})(O);dn((()=>{var e;!O&&I&&(null===(e=w.current)||void 0===e||e.focus())}),[O]);const P=e=>{null==e||e.preventDefault(),j(!0)},T=e=>{var t;null===(t=$.onChange)||void 0===t||t.call($,e),j(!1)},R=()=>{var e;null===(e=$.onCancel)||void 0===e||e.call($),j(!1)},[B,z]=jM(m),{copied:D,copyLoading:L,onClick:F}=NM({copyConfig:z,children:u}),[H,A]=i.useState(!1),[_,W]=i.useState(!1),[V,X]=i.useState(!1),[G,q]=i.useState(!1),[K,U]=i.useState(!0),[Y,Z]=jM(d,{expandable:!1,symbol:e=>e?null==x?void 0:x.collapse:null==x?void 0:x.expand}),[Q,J]=Ta(Z.defaultExpanded||!1,{value:Z.expanded}),ee=Y&&(!Q||"collapsible"===Z.expandable),{rows:te=1}=Z,ne=i.useMemo((()=>ee&&(void 0!==Z.suffix||Z.onEllipsis||Z.expandable||k||B)),[ee,Z,k,B]);dn((()=>{Y&&!ne&&(A(Rm("webkitLineClamp")),W(Rm("textOverflow")))}),[ne,Y]);const[oe,re]=i.useState(ee),ie=i.useMemo((()=>!ne&&(1===te?_:H)),[ne,_,H]);dn((()=>{re(ie&&ee)}),[ie,ee]);const ae=ee&&(oe?G:V),le=ee&&1===te&&oe,ce=ee&&te>1&&oe,[se,ue]=i.useState(0),de=e=>{var t;X(e),V!==e&&(null===(t=Z.onEllipsis)||void 0===t||t.call(Z,e))};i.useEffect((()=>{const e=C.current;if(Y&&oe&&e){const t=function(e){const t=document.createElement("em");e.appendChild(t),"production"!==process.env.NODE_ENV&&(t.className="ant-typography-css-ellipsis-content-measure");const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return e.removeChild(t),n.left>o.left||o.right>n.right||n.top>o.top||o.bottom>n.bottom}(e);G!==t&&q(t)}}),[Y,oe,u,ce,K,se]),i.useEffect((()=>{const e=C.current;if("undefined"==typeof IntersectionObserver||!e||!oe||!ee)return;const t=new IntersectionObserver((()=>{U(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[oe,ee]);const pe=((e,n,o)=>t.useMemo((()=>!0===e?{title:null!=n?n:o}:t.isValidElement(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=n?n:o},e):{title:e}),[e,n,o]))(Z.tooltip,$.text,u),fe=i.useMemo((()=>{if(Y&&!oe)return[$.text,u,h,pe.title].find(BM)}),[Y,oe,h,pe.title,ae]);if(O)return i.createElement(CM,{value:null!==(o=$.text)&&void 0!==o?o:"string"==typeof u?u:"",onSave:T,onCancel:R,onEnd:$.onEnd,prefixCls:S,className:a,style:l,direction:y,component:g,maxLength:$.maxLength,autoSize:$.autoSize,enterIcon:$.enterIcon});const me=()=>{const{expandable:e,symbol:t}=Z;return e?i.createElement("button",{type:"button",key:"expand",className:`${S}-${Q?"collapse":"expand"}`,onClick:e=>((e,t)=>{var n;J(t.expanded),null===(n=Z.onExpand)||void 0===n||n.call(Z,e,t)})(e,{expanded:!Q}),"aria-label":Q?x.collapse:null==x?void 0:x.expand},"function"==typeof t?t(Q):t):null},ge=()=>{if(!k)return;const{icon:e,tooltip:t,tabIndex:n}=$,o=Ho(t)[0]||(null==x?void 0:x.edit),r="string"==typeof o?o:"";return N.includes("icon")?i.createElement(xy,{key:"edit",title:!1===t?"":o},i.createElement("button",{type:"button",ref:w,className:`${S}-edit`,onClick:P,"aria-label":r,tabIndex:n},e||i.createElement(SO,{role:"button"}))):null},he=e=>[e&&me(),ge(),B?i.createElement(zM,Object.assign({key:"copy"},z,{prefixCls:S,copied:D,locale:x,onCopy:F,loading:L,iconOnly:null==u})):null];return i.createElement($r,{onResize:e=>{let{offsetWidth:t}=e;ue(t)},disabled:!ee},(t=>i.createElement(WM,{tooltipProps:pe,enableEllipsis:ee,isEllipsis:ae},i.createElement(PM,Object.assign({className:f({[`${S}-${c}`]:c,[`${S}-disabled`]:s,[`${S}-ellipsis`]:Y,[`${S}-ellipsis-single-line`]:le,[`${S}-ellipsis-multiple-line`]:ce},a),prefixCls:r,style:Object.assign(Object.assign({},l),{WebkitLineClamp:ce?te:void 0}),component:g,ref:Xo(t,C,n),direction:y,onClick:N.includes("text")?P:void 0,"aria-label":null==fe?void 0:fe.toString(),title:h},E),i.createElement(_M,{enableMeasure:ee&&!oe,text:u,rows:te,width:se,onEllipsis:de,expanded:Q,miscDeps:[D,Q,L,k,B,x]},((t,n)=>function(e,t){let{mark:n,code:o,underline:r,delete:a,strong:l,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=i.createElement(e,{},u))}return d("strong",l),d("u",r),d("del",a),d("code",o),d("mark",n),d("kbd",c),d("i",s),u}(e,i.createElement(i.Fragment,null,t.length>0&&n&&!Q&&fe?i.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!Q&&i.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),Z.suffix,he(e)])(n)))))))))}));var GM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const qM=i.forwardRef(((e,t)=>{var{ellipsis:n,rel:o}=e,r=GM(e,["ellipsis","rel"]);if("production"!==process.env.NODE_ENV){const e=Gr("Typography.Link");"production"!==process.env.NODE_ENV&&e("object"!=typeof n,"usage","`ellipsis` only supports boolean value.")}const a=Object.assign(Object.assign({},r),{rel:void 0===o&&"_blank"===r.target?"noopener noreferrer":o});return delete a.navigate,i.createElement(XM,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))})),KM=i.forwardRef(((e,t)=>i.createElement(XM,Object.assign({ref:t},e,{component:"div"}))));var UM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const YM=(e,t)=>{var{ellipsis:n}=e,o=UM(e,["ellipsis"]);const r=i.useMemo((()=>n&&"object"==typeof n?Cu(n,["expandable","rows"]):n),[n]);if("production"!==process.env.NODE_ENV){const e=Gr("Typography.Text");"production"!==process.env.NODE_ENV&&e("object"!=typeof n||!n||!("expandable"in n)&&!("rows"in n),"usage","`ellipsis` do not support `expandable` or `rows` props.")}return i.createElement(XM,Object.assign({ref:t},o,{ellipsis:r,component:"span"}))};var ZM=i.forwardRef(YM),QM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const JM=[1,2,3,4,5],eN=i.forwardRef(((e,t)=>{const{level:n=1}=e,o=QM(e,["level"]);if("production"!==process.env.NODE_ENV){const e=Gr("Typography.Title");"production"!==process.env.NODE_ENV&&e(JM.includes(n),"usage","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version.")}const r=JM.includes(n)?`h${n}`:"h1";return i.createElement(XM,Object.assign({ref:t},o,{component:r}))})),tN=PM;tN.Text=ZM,tN.Link=qM,tN.Title=eN,tN.Paragraph=KM;var nN=lt(lt({},Ur),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});const oN={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},rN={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},nN),timePickerLocale:Object.assign({},oN)};rN.lang.ok="确定";const iN="${label}不是一个有效的${type}",aN={locale:"zh-cn",Pagination:u$,DatePicker:rN,TimePicker:oN,Calendar:rN,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:iN,method:iN,array:iN,object:iN,number:iN,date:iN,boolean:iN,integer:iN,float:iN,regexp:iN,email:iN,url:iN,hex:iN},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};var lN,cN={exports:{}},sN={};var uN,dN,pN={};
|
|
49
|
+
/**
|
|
50
|
+
* @license React
|
|
51
|
+
* use-sync-external-store-shim.development.js
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE file in the root directory of this source tree.
|
|
57
|
+
*/var fN=(dN||(dN=1,"production"===process.env.NODE_ENV?cN.exports=function(){if(lN)return sN;lN=1;var e=t,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=e.useState,r=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!n(e,o)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),c=o({inst:{value:n,getSnapshot:t}}),s=c[0].inst,u=c[1];return i((function(){s.value=n,s.getSnapshot=t,l(s)&&u({inst:s})}),[e,n,t]),r((function(){return l(s)&&u({inst:s}),e((function(){l(s)&&u({inst:s})}))}),[e]),a(n),n};return sN.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:c,sN}():cN.exports=(uN||(uN=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=t,o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useState,i=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue,c=!1,s=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(t,u){c||void 0===n.startTransition||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=u();if(!s){var p=u();o(d,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var f=(p=r({inst:{value:d,getSnapshot:u}}))[0].inst,m=p[1];return a((function(){f.value=d,f.getSnapshot=u,e(f)&&m({inst:f})}),[t,d,u]),i((function(){return e(f)&&m({inst:f}),t((function(){e(f)&&m({inst:f})}))}),[t]),l(d),d};pN.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),pN)),cN.exports);var mN=Object.prototype.hasOwnProperty;const gN=new WeakMap,hN=()=>{},vN=hN(),bN=Object,yN=e=>e===vN,xN=e=>"function"==typeof e,CN=(e,t)=>({...e,...t}),wN=e=>xN(e.then),SN={},EN={},kN="undefined",$N=typeof window!=kN,ON=typeof document!=kN,MN=$N&&"Deno"in window,NN=(e,t)=>{const n=gN.get(e);return[()=>!yN(t)&&e.get(t)||SN,o=>{if(!yN(t)){const r=e.get(t);t in EN||(EN[t]=r),n[5](t,CN(r,o),r||SN)}},n[6],()=>!yN(t)&&t in EN?EN[t]:!yN(t)&&e.get(t)||SN]};let jN=!0;const[IN,PN]=$N&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[hN,hN],TN={isOnline:()=>jN,isVisible:()=>{const e=ON&&document.visibilityState;return yN(e)||"hidden"!==e}},RN={initFocus:e=>(ON&&document.addEventListener("visibilitychange",e),IN("focus",e),()=>{ON&&document.removeEventListener("visibilitychange",e),PN("focus",e)}),initReconnect:e=>{const t=()=>{jN=!0,e()},n=()=>{jN=!1};return IN("online",t),IN("offline",n),()=>{PN("online",t),PN("offline",n)}}},BN=!t.useId,zN=!$N||MN,DN=e=>$N&&typeof window.requestAnimationFrame!=kN?window.requestAnimationFrame(e):setTimeout(e,1),LN=zN?t.useEffect:t.useLayoutEffect,FN="undefined"!=typeof navigator&&navigator.connection,HN=!zN&&FN&&(["slow-2g","2g"].includes(FN.effectiveType)||FN.saveData),AN=new WeakMap,_N=(e,t)=>bN.prototype.toString.call(e)===`[object ${t}]`;let WN=0;const VN=e=>{const t=typeof e,n=_N(e,"Date"),o=_N(e,"RegExp"),r=_N(e,"Object");let i,a;if(bN(e)!==e||n||o)i=n?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=AN.get(e),i)return i;if(i=++WN+"~",AN.set(e,i),Array.isArray(e)){for(i="@",a=0;a<e.length;a++)i+=VN(e[a])+",";AN.set(e,i)}if(r){i="#";const t=bN.keys(e).sort();for(;!yN(a=t.pop());)yN(e[a])||(i+=a+":"+VN(e[a])+",");AN.set(e,i)}}return i},XN=e=>{if(xN(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?VN(e):"",t]};let GN=0;const qN=()=>++GN;async function KN(...e){const[t,n,o,r]=e,i=CN({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let a=i.populateCache;const l=i.rollbackOnError;let c=i.optimisticData;const s=i.throwOnError;if(xN(n)){const e=n,o=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&o.push(n);return Promise.all(o.map(u))}return u(n);async function u(n){const[r]=XN(n);if(!r)return;const[u,d]=NN(t,r),[p,f,m,g]=gN.get(t),h=()=>{const e=p[r];return(xN(i.revalidate)?i.revalidate(u().data,n):!1!==i.revalidate)&&(delete m[r],delete g[r],e&&e[0])?e[0](2).then((()=>u().data)):u().data};if(e.length<3)return h();let v,b=o;const y=qN();f[r]=[y,0];const x=!yN(c),C=u(),w=C.data,S=C._c,E=yN(S)?w:S;if(x&&(c=xN(c)?c(E,w):c,d({data:c,_c:E})),xN(b))try{b=b(E)}catch(e){v=e}if(b&&wN(b)){if(b=await b.catch((e=>{v=e})),y!==f[r][0]){if(v)throw v;return b}v&&x&&(e=>"function"==typeof l?l(e):!1!==l)(v)&&(a=!0,d({data:E,_c:vN}))}if(a&&!v)if(xN(a)){const e=a(b,E);d({data:e,error:vN,_c:vN})}else d({data:b,error:vN,_c:vN});if(f[r][1]=qN(),Promise.resolve(h()).then((()=>{d({_c:vN})})),!v)return b;if(s)throw v}}const UN=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},YN=(e,t)=>{if(!gN.has(e)){const n=CN(RN,t),o=Object.create(null),r=KN.bind(vN,e);let i=hN;const a=Object.create(null),l=(e,t)=>{const n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},c=(t,n,o)=>{e.set(t,n);const r=a[t];if(r)for(const e of r)e(n,o)},s=()=>{if(!gN.has(e)&&(gN.set(e,[o,Object.create(null),Object.create(null),Object.create(null),r,c,l]),!zN)){const t=n.initFocus(setTimeout.bind(vN,UN.bind(vN,o,0))),r=n.initReconnect(setTimeout.bind(vN,UN.bind(vN,o,1)));i=()=>{t&&t(),r&&r(),gN.delete(e)}}};return s(),[e,r,s,i]}return[e,gN.get(e)[4]]},ZN=function e(t,n){var o,r;if(t===n)return!0;if(t&&n&&(o=t.constructor)===n.constructor){if(o===Date)return t.getTime()===n.getTime();if(o===RegExp)return t.toString()===n.toString();if(o===Array){if((r=t.length)===n.length)for(;r--&&e(t[r],n[r]););return-1===r}if(!o||"object"==typeof t){for(o in r=0,t){if(mN.call(t,o)&&++r&&!mN.call(n,o))return!1;if(!(o in n)||!e(t[o],n[o]))return!1}return Object.keys(n).length===r}}return t!=t&&n!=n},[QN,JN]=YN(new Map),ej=CN({onLoadingSlow:hN,onSuccess:hN,onError:hN,onErrorRetry:(e,t,n,o,r)=>{const i=n.errorRetryCount,a=r.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!yN(i)&&a>i||setTimeout(o,l,r)},onDiscarded:hN,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:HN?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:HN?5e3:3e3,compare:ZN,isPaused:()=>!1,cache:QN,mutate:JN,fallback:{}},TN),tj=(e,t)=>{const n=CN(e,t);if(t){const{use:o,fallback:r}=e,{use:i,fallback:a}=t;o&&i&&(n.use=o.concat(i)),r&&a&&(n.fallback=CN(r,a))}return n},nj=t.createContext({}),oj=$N&&window.__SWR_DEVTOOLS_USE__,rj=oj?window.__SWR_DEVTOOLS_USE__:[],ij=()=>CN(ej,t.useContext(nj)),aj=rj.concat((e=>(t,n,o)=>e(t,n&&((...e)=>{const[o]=XN(t),[,,,r]=gN.get(QN);if(o.startsWith("$inf$"))return n(...e);const i=r[o];return yN(i)?n(...e):(delete r[o],i)}),o)));oj&&(window.__SWR_DEVTOOLS_REACT__=t);const lj=t.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e}}),cj={dedupe:!0},sj=bN.defineProperty((e=>{const{value:n}=e,o=t.useContext(nj),r=xN(n),i=t.useMemo((()=>r?n(o):n),[r,o,n]),a=t.useMemo((()=>r?i:tj(o,i)),[r,o,i]),l=i&&i.provider,c=t.useRef(vN);l&&!c.current&&(c.current=YN(l(a.cache||QN),i));const s=c.current;return s&&(a.cache=s[0],a.mutate=s[1]),LN((()=>{if(s)return s[2]&&s[2](),s[3]}),[]),t.createElement(nj.Provider,CN(e,{value:a}))}),"defaultValue",{value:ej}),uj=(dj=(e,n,o)=>{const{cache:r,compare:i,suspense:a,fallbackData:l,revalidateOnMount:c,revalidateIfStale:s,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:p,keepPreviousData:f}=o,[m,g,h,v]=gN.get(r),[b,y]=XN(e),x=t.useRef(!1),C=t.useRef(!1),w=t.useRef(b),S=t.useRef(n),E=t.useRef(o),k=()=>E.current,$=()=>k().isVisible()&&k().isOnline(),[O,M,N,j]=NN(r,b),I=t.useRef({}).current,P=yN(l)?yN(o.fallback)?vN:o.fallback[b]:l,T=(e,t)=>{for(const n in I){const o=n;if("data"===o){if(!i(e[o],t[o])){if(!yN(e[o]))return!1;if(!i(_,t[o]))return!1}}else if(t[o]!==e[o])return!1}return!0},R=t.useMemo((()=>{const e=!!b&&!!n&&(yN(c)?!k().isPaused()&&!a&&!1!==s:c),t=t=>{const n=CN(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},o=O(),r=j(),i=t(o),l=o===r?i:t(r);let u=i;return[()=>{const e=t(O());return T(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>l]}),[r,b]),B=fN.useSyncExternalStore(t.useCallback((e=>N(b,((t,n)=>{T(n,t)||e()}))),[r,b]),R[0],R[1]),z=!x.current,D=m[b]&&m[b].length>0,L=B.data,F=yN(L)?P&&wN(P)?lj(P):P:L,H=B.error,A=t.useRef(F),_=f?yN(L)?yN(A.current)?F:A.current:L:F,W=!(D&&!yN(H))&&(z&&!yN(c)?c:!k().isPaused()&&(a?!yN(F)&&s:yN(F)||s)),V=!!(b&&n&&z&&W),X=yN(B.isValidating)?V:B.isValidating,G=yN(B.isLoading)?V:B.isLoading,q=t.useCallback((async e=>{const t=S.current;if(!b||!t||C.current||k().isPaused())return!1;let n,r,a=!0;const l=e||{},c=!h[b]||!l.dedupe,s=()=>BN?!C.current&&b===w.current&&x.current:b===w.current,u={isValidating:!1,isLoading:!1},d=()=>{M(u)},p=()=>{const e=h[b];e&&e[1]===r&&delete h[b]},f={isValidating:!0};yN(O().data)&&(f.isLoading=!0);try{if(c&&(M(f),o.loadingTimeout&&yN(O().data)&&setTimeout((()=>{a&&s()&&k().onLoadingSlow(b,o)}),o.loadingTimeout),h[b]=[t(y),qN()]),[n,r]=h[b],n=await n,c&&setTimeout(p,o.dedupingInterval),!h[b]||h[b][1]!==r)return c&&s()&&k().onDiscarded(b),!1;u.error=vN;const e=g[b];if(!yN(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return d(),c&&s()&&k().onDiscarded(b),!1;const l=O().data;u.data=i(l,n)?l:n,c&&s()&&k().onSuccess(n,b,o)}catch(e){p();const t=k(),{shouldRetryOnError:n}=t;t.isPaused()||(u.error=e,c&&s()&&(t.onError(e,b,t),(!0===n||xN(n)&&n(e))&&(k().revalidateOnFocus&&k().revalidateOnReconnect&&!$()||t.onErrorRetry(e,b,t,(e=>{const t=m[b];t&&t[0]&&t[0](3,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return a=!1,d(),!0}),[b,r]),K=t.useCallback(((...e)=>KN(r,w.current,...e)),[]);if(LN((()=>{S.current=n,E.current=o,yN(L)||(A.current=L)})),LN((()=>{if(!b)return;const e=q.bind(vN,cj);let t=0;if(k().revalidateOnFocus){const e=Date.now();t=e+k().focusThrottleInterval}const n=((e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const e=o.indexOf(n);e>=0&&(o[e]=o[o.length-1],o.pop())}})(b,m,((n,o={})=>{if(0==n){const n=Date.now();k().revalidateOnFocus&&n>t&&$()&&(t=n+k().focusThrottleInterval,e())}else if(1==n)k().revalidateOnReconnect&&$()&&e();else{if(2==n)return q();if(3==n)return q(o)}}));return C.current=!1,w.current=b,x.current=!0,M({_k:y}),W&&(yN(F)||zN?e():DN(e)),()=>{C.current=!0,n()}}),[b]),LN((()=>{let e;function t(){const t=xN(u)?u(O().data):u;t&&-1!==e&&(e=setTimeout(n,t))}function n(){O().error||!d&&!k().isVisible()||!p&&!k().isOnline()?t():q(cj).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[u,d,p,b]),t.useDebugValue(_),a&&yN(F)&&b){if(!BN&&zN)throw new Error("Fallback data is required when using Suspense in SSR.");S.current=n,E.current=o,C.current=!1;const e=v[b];if(!yN(e)){const t=K(e);lj(t)}if(!yN(H))throw H;{const e=q(cj);yN(_)||(e.status="fulfilled",e.value=!0),lj(e)}}return{mutate:K,get data(){return I.data=!0,_},get error(){return I.error=!0,H},get isValidating(){return I.isValidating=!0,X},get isLoading(){return I.isLoading=!0,G}}},function(...e){const t=ij(),[n,o,r]=(e=>xN(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}])(e),i=tj(t,r);let a=dj;const{use:l}=i,c=(l||[]).concat(aj);for(let e=c.length;e--;)a=c[e](a);return a(n,o||i.fetcher||null,i)});var dj,pj=function(e,t){return{getMessage:function(n,o){var r=zr(t,n.replace(/\[(\d+)\]/g,".$1").split("."))||"";if(r)return r;if("zh-CN"===e.replace("_","-"))return o;var i=Xj["zh-CN"];return i?i.getMessage(n,o):o},locale:e}},fj=pj("mn_MN",{moneySymbol:"₮",form:{lightFilter:{more:"Илүү",clear:"Цэвэрлэх",confirm:"Баталгаажуулах",itemUnit:"Нэгжүүд"}},tableForm:{search:"Хайх",reset:"Шинэчлэх",submit:"Илгээх",collapsed:"Өргөтгөх",expand:"Хураах",inputPlaceholder:"Утга оруулна уу",selectPlaceholder:"Утга сонгоно уу"},alert:{clear:"Цэвэрлэх",selected:"Сонгогдсон",item:"Нэгж"},pagination:{total:{range:" ",total:"Нийт",item:"мөр"}},tableToolBar:{leftPin:"Зүүн тийш бэхлэх",rightPin:"Баруун тийш бэхлэх",noPin:"Бэхлэхгүй",leftFixedTitle:"Зүүн зэрэгцүүлэх",rightFixedTitle:"Баруун зэрэгцүүлэх",noFixedTitle:"Зэрэгцүүлэхгүй",reset:"Шинэчлэх",columnDisplay:"Баганаар харуулах",columnSetting:"Тохиргоо",fullScreen:"Бүтэн дэлгэцээр",exitFullScreen:"Бүтэн дэлгэц цуцлах",reload:"Шинэчлэх",density:"Хэмжээ",densityDefault:"Хэвийн",densityLarger:"Том",densityMiddle:"Дунд",densitySmall:"Жижиг"},stepsForm:{next:"Дараах",prev:"Өмнөх",submit:"Дуусгах"},loginForm:{submitText:"Нэвтрэх"},editableTable:{action:{save:"Хадгалах",cancel:"Цуцлах",delete:"Устгах",add:"Мөр нэмэх"}},switch:{open:"Нээх",close:"Хаах"}}),mj=pj("ar_EG",{moneySymbol:"$",form:{lightFilter:{more:"المزيد",clear:"نظف",confirm:"تأكيد",itemUnit:"عناصر"}},tableForm:{search:"ابحث",reset:"إعادة تعيين",submit:"ارسال",collapsed:"مُقلص",expand:"مُوسع",inputPlaceholder:"الرجاء الإدخال",selectPlaceholder:"الرجاء الإختيار"},alert:{clear:"نظف",selected:"محدد",item:"عنصر"},pagination:{total:{range:" ",total:"من",item:"عناصر"}},tableToolBar:{leftPin:"ثبت على اليسار",rightPin:"ثبت على اليمين",noPin:"الغاء التثبيت",leftFixedTitle:"لصق على اليسار",rightFixedTitle:"لصق على اليمين",noFixedTitle:"إلغاء الإلصاق",reset:"إعادة تعيين",columnDisplay:"الأعمدة المعروضة",columnSetting:"الإعدادات",fullScreen:"وضع كامل الشاشة",exitFullScreen:"الخروج من وضع كامل الشاشة",reload:"تحديث",density:"الكثافة",densityDefault:"افتراضي",densityLarger:"أكبر",densityMiddle:"وسط",densitySmall:"مدمج"},stepsForm:{next:"التالي",prev:"السابق",submit:"أنهى"},loginForm:{submitText:"تسجيل الدخول"},editableTable:{action:{save:"أنقذ",cancel:"إلغاء الأمر",delete:"حذف",add:"إضافة صف من البيانات"}},switch:{open:"مفتوح",close:"غلق"}}),gj=pj("zh_CN",{moneySymbol:"¥",deleteThisLine:"删除此项",copyThisLine:"复制此项",form:{lightFilter:{more:"更多筛选",clear:"清除",confirm:"确认",itemUnit:"项"}},tableForm:{search:"查询",reset:"重置",submit:"提交",collapsed:"展开",expand:"收起",inputPlaceholder:"请输入",selectPlaceholder:"请选择"},alert:{clear:"取消选择",selected:"已选择",item:"项"},pagination:{total:{range:"第",total:"条/总共",item:"条"}},tableToolBar:{leftPin:"固定在列首",rightPin:"固定在列尾",noPin:"不固定",leftFixedTitle:"固定在左侧",rightFixedTitle:"固定在右侧",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列设置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"宽松",densityMiddle:"中等",densitySmall:"紧凑"},stepsForm:{next:"下一步",prev:"上一步",submit:"提交"},loginForm:{submitText:"登录"},editableTable:{onlyOneLineEditor:"只能同时编辑一行",action:{save:"保存",cancel:"取消",delete:"删除",add:"添加一行数据"}},switch:{open:"打开",close:"关闭"}}),hj=pj("en_US",{moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed to the left",rightFixedTitle:"Fixed to the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Table Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",onlyAddOneLine:"Only one line can be added",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}}),vj=pj("en_GB",{moneySymbol:"£",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed to the left",rightFixedTitle:"Fixed to the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Table Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",onlyAddOneLine:"Only one line can be added",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}}),bj=pj("vi_VN",{moneySymbol:"₫",form:{lightFilter:{more:"Nhiều hơn",clear:"Trong",confirm:"Xác nhận",itemUnit:"Mục"}},tableForm:{search:"Tìm kiếm",reset:"Làm lại",submit:"Gửi đi",collapsed:"Mở rộng",expand:"Thu gọn",inputPlaceholder:"nhập dữ liệu",selectPlaceholder:"Vui lòng chọn"},alert:{clear:"Xóa",selected:"đã chọn",item:"mục"},pagination:{total:{range:" ",total:"trên",item:"mặt hàng"}},tableToolBar:{leftPin:"Ghim trái",rightPin:"Ghim phải",noPin:"Bỏ ghim",leftFixedTitle:"Cố định trái",rightFixedTitle:"Cố định phải",noFixedTitle:"Chưa cố định",reset:"Làm lại",columnDisplay:"Cột hiển thị",columnSetting:"Cấu hình",fullScreen:"Chế độ toàn màn hình",exitFullScreen:"Thoát chế độ toàn màn hình",reload:"Làm mới",density:"Mật độ hiển thị",densityDefault:"Mặc định",densityLarger:"Mặc định",densityMiddle:"Trung bình",densitySmall:"Chật"},stepsForm:{next:"Sau",prev:"Trước",submit:"Kết thúc"},loginForm:{submitText:"Đăng nhập"},editableTable:{action:{save:"Cứu",cancel:"Hủy",delete:"Xóa",add:"thêm một hàng dữ liệu"}},switch:{open:"mở",close:"đóng"}}),yj=pj("it_IT",{moneySymbol:"€",form:{lightFilter:{more:"più",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalità schermo intero",exitFullScreen:"Esci da modalità schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}}),xj=pj("ja_JP",{moneySymbol:"¥",form:{lightFilter:{more:"更に",clear:"クリア",confirm:"確認",itemUnit:"アイテム"}},tableForm:{search:"検索",reset:"リセット",submit:"送信",collapsed:"拡大",expand:"折畳",inputPlaceholder:"入力してください",selectPlaceholder:"選択してください"},alert:{clear:"クリア",selected:"選択した",item:"アイテム"},pagination:{total:{range:"レコード",total:"/合計",item:" "}},tableToolBar:{leftPin:"左に固定",rightPin:"右に固定",noPin:"キャンセル",leftFixedTitle:"左に固定された項目",rightFixedTitle:"右に固定された項目",noFixedTitle:"固定されてない項目",reset:"リセット",columnDisplay:"表示列",columnSetting:"列表示設定",fullScreen:"フルスクリーン",exitFullScreen:"終了",reload:"更新",density:"行高",densityDefault:"デフォルト",densityLarger:"大",densityMiddle:"中",densitySmall:"小"},stepsForm:{next:"次へ",prev:"前へ",submit:"送信"},loginForm:{submitText:"ログイン"},editableTable:{action:{save:"保存",cancel:"キャンセル",delete:"削除",add:"追加"}},switch:{open:"開く",close:"閉じる"}}),Cj=pj("es_ES",{moneySymbol:"€",form:{lightFilter:{more:"Más",clear:"Limpiar",confirm:"Confirmar",itemUnit:"artículos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"artículos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuración",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"añadir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}}),wj=pj("ca_ES",{moneySymbol:"€",form:{lightFilter:{more:"Més",clear:"Netejar",confirm:"Confirmar",itemUnit:"Elements"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col·lapsar",inputPlaceholder:"Introduïu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuració",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitjà",densitySmall:"Compacte"},stepsForm:{next:"Següent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Cancel·lar",delete:"Eliminar",add:"afegir una fila de dades"}},switch:{open:"obert",close:"tancat"}}),Sj=pj("ru_RU",{moneySymbol:"₽",form:{lightFilter:{more:"Еще",clear:"Очистить",confirm:"ОК",itemUnit:"Позиции"}},tableForm:{search:"Найти",reset:"Сброс",submit:"Отправить",collapsed:"Развернуть",expand:"Свернуть",inputPlaceholder:"Введите значение",selectPlaceholder:"Выберите значение"},alert:{clear:"Очистить",selected:"Выбрано",item:"элементов"},pagination:{total:{range:" ",total:"из",item:"элементов"}},tableToolBar:{leftPin:"Закрепить слева",rightPin:"Закрепить справа",noPin:"Открепить",leftFixedTitle:"Закреплено слева",rightFixedTitle:"Закреплено справа",noFixedTitle:"Не закреплено",reset:"Сброс",columnDisplay:"Отображение столбца",columnSetting:"Настройки",fullScreen:"Полный экран",exitFullScreen:"Выйти из полноэкранного режима",reload:"Обновить",density:"Размер",densityDefault:"По умолчанию",densityLarger:"Большой",densityMiddle:"Средний",densitySmall:"Сжатый"},stepsForm:{next:"Следующий",prev:"Предыдущий",submit:"Завершить"},loginForm:{submitText:"Вход"},editableTable:{action:{save:"Сохранить",cancel:"Отменить",delete:"Удалить",add:"добавить ряд данных"}},switch:{open:"Открытый чемпионат мира по теннису",close:"По адресу:"}}),Ej=pj("sr_RS",{moneySymbol:"RSD",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pronađi",reset:"Resetuj",submit:"Pošalji",collapsed:"Proširi",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"Očisti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zakači levo",rightPin:"Zakači desno",noPin:"Nije zakačeno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Podešavanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osveži",density:"Veličina",densityDefault:"Podrazumevana",densityLarger:"Veća",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sačuvaj",cancel:"Poništi",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"Отворите",close:"Затворите"}}),kj=pj("ms_MY",{moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}}),$j=pj("zh_TW",{moneySymbol:"NT$",deleteThisLine:"刪除此项",copyThisLine:"複製此项",form:{lightFilter:{more:"更多篩選",clear:"清除",confirm:"確認",itemUnit:"項"}},tableForm:{search:"查詢",reset:"重置",submit:"提交",collapsed:"展開",expand:"收起",inputPlaceholder:"請輸入",selectPlaceholder:"請選擇"},alert:{clear:"取消選擇",selected:"已選擇",item:"項"},pagination:{total:{range:"第",total:"條/總共",item:"條"}},tableToolBar:{leftPin:"固定到左邊",rightPin:"固定到右邊",noPin:"不固定",leftFixedTitle:"固定在左側",rightFixedTitle:"固定在右側",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列設置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"寬鬆",densityMiddle:"中等",densitySmall:"緊湊"},stepsForm:{next:"下一步",prev:"上一步",submit:"完成"},loginForm:{submitText:"登入"},editableTable:{onlyOneLineEditor:"只能同時編輯一行",action:{save:"保存",cancel:"取消",delete:"刪除",add:"新增一行資料"}},switch:{open:"打開",close:"關閉"}}),Oj=pj("fr_FR",{moneySymbol:"€",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"Réinitialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"Réduire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"Sélectionner une valeur"},alert:{clear:"Réinitialiser",selected:"Sélectionné",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"éléments"}},tableToolBar:{leftPin:"Épingler à gauche",rightPin:"Épingler à gauche",noPin:"Sans épingle",leftFixedTitle:"Fixer à gauche",rightFixedTitle:"Fixer à droite",noFixedTitle:"Non fixé",reset:"Réinitialiser",columnDisplay:"Affichage colonne",columnSetting:"Réglages",fullScreen:"Plein écran",exitFullScreen:"Quitter Plein écran",reload:"Rafraichir",density:"Densité",densityDefault:"Par défaut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Précédente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de données"}},switch:{open:"ouvert",close:"près"}}),Mj=pj("pt_BR",{moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar à esquerda",rightPin:"Fixar à direita",noPin:"Desfixado",leftFixedTitle:"Fixado à esquerda",rightFixedTitle:"Fixado à direita",noFixedTitle:"Não fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configurações",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padrão",densityLarger:"Largo",densityMiddle:"Médio",densitySmall:"Compacto"},stepsForm:{next:"Próximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}}),Nj=pj("ko_KR",{moneySymbol:"₩",form:{lightFilter:{more:"더보기",clear:"초기화",confirm:"확인",itemUnit:"건수"}},tableForm:{search:"조회",reset:"초기화",submit:"제출",collapsed:"확장",expand:"닫기",inputPlaceholder:"입력해 주세요",selectPlaceholder:"선택해 주세요"},alert:{clear:"취소",selected:"선택",item:"건"},pagination:{total:{range:" ",total:"/ 총",item:"건"}},tableToolBar:{leftPin:"왼쪽으로 핀",rightPin:"오른쪽으로 핀",noPin:"핀 제거",leftFixedTitle:"왼쪽으로 고정",rightFixedTitle:"오른쪽으로 고정",noFixedTitle:"비고정",reset:"초기화",columnDisplay:"컬럼 표시",columnSetting:"설정",fullScreen:"전체 화면",exitFullScreen:"전체 화면 취소",reload:"새로 고침",density:"여백",densityDefault:"기본",densityLarger:"많은 여백",densityMiddle:"중간 여백",densitySmall:"좁은 여백"},stepsForm:{next:"다음",prev:"이전",submit:"종료"},loginForm:{submitText:"로그인"},editableTable:{action:{save:"저장",cancel:"취소",delete:"삭제",add:"데이터 행 추가"}},switch:{open:"열",close:"가까 운"}}),jj=pj("id_ID",{moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}}),Ij=pj("de_DE",{moneySymbol:"€",form:{lightFilter:{more:"Mehr",clear:"Zurücksetzen",confirm:"Bestätigen",itemUnit:"Einträge"}},tableForm:{search:"Suchen",reset:"Zurücksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte auswählen"},alert:{clear:"Zurücksetzen",selected:"Ausgewählt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Einträgen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zurücksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Größer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"Löschen",add:"Hinzufügen einer Datenzeile"}},switch:{open:"offen",close:"schließen"}}),Pj=pj("fa_IR",{moneySymbol:"تومان",form:{lightFilter:{more:"بیشتر",clear:"پاک کردن",confirm:"تایید",itemUnit:"مورد"}},tableForm:{search:"جستجو",reset:"بازنشانی",submit:"تایید",collapsed:"نمایش بیشتر",expand:"نمایش کمتر",inputPlaceholder:"پیدا کنید",selectPlaceholder:"انتخاب کنید"},alert:{clear:"پاک سازی",selected:"انتخاب",item:"مورد"},pagination:{total:{range:" ",total:"از",item:"مورد"}},tableToolBar:{leftPin:"سنجاق به چپ",rightPin:"سنجاق به راست",noPin:"سنجاق نشده",leftFixedTitle:"ثابت شده در چپ",rightFixedTitle:"ثابت شده در راست",noFixedTitle:"شناور",reset:"بازنشانی",columnDisplay:"نمایش همه",columnSetting:"تنظیمات",fullScreen:"تمام صفحه",exitFullScreen:"خروج از حالت تمام صفحه",reload:"تازه سازی",density:"تراکم",densityDefault:"پیش فرض",densityLarger:"بزرگ",densityMiddle:"متوسط",densitySmall:"کوچک"},stepsForm:{next:"بعدی",prev:"قبلی",submit:"اتمام"},loginForm:{submitText:"ورود"},editableTable:{action:{save:"ذخیره",cancel:"لغو",delete:"حذف",add:"یک ردیف داده اضافه کنید"}},switch:{open:"باز",close:"نزدیک"}}),Tj=pj("tr_TR",{moneySymbol:"₺",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"Öğeler"}},tableForm:{search:"Filtrele",reset:"Sıfırla",submit:"Gönder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek için bir değer girin",selectPlaceholder:"Filtrelemek için bir değer seçin"},alert:{clear:"Temizle",selected:"Seçili",item:"Öğe"},pagination:{total:{range:" ",total:"Toplam",item:"Öğe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sağa sabitle",noPin:"Sabitlemeyi kaldır",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sağa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"Sıfırla",columnDisplay:"Kolon Görünümü",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan Çık",reload:"Yenile",density:"Kalınlık",densityDefault:"Varsayılan",densityLarger:"Büyük",densityMiddle:"Orta",densitySmall:"Küçük"},stepsForm:{next:"Sıradaki",prev:"Önceki",submit:"Gönder"},loginForm:{submitText:"Giriş Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazgeç",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"açık",close:"kapatmak"}}),Rj=pj("pl_PL",{moneySymbol:"zł",form:{lightFilter:{more:"Więcej",clear:"Wyczyść",confirm:"Potwierdź",itemUnit:"Ilość"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierdź",collapsed:"Pokaż wiecej",expand:"Pokaż mniej",inputPlaceholder:"Proszę podać",selectPlaceholder:"Proszę wybrać"},alert:{clear:"Wyczyść",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpisów"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypięte do lewej",rightFixedTitle:"Przypięte do prawej",noFixedTitle:"Nieprzypięte",reset:"Reset",columnDisplay:"Wyświetlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pełen ekran",exitFullScreen:"Zamknij pełen ekran",reload:"Odśwież",density:"Odstęp",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zurück",submit:"Abschließen"},loginForm:{submitText:"Zaloguj się"},editableTable:{action:{save:"Zapisać",cancel:"Anuluj",delete:"Usunąć",add:"dodawanie wiersza danych"}},switch:{open:"otwierać",close:"zamykać"}}),Bj=pj("hr_",{moneySymbol:"kn",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretraži",reset:"Poništi",submit:"Potvrdi",collapsed:"Raširi",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"Očisti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prikači lijevo",rightPin:"Prikači desno",noPin:"Bez prikačenja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Izađi iz punog zaslona",reload:"Ponovno učitaj",density:"Veličina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljedeći",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}}),zj=pj("th_TH",{moneySymbol:"฿",deleteThisLine:"ลบบรรทัดนี้",copyThisLine:"คัดลอกบรรทัดนี้",form:{lightFilter:{more:"มากกว่า",clear:"ชัดเจน",confirm:"ยืนยัน",itemUnit:"รายการ"}},tableForm:{search:"สอบถาม",reset:"รีเซ็ต",submit:"ส่ง",collapsed:"ขยาย",expand:"ทรุด",inputPlaceholder:"กรุณาป้อน",selectPlaceholder:"โปรดเลือก"},alert:{clear:"ชัดเจน",selected:"เลือกแล้ว",item:"รายการ"},pagination:{total:{range:" ",total:"ของ",item:"รายการ"}},tableToolBar:{leftPin:"ปักหมุดไปทางซ้าย",rightPin:"ปักหมุดไปทางขวา",noPin:"เลิกตรึงแล้ว",leftFixedTitle:"แก้ไขด้านซ้าย",rightFixedTitle:"แก้ไขด้านขวา",noFixedTitle:"ไม่คงที่",reset:"รีเซ็ต",columnDisplay:"การแสดงคอลัมน์",columnSetting:"การตั้งค่า",fullScreen:"เต็มจอ",exitFullScreen:"ออกจากโหมดเต็มหน้าจอ",reload:"รีเฟรช",density:"ความหนาแน่น",densityDefault:"ค่าเริ่มต้น",densityLarger:"ขนาดใหญ่ขึ้น",densityMiddle:"กลาง",densitySmall:"กะทัดรัด"},stepsForm:{next:"ถัดไป",prev:"ก่อนหน้า",submit:"เสร็จ"},loginForm:{submitText:"เข้าสู่ระบบ"},editableTable:{onlyOneLineEditor:"แก้ไขได้เพียงบรรทัดเดียวเท่านั้น",action:{save:"บันทึก",cancel:"ยกเลิก",delete:"ลบ",add:"เพิ่มแถวของข้อมูล"}},switch:{open:"เปิด",close:"ปิด"}}),Dj=pj("cs_cz",{moneySymbol:"Kč",deleteThisLine:"Smazat tento řádek",copyThisLine:"Kopírovat tento řádek",form:{lightFilter:{more:"Víc",clear:"Vymazat",confirm:"Potvrdit",itemUnit:"Položky"}},tableForm:{search:"Dotaz",reset:"Resetovat",submit:"Odeslat",collapsed:"Zvětšit",expand:"Zmenšit",inputPlaceholder:"Zadejte prosím",selectPlaceholder:"Vyberte prosím"},alert:{clear:"Vymazat",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položek"}},tableToolBar:{leftPin:"Připnout doleva",rightPin:"Připnout doprava",noPin:"Odepnuto",leftFixedTitle:"Fixováno nalevo",rightFixedTitle:"Fixováno napravo",noFixedTitle:"Neopraveno",reset:"Resetovat",columnDisplay:"Zobrazení sloupců",columnSetting:"Nastavení",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončete celou obrazovku",reload:"Obnovit",density:"Hustota",densityDefault:"Výchozí",densityLarger:"Větší",densityMiddle:"Střední",densitySmall:"Kompaktní"},stepsForm:{next:"Další",prev:"Předchozí",submit:"Dokončit"},loginForm:{submitText:"Přihlásit se"},editableTable:{onlyOneLineEditor:"Upravit lze pouze jeden řádek",action:{save:"Uložit",cancel:"Zrušit",delete:"Vymazat",add:"přidat řádek dat"}},switch:{open:"otevřít",close:"zavřít"}}),Lj=pj("sk_SK",{moneySymbol:"€",deleteThisLine:"Odstrániť tento riadok",copyThisLine:"Skopírujte tento riadok",form:{lightFilter:{more:"Viac",clear:"Vyčistiť",confirm:"Potvrďte",itemUnit:"Položky"}},tableForm:{search:"Vyhladať",reset:"Resetovať",submit:"Odoslať",collapsed:"Rozbaliť",expand:"Zbaliť",inputPlaceholder:"Prosím, zadajte",selectPlaceholder:"Prosím, vyberte"},alert:{clear:"Vyčistiť",selected:"Vybraný",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položiek"}},tableToolBar:{leftPin:"Pripnúť vľavo",rightPin:"Pripnúť vpravo",noPin:"Odopnuté",leftFixedTitle:"Fixované na ľavo",rightFixedTitle:"Fixované na pravo",noFixedTitle:"Nefixované",reset:"Resetovať",columnDisplay:"Zobrazenie stĺpcov",columnSetting:"Nastavenia",fullScreen:"Celá obrazovka",exitFullScreen:"Ukončiť celú obrazovku",reload:"Obnoviť",density:"Hustota",densityDefault:"Predvolené",densityLarger:"Väčšie",densityMiddle:"Stredné",densitySmall:"Kompaktné"},stepsForm:{next:"Ďalšie",prev:"Predchádzajúce",submit:"Potvrdiť"},loginForm:{submitText:"Prihlásiť sa"},editableTable:{onlyOneLineEditor:"Upravovať možno iba jeden riadok",action:{save:"Uložiť",cancel:"Zrušiť",delete:"Odstrániť",add:"pridať riadok údajov"}},switch:{open:"otvoriť",close:"zavrieť"}}),Fj=pj("he_IL",{moneySymbol:"₪",deleteThisLine:"מחק שורה זו",copyThisLine:"העתק שורה זו",form:{lightFilter:{more:"יותר",clear:"נקה",confirm:"אישור",itemUnit:"פריטים"}},tableForm:{search:"חיפוש",reset:"איפוס",submit:"שלח",collapsed:"הרחב",expand:"כווץ",inputPlaceholder:"אנא הכנס",selectPlaceholder:"אנא בחר"},alert:{clear:"נקה",selected:"נבחר",item:"פריט"},pagination:{total:{range:" ",total:"מתוך",item:"פריטים"}},tableToolBar:{leftPin:"הצמד לשמאל",rightPin:"הצמד לימין",noPin:"לא מצורף",leftFixedTitle:"מוצמד לשמאל",rightFixedTitle:"מוצמד לימין",noFixedTitle:"לא מוצמד",reset:"איפוס",columnDisplay:"תצוגת עמודות",columnSetting:"הגדרות",fullScreen:"מסך מלא",exitFullScreen:"צא ממסך מלא",reload:"רענן",density:"רזולוציה",densityDefault:"ברירת מחדל",densityLarger:"גדול",densityMiddle:"בינוני",densitySmall:"קטן"},stepsForm:{next:"הבא",prev:"קודם",submit:"סיום"},loginForm:{submitText:"כניסה"},editableTable:{onlyOneLineEditor:"ניתן לערוך רק שורה אחת",action:{save:"שמור",cancel:"ביטול",delete:"מחיקה",add:"הוסף שורת נתונים"}},switch:{open:"פתח",close:"סגור"}}),Hj=pj("uk_UA",{moneySymbol:"₴",deleteThisLine:"Видатили рядок",copyThisLine:"Скопіювати рядок",form:{lightFilter:{more:"Ще",clear:"Очистити",confirm:"Ок",itemUnit:"Позиції"}},tableForm:{search:"Пошук",reset:"Очистити",submit:"Відправити",collapsed:"Розгорнути",expand:"Згорнути",inputPlaceholder:"Введіть значення",selectPlaceholder:"Оберіть значення"},alert:{clear:"Очистити",selected:"Обрано",item:"елементів"},pagination:{total:{range:" ",total:"з",item:"елементів"}},tableToolBar:{leftPin:"Закріпити зліва",rightPin:"Закріпити справа",noPin:"Відкріпити",leftFixedTitle:"Закріплено зліва",rightFixedTitle:"Закріплено справа",noFixedTitle:"Не закріплено",reset:"Скинути",columnDisplay:"Відображення стовпців",columnSetting:"Налаштування",fullScreen:"Повноекранний режим",exitFullScreen:"Вийти з повноекранного режиму",reload:"Оновити",density:"Розмір",densityDefault:"За замовчуванням",densityLarger:"Великий",densityMiddle:"Середній",densitySmall:"Стислий"},stepsForm:{next:"Наступний",prev:"Попередній",submit:"Завершити"},loginForm:{submitText:"Вхіх"},editableTable:{onlyOneLineEditor:"Тільки один рядок може бути редагований одночасно",action:{save:"Зберегти",cancel:"Відмінити",delete:"Видалити",add:"додати рядок"}},switch:{open:"Відкрито",close:"Закрито"}}),Aj=pj("uz_UZ",{moneySymbol:"UZS",form:{lightFilter:{more:"Yana",clear:"Tozalash",confirm:"OK",itemUnit:"Pozitsiyalar"}},tableForm:{search:"Qidirish",reset:"Qayta tiklash",submit:"Yuborish",collapsed:"Yig‘ish",expand:"Kengaytirish",inputPlaceholder:"Qiymatni kiriting",selectPlaceholder:"Qiymatni tanlang"},alert:{clear:"Tozalash",selected:"Tanlangan",item:"elementlar"},pagination:{total:{range:" ",total:"dan",item:"elementlar"}},tableToolBar:{leftPin:"Chapga mahkamlash",rightPin:"O‘ngga mahkamlash",noPin:"Mahkamlashni olib tashlash",leftFixedTitle:"Chapga mahkamlangan",rightFixedTitle:"O‘ngga mahkamlangan",noFixedTitle:"Mahkamlashsiz",reset:"Qayta tiklash",columnDisplay:"Ustunni ko‘rsatish",columnSetting:"Sozlamalar",fullScreen:"To‘liq ekran",exitFullScreen:"To‘liq ekrandan chiqish",reload:"Yangilash",density:"O‘lcham",densityDefault:"Standart",densityLarger:"Katta",densityMiddle:"O‘rtacha",densitySmall:"Kichik"},stepsForm:{next:"Keyingi",prev:"Oldingi",submit:"Tugatish"},loginForm:{submitText:"Kirish"},editableTable:{action:{save:"Saqlash",cancel:"Bekor qilish",delete:"O‘chirish",add:"maʼlumotlar qatorini qo‘shish"}},switch:{open:"Ochish",close:"Yopish"}}),_j=pj("nl_NL",{moneySymbol:"€",deleteThisLine:"Verwijder deze regel",copyThisLine:"Kopieer deze regel",form:{lightFilter:{more:"Meer filters",clear:"Wissen",confirm:"Bevestigen",itemUnit:"item"}},tableForm:{search:"Zoeken",reset:"Resetten",submit:"Indienen",collapsed:"Uitvouwen",expand:"Inklappen",inputPlaceholder:"Voer in",selectPlaceholder:"Selecteer"},alert:{clear:"Selectie annuleren",selected:"Geselecteerd",item:"item"},pagination:{total:{range:"Van",total:"items/totaal",item:"items"}},tableToolBar:{leftPin:"Vastzetten aan begin",rightPin:"Vastzetten aan einde",noPin:"Niet vastzetten",leftFixedTitle:"Vastzetten aan de linkerkant",rightFixedTitle:"Vastzetten aan de rechterkant",noFixedTitle:"Niet vastzetten",reset:"Resetten",columnDisplay:"Kolomweergave",columnSetting:"Kolominstellingen",fullScreen:"Volledig scherm",exitFullScreen:"Verlaat volledig scherm",reload:"Vernieuwen",density:"Dichtheid",densityDefault:"Normaal",densityLarger:"Ruim",densityMiddle:"Gemiddeld",densitySmall:"Compact"},stepsForm:{next:"Volgende stap",prev:"Vorige stap",submit:"Indienen"},loginForm:{submitText:"Inloggen"},editableTable:{onlyOneLineEditor:"Slechts één regel tegelijk bewerken",action:{save:"Opslaan",cancel:"Annuleren",delete:"Verwijderen",add:"Een regel toevoegen"}},switch:{open:"Openen",close:"Sluiten"}}),Wj=pj("ro_RO",{moneySymbol:"RON",deleteThisLine:"Șterge acest rând",copyThisLine:"Copiază acest rând",form:{lightFilter:{more:"Mai multe filtre",clear:"Curăță",confirm:"Confirmă",itemUnit:"elemente"}},tableForm:{search:"Caută",reset:"Resetează",submit:"Trimite",collapsed:"Extinde",expand:"Restrânge",inputPlaceholder:"Introduceți",selectPlaceholder:"Selectați"},alert:{clear:"Anulează selecția",selected:"Selectat",item:"elemente"},pagination:{total:{range:"De la",total:"elemente/total",item:"elemente"}},tableToolBar:{leftPin:"Fixează la început",rightPin:"Fixează la sfârșit",noPin:"Nu fixa",leftFixedTitle:"Fixează în stânga",rightFixedTitle:"Fixează în dreapta",noFixedTitle:"Nu fixa",reset:"Resetează",columnDisplay:"Afișare coloane",columnSetting:"Setări coloane",fullScreen:"Ecran complet",exitFullScreen:"Ieși din ecran complet",reload:"Reîncarcă",density:"Densitate",densityDefault:"Normal",densityLarger:"Larg",densityMiddle:"Mediu",densitySmall:"Compact"},stepsForm:{next:"Pasul următor",prev:"Pasul anterior",submit:"Trimite"},loginForm:{submitText:"Autentificare"},editableTable:{onlyOneLineEditor:"Se poate edita doar un rând simultan",action:{save:"Salvează",cancel:"Anulează",delete:"Șterge",add:"Adaugă un rând"}},switch:{open:"Deschide",close:"Închide"}}),Vj=pj("sv_SE",{moneySymbol:"SEK",deleteThisLine:"Radera denna rad",copyThisLine:"Kopiera denna rad",form:{lightFilter:{more:"Fler filter",clear:"Rensa",confirm:"Bekräfta",itemUnit:"objekt"}},tableForm:{search:"Sök",reset:"Återställ",submit:"Skicka",collapsed:"Expandera",expand:"Fäll ihop",inputPlaceholder:"Vänligen ange",selectPlaceholder:"Vänligen välj"},alert:{clear:"Avbryt val",selected:"Vald",item:"objekt"},pagination:{total:{range:"Från",total:"objekt/totalt",item:"objekt"}},tableToolBar:{leftPin:"Fäst till vänster",rightPin:"Fäst till höger",noPin:"Inte fäst",leftFixedTitle:"Fäst till vänster",rightFixedTitle:"Fäst till höger",noFixedTitle:"Inte fäst",reset:"Återställ",columnDisplay:"Kolumnvisning",columnSetting:"Kolumninställningar",fullScreen:"Fullskärm",exitFullScreen:"Avsluta fullskärm",reload:"Ladda om",density:"Täthet",densityDefault:"Normal",densityLarger:"Lös",densityMiddle:"Medium",densitySmall:"Kompakt"},stepsForm:{next:"Nästa steg",prev:"Föregående steg",submit:"Skicka"},loginForm:{submitText:"Logga in"},editableTable:{onlyOneLineEditor:"Endast en rad kan redigeras åt gången",action:{save:"Spara",cancel:"Avbryt",delete:"Radera",add:"Lägg till en rad"}},switch:{open:"Öppna",close:"Stäng"}}),Xj={"mn-MN":fj,"ar-EG":mj,"zh-CN":gj,"en-US":hj,"en-GB":vj,"vi-VN":bj,"it-IT":yj,"ja-JP":xj,"es-ES":Cj,"ca-ES":wj,"ru-RU":Sj,"sr-RS":Ej,"ms-MY":kj,"zh-TW":$j,"fr-FR":Oj,"pt-BR":Mj,"ko-KR":Nj,"id-ID":jj,"de-DE":Ij,"fa-IR":Pj,"tr-TR":Tj,"pl-PL":Rj,"hr-HR":Bj,"th-TH":zj,"cs-CZ":Dj,"sk-SK":Lj,"he-IL":Fj,"uk-UA":Hj,"uz-UZ":Aj,"nl-NL":_j,"ro-RO":Wj,"sv-SE":Vj},Gj=Object.keys(Xj),qj=function(e){var t=(e||"zh-CN").toLocaleLowerCase();return Gj.find((function(e){return e.toLocaleLowerCase().includes(t)}))};function Kj(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Uj(e){return Math.min(1,Math.max(0,e))}function Yj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Zj(e){return e<=1?"".concat(100*Number(e),"%"):e}function Qj(e){return 1===e.length?"0"+e:String(e)}function Jj(e,t,n){e=Kj(e,255),t=Kj(t,255),n=Kj(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=0,l=(o+r)/2;if(o===r)a=0,i=0;else{var c=o-r;switch(a=l>.5?c/(2-o-r):c/(o+r),o){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4}i/=6}return{h:i,s:a,l:l}}function eI(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tI(e,t,n){e=Kj(e,255),t=Kj(t,255),n=Kj(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,c=0===o?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:c,v:a}}function nI(e,t,n,o){var r=[Qj(Math.round(e).toString(16)),Qj(Math.round(t).toString(16)),Qj(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function oI(e){return rI(e)/255}function rI(e){return parseInt(e,16)}var iI={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function aI(e){var t,n,o,r={r:0,g:0,b:0},i=1,a=null,l=null,c=null,s=!1,u=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(iI[e])e=iI[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=uI.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=uI.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=uI.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=uI.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=uI.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=uI.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=uI.hex8.exec(e),n)return{r:rI(n[1]),g:rI(n[2]),b:rI(n[3]),a:oI(n[4]),format:t?"name":"hex8"};if(n=uI.hex6.exec(e),n)return{r:rI(n[1]),g:rI(n[2]),b:rI(n[3]),format:t?"name":"hex"};if(n=uI.hex4.exec(e),n)return{r:rI(n[1]+n[1]),g:rI(n[2]+n[2]),b:rI(n[3]+n[3]),a:oI(n[4]+n[4]),format:t?"name":"hex8"};if(n=uI.hex3.exec(e),n)return{r:rI(n[1]+n[1]),g:rI(n[2]+n[2]),b:rI(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(dI(e.r)&&dI(e.g)&&dI(e.b)?(t=e.r,n=e.g,o=e.b,r={r:255*Kj(t,255),g:255*Kj(n,255),b:255*Kj(o,255)},s=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):dI(e.h)&&dI(e.s)&&dI(e.v)?(a=Zj(e.s),l=Zj(e.v),r=function(e,t,n){e=6*Kj(e,360),t=Kj(t,100),n=Kj(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),c=o%6;return{r:255*[n,a,i,i,l,n][c],g:255*[l,n,n,a,i,i][c],b:255*[i,i,l,n,n,a][c]}}(e.h,a,l),s=!0,u="hsv"):dI(e.h)&&dI(e.s)&&dI(e.l)&&(a=Zj(e.s),c=Zj(e.l),r=function(e,t,n){var o,r,i;if(e=Kj(e,360),t=Kj(t,100),n=Kj(n,100),0===t)r=n,i=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=eI(l,a,e+1/3),r=eI(l,a,e),i=eI(l,a,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,a,c),s=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(i=e.a)),i=Yj(i),{ok:s,format:e.format||u,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:i}}var lI="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),cI="[\\s|\\(]+(".concat(lI,")[,|\\s]+(").concat(lI,")[,|\\s]+(").concat(lI,")\\s*\\)?"),sI="[\\s|\\(]+(".concat(lI,")[,|\\s]+(").concat(lI,")[,|\\s]+(").concat(lI,")[,|\\s]+(").concat(lI,")\\s*\\)?"),uI={CSS_UNIT:new RegExp(lI),rgb:new RegExp("rgb"+cI),rgba:new RegExp("rgba"+sI),hsl:new RegExp("hsl"+cI),hsla:new RegExp("hsla"+sI),hsv:new RegExp("hsv"+cI),hsva:new RegExp("hsva"+sI),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 dI(e){return Boolean(uI.CSS_UNIT.exec(String(e)))}var pI,fI=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=aI(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Yj(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=tI(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=tI(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=Jj(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Jj(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),nI(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,o,r){var i,a=[Qj(Math.round(e).toString(16)),Qj(Math.round(t).toString(16)),Qj(Math.round(n).toString(16)),Qj((i=o,Math.round(255*parseFloat(i)).toString(16)))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*Kj(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*Kj(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+nI(this.r,this.g,this.b,!1),t=0,n=Object.entries(iI);t<n.length;t++){var o=n[t],r=o[0];if(e===o[1])return r}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,o=this.a<1&&this.a>=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Uj(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Uj(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Uj(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Uj(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),i=n/100;return new e({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),r=360/n,i=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],i=360/t,a=1;a<t;a++)r.push(new e({h:(o+a*i)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),mI={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911",colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff7875",colorInfo:"#1677ff",colorTextBase:"#000",colorBgBase:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInQuint:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,"blue-1":"#e6f4ff","blue-2":"#bae0ff","blue-3":"#91caff","blue-4":"#69b1ff","blue-5":"#4096ff","blue-6":"#1677ff","blue-7":"#0958d9","blue-8":"#003eb3","blue-9":"#002c8c","blue-10":"#001d66","purple-1":"#f9f0ff","purple-2":"#efdbff","purple-3":"#d3adf7","purple-4":"#b37feb","purple-5":"#9254de","purple-6":"#722ed1","purple-7":"#531dab","purple-8":"#391085","purple-9":"#22075e","purple-10":"#120338","cyan-1":"#e6fffb","cyan-2":"#b5f5ec","cyan-3":"#87e8de","cyan-4":"#5cdbd3","cyan-5":"#36cfc9","cyan-6":"#13c2c2","cyan-7":"#08979c","cyan-8":"#006d75","cyan-9":"#00474f","cyan-10":"#002329","green-1":"#f6ffed","green-2":"#d9f7be","green-3":"#b7eb8f","green-4":"#95de64","green-5":"#73d13d","green-6":"#52c41a","green-7":"#389e0d","green-8":"#237804","green-9":"#135200","green-10":"#092b00","magenta-1":"#fff0f6","magenta-2":"#ffd6e7","magenta-3":"#ffadd2","magenta-4":"#ff85c0","magenta-5":"#f759ab","magenta-6":"#eb2f96","magenta-7":"#c41d7f","magenta-8":"#9e1068","magenta-9":"#780650","magenta-10":"#520339","pink-1":"#fff0f6","pink-2":"#ffd6e7","pink-3":"#ffadd2","pink-4":"#ff85c0","pink-5":"#f759ab","pink-6":"#eb2f96","pink-7":"#c41d7f","pink-8":"#9e1068","pink-9":"#780650","pink-10":"#520339","red-1":"#fff1f0","red-2":"#ffccc7","red-3":"#ffa39e","red-4":"#ff7875","red-5":"#ff4d4f","red-6":"#f5222d","red-7":"#cf1322","red-8":"#a8071a","red-9":"#820014","red-10":"#5c0011","orange-1":"#fff7e6","orange-2":"#ffe7ba","orange-3":"#ffd591","orange-4":"#ffc069","orange-5":"#ffa940","orange-6":"#fa8c16","orange-7":"#d46b08","orange-8":"#ad4e00","orange-9":"#873800","orange-10":"#612500","yellow-1":"#feffe6","yellow-2":"#ffffb8","yellow-3":"#fffb8f","yellow-4":"#fff566","yellow-5":"#ffec3d","yellow-6":"#fadb14","yellow-7":"#d4b106","yellow-8":"#ad8b00","yellow-9":"#876800","yellow-10":"#614700","volcano-1":"#fff2e8","volcano-2":"#ffd8bf","volcano-3":"#ffbb96","volcano-4":"#ff9c6e","volcano-5":"#ff7a45","volcano-6":"#fa541c","volcano-7":"#d4380d","volcano-8":"#ad2102","volcano-9":"#871400","volcano-10":"#610b00","geekblue-1":"#f0f5ff","geekblue-2":"#d6e4ff","geekblue-3":"#adc6ff","geekblue-4":"#85a5ff","geekblue-5":"#597ef7","geekblue-6":"#2f54eb","geekblue-7":"#1d39c4","geekblue-8":"#10239e","geekblue-9":"#061178","geekblue-10":"#030852","gold-1":"#fffbe6","gold-2":"#fff1b8","gold-3":"#ffe58f","gold-4":"#ffd666","gold-5":"#ffc53d","gold-6":"#faad14","gold-7":"#d48806","gold-8":"#ad6800","gold-9":"#874d00","gold-10":"#613400","lime-1":"#fcffe6","lime-2":"#f4ffb8","lime-3":"#eaff8f","lime-4":"#d3f261","lime-5":"#bae637","lime-6":"#a0d911","lime-7":"#7cb305","lime-8":"#5b8c00","lime-9":"#3f6600","lime-10":"#254000",colorText:"rgba(0, 0, 0, 0.88)",colorTextSecondary:"rgba(0, 0, 0, 0.65)",colorTextTertiary:"rgba(0, 0, 0, 0.45)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorFill:"rgba(0, 0, 0, 0.15)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorFillQuaternary:"rgba(0, 0, 0, 0.02)",colorBgLayout:"hsl(220,23%,97%)",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgSpotlight:"rgba(0, 0, 0, 0.85)",colorBorder:"#d9d9d9",colorBorderSecondary:"#f0f0f0",colorPrimaryBg:"#e6f4ff",colorPrimaryBgHover:"#bae0ff",colorPrimaryBorder:"#91caff",colorPrimaryBorderHover:"#69b1ff",colorPrimaryHover:"#4096ff",colorPrimaryActive:"#0958d9",colorPrimaryTextHover:"#4096ff",colorPrimaryText:"#1677ff",colorPrimaryTextActive:"#0958d9",colorSuccessBg:"#f6ffed",colorSuccessBgHover:"#d9f7be",colorSuccessBorder:"#b7eb8f",colorSuccessBorderHover:"#95de64",colorSuccessHover:"#95de64",colorSuccessActive:"#389e0d",colorSuccessTextHover:"#73d13d",colorSuccessText:"#52c41a",colorSuccessTextActive:"#389e0d",colorErrorBg:"#fff2f0",colorErrorBgHover:"#fff1f0",colorErrorBorder:"#ffccc7",colorErrorBorderHover:"#ffa39e",colorErrorHover:"#ffa39e",colorErrorActive:"#d9363e",colorErrorTextHover:"#ff7875",colorErrorText:"#ff4d4f",colorErrorTextActive:"#d9363e",colorWarningBg:"#fffbe6",colorWarningBgHover:"#fff1b8",colorWarningBorder:"#ffe58f",colorWarningBorderHover:"#ffd666",colorWarningHover:"#ffd666",colorWarningActive:"#d48806",colorWarningTextHover:"#ffc53d",colorWarningText:"#faad14",colorWarningTextActive:"#d48806",colorInfoBg:"#e6f4ff",colorInfoBgHover:"#bae0ff",colorInfoBorder:"#91caff",colorInfoBorderHover:"#69b1ff",colorInfoHover:"#69b1ff",colorInfoActive:"#0958d9",colorInfoTextHover:"#4096ff",colorInfoText:"#1677ff",colorInfoTextActive:"#0958d9",colorBgMask:"rgba(0, 0, 0, 0.45)",colorWhite:"#fff",sizeXXL:48,sizeXL:32,sizeLG:24,sizeMD:20,sizeMS:16,size:16,sizeSM:12,sizeXS:8,sizeXXS:4,controlHeightSM:24,controlHeightXS:16,controlHeightLG:40,motionDurationFast:"0.1s",motionDurationMid:"0.2s",motionDurationSlow:"0.3s",fontSizes:[12,14,16,20,24,30,38,46,56,68],lineHeights:[1.6666666666666667,1.5714285714285714,1.5,1.4,1.3333333333333333,1.2666666666666666,1.2105263157894737,1.173913043478261,1.1428571428571428,1.1176470588235294],lineWidthBold:2,borderRadiusXS:1,borderRadiusSM:4,borderRadiusLG:8,borderRadiusOuter:4,colorLink:"#1677ff",colorLinkHover:"#69b1ff",colorLinkActive:"#0958d9",colorFillContent:"rgba(0, 0, 0, 0.06)",colorFillContentHover:"rgba(0, 0, 0, 0.15)",colorFillAlter:"rgba(0, 0, 0, 0.02)",colorBgContainerDisabled:"rgba(0, 0, 0, 0.04)",colorBorderBg:"#ffffff",colorSplit:"rgba(5, 5, 5, 0.06)",colorTextPlaceholder:"rgba(0, 0, 0, 0.25)",colorTextDisabled:"rgba(0, 0, 0, 0.25)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLabel:"rgba(0, 0, 0, 0.65)",colorTextDescription:"rgba(0, 0, 0, 0.45)",colorTextLightSolid:"#fff",colorHighlight:"#ff7875",colorBgTextHover:"rgba(0, 0, 0, 0.06)",colorBgTextActive:"rgba(0, 0, 0, 0.15)",colorIcon:"rgba(0, 0, 0, 0.45)",colorIconHover:"rgba(0, 0, 0, 0.88)",colorErrorOutline:"rgba(255, 38, 5, 0.06)",colorWarningOutline:"rgba(255, 215, 5, 0.1)",fontSizeSM:12,fontSizeLG:16,fontSizeXL:20,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,lineHeight:1.5714285714285714,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,controlOutlineWidth:2,controlInteractiveSize:16,controlItemBgHover:"rgba(0, 0, 0, 0.04)",controlItemBgActive:"#e6f4ff",controlItemBgActiveHover:"#bae0ff",controlItemBgActiveDisabled:"rgba(0, 0, 0, 0.15)",controlTmpOutline:"rgba(0, 0, 0, 0.02)",controlOutline:"rgba(5, 145, 255, 0.1)",fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:4,paddingXS:8,paddingSM:12,padding:16,paddingMD:20,paddingLG:24,paddingXL:32,paddingContentHorizontalLG:24,paddingContentVerticalLG:16,paddingContentHorizontal:16,paddingContentVertical:12,paddingContentHorizontalSM:16,paddingContentVerticalSM:8,marginXXS:4,marginXS:8,marginSM:12,margin:16,marginMD:20,marginLG:24,marginXL:32,marginXXL:48,boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",boxShadowSecondary:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",screenXS:480,screenXSMin:480,screenXSMax:479,screenSM:576,screenSMMin:576,screenSMMax:575,screenMD:768,screenMDMin:768,screenMDMax:767,screenLG:992,screenLGMin:992,screenLGMax:991,screenXL:1200,screenXLMin:1200,screenXLMax:1199,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1599,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:"0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",boxShadowDrawerRight:"-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerLeft:"6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerUp:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerDown:"0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",_tokenKey:"19w80ff",_hashId:"css-dev-only-do-not-override-i2zu9q"},gI=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=3735928559^n,r=1103547991^n,i=0;i<e.length;i++)t=e.charCodeAt(i),o=Math.imul(o^t,2654435761),r=Math.imul(r^t,1597334677);return o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),4294967296*(2097151&(r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909)))+(o>>>0)},hI=Zt((function(e){return e})),vI={theme:hI,token:lt(lt({},mI),null==fM||null===(pI=fM.defaultAlgorithm)||void 0===pI?void 0:pI.call(fM,null==fM?void 0:fM.defaultSeed)),hashId:"pro-".concat(gI(JSON.stringify(mI)))},bI=function(e,t){return new fI(e).setAlpha(t).toRgbString()},yI=fM||Object.freeze({__proto__:null,defaultToken:mI,emptyTheme:hI,hashCode:gI,token:vI,useToken:function(){return vI}}),xI=yI.useToken,CI=function(e){return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none"}},wI=function(e){return{color:e.colorLink,outline:"none",cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}};function SI(e,n){var o,r=t.useContext(zI).token,i=void 0===r?{}:r,a=t.useContext(zI).hashed,l=xI(),c=l.token,s=l.hashId;t.useContext(zI).theme;var u=t.useContext(xc.ConfigContext),d=u.getPrefixCls,p=u.csp;return i.layout||(i=lt({},c)),i.proComponentsCls=null!==(o=i.proComponentsCls)&&void 0!==o?o:".".concat(d("pro")),i.antCls=".".concat(d()),{wrapSSR:Io({token:i,path:[e],nonce:null==p?void 0:p.nonce,layer:{name:"antd-pro",dependencies:["antd"]}},(function(){return n(i)})),hashId:a?s:""}}var EI,kI=function(){for(var e={},t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];for(var r,i=n.length,a=0;a<i;a+=1)for(r in n[a])n[a].hasOwnProperty(r)&&("object"!==ot(e[r])||"object"!==ot(n[a][r])||void 0===e[r]||null===e[r]||Array.isArray(e[r])||Array.isArray(n[a][r])?e[r]=n[a][r]:e[r]=lt(lt({},e[r]),n[a][r]));return e},$I={exports:{}};EI||(EI=1,$I.exports=function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(o,null,!0),o}(dw()));var OI=["locale","getPrefixCls"],MI=["locale","theme"],NI=function(e){var t={};if(Object.keys(e||{}).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),!(Object.keys(t).length<1))return t},jI=function(){var e,t;return"undefined"==typeof process||"TEST"!==(null===(e=process.env.NODE_ENV)||void 0===e?void 0:e.toUpperCase())&&"DEV"!==(null===(t=process.env.NODE_ENV)||void 0===t?void 0:t.toUpperCase())},II=t.createContext({intl:lt(lt({},gj),{},{locale:"default"}),valueTypeMap:{},theme:hI,hashed:!0,dark:!1,token:mI}),PI=II.Consumer,TI=function(){var e=ij().cache;return t.useEffect((function(){return function(){e.clear()}}),[]),null},RI=function(n){var o,r=n.children,i=n.dark,a=n.valueTypeMap,l=n.autoClearCache,c=void 0!==l&&l,s=n.token,u=n.prefixCls,d=n.intl,p=t.useContext(xc.ConfigContext),f=p.locale,m=p.getPrefixCls,g=nt(p,OI),h=null===(o=yI.useToken)||void 0===o?void 0:o.call(yI),v=t.useContext(II),b=u?".".concat(u):".".concat(m(),"-pro"),y="."+m(),x="".concat(b),C=t.useMemo((function(){return e=s||{},t=h.token||mI,l=lt({},e),lt(lt({bgLayout:"linear-gradient(".concat(t.colorBgContainer,", ").concat(t.colorBgLayout," 28%)"),colorTextAppListIcon:t.colorTextSecondary,appListIconHoverBgColor:null==l||null===(n=l.sider)||void 0===n?void 0:n.colorBgMenuItemSelected,colorBgAppListIconHover:bI(t.colorTextBase,.04),colorTextAppListIconHover:t.colorTextBase},l),{},{header:lt({colorBgHeader:bI(t.colorBgElevated,.6),colorBgScrollHeader:bI(t.colorBgElevated,.8),colorHeaderTitle:t.colorText,colorBgMenuItemHover:bI(t.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:"rgba(255, 255, 255, 0.6)"!==(null==l||null===(o=l.header)||void 0===o?void 0:o.colorBgHeader)?null===(r=l.header)||void 0===r?void 0:r.colorBgHeader:t.colorBgElevated,colorTextMenuSelected:bI(t.colorTextBase,.95),colorBgRightActionsItemHover:bI(t.colorTextBase,.03),colorTextRightActionsItem:t.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:t.colorTextSecondary,colorTextMenuSecondary:t.colorTextTertiary,colorTextMenuTitle:t.colorText,colorTextMenuActive:t.colorText},l.header),sider:lt({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:t.colorBgElevated,colorTextCollapsedButtonHover:t.colorTextSecondary,colorTextCollapsedButton:bI(t.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:bI(t.colorTextBase,.06),colorBgMenuItemHover:bI(t.colorTextBase,.03),colorBgMenuItemSelected:bI(t.colorTextBase,.04),colorTextMenuItemHover:t.colorText,colorTextMenuSelected:bI(t.colorTextBase,.95),colorTextMenuActive:t.colorText,colorTextMenu:t.colorTextSecondary,colorTextMenuSecondary:t.colorTextTertiary,colorTextMenuTitle:t.colorText,colorTextSubMenuSelected:bI(t.colorTextBase,.95)},l.sider),pageContainer:lt({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:(null===(i=l.pageContainer)||void 0===i?void 0:i.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:(null===(a=l.pageContainer)||void 0===a?void 0:a.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:t.colorBgElevated},l.pageContainer)});var e,t,n,o,r,i,a,l}),[s,h.token]),w=t.useMemo((function(){var e,t=null==f?void 0:f.locale,n=qj(t),o=null!=d?d:t&&"default"===(null===(e=v.intl)||void 0===e?void 0:e.locale)?Xj[n]:v.intl||Xj[n];return lt(lt({},v),{},{dark:null!=i?i:v.dark,token:kI(v.token,h.token,{proComponentsCls:b,antCls:y,themeId:h.theme.id,layout:C}),intl:o||gj})}),[null==f?void 0:f.locale,v,i,h.token,h.theme.id,b,y,C,d]),S=lt(lt({},w.token||{}),{},{proComponentsCls:b}),E=tt(On(h.theme,[h.token,null!=S?S:{}],{salt:x,override:S}),2),k=E[0],$=E[1],O=t.useMemo((function(){return!1!==n.hashed&&!1!==v.hashed}),[v.hashed,n.hashed]),M=t.useMemo((function(){return!1===n.hashed||!1===v.hashed||!1===jI()?"":h.hashId?h.hashId:$}),[$,v.hashed,n.hashed]);t.useEffect((function(){pw.locale((null==f?void 0:f.locale)||"zh-cn")}),[null==f?void 0:f.locale]);var N=t.useMemo((function(){return lt(lt({},g.theme),{},{hashId:M,hashed:O&&jI()})}),[g.theme,M,O,jI()]),j=t.useMemo((function(){return lt(lt({},w),{},{valueTypeMap:a||(null==w?void 0:w.valueTypeMap),token:k,theme:h.theme,hashed:O,hashId:M})}),[w,a,k,h.theme,O,M]),I=t.useMemo((function(){return e.jsx(xc,lt(lt({},g),{},{theme:N,children:e.jsx(II.Provider,{value:j,children:e.jsxs(e.Fragment,{children:[c&&e.jsx(TI,{}),r]})})}))}),[g,N,j,c,r]);return c?e.jsx(sj,{value:{provider:function(){return new Map}},children:I}):I},BI=function(n){var o=n.needDeps,r=n.dark,i=n.token,a=t.useContext(II),l=t.useContext(xc.ConfigContext),c=l.locale,s=l.theme,u=nt(l,MI);if(o&&void 0!==a.hashId&&"children-needDeps"===Object.keys(n).sort().join("-"))return e.jsx(e.Fragment,{children:n.children});var d,p=lt(lt({},u),{},{locale:c||aN,theme:NI(lt(lt({},s),{},{algorithm:(d=null!=r?r:a.dark,d&&!Array.isArray(null==s?void 0:s.algorithm)?[null==s?void 0:s.algorithm,yI.darkAlgorithm].filter(Boolean):d&&Array.isArray(null==s?void 0:s.algorithm)?[].concat(Qe((null==s?void 0:s.algorithm)||[]),[yI.darkAlgorithm]).filter(Boolean):null==s?void 0:s.algorithm)}))});return e.jsx(xc,lt(lt({},p),{},{children:e.jsx(RI,lt(lt({},n),{},{token:i}))}))};II.displayName="ProProvider";var zI=II,DI=Object.freeze({__proto__:null,ConfigConsumer:PI,ProConfigProvider:BI,ProProvider:zI,arEGIntl:mj,caESIntl:wj,createIntl:pj,csCZIntl:Dj,deDEIntl:Ij,default:II,enGBIntl:vj,enUSIntl:hj,esESIntl:Cj,faIRIntl:Pj,findIntlKeyByAntdLocaleKey:qj,frFRIntl:Oj,heILIntl:Fj,hrHRIntl:Bj,idIDIntl:jj,intlMap:Xj,intlMapKeys:Gj,isNeedOpenHash:jI,itITIntl:yj,jaJPIntl:xj,koKRIntl:Nj,lighten:function(e,t){return new fI(e).lighten(t).toHexString()},mnMNIntl:fj,msMYIntl:kj,nlNLIntl:_j,operationUnit:wI,plPLIntl:Rj,proTheme:yI,ptBRIntl:Mj,resetComponent:CI,roROIntl:Wj,ruRUIntl:Sj,setAlpha:bI,skSKIntl:Lj,srRSIntl:Ej,svSEIntl:Vj,thTHIntl:zj,trTRIntl:Tj,ukUAIntl:Hj,useIntl:function(){var e=t.useContext(xc.ConfigContext).locale,n=t.useContext(II).intl;return n&&"default"!==n.locale?n||gj:null!=e&&e.locale&&Xj[qj(e.locale)]||gj},useStyle:SI,useToken:xI,uzUZIntl:Aj,viVNIntl:bj,zhCNIntl:gj,zhTWIntl:$j}),LI=function(){_t(o,t.Component);var n=Gt(o);function o(){var e;It(this,o);for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return it(Ht(e=n.call.apply(n,[this].concat(r))),"state",{hasError:!1,errorInfo:""}),e}return Tt(o,[{key:"componentDidCatch",value:function(e,t){console.log(e,t)}},{key:"render",value:function(){return this.state.hasError?e.jsx(ZO,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,errorInfo:e.message}}}]),o}(),FI=function(e){var t={};if(Object.keys(e||{}).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),!(Object.keys(t).length<1))return t},HI=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,AI=function(e){return"*"===e||"x"===e||"X"===e},_I=function(e){var t=parseInt(e,10);return isNaN(t)?e:t},WI=function(e,t){if(AI(e)||AI(t))return 0;var n=function(e,t){return ot(e)!==ot(t)?[String(e),String(t)]:[e,t]}(_I(e),_I(t)),o=tt(n,2),r=o[0],i=o[1];return r>i?1:r<i?-1:0},VI=function(e){var t,n=e.match(HI);return null==n||null===(t=n.shift)||void 0===t||t.call(n),n},XI=function(e,t){var n=VI(e),o=VI(t),r=n.pop(),i=o.pop(),a=function(e,t){for(var n=0;n<Math.max(e.length,t.length);n++){var o=WI(e[n]||"0",t[n]||"0");if(0!==o)return o}return 0}(n,o);return 0!==a?a:r||i?r?-1:1:0},GI=function(){var e;return"undefined"==typeof process?Xa:(null===(e=process)||void 0===e||null===(e=e.env)||void 0===e?void 0:e.ANTD_VERSION)||Xa},qI=function(e,t){var n=XI(GI(),"4.23.0")>-1?{open:e,onOpenChange:t}:{visible:e,onVisibleChange:t};return FI(n)};function KI(e){if(XI(GI(),"5.6.0")<0)return e;var t={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},n=lt({},e);return Object.keys(t).forEach((function(e){void 0!==n[e]&&(n[t[e]]=n[e],delete n[e])})),n}function UI(e,n){var o,r,i=(o=e,(r=t.useRef(null)).current=o,t.useCallback((function(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return null===(e=r.current)||void 0===e?void 0:e.call.apply(e,[r].concat(Qe(n)))}),[])),a=t.useRef(),l=t.useCallback((function(){a.current&&(clearTimeout(a.current),a.current=null)}),[]),c=t.useCallback(eu(Qs().mark((function e(){var t,o,r,c=arguments;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=c.length,o=new Array(t),r=0;r<t;r++)o[r]=c[r];if(0!==n&&void 0!==n){e.next=3;break}return e.abrupt("return",i.apply(void 0,o));case 3:return l(),e.abrupt("return",new Promise((function(e){a.current=setTimeout(eu(Qs().mark((function t(){return Qs().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=e,t.next=3,i.apply(void 0,o);case 3:return t.t1=t.sent,(0,t.t0)(t.t1),t.abrupt("return");case 6:case"end":return t.stop()}}),t)}))),n)})));case 5:case"end":return e.stop()}}),e)}))),[i,l,n]);return t.useEffect((function(){return l}),[l]),{run:c,cancel:l}}var YI="undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node,ZI=function(){return"undefined"!=typeof process&&"TEST"===process.env.NODE_ENV||"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.matchMedia&&!YI};var QI=function(e){if(!e)return!1;if(!e.startsWith("http"))return!1;try{return!!new URL(e)}catch(e){return!1}};function JI(e){var n="undefined"==typeof window,o=tt(t.useState((function(){return!n&&window.matchMedia(e).matches})),2),r=o[0],i=o[1];return t.useLayoutEffect((function(){if(!n){var t=window.matchMedia(e),o=function(e){return i(e.matches)};return t.addListener(o),function(){return t.removeListener(o)}}}),[e]),r}var eP={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},tP=function(){var e,n=JI(eP.md.matchMedia),o=JI(eP.lg.matchMedia),r=JI(eP.xxl.matchMedia),i=JI(eP.xl.matchMedia),a=JI(eP.sm.matchMedia),l=JI(eP.xs.matchMedia),c=tt(t.useState((e=void 0,"undefined"==typeof window?e:e=Object.keys(eP).find((function(e){var t=eP[e].matchMedia;return!!window.matchMedia(t).matches})))),2),s=c[0],u=c[1];return t.useEffect((function(){"TEST"!==process.env.NODE_ENV?u(r?"xxl":i?"xl":o?"lg":n?"md":a?"sm":l?"xs":"md"):u(process.env.USE_MEDIA||"md")}),[n,o,r,i,a,l]),s},nP=function(e){return it({},e.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:bI(e.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(e.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:e.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:e.colorText},"&-right":{color:e.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};var oP=["children","className","extra","portalDom","style","renderContent"],rP=function(o){var r=o.children,i=o.className,a=o.extra,l=o.portalDom,c=void 0===l||l,s=o.style,u=o.renderContent,d=nt(o,oP),p=t.useContext(xc.ConfigContext),m=p.getPrefixCls,g=p.getTargetContainer,h=o.prefixCls||m("pro"),v="".concat(h,"-footer-bar"),b=function(e){return SI("ProLayoutFooterToolbar",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[nP(n)]}))}(v),y=b.wrapSSR,x=b.hashId,C=t.useContext(iP),w=t.useMemo((function(){var e=C.hasSiderMenu,t=C.isMobile,n=C.siderWidth;if(e)return n?t?"100%":"calc(100% - ".concat(n,"px)"):"100%"}),[C.collapsed,C.hasSiderMenu,C.isMobile,C.siderWidth]),S=t.useMemo((function(){return"undefined"==typeof window||"undefined"==typeof document?null:(null==g?void 0:g())||document.body}),[]),E=function(e,t){var n=t.stylish;return SI("ProLayoutFooterToolbarStylish",(function(t){var o=lt(lt({},t),{},{componentCls:".".concat(e)});return n?[it({},"".concat(o.componentCls),null==n?void 0:n(o))]:[]}))}("".concat(v,".").concat(v,"-stylish"),{stylish:o.stylish}),k=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"".concat(v,"-left ").concat(x).trim(),children:a}),e.jsx("div",{className:"".concat(v,"-right ").concat(x).trim(),children:r})]});t.useEffect((function(){return C&&null!=C&&C.setHasFooterToolbar?(null==C||C.setHasFooterToolbar(!0),function(){var e;null==C||null===(e=C.setHasFooterToolbar)||void 0===e||e.call(C,!1)}):function(){}}),[]);var $=e.jsx("div",lt(lt({className:f(i,x,v,it({},"".concat(v,"-stylish"),!!o.stylish)),style:lt({width:w},s)},Cu(d,["prefixCls"])),{},{children:u?u(lt(lt(lt({},o),C),{},{leftWidth:w}),k):k})),O=ZI()&&c&&S?n.createPortal($,S,v):$;return E.wrapSSR(y(e.jsx(t.Fragment,{children:O},v)))},iP=t.createContext({}),aP=function(e){return it({},e.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};var lP,cP,sP=function(n){var o=t.useContext(iP),r=n.children,i=n.contentWidth,a=n.className,l=n.style,c=t.useContext(xc.ConfigContext).getPrefixCls,s=n.prefixCls||c("pro"),u=i||o.contentWidth,d="".concat(s,"-grid-content"),p=function(e){return SI("ProLayoutGridContent",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[aP(n)]}))}(d),m=p.wrapSSR,g=p.hashId,h="Fixed"===u&&"top"===o.layout;return m(e.jsx("div",{className:f(d,g,a,it({},"".concat(d,"-wide"),h)),style:l,children:e.jsx("div",{className:"".concat(s,"-grid-content-children ").concat(g).trim(),children:r})}))},uP={exports:{}},dP={},pP={exports:{}},fP={exports:{}};function mP(){return lP||(lP=1,function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(fP)),fP.exports}function gP(){return cP||(cP=1,function(e){var t=mP().default;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}e.exports=function(e,o){if(!o&&e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var r=n(o);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var c=a?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(i,l,c):i[l]=e[l]}return i.default=e,r&&r.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports}(pP)),pP.exports}var hP,vP={exports:{}};function bP(){return hP||(hP=1,function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(vP)),vP.exports}var yP,xP={exports:{}};function CP(){return yP||(yP=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(xP)),xP.exports}var wP,SP={};function EP(){if(wP)return SP;wP=1,Object.defineProperty(SP,"__esModule",{value:!0});return SP.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},SP}var kP,$P={},OP={exports:{}},MP={exports:{}};function NP(){return kP||(kP=1,function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}(MP)),MP.exports}var jP,IP={exports:{}};function PP(){return jP||(jP=1,function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}},e.exports.__esModule=!0,e.exports.default=e.exports}(IP)),IP.exports}var TP,RP,BP={exports:{}},zP={exports:{}};function DP(){return TP||(TP=1,function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports}(zP)),zP.exports}function LP(){return RP||(RP=1,function(e){var t=DP();e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(BP)),BP.exports}var FP,HP,AP={exports:{}};function _P(){return FP||(FP=1,function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(AP)),AP.exports}function WP(){return HP||(HP=1,function(e){var t=NP(),n=PP(),o=LP(),r=_P();e.exports=function(e,i){return t(e)||n(e,i)||o(e,i)||r()},e.exports.__esModule=!0,e.exports.default=e.exports}(OP)),OP.exports}var VP,XP,GP,qP={exports:{}},KP={exports:{}},UP={exports:{}};function YP(){return VP||(VP=1,function(e){var t=mP().default;e.exports=function(e,n){if("object"!=t(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,n||"default");if("object"!=t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(UP)),UP.exports}function ZP(){return XP||(XP=1,function(e){var t=mP().default,n=YP();e.exports=function(e){var o=n(e,"string");return"symbol"==t(o)?o:o+""},e.exports.__esModule=!0,e.exports.default=e.exports}(KP)),KP.exports}function QP(){return GP||(GP=1,function(e){var t=ZP();e.exports=function(e,n,o){return(n=t(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports}(qP)),qP.exports}var JP,eT,tT={exports:{}},nT={exports:{}};function oT(){return JP||(JP=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(nT)),nT.exports}function rT(){return eT||(eT=1,function(e){var t=oT();e.exports=function(e,n){if(null==e)return{};var o,r,i=t(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],-1===n.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(tT)),tT.exports}var iT,aT=s(Zi),lT={};function cT(){if(iT)return lT;iT=1,Object.defineProperty(lT,"__esModule",{value:!0}),lT.default=void 0;var e=(0,t.createContext)({});return lT.default=e,lT}var sT,uT={},dT={exports:{}};function pT(){return sT||(sT=1,function(e){var t=QP();function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}e.exports=function(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?n(Object(r),!0).forEach((function(n){t(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports}(dT)),dT.exports}var fT,mT={},gT={},hT={};var vT,bT,yT={};function xT(){if(bT)return gT;bT=1;var e=bP().default;Object.defineProperty(gT,"__esModule",{value:!0}),gT.clearContainerCache=function(){l.clear()},gT.injectCSS=d,gT.removeCSS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p(e,t);if(n){s(t).removeChild(n)}},gT.updateCSS=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=s(r),a=u(i),f=(0,t.default)((0,t.default)({},r),{},{styles:a});!function(e,t){var n=l.get(e);if(!n||!(0,o.default)(document,n)){var r=d("",t),i=r.parentNode;l.set(e,i),e.removeChild(r)}}(i,f);var m=p(n,f);if(m){var g,h,v;if(null!==(g=f.csp)&&void 0!==g&&g.nonce&&m.nonce!==(null===(h=f.csp)||void 0===h?void 0:h.nonce))m.nonce=null===(v=f.csp)||void 0===v?void 0:v.nonce;return m.innerHTML!==e&&(m.innerHTML=e),m}var b=d(e,f);return b.setAttribute(c(f),n),b};var t=e(pT()),n=e((fT||(fT=1,Object.defineProperty(hT,"__esModule",{value:!0}),hT.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}),hT)),o=e((vT||(vT=1,Object.defineProperty(yT,"__esModule",{value:!0}),yT.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}),yT)),r="data-rc-order",i="data-rc-priority",a="rc-util-key",l=new Map;function c(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):a}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((l.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.default)())return null;var o=t.csp,a=t.prepend,l=t.priority,c=void 0===l?0:l,d=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(a),p="prependQueue"===d,f=document.createElement("style");f.setAttribute(r,d),p&&c&&f.setAttribute(i,"".concat(c)),null!=o&&o.nonce&&(f.nonce=null==o?void 0:o.nonce),f.innerHTML=e;var m=s(t),g=m.firstChild;if(a){if(p){var h=(t.styles||u(m)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(r)))return!1;var t=Number(e.getAttribute(i)||0);return c>=t}));if(h.length)return m.insertBefore(f,h[h.length-1].nextSibling),f}m.insertBefore(f,g)}else m.appendChild(f);return f}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=s(t);return(t.styles||u(n)).find((function(n){return n.getAttribute(c(t))===e}))}return gT}var CT,wT={};var ST,ET,kT,$T={};function OT(){if(ST)return $T;ST=1,Object.defineProperty($T,"__esModule",{value:!0}),$T.call=a,$T.default=void 0,$T.note=r,$T.noteOnce=c,$T.preMessage=void 0,$T.resetWarned=i,$T.warning=o,$T.warningOnce=l;var e={},t=[],n=$T.preMessage=function(e){t.push(e)};function o(e,n){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var o=t.reduce((function(e,t){return t(null!=e?e:"","warning")}),n);o&&console.error("Warning: ".concat(o))}}function r(e,n){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var o=t.reduce((function(e,t){return t(null!=e?e:"","note")}),n);o&&console.warn("Note: ".concat(o))}}function i(){e={}}function a(t,n,o){n||e[o]||(t(!1,o),e[o]=!0)}function l(e,t){a(o,e,t)}function c(e,t){a(r,e,t)}return l.preMessage=n,l.resetWarned=i,l.noteOnce=c,$T.default=l,$T}function MT(){if(ET)return mT;ET=1;var e=gP().default,n=bP().default;Object.defineProperty(mT,"__esModule",{value:!0}),mT.generate=function e(t,n,r){if(!r)return s.default.createElement(t.tag,(0,o.default)({key:n},d(t.attrs)),(t.children||[]).map((function(o,r){return e(o,"".concat(n,"-").concat(t.tag,"-").concat(r))})));return s.default.createElement(t.tag,(0,o.default)((0,o.default)({key:n},d(t.attrs)),r),(t.children||[]).map((function(o,r){return e(o,"".concat(n,"-").concat(t.tag,"-").concat(r))})))},mT.getSecondaryColor=function(e){return(0,i.generate)(e)[0]},mT.iconStyles=void 0,mT.isIconDefinition=function(e){return"object"===(0,r.default)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,r.default)(e.icon)||"function"==typeof e.icon)},mT.normalizeAttrs=d,mT.normalizeTwoToneColors=function(e){if(!e)return[];return Array.isArray(e)?e:[e]},mT.useInsertStyles=mT.svgBaseProps=void 0,mT.warning=function(e,t){(0,c.default)(e,"[@ant-design/icons] ".concat(t))};var o=n(pT()),r=n(mP()),i=aT,a=xT(),l=function(){if(CT)return wT;function e(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function t(t){return e(t)instanceof ShadowRoot}return CT=1,Object.defineProperty(wT,"__esModule",{value:!0}),wT.getShadowRoot=function(n){return t(n)?e(n):null},wT.inShadow=t,wT}(),c=n(OT()),s=e(t),u=n(cT());function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var o,r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[(o=n,o.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=r;return t}),{})}mT.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p=mT.iconStyles="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";return mT.useInsertStyles=function(e){var t=(0,s.useContext)(u.default),n=t.csp,o=t.prefixCls,r=t.layer,i=p;o&&(i=i.replace(/anticon/g,o)),r&&(i="@layer ".concat(r," {\n").concat(i,"\n}")),(0,s.useEffect)((function(){var t=e.current,o=(0,l.getShadowRoot)(t);(0,a.updateCSS)(i,"@ant-design-icons",{prepend:!r,csp:n,attachTo:o})}),[])},mT}function NT(){if(kT)return uT;kT=1;var e=bP().default,n=gP().default;Object.defineProperty(uT,"__esModule",{value:!0}),uT.default=void 0;var o=e(rT()),r=e(pT()),i=n(t),a=MT(),l=["icon","className","onClick","style","primaryColor","secondaryColor"],c={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var s=function(e){var t=e.icon,n=e.className,s=e.onClick,u=e.style,d=e.primaryColor,p=e.secondaryColor,f=(0,o.default)(e,l),m=i.useRef(),g=c;if(d&&(g={primaryColor:d,secondaryColor:p||(0,a.getSecondaryColor)(d)}),(0,a.useInsertStyles)(m),(0,a.warning)((0,a.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.isIconDefinition)(t))return null;var h=t;return h&&"function"==typeof h.icon&&(h=(0,r.default)((0,r.default)({},h),{},{icon:h.icon(g.primaryColor,g.secondaryColor)})),(0,a.generate)(h.icon,"svg-".concat(h.name),(0,r.default)((0,r.default)({className:n,onClick:s,style:u,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:m}))};return s.displayName="IconReact",s.getTwoToneColors=function(){return(0,r.default)({},c)},s.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;c.primaryColor=t,c.secondaryColor=n||(0,a.getSecondaryColor)(t),c.calculated=!!n},uT.default=s,uT}var jT,IT,PT,TT,RT={};function BT(){if(jT)return RT;jT=1;var e=bP().default;Object.defineProperty(RT,"__esModule",{value:!0}),RT.getTwoToneColor=function(){var e=n.default.getTwoToneColors();if(!e.calculated)return e.primaryColor;return[e.primaryColor,e.secondaryColor]},RT.setTwoToneColor=function(e){var r=(0,o.normalizeTwoToneColors)(e),i=(0,t.default)(r,2),a=i[0],l=i[1];return n.default.setTwoToneColors({primaryColor:a,secondaryColor:l})};var t=e(WP()),n=e(NT()),o=MT();return RT}function zT(){if(IT)return $P;IT=1;var e=bP().default,n=gP().default;Object.defineProperty($P,"__esModule",{value:!0}),$P.default=void 0;var o=e(CP()),r=e(WP()),i=e(QP()),a=e(rT()),l=n(t),c=e(p()),s=aT,u=e(cT()),d=e(NT()),f=BT(),m=MT(),g=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,f.setTwoToneColor)(s.blue.primary);var h=l.forwardRef((function(e,t){var n=e.className,s=e.icon,p=e.spin,f=e.rotate,h=e.tabIndex,v=e.onClick,b=e.twoToneColor,y=(0,a.default)(e,g),x=l.useContext(u.default),C=x.prefixCls,w=void 0===C?"anticon":C,S=x.rootClassName,E=(0,c.default)(S,w,(0,i.default)((0,i.default)({},"".concat(w,"-").concat(s.name),!!s.name),"".concat(w,"-spin"),!!p||"loading"===s.name),n),k=h;void 0===k&&v&&(k=-1);var $=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,O=(0,m.normalizeTwoToneColors)(b),M=(0,r.default)(O,2),N=M[0],j=M[1];return l.createElement("span",(0,o.default)({role:"img","aria-label":s.name},y,{ref:t,tabIndex:k,onClick:v,className:E}),l.createElement(d.default,{icon:s,primaryColor:N,secondaryColor:j,style:$}))}));return h.displayName="AntdIcon",h.getTwoToneColor=f.getTwoToneColor,h.setTwoToneColor=f.setTwoToneColor,$P.default=h,$P}function DT(){if(PT)return dP;PT=1;var e=gP().default,n=bP().default;Object.defineProperty(dP,"__esModule",{value:!0}),dP.default=void 0;var o=n(CP()),r=e(t),i=n(EP()),a=n(zT()),l=function(e,t){return r.createElement(a.default,(0,o.default)({},e,{ref:t,icon:i.default}))},c=r.forwardRef(l);return"production"!==process.env.NODE_ENV&&(c.displayName="ArrowLeftOutlined"),dP.default=c,dP}function LT(){return TT||(TT=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n;const o=(n=DT())&&n.__esModule?n:{default:n};t.default=o,e.exports=o}(uP,uP.exports)),uP.exports}var FT,HT,AT,_T=c(LT()),WT={exports:{}},VT={},XT={};function GT(){if(FT)return XT;FT=1,Object.defineProperty(XT,"__esModule",{value:!0});return XT.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},XT}function qT(){if(HT)return VT;HT=1;var e=gP().default,n=bP().default;Object.defineProperty(VT,"__esModule",{value:!0}),VT.default=void 0;var o=n(CP()),r=e(t),i=n(GT()),a=n(zT()),l=function(e,t){return r.createElement(a.default,(0,o.default)({},e,{ref:t,icon:i.default}))},c=r.forwardRef(l);return"production"!==process.env.NODE_ENV&&(c.displayName="ArrowRightOutlined"),VT.default=c,VT}function KT(){return AT||(AT=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n;const o=(n=qT())&&n.__esModule?n:{default:n};t.default=o,e.exports=o}(WT,WT.exports)),WT.exports}var UT=c(KT()),YT=function(e){var t;return it({},e.componentCls,lt(lt({},null==CI?void 0:CI(e)),{},it(it(it(it(it(it(it(it({position:"relative",backgroundColor:e.colorWhite,paddingBlock:e.pageHeaderPaddingVertical+2,paddingInline:e.pageHeaderPadding,"&&-ghost":{backgroundColor:e.pageHeaderBgGhost},"&-no-children":{height:null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.paddingBlockPageContainerContent},"&&-has-breadcrumb":{paddingBlockStart:e.pageHeaderPaddingBreadCrumb},"&&-has-footer":{paddingBlockEnd:0},"& &-back":it({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":lt(lt({fontSize:16},null==wI?void 0:wI(e)),{},{color:e.pageHeaderColorBack,cursor:"pointer"})},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:e.marginSM,verticalAlign:"middle"}),"& &-breadcrumb + &-heading",{marginBlockStart:e.marginXS}),"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":lt(lt({marginInlineEnd:e.marginSM,marginBlockEnd:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderFontSizeHeaderTitle,lineHeight:e.controlHeight+"px"},{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),{},it({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:e.marginSM})),"&-avatar":it({marginInlineEnd:e.marginSM},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:e.marginSM}),"&-tags":it({},"".concat(e.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":lt(lt({marginInlineEnd:e.marginSM,color:e.colorTextSecondary,fontSize:e.pageHeaderFontSizeHeaderSubTitle,lineHeight:e.lineHeight},{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),{},it({},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":it(it({marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":it({"white-space":"unset"},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:e.marginSM,marginInlineStart:0})},"".concat(e.componentCls,"-rlt &"),{float:"left"}),"*:first-child",it({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0}))}),"&-content",{paddingBlockStart:e.pageHeaderPaddingContentPadding}),"&-footer",{marginBlockStart:e.margin}),"&-compact &-heading",{flexWrap:"wrap"}),"&-wide",{maxWidth:1152,margin:"0 auto"}),"&-rtl",{direction:"rtl"})))};var ZT=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=arguments.length>3?arguments[3]:void 0,i=n.title,a=n.avatar,l=n.subTitle,c=n.tags,s=n.extra,u=n.onBack,d="".concat(t,"-heading"),p=i||l||c||s;if(!p)return null;var m=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";return void 0!==t.backIcon?t.backIcon:"rtl"===n?e.jsx(UT,{}):e.jsx(_T,{})}(n,o),g=function(t,n,o,r){return o&&r?e.jsx("div",{className:"".concat(t,"-back ").concat(n).trim(),children:e.jsx("div",{role:"button",onClick:function(e){null==r||r(e)},className:"".concat(t,"-back-button ").concat(n).trim(),"aria-label":"back",children:o})}):null}(t,r,m,u),h=g||a||p;return e.jsxs("div",{className:d+" "+r,children:[h&&e.jsxs("div",{className:"".concat(d,"-left ").concat(r).trim(),children:[g,a&&e.jsx(Iy,lt({className:f("".concat(d,"-avatar"),r,a.className)},a)),i&&e.jsx("span",{className:"".concat(d,"-title ").concat(r).trim(),title:"string"==typeof i?i:void 0,children:i}),l&&e.jsx("span",{className:"".concat(d,"-sub-title ").concat(r).trim(),title:"string"==typeof l?l:void 0,children:l}),c&&e.jsx("span",{className:"".concat(d,"-tags ").concat(r).trim(),children:c})]}),s&&e.jsx("span",{className:"".concat(d,"-extra ").concat(r).trim(),children:e.jsx(VE,{children:s})})]})},QT=function e(t){return null==t?void 0:t.map((function(t){var n;return Nt(!!t.breadcrumbName,"Route.breadcrumbName is deprecated, please use Route.title instead."),lt(lt({},t),{},{breadcrumbName:void 0,children:void 0,title:t.title||t.breadcrumbName},null!==(n=t.children)&&void 0!==n&&n.length?{menu:{items:e(t.children)}}:{})}))},JT=function(t){var n,o=tt(i.useState(!1),2),r=o[0],a=o[1],l=i.useContext(xc.ConfigContext),c=l.getPrefixCls,s=l.direction,u=t.prefixCls,d=t.style,p=t.footer,m=t.children,g=t.breadcrumb,h=t.breadcrumbRender,v=t.className,b=t.contentWidth,y=t.layout,x=t.ghost,C=void 0===x||x,w=c("page-header",u),S=function(e){return SI("ProLayoutPageHeader",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:t.paddingSM,pageHeaderColorBack:t.colorTextHeading,pageHeaderFontSizeHeaderTitle:t.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:t.paddingSM});return[YT(n)]}))}(w),E=S.wrapSSR,k=S.hashId,$=(!g||null!=g&&g.items||null==g||!g.routes||(Nt(!1,"The routes of Breadcrumb is deprecated, please use items instead."),g.items=QT(g.routes)),null!=g&&g.items?function(t,n){var o;return null!==(o=t.items)&&void 0!==o&&o.length?e.jsx(cw,lt(lt({},t),{},{className:f("".concat(n,"-breadcrumb"),t.className)})):null}(g,w):null),O=g&&"props"in g,M=null!==(n=null==h?void 0:h(lt(lt({},t),{},{prefixCls:w}),$))&&void 0!==n?n:$,N=O?g:M,j=f(w,k,v,it(it(it(it(it(it({},"".concat(w,"-has-breadcrumb"),!!N),"".concat(w,"-has-footer"),!!p),"".concat(w,"-rtl"),"rtl"===s),"".concat(w,"-compact"),r),"".concat(w,"-wide"),"Fixed"===b&&"top"==y),"".concat(w,"-ghost"),C)),I=ZT(w,t,s,k),P=m&&function(t,n,o){return e.jsx("div",{className:"".concat(t,"-content ").concat(o).trim(),children:n})}(w,m,k),T=function(t,n,o){return n?e.jsx("div",{className:"".concat(t,"-footer ").concat(o).trim(),children:n}):null}(w,p,k);return N||I||T||P?E(e.jsx($r,{onResize:function(e){var t=e.width;return a(t<768)},children:e.jsxs("div",{className:j,style:d,children:[N,I,P,T]})})):e.jsx("div",{className:f(k,["".concat(w,"-no-children")])})},eR=["isLoading","pastDelay","timedOut","error","retry"],tR=function(t){t.isLoading,t.pastDelay,t.timedOut,t.error,t.retry;var n=nt(t,eR);return e.jsx("div",{style:{paddingBlockStart:100,textAlign:"center"},children:e.jsx(G$,lt({size:"large"},n))})},nR=function(n){var o=xI().token,r=n.children,i=n.style,a=n.className,l=n.markStyle,c=n.markClassName,s=n.zIndex,u=void 0===s?9:s,d=n.gapX,p=void 0===d?212:d,m=n.gapY,g=void 0===m?222:m,h=n.width,v=void 0===h?120:h,b=n.height,y=void 0===b?64:b,x=n.rotate,C=void 0===x?-22:x,w=n.image,S=n.offsetLeft,E=n.offsetTop,k=n.fontStyle,$=void 0===k?"normal":k,O=n.fontWeight,M=void 0===O?"normal":O,N=n.fontColor,j=void 0===N?o.colorFill:N,I=n.fontSize,P=void 0===I?16:I,T=n.fontFamily,R=void 0===T?"sans-serif":T,B=n.prefixCls,z=(0,t.useContext(xc.ConfigContext).getPrefixCls)("pro-layout-watermark",B),D=f("".concat(z,"-wrapper"),a),L=f(z,c),F=tt(t.useState(""),2),H=F[0],A=F[1];return t.useEffect((function(){var e=document.createElement("canvas"),t=e.getContext("2d"),o=function(e){if(!e)return 1;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/t}(t),r="".concat((p+v)*o,"px"),i="".concat((g+y)*o,"px"),a=S||p/2,l=E||g/2;if(e.setAttribute("width",r),e.setAttribute("height",i),t){t.translate(a*o,l*o),t.rotate(Math.PI/180*Number(C));var c=v*o,s=y*o,u=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=Number(P)*o;t.font="".concat($," normal ").concat(M," ").concat(i,"px/").concat(s,"px ").concat(R),t.fillStyle=j,Array.isArray(n)?null==n||n.forEach((function(e,n){return t.fillText(e,0,n*i+r)})):t.fillText(n,0,r?r+i:0),A(e.toDataURL())};if(w){var d=new Image;return d.crossOrigin="anonymous",d.referrerPolicy="no-referrer",d.src=w,void(d.onload=function(){t.drawImage(d,0,0,c,s),A(e.toDataURL()),n.content&&u(n.content,d.height+8)})}n.content&&u(n.content)}else console.error("当前环境不支持Canvas")}),[p,g,S,E,C,$,M,v,y,R,j,w,n.content,P]),e.jsxs("div",{style:lt({position:"relative"},i),className:D,children:[r,e.jsx("div",{className:L,style:lt(lt({zIndex:u,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(p+v,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},H?{backgroundImage:"url('".concat(H,"')")}:{}),l)})]})},oR=tt([576,768,992,1200].map((function(e){return"@media (max-width: ".concat(e,"px)")})),4),rR=oR[0],iR=oR[1],aR=oR[2],lR=oR[3],cR=function(e){var t,n,o,r,i,a,l,c,s,u,d,p,f,m,g,h,v,b;return it({},e.componentCls,it(it(it(it(it(it({position:"relative","&-children-container":{paddingBlockStart:0,paddingBlockEnd:null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.paddingBlockPageContainerContent,paddingInline:null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.paddingInlinePageContainerContent},"&-children-container-no-header":{paddingBlockStart:null===(o=e.layout)||void 0===o||null===(o=o.pageContainer)||void 0===o?void 0:o.paddingBlockPageContainerContent},"&-affix":it({},"".concat(e.antCls,"-affix"),it({},"".concat(e.componentCls,"-warp"),{backgroundColor:null===(r=e.layout)||void 0===r||null===(r=r.pageContainer)||void 0===r?void 0:r.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},"& &-warp-page-header",it(it(it(it({paddingBlockStart:(null!==(i=null===(a=e.layout)||void 0===a||null===(a=a.pageContainer)||void 0===a?void 0:a.paddingBlockPageContainerContent)&&void 0!==i?i:40)/4,paddingBlockEnd:(null!==(l=null===(c=e.layout)||void 0===c||null===(c=c.pageContainer)||void 0===c?void 0:c.paddingBlockPageContainerContent)&&void 0!==l?l:40)/2,paddingInlineStart:null===(s=e.layout)||void 0===s||null===(s=s.pageContainer)||void 0===s?void 0:s.paddingInlinePageContainerContent,paddingInlineEnd:null===(u=e.layout)||void 0===u||null===(u=u.pageContainer)||void 0===u?void 0:u.paddingInlinePageContainerContent},"& ~ ".concat(e.proComponentsCls,"-grid-content"),it({},"".concat(e.proComponentsCls,"-page-container-children-content"),{paddingBlock:(null!==(d=null===(p=e.layout)||void 0===p||null===(p=p.pageContainer)||void 0===p?void 0:p.paddingBlockPageContainerContent)&&void 0!==d?d:24)/3})),"".concat(e.antCls,"-page-header-breadcrumb"),{paddingBlockStart:(null!==(f=null===(m=e.layout)||void 0===m||null===(m=m.pageContainer)||void 0===m?void 0:m.paddingBlockPageContainerContent)&&void 0!==f?f:40)/4+10}),"".concat(e.antCls,"-page-header-heading"),{paddingBlockStart:(null!==(g=null===(h=e.layout)||void 0===h||null===(h=h.pageContainer)||void 0===h?void 0:h.paddingBlockPageContainerContent)&&void 0!==g?g:40)/4}),"".concat(e.antCls,"-page-header-footer"),{marginBlockStart:(null!==(v=null===(b=e.layout)||void 0===b||null===(b=b.pageContainer)||void 0===b?void 0:b.paddingBlockPageContainerContent)&&void 0!==v?v:40)/4})),"&-detail",it({display:"flex"},rR,{display:"block"})),"&-main",{width:"100%"}),"&-row",it({display:"flex",width:"100%"},iR,{display:"block"})),"&-content",{flex:"auto",width:"100%"}),"&-extraContent",it(it(it(it({flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},lR,{marginInlineStart:44}),aR,{marginInlineStart:20}),iR,{marginInlineStart:0,textAlign:"start"}),rR,{marginInlineStart:0})))};var sR=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],uR=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];var dR=function(t){var n=t.tabList,o=t.tabActiveKey,r=t.onTabChange,i=t.hashId,a=t.tabBarExtraContent,l=t.tabProps,c=t.prefixedClassName;return Array.isArray(n)||a?e.jsx(jS,lt(lt({className:"".concat(c,"-tabs ").concat(i).trim(),activeKey:o,onChange:function(e){r&&r(e)},tabBarExtraContent:a,items:null==n?void 0:n.map((function(e,t){var n;return lt(lt({label:e.tab},e),{},{key:(null===(n=e.key)||void 0===n?void 0:n.toString())||(null==t?void 0:t.toString())})}))},l),{},{children:XI(Xa,"4.23.0")<0?null==n?void 0:n.map((function(t,n){return e.jsx(jS.TabPane,lt({tab:t.tab},t),t.key||n)})):null})):null},pR=function(t,n,o,r){return t||n?e.jsx("div",{className:"".concat(o,"-detail ").concat(r).trim(),children:e.jsx("div",{className:"".concat(o,"-main ").concat(r).trim(),children:e.jsxs("div",{className:"".concat(o,"-row ").concat(r).trim(),children:[t&&e.jsx("div",{className:"".concat(o,"-content ").concat(r).trim(),children:t}),n&&e.jsx("div",{className:"".concat(o,"-extraContent ").concat(r).trim(),children:n})]})})}):null},fR=function(t){var n,o=t.title,r=t.content,i=t.pageHeaderRender,a=t.header,l=t.prefixedClassName,c=t.extraContent;t.childrenContentStyle,t.style;var s=t.prefixCls,u=t.hashId,d=t.value,p=t.breadcrumbRender,f=nt(t,sR);if(!1===i)return null;if(i)return e.jsxs(e.Fragment,{children:[" ",i(lt(lt({},t),d))]});var m=o;o||!1===o||(m=d.title);var g=lt(lt(lt({},d),{},{title:m},f),{},{footer:dR(lt(lt({},f),{},{hashId:u,breadcrumbRender:p,prefixedClassName:l}))},a),h=g.breadcrumb,v=!(h&&(null!=h&&h.itemRender||null!=h&&null!==(n=h.items)&&void 0!==n&&n.length)||p);return["title","subTitle","extra","tags","footer","avatar","backIcon"].every((function(e){return!g[e]}))&&v&&!r&&!c?null:e.jsx(JT,lt(lt({},g),{},{className:"".concat(l,"-warp-page-header ").concat(u).trim(),breadcrumb:!1===p?void 0:lt(lt({},g.breadcrumb),d.breadcrumbProps),breadcrumbRender:function(){if(p)return p}(),prefixCls:s,children:(null==a?void 0:a.children)||pR(r,c,l,u)}))},mR=function(n){var o,r,i=n.children,a=n.loading,l=void 0!==a&&a,c=n.className,s=n.style,u=n.footer,d=n.affixProps,p=n.token,m=n.fixedHeader,g=n.breadcrumbRender,h=n.footerToolBarProps,v=n.childrenContentStyle,b=nt(n,uR),y=t.useContext(iP);t.useEffect((function(){var e;return y&&null!=y&&y.setHasPageContainer?(null==y||null===(e=y.setHasPageContainer)||void 0===e||e.call(y,(function(e){return e+1})),function(){var e;null==y||null===(e=y.setHasPageContainer)||void 0===e||e.call(y,(function(e){return e-1}))}):function(){}}),[]);var x=t.useContext(zI).token,C=t.useContext(xc.ConfigContext).getPrefixCls,w=n.prefixCls||C("pro"),S="".concat(w,"-page-container"),E=function(e,t){return SI("ProLayoutPageContainer",(function(n){var o,r=lt(lt({},n),{},{componentCls:".".concat(e),layout:lt(lt({},null==n?void 0:n.layout),{},{pageContainer:lt(lt({},null==n||null===(o=n.layout)||void 0===o?void 0:o.pageContainer),t)})});return[cR(r)]}))}(S,p),k=E.wrapSSR,$=E.hashId,O=function(e,t){var n=t.stylish;return SI("ProLayoutPageContainerStylish",(function(t){var o=lt(lt({},t),{},{componentCls:".".concat(e)});return n?[it({},"div".concat(o.componentCls),null==n?void 0:n(o))]:[]}))}("".concat(S,".").concat(S,"-stylish"),{stylish:n.stylish}),M=t.useMemo((function(){var e;return 0!=g&&(g||(null==b||null===(e=b.header)||void 0===e?void 0:e.breadcrumbRender))}),[g,null==b||null===(o=b.header)||void 0===o?void 0:o.breadcrumbRender]),N=fR(lt(lt({},b),{},{breadcrumbRender:M,ghost:!0,hashId:$,prefixCls:void 0,prefixedClassName:S,value:y})),j=t.useMemo((function(){if(t.isValidElement(l))return l;if("boolean"==typeof l&&!l)return null;var n=function(e){return"object"===ot(e)?e:{spinning:e}}(l);return n.spinning?e.jsx(tR,lt({},n)):null}),[l]),I=t.useMemo((function(){return i?e.jsx(e.Fragment,{children:e.jsx("div",{className:f($,"".concat(S,"-children-container"),it({},"".concat(S,"-children-container-no-header"),!N)),style:v,children:i})}):null}),[i,S,v,$]),P=t.useMemo((function(){var t=j||I;if(n.waterMarkProps||y.waterMarkProps){var o=lt(lt({},y.waterMarkProps),n.waterMarkProps);return e.jsx(nR,lt(lt({},o),{},{children:t}))}return t}),[n.waterMarkProps,y.waterMarkProps,j,I]),T=f(S,$,c,it(it(it({},"".concat(S,"-with-footer"),u),"".concat(S,"-with-affix"),m&&N),"".concat(S,"-stylish"),!!b.stylish));return k(O.wrapSSR(e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:s,className:T,children:[m&&N?e.jsx(Mc,lt(lt({offsetTop:y.hasHeader&&y.fixedHeader?null===(r=x.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.heightLayoutHeader:1},d),{},{className:"".concat(S,"-affix ").concat($).trim(),children:e.jsx("div",{className:"".concat(S,"-warp ").concat($).trim(),children:N})})):N,P&&e.jsx(sP,{children:P})]}),u&&e.jsx(rP,lt(lt({stylish:b.footerStylish,prefixCls:w},h),{},{children:u}))]})))},gR=function(e){return it({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};var hR=function(n){var o=n.className,r=n.prefixCls,i=n.links,a=n.copyright,l=n.style,c=t.useContext(xc.ConfigContext).getPrefixCls(r||"pro-global-footer"),s=function(e){return SI("ProLayoutFooter",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[gR(n)]}))}(c),u=s.wrapSSR,d=s.hashId;return!(null==i||!1===i||Array.isArray(i)&&0===i.length)||null!=a&&!1!==a?u(e.jsxs("div",{className:f(c,d,o),style:l,children:[i&&e.jsx("div",{className:"".concat(c,"-list ").concat(d).trim(),children:i.map((function(t){return e.jsx("a",{className:"".concat(c,"-list-link ").concat(d).trim(),title:t.key,target:t.blankTarget?"_blank":"_self",href:t.href,rel:"noreferrer",children:t.title},t.key)}))}),a&&e.jsx("div",{className:"".concat(c,"-copyright ").concat(d).trim(),children:a})]})):null},vR=i$.Footer,bR=function(n){var o=n.links,r=n.copyright,i=n.style,a=n.className,l=n.prefixCls;return e.jsx(vR,{className:a,style:lt({padding:0},i),children:e.jsx(hR,{links:o,prefixCls:l,copyright:!1===r?null:e.jsxs(t.Fragment,{children:[e.jsx(CO,{})," ",r]})})})},yR=function e(t){return(t||[]).reduce((function(t,n){return n.key&&t.push(n.key),n.children||n.routes?t.concat(e(n.children||n.routes)||[]):t}),[])},xR={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function CR(e){return e&&xR[e]?xR[e]:e||""}function wR(e){return e.map((function(e){var t=e.children||[],n=lt({},e);if(!n.children&&n.routes&&(n.children=n.routes),!n.name||n.hideInMenu)return null;if(n&&null!=n&&n.children){if(!n.hideChildrenInMenu&&t.some((function(e){return e&&e.name&&!e.hideInMenu})))return lt(lt({},e),{},{children:wR(t)});delete n.children}return delete n.routes,n})).filter((function(e){return e}))}var SR=function(){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},ER=function t(n){var o=n.appList,r=n.baseClassName,i=n.hashId,a=n.itemClick;return e.jsx("div",{className:"".concat(r,"-content ").concat(i).trim(),children:e.jsx("ul",{className:"".concat(r,"-content-list ").concat(i).trim(),children:null==o?void 0:o.map((function(n,o){var l;return null!=n&&null!==(l=n.children)&&void 0!==l&&l.length?e.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(i).trim(),children:[e.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(i).trim(),children:n.title}),e.jsx(t,{hashId:i,itemClick:a,appList:null==n?void 0:n.children,baseClassName:r})]},o):e.jsx("li",{className:"".concat(r,"-content-list-item ").concat(i).trim(),onClick:function(e){e.stopPropagation(),null==a||a(n)},children:e.jsxs("a",{href:a?void 0:n.url,target:n.target,rel:"noreferrer",children:[jR(n.icon),e.jsxs("div",{children:[e.jsx("div",{children:n.title}),n.desc?e.jsx("span",{children:n.desc}):null]})]})},o)}))})})},kR=function(t,n){if(t&&"string"==typeof t&&QI(t))return e.jsx("img",{src:t,alt:"logo"});if("function"==typeof t)return t();if(t&&"string"==typeof t)return e.jsx("div",{id:"avatarLogo",children:t});if(!t&&n&&"string"==typeof n){var o=n.substring(0,1);return e.jsx("div",{id:"avatarLogo",children:o})}return t},$R=function t(n){var o=n.appList,r=n.baseClassName,i=n.hashId,a=n.itemClick;return e.jsx("div",{className:"".concat(r,"-content ").concat(i).trim(),children:e.jsx("ul",{className:"".concat(r,"-content-list ").concat(i).trim(),children:null==o?void 0:o.map((function(n,o){var l;return null!=n&&null!==(l=n.children)&&void 0!==l&&l.length?e.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(i).trim(),children:[e.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(i).trim(),children:n.title}),e.jsx(t,{hashId:i,itemClick:a,appList:null==n?void 0:n.children,baseClassName:r})]},o):e.jsx("li",{className:"".concat(r,"-content-list-item ").concat(i).trim(),onClick:function(e){e.stopPropagation(),null==a||a(n)},children:e.jsxs("a",{href:a?"javascript:;":n.url,target:n.target,rel:"noreferrer",children:[kR(n.icon,n.title),e.jsx("div",{children:e.jsx("div",{children:n.title})})]})},o)}))})})},OR=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":null==CI?void 0:CI(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},MR=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},NR=function(e){var t,n,o,r,i;return it({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:null===(t=e.layout)||void 0===t?void 0:t.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:null===(n=e.layout)||void 0===n?void 0:n.colorTextAppListIconHover,backgroundColor:null===(o=e.layout)||void 0===o?void 0:o.colorBgAppListIconHover},"&-active":{color:null===(r=e.layout)||void 0===r?void 0:r.colorTextAppListIconHover,backgroundColor:null===(i=e.layout)||void 0===i?void 0:i.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":it({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":MR(e),"&-default":OR(e)})};var jR=function(t){return"string"==typeof t?e.jsx("img",{width:"auto",height:22,src:t,alt:"logo"}):"function"==typeof t?t():t},IR=function(n){var o,r=n.appList,i=n.appListRender,a=n.prefixCls,l=void 0===a?"ant-pro":a,c=n.onItemClick,s=t.useRef(null),u=t.useRef(null),d="".concat(l,"-layout-apps"),p=function(e){return SI("AppsLogoComponents",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[NR(n)]}))}(d),m=p.wrapSSR,g=p.hashId,h=tt(t.useState(!1),2),v=h[0],b=h[1],y=function(e){null==c||c(e,u)},x=t.useMemo((function(){return(null==r?void 0:r.some((function(e){return!(null!=e&&e.desc)})))?e.jsx($R,{hashId:g,appList:r,itemClick:c?y:void 0,baseClassName:"".concat(d,"-simple")}):e.jsx(ER,{hashId:g,appList:r,itemClick:c?y:void 0,baseClassName:"".concat(d,"-default")})}),[r,d,g]);if(null==n||null===(o=n.appList)||void 0===o||!o.length)return null;var C=i?i(null==n?void 0:n.appList,x):x,w=qI(void 0,(function(e){return b(e)}));return m(e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:s,onClick:function(e){e.stopPropagation(),e.preventDefault()}}),e.jsx(Ny,lt(lt({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},w),{},{overlayClassName:"".concat(d,"-popover ").concat(g).trim(),content:C,getPopupContainer:function(){return s.current||document.body},children:e.jsx("span",{ref:u,onClick:function(e){e.stopPropagation()},className:f("".concat(d,"-icon"),g,it({},"".concat(d,"-icon-active"),v)),children:e.jsx(SR,{})})}))]}))};function PR(){return e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var TR=function(e){var t,n,o;return it({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorTextCollapsedButton,backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};var RR=["isMobile","collapsed"],BR=function(t){var n,o=t.isMobile,r=t.collapsed,i=nt(t,RR),a=(n=t.className,SI("SiderMenuCollapsedIcon",(function(e){var t=lt(lt({},e),{},{componentCls:".".concat(n)});return[TR(t)]}))),l=a.wrapSSR,c=a.hashId;return o&&r?null:l(e.jsx("div",lt(lt({},i),{},{className:f(t.className,c,it(it({},"".concat(t.className,"-collapsed"),r),"".concat(t.className,"-is-mobile"),o)),children:e.jsx(PR,{})})))},zR={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},DR=function(e,t){var n,o,r=t.includes("horizontal")?null===(n=e.layout)||void 0===n?void 0:n.header:null===(o=e.layout)||void 0===o?void 0:o.sider;return lt(lt(it({},"".concat(e.componentCls),it(it(it(it(it(it(it(it(it({background:"transparent",color:null==r?void 0:r.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),it({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",it(it(it({},"".concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title, \n ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".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, \n ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:null==r?void 0:r.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),it({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",it(it(it(it(it({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",it(it({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),it({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),it(it({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".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})))),"&-group",it({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:it({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),it({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},it({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};var LR=function(n){var o=tt(t.useState(n.collapsed),2),r=o[0],i=o[1],a=tt(t.useState(!1),2),l=a[0],c=a[1];return t.useEffect((function(){c(!1),setTimeout((function(){i(n.collapsed)}),400)}),[n.collapsed]),n.disable?n.children:e.jsx(xy,{title:n.title,open:!(!r||!n.collapsed)&&l,placement:"right",onOpenChange:c,children:n.children})},FR=AO({scriptUrl:zR.iconfontUrl}),HR=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"icon-",o=arguments.length>2?arguments[2]:void 0;if("string"==typeof t&&""!==t){if(QI(t)||function(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}(t))return e.jsx("img",{width:16,src:t,alt:"icon",className:o},t);if(t.startsWith(n))return e.jsx(FR,{type:t})}return t},AR=function(e){return e&&"string"==typeof e?e.substring(0,1).toUpperCase():null},_R=Tt((function t(n){var o=this;It(this,t),it(this,"props",void 0),it(this,"getNavMenuItems",(function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(n){return o.getSubMenuOrItem(n,e,t)})).filter((function(e){return e})).flat(1)})),it(this,"getSubMenuOrItem",(function(t,n,r){var i=o.props,a=i.subMenuItemRender,l=i.baseClassName,c=i.prefixCls,s=i.collapsed,u=i.menu,d=i.iconPrefixes,p=i.layout,m="group"===(null==u?void 0:u.type)&&"top"!==p,g=o.props.token,h=o.getIntlName(t),v=(null==t?void 0:t.children)||(null==t?void 0:t.routes),b=m&&0===n?"group":void 0;if(Array.isArray(v)&&v.length>0){var y,x,C,w,S,E=0===n||m&&1===n,k=HR(t.icon,d,"".concat(l,"-icon ").concat(null===(y=o.props)||void 0===y?void 0:y.hashId)),$=s&&E?AR(h):null,O=e.jsxs("div",{className:f("".concat(l,"-item-title"),null===(x=o.props)||void 0===x?void 0:x.hashId,it(it(it(it({},"".concat(l,"-item-title-collapsed"),s),"".concat(l,"-item-title-collapsed-level-").concat(r),s),"".concat(l,"-group-item-title"),"group"===b),"".concat(l,"-item-collapsed-show-title"),(null==u?void 0:u.collapsedShowTitle)&&s)),children:["group"===b&&s?null:E&&k?e.jsx("span",{className:"".concat(l,"-item-icon ").concat(null===(C=o.props)||void 0===C?void 0:C.hashId).trim(),children:k}):$,e.jsx("span",{className:f("".concat(l,"-item-text"),null===(w=o.props)||void 0===w?void 0:w.hashId,it({},"".concat(l,"-item-text-has-icon"),"group"!==b&&E&&(k||$))),children:h})]}),M=a?a(lt(lt({},t),{},{isUrl:!1}),O,o.props):O;if(m&&0===n&&o.props.collapsed&&!u.collapsedShowGroupTitle)return o.getNavMenuItems(v,n+1,n);var N=o.getNavMenuItems(v,n+1,m&&0===n&&o.props.collapsed?n:n+1);return[{type:b,key:t.key||t.path,label:M,onClick:m?void 0:t.onTitleClick,children:N,className:f(it(it(it({},"".concat(l,"-group"),"group"===b),"".concat(l,"-submenu"),"group"!==b),"".concat(l,"-submenu-has-icon"),"group"!==b&&E&&k))},m&&0===n?{type:"divider",prefixCls:c,className:"".concat(l,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:o.props.collapsed?"4px":"6px 16px",marginBlockStart:o.props.collapsed?4:8,borderColor:null==g||null===(S=g.layout)||void 0===S||null===(S=S.sider)||void 0===S?void 0:S.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:o.getMenuItemPath(t,n,r)}})),it(this,"getIntlName",(function(e){var t=e.name,n=e.locale,r=o.props,i=r.menu,a=r.formatMessage,l=t;return n&&!1!==(null==i?void 0:i.locale)&&(l=null==a?void 0:a({id:n,defaultMessage:t})),o.props.menuTextRender?o.props.menuTextRender(e,l,o.props):l})),it(this,"getMenuItemPath",(function(t,n,r){var i,a,l,c,s,u,d,p=o.conversionPath(t.path||"/"),m=o.props,g=m.location,h=void 0===g?{pathname:"/"}:g,v=m.isMobile,b=m.onCollapse,y=m.menuItemRender,x=m.iconPrefixes,C=o.getIntlName(t),w=o.props,S=w.baseClassName,E=w.menu,k=w.collapsed,$="group"===(null==E?void 0:E.type),O=0===n||$&&1===n,M=O?HR(t.icon,x,"".concat(S,"-icon ").concat(null===(i=o.props)||void 0===i?void 0:i.hashId)):null,N=k&&O?AR(C):null,j=e.jsxs("div",{className:f("".concat(S,"-item-title"),null===(a=o.props)||void 0===a?void 0:a.hashId,it(it(it({},"".concat(S,"-item-title-collapsed"),k),"".concat(S,"-item-title-collapsed-level-").concat(r),k),"".concat(S,"-item-collapsed-show-title"),(null==E?void 0:E.collapsedShowTitle)&&k)),children:[e.jsx("span",{className:"".concat(S,"-item-icon ").concat(null===(l=o.props)||void 0===l?void 0:l.hashId).trim(),style:{display:null!==N||M?"":"none"},children:M||e.jsx("span",{className:"anticon",children:N})}),e.jsx("span",{className:f("".concat(S,"-item-text"),null===(c=o.props)||void 0===c?void 0:c.hashId,it({},"".concat(S,"-item-text-has-icon"),O&&(M||N))),children:C})]},p),I=QI(p);I&&(j=e.jsxs("span",{onClick:function(){var e,t;null===(e=window)||void 0===e||null===(t=e.open)||void 0===t||t.call(e,p,"_blank")},className:f("".concat(S,"-item-title"),null===(s=o.props)||void 0===s?void 0:s.hashId,it(it(it(it({},"".concat(S,"-item-title-collapsed"),k),"".concat(S,"-item-title-collapsed-level-").concat(r),k),"".concat(S,"-item-link"),!0),"".concat(S,"-item-collapsed-show-title"),(null==E?void 0:E.collapsedShowTitle)&&k)),children:[e.jsx("span",{className:"".concat(S,"-item-icon ").concat(null===(u=o.props)||void 0===u?void 0:u.hashId).trim(),style:{display:null!==N||M?"":"none"},children:M||e.jsx("span",{className:"anticon",children:N})}),e.jsx("span",{className:f("".concat(S,"-item-text"),null===(d=o.props)||void 0===d?void 0:d.hashId,it({},"".concat(S,"-item-text-has-icon"),O&&(M||N))),children:C})]},p));if(y){var P=lt(lt({},t),{},{isUrl:I,itemPath:p,isMobile:v,replace:p===h.pathname,onClick:function(){return b&&b(!0)},children:void 0});return 0===n?e.jsx(LR,{collapsed:k,title:C,disable:t.disabledTooltip,children:y(P,j,o.props)}):y(P,j,o.props)}return 0===n?e.jsx(LR,{collapsed:k,title:C,disable:t.disabledTooltip,children:j}):j})),it(this,"conversionPath",(function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/")})),this.props=n})),WR=function(n){var o=n.mode,r=n.className,i=n.handleOpenChange,a=n.style,l=n.menuData,c=n.prefixCls,s=n.menu,u=n.matchMenuKeys,d=n.iconfontUrl,p=n.selectedKeys,m=n.onSelect,g=n.menuRenderType,h=n.openKeys,v=t.useContext(zI),b=v.dark,y=v.token,x="".concat(c,"-base-menu-").concat(o),C=t.useRef([]),w=tt(Ta(null==s?void 0:s.defaultOpenAll),2),S=w[0],E=w[1],k=tt(Ta((function(){return null!=s&&s.defaultOpenAll?yR(l)||[]:!1!==h&&[]}),{value:!1===h?void 0:h,onChange:i}),2),$=k[0],O=k[1],M=Ta([],{value:p,onChange:m?function(e){m&&e&&m(e)}:void 0}),N=tt(M,2),j=N[0],I=N[1];t.useEffect((function(){null!=s&&s.defaultOpenAll||!1===h||u&&(O(u),I(u))}),[u.join("-")]),t.useEffect((function(){d&&(FR=AO({scriptUrl:d}))}),[d]),t.useEffect((function(){if(u.join("-")!==(j||[]).join("-")&&I(u),S||!1===h||u.join("-")===($||[]).join("-"))null!=s&&s.ignoreFlatMenu&&S?O(yR(l)):E(!1);else{var e=u;!1===(null==s?void 0:s.autoClose)&&(e=Array.from(new Set([].concat(Qe(u),Qe($||[]))))),O(e)}}),[u.join("-")]);var P=t.useMemo((function(){return function(e,t){var n=t.layout,o=t.collapsed,r={};return e&&!o&&["side","mix"].includes(n||"mix")&&(r={openKeys:e}),r}($,n)}),[$&&$.join(","),n.layout,n.collapsed]),T=function(e,t){return SI("ProLayoutBaseMenu"+t,(function(n){var o=lt(lt({},n),{},{componentCls:".".concat(e)});return[DR(o,t||"inline")]}))}(x,o),R=T.wrapSSR,B=T.hashId,z=t.useMemo((function(){return new _R(lt(lt({},n),{},{token:y,menuRenderType:g,baseClassName:x,hashId:B}))}),[n,y,g,x,B]);if(null!=s&&s.loading)return e.jsx("div",{style:null!=o&&o.includes("inline")?{padding:24}:{marginBlockStart:16},children:e.jsx(eg,{active:!0,title:!1,paragraph:{rows:null!=o&&o.includes("inline")?6:1}})});!1!==n.openKeys||n.handleOpenChange||(C.current=u);var D=n.postMenuData?n.postMenuData(l):l;return D&&(null==D?void 0:D.length)<1?null:R(t.createElement(XC,lt(lt({},P),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:o,inlineIndent:16,defaultOpenKeys:C.current,theme:b?"dark":"light",selectedKeys:j,style:lt({backgroundColor:"transparent",border:"none"},a),className:f(r,B,x,it(it({},"".concat(x,"-horizontal"),"horizontal"===o),"".concat(x,"-collapsed"),n.collapsed)),items:z.getNavMenuItems(D,0,0),onOpenChange:function(e){n.collapsed||O(e)}},n.menuProps)))};var VR=["title","render"],XR=t.memo((function(t){return"production"!==process.env.NODE_ENV&&console.warn("[pro-layout] SiderMenu required antd@^4.24.15 || antd@^5.11.2 for access the menu context, please upgrade your antd version (current ".concat(Xa,").")),e.jsx(e.Fragment,{children:t.children})})),GR=i$.Sider,qR=i$._InternalSiderContext,KR=void 0===qR?{Provider:XR}:qR,UR=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"menuHeaderRender",o=t.logo,r=t.title,i=t.layout,a=t[n];if(!1===a)return null;var l=jR(o),c=e.jsx("h1",{children:null!=r?r:"Ant Design Pro"});return a?a(l,t.collapsed?null:c,t):t.isMobile?null:("mix"!==i||"menuHeaderRender"!==n)&&(t.collapsed?e.jsx("a",{children:l},"title"):e.jsxs("a",{children:[l,c]},"title"))},YR=function(n){var o,r=n.collapsed,i=n.originCollapsed,a=n.fixSiderbar,l=n.menuFooterRender,c=n.onCollapse,s=n.theme,u=n.siderWidth,d=n.isMobile,p=n.onMenuHeaderClick,m=n.breakpoint,g=void 0===m?"lg":m,h=n.style,v=n.layout,b=n.menuExtraRender,y=void 0!==b&&b,x=n.links,C=n.menuContentRender,w=n.collapsedButtonRender,S=n.prefixCls,E=n.avatarProps,k=n.rightContentRender,$=n.actionsRender,O=n.onOpenChange,M=n.stylish,N=n.logoStyle,j=t.useContext(zI).hashId,I=t.useMemo((function(){return!d&&"mix"!==v}),[d,v]),P="".concat(S,"-sider"),T=64,R=function(e,t){var n=t.stylish,o=t.proLayoutCollapsedWidth;return SI("ProLayoutSiderMenuStylish",(function(t){var r=lt(lt({},t),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:o});return n?[it({},"div".concat(t.proComponentsCls,"-layout"),it({},"".concat(r.componentCls),null==n?void 0:n(r)))]:[]}))}("".concat(P,".").concat(P,"-stylish"),{stylish:M,proLayoutCollapsedWidth:T}),B=f("".concat(P),j,it(it(it(it(it(it(it({},"".concat(P,"-fixed"),a),"".concat(P,"-fixed-mix"),"mix"===v&&!d&&a),"".concat(P,"-collapsed"),n.collapsed),"".concat(P,"-layout-").concat(v),v&&!d),"".concat(P,"-light"),"dark"!==s),"".concat(P,"-mix"),"mix"===v&&!d),"".concat(P,"-stylish"),!!M)),z=UR(n),D=y&&y(n),L=t.useMemo((function(){return!1!==C&&t.createElement(WR,lt(lt({},n),{},{key:"base-menu",mode:r&&!d?"vertical":"inline",handleOpenChange:O,style:{width:"100%"},className:"".concat(P,"-menu ").concat(j).trim()}))}),[P,j,C,O,n]),F=(x||[]).map((function(e,t){return{className:"".concat(P,"-link"),label:e,key:t}})),H=t.useMemo((function(){return C?C(n,L):L}),[C,L,n]),A=t.useMemo((function(){if(!E)return null;var t=E.title,o=E.render,i=nt(E,VR),a=e.jsxs("div",{className:"".concat(P,"-actions-avatar"),children:[null!=i&&i.src||null!=i&&i.srcSet||i.icon||i.children?e.jsx(Iy,lt({size:28},i)):null,E.title&&!r&&e.jsx("span",{children:t})]});return o?o(E,a,n):a}),[E,P,r]),_=t.useMemo((function(){return $?e.jsx(VE,{align:"center",size:4,direction:r?"vertical":"horizontal",className:f(["".concat(P,"-actions-list"),r&&"".concat(P,"-actions-list-collapsed"),j]),children:[null==$?void 0:$(n)].flat(1).map((function(t,n){return e.jsx("div",{className:"".concat(P,"-actions-list-item ").concat(j).trim(),children:t},n)}))}):null}),[$,P,r]),W=t.useMemo((function(){return e.jsx(IR,{onItemClick:n.itemClick,appListRender:n.appListRender,appList:n.appList,prefixCls:n.prefixCls})}),[n.appList,n.appListRender,n.prefixCls]),V=t.useMemo((function(){if(!1===w)return null;var t=e.jsx(BR,{isMobile:d,collapsed:i,className:"".concat(P,"-collapsed-button"),onClick:function(){null==c||c(!i)}});return w?w(r,t):t}),[w,d,i,P,r,c]),X=t.useMemo((function(){return A||_?e.jsxs("div",{className:f("".concat(P,"-actions"),j,r&&"".concat(P,"-actions-collapsed")),children:[A,_]}):null}),[_,A,P,r,j]),G=t.useMemo((function(){var e;return null!=n&&null!==(e=n.menu)&&void 0!==e&&e.hideMenuWhenCollapsed&&r?"".concat(P,"-hide-menu-collapsed"):null}),[P,r,null==n||null===(o=n.menu)||void 0===o?void 0:o.hideMenuWhenCollapsed]),q=l&&(null==l?void 0:l(n)),K=e.jsxs(e.Fragment,{children:[z&&e.jsxs("div",{className:f([f("".concat(P,"-logo"),j,it({},"".concat(P,"-logo-collapsed"),r))]),onClick:I?p:void 0,id:"logo",style:N,children:[z,W]}),D&&e.jsx("div",{className:f(["".concat(P,"-extra"),!z&&"".concat(P,"-extra-no-logo"),j]),children:D}),e.jsx("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:H}),e.jsxs(KR.Provider,{value:{},children:[x?e.jsx("div",{className:"".concat(P,"-links ").concat(j).trim(),children:e.jsx(XC,{inlineIndent:16,className:"".concat(P,"-link-menu ").concat(j).trim(),selectedKeys:[],openKeys:[],theme:s,mode:"inline",items:F})}):null,I&&e.jsxs(e.Fragment,{children:[X,!_&&k?e.jsx("div",{className:f("".concat(P,"-actions"),j,it({},"".concat(P,"-actions-collapsed"),r)),children:null==k?void 0:k(n)}):null]}),q&&e.jsx("div",{className:f(["".concat(P,"-footer"),j,it({},"".concat(P,"-footer-collapsed"),r)]),children:q})]})]});return R.wrapSSR(e.jsxs(e.Fragment,{children:[a&&!d&&!G&&e.jsx("div",{style:lt({width:r?T:u,overflow:"hidden",flex:"0 0 ".concat(r?T:u,"px"),maxWidth:r?T:u,minWidth:r?T:u,transition:"all 0.2s ease 0s"},h)}),e.jsxs(GR,{collapsible:!0,trigger:null,collapsed:r,breakpoint:!1===g?void 0:g,onCollapse:function(e){d||null==c||c(e)},collapsedWidth:T,style:h,theme:s,width:u,className:f(B,j,G),children:[G?e.jsx("div",{className:"".concat(P,"-hide-when-collapsed ").concat(j).trim(),style:{height:"100%",width:"100%",opacity:G?0:1},children:K}):K,V]})]}))},ZR=function(e){var t,n,o,r,i;return it({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorTextRightActionsItem,"> div":{height:"44px",color:null===(r=e.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(i=e.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgRightActionsItemHover}}}}})};var QR=["rightContentRender","avatarProps","actionsRender","headerContentRender"],JR=["title","render"],eB=function(n){var o=n.rightContentRender,r=n.avatarProps,i=n.actionsRender;n.headerContentRender;var a=nt(n,QR),l=t.useContext(xc.ConfigContext).getPrefixCls,c="".concat(l(),"-pro-global-header"),s=function(e){return SI("ProLayoutRightContent",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[ZR(n)]}))}(c),u=s.wrapSSR,d=s.hashId,p=tt(t.useState("auto"),2),m=p[0],g=p[1],h=t.useMemo((function(){if(!r)return null;var n=r.title,o=r.render,i=nt(r,JR),l=[null!=i&&i.src||null!=i&&i.srcSet||i.icon||i.children?t.createElement(Iy,lt(lt({},i),{},{size:28,key:"avatar"})):null,n?e.jsx("span",{style:{marginInlineStart:8},children:n},"name"):void 0];return o?o(r,e.jsx("div",{children:l}),a):e.jsx("div",{children:l})}),[r]),v=i||h?function(n){var o=i&&(null==i?void 0:i(n));return o||h?Array.isArray(o)?u(e.jsxs("div",{className:"".concat(c,"-header-actions ").concat(d).trim(),children:[o.filter(Boolean).map((function(n,o){var r,i=!1;t.isValidElement(n)&&(i=!(null==n||null===(r=n.props)||void 0===r||!r["aria-hidden"]));return e.jsx("div",{className:f("".concat(c,"-header-actions-item ").concat(d),it({},"".concat(c,"-header-actions-hover"),!i)),children:n},o)})),h&&e.jsx("span",{className:"".concat(c,"-header-actions-avatar ").concat(d).trim(),children:h})]})):u(e.jsxs("div",{className:"".concat(c,"-header-actions ").concat(d).trim(),children:[o,h&&e.jsx("span",{className:"".concat(c,"-header-actions-avatar ").concat(d).trim(),children:h})]})):null}:void 0,b=UI(function(){var e=eu(Qs().mark((function e(t){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),160),y=v||o;return e.jsx("div",{className:"".concat(c,"-right-content ").concat(d).trim(),style:{minWidth:m,height:"100%"},children:e.jsx("div",{style:{height:"100%"},children:e.jsx($r,{onResize:function(e){var t=e.width;b.run(t)},children:y?e.jsx("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:y(lt(lt({},a),{},{rightContentSize:m}))}):null})})})},tB=function(e){var t,n;return it({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":it({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:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max(((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56)-12,40),"px")}})};var nB=function(n){var o,r,i,a,l,c,s,u=t.useRef(null),d=n.onMenuHeaderClick,p=n.contentWidth,m=n.rightContentRender,g=n.className,h=n.style,v=n.headerContentRender,b=n.layout,y=n.actionsRender,x=t.useContext(xc.ConfigContext).getPrefixCls,C=t.useContext(zI).dark,w="".concat(n.prefixCls||x("pro"),"-top-nav-header"),S=function(e){return SI("ProLayoutTopNavHeader",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[tB(n)]}))}(w),E=S.wrapSSR,k=S.hashId,$=void 0;void 0!==n.menuHeaderRender?$="menuHeaderRender":"mix"!==b&&"top"!==b||($="headerTitleRender");var O=UR(lt(lt({},n),{},{collapsed:!1}),$),M=t.useContext(zI).token,N=t.useMemo((function(){var t,o,r,i,a,l,c,s,u,d,p,f,m,g=e.jsx(xc,{theme:{hashed:jI(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:lt({},KI({colorItemBg:(null===(t=M.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader)||"transparent",colorSubItemBg:(null===(o=M.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgHeader)||"transparent",radiusItem:M.borderRadius,colorItemBgSelected:(null===(r=M.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorBgMenuItemSelected)||(null==M?void 0:M.colorBgTextHover),itemHoverBg:(null===(i=M.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgMenuItemHover)||(null==M?void 0:M.colorBgTextHover),colorItemBgSelectedHorizontal:(null===(a=M.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorBgMenuItemSelected)||(null==M?void 0:M.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(l=M.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenu)||(null==M?void 0:M.colorTextSecondary),colorItemTextHoverHorizontal:(null===(c=M.layout)||void 0===c||null===(c=c.header)||void 0===c?void 0:c.colorTextMenuActive)||(null==M?void 0:M.colorText),colorItemTextSelectedHorizontal:(null===(s=M.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorTextMenuSelected)||(null==M?void 0:M.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:(null===(u=M.layout)||void 0===u||null===(u=u.header)||void 0===u?void 0:u.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:(null===(d=M.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:(null===(p=M.layout)||void 0===p||null===(p=p.header)||void 0===p?void 0:p.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==M?void 0:M.colorBgElevated,subMenuItemBg:null==M?void 0:M.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==M?void 0:M.colorBgElevated}))},token:{colorBgElevated:(null===(f=M.layout)||void 0===f||null===(f=f.header)||void 0===f?void 0:f.colorBgHeader)||"transparent"}},children:e.jsx(WR,lt(lt(lt({theme:C?"dark":"light"},n),{},{className:"".concat(w,"-base-menu ").concat(k).trim()},n.menuProps),{},{style:lt({width:"100%"},null===(m=n.menuProps)||void 0===m?void 0:m.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return v?v(n,g):g}),[null===(o=M.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgHeader,null===(r=M.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorBgMenuItemSelected,null===(i=M.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgMenuItemHover,null===(a=M.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorTextMenu,null===(l=M.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenuActive,null===(c=M.layout)||void 0===c||null===(c=c.header)||void 0===c?void 0:c.colorTextMenuSelected,null===(s=M.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorBgMenuElevated,M.borderRadius,null==M?void 0:M.colorBgTextHover,null==M?void 0:M.colorTextSecondary,null==M?void 0:M.colorText,null==M?void 0:M.colorTextBase,M.colorBgElevated,C,n,w,k,v]);return E(e.jsx("div",{className:f(w,k,g,it({},"".concat(w,"-light"),!0)),style:h,children:e.jsxs("div",{ref:u,className:f("".concat(w,"-main"),k,it({},"".concat(w,"-wide"),"Fixed"===p&&"top"===b)),children:[O&&e.jsxs("div",{className:f("".concat(w,"-main-left ").concat(k)),onClick:d,children:[e.jsx(IR,lt({},n)),e.jsx("div",{className:"".concat(w,"-logo ").concat(k).trim(),id:"logo",children:O},"logo")]}),e.jsx("div",{style:{flex:1},className:"".concat(w,"-menu ").concat(k).trim(),children:N}),(m||y||n.avatarProps)&&e.jsx(eB,lt(lt({rightContentRender:m},n),{},{prefixCls:w}))]})}))},oB=function(e){var t,n,o;return it({},e.componentCls,it(it(it(it({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-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:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};var rB=function(e,t){return!1===e?null:e?e(t,null):t},iB=function(n){var o=n.isMobile,r=n.logo,i=n.collapsed,a=n.onCollapse,l=n.rightContentRender,c=n.menuHeaderRender,s=n.onMenuHeaderClick,u=n.className,d=n.style,p=n.layout,m=n.children,g=n.splitMenus,h=n.menuData,v=n.prefixCls,b=t.useContext(xc.ConfigContext),y=b.getPrefixCls,x=b.direction,C="".concat(v||y("pro"),"-global-header"),w=function(e){return SI("ProLayoutGlobalHeader",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[oB(n)]}))}(C),S=w.wrapSSR,E=w.hashId,k=f(u,C,E);if("mix"===p&&!o&&g){var $=wR((h||[]).map((function(e){return lt(lt({},e),{},{children:void 0,routes:void 0})})));return e.jsx(nB,lt(lt({mode:"horizontal"},n),{},{splitMenus:!1,menuData:$}))}var O=f("".concat(C,"-logo"),E,it(it(it({},"".concat(C,"-logo-rtl"),"rtl"===x),"".concat(C,"-logo-mix"),"mix"===p),"".concat(C,"-logo-mobile"),o)),M=e.jsx("span",{className:O,children:e.jsx("a",{children:jR(r)})},"logo");return S(e.jsxs("div",{className:k,style:lt({},d),children:[o&&e.jsx("span",{className:"".concat(C,"-collapsed-button ").concat(E).trim(),onClick:function(){null==a||a(!i)},children:e.jsx(OO,{})}),o&&rB(c,M),"mix"===p&&!o&&e.jsxs(e.Fragment,{children:[e.jsx(IR,lt({},n)),e.jsx("div",{className:O,onClick:s,children:UR(lt(lt({},n),{},{collapsed:!1}),"headerTitleRender")})]}),e.jsx("div",{style:{flex:1},children:m}),(l||n.actionsRender||n.avatarProps)&&e.jsx(eB,lt({rightContentRender:l},n))]}))},aB=function(e){var t,n,o,r;return it({},"".concat(e.proComponentsCls,"-layout"),it({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.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:(null===(r=e.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.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)"}}))};var lB=i$.Header,cB=function(n){var o,r,i,a=n.isMobile,l=n.fixedHeader,c=n.className,s=n.style,u=n.collapsed,d=n.prefixCls,p=n.onCollapse,m=n.layout,g=n.headerRender,h=n.headerContentRender,v=t.useContext(zI).token,b=t.useContext(xc.ConfigContext),y=tt(t.useState(!1),2),x=y[0],C=y[1],w=l||"mix"===m,S=t.useCallback((function(){var t="top"===m,o=wR(n.menuData||[]),r=e.jsx(iB,lt(lt({onCollapse:p},n),{},{menuData:o,children:h&&h(n,null)}));return t&&!a&&(r=e.jsx(nB,lt(lt({mode:"horizontal",onCollapse:p},n),{},{menuData:o}))),g&&"function"==typeof g?g(n,r):r}),[h,g,a,m,p,n]);t.useEffect((function(){var e,t=(null==b||null===(e=b.getTargetContainer)||void 0===e?void 0:e.call(b))||document.body,n=function(){var e;return t.scrollTop>((null===(e=v.layout)||void 0===e||null===(e=e.header)||void 0===e?void 0:e.heightLayoutHeader)||56)&&!x?(C(!0),!0):(x&&C(!1),!1)};if(w&&"undefined"!=typeof window)return t.addEventListener("scroll",n,{passive:!0}),function(){t.removeEventListener("scroll",n)}}),[null===(o=v.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.heightLayoutHeader,w,x]);var E="top"===m,k="".concat(d,"-layout-header"),$=function(e){return SI("ProLayoutHeader",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[aB(n)]}))}(k),O=$.wrapSSR,M=$.hashId,N=function(e,t){var n=t.stylish,o=t.proLayoutCollapsedWidth;return SI("ProLayoutHeaderStylish",(function(t){var r=lt(lt({},t),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:o});return n?[it({},"div".concat(t.proComponentsCls,"-layout"),it({},"".concat(r.componentCls),null==n?void 0:n(r)))]:[]}))}("".concat(k,".").concat(k,"-stylish"),{proLayoutCollapsedWidth:64,stylish:n.stylish}),j=f(c,M,k,it(it(it(it(it(it(it({},"".concat(k,"-fixed-header"),w),"".concat(k,"-fixed-header-scroll"),x),"".concat(k,"-mix"),"mix"===m),"".concat(k,"-fixed-header-action"),!u),"".concat(k,"-top-menu"),E),"".concat(k,"-header"),!0),"".concat(k,"-stylish"),!!n.stylish));return"side"!==m||a?N.wrapSSR(O(e.jsx(e.Fragment,{children:e.jsxs(xc,{theme:{hashed:jI(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[w&&e.jsx(lB,{style:lt({height:(null===(r=v.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((null===(i=v.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},s)}),e.jsx(lB,{className:j,style:s,children:S()})]})}))):null},sB=function(){return sB=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},sB.apply(this,arguments)};function uB(e,n){var o;void 0===e&&(e={}),void 0===n&&(n={disabled:!1});var r=t.useState()[1],i="undefined"!=typeof window&&(null===(o=null===window||void 0===window?void 0:window.location)||void 0===o?void 0:o.search),a=t.useMemo((function(){return n.disabled?{}:new URLSearchParams(i||{})}),[n.disabled,i]),l=t.useMemo((function(){if(n.disabled)return{};if("undefined"==typeof window||!window.URL)return{};var t=[];a.forEach((function(e,n){t.push({key:n,value:e})})),t=t.reduce((function(e,t){return(e[t.key]=e[t.key]||[]).push(t),e}),{}),t=Object.keys(t).map((function(e){var n=t[e];return 1===n.length?[e,n[0].value]:[e,n.map((function(e){return e.value}))]}));var o=sB({},e);return t.forEach((function(t){var n=t[0],r=t[1];o[n]=function(e,t,n,o){if(!n)return t;var r=n[e],i=void 0===t?o[e]:t;if(r===Number)return Number(i);if(r===Boolean||"true"===t||"false"===t)return dB[i];if(Array.isArray(r))return r.find((function(e){return e==i}))||o[e];return i}(n,r,{},e)})),o}),[n.disabled,e,a]);function c(e){if("undefined"!=typeof window&&window.URL){var t=function(e){var t,n=new(0,("undefined"!=typeof window?window:{}).URL)(null===(t=null===window||void 0===window?void 0:window.location)||void 0===t?void 0:t.href);return Object.keys(e).forEach((function(t){var o=e[t];null!=o?Array.isArray(o)?(n.searchParams.delete(t),o.forEach((function(e){n.searchParams.append(t,e)}))):o instanceof Date?Number.isNaN(o.getTime())||n.searchParams.set(t,o.toISOString()):"object"==typeof o?n.searchParams.set(t,JSON.stringify(o)):n.searchParams.set(t,o):n.searchParams.delete(t)})),n}(e);window.location.search!==t.search&&window.history.replaceState({},"",t.toString()),a.toString()!==t.searchParams.toString()&&r({})}}t.useEffect((function(){n.disabled||"undefined"!=typeof window&&window.URL&&c(sB(sB({},e),l))}),[n.disabled,l]);return t.useEffect((function(){if(n.disabled)return function(){};if("undefined"==typeof window||!window.URL)return function(){};var e=function(){r({})};return window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[n.disabled]),[l,function(e){c(e)}]}var dB={true:!0,false:!1};var pB=lt({},{"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success,please replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"}),fB=lt({},{"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalità di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello è visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"}),mB=lt({},{"app.setting.pagestyle":"스타일 설정","app.setting.pagestyle.dark":"다크 모드","app.setting.pagestyle.light":"라이트 모드","app.setting.content-width":"컨텐츠 너비","app.setting.content-width.fixed":"고정","app.setting.content-width.fluid":"흐름","app.setting.themecolor":"테마 색상","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"네비게이션 모드","app.setting.regionalsettings":"영역별 설정","app.setting.regionalsettings.header":"헤더","app.setting.regionalsettings.menu":"메뉴","app.setting.regionalsettings.footer":"바닥글","app.setting.regionalsettings.menuHeader":"메뉴 헤더","app.setting.sidemenu":"메뉴 사이드 배치","app.setting.topmenu":"메뉴 상단 배치","app.setting.mixmenu":"혼합형 배치","app.setting.splitMenus":"메뉴 분리","app.setting.fixedheader":"헤더 고정","app.setting.fixedsidebar":"사이드바 고정","app.setting.fixedsidebar.hint":"'메뉴 사이드 배치'를 선택했을 때 동작함","app.setting.hideheader":"스크롤 중 헤더 감추기","app.setting.hideheader.hint":"'헤더 감추기 옵션'을 선택했을 때 동작함","app.setting.othersettings":"다른 설정","app.setting.weakmode":"고대비 모드","app.setting.copy":"설정값 복사","app.setting.loading":"테마 로딩 중","app.setting.copyinfo":"복사 성공. src/models/settings.js에 있는 defaultSettings를 교체해 주세요.","app.setting.production.hint":"설정 판넬은 개발 환경에서만 보여집니다. 직접 수동으로 변경바랍니다."}),gB={"zh-CN":lt({},{"app.setting.pagestyle":"整体风格设置","app.setting.pagestyle.dark":"暗色菜单风格","app.setting.pagestyle.light":"亮色菜单风格","app.setting.pagestyle.realdark":"暗色风格(实验功能)","app.setting.content-width":"内容区域宽度","app.setting.content-width.fixed":"定宽","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主题色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"极光绿","app.setting.themecolor.techBlue":"科技蓝(默认)","app.setting.themecolor.daybreak":"拂晓","app.setting.themecolor.geekblue":"极客蓝","app.setting.themecolor.purple":"酱紫","app.setting.navigationmode":"导航模式","app.setting.sidermenutype":"侧边菜单类型","app.setting.sidermenutype-sub":"经典模式","app.setting.sidermenutype-group":"分组模式","app.setting.regionalsettings":"内容区域","app.setting.regionalsettings.header":"顶栏","app.setting.regionalsettings.menu":"菜单","app.setting.regionalsettings.footer":"页脚","app.setting.regionalsettings.menuHeader":"菜单头","app.setting.sidemenu":"侧边菜单布局","app.setting.topmenu":"顶部菜单布局","app.setting.mixmenu":"混合菜单布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定侧边菜单","app.setting.fixedsidebar.hint":"侧边菜单布局时可配置","app.setting.hideheader":"下滑时隐藏 Header","app.setting.hideheader.hint":"固定 Header 时可配置","app.setting.othersettings":"其他设置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷贝设置","app.setting.loading":"正在加载主题","app.setting.copyinfo":"拷贝成功,请到 src/defaultSettings.js 中替换默认配置","app.setting.production.hint":"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件"}),"zh-TW":lt({},{"app.setting.pagestyle":"整體風格設置","app.setting.pagestyle.dark":"暗色菜單風格","app.setting.pagestyle.realdark":"暗色風格(实验功能)","app.setting.pagestyle.light":"亮色菜單風格","app.setting.content-width":"內容區域寬度","app.setting.content-width.fixed":"定寬","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主題色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"極光綠","app.setting.themecolor.techBlue":"科技蓝(默認)","app.setting.themecolor.daybreak":"拂曉藍","app.setting.themecolor.geekblue":"極客藍","app.setting.themecolor.purple":"醬紫","app.setting.navigationmode":"導航模式","app.setting.sidemenu":"側邊菜單布局","app.setting.topmenu":"頂部菜單布局","app.setting.mixmenu":"混合菜單布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定側邊菜單","app.setting.fixedsidebar.hint":"側邊菜單布局時可配置","app.setting.hideheader":"下滑時隱藏 Header","app.setting.hideheader.hint":"固定 Header 時可配置","app.setting.othersettings":"其他設置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷貝設置","app.setting.loading":"正在加載主題","app.setting.copyinfo":"拷貝成功,請到 src/defaultSettings.js 中替換默認配置","app.setting.production.hint":"配置欄只在開發環境用於預覽,生產環境不會展現,請拷貝後手動修改配置文件"}),"en-US":pB,"it-IT":fB,"ko-KR":mB},hB=function(){return ZI()?window.localStorage.getItem("umi_locale")||window.g_locale||navigator.language:"zh-CN"},vB=function(){var e=hB();return gB[e]||gB["zh-CN"]},bB=function(n){var o=n.value,r=n.configType,i=n.onChange,a=n.list,l=n.prefixCls,c=n.hashId,s="".concat(l,"-block-checkbox"),u=t.useMemo((function(){return(a||[]).map((function(t){return e.jsx(xy,{title:t.title,children:e.jsxs("div",{className:f(c,"".concat(s,"-item"),"".concat(s,"-item-").concat(t.key),"".concat(s,"-").concat(r,"-item")),onClick:function(){return i(t.key)},children:[e.jsx(jb,{className:"".concat(s,"-selectIcon ").concat(c).trim(),style:{display:o===t.key?"block":"none"}}),null!=t&&t.icon?e.jsx("div",{className:"".concat(s,"-icon ").concat(c).trim(),children:t.icon}):null]})},t.key)}))}),[o,null==a?void 0:a.length,i]);return e.jsx("div",{className:f(s,c),children:u})},yB=function(n){var o=t.cloneElement(n.action,{disabled:n.disabled});return e.jsx(xy,{title:n.disabled?n.disabledReason:"",placement:"left",children:e.jsx(oO.Item,{actions:[o],children:e.jsx("span",{style:{opacity:n.disabled?.5:1},children:n.title})})})},xB=function(t){var n=t.settings,o=t.prefixCls,r=t.changeSetting,i=t.hashId,a=jB(),l=n||zR,c=l.contentWidth,s=l.splitMenus,u=l.fixedHeader,d=l.layout,p=l.fixSiderbar;return e.jsx(oO,{className:"".concat(o,"-list ").concat(i).trim(),split:!1,dataSource:[{title:a({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:e.jsxs(Lb,{value:c||"Fixed",size:"small",className:"content-width ".concat(i).trim(),onSelect:function(e){r("contentWidth",e)},style:{width:80},children:["side"===d?null:e.jsx(Lb.Option,{value:"Fixed",children:a({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),e.jsx(Lb.Option,{value:"Fluid",children:a({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:a({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:e.jsx(cM,{size:"small",className:"fixed-header",checked:!!u,onChange:function(e){r("fixedHeader",e)}})},{title:a({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:"top"===d,disabledReason:a({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:e.jsx(cM,{size:"small",className:"fix-siderbar",checked:!!p,onChange:function(e){return r("fixSiderbar",e)}})},{title:a({id:"app.setting.splitMenus"}),disabled:"mix"!==d,action:e.jsx(cM,{size:"small",checked:!!s,className:"split-menus",onChange:function(e){r("splitMenus",e)}})}],renderItem:yB})},CB=function(t){var n=t.settings,o=t.prefixCls,r=t.changeSetting,i=t.hashId,a=jB();return e.jsx(oO,{className:"".concat(o,"-list ").concat(i).trim(),split:!1,renderItem:yB,dataSource:["header","footer","menu","menuHeader"].map((function(t){return{title:a({id:"app.setting.regionalsettings.".concat(t)}),action:e.jsx(cM,{size:"small",className:"regional-".concat(t," ").concat(i).trim(),checked:n["".concat(t,"Render")]||void 0===n["".concat(t,"Render")],onChange:function(e){return r("".concat(t,"Render"),!0===e&&void 0)}})}}))})},wB=["color","check"],SB=t.forwardRef((function(t,n){var o=t.color,r=t.check,i=nt(t,wB);return e.jsx("div",lt(lt({},i),{},{style:{backgroundColor:o},ref:n,children:r?e.jsx(jb,{}):""}))})),EB=function(t){var n=t.value,o=t.colorList,r=t.onChange,i=t.prefixCls,a=t.formatMessage,l=t.hashId;if(!o||(null==o?void 0:o.length)<1)return null;var c="".concat(i,"-theme-color");return e.jsx("div",{className:"".concat(c," ").concat(l).trim(),children:null==o?void 0:o.map((function(t){var o=t.key,i=t.color,s=t.title;return o?e.jsx(xy,{title:null!=s?s:a({id:"app.setting.themecolor.".concat(o)}),children:e.jsx(SB,{className:"".concat(c,"-block ").concat(l).trim(),color:i,check:n===i,onClick:function(){return r&&r(i)}})},i):null}))})};function kB(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[e.jsxs("defs",{children:[e.jsx("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),e.jsxs("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[e.jsx("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),e.jsx("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),e.jsx("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),e.jsx("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),e.jsx("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),e.jsx("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),e.jsxs("feMerge",{children:[e.jsx("feMergeNode",{in:"shadowMatrixOuter1"}),e.jsx("feMergeNode",{in:"shadowMatrixOuter2"}),e.jsx("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),e.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[e.jsxs("g",{children:[e.jsx("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),e.jsx("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),e.jsx("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),e.jsx("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),e.jsx("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),e.jsx("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),e.jsx("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function $B(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[e.jsxs("defs",{children:[e.jsx("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),e.jsxs("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[e.jsx("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),e.jsx("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),e.jsx("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),e.jsx("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),e.jsx("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),e.jsx("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),e.jsx("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),e.jsx("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),e.jsxs("feMerge",{children:[e.jsx("feMergeNode",{in:"shadowMatrixOuter1"}),e.jsx("feMergeNode",{in:"shadowMatrixOuter2"}),e.jsx("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),e.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[e.jsxs("g",{children:[e.jsx("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),e.jsx("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),e.jsx("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),e.jsx("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),e.jsx("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),e.jsx("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var OB=function(e){return it(it({},"".concat(e.componentCls,"-handle"),{position:"fixed",insetBlockStart:"240px",insetInlineEnd:"0px",zIndex:0,display:"flex",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",fontSize:"16px",textAlign:"center",backgroundColor:e.colorPrimary,borderEndStartRadius:e.borderRadiusLG,borderStartStartRadius:e.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),e.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:e.colorText},"&-body-title":{marginBlock:e.marginXS,fontSize:"14px",lineHeight:"22px",color:e.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:e.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:e.boxShadow,cursor:"pointer",fontSize:56,lineHeight:"56px","&::before":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"33%",height:"100%",content:"''"},"&::after":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"25%",content:"''"},"&-realDark":{backgroundColor:"rgba(0, 21, 41, 0.85)","&::before":{backgroundColor:"rgba(0, 0, 0, 0.65)"},"&::after":{backgroundColor:"rgba(0, 0, 0, 0.85)"}},"&-light":{backgroundColor:"#fff","&::before":{backgroundColor:"#fff"},"&::after":{backgroundColor:"#fff"}},"&-dark,&-side":{backgroundColor:e.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:e.colorBgContainer}},"&-top":{backgroundColor:e.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:e.colorBgElevated,"&::before":{backgroundColor:e.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:e.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:e.colorPrimary}},"& &-icon":{fontSize:56,lineHeight:"56px"}},"&-theme-color":{marginBlockStart:"16px",overflow:"hidden","& &-block":{float:"left",width:"20px",height:"20px",marginBlockStart:8,marginInlineEnd:8,color:"#fff",fontWeight:"bold",textAlign:"center",borderRadius:"2px",cursor:"pointer"}},"&-list":it({},"li".concat(e.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};var MB,NB=function(t){var n=t.children,o=t.hashId,r=t.prefixCls,i=t.title;return e.jsxs("div",{style:{marginBlockEnd:12},children:[e.jsx("h3",{className:"".concat(r,"-body-title ").concat(o).trim(),children:i}),n]})},jB=function(){return function(e){var t=e.id;return vB()[t]}},IB=function(e,t,n){if(ZI()){var o={};Object.keys(e).forEach((function(t){if(zR[t]||void 0===zR[t]){if("colorPrimary"===t)return void(o[t]=CR(e[t]));o[t]=e[t]}}));var r=function(){for(var e={},t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];for(var r,i=n.length,a=0;a<i;a+=1)for(r in n[a])n[a].hasOwnProperty(r)&&("object"!==ot(e[r])||"object"!==ot(n[a][r])||void 0===e[r]||null===e[r]||Array.isArray(e[r])||Array.isArray(n[a][r])?e[r]=n[a][r]:e[r]=lt(lt({},e[r]),n[a][r]));return e}({},t,o);delete r.menu,delete r.title,delete r.iconfontUrl,null==n||n(r)}},PB=function(e,t){return ZI()?lt(lt(lt({},zR),t||{}),e):zR},TB=function(e){return JSON.stringify(Cu(lt(lt({},e),{},{colorPrimary:e.colorPrimary}),["colorWeak"]),null,2)},RB={};var BB,zB=function(){if(MB)return RB;MB=1,Object.defineProperty(RB,"__esModule",{value:!0}),RB.TokenData=void 0,RB.parse=s,RB.compile=function(t,n={}){const{encode:o=encodeURIComponent,delimiter:r=e}=n,i=t instanceof c?t:s(t,n),a=u(i.tokens,r,o);return function(e={}){const[t,...n]=a(e);if(n.length)throw new TypeError(`Missing parameters: ${n.join(", ")}`);return t}},RB.match=function(n,o={}){const{decode:r=decodeURIComponent,delimiter:i=e}=o,{regexp:a,keys:l}=d(n,o),c=l.map((e=>!1===r?t:"param"===e.type?r:e=>e.split(i).map(r)));return function(e){const t=a.exec(e);if(!t)return!1;const n=t[0],o=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const n=l[e-1],r=c[e-1];o[n.name]=r(t[e])}return{path:n,params:o}}},RB.pathToRegexp=d,RB.stringify=function(e){return e.tokens.map((function e(t,r,i){if("text"===t.type)return t.value.replace(/[{}()\[\]+?!:*]/g,"\\$&");if("group"===t.type)return`{${t.tokens.map(e).join("")}}`;const a=function(e){const[t,...r]=e;return!!n.test(t)&&r.every((e=>o.test(e)))}(t.name)&&function(e){return"text"!==(null==e?void 0:e.type)||!o.test(e.value[0])}(i[r+1]),l=a?t.name:JSON.stringify(t.name);if("param"===t.type)return`:${l}`;if("wildcard"===t.type)return`*${l}`;throw new TypeError(`Unexpected token: ${t}`)})).join("")};const e="/",t=e=>e,n=/^[$_\p{ID_Start}]$/u,o=/^[$\u200c\u200d\p{ID_Continue}]$/u,r="https://git.new/pathToRegexpError",i={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function a(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class l{constructor(e){this.tokens=e}peek(){if(!this._peek){const e=this.tokens.next();this._peek=e.value}return this._peek}tryConsume(e){const t=this.peek();if(t.type===e)return this._peek=void 0,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:n,index:o}=this.peek();throw new TypeError(`Unexpected ${n} at ${o}, expected ${e}: ${r}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}}class c{constructor(e){this.tokens=e}}function s(e,a={}){const{encodePath:s=t}=a,u=new l(function*(e){const t=[...e];let a=0;function l(){let e="";if(n.test(t[++a]))for(e+=t[a];o.test(t[++a]);)e+=t[a];else if('"'===t[a]){let n=a;for(;a<t.length;){if('"'===t[++a]){a++,n=0;break}e+="\\"===t[a]?t[++a]:t[a]}if(n)throw new TypeError(`Unterminated quote at ${n}: ${r}`)}if(!e)throw new TypeError(`Missing parameter name at ${a}: ${r}`);return e}for(;a<t.length;){const e=t[a],n=i[e];if(n)yield{type:n,index:a++,value:e};else if("\\"===e)yield{type:"ESCAPED",index:a++,value:t[a++]};else if(":"===e){const e=l();yield{type:"PARAM",index:a,value:e}}else if("*"===e){const e=l();yield{type:"WILDCARD",index:a,value:e}}else yield{type:"CHAR",index:a,value:t[a++]}}return{type:"END",index:a,value:""}}(e));const d=function e(t){const n=[];for(;;){const o=u.text();o&&n.push({type:"text",value:s(o)});const r=u.tryConsume("PARAM");if(r){n.push({type:"param",name:r});continue}const i=u.tryConsume("WILDCARD");if(i){n.push({type:"wildcard",name:i});continue}if(!u.tryConsume("{"))return u.consume(t),n;n.push({type:"group",tokens:e("}")})}}("END");return new c(d)}function u(e,n,o){const r=e.map((e=>function(e,n,o){if("text"===e.type)return()=>[e.value];if("group"===e.type){const t=u(e.tokens,n,o);return e=>{const[n,...o]=t(e);return o.length?[""]:[n]}}const r=o||t;if("wildcard"===e.type&&!1!==o)return t=>{const o=t[e.name];if(null==o)return["",e.name];if(!Array.isArray(o)||0===o.length)throw new TypeError(`Expected "${e.name}" to be a non-empty array`);return[o.map(((t,n)=>{if("string"!=typeof t)throw new TypeError(`Expected "${e.name}/${n}" to be a string`);return r(t)})).join(n)]};return t=>{const n=t[e.name];if(null==n)return["",e.name];if("string"!=typeof n)throw new TypeError(`Expected "${e.name}" to be a string`);return[r(n)]}}(e,n,o)));return e=>{const t=[""];for(const n of r){const[o,...r]=n(e);t[0]+=o,t.push(...r)}return t}}function d(t,n={}){const{delimiter:o=e,end:r=!0,sensitive:i=!1,trailing:l=!0}=n,u=[],d=[],m=i?"":"i",g=(Array.isArray(t)?t:[t]).map((e=>e instanceof c?e:s(e,n)));for(const{tokens:e}of g)for(const t of p(e,0,[])){const e=f(t,o,u);d.push(e)}let h=`^(?:${d.join("|")})`;l&&(h+=`(?:${a(o)}$)?`),h+=r?"$":`(?=${a(o)}|$)`;return{regexp:new RegExp(h,m),keys:u}}function*p(e,t,n){if(t===e.length)return yield n;const o=e[t];if("group"===o.type){const r=n.slice();for(const n of p(o.tokens,0,r))yield*p(e,t+1,n)}else n.push(o);yield*p(e,t+1,n)}function f(e,t,n){let o="",i="",l=!0;for(let c=0;c<e.length;c++){const s=e[c];if("text"!==s.type)if("param"!==s.type&&"wildcard"!==s.type);else{if(!l&&!i)throw new TypeError(`Missing text after "${s.name}": ${r}`);"param"===s.type?o+=`(${m(t,l?"":i)}+)`:o+="([\\s\\S]+)",n.push(s),i="",l=!1}else o+=a(s.value),i+=s.value,l||(l=s.value.includes(t))}return o}function m(e,t){return t.length<2?e.length<2?`[^${a(e+t)}]`:`(?:(?!${a(e)})[^${a(t)}])`:e.length<2?`(?:(?!${a(t)})[^${a(e)}])`:`(?:(?!${a(t)}|${a(e)})[\\s\\S])`}return RB.TokenData=c,RB}(),DB=function(e,t){var n=e.pathname,o=void 0===n?"/":n,r=e.breadcrumb,i=e.breadcrumbMap,a=e.formatMessage,l=e.title,c=e.menu,s=void 0===c?{locale:!1}:c,u=t?"":l||"",d=function(e,t,n){if(n){var o=Qe(n.keys()).find((function(t){try{return!t.startsWith("http")&&zB.match(t)(e)}catch(e){return console.log("key",t,e),!1}}));if(o)return n.get(o)}if(t){var r=Object.keys(t).find((function(t){try{return(null==t||!t.startsWith("http"))&&zB.match(t)(e)}catch(e){return console.log("key",t,e),!1}}));if(r)return t[r]}return{path:""}}(o,r,i);if(!d)return{title:u,id:"",pageName:u};var p=d.name;return!1!==s.locale&&d.locale&&a&&(p=a({id:d.locale||"",defaultMessage:d.name})),p?t||!l?{title:p,id:d.locale||"",pageName:p}:{title:"".concat(p," - ").concat(l),id:d.locale||"",pageName:p}:{title:u,id:d.locale||"",pageName:u}},LB={};var FB=function(){if(BB)return LB;function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var o=e[n];if("*"!==o&&"+"!==o&&"?"!==o)if("\\"!==o)if("{"!==o)if("}"!==o)if(":"!==o)if("("!==o)t.push({type:"CHAR",index:n,value:e[n++]});else{var r=1,i="";if("?"===e[l=n+1])throw new TypeError('Pattern cannot start with "?" at '+l);for(;l<e.length;)if("\\"!==e[l]){if(")"===e[l]){if(0==--r){l++;break}}else if("("===e[l]&&(r++,"?"!==e[l+1]))throw new TypeError("Capturing groups are not allowed at "+l);i+=e[l++]}else i+=e[l++]+e[l++];if(r)throw new TypeError("Unbalanced pattern at "+n);if(!i)throw new TypeError("Missing pattern at "+n);t.push({type:"PATTERN",index:n,value:i}),n=l}else{for(var a="",l=n+1;l<e.length;){var c=e.charCodeAt(l);if(!(c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;a+=e[l++]}if(!a)throw new TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:a}),n=l}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),o=t.prefixes,i=void 0===o?"./":o,a="[^"+r(t.delimiter||"/#?")+"]+?",l=[],c=0,s=0,u="",d=function(e){if(s<n.length&&n[s].type===e)return n[s++].value},p=function(e){var t=d(e);if(void 0!==t)return t;var o=n[s],r=o.type,i=o.index;throw new TypeError("Unexpected "+r+" at "+i+", expected "+e)},f=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};s<n.length;){var m=d("CHAR"),g=d("NAME"),h=d("PATTERN");if(g||h){var v=m||"";-1===i.indexOf(v)&&(u+=v,v=""),u&&(l.push(u),u=""),l.push({name:g||c++,prefix:v,suffix:"",pattern:h||a,modifier:d("MODIFIER")||""})}else{var b=m||d("ESCAPED_CHAR");if(b)u+=b;else if(u&&(l.push(u),u=""),d("OPEN")){v=f();var y=d("NAME")||"",x=d("PATTERN")||"",C=f();p("CLOSE"),l.push({name:y||(x?c++:""),pattern:y&&!x?a:x,prefix:v,suffix:C,modifier:d("MODIFIER")||""})}else p("END")}}return l}function n(t,n){void 0===n&&(n={});var o=i(n),r=n.encode,a=void 0===r?function(e){return e}:r,l=n.validate,c=void 0===l||l,s=t.map((function(t){if("object"===e(t))return new RegExp("^(?:"+t.pattern+")$",o)}));return function(e){for(var n="",o=0;o<t.length;o++){var r=t[o];if("string"!=typeof r){var i=e?e[r.name]:void 0,l="?"===r.modifier||"*"===r.modifier,u="*"===r.modifier||"+"===r.modifier;if(Array.isArray(i)){if(!u)throw new TypeError('Expected "'+r.name+'" to not repeat, but got an array');if(0===i.length){if(l)continue;throw new TypeError('Expected "'+r.name+'" to not be empty')}for(var d=0;d<i.length;d++){var p=a(i[d],r);if(c&&!s[o].test(p))throw new TypeError('Expected all "'+r.name+'" to match "'+r.pattern+'", but got "'+p+'"');n+=r.prefix+p+r.suffix}}else if("string"!=typeof i&&"number"!=typeof i){if(!l){var f=u?"an array":"a string";throw new TypeError('Expected "'+r.name+'" to be '+f)}}else{p=a(String(i),r);if(c&&!s[o].test(p))throw new TypeError('Expected "'+r.name+'" to match "'+r.pattern+'", but got "'+p+'"');n+=r.prefix+p+r.suffix}}else n+=r}return n}}function o(e,t,n){void 0===n&&(n={});var o=n.decode,r=void 0===o?function(e){return e}:o;return function(n){var o=e.exec(n);if(!o)return!1;for(var i=o[0],a=o.index,l=Object.create(null),c=function(e){if(void 0===o[e])return"continue";var n=t[e-1];"*"===n.modifier||"+"===n.modifier?l[n.name]=o[e].split(n.prefix+n.suffix).map((function(e){return r(e,n)})):l[n.name]=r(o[e],n)},s=1;s<o.length;s++)c(s);return{path:i,index:a,params:l}}}function r(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){void 0===n&&(n={});for(var o=n.strict,a=void 0!==o&&o,l=n.start,c=void 0===l||l,s=n.end,u=void 0===s||s,d=n.encode,p=void 0===d?function(e){return e}:d,f="["+r(n.endsWith||"")+"]|$",m="["+r(n.delimiter||"/#?")+"]",g=c?"^":"",h=0,v=e;h<v.length;h++){var b=v[h];if("string"==typeof b)g+=r(p(b));else{var y=r(p(b.prefix)),x=r(p(b.suffix));if(b.pattern)if(t&&t.push(b),y||x)if("+"===b.modifier||"*"===b.modifier){var C="*"===b.modifier?"?":"";g+="(?:"+y+"((?:"+b.pattern+")(?:"+x+y+"(?:"+b.pattern+"))*)"+x+")"+C}else g+="(?:"+y+"("+b.pattern+")"+x+")"+b.modifier;else g+="("+b.pattern+")"+b.modifier;else g+="(?:"+y+x+")"+b.modifier}}if(u)a||(g+=m+"?"),g+=n.endsWith?"(?="+f+")":"$";else{var w=e[e.length-1],S="string"==typeof w?m.indexOf(w[w.length-1])>-1:void 0===w;a||(g+="(?:"+m+"(?="+f+"))?"),S||(g+="(?="+m+"|"+f+")")}return new RegExp(g,i(n))}function l(e,n,o){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)t.push({name:o,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,n):Array.isArray(e)?function(e,t,n){var o=e.map((function(e){return l(e,t,n).source}));return new RegExp("(?:"+o.join("|")+")",i(n))}(e,n,o):function(e,n,o){return a(t(e,o),n,o)}(e,n,o)}return BB=1,Object.defineProperty(LB,"__esModule",{value:!0}),LB.pathToRegexp=LB.tokensToRegexp=LB.regexpToFunction=LB.match=LB.tokensToFunction=LB.compile=LB.parse=void 0,LB.parse=t,LB.compile=function(e,o){return n(t(e,o),o)},LB.tokensToFunction=n,LB.match=function(e,t){var n=[];return o(l(e,n,t),n,t)},LB.regexpToFunction=o,LB.tokensToRegexp=a,LB.pathToRegexp=l,LB}();function HB(e,t){return t>>>e|t<<32-e}function AB(e,t,n){return e&t^~e&n}function _B(e,t,n){return e&t^e&n^t&n}function WB(e){return HB(2,e)^HB(13,e)^HB(22,e)}function VB(e,t){return e[15&t]+=(HB(17,n=e[t+14&15])^HB(19,n)^n>>>10)+e[t+9&15]+function(e){return HB(7,e)^HB(18,e)^e>>>3}(e[t+1&15]);var n}var XB,GB,qB,KB=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function UB(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function YB(){var e,t,n,o,r,i,a,l,c,s,u,d=new Array(16);e=XB[0],t=XB[1],n=XB[2],o=XB[3],r=XB[4],i=XB[5],a=XB[6],l=XB[7];for(var p=0;p<16;p++)d[p]=qB[3+(p<<2)]|qB[2+(p<<2)]<<8|qB[1+(p<<2)]<<16|qB[p<<2]<<24;for(var f=0;f<64;f++)c=l+(HB(6,u=r)^HB(11,u)^HB(25,u))+AB(r,i,a)+KB[f],c+=f<16?d[f]:VB(d,f),s=WB(e)+_B(e,t,n),l=a,a=i,i=r,r=UB(o,c),o=n,n=t,t=e,e=UB(c,s);XB[0]+=e,XB[1]+=t,XB[2]+=n,XB[3]+=o,XB[4]+=r,XB[5]+=i,XB[6]+=a,XB[7]+=l}function ZB(e){return XB=new Array(8),GB=new Array(2),qB=new Array(64),GB[0]=GB[1]=0,XB[0]=1779033703,XB[1]=3144134277,XB[2]=1013904242,XB[3]=2773480762,XB[4]=1359893119,XB[5]=2600822924,XB[6]=528734635,XB[7]=1541459225,function(e,t){var n,o,r=0;o=GB[0]>>3&63;var i=63&t;for((GB[0]+=t<<3)<t<<3&&GB[1]++,GB[1]+=t>>29,n=0;n+63<t;n+=64){for(var a=o;a<64;a++)qB[a]=e.charCodeAt(r++);YB(),o=0}for(var l=0;l<i;l++)qB[l]=e.charCodeAt(r++)}(e,e.length),function(){var e=GB[0]>>3&63;if(qB[e++]=128,e<=56)for(var t=e;t<56;t++)qB[t]=0;else{for(var n=e;n<64;n++)qB[n]=0;YB();for(var o=0;o<56;o++)qB[o]=0}qB[56]=GB[1]>>>24&255,qB[57]=GB[1]>>>16&255,qB[58]=GB[1]>>>8&255,qB[59]=255&GB[1],qB[60]=GB[0]>>>24&255,qB[61]=GB[0]>>>16&255,qB[62]=GB[0]>>>8&255,qB[63]=255&GB[0],YB()}(),function(){for(var e=new String,t=0;t<8;t++)for(var n=28;n>=0;n-=4)e+="0123456789abcdef".charAt(XB[t]>>>n&15);return e}()}function QB(e){return QB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QB(e)}var JB=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function ez(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||sz(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tz(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function nz(e){var t=iz();return function(){var n,o=lz(e);if(t){var r=lz(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===QB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function oz(e){var t="function"==typeof Map?new Map:void 0;return oz=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return rz(e,arguments,lz(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),az(o,e)},oz(e)}function rz(e,t,n){return rz=iz()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&az(r,n.prototype),r},rz.apply(null,arguments)}function iz(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function az(e,t){return az=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},az(e,t)}function lz(e){return lz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lz(e)}function cz(e){return function(e){if(Array.isArray(e))return uz(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sz(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sz(e,t){if(e){if("string"==typeof e)return uz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uz(e,t):void 0}}function uz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function dz(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pz(Object(n),!0).forEach((function(t){mz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gz="routes";function hz(e){return e.split("?")[0].split("#")[0]}var vz=function(e){if(!e.startsWith("http"))return!1;try{return!!new URL(e)}catch(e){return!1}},bz=function(e){var t=e.path;if(!t||"/"===t)try{return"/".concat(ZB(JSON.stringify(e)))}catch(e){}return t?hz(t):t},yz=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||vz(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},xz=function(e){return Array.isArray(e)&&e.length>0};function Cz(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"},n=e.data,o=e.formatMessage,r=e.parentName,i=e.locale;return n&&Array.isArray(n)?n.filter((function(e){return!!e&&(!!xz(e.children)||(!!e.path||(!!e.originPath||(!!e.layout||(e.redirect||e.unaccessible,!1)))))})).filter((function(e){var t,n;return!!((null==e||null===(t=e.menu)||void 0===t?void 0:t.name)||(null==e?void 0:e.flatMenu)||(null==e||null===(n=e.menu)||void 0===n?void 0:n.flatMenu))||!1!==e.menu})).map((function(e){var t=fz(fz({},e),{},{path:e.path||e.originPath});return!t.children&&t[gz]&&(t.children=t[gz],delete t[gz]),t.unaccessible&&delete t.name,"*"===t.path&&(t.path="."),"/*"===t.path&&(t.path="."),!t.path&&t.originPath&&(t.path=t.originPath),t})).map((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"},a=n.children||n[gz]||[],l=yz(n.path,t?t.path:"/"),c=n.name,s=function(e,t){var n=e.name,o=e.locale;return!("locale"in e&&!1===o||!n)&&(e.locale||"".concat(t,".").concat(n))}(n,r||"menu"),u=!1!==s&&!1!==i&&o&&s?o({id:s,defaultMessage:c}):c,d=t.pro_layout_parentKeys,p=void 0===d?[]:d;t.children,t.icon,t.flatMenu,t.indexRoute,t.routes;var f=dz(t,JB),m=new Set([].concat(cz(p),cz(n.parentKeys||[])));t.key&&m.add(t.key);var g=fz(fz(fz({},f),{},{menu:void 0},n),{},{path:l,locale:s,key:n.key||bz(fz(fz({},n),{},{path:l})),pro_layout_parentKeys:Array.from(m).filter((function(e){return e&&"/"!==e}))});if(u?g.name=u:delete g.name,void 0===g.menu&&delete g.menu,xz(a)){var h=Cz(fz(fz({},e),{},{data:a,parentName:s||""}),g);xz(h)&&(g.children=h)}return function(e,t){var n=e.menu,o=void 0===n?{}:n,r=e.indexRoute,i=e.path,a=void 0===i?"":i,l=e.children||[],c=o.name,s=void 0===c?e.name:c,u=o.icon,d=void 0===u?e.icon:u,p=o.hideChildren,f=void 0===p?e.hideChildren:p,m=o.flatMenu,g=void 0===m?e.flatMenu:m,h=r&&"redirect"!==Object.keys(r).join(",")?[fz({path:a,menu:o},r)].concat(l||[]):l,v=fz({},e);if(s&&(v.name=s),d&&(v.icon=d),h&&h.length){if(f)return delete v.children,v;var b=Cz(fz(fz({},t),{},{data:h}),e);if(g)return b;delete v[gz]}return v}(g,e)})).flat(1):[]}var wz=function e(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e&&(e.name||xz(e.children))&&!e.hideInMenu&&!e.redirect})).map((function(t){var n=fz({},t),o=n.children||t[gz]||[];if(delete n[gz],xz(o)&&!n.hideChildrenInMenu&&o.some((function(e){return e&&!!e.name}))){var r=e(o);if(r.length)return fz(fz({},n),{},{children:r})}return fz({},t)})).filter((function(e){return e}))},Sz=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&az(e,t)}(t,oz(Map));var e=nz(t);function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.apply(this,arguments)}return tz(t,[{key:"get",value:function(e){var t;try{var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=sz(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(this.entries());try{for(o.s();!(n=o.n()).done;){var r=ez(n.value,2),i=r[0],a=r[1],l=hz(i);if(!vz(i)&&FB.pathToRegexp(l,[]).test(e)){t=a;break}}}catch(e){o.e(e)}finally{o.f()}}catch(e){t=void 0}return t}}]),t}(),Ez=function e(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){var n=t.children||t[gz];if(xz(n)&&e(n).length)return fz({},t);var o=fz({},t);return delete o[gz],delete o.children,o})).filter((function(e){return e}))},kz=function(e,t,n,o){var r=Cz({data:e,formatMessage:n,locale:t}),i=o?Ez(r):wz(r),a=function(e){var t=new Sz;return function e(n,o){n.forEach((function(n){var r=n.children||n[gz]||[];xz(r)&&e(r,n);var i=yz(n.path,o?o.path:"/");t.set(hz(i),n)}))}(e),t}(r);return{breadcrumb:a,menuData:i}};function $z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Oz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$z(Object(n),!0).forEach((function(t){Mz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nz=function e(){var t={};return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){var o=Oz({},n);if(o&&o.key){!o.children&&o[gz]&&(o.children=o[gz],delete o[gz]);var r=o.children||[];t[hz(o.path||o.key||"/")]=Oz({},o),t[o.key||o.path||"/"]=Oz({},o),r&&(t=Oz(Oz({},t),e(r)))}})),t},jz=function(e,t,n,o){var r=Nz(t),i=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(n){if("/"===n&&"/"===e)return!0;if("/"!==n&&"/*"!==n&&n&&!vz(n)){var o=hz(n);try{if(t&&FB.pathToRegexp("".concat(o)).test(e))return!0;if(FB.pathToRegexp("".concat(o),[]).test(e))return!0;if(FB.pathToRegexp("".concat(o,"/(.*)")).test(e))return!0}catch(e){}}return!1})).sort((function(t,n){return t===e?10:n===e?-10:t.substr(1).split("/").length-n.substr(1).split("/").length}))}(Object.keys(r),e,o);return!i||i.length<1?[]:i.map((function(e){var t=r[e]||{pro_layout_parentKeys:"",key:""},n=new Map,o=(t.pro_layout_parentKeys||[]).map((function(e){return n.has(e)?null:(n.set(e,!0),r[e])})).filter((function(e){return e}));return t.key&&o.push(t),o})).flat(1)},Iz=function(n){var o=t.useContext(zI).hashId,r=n.style,i=n.prefixCls,a=n.children,l=n.hasPageContainer,c=void 0===l?0:l,s=f("".concat(i,"-content"),o,it(it({},"".concat(i,"-has-header"),n.hasHeader),"".concat(i,"-content-has-page-container"),c>0)),u=n.ErrorBoundary||LI;return!1===n.ErrorBoundary?e.jsx(i$.Content,{className:s,style:r,children:a}):e.jsx(u,{children:e.jsx(i$.Content,{className:s,style:r,children:a})})},Pz=function(){return e.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[e.jsx("stop",{stopColor:"#4285EB",offset:"0%"}),e.jsx("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),e.jsxs("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[e.jsx("stop",{stopColor:"#29CDFF",offset:"0%"}),e.jsx("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),e.jsx("stop",{stopColor:"#0A60FF",offset:"100%"})]}),e.jsxs("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[e.jsx("stop",{stopColor:"#FA816E",offset:"0%"}),e.jsx("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),e.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]}),e.jsxs("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[e.jsx("stop",{stopColor:"#FA8E7D",offset:"0%"}),e.jsx("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),e.jsx("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),e.jsx("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:e.jsx("g",{transform:"translate(-20.000000, -20.000000)",children:e.jsx("g",{transform:"translate(20.000000, 20.000000)",children:e.jsxs("g",{children:[e.jsxs("g",{fillRule:"nonzero",children:[e.jsxs("g",{children:[e.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),e.jsx("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),e.jsx("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),e.jsx("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Tz=new Ro("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Rz=function(e){var t,n,o,r,i,a,l,c,s,u,d,p;return it({},"".concat(e.proComponentsCls,"-layout"),it(it(it({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:(null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,it(it(it(it(it(it(it(it(it({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.paddingInlineLayoutMenu,paddingBlock:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),it(it({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:not(").concat(e.antCls,"-menu-item-selected):hover"),{color:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat(null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.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:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenuTitle,animationName:Tz,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":it({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"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:null===(s=e.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.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}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Tz,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((null===(d=e.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((null===(p=e.layout)||void 0===p||null===(p=p.header)||void 0===p?void 0:p.heightLayoutHeader)||56,"px")}}))};var Bz=function(n){var o,r=n.isMobile,i=n.siderWidth,a=n.collapsed,l=n.onCollapse,c=n.style,s=n.className,u=n.hide,d=n.prefixCls,p=n.getContainer,m=t.useContext(zI).token;t.useEffect((function(){!0===r&&(null==l||l(!0))}),[r]);var g=Cu(n,["className","style"]),h=t.useContext(xc.ConfigContext).direction,v=function(e,t){var n=t.proLayoutCollapsedWidth;return SI("ProLayoutSiderMenu",(function(t){var o=lt(lt({},t),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:n});return[Rz(o)]}))}("".concat(d,"-sider"),{proLayoutCollapsedWidth:64}),b=v.wrapSSR,y=v.hashId,x=f("".concat(d,"-sider"),s,y);if(u)return null;var C=qI(!a,(function(){return null==l?void 0:l(!0)}));return b(r?e.jsx(zE,lt(lt({placement:"rtl"===h?"right":"left",className:f("".concat(d,"-drawer-sider"),s)},C),{},{style:lt({padding:0,height:"100vh"},c),onClose:function(){null==l||l(!0)},maskClosable:!0,closable:!1,getContainer:p||!1,width:i,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:null===(o=m.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.colorMenuBackground}},children:e.jsx(YR,lt(lt({},g),{},{isMobile:!0,className:x,collapsed:!r&&a,splitMenus:!1,originCollapsed:a}))})):e.jsx(YR,lt(lt({className:x,originCollapsed:a},g),{},{style:c})))},zz=function(e){var t,n,o,r,i,a,l,c,s,u,d,p,f,m,g,h,v,b,y,x,C,w,S,E,k,$,O,M,N,j,I,P,T;return null!==(t="undefined"==typeof process?Xa:(null===(T=process)||void 0===T||null===(T=T.env)||void 0===T?void 0:T.ANTD_VERSION)||Xa)&&void 0!==t&&t.startsWith("5")?{}:it(it(it({},e.componentCls,it(it({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(it(it(it(it(it(it(it(it(it(it(C={color:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorTextMenu},"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),it(it({color:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),it({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),it({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),it({color:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),it(it({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),it({color:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat(null===(s=e.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:null===(d=e.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.colorTextMenuSelected}),it(it(it(it(it(C,"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(p=e.layout)||void 0===p||null===(p=p.sider)||void 0===p?void 0:p.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:null===(f=e.layout)||void 0===f||null===(f=f.sider)||void 0===f?void 0:f.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),it({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:null===(m=e.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:null===(g=e.layout)||void 0===g||null===(g=g.sider)||void 0===g?void 0:g.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),it(it(it(it({},"".concat(e.antCls,"-menu-item:hover,\n ").concat(e.antCls,"-menu-submenu:hover,\n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:null===(h=e.layout)||void 0===h||null===(h=h.header)||void 0===h?void 0:h.colorTextMenuActive,backgroundColor:"".concat(null===(v=e.layout)||void 0===v||null===(v=v.header)||void 0===v?void 0:v.colorBgMenuItemHover," !important")}),"".concat(e.antCls,"-menu-item-open,\n ").concat(e.antCls,"-menu-submenu-open,\n ").concat(e.antCls,"-menu-item-selected,\n ").concat(e.antCls,"-menu-submenu-selected"),it({backgroundColor:null===(b=e.layout)||void 0===b||null===(b=b.header)||void 0===b?void 0:b.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(null===(y=e.layout)||void 0===y||null===(y=y.header)||void 0===y?void 0:y.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat(null===(x=e.layout)||void 0===x||null===(x=x.header)||void 0===x?void 0:x.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),it(it({},"&".concat(e.antCls,"-menu"),it({color:null===(w=e.layout)||void 0===w||null===(w=w.header)||void 0===w?void 0:w.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),it(it({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),it({color:null===(S=e.layout)||void 0===S||null===(S=S.header)||void 0===S?void 0:S.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:null===(E=e.layout)||void 0===E||null===(E=E.header)||void 0===E?void 0:E.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(k=e.layout)||void 0===k||null===(k=k.header)||void 0===k?void 0:k.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:null===($=e.layout)||void 0===$||null===($=$.header)||void 0===$?void 0:$.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:null===(O=e.layout)||void 0===O||null===(O=O.header)||void 0===O?void 0:O.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),it(it(it(it({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),it({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:null===(M=e.layout)||void 0===M||null===(M=M.sider)||void 0===M?void 0:M.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(N=e.layout)||void 0===N||null===(N=N.sider)||void 0===N?void 0:N.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),it(it({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:null===(j=e.layout)||void 0===j||null===(j=j.sider)||void 0===j?void 0:j.colorTextMenuSelected}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),it({color:null===(I=e.layout)||void 0===I||null===(I=I.sider)||void 0===I?void 0:I.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(P=e.layout)||void 0===P||null===(P=P.sider)||void 0===P?void 0:P.colorTextMenuActive}))))},Dz=function(e){var t,n,o,r;return it(it({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,it(it(it(it({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.paddingBlockPageContainerContent,paddingInline:null===(o=e.layout)||void 0===o||null===(o=o.pageContainer)||void 0===o?void 0:o.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:null===(r=e.layout)||void 0===r?void 0:r.bgLayout}))};var Lz=function(t,n,o){var r=t,i=r.breadcrumbName,a=r.title,l=r.path;return o.findIndex((function(e){return e.linkPath===t.path}))===o.length-1?e.jsx("span",{children:a||i}):e.jsx("span",{onClick:l?function(){return location.href=l}:void 0,children:a||i})},Fz=function(e,t,n){var o=function(e){if(!e||"/"===e)return["/"];var t=e.split("/").filter((function(e){return e}));return t.map((function(e,n){return"/".concat(t.slice(0,n+1).join("/"))}))}(null==e?void 0:e.pathname),r=o.map((function(e){var o=function(e,t){var n=e.get(t);if(!n){var o=(Array.from(e.keys())||[]).find((function(e){try{return(null==e||!e.startsWith("http"))&&zB.match(e.replace("?",""))(t)}catch(t){return console.log("path",e,t),!1}}));o&&(n=e.get(o))}return n||{path:""}}(t,e),r=function(e,t){var n=t.formatMessage,o=t.menu;return e.locale&&n&&!1!==(null==o?void 0:o.locale)?n({id:e.locale,defaultMessage:e.name}):e.name}(o,n),i=o.hideInBreadcrumb;return r&&!i?{linkPath:e,breadcrumbName:r,title:r,component:o.component}:{linkPath:"",breadcrumbName:"",title:""}})).filter((function(e){return e&&e.linkPath}));return r},Hz=function(e,t){var n,o=e.breadcrumbRender,r=e.itemRender,i=(t.breadcrumbProps||{}).minLength,a=void 0===i?2:i,l=function(e){var t=function(e){return{location:e.location,breadcrumbMap:e.breadcrumbMap}}(e),n=t.location,o=t.breadcrumbMap;return n&&n.pathname&&o?Fz(n,o,e):[]}(e),c=function(e){for(var t=r||Lz,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return null==t?void 0:t.apply(void 0,[lt(lt({},e),{},{path:e.linkPath||e.path})].concat(o))},s=l;return o&&(s=o(s||[])||void 0),(s&&s.length<a||!1===o)&&(s=void 0),XI("undefined"==typeof process?Xa:(null===(n=process)||void 0===n||null===(n=n.env)||void 0===n?void 0:n.ANTD_VERSION)||Xa,"5.3.0")>-1?{items:s,itemRender:c}:{routes:s,itemRender:c}};var Az=function e(t,n,o,r){var i,a=kz(t,(null==n?void 0:n.locale)||!1,o,!0),l=a.menuData,c=a.breadcrumb;return r?e(r(l),n,o,void 0):{breadcrumb:(i=c,Qe(i).reduce((function(e,t){var n=tt(t,2),o=n[0],r=n[1];return e[o]=r,e}),{})),breadcrumbMap:c,menuData:l}},_z=["id","defaultMessage"],Wz=["fixSiderbar","navTheme","layout"],Vz=0,Xz=function(n){var o,r,i,a,l,c,s,u,d,p,m,g,h,v,b=n||{},y=b.children,x=b.onCollapse,C=b.location,w=void 0===C?{pathname:"/"}:C,S=b.contentStyle,E=b.route,k=b.defaultCollapsed,$=b.style,O=b.siderWidth,M=b.menu,N=b.siderMenuType,j=b.isChildrenLayout,I=b.menuDataRender,P=b.actionRef,T=b.bgLayoutImgList,R=b.formatMessage,B=b.loading,z=t.useMemo((function(){return O||("mix"===n.layout?215:256)}),[n.layout,O]),D=t.useContext(xc.ConfigContext),L=null!==(o=n.prefixCls)&&void 0!==o?o:D.getPrefixCls("pro"),F=tt(Ta(!1,{value:null==M?void 0:M.loading,onChange:null==M?void 0:M.onLoadingChange}),2),H=F[0],A=F[1],_=tt(t.useState((function(){return"pro-layout-".concat(Vz+=1)})),1)[0],W=t.useCallback((function(e){var t=e.id,n=e.defaultMessage,o=nt(e,_z);if(R)return R(lt({id:t,defaultMessage:n},o));var r=vB();return r[t]?r[t]:n}),[R]),V=uj([_,null==M?void 0:M.params],function(){var e=eu(Qs().mark((function e(t){var n,o,r,i;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=tt(t,2),r=o[1],A(!0),e.next=4,null==M||null===(n=M.request)||void 0===n?void 0:n.call(M,r||{},(null==E?void 0:E.children)||(null==E?void 0:E.routes)||[]);case 4:return i=e.sent,A(!1),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),X=V.data,G=V.mutate,q=V.isLoading;t.useEffect((function(){A(q)}),[q]);var K=ij().cache;t.useEffect((function(){return function(){K instanceof Map&&K.delete(_)}}),[]);var U=t.useMemo((function(){return Az(X||(null==E?void 0:E.children)||(null==E?void 0:E.routes)||[],M,W,I)}),[W,M,I,X,null==E?void 0:E.children,null==E?void 0:E.routes])||{},Y=U.breadcrumb,Z=U.breadcrumbMap,Q=U.menuData,J=void 0===Q?[]:Q;P&&null!=M&&M.request&&(P.current={reload:function(){G()}});var ee=t.useMemo((function(){return jz(w.pathname||"/",J||[])}),[w.pathname,J]),te=t.useMemo((function(){return Array.from(new Set(ee.map((function(e){return e.key||e.path||""}))))}),[ee]),ne=ee[ee.length-1]||{},oe=function(e){var n=tt(t.useState({}),2),o=n[0],r=n[1];return t.useEffect((function(){r(FI({layout:"object"!==ot(e.layout)?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]),o}(ne),re=lt(lt({},n),oe),ie=re.fixSiderbar;re.navTheme;var ae=re.layout,le=nt(re,Wz),ce=tP(),se=t.useMemo((function(){return("sm"===ce||"xs"===ce)&&!n.disableMobile}),[ce,n.disableMobile]),ue="top"!==ae&&!se,de=tt(Ta((function(){return void 0!==k?k:"TEST"!==process.env.NODE_ENV&&(!!se||"md"===ce)}),{value:n.collapsed,onChange:x}),2),pe=de[0],fe=de[1],me=Cu(lt(lt(lt({prefixCls:L},n),{},{siderWidth:z},oe),{},{formatMessage:W,breadcrumb:Y,menu:lt(lt({},M),{},{type:N||(null==M?void 0:M.type),loading:H}),layout:ae}),["className","style","breadcrumbRender"]),ge=function(e,t){var n=t.pageTitleRender,o=DB(e);if(!1===n)return{title:t.title||"",id:"",pageName:""};if(n){var r=n(e,o.title,o);if("string"==typeof r)return DB(lt(lt({},o),{},{title:r}));Mt("string"==typeof r,"pro-layout: renderPageTitle return value should be a string")}return o}(lt(lt({pathname:w.pathname},me),{},{breadcrumbMap:Z}),n),he=Hz(lt(lt({},me),{},{breadcrumbRender:n.breadcrumbRender,breadcrumbMap:Z}),n),ve=function(t,n){var o,r=t.layout,i=t.isMobile,a=t.selectedKeys,l=t.openKeys,c=t.splitMenus,s=t.suppressSiderWhenMenuEmpty,u=t.menuRender;if(!1===t.menuRender||t.pure)return null;var d=t.menuData;if(c&&(!1!==l||"mix"===r)&&!i){var p,f=tt(a||n,1)[0];d=f&&(null===(p=t.menuData)||void 0===p||null===(p=p.find((function(e){return e.key===f})))||void 0===p?void 0:p.children)||[]}var m,g=wR(d||[]);if(g&&(null==g?void 0:g.length)<1&&(c||s))return null;if("top"===r&&!i)return e.jsx(Bz,lt(lt({matchMenuKeys:n},t),{},{hide:!0,stylish:null===(m=t.stylish)||void 0===m?void 0:m.sider}));var h=e.jsx(Bz,lt(lt({matchMenuKeys:n},t),{},{menuData:g,stylish:null===(o=t.stylish)||void 0===o?void 0:o.sider}));return u?u(t,h):h}(lt(lt({},me),{},{menuData:J,onCollapse:fe,isMobile:se,collapsed:pe}),te),be=function(t,n){var o;return!1===t.headerRender||t.pure?null:e.jsx(cB,lt(lt({matchMenuKeys:n},t),{},{stylish:null===(o=t.stylish)||void 0===o?void 0:o.header}))}(lt(lt({},me),{},{children:null,hasSiderMenu:!!ve,menuData:J,isMobile:se,collapsed:pe,onCollapse:fe}),te),ye=function(t){return!1===t.footerRender||t.pure?null:t.footerRender?t.footerRender(lt({},t),e.jsx(bR,{})):null}(lt({isMobile:se,collapsed:pe},me)),xe=t.useContext(iP).isChildrenLayout,Ce=void 0!==j?j:xe,we="".concat(L,"-layout"),Se=function(e){return SI("ProLayout",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[Dz(n),zz(n)]}))}(we),Ee=Se.wrapSSR,ke=Se.hashId,$e=f(n.className,ke,"ant-design-pro",we,it(it(it(it(it({},"screen-".concat(ce),ce),"".concat(we,"-top-menu"),"top"===ae),"".concat(we,"-is-children"),Ce),"".concat(we,"-fix-siderbar"),ie),"".concat(we,"-").concat(ae),ae)),Oe=function(e,t,n){return e?t?64:n:0}(!!ue,pe,z),Me={position:"relative"};(Ce||S&&S.minHeight)&&(Me.minHeight=0),t.useEffect((function(){var e;null===(e=n.onPageChange)||void 0===e||e.call(n,n.location)}),[w.pathname,null===(r=w.pathname)||void 0===r?void 0:r.search]);var Ne,je,Ie,Pe=tt(t.useState(!1),2),Te=Pe[0],Re=Pe[1],Be=tt(t.useState(0),2),ze=Be[0],De=Be[1];Ne=ge,je=n.title||!1,Ie="string"==typeof Ne.pageName?Ne.title:je,t.useEffect((function(){ZI()&&Ie&&(document.title=Ie)}),[Ne.title,Ie]);var Le=t.useContext(zI).token,Fe=t.useMemo((function(){return T&&T.length>0?null==T?void 0:T.map((function(t,n){return e.jsx("img",{src:t.src,style:lt({position:"absolute"},t)},n)})):null}),[T]);return Ee(e.jsx(iP.Provider,{value:lt(lt({},me),{},{breadcrumb:he,menuData:J,isMobile:se,collapsed:pe,hasPageContainer:ze,setHasPageContainer:De,isChildrenLayout:!0,title:ge.pageName,hasSiderMenu:!!ve,hasHeader:!!be,siderWidth:Oe,hasFooter:!!ye,hasFooterToolbar:Te,setHasFooterToolbar:Re,pageTitleInfo:ge,matchMenus:ee,matchMenuKeys:te,currentMenu:ne}),children:n.pure?e.jsx(e.Fragment,{children:y}):e.jsxs("div",{className:$e,children:[Fe||null!==(i=Le.layout)&&void 0!==i&&i.bgLayout?e.jsx("div",{className:f("".concat(we,"-bg-list"),ke),children:Fe}):null,e.jsxs(i$,{style:lt({minHeight:"100%",flexDirection:ve?"row":void 0},$),children:[e.jsx(xc,{theme:{hashed:jI(),token:{controlHeightLG:(null===(a=Le.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.menuHeight)||(null==Le?void 0:Le.controlHeightLG)},components:{Menu:KI({colorItemBg:(null===(l=Le.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorMenuBackground)||"transparent",colorSubItemBg:(null===(c=Le.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorMenuBackground)||"transparent",radiusItem:Le.borderRadius,colorItemBgSelected:(null===(s=Le.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.colorBgMenuItemSelected)||(null==Le?void 0:Le.colorBgTextHover),colorItemBgHover:(null===(u=Le.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorBgMenuItemHover)||(null==Le?void 0:Le.colorBgTextHover),colorItemBgActive:(null===(d=Le.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.colorBgMenuItemActive)||(null==Le?void 0:Le.colorBgTextActive),colorItemBgSelectedHorizontal:(null===(p=Le.layout)||void 0===p||null===(p=p.sider)||void 0===p?void 0:p.colorBgMenuItemSelected)||(null==Le?void 0:Le.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(m=Le.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorTextMenu)||(null==Le?void 0:Le.colorTextSecondary),colorItemTextHover:(null===(g=Le.layout)||void 0===g||null===(g=g.sider)||void 0===g?void 0:g.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(null===(h=Le.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==Le?void 0:Le.colorBgElevated,subMenuItemBg:null==Le?void 0:Le.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==Le?void 0:Le.colorBgElevated})}},children:ve}),e.jsxs("div",{style:Me,className:"".concat(we,"-container ").concat(ke).trim(),children:[be,e.jsx(Iz,lt(lt({hasPageContainer:ze,isChildrenLayout:Ce},le),{},{hasHeader:!!be,prefixCls:we,style:S,children:B?e.jsx(tR,{}):y})),ye,Te&&e.jsx("div",{className:"".concat(we,"-has-footer"),style:{height:64,marginBlockStart:null===(v=Le.layout)||void 0===v||null===(v=v.pageContainer)||void 0===v?void 0:v.paddingBlockPageContainerContent}})]})]})]})}))},Gz=function(t){var n=t.colorPrimary,o=void 0!==t.navTheme?{dark:"realDark"===t.navTheme}:{};return e.jsx(xc,{theme:n?{token:{colorPrimary:n}}:void 0,children:e.jsx(BI,lt(lt({},o),{},{token:t.token,prefixCls:t.prefixCls,children:e.jsx(Xz,lt(lt({logo:e.jsx(Pz,{})},zR),{},{location:ZI()?window.location:void 0},t))}))})},qz=t.createContext({dataSource:[],valueTypeMap:new Map}),Kz=["iconClassName"],Uz=function(n){var o=n.label,r=n.words,i=t.useContext(xc.ConfigContext).getPrefixCls,a=i("pro-help-search-list-item-content-light"),l=i("pro-help-search-list-item-content"),c=SI("Highlight",(function(e){return it(it({},".".concat(a),{color:e.colorPrimary}),".".concat(l),{flex:"auto",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"})})),s=c.wrapSSR;if(0===r.length)return e.jsx(e.Fragment,{children:o});for(var u=new RegExp(r.map((function(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")})).join("|"),"gi"),d=o,p=[];d.length;){var f=u.exec(d);if(!f){p.push(d);break}var m=f.index,g=f[0].length+m;p.push(d.slice(0,m),t.createElement("span",{className:a},d.slice(m,g))),d=d.slice(g)}return s(t.createElement.apply(t,["div",{title:o,className:l}].concat(p)))},Yz=function(n){var o,r=n.iconClassName,i=nt(n,Kz),a=t.useContext(qz).dataSource,l=tt(t.useState(""),2),c=l[0],s=l[1],u=t.useContext(zI).hashId,d=UI(function(){var e=eu(Qs().mark((function e(t){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),20),p=tt(t.useState(!1),2),m=p[0],g=p[1];return e.jsxs(e.Fragment,{children:[m?null:e.jsx("div",{className:f(r,u),children:e.jsx(Rb,{title:"search panel",onClick:function(){g(!0)}})}),m?e.jsx(Lb,lt(lt(lt({placeholder:"please input search text",showSearch:!0},(o=!1,XI(Xa,"5.13.0")<=0?{bordered:o}:{variant:o?void 0:"borderless"})),{},{onBlur:function(){g(!1)},size:"small"},i),{},{onSearch:function(e){d.cancel(),d.run(e)},filterOption:function(e,t){var n;return(null!==(n=null==t?void 0:t.title)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},popupMatchSelectWidth:!1,options:a.map((function(t){var n;return{label:e.jsx(Uz,{label:t.title,words:[c].filter(Boolean)}),title:t.title,value:t.key,options:null===(n=t.children)||void 0===n?void 0:n.map((function(n){return{label:e.jsx(Uz,{label:n.title,words:[c].filter(Boolean)}),title:n.title,value:n.key,dataItemKey:t.key}}))}}))})):null]})},Zz=new Ro("actionsInputAnimal",{"0%":{width:"0px"},"30%":{width:"20px"},"100%":{width:"120px"}}),Qz=function(e){return it(it(it(it(it(it(it({},"".concat(e.componentCls,"-popover-text"),{color:e.colorPrimary,cursor:"pointer",boxSizing:"border-box"}),"".concat(e.componentCls,"-popover-content"),{maxWidth:300,height:"600px",maxHeight:"calc(100vh - 200px)",overflow:"auto",paddingInline:20,paddingBlockStart:24,paddingBlockEnd:32,boxSizing:"border-box"}),"".concat(e.componentCls,"-left-panel"),{overflow:"auto",boxSizing:"border-box",borderInlineEnd:"".concat(null==e?void 0:e.lineWidth,"px solid ").concat(null==e?void 0:e.colorBorderSecondary),minHeight:"648px",minWidth:190,maxWidth:190,"&-menu":{width:190,boxSizing:"border-box",minWidth:190,height:"calc(100% - 40px)",marginBlock:20}}),"".concat(e.componentCls,"-content-panel"),{minWidth:"200px",overflow:"auto",flex:1,display:"flex",flexDirection:"column",boxSizing:"border-box",minHeight:"648px",img:{width:"100%"}}),"".concat(e.componentCls,"-content-render"),{paddingBlock:20,paddingInline:24,flex:1}),"".concat(e.componentCls,"-content-footer"),{padding:8}),"".concat(e.componentCls,"-actions"),{display:"flex",boxSizing:"border-box",gap:e.marginSM,"&-item":{display:"flex",boxSizing:"border-box",alignItems:"center",justifyItems:"center",padding:4,height:24,minWidth:24,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{backgroundColor:e.colorBgTextHover}},"&-input":{margin:0,maxWidth:120,padding:0,width:"120px",boxSizing:"border-box",borderRadius:e.borderRadius,backgroundColor:e.colorBgTextHover,animationName:Zz,animationDuration:"0.1s",animationTimingFunction:"linear"}})};function Jz(e){return SI("ProHelp",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[Qz(n)]}))}var eD=["title","bordered","onClose","footer","height","extraRender"],tD=t.createContext({selectedKey:void 0,setSelectedKey:function(){}}),nD=function(n){var o,r,i,a,l,c=n.title,s=void 0===c?"帮助中心":c,u=n.bordered,d=void 0===u||u,p=n.onClose,f=n.footer,m=n.height,g=n.extraRender,h=nt(n,eD),v=(0,t.useContext(xc.ConfigContext).getPrefixCls)("pro-help"),b=Jz(v),y=b.wrapSSR,x=b.hashId,C=t.useContext(qz).dataSource,w=tt(Ta(void 0,{defaultValue:h.defaultSelectedKey,value:h.selectedKey,onChange:h.onSelectedKeyChange}),2),S=w[0],E=w[1],k=tt(t.useState(""),2),$=k[0],O=k[1],M=t.useContext(zI).token,N=tt(Ta(!0,{value:h.showLeftPanel,onChange:h.onShowLeftPanelChange}),2),j=N[0],I=N[1],P=t.useMemo((function(){var e=new Map;return C.forEach((function(t){var n;e.set(t.key,t),null===(n=t.children)||void 0===n||n.forEach((function(n){e.set(n.key||n.title,lt({parentKey:t.key},n))}))})),e}),[C]),T=t.useMemo((function(){var e;return null===(e=P.get(S))||void 0===e?void 0:e.parentKey}),[P,S]),R={collapsePanelAction:e.jsx("div",{className:"".concat(v,"-actions-item ").concat(x).trim(),children:e.jsx(IO,{title:"collapse panel",onClick:function(){I(!j)}})}),helpSelectAction:e.jsx(Yz,{iconClassName:"".concat(v,"-actions-item"),className:"".concat(x," ").concat(v,"-actions-input"),value:S,onChange:function(e,t){E(e),O(null==t?void 0:t.dataItemKey)}}),closeAction:e.jsx("div",{className:"".concat(v,"-actions-item ").concat(x).trim(),children:e.jsx(Yc,{title:"close panel",onClick:function(){null==p||p()}})})};return y(e.jsx(tD.Provider,{value:{selectedKey:S,setSelectedKey:E},children:e.jsxs(GS,{bordered:d,title:s,bodyStyle:{display:"flex",padding:0,margin:0,height:"100%",width:"100%"},size:"small",extra:e.jsx("div",{className:"".concat(v,"-actions ").concat(x).trim(),children:g?g(R.collapsePanelAction,R.helpSelectAction,R.closeAction):e.jsxs(e.Fragment,{children:[R.collapsePanelAction,R.helpSelectAction,p?R.closeAction:null]})}),children:[j?e.jsx("div",{className:"".concat(x," ").concat(v,"-left-panel "),style:{height:m},children:e.jsx(xc,{theme:{hashed:jI(),token:{lineHeight:1.2,fontSize:12,controlHeightLG:26},components:{Menu:KI({radiusItem:M.borderRadius,colorActiveBarWidth:0,colorActiveBarBorderSize:0,colorItemBgSelected:(null===(o=M.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.colorBgMenuItemSelected)||"rgba(0, 0, 0, 0.04)",colorItemBgActive:(null===(r=M.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemText:(null===(i=M.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenu)||"rgba(0, 0, 0, 0.65)",colorItemTextHover:(null===(a=M.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(null===(l=M.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorItemBg:"transparent",colorSubItemBg:"transparent",popupBg:null==M?void 0:M.colorBgElevated,darkPopupBg:null==M?void 0:M.colorBgElevated})}},children:e.jsx(XC,{className:"".concat(x," ").concat(v,"-left-panel-menu"),openKeys:[T,$],onOpenChange:function(e){O(e.at(-1)||"")},selectedKeys:S?[S]:[],onSelect:function(e){var t=e.selectedKeys;E(t.at(-1)||"")},mode:"inline",items:C.map((function(e){return{key:e.key,label:e.title,children:e.children.map((function(e){return{key:e.key,label:e.title}}))}}))})})}):null,e.jsxs("div",{className:"".concat(x," ").concat(v,"-content-panel"),style:{height:m},children:[S?e.jsx(lD,{parentItem:P.get(T),className:"".concat(v,"-content-render"),selectedKey:S,onScroll:function(e){return E(e)}}):null,f?e.jsx("div",{className:"".concat(x," ").concat(v,"-footer"),children:f}):null]})]})}))},oD=function(n){var o=t.useRef(null);return t.useEffect((function(){o.current&&(o.current.innerHTML=n.children)}),[n.children]),e.jsx("div",{ref:o,className:n.className||"inner-html"})},rD=function(n){var o=t.useContext(tD);return e.jsx(tN.Text,{children:e.jsx("a",{"data-testid":"navigation-switch",onClick:function(){o.setSelectedKey(n.selectKey)},children:n.children})})},iD=function(n){var o=n.dataSourceChildren,r=n.onInit,i=t.useContext(qz).valueTypeMap,a=t.useRef(null);t.useEffect((function(){null==r||r(a.current)}),[o]);return e.jsx("div",{ref:a,children:null==o?void 0:o.map((function(n,o){var r;return i.has(n.valueType)?e.jsx(t.Fragment,{children:null===(r=i.get(n.valueType))||void 0===r?void 0:r(n,o)},o):"html"===n.valueType?e.jsx(oD,lt({},n.children),o):"h1"===n.valueType?e.jsx(tN.Title,{style:{marginTop:0},level:3,children:n.children},o):"h2"===n.valueType?e.jsx(tN.Title,{style:{marginTop:20},level:5,children:n.children},o):"image"===n.valueType?e.jsx("div",{style:{marginBlock:12},children:e.jsx(Lk,lt({},n.children))},o):"inlineLink"===n.valueType?e.jsx(tN.Text,{children:e.jsx("a",lt({},n.children))},o):"link"===n.valueType?e.jsx("div",{children:e.jsx(tN.Text,{children:e.jsx("a",lt({},n.children))},o)},o):"navigationSwitch"===n.valueType?e.jsx(rD,lt({},n.children),o):e.jsx(tN.Text,{children:n.children},o)}))})},aD=function(n){var o=n.item,r=n.onInit,i=t.useContext(qz).onLoadContext,a=tt(t.useState(!1),2),l=a[0],c=a[1],s=tt(t.useState(),2),u=s[0],d=s[1];return t.useEffect((function(){o.key&&(c(!0),null==i||i(o.key,o).then((function(e){c(!1),d(e)})))}),[o.key]),o.key?l&&o.key?e.jsx("div",{style:{display:"flex",justifyContent:"center",width:"100%",boxSizing:"border-box",padding:24},children:e.jsx(G$,{})},o.key):e.jsx(iD,{onInit:function(e){null==r||r(e)},dataSourceChildren:u}):null},lD=function(n){var o=n.className,r=n.parentItem,i=n.selectedKey,a=n.onScroll,l=t.useContext(qz).dataSource,c=t.useContext(zI).hashId,s=t.useRef(new Map),u=t.useRef(null);t.useEffect((function(){if(i&&null!=r&&r.infiniteScrollFull){var e=s.current.get(i);null!=e&&e.offsetTop&&u.current&&Math.abs(u.current.scrollTop-(null==e?void 0:e.offsetTop)+40)>(null==e?void 0:e.clientHeight)&&(u.current.scrollTop=(null==e?void 0:e.offsetTop)-40)}}),[i]);var d=UI(function(){var e=eu(Qs().mark((function e(t){var n,o;return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null==t?void 0:t.target,o=Array.from(s.current.entries()).find((function(e){var t=tt(e,2)[1];return(null==n?void 0:n.scrollTop)<t.offsetTop}))){e.next=4;break}return e.abrupt("return");case 4:o.at(0)!==i&&(null==a||a(o.at(0)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),200);t.useEffect((function(){var e;if(null!=r&&r.infiniteScrollFull)return d.cancel(),null===(e=u.current)||void 0===e||e.addEventListener("scroll",d.run,!1),function(){var e;d.cancel(),null===(e=u.current)||void 0===e||e.removeEventListener("scroll",d.run,!1)}}),[null==r?void 0:r.infiniteScrollFull,i]);var p,m=t.useMemo((function(){var e=new Map;return l.forEach((function(t){t.children.forEach((function(n){e.set(n.key||n.title,lt(lt({},n),{},{parentKey:t.key}))}))})),e}),[l]),g=function(t){return null!=t&&t.asyncLoad?e.jsx("div",{className:f(o,c),id:t.title,children:e.jsx(aD,{item:t,onInit:function(e){s.current&&s.current.set(t.key,e)}},null==t?void 0:t.key)}):e.jsx("div",{className:f(o,c),id:t.title,children:e.jsx(iD,{onInit:function(e){s.current&&s.current.set(t.key,e)},dataSourceChildren:(null==t?void 0:t.children)||[]})})};return r&&r.infiniteScrollFull?e.jsx("div",{ref:u,className:f("".concat(o,"-infinite-scroll"),c),style:{overflow:"auto"},children:null===(p=r.children)||void 0===p?void 0:p.map((function(n){return e.jsx(t.Fragment,{children:g(n)},n.key)}))}):g(m.get(i))},cD=["drawerProps"],sD=["modalProps"],uD=["dataSource","valueTypeMap","onLoadContext"],dD=Object.freeze({__proto__:null,DefaultFooter:bR,DefaultHeader:cB,FooterToolbar:rP,GridContent:sP,PageContainer:function(t){return e.jsx(BI,{needDeps:!0,children:e.jsx(mR,lt({},t))})},PageHeader:JT,PageLoading:tR,ProBreadcrumb:function(n){var o=t.useContext(iP);return e.jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:e.jsx(cw,lt(lt(lt({},null==o?void 0:o.breadcrumb),null==o?void 0:o.breadcrumbProps),n))})},ProHelp:function(t){var n=t.dataSource,o=t.valueTypeMap,r=void 0===o?new Map:o,i=t.onLoadContext,a=nt(t,uD);return e.jsx(qz.Provider,{value:{onLoadContext:i,dataSource:n,valueTypeMap:r},children:a.children})},ProHelpContentPanel:lD,ProHelpDrawer:function(t){var n=t.drawerProps,o=nt(t,cD),r=tt(Ta(!1,{value:n.open,onChange:n.afterOpenChange}),2),i=r[0],a=r[1];return e.jsx(zE,lt(lt({width:720,closeIcon:null,styles:{header:{display:"none"},body:{padding:0}},maskClosable:!0},n),{},{open:i,onClose:function(){return a(!1)},afterOpenChange:function(e){a(e)},children:e.jsx(nD,lt(lt({},o),{},{onClose:function(){return a(!1)},bordered:!1}))}))},ProHelpModal:function(t){var n=t.modalProps,o=nt(t,sD),r=tt(Ta(!1,{value:null==n?void 0:n.open,onChange:null==n?void 0:n.afterClose}),2),i=r[0],a=r[1];return e.jsx(vO,lt(lt({onCancel:function(){a(!1)},styles:{body:{margin:-24}},centered:!0,closable:!1,footer:null,width:720,open:i,maskClosable:!0},n),{},{children:e.jsx(nD,lt(lt({height:648},o),{},{onClose:function(){return a(!1)}}))}))},ProHelpPanel:nD,ProHelpPopover:function(n){var o=(0,t.useContext(xc.ConfigContext).getPrefixCls)("pro-help"),r=t.useContext(zI).hashId;return(0,Jz(o).wrapSSR)(e.jsx(Ny,lt(lt({overlayInnerStyle:{padding:0},content:e.jsx("div",{className:f("".concat(o,"-popover-content"),r,n.popoverContextClassName),children:e.jsx(lD,{selectedKey:n.selectedKey})})},n.popoverProps),{},{children:e.jsx("span",{className:f("".concat(o,"-popover-text"),r,n.textClassName),children:n.children})})))},ProHelpProvide:qz,ProHelpSelect:Yz,ProLayout:Gz,ProPageHeader:function(e){var n=t.useContext(iP);return fR(lt(lt({},e),{},{hashId:"",value:n}))},RenderContentPanel:iD,RouteContext:iP,SelectKeyProvide:tD,SettingDrawer:function(n){var o=n.defaultSettings,r=void 0===o?void 0:o,i=n.settings,a=void 0===i?void 0:i,l=n.hideHintAlert,c=n.hideCopyButton,s=n.colorList,u=void 0===s?[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]:s,d=n.getContainer,p=n.onSettingChange,f=n.enableDarkTheme,m=n.prefixCls,g=void 0===m?"ant-pro":m,h=n.pathname,v=void 0===h?ZI()?window.location.pathname:"":h,b=n.disableUrlParams,y=void 0===b||b,x=n.themeOnly,C=n.drawerProps,w=t.useRef(!0),S=tt(Ta(!1,{value:n.collapse,onChange:n.onCollapseChange}),2),E=S[0],k=S[1],$=tt(t.useState(hB()),2),O=$[0],M=$[1],N=tt(uB({},{disabled:y}),2),j=N[0],I=N[1],P=tt(Ta((function(){return PB(j,a||r)}),{value:a,onChange:p}),2),T=P[0],R=P[1],B=T||{},z=B.navTheme,D=B.colorPrimary,L=B.siderMenuType,F=B.layout,H=B.colorWeak;t.useEffect((function(){var e=function(){O!==hB()&&M(hB())};return ZI()?(IB(PB(j,a),T,R),window.document.addEventListener("languagechange",e,{passive:!0}),function(){return window.document.removeEventListener("languagechange",e)}):function(){return null}}),[]),t.useEffect((function(){XI(Xa,"5.0.0")<0&&xc.config({theme:{primaryColor:T.colorPrimary}})}),[T.colorPrimary,T.navTheme]);var A=function(e,t){var n={};if(n[e]=t,"layout"===e&&(n.contentWidth="top"===t?"Fixed":"Fluid"),"layout"===e&&"mix"!==t&&(n.splitMenus=!1),"layout"===e&&"mix"===t&&(n.navTheme="light"),"colorWeak"===e&&!0===t){var o=document.querySelector("body");o&&(o.dataset.prosettingdrawer=o.style.filter,o.style.filter="invert(80%)")}if("colorWeak"===e&&!1===t){var r=document.querySelector("body");r&&(r.style.filter=r.dataset.prosettingdrawer||"none",delete r.dataset.prosettingdrawer)}delete n.menu,delete n.title,delete n.iconfontUrl,delete n.logo,delete n.pwa,R(lt(lt({},T),n))},_=jB();t.useEffect((function(){if(ZI()&&!y)if(w.current)w.current=!1;else{var e,t,n=new URLSearchParams(window.location.search),o=Object.fromEntries(n.entries()),r=(e=lt(lt({},o),T),t={},Object.keys(e).forEach((function(n){e[n]!==zR[n]&&"collapse"!==n?t[n]=e[n]:t[n]=void 0,n.includes("Render")&&(t[n]=!1!==e[n]&&void 0)})),t.menu=void 0,t);delete r.logo,delete r.menu,delete r.title,delete r.iconfontUrl,delete r.pwa,I(r)}}),[I,T,j,v,y]);var W="".concat(g,"-setting-drawer"),V=function(e){return SI("ProLayoutSettingDrawer",(function(t){var n=lt(lt({},t),{},{componentCls:".".concat(e)});return[OB(n)]}))}(W),X=V.wrapSSR,G=V.hashId,q=qI(E);return X(e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"".concat(W,"-handle ").concat(G).trim(),onClick:function(){return k(!E)},style:{width:48,height:48},children:E?e.jsx(Yc,{style:{color:"#fff",fontSize:20}}):e.jsx(TO,{style:{color:"#fff",fontSize:20}})}),e.jsx(zE,lt(lt(lt({},q),{},{width:300,onClose:function(){return k(!1)},closable:!1,placement:"right",getContainer:d,style:{zIndex:999}},C),{},{children:e.jsxs("div",{className:"".concat(W,"-drawer-content ").concat(G).trim(),children:[e.jsx(NB,{title:_({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:G,prefixCls:W,children:e.jsx(bB,{hashId:G,prefixCls:W,list:[{key:"light",title:_({id:"app.setting.pagestyle.light",defaultMessage:"亮色菜单风格"})},{key:"realDark",title:_({id:"app.setting.pagestyle.realdark",defaultMessage:"暗色菜单风格"})}].filter((function(e){return("dark"!==e.key||"mix"!==T.layout)&&!("realDark"===e.key&&!f)})),value:z,configType:"theme",onChange:function(e){return A("navTheme",e)}},"navTheme")}),!1!==u&&e.jsx(NB,{hashId:G,title:_({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:W,children:e.jsx(EB,{hashId:G,prefixCls:W,colorList:u,value:CR(D),formatMessage:_,onChange:function(e){return A("colorPrimary",e)}})}),!x&&e.jsxs(e.Fragment,{children:[e.jsx(iE,{}),e.jsx(NB,{hashId:G,prefixCls:W,title:_({id:"app.setting.navigationmode"}),children:e.jsx(bB,{prefixCls:W,value:F,hashId:G,configType:"layout",list:[{key:"side",title:_({id:"app.setting.sidemenu"})},{key:"top",title:_({id:"app.setting.topmenu"})},{key:"mix",title:_({id:"app.setting.mixmenu"})}],onChange:function(e){return A("layout",e)}},"layout")}),"side"==T.layout||"mix"==T.layout?e.jsx(NB,{hashId:G,prefixCls:W,title:_({id:"app.setting.sidermenutype"}),children:e.jsx(bB,{prefixCls:W,value:L,hashId:G,configType:"siderMenuType",list:[{key:"sub",icon:e.jsx($B,{}),title:_({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:e.jsx(kB,{}),title:_({id:"app.setting.sidermenutype-group"})}],onChange:function(e){return A("siderMenuType",e)}},"siderMenuType")}):null,e.jsx(xB,{prefixCls:W,hashId:G,settings:T,changeSetting:A}),e.jsx(iE,{}),e.jsx(NB,{hashId:G,prefixCls:W,title:_({id:"app.setting.regionalsettings"}),children:e.jsx(CB,{hashId:G,prefixCls:W,settings:T,changeSetting:A})}),e.jsx(iE,{}),e.jsx(NB,{hashId:G,prefixCls:W,title:_({id:"app.setting.othersettings"}),children:e.jsx(oO,{className:"".concat(W,"-list ").concat(G).trim(),split:!1,size:"small",renderItem:yB,dataSource:[{title:_({id:"app.setting.weakmode"}),action:e.jsx(cM,{size:"small",className:"color-weak",checked:!!H,onChange:function(e){A("colorWeak",e)}})}]})}),l&&c?null:e.jsx(iE,{}),l?null:e.jsx(bs,{type:"warning",message:_({id:"app.setting.production.hint"}),icon:e.jsx(NO,{}),showIcon:!0,style:{marginBlockEnd:16}}),c?null:e.jsx(_p,{block:!0,icon:e.jsx(yO,{}),style:{marginBlockEnd:24},onClick:eu(Qs().mark((function e(){return Qs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(TB(T));case 3:fO.success(_({id:"app.setting.copyinfo"})),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))),children:_({id:"app.setting.copy"})})]})]})}))]}))},TopNavHeader:nB,WaterMark:nR,default:Gz,getMenuData:Az,getPageTitle:function(e,t){return DB(e,t).title}});o(oO)`
|
|
58
|
+
& .ant-list-item {
|
|
59
|
+
padding: 5px 12px;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
`;const pD=o.div`
|
|
63
|
+
background-color: transparent;
|
|
64
|
+
padding: 7px 12px;
|
|
65
|
+
height: 56px;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
transition: all 0.2s ease;
|
|
70
|
+
|
|
71
|
+
@media screen and (min-width: ${({theme:e})=>e?.breakpoints?.md||768}px) {
|
|
72
|
+
padding-top: 10px;
|
|
73
|
+
padding-bottom: 10px;
|
|
74
|
+
height: 71px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& .ant-dropdown-link {
|
|
78
|
+
color: inherit;
|
|
79
|
+
|
|
80
|
+
& .anticon {
|
|
81
|
+
font-size: ${({theme:e})=>e?.font?.size?.sm||"14px"};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.light {
|
|
86
|
+
& .ant-dropdown-link {
|
|
87
|
+
color: inherit;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
`,fD=o.a`
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
`,mD=o(Iy)`
|
|
94
|
+
font-size: 24px;
|
|
95
|
+
background-color: ${({theme:e})=>e?.palette?.orange?.[6]||"#FFA500"};
|
|
96
|
+
width: 40px;
|
|
97
|
+
height: 40px;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
`,gD=o.span`
|
|
102
|
+
width: calc(100% - 62px);
|
|
103
|
+
margin-left: 16px;
|
|
104
|
+
transition: all 0.2s ease;
|
|
105
|
+
|
|
106
|
+
[dir="rtl"] & {
|
|
107
|
+
margin-left: 0;
|
|
108
|
+
margin-right: 16px;
|
|
109
|
+
}
|
|
110
|
+
`,hD=o.span`
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
justify-content: space-between;
|
|
114
|
+
`,vD=o.h3`
|
|
115
|
+
margin-bottom: 0;
|
|
116
|
+
font-size: ${({theme:e})=>e?.font?.size?.sm||"14px"};
|
|
117
|
+
font-weight: ${({theme:e})=>e?.font?.weight?.lg||"bold"};
|
|
118
|
+
color: #000000e0;
|
|
119
|
+
|
|
120
|
+
&.light {
|
|
121
|
+
color: #000000e0;
|
|
122
|
+
}
|
|
123
|
+
`,bD=o.span`
|
|
124
|
+
margin-left: 12px;
|
|
125
|
+
width: 24px;
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
|
|
130
|
+
[dir="rtl"] & {
|
|
131
|
+
margin-left: 0;
|
|
132
|
+
margin-right: 12px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
& svg {
|
|
136
|
+
display: block;
|
|
137
|
+
}
|
|
138
|
+
`,yD=o.span`
|
|
139
|
+
margin-top: -2px;
|
|
140
|
+
color: #000000e0;
|
|
141
|
+
font-size: ${({theme:e})=>e?.font?.size?.sm||"14px"};
|
|
142
|
+
|
|
143
|
+
.ant-layout-sider-dark & {
|
|
144
|
+
color: #000000e0;
|
|
145
|
+
}
|
|
146
|
+
`,{ProConfigProvider:xD}=DI,{ProLayout:CD}=dD;exports.HISD3Sidebar=({children:n,account:r,logoUrl:i,appName:a,menuItems:l,onLogout:c,pathname:s,avatarSrc:u,styledTheme:d,settingsUrl:p,collapsed:f=!1,loading:m=!1,hideSidebar:g=!1,layoutTop:h=!1})=>{const[v,b]=t.useState(f);t.useEffect((()=>{f!==v&&b(f)}),[f]);const y=()=>{vO.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e.jsx(ve,{}),onOk:c})};return"undefined"==typeof document?null:e.jsx(o.ThemeProvider,{theme:d,children:e.jsx(xD,{hashed:!1,children:g?e.jsx(e.Fragment,{children:n}):e.jsx(CD,{layout:h?"top":"side",title:a,logo:i,location:{pathname:s},loading:m,collapsed:v,onCollapse:e=>b(e),menuDataRender:()=>l,menu:{collapsedShowGroupTitle:!0},token:{header:{colorBgMenuItemSelected:"rgba(0,0,0,0.04)"},sider:{colorBgMenuItemActive:"#e0f7f7",colorBgMenuItemHover:"#e0f7f7",colorTextMenuItemHover:"#00796b",colorBgMenuItemSelected:"#e0f7f7",colorTextMenuSelected:"#00796b"}},headerTitleRender:(t,n)=>e.jsxs("a",{href:"/",children:[t,n]}),menuFooterRender:()=>e.jsx(pD,{className:"cr-user-info-light",children:e.jsx(qE,{trigger:["click"],placement:"topRight",menu:{items:[{key:"settings",icon:e.jsx(De,{}),label:"Settings",onClick:()=>window.location.href=p??"/settings"},{key:"logout",icon:e.jsx(ke,{}),label:"Logout",onClick:y}]},children:e.jsxs(fD,{className:"ant-dropdown-link",children:[u&&e.jsx(mD,{src:u,size:"small"}),e.jsxs(gD,{children:[e.jsxs(hD,{children:[e.jsx(vD,{children:r.fullName}),e.jsx(bD,{children:e.jsx(se,{})})]}),e.jsx(yD,{children:r.positionType})]})]})})}),menuItemRender:(t,n)=>e.jsx("a",{href:t.path||"/",children:n}),children:n})})})};
|
|
147
|
+
//# sourceMappingURL=index.cjs.js.map
|