@kne-components/components-core 0.4.45 → 0.4.46
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/build/asset-manifest.json +111 -111
- package/build/index.html +1 -1
- package/build/remoteEntry.js +1 -1
- package/build/remoteEntry.js.map +1 -1
- package/build/static/css/1381.97c23e40.chunk.css +2 -0
- package/build/static/css/1381.97c23e40.chunk.css.map +1 -0
- package/build/static/css/1742.72826de6.chunk.css +2 -0
- package/build/static/css/{1742.12f27291.chunk.css.map → 1742.72826de6.chunk.css.map} +1 -1
- package/build/static/css/{1996.e97d56df.chunk.css → 1996.052f96b0.chunk.css} +2 -2
- package/build/static/css/{1996.e97d56df.chunk.css.map → 1996.052f96b0.chunk.css.map} +1 -1
- package/build/static/css/2004.59eeddc7.chunk.css +2 -0
- package/build/static/css/{2004.33c1e186.chunk.css.map → 2004.59eeddc7.chunk.css.map} +1 -1
- package/build/static/css/2307.4b3df026.chunk.css +2 -0
- package/build/static/css/2307.4b3df026.chunk.css.map +1 -0
- package/build/static/css/254.ee7957b1.chunk.css +2 -0
- package/build/static/css/254.ee7957b1.chunk.css.map +1 -0
- package/build/static/css/3404.f9aed7da.chunk.css +2 -0
- package/build/static/css/{3404.6f0b882e.chunk.css.map → 3404.f9aed7da.chunk.css.map} +1 -1
- package/build/static/css/3625.de3c6911.chunk.css +2 -0
- package/build/static/css/3625.de3c6911.chunk.css.map +1 -0
- package/build/static/css/{3771.accb9a83.chunk.css → 3771.0b0ceea9.chunk.css} +2 -2
- package/build/static/css/{3771.accb9a83.chunk.css.map → 3771.0b0ceea9.chunk.css.map} +1 -1
- package/build/static/css/{3790.8118caa7.chunk.css → 3790.0a878038.chunk.css} +2 -2
- package/build/static/css/{3790.8118caa7.chunk.css.map → 3790.0a878038.chunk.css.map} +1 -1
- package/build/static/css/5195.841f8004.chunk.css +2 -0
- package/build/static/css/5195.841f8004.chunk.css.map +1 -0
- package/build/static/css/{5582.877dc4db.chunk.css → 5582.1990debe.chunk.css} +2 -2
- package/build/static/css/5582.1990debe.chunk.css.map +1 -0
- package/build/static/css/5633.97c23e40.chunk.css +2 -0
- package/build/static/css/5633.97c23e40.chunk.css.map +1 -0
- package/build/static/css/5674.c88fd2db.chunk.css +2 -0
- package/build/static/css/5674.c88fd2db.chunk.css.map +1 -0
- package/build/static/css/653.f1a8c344.chunk.css +2 -0
- package/build/static/css/653.f1a8c344.chunk.css.map +1 -0
- package/build/static/css/{6763.5cb27d52.chunk.css → 6763.0df869ff.chunk.css} +2 -2
- package/build/static/css/{6763.5cb27d52.chunk.css.map → 6763.0df869ff.chunk.css.map} +1 -1
- package/build/static/css/7227.d9d1299c.chunk.css +2 -0
- package/build/static/css/{7227.65ee4c4e.chunk.css.map → 7227.d9d1299c.chunk.css.map} +1 -1
- package/build/static/css/7589.f3c8f89b.chunk.css +2 -0
- package/build/static/css/7589.f3c8f89b.chunk.css.map +1 -0
- package/build/static/css/{760.9d94b7ab.chunk.css → 760.f8be7f84.chunk.css} +2 -2
- package/build/static/css/{760.9d94b7ab.chunk.css.map → 760.f8be7f84.chunk.css.map} +1 -1
- package/build/static/css/7857.484072c1.chunk.css +2 -0
- package/build/static/css/{7857.ec76e428.chunk.css.map → 7857.484072c1.chunk.css.map} +1 -1
- package/build/static/css/7987.97c23e40.chunk.css +2 -0
- package/build/static/css/7987.97c23e40.chunk.css.map +1 -0
- package/build/static/css/833.e28708c8.chunk.css +2 -0
- package/build/static/css/{833.deb93503.chunk.css.map → 833.e28708c8.chunk.css.map} +1 -1
- package/build/static/css/{8593.4a9031dc.chunk.css → 8593.7ef21cba.chunk.css} +2 -2
- package/build/static/css/{8593.4a9031dc.chunk.css.map → 8593.7ef21cba.chunk.css.map} +1 -1
- package/build/static/css/8689.906ec3c8.chunk.css +12 -0
- package/build/static/css/8689.906ec3c8.chunk.css.map +1 -0
- package/build/static/css/9556.3c875a41.chunk.css +2 -0
- package/build/static/css/{9556.78fa406b.chunk.css.map → 9556.3c875a41.chunk.css.map} +1 -1
- package/build/static/js/{1381.3a1fb929.chunk.js → 1381.37b05f38.chunk.js} +1 -1
- package/build/static/js/1742.59b24864.chunk.js +2 -0
- package/build/static/js/1742.59b24864.chunk.js.map +1 -0
- package/build/static/js/{1996.758be72d.chunk.js → 1996.14344c2d.chunk.js} +2 -2
- package/build/static/js/{1996.758be72d.chunk.js.map → 1996.14344c2d.chunk.js.map} +1 -1
- package/build/static/js/{2004.74384107.chunk.js → 2004.d8122da2.chunk.js} +3 -3
- package/build/static/js/{2004.74384107.chunk.js.map → 2004.d8122da2.chunk.js.map} +1 -1
- package/build/static/js/2086.c3a0124d.chunk.js +3 -0
- package/build/static/js/2086.c3a0124d.chunk.js.map +1 -0
- package/build/static/js/{2242.a0059cca.chunk.js → 2242.a55a6844.chunk.js} +2 -2
- package/build/static/js/2242.a55a6844.chunk.js.map +1 -0
- package/build/static/js/254.e7805354.chunk.js +2 -0
- package/build/static/js/254.e7805354.chunk.js.map +1 -0
- package/build/static/js/{2723.a5f0a1fa.chunk.js → 2723.38314d6e.chunk.js} +1 -1
- package/build/static/js/{3404.b93a548c.chunk.js → 3404.1557958c.chunk.js} +3 -3
- package/build/static/js/{3404.b93a548c.chunk.js.map → 3404.1557958c.chunk.js.map} +1 -1
- package/build/static/js/{3625.db151aab.chunk.js → 3625.23761746.chunk.js} +2 -2
- package/build/static/js/{3625.db151aab.chunk.js.map → 3625.23761746.chunk.js.map} +1 -1
- package/build/static/js/{3771.d4bd749c.chunk.js → 3771.997ccc57.chunk.js} +2 -2
- package/build/static/js/{3771.d4bd749c.chunk.js.map → 3771.997ccc57.chunk.js.map} +1 -1
- package/build/static/js/{3790.6af26115.chunk.js → 3790.805593bc.chunk.js} +2 -2
- package/build/static/js/{3790.6af26115.chunk.js.map → 3790.805593bc.chunk.js.map} +1 -1
- package/build/static/js/{3856.23c16ed0.chunk.js → 3856.bfc95e79.chunk.js} +2 -2
- package/build/static/js/{3856.23c16ed0.chunk.js.map → 3856.bfc95e79.chunk.js.map} +1 -1
- package/build/static/js/{4189.473f9ca6.chunk.js → 4189.4161d40a.chunk.js} +3 -3
- package/build/static/js/4189.4161d40a.chunk.js.map +1 -0
- package/build/static/js/4297.71ba78e9.chunk.js +2 -0
- package/build/static/js/4297.71ba78e9.chunk.js.map +1 -0
- package/build/static/js/4474.bf030f69.chunk.js +2 -0
- package/build/static/js/4474.bf030f69.chunk.js.map +1 -0
- package/build/static/js/5195.605db17c.chunk.js +2 -0
- package/build/static/js/5195.605db17c.chunk.js.map +1 -0
- package/build/static/js/{5633.d81b4db2.chunk.js → 5633.10b44bd7.chunk.js} +1 -1
- package/build/static/js/{5674.8d9c60e9.chunk.js → 5674.86bb2ec6.chunk.js} +2 -2
- package/build/static/js/{5674.8d9c60e9.chunk.js.map → 5674.86bb2ec6.chunk.js.map} +1 -1
- package/build/static/js/5958.89468fa5.chunk.js +2 -0
- package/build/static/js/5958.89468fa5.chunk.js.map +1 -0
- package/build/static/js/{6763.77f6d956.chunk.js → 6763.f0ced4ef.chunk.js} +2 -2
- package/build/static/js/{6763.77f6d956.chunk.js.map → 6763.f0ced4ef.chunk.js.map} +1 -1
- package/build/static/js/{7040.fb2de04f.chunk.js → 7040.85ca80c3.chunk.js} +2 -2
- package/build/static/js/{7040.fb2de04f.chunk.js.map → 7040.85ca80c3.chunk.js.map} +1 -1
- package/build/static/js/{7227.3a5d8032.chunk.js → 7227.7bdd14a5.chunk.js} +3 -3
- package/build/static/js/{7227.3a5d8032.chunk.js.map → 7227.7bdd14a5.chunk.js.map} +1 -1
- package/build/static/js/{7589.03d16dce.chunk.js → 7589.19464c85.chunk.js} +2 -2
- package/build/static/js/{7589.03d16dce.chunk.js.map → 7589.19464c85.chunk.js.map} +1 -1
- package/build/static/js/{760.7adc7293.chunk.js → 760.93414278.chunk.js} +2 -2
- package/build/static/js/{760.7adc7293.chunk.js.map → 760.93414278.chunk.js.map} +1 -1
- package/build/static/js/7857.b3aee7e8.chunk.js +2 -0
- package/build/static/js/7857.b3aee7e8.chunk.js.map +1 -0
- package/build/static/js/7899.92317382.chunk.js +2 -0
- package/build/static/js/7899.92317382.chunk.js.map +1 -0
- package/build/static/js/833.61f11966.chunk.js +2 -0
- package/build/static/js/833.61f11966.chunk.js.map +1 -0
- package/build/static/js/{8593.92a539df.chunk.js → 8593.d3cad462.chunk.js} +2 -2
- package/build/static/js/{8593.92a539df.chunk.js.map → 8593.d3cad462.chunk.js.map} +1 -1
- package/build/static/js/{9556.46180fc4.chunk.js → 9556.1ce5861f.chunk.js} +3 -3
- package/build/static/js/{9556.46180fc4.chunk.js.map → 9556.1ce5861f.chunk.js.map} +1 -1
- package/build/static/js/main.26785b52.js +2 -0
- package/build/static/js/{main.3f3ac682.js.map → main.26785b52.js.map} +1 -1
- package/package.json +3 -3
- package/build/static/css/1381.ae89d4cb.chunk.css +0 -2
- package/build/static/css/1381.ae89d4cb.chunk.css.map +0 -1
- package/build/static/css/1742.12f27291.chunk.css +0 -2
- package/build/static/css/2004.33c1e186.chunk.css +0 -2
- package/build/static/css/2307.0ec76807.chunk.css +0 -2
- package/build/static/css/2307.0ec76807.chunk.css.map +0 -1
- package/build/static/css/254.b513f3ff.chunk.css +0 -2
- package/build/static/css/254.b513f3ff.chunk.css.map +0 -1
- package/build/static/css/3404.6f0b882e.chunk.css +0 -2
- package/build/static/css/3625.d84a60b5.chunk.css +0 -2
- package/build/static/css/3625.d84a60b5.chunk.css.map +0 -1
- package/build/static/css/5195.b239bddb.chunk.css +0 -2
- package/build/static/css/5195.b239bddb.chunk.css.map +0 -1
- package/build/static/css/5582.877dc4db.chunk.css.map +0 -1
- package/build/static/css/5633.ae89d4cb.chunk.css +0 -2
- package/build/static/css/5633.ae89d4cb.chunk.css.map +0 -1
- package/build/static/css/5674.49c3a29d.chunk.css +0 -2
- package/build/static/css/5674.49c3a29d.chunk.css.map +0 -1
- package/build/static/css/653.e0c03500.chunk.css +0 -2
- package/build/static/css/653.e0c03500.chunk.css.map +0 -1
- package/build/static/css/7227.65ee4c4e.chunk.css +0 -2
- package/build/static/css/7589.e72d7a14.chunk.css +0 -2
- package/build/static/css/7589.e72d7a14.chunk.css.map +0 -1
- package/build/static/css/7857.ec76e428.chunk.css +0 -2
- package/build/static/css/7987.ae89d4cb.chunk.css +0 -2
- package/build/static/css/7987.ae89d4cb.chunk.css.map +0 -1
- package/build/static/css/833.deb93503.chunk.css +0 -2
- package/build/static/css/8689.67d74ad5.chunk.css +0 -12
- package/build/static/css/8689.67d74ad5.chunk.css.map +0 -1
- package/build/static/css/9556.78fa406b.chunk.css +0 -2
- package/build/static/js/1742.190ff95f.chunk.js +0 -2
- package/build/static/js/1742.190ff95f.chunk.js.map +0 -1
- package/build/static/js/2086.04de3393.chunk.js +0 -3
- package/build/static/js/2086.04de3393.chunk.js.map +0 -1
- package/build/static/js/2242.a0059cca.chunk.js.map +0 -1
- package/build/static/js/254.54f5f58b.chunk.js +0 -2
- package/build/static/js/254.54f5f58b.chunk.js.map +0 -1
- package/build/static/js/4189.473f9ca6.chunk.js.map +0 -1
- package/build/static/js/4297.cb02aafc.chunk.js +0 -2
- package/build/static/js/4297.cb02aafc.chunk.js.map +0 -1
- package/build/static/js/4474.1059ef67.chunk.js +0 -2
- package/build/static/js/4474.1059ef67.chunk.js.map +0 -1
- package/build/static/js/5195.d3ea6ecc.chunk.js +0 -2
- package/build/static/js/5195.d3ea6ecc.chunk.js.map +0 -1
- package/build/static/js/5958.25a2c01c.chunk.js +0 -2
- package/build/static/js/5958.25a2c01c.chunk.js.map +0 -1
- package/build/static/js/7857.3ddc9e5b.chunk.js +0 -2
- package/build/static/js/7857.3ddc9e5b.chunk.js.map +0 -1
- package/build/static/js/7899.633b8c99.chunk.js +0 -2
- package/build/static/js/7899.633b8c99.chunk.js.map +0 -1
- package/build/static/js/833.816bfa8f.chunk.js +0 -2
- package/build/static/js/833.816bfa8f.chunk.js.map +0 -1
- package/build/static/js/main.3f3ac682.js +0 -2
- /package/build/static/js/{2004.74384107.chunk.js.LICENSE.txt → 2004.d8122da2.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{2086.04de3393.chunk.js.LICENSE.txt → 2086.c3a0124d.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{3404.b93a548c.chunk.js.LICENSE.txt → 3404.1557958c.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{4189.473f9ca6.chunk.js.LICENSE.txt → 4189.4161d40a.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{7227.3a5d8032.chunk.js.LICENSE.txt → 7227.7bdd14a5.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{9556.46180fc4.chunk.js.LICENSE.txt → 9556.1ce5861f.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2086.04de3393.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2086],{2086(e,t,n){e.exports=n(95082)},3350(e,t,n){n.d(t,{A:()=>a});var r=n(89379),o=n(73884);let i=0;const s=(0,r.A)({},o).useId,a=s?function(e){const t=s();return e||t}:function(e){const[t,n]=o.useState("ssr-id");return o.useEffect(()=>{const e=i;i+=1,n("rc_unique_".concat(e))},[]),e||t}},7122(e,t,n){n.d(t,{BD:()=>m,m6:()=>p});var r=n(89379),o=n(69267),i=n(62667);const s="data-rc-order",a="data-rc-priority",c=new Map;function l(){let{mark:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function u(e){if(e.attachTo)return e.attachTo;return document.querySelector("head")||document.body}function f(e){return Array.from((c.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;const{csp:n,prepend:r,priority:i=0}=t,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),l="prependQueue"===c,d=document.createElement("style");d.setAttribute(s,c),l&&i&&d.setAttribute(a,"".concat(i)),null!==n&&void 0!==n&&n.nonce&&(d.nonce=null===n||void 0===n?void 0:n.nonce),d.innerHTML=e;const h=u(t),{firstChild:p}=h;if(r){if(l){const e=(t.styles||f(h)).filter(e=>{if(!["prepend","prependQueue"].includes(e.getAttribute(s)))return!1;const t=Number(e.getAttribute(a)||0);return i>=t});if(e.length)return h.insertBefore(d,e[e.length-1].nextSibling),d}h.insertBefore(d,p)}else h.appendChild(d);return d}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{styles:n}=t;return n||(n=f(u(t))),n.find(n=>n.getAttribute(l(t))===e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=h(e,t);if(n){u(t).removeChild(n)}}function m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=u(n),s=f(o),a=(0,r.A)((0,r.A)({},n),{},{styles:s});!function(e,t){const n=c.get(e);if(!n||!(0,i.A)(document,n)){const n=d("",t),{parentNode:r}=n;c.set(e,r),e.removeChild(n)}}(o,a);const p=h(t,a);if(p){var m,g,v;if(null!==(m=a.csp)&&void 0!==m&&m.nonce&&p.nonce!==(null===(g=a.csp)||void 0===g?void 0:g.nonce))p.nonce=null===(v=a.csp)||void 0===v?void 0:v.nonce;return p.innerHTML!==e&&(p.innerHTML=e),p}const y=d(e,a);return y.setAttribute(l(a),t),y}},7398(e,t,n){n.r(t),n.d(t,{FastColor:()=>l});var r=n(64467);const o={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"},i=Math.round;function s(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const a=(e,t,n)=>0===n?e:e/100;function c(e,t){const n=t||255;return e>n?n:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.A)(this,"isValid",!0),(0,r.A)(this,"r",0),(0,r.A)(this,"g",0),(0,r.A)(this,"b",0),(0,r.A)(this,"a",1),(0,r.A)(this,"_h",void 0),(0,r.A)(this,"_s",void 0),(0,r.A)(this,"_l",void 0),(0,r.A)(this,"_v",void 0),(0,r.A)(this,"_max",void 0),(0,r.A)(this,"_min",void 0),(0,r.A)(this,"_brightness",void 0),e)if("string"===typeof e){const n=e.trim();function i(e){return n.startsWith(e)}if(/^#?[A-F\d]{3,8}$/i.test(n))this.fromHexString(n);else if(i("rgb"))this.fromRgbString(n);else if(i("hsl"))this.fromHslString(n);else if(i("hsv")||i("hsb"))this.fromHsvString(n);else{const s=o[n.toLowerCase()];s&&this.fromHexString(parseInt(s,36).toString(16).padStart(6,"0"))}}else if(e instanceof l)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=c(e.r),this.g=c(e.g),this.b=c(e.b),this.a="number"===typeof e.a?c(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("undefined"===typeof this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:i(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("undefined"===typeof this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return"undefined"===typeof this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return"undefined"===typeof this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return"undefined"===typeof this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;const n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],s={r:i(o("r")),g:i(o("g")),b:i(o("b")),a:i(100*o("a"))/100};return this._c(s)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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),r=e=>i((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("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 r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"===typeof this.a&&this.a>=0&&this.a<1){const t=i(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=i(100*this.getSaturation()),n=i(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(n,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(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(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=c(t,n),r}_c(e){return new this.constructor(e)}getMax(){return"undefined"===typeof this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return"undefined"===typeof 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(e){let{h:t,s:n,l:r,a:o}=e;if(this._h=t%360,this._s=n,this._l=r,this.a="number"===typeof o?o:1,n<=0){const e=i(255*r);this.r=e,this.g=e,this.b=e}let s=0,a=0,c=0;const l=t/60,u=(1-Math.abs(2*r-1))*n,f=u*(1-Math.abs(l%2-1));l>=0&&l<1?(s=u,a=f):l>=1&&l<2?(s=f,a=u):l>=2&&l<3?(a=u,c=f):l>=3&&l<4?(a=f,c=u):l>=4&&l<5?(s=f,c=u):l>=5&&l<6&&(s=u,c=f);const d=r-u/2;this.r=i(255*(s+d)),this.g=i(255*(a+d)),this.b=i(255*(c+d))}fromHsv(e){let{h:t,s:n,v:r,a:o}=e;this._h=t%360,this._s=n,this._v=r,this.a="number"===typeof o?o:1;const s=i(255*r);if(this.r=s,this.g=s,this.b=s,n<=0)return;const a=t/60,c=Math.floor(a),l=a-c,u=i(r*(1-n)*255),f=i(r*(1-n*l)*255),d=i(r*(1-n*(1-l))*255);switch(c){case 0:this.g=d,this.b=u;break;case 1:this.r=f,this.b=u;break;case 2:this.r=u,this.b=d;break;case 3:this.r=u,this.g=f;break;case 4:this.r=d,this.g=u;break;default:this.g=u,this.b=f}}fromHsvString(e){const t=s(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=s(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=s(e,(e,t)=>t.includes("%")?i(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},12824(e,t,n){n.d(t,{A:()=>s,V:()=>a});var r=n(7122);let o;function i(e){const t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;const o=n.style;let i,s;if(o.position="absolute",o.left="0",o.top="0",o.width="100px",o.height="100px",o.overflow="scroll",e){const n=getComputedStyle(e);o.scrollbarColor=n.scrollbarColor,o.scrollbarWidth=n.scrollbarWidth;const a=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(a.width,10),u=parseInt(a.height,10);try{const e=c?"width: ".concat(a.width,";"):"",n=u?"height: ".concat(a.height,";"):"";(0,r.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(e,"\n").concat(n,"\n}"),t)}catch(l){console.error(l),i=c,s=u}}document.body.appendChild(n);const a=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,c=e&&s&&!isNaN(s)?s:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,r.m6)(t),{width:a,height:c}}function s(e){return"undefined"===typeof document?0:((e||void 0===o)&&(o=i()),o.width)}function a(e){return"undefined"!==typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},14952(e,t,n){n.d(t,{A:()=>v});var r=n(73884),o=n(70325),i=(n(17635),n(89379)),s=n(49225),a=n(28174);const c=r.createContext(null);const l=new Map;function u(e){e.forEach(e=>{var t;const{target:n}=e;null===(t=l.get(n))||void 0===t||t.forEach(e=>e(n))})}let f;function d(){return f||(f=new ResizeObserver(u)),f}const h=r.forwardRef(function(e,t){const{children:n,disabled:o}=e,u=r.useRef(null),f=r.useContext(c),h="function"===typeof n,p=h?n(u):n,m=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!h&&r.isValidElement(p)&&(0,a.f3)(p),v=g?(0,a.A9)(p):null,y=(0,a.xK)(v,u),b=()=>(0,s.rb)(u.current);r.useImperativeHandle(t,()=>b());const A=r.useRef(e);A.current=e;const k=r.useCallback(e=>{const{onResize:t,data:n}=A.current,{width:r,height:o}=e.getBoundingClientRect(),{offsetWidth:s,offsetHeight:a}=e,c=Math.floor(r),l=Math.floor(o);if(m.current.width!==c||m.current.height!==l||m.current.offsetWidth!==s||m.current.offsetHeight!==a){const u={width:c,height:l,offsetWidth:s,offsetHeight:a};m.current=u;const d=s===Math.round(r)?r:s,h=a===Math.round(o)?o:a,p=(0,i.A)((0,i.A)({},u),{},{offsetWidth:d,offsetHeight:h});null===f||void 0===f||f(p,e,n),t&&Promise.resolve().then(()=>{t(p,e)})}},[]);return r.useEffect(()=>{const e=b();var t,n;return e&&!o&&(t=e,n=k,l.has(t)||(l.set(t,new Set),d().observe(t)),l.get(t).add(n)),()=>function(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(d().unobserve(e),l.delete(e)))}(e,k)},[u.current,o]),g?r.cloneElement(p,{ref:y}):p});const p=h;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const g=r.forwardRef(function(e,t){const{children:n}=e;return("function"===typeof n?[n]:(0,o.A)(n)).map((n,o)=>{const i=(null===n||void 0===n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return r.createElement(p,m({},e,{key:i,ref:0===o?t:void 0}),n)})});g.Collection=function(e){let{children:t,onBatchResize:n}=e;const o=r.useRef(0),i=r.useRef([]),s=r.useContext(c),a=r.useCallback((e,t,r)=>{o.current+=1;const a=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then(()=>{a===o.current&&(null===n||void 0===n||n(i.current),i.current=[])}),null===s||void 0===s||s(e,t,r)},[n,s]);return r.createElement(c.Provider,{value:a},t)};const v=g},16158(e,t,n){function r(e,t){const n=Object.assign({},e);return Array.isArray(t)&&t.forEach(e=>{delete n[e]}),n}n.d(t,{A:()=>r})},17635(e,t,n){n.d(t,{$e:()=>i,Ay:()=>u,g9:()=>l,kw:()=>c});let r={};const o=[];function i(e,t){0}function s(e,t){0}function a(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){a(i,e,t)}function l(e,t){a(s,e,t)}c.preMessage=e=>{o.push(e)},c.resetWarned=function(){r={}},c.noteOnce=l;const u=c},17681(e,t,n){n.r(t),n.d(t,{get:()=>u.A,merge:()=>f.h1,mergeWith:()=>f.XQ,noteOnce:()=>d.g9,omit:()=>h.A,set:()=>f.Ay,supportNodeRef:()=>l.H3,supportRef:()=>l.f3,toArray:()=>p.A,useComposeRef:()=>l.xK,useControlledState:()=>c.A,useEvent:()=>r.A,useMergedState:()=>a,warning:()=>d.Ay});var r=n(62055),o=n(62216),i=n(49382);function s(e){return void 0!==e}function a(e,t){const{defaultValue:n,value:a,onChange:c,postState:l}=t||{},[u,f]=(0,i.A)(()=>s(a)?a:s(n)?"function"===typeof n?n():n:"function"===typeof e?e():e),d=void 0!==a?a:u,h=l?l(d):d,p=(0,r.A)(c),[m,g]=(0,i.A)([d]);(0,o.o)(()=>{const e=m[0];u!==e&&p(u,e)},[m]),(0,o.o)(()=>{s(a)||f(a)},[a]);return[h,(0,r.A)((e,t)=>{f(e,t),g([d],t)})]}var c=n(83660),l=n(28174),u=n(67757),f=n(36585),d=n(17635),h=n(16158),p=n(70325)},19102(e,t,n){function r(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},19745(e,t,n){n.d(t,{A:()=>A});var r=n(69267),o=n(28174),i=(n(17635),n(73884)),s=n(10486);const a=i.createContext(null);let c=!1;var l=n(62216);const u=[];var f=n(7122),d=n(12824);const h="rc-util-locker-".concat(Date.now());let p=0;function m(e){const t=!!e,[n]=i.useState(()=>(p+=1,"".concat(h,"_").concat(p)));(0,l.A)(()=>{if(t){const e=(0,d.V)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),n)}else(0,f.m6)(n);return()=>{(0,f.m6)(n)}},[t,n])}var g=n(3350),v=n(17681);let y=[];const b=e=>!1!==e&&((0,r.A)()&&e?"string"===typeof e?document.querySelector(e):"function"===typeof e?e():e:null);const A=i.forwardRef((e,t)=>{const{open:n,autoLock:f,getContainer:d,debug:h,autoDestroy:p=!0,children:A,onEsc:k}=e,[w,C]=i.useState(n),S=w||n;i.useEffect(()=>{(p||n)&&C(n)},[n,p]);const[x,E]=i.useState(()=>b(d));i.useEffect(()=>{const e=b(d);E(()=>null!==e&&void 0!==e?e:null)});const[P,R]=function(e){const[t]=i.useState(()=>(0,r.A)()?document.createElement("div"):null),n=i.useRef(!1),o=i.useContext(a),[s,c]=i.useState(u),f=o||(n.current?void 0:e=>{c(t=>[e,...t])});function d(){t.parentElement||document.body.appendChild(t),n.current=!0}function h(){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t),n.current=!1}return(0,l.A)(()=>(e?o?o(d):d():h(),h),[e]),(0,l.A)(()=>{s.length&&(s.forEach(e=>e()),c(u))},[s]),[t,f]}(S&&!x),M=null!==x&&void 0!==x?x:P;m(f&&n&&(0,r.A)()&&(M===P||M===document.body)),function(e,t){const n=(0,g.A)(),r=(0,v.useEvent)(e=>{if("Escape"===e.key&&!e.isComposing){const r=y[y.length-1]===n;null===t||void 0===t||t({top:r,event:e})}});(0,i.useMemo)(()=>{e&&!y.includes(n)?y.push(n):e||(y=y.filter(e=>e!==n))},[e,n]),(0,i.useEffect)(()=>{if(e)return window.addEventListener("keydown",r),()=>{y=y.filter(e=>e!==n),window.removeEventListener("keydown",r)}},[e,n])}(n,k);let j=null;A&&(0,o.f3)(A)&&t&&(j=(0,o.A9)(A));const _=(0,o.xK)(j,t);if(!S||!(0,r.A)()||void 0===x)return null;const L=!1===M||("boolean"===typeof B&&(c=B),c);var B;let O=A;return t&&(O=i.cloneElement(A,{ref:_})),i.createElement(a.Provider,{value:R},L?O:(0,s.createPortal)(O,M))})},27800(e,t,n){n.d(t,{A:()=>o});var r=n(43145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(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)?(0,r.A)(e,t):void 0}}},28174(e,t,n){n.d(t,{A9:()=>p,H3:()=>h,K4:()=>l,Xf:()=>c,f3:()=>f,xK:()=>u});var r=n(73884),o=n(2086),i=n(46589),s=n(42519);const a=Number(r.version.split(".")[0]),c=(e,t)=>{"function"===typeof e?e(t):"object"===typeof e&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.filter(Boolean);return r.length<=1?r[0]:e=>{t.forEach(t=>{c(t,e)})}},u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.A)(()=>l(...t),t,(e,t)=>e.length!==t.length||e.every((e,n)=>e!==t[n]))},f=e=>{var t,n;if(!e)return!1;if(d(e)&&a>=19)return!0;const r=(0,o.isMemo)(e)?e.type.type:e.type;return!!("function"!==typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===o.ForwardRef)&&!!("function"!==typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===o.ForwardRef)};function d(e){return(0,r.isValidElement)(e)&&!(0,s.A)(e)}const h=e=>d(e)&&f(e),p=e=>{if(e&&d(e)){const t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null}},29426(e,t,n){n.d(t,{A:()=>s});var r=n(53954),o=n(52176),i=n(56822);function s(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var s=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,s)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},32368(e,t,n){n.r(t),n.d(t,{CSSMotionList:()=>re,Provider:()=>f,default:()=>oe});var r=n(89379),o=n(49225),i=n(28174),s=n(58387),a=n(73884),c=n(53986);const l=["children"],u=a.createContext({});function f(e){let{children:t}=e,n=(0,c.A)(e,l);return a.createElement(u.Provider,{value:n},t)}var d=n(17681),h=n(49382),p=n(62055);const m="none",g="appear",v="enter",y="leave",b="none",A="prepare",k="start",w="active",C="end",S="prepared";var x=n(69267);function E(e,t){const 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}const P=function(e,t){const n={animationend:E("Animation","AnimationEnd"),transitionend:E("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}((0,x.A)(),"undefined"!==typeof window?window:{});let R={};(0,x.A)()&&({style:R}=document.createElement("div"));const M={};function j(e){if(M[e])return M[e];const t=P[e];if(t){const n=Object.keys(t),r=n.length;for(let o=0;o<r;o+=1){const r=n[o];if(Object.prototype.hasOwnProperty.call(t,r)&&r in R)return M[e]=t[r],M[e]}}return""}const _=j("animationend"),L=j("transitionend"),B=!(!_||!L),O=_||"animationend",T=L||"transitionend";function z(e,t){if(!e)return null;if("object"===typeof e){return e[t.replace(/-\w/g,e=>e[1].toUpperCase())]}return"".concat(e,"-").concat(t)}const I=(0,x.A)()?a.useLayoutEffect:a.useEffect;var N=n(75850);const D=[A,k,w,C],$=[A,S],H=!1;function W(e){return e===w||e===C}const q=(e,t,n)=>{const[r,o]=(0,h.A)(b),[i,s]=(()=>{const e=a.useRef(null);function t(){N.A.cancel(e.current)}return a.useEffect(()=>()=>{t()},[]),[function n(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();const i=(0,N.A)(()=>{o<=1?r({isCanceled:()=>i!==e.current}):n(r,o-1)});e.current=i},t]})();const c=t?$:D;return I(()=>{if(r!==b&&r!==C){const e=c.indexOf(r),t=c[e+1],s=n(r);s===H?o(t,!0):t&&i(e=>{function n(){e.isCanceled()||o(t,!0)}!0===s?n():Promise.resolve(s).then(n)})}},[e,r]),a.useEffect(()=>()=>{s()},[]),[function(){o(A,!0)},r]};function F(e,t,n,o){let{motionEnter:i=!0,motionAppear:s=!0,motionLeave:c=!0,motionDeadline:l,motionLeaveImmediately:u,onAppearPrepare:f,onEnterPrepare:b,onLeavePrepare:C,onAppearStart:x,onEnterStart:E,onLeaveStart:P,onAppearActive:R,onEnterActive:M,onLeaveActive:j,onAppearEnd:_,onEnterEnd:L,onLeaveEnd:B,onVisibleChanged:z}=o;const[N,D]=(0,h.A)(),[$,F]=function(e){const[,t]=a.useReducer(e=>e+1,0),n=a.useRef(e);return[(0,p.A)(()=>n.current),(0,p.A)(e=>{n.current="function"===typeof e?e(n.current):e,t()})]}(m),[V,X]=(0,h.A)(null),Y=$(),G=(0,a.useRef)(!1),U=(0,a.useRef)(null);function K(){return n()}const Z=(0,a.useRef)(!1);function Q(){F(m),X(null,!0)}const J=(0,d.useEvent)(e=>{const t=$();if(t===m)return;const n=K();if(e&&!e.deadline&&e.target!==n)return;const r=Z.current;let o;t===g&&r?o=null===_||void 0===_?void 0:_(n,e):t===v&&r?o=null===L||void 0===L?void 0:L(n,e):t===y&&r&&(o=null===B||void 0===B?void 0:B(n,e)),r&&!1!==o&&Q()}),[ee]=(e=>{const t=(0,a.useRef)();function n(t){t&&(t.removeEventListener(T,e),t.removeEventListener(O,e))}return a.useEffect(()=>()=>{n(t.current),t.current=null},[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(T,e),r.addEventListener(O,e),t.current=r)},n]})(J),te=e=>{switch(e){case g:return{[A]:f,[k]:x,[w]:R};case v:return{[A]:b,[k]:E,[w]:M};case y:return{[A]:C,[k]:P,[w]:j};default:return{}}},ne=a.useMemo(()=>te(Y),[Y]),[re,oe]=q(Y,!e,e=>{if(e===A){const e=ne[A];return e?e(K()):H}var t;oe in ne&&X((null===(t=ne[oe])||void 0===t?void 0:t.call(ne,K(),null))||null);return oe===w&&Y!==m&&(ee(K()),l>0&&(clearTimeout(U.current),U.current=setTimeout(()=>{J({deadline:!0})},l))),oe===S&&Q(),true}),ie=W(oe);Z.current=ie;const se=(0,a.useRef)(null);I(()=>{if(G.current&&se.current===t)return;D(t);const n=G.current;let r;G.current=!0,!n&&t&&s&&(r=g),n&&t&&i&&(r=v),(n&&!t&&c||!n&&u&&!t&&c)&&(r=y);const o=te(r);r&&(e||o[A])?(F(r),re()):F(m),se.current=t},[t]),(0,a.useEffect)(()=>{(Y===g&&!s||Y===v&&!i||Y===y&&!c)&&F(m)},[s,i,c]),(0,a.useEffect)(()=>()=>{G.current=!1,clearTimeout(U.current)},[]);const ae=a.useRef(!1);(0,a.useEffect)(()=>{N&&(ae.current=!0),void 0!==N&&Y===m&&((ae.current||N)&&(null===z||void 0===z||z(N)),ae.current=!0)},[N,Y]);let ce=V;return ne[A]&&oe===k&&(ce=(0,r.A)({transition:"none"},ce)),[$,oe,ce,null!==N&&void 0!==N?N:t]}const V=function(e){let t=e;"object"===typeof e&&({transitionSupport:t}=e);const n=a.forwardRef((e,n)=>{const{visible:c=!0,removeOnLeave:l=!0,forceRender:f,children:d,motionName:h,leavedClassName:p,eventProps:g}=e,{motion:v}=a.useContext(u),y=function(e,n){return!(!e.motionName||!t||!1===n)}(e,v),b=(0,a.useRef)();function w(){return(0,o.rb)(b.current)}const[C,S,x,E]=F(y,c,w,e),P=C(),R=a.useRef(E);E&&(R.current=!0);const M=a.useMemo(()=>{const e={};return Object.defineProperties(e,{nativeElement:{enumerable:!0,get:w},inMotion:{enumerable:!0,get:()=>()=>C()!==m},enableMotion:{enumerable:!0,get:()=>()=>y}}),e},[]);let j;a.useImperativeHandle(n,()=>M,[]);const _=(0,r.A)((0,r.A)({},g),{},{visible:c});if(d)if(P===m)j=E?d((0,r.A)({},_),b):!l&&R.current&&p?d((0,r.A)((0,r.A)({},_),{},{className:p}),b):f||!l&&!p?d((0,r.A)((0,r.A)({},_),{},{style:{display:"none"}}),b):null;else{let e;S===A?e="prepare":W(S)?e="active":S===k&&(e="start");const t=z(h,"".concat(P,"-").concat(e));j=d((0,r.A)((0,r.A)({},_),{},{className:(0,s.$)(z(h,P),{[t]:t&&e,[h]:"string"===typeof h}),style:x}),b)}else j=null;if(a.isValidElement(j)&&(0,i.f3)(j)){(0,i.A9)(j)||(j=a.cloneElement(j,{ref:b}))}return j});return n.displayName="CSSMotion",n}(B);var X=n(64467);const Y="add",G="keep",U="remove",K="removed";function Z(e){let t;return t=e&&"object"===typeof e&&"key"in e?e:{key:e},(0,r.A)((0,r.A)({},t),{},{key:String(t.key)})}function Q(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(Z)}const J=["component","children","onVisibleChanged","onAllRemoved"],ee=["status"];function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}const ne=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V;class n extends a.Component{constructor(){super(...arguments),(0,X.A)(this,"state",{keyEntities:[]}),(0,X.A)(this,"removeKey",e=>{this.setState(t=>({keyEntities:t.keyEntities.map(t=>t.key!==e?t:(0,r.A)((0,r.A)({},t),{},{status:K}))}),()=>{const{keyEntities:e}=this.state;0===e.filter(e=>{let{status:t}=e;return t!==K}).length&&this.props.onAllRemoved&&this.props.onAllRemoved()})})}static getDerivedStateFromProps(e,t){let{keys:n}=e,{keyEntities:o}=t;const i=Q(n),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0;const i=t.length,s=Q(e),a=Q(t);s.forEach(e=>{let t=!1;for(let s=o;s<i;s+=1){const i=a[s];if(i.key===e.key){o<s&&(n=n.concat(a.slice(o,s).map(e=>(0,r.A)((0,r.A)({},e),{},{status:Y}))),o=s),n.push((0,r.A)((0,r.A)({},i),{},{status:G})),o+=1,t=!0;break}}t||n.push((0,r.A)((0,r.A)({},e),{},{status:U}))}),o<i&&(n=n.concat(a.slice(o).map(e=>(0,r.A)((0,r.A)({},e),{},{status:Y}))));const c={};return n.forEach(e=>{let{key:t}=e;c[t]=(c[t]||0)+1}),Object.keys(c).filter(e=>c[e]>1).forEach(e=>{n=n.filter(t=>{let{key:n,status:r}=t;return n!==e||r!==U}),n.forEach(t=>{t.key===e&&(t.status=G)})}),n}(o,i);return{keyEntities:s.filter(e=>{const t=o.find(t=>{let{key:n}=t;return e.key===n});return!t||t.status!==K||e.status!==U})}}render(){const{keyEntities:e}=this.state,n=this.props,{component:o,children:i,onVisibleChanged:s,onAllRemoved:l}=n,u=(0,c.A)(n,J),f=o||a.Fragment,d={};return ne.forEach(e=>{d[e]=u[e],delete u[e]}),delete u.keys,a.createElement(f,u,e.map((e,n)=>{let{status:o}=e,l=(0,c.A)(e,ee);const u=o===Y||o===G;return a.createElement(t,te({},d,{key:l.key,visible:u,eventProps:l,onVisibleChanged:e=>{null===s||void 0===s||s(e,{key:l.key}),e||this.removeKey(l.key)}}),(e,t)=>i((0,r.A)((0,r.A)({},e),{},{index:n}),t))}))}}return(0,X.A)(n,"defaultProps",{component:"div"}),n}(B),oe=V},36585(e,t,n){n.d(t,{Ay:()=>s,XQ:()=>l,h1:()=>u});var r=n(89379),o=n(67757);function i(e,t,n,o){if(!t.length)return n;const[s,...a]=t;let c;return c=e||"number"!==typeof s?Array.isArray(e)?[...e]:(0,r.A)({},e):[],o&&void 0===n&&1===a.length?delete c[s][a[0]]:c[s]=i(c[s],a,n,o),c}function s(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,o.A)(e,t.slice(0,-1))?e:i(e,t,n,r)}function a(e){return Array.isArray(e)?[]:{}}const c="undefined"===typeof Reflect?Object.keys:Reflect.ownKeys;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{prepareArray:n}=t,r=n||(()=>[]);let i=a(e[0]);return e.forEach(e=>{!function t(n,l){const u=new Set(l),f=(0,o.A)(e,n),d=Array.isArray(f);if(d||"object"===typeof(h=f)&&null!==h&&Object.getPrototypeOf(h)===Object.prototype){if(!u.has(f)){u.add(f);const e=(0,o.A)(i,n);d?i=s(i,n,r(e,f)):e&&"object"===typeof e||(i=s(i,n,a(f))),c(f).forEach(e=>{Object.getOwnPropertyDescriptor(f,e).enumerable&&t([...n,e],u)})}}else i=s(i,n,f);var h}([])}),i}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l(t)}},42519(e,t,n){n.d(t,{A:()=>s});const r=Symbol.for("react.element"),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(e){return e&&"object"===typeof e&&(e.$$typeof===r||e.$$typeof===o)&&e.type===i}},43145(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},43302(e,t,n){n.r(t),n.d(t,{UniqueProvider:()=>X,default:()=>U,generateTrigger:()=>G});var r=n(89379),o=n(53986),i=n(19745),s=n(58387),a=n(14952),c=n(49225),l=n(19102),u=n(62055),f=n(3350),d=n(62216),h=n(73884),p=n.n(h),m=n(32368),g=n(28174);function v(e){const{prefixCls:t,align:n,arrow:o,arrowPos:i}=e,{className:a,content:c,style:l}=o||{},{x:u=0,y:f=0}=i,d=h.useRef(null);if(!n||!n.points)return null;const p={position:"absolute"};if(!1!==n.autoArrow){const e=n.points[0],t=n.points[1],r=e[0],o=e[1],i=t[0],s=t[1];r!==i&&["t","b"].includes(r)?"t"===r?p.top=0:p.bottom=0:p.top=f,o!==s&&["l","r"].includes(o)?"l"===o?p.left=0:p.right=0:p.left=u}return h.createElement("div",{ref:d,className:(0,s.$)("".concat(t,"-arrow"),a),style:(0,r.A)((0,r.A)({},p),l)},c)}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}function b(e){const{prefixCls:t,open:n,zIndex:r,mask:o,motion:i,mobile:a}=e;return o?h.createElement(m.default,y({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),e=>{let{className:n}=e;return h.createElement("div",{style:{zIndex:r},className:(0,s.$)("".concat(t,"-mask"),a&&"".concat(t,"-mobile-mask"),n)})}):null}const A=h.memo(e=>{let{children:t}=e;return t},(e,t)=>t.cache);function k(e,t,n,r,o,i,s,a){const c="auto",l=e?{}:{left:"-1000vw",top:"-1000vh",right:c,bottom:c};if(!e&&(t||!n)){var u;const{points:e}=r,t=r.dynamicInset||(null===(u=r._experimental)||void 0===u?void 0:u.dynamicInset),n=t&&"r"===e[0][1],f=t&&"b"===e[0][0];n?(l.right=o,l.left=c):(l.left=s,l.right=c),f?(l.bottom=i,l.top=c):(l.top=a,l.bottom=c)}return l}var w=n(17681);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}const S=h.forwardRef((e,t)=>{const{popup:n,className:o,prefixCls:i,style:c,target:l,onVisibleChanged:u,open:f,keepDom:p,fresh:y,onClick:S,mask:x,arrow:E,arrowPos:P,align:R,motion:M,maskMotion:j,mobile:_,forceRender:L,getPopupContainer:B,autoDestroy:O,portal:T,children:z,zIndex:I,onMouseEnter:N,onMouseLeave:D,onPointerEnter:$,onPointerDownCapture:H,ready:W,offsetX:q,offsetY:F,offsetR:V,offsetB:X,onAlign:Y,onPrepare:G,onResize:U,stretch:K,targetWidth:Z,targetHeight:Q}=e,J="function"===typeof n?n():n,ee=f||p,te=!!_,[ne,re,oe]=h.useMemo(()=>_?[_.mask,_.maskMotion,_.motion]:[x,j,M],[_,x,j,M]),ie=(null===B||void 0===B?void 0:B.length)>0,[se,ae]=h.useState(!B||!ie);(0,d.A)(()=>{!se&&ie&&l&&ae(!0)},[se,ie,l]);const ce=(0,w.useEvent)((e,t)=>{null===U||void 0===U||U(e,t),Y()}),le=k(te,W,f,R,V,X,q,F);if(!se)return null;const ue={};return K&&(K.includes("height")&&Q?ue.height=Q:K.includes("minHeight")&&Q&&(ue.minHeight=Q),K.includes("width")&&Z?ue.width=Z:K.includes("minWidth")&&Z&&(ue.minWidth=Z)),f||(ue.pointerEvents="none"),h.createElement(T,{open:L||ee,getContainer:B&&(()=>B(l)),autoDestroy:O},h.createElement(b,{prefixCls:i,open:f,zIndex:I,mask:ne,motion:re,mobile:te}),h.createElement(a.A,{onResize:ce,disabled:!f},e=>h.createElement(m.default,C({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:L,leavedClassName:"".concat(i,"-hidden")},oe,{onAppearPrepare:G,onEnterPrepare:G,visible:f,onVisibleChanged:e=>{var t;null===M||void 0===M||null===(t=M.onVisibleChanged)||void 0===t||t.call(M,e),u(e)}}),(n,a)=>{let{className:l,style:u}=n;const d=(0,s.$)(i,l,o,{["".concat(i,"-mobile")]:te});return h.createElement("div",{ref:(0,g.K4)(e,t,a),className:d,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(P.x||0,"px"),"--arrow-y":"".concat(P.y||0,"px")},le),ue),u),{},{boxSizing:"border-box",zIndex:I},c),onMouseEnter:N,onMouseLeave:D,onPointerEnter:$,onClick:S,onPointerDownCapture:H},E&&h.createElement(v,{prefixCls:i,arrow:E,arrowPos:P,align:R}),h.createElement(A,{cache:!f&&!y},J))})),z)}),x=h.createContext(null),E=h.createContext(null);function P(e){return e?Array.isArray(e)?e:[e]:[]}var R=n(77278);function M(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(e,t)=>e[t]||"";return(arguments.length>2?arguments[2]:void 0)?n(e,0)===n(t,0):n(e,0)===n(t,0)&&n(e,1)===n(t,1)}function j(e,t,n,r){const{points:o}=n,i=Object.keys(e);for(let a=0;a<i.length;a+=1){var s;const n=i[a];if(M(null===(s=e[n])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(n)}return""}function _(e){return e.ownerDocument.defaultView}function L(e){const t=[];let n=null===e||void 0===e?void 0:e.parentElement;const r=["hidden","scroll","clip","auto"];for(;n;){const{overflowX:e,overflowY:o,overflow:i}=_(n).getComputedStyle(n);[e,o,i].some(e=>r.includes(e))&&t.push(n),n=n.parentElement}return t}function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function O(e){return B(parseFloat(e),0)}function T(e,t){const n=(0,r.A)({},e);return(t||[]).forEach(e=>{if(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)return;const{overflow:t,overflowClipMargin:r,borderTopWidth:o,borderBottomWidth:i,borderLeftWidth:s,borderRightWidth:a}=_(e).getComputedStyle(e),c=e.getBoundingClientRect(),{offsetHeight:l,clientHeight:u,offsetWidth:f,clientWidth:d}=e,h=O(o),p=O(i),m=O(s),g=O(a),v=B(Math.round(c.width/f*1e3)/1e3),y=B(Math.round(c.height/l*1e3)/1e3),b=(f-d-m-g)*v,A=(l-u-h-p)*y,k=h*y,w=p*y,C=m*v,S=g*v;let x=0,E=0;if("clip"===t){const e=O(r);x=e*v,E=e*y}const P=c.x+C-x,R=c.y+k-E,M=P+c.width+2*x-C-S-b,j=R+c.height+2*E-k-w-A;n.left=Math.max(n.left,P),n.top=Math.max(n.top,R),n.right=Math.min(n.right,M),n.bottom=Math.min(n.bottom,j)}),n}function z(e){const 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 I(e,t){const[n,r]=t||[];return[z(e.width,n),z(e.height,r)]}function N(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function D(e,t){const n=t[0],r=t[1];let o,i;return i="t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2,o="l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,{x:o,y:i}}function $(e,t){const n=[...e];return n[t]={t:"b",b:"t",l:"r",r:"l"}[e[t]]||"c",n}function H(e){return e.join("")}function W(e,t,n,o,i,s,a,l){const[f,p]=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[o]||{}}),m=h.useRef(0),g=h.useMemo(()=>!t||l?[]:L(t),[t]),v=h.useRef({});e||(v.current={});const y=(0,u.A)(()=>{if(t&&n&&e&&!l){var u,f,d,h;const b=t,A=b.ownerDocument,k=_(b),{position:w}=k.getComputedStyle(b),C=b.style.left,S=b.style.top,x=b.style.right,E=b.style.bottom,P=b.style.overflow,M=(0,r.A)((0,r.A)({},i[o]),s),j=A.createElement("div");let L;if(null===(u=b.parentElement)||void 0===u||u.appendChild(j),j.style.left="".concat(b.offsetLeft,"px"),j.style.top="".concat(b.offsetTop,"px"),j.style.position=w,j.style.height="".concat(b.offsetHeight,"px"),j.style.width="".concat(b.offsetWidth,"px"),b.style.left="0",b.style.top="0",b.style.right="auto",b.style.bottom="auto",b.style.overflow="hidden",Array.isArray(n))L={x:n[0],y:n[1],width:0,height:0};else{var m,y;const ut=n.getBoundingClientRect();ut.x=null!==(m=ut.x)&&void 0!==m?m:ut.left,ut.y=null!==(y=ut.y)&&void 0!==y?y:ut.top,L={x:ut.x,y:ut.y,width:ut.width,height:ut.height}}const O=b.getBoundingClientRect(),{height:z,width:W}=k.getComputedStyle(b);O.x=null!==(f=O.x)&&void 0!==f?f:O.left,O.y=null!==(d=O.y)&&void 0!==d?d:O.top;const{clientWidth:q,clientHeight:F,scrollWidth:V,scrollHeight:X,scrollTop:Y,scrollLeft:G}=A.documentElement,U=O.height,K=O.width,Z=L.height,Q=L.width,J={left:0,top:0,right:q,bottom:F},ee={left:-G,top:-Y,right:V-G,bottom:X-Y};let{htmlRegion:te}=M;const ne="visible",re="visibleFirst";"scroll"!==te&&te!==re&&(te=ne);const oe=te===re,ie=T(ee,g),se=T(J,g),ae=te===ne?se:ie,ce=oe?se:ae;b.style.left="auto",b.style.top="auto",b.style.right="0",b.style.bottom="0";const le=b.getBoundingClientRect();b.style.left=C,b.style.top=S,b.style.right=x,b.style.bottom=E,b.style.overflow=P,null===(h=b.parentElement)||void 0===h||h.removeChild(j);const ue=B(Math.round(K/parseFloat(W)*1e3)/1e3),fe=B(Math.round(U/parseFloat(z)*1e3)/1e3);if(0===ue||0===fe||(0,c.fk)(n)&&!(0,R.A)(n))return;const{offset:de,targetOffset:he}=M;let[pe,me]=I(O,de);const[ge,ve]=I(L,he);L.x-=ge,L.y-=ve;const[ye,be]=M.points||[],Ae=N(be),ke=N(ye),we=D(L,Ae),Ce=D(O,ke),Se=(0,r.A)({},M);let xe=[ke,Ae],Ee=we.x-Ce.x+pe,Pe=we.y-Ce.y+me;function Re(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ae;const r=O.x+e,o=O.y+t,i=r+K,s=o+U,a=Math.max(r,n.left),c=Math.max(o,n.top),l=Math.min(i,n.right),u=Math.min(s,n.bottom);return Math.max(0,(l-a)*(u-c))}const Me=Re(Ee,Pe),je=Re(Ee,Pe,se),_e=D(L,["t","l"]),Le=D(O,["t","l"]),Be=D(L,["b","r"]),Oe=D(O,["b","r"]),Te=M.overflow||{},{adjustX:ze,adjustY:Ie,shiftX:Ne,shiftY:De}=Te,$e=e=>"boolean"===typeof e?e:e>=0;let He,We,qe,Fe;function Ve(){He=O.y+Pe,We=He+U,qe=O.x+Ee,Fe=qe+K}Ve();const Xe=$e(Ie),Ye=ke[0]===Ae[0];if(Xe&&"t"===ke[0]&&(We>ce.bottom||v.current.bt)){let ft=Pe;Ye?ft-=U-Z:ft=_e.y-Oe.y-me;const dt=Re(Ee,ft),ht=Re(Ee,ft,se);dt>Me||dt===Me&&(!oe||ht>=je)?(v.current.bt=!0,Pe=ft,me=-me,xe=[$(xe[0],0),$(xe[1],0)]):v.current.bt=!1}if(Xe&&"b"===ke[0]&&(He<ce.top||v.current.tb)){let pt=Pe;Ye?pt+=U-Z:pt=Be.y-Le.y-me;const mt=Re(Ee,pt),gt=Re(Ee,pt,se);mt>Me||mt===Me&&(!oe||gt>=je)?(v.current.tb=!0,Pe=pt,me=-me,xe=[$(xe[0],0),$(xe[1],0)]):v.current.tb=!1}const Ge=$e(ze),Ue=ke[1]===Ae[1];if(Ge&&"l"===ke[1]&&(Fe>ce.right||v.current.rl)){let vt=Ee;Ue?vt-=K-Q:vt=_e.x-Oe.x-pe;const yt=Re(vt,Pe),bt=Re(vt,Pe,se);yt>Me||yt===Me&&(!oe||bt>=je)?(v.current.rl=!0,Ee=vt,pe=-pe,xe=[$(xe[0],1),$(xe[1],1)]):v.current.rl=!1}if(Ge&&"r"===ke[1]&&(qe<ce.left||v.current.lr)){let At=Ee;Ue?At+=K-Q:At=Be.x-Le.x-pe;const kt=Re(At,Pe),wt=Re(At,Pe,se);kt>Me||kt===Me&&(!oe||wt>=je)?(v.current.lr=!0,Ee=At,pe=-pe,xe=[$(xe[0],1),$(xe[1],1)]):v.current.lr=!1}Se.points=[H(xe[0]),H(xe[1])],Ve();const Ke=!0===Ne?0:Ne;"number"===typeof Ke&&(qe<se.left&&(Ee-=qe-se.left-pe,L.x+Q<se.left+Ke&&(Ee+=L.x-se.left+Q-Ke)),Fe>se.right&&(Ee-=Fe-se.right-pe,L.x>se.right-Ke&&(Ee+=L.x-se.right+Ke)));const Ze=!0===De?0:De;"number"===typeof Ze&&(He<se.top&&(Pe-=He-se.top-me,L.y+Z<se.top+Ze&&(Pe+=L.y-se.top+Z-Ze)),We>se.bottom&&(Pe-=We-se.bottom-me,L.y>se.bottom-Ze&&(Pe+=L.y-se.bottom+Ze)));const Qe=O.x+Ee,Je=Qe+K,et=O.y+Pe,tt=et+U,nt=L.x,rt=nt+Q,ot=L.y,it=ot+Z,st=(Math.max(Qe,nt)+Math.min(Je,rt))/2-Qe,at=(Math.max(et,ot)+Math.min(tt,it))/2-et;null===a||void 0===a||a(t,Se);let ct=le.right-O.x-(Ee+O.width),lt=le.bottom-O.y-(Pe+O.height);1===ue&&(Ee=Math.round(Ee),ct=Math.round(ct)),1===fe&&(Pe=Math.round(Pe),lt=Math.round(lt));p({ready:!0,offsetX:Ee/ue,offsetY:Pe/fe,offsetR:ct/ue,offsetB:lt/fe,arrowX:st/ue,arrowY:at/fe,scaleX:ue,scaleY:fe,align:Se})}}),b=()=>{p(e=>(0,r.A)((0,r.A)({},e),{},{ready:!1}))};return(0,d.A)(b,[o]),(0,d.A)(()=>{e||b()},[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,()=>{m.current+=1;const e=m.current;Promise.resolve().then(()=>{m.current===e&&y()})}]}function q(){const e=h.useRef(null),t=()=>{e.current&&(clearTimeout(e.current),e.current=null)};return h.useEffect(()=>()=>{t()},[]),(n,r)=>{t(),0===r?n():e.current=setTimeout(()=>{n()},1e3*r)}}n(17635);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}const V=e=>{const{prefixCls:t,isMobile:n,ready:o,open:i,align:a,offsetR:c,offsetB:l,offsetX:u,offsetY:f,arrowPos:d,popupSize:h,motion:g,uniqueContainerClassName:v,uniqueContainerStyle:y}=e,b="".concat(t,"-unique-container"),[A,w]=p().useState(!1),C=k(n,o,i,a,c,l,u,f),S=p().useRef(C);o&&(S.current=C);const x={};return h&&(x.width=h.width,x.height=h.height),p().createElement(m.default,F({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:"".concat(b,"-hidden")},g,{visible:i,onVisibleChanged:e=>{w(e)}}),e=>{let{className:t,style:n}=e;const o=(0,s.$)(b,t,v,{["".concat(b,"-visible")]:A});return p().createElement("div",{className:o,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat((null===d||void 0===d?void 0:d.x)||0,"px"),"--arrow-y":"".concat((null===d||void 0===d?void 0:d.y)||0,"px")},S.current),x),n),y)})})},X=e=>{let{children:t,postTriggerProps:n}=e;const[r,o,a,l]=function(){const[e,t]=p().useState(null),[n,r]=p().useState(!1),[o,i]=p().useState(!1),s=p().useRef(null),a=(0,w.useEvent)(e=>{!1===e?(s.current=null,r(!1)):o&&n?s.current=e:(r(!0),t(e),s.current=null,n||i(!0))}),c=(0,w.useEvent)(e=>{e?(i(!1),s.current&&(t(s.current),s.current=null)):(i(!1),s.current=null)});return[a,n,e,c]}(),u=h.useMemo(()=>a&&n?n(a):a,[a,n]),[f,d]=h.useState(null),[m,g]=h.useState(null),v=h.useRef(null),y=(0,w.useEvent)(e=>{v.current=e,(0,c.fk)(e)&&f!==e&&d(e)}),b=h.useRef(null),A=q(),k=(0,w.useEvent)((e,t)=>{b.current=t,A(()=>{r(e)},e.delay)}),C=e=>{A(()=>{var e;null!==(e=b.current)&&void 0!==e&&e.call(b)||r(!1)},e)},P=(0,w.useEvent)(e=>{l(e)}),[R,M,_,L,B,O,T,,,z,I]=W(o,f,null===u||void 0===u?void 0:u.target,null===u||void 0===u?void 0:u.popupPlacement,(null===u||void 0===u?void 0:u.builtinPlacements)||{},null===u||void 0===u?void 0:u.popupAlign,void 0,!1),N=h.useMemo(()=>{var e;if(!u)return"";const t=j(u.builtinPlacements||{},u.prefixCls||"",z,!1);return(0,s.$)(t,null===(e=u.getPopupClassNameFromAlign)||void 0===e?void 0:e.call(u,z))},[z,null===u||void 0===u?void 0:u.getPopupClassNameFromAlign,null===u||void 0===u?void 0:u.builtinPlacements,null===u||void 0===u?void 0:u.prefixCls]),D=h.useMemo(()=>({show:k,hide:C}),[]);h.useEffect(()=>{I()},[null===u||void 0===u?void 0:u.target]);const $=(0,w.useEvent)(()=>(I(),Promise.resolve())),H=h.useRef({}),F=h.useContext(x),X=h.useMemo(()=>({registerSubPopup:(e,t)=>{H.current[e]=t,null===F||void 0===F||F.registerSubPopup(e,t)}}),[F]),Y=null===u||void 0===u?void 0:u.prefixCls;return h.createElement(E.Provider,{value:D},t,u&&h.createElement(x.Provider,{value:X},h.createElement(S,{ref:y,portal:i.A,prefixCls:Y,popup:u.popup,className:(0,s.$)(u.popupClassName,N,"".concat(Y,"-unique-controlled")),style:u.popupStyle,target:u.target,open:o,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:P,ready:R,offsetX:M,offsetY:_,offsetR:L,offsetB:B,onAlign:I,onPrepare:$,onResize:e=>g({width:e.offsetWidth,height:e.offsetHeight}),arrowPos:{x:O,y:T},align:z,zIndex:u.zIndex,mask:u.mask,arrow:u.arrow,motion:u.popupMotion,maskMotion:u.maskMotion,getPopupContainer:u.getPopupContainer},h.createElement(V,{prefixCls:Y,isMobile:!1,ready:R,open:o,align:z,offsetR:L,offsetB:B,offsetX:M,offsetY:_,arrowPos:{x:O,y:T},popupSize:m,motion:u.popupMotion,uniqueContainerClassName:(0,s.$)(u.uniqueContainerClassName,N),uniqueContainerStyle:u.uniqueContainerStyle}))))},Y=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onOpenChange","afterOpenChange","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","popup","popupClassName","uniqueContainerClassName","uniqueContainerStyle","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","unique","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","mobile"];function G(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.A;const t=h.forwardRef((t,n)=>{const{prefixCls:i="rc-trigger-popup",children:p,action:m="hover",showAction:g,hideAction:v,popupVisible:y,defaultPopupVisible:b,onOpenChange:A,afterOpenChange:k,onPopupVisibleChange:C,afterPopupVisibleChange:R,mouseEnterDelay:M,mouseLeaveDelay:B=.1,focusDelay:O,blurDelay:T,mask:z,maskClosable:I=!0,getPopupContainer:N,forceRender:D,autoDestroy:$,popup:H,popupClassName:F,uniqueContainerClassName:V,uniqueContainerStyle:X,popupStyle:G,popupPlacement:U,builtinPlacements:K={},popupAlign:Z,zIndex:Q,stretch:J,getPopupClassNameFromAlign:ee,fresh:te,unique:ne,alignPoint:re,onPopupClick:oe,onPopupAlign:ie,arrow:se,popupMotion:ae,maskMotion:ce,mobile:le}=t,ue=(0,o.A)(t,Y),fe=$||!1,de=void 0===y,he=!!le,pe=h.useRef({}),me=h.useContext(x),ge=h.useMemo(()=>({registerSubPopup:(e,t)=>{pe.current[e]=t,null===me||void 0===me||me.registerSubPopup(e,t)}}),[me]),ve=h.useContext(E),ye=(0,f.A)(),[be,Ae]=h.useState(null),ke=h.useRef(null),we=(0,u.A)(e=>{ke.current=e,(0,c.fk)(e)&&be!==e&&Ae(e),null===me||void 0===me||me.registerSubPopup(ye,e)}),[Ce,Se]=h.useState(null),xe=h.useRef(null),Ee=(0,u.A)(e=>{(0,c.fk)(e)&&Ce!==e&&(Se(e),xe.current=e)}),Pe={},Re=(0,u.A)(e=>{var t,n;const r=Ce;return(null===r||void 0===r?void 0:r.contains(e))||(null===(t=(0,l.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null===be||void 0===be?void 0:be.contains(e))||(null===(n=(0,l.j)(be))||void 0===n?void 0:n.host)===e||e===be||Object.values(pe.current).some(t=>(null===t||void 0===t?void 0:t.contains(e))||e===t)}),Me=se?(0,r.A)({},!0!==se?se:{}):null,[je,_e]=(0,w.useControlledState)(b||!1,y),Le=je||!1,Be=h.useMemo(()=>{const e="function"===typeof p?p({open:Le}):p;return h.Children.only(e)},[p,Le]),Oe=(null===Be||void 0===Be?void 0:Be.props)||{},Te=(0,u.A)(()=>Le),ze=(0,u.A)(function(){return{popup:H,target:Ce,delay:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,prefixCls:i,popupClassName:F,uniqueContainerClassName:V,uniqueContainerStyle:X,popupStyle:G,popupPlacement:U,builtinPlacements:K,popupAlign:Z,zIndex:Q,mask:z,maskClosable:I,popupMotion:ae,maskMotion:ce,arrow:Me,getPopupContainer:N,getPopupClassNameFromAlign:ee,id:ye}});(0,d.A)(()=>{ve&&ne&&Ce&&!de&&!me&&(Le?ve.show(ze(M),Te):ve.hide(B))},[Le,Ce]);const Ie=h.useRef(Le);Ie.current=Le;const Ne=h.useRef([]);Ne.current=[];const De=(0,u.A)(e=>{var t;_e(e),(null!==(t=Ne.current[Ne.current.length-1])&&void 0!==t?t:Le)!==e&&(Ne.current.push(e),null===A||void 0===A||A(e),null===C||void 0===C||C(e))}),$e=q(),He=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;void 0===y&&ve&&ne&&de&&!me?e?ve.show(ze(t),Te):ve.hide(t):$e(()=>{De(e)},t)},[We,qe]=h.useState(!1);(0,d.A)(e=>{e&&!Le||qe(!0)},[Le]);const[Fe,Ve]=h.useState(null),[Xe,Ye]=h.useState(null),Ge=e=>{Ye([e.clientX,e.clientY])},[Ue,Ke,Ze,Qe,Je,et,tt,nt,rt,ot,it]=W(Le,be,re&&null!==Xe?Xe:Ce,U,K,Z,ie,he),[st,at]=function(e,t,n){return h.useMemo(()=>{const r=P(null!==t&&void 0!==t?t:e),o=P(null!==n&&void 0!==n?n:e),i=new Set(r),s=new Set(o);return i.has("hover")&&!i.has("click")&&i.add("touch"),s.has("hover")&&!s.has("click")&&s.add("touch"),[i,s]},[e,t,n])}(m,g,v),ct=st.has("click"),lt=at.has("click")||at.has("contextMenu"),ut=(0,u.A)(()=>{We||it()});!function(e,t,n,r,o){(0,d.A)(()=>{if(e&&t&&n){const i=n,s=L(t),a=L(i),c=_(i),l=new Set([c,...s,...a]);function u(){r(),o()}return l.forEach(e=>{e.addEventListener("scroll",u,{passive:!0})}),c.addEventListener("resize",u,{passive:!0}),r(),()=>{l.forEach(e=>{e.removeEventListener("scroll",u),c.removeEventListener("resize",u)})}}},[e,t,n])}(Le,Ce,be,ut,()=>{Ie.current&&re&<&&He(!1)}),(0,d.A)(()=>{ut()},[Xe,U]),(0,d.A)(()=>{!Le||null!==K&&void 0!==K&&K[U]||ut()},[JSON.stringify(Z)]);const ft=h.useMemo(()=>{const e=j(K,i,ot,re);return(0,s.$)(e,null===ee||void 0===ee?void 0:ee(ot))},[ot,ee,K,i,re]);h.useImperativeHandle(n,()=>({nativeElement:xe.current,popupElement:ke.current,forceAlign:ut}));const[dt,ht]=h.useState(0),[pt,mt]=h.useState(0),gt=()=>{if(J&&Ce){const e=Ce.getBoundingClientRect();ht(e.width),mt(e.height)}};function vt(e,t,n,r,o){Pe[e]=function(i){var s;o&&o()||(null===r||void 0===r||r(i),He(t,n));for(var a=arguments.length,c=new Array(a>1?a-1:0),l=1;l<a;l++)c[l-1]=arguments[l];null===(s=Oe[e])||void 0===s||s.call(Oe,i,...c)}}(0,d.A)(()=>{Fe&&(it(),Fe(),Ve(null))},[Fe]);const yt=st.has("touch"),bt=at.has("touch"),At=h.useRef(!1);(yt||bt)&&(Pe.onTouchStart=function(){var e;At.current=!0,Ie.current&&bt?He(!1):!Ie.current&&yt&&He(!0);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];null===(e=Oe.onTouchStart)||void 0===e||e.call(Oe,...n)}),(ct||lt)&&(Pe.onClick=function(e){var t;Ie.current&<?He(!1):!Ie.current&&ct&&(Ge(e),He(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Oe.onClick)||void 0===t||t.call(Oe,e,...r),At.current=!1});const kt=function(e,t,n,r,o,i,s,a){const c=h.useRef(e);c.current=e;const u=h.useRef(!1);return h.useEffect(()=>{if(t&&r&&(!o||i)){const e=()=>{u.current=!1},t=e=>{var t;!c.current||s((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||u.current||a(!1)},o=_(r);o.addEventListener("pointerdown",e,!0),o.addEventListener("mousedown",t,!0),o.addEventListener("contextmenu",t,!0);const i=(0,l.j)(n);return i&&(i.addEventListener("mousedown",t,!0),i.addEventListener("contextmenu",t,!0)),()=>{o.removeEventListener("pointerdown",e,!0),o.removeEventListener("mousedown",t,!0),o.removeEventListener("contextmenu",t,!0),i&&(i.removeEventListener("mousedown",t,!0),i.removeEventListener("contextmenu",t,!0))}}},[t,n,r,o,i]),function(){u.current=!0}}(Le,lt||bt,Ce,be,z,I,Re,He),wt=st.has("hover"),Ct=at.has("hover");let St,xt;const Et=()=>At.current;if(wt){const e=e=>{Ge(e)};vt("onMouseEnter",!0,M,e,Et),vt("onPointerEnter",!0,M,e,Et),St=e=>{(Le||We)&&null!==be&&void 0!==be&&be.contains(e.target)&&He(!0,M)},re&&(Pe.onMouseMove=e=>{var t;null===(t=Oe.onMouseMove)||void 0===t||t.call(Oe,e)})}Ct&&(vt("onMouseLeave",!1,B,void 0,Et),vt("onPointerLeave",!1,B,void 0,Et),xt=()=>{He(!1,B)}),st.has("focus")&&vt("onFocus",!0,O),at.has("focus")&&vt("onBlur",!1,T),st.has("contextMenu")&&(Pe.onContextMenu=function(e){var t;Ie.current&&at.has("contextMenu")?He(!1):(Ge(e),He(!0)),e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Oe.onContextMenu)||void 0===t||t.call(Oe,e,...r)});const Pt=h.useRef(!1);Pt.current||(Pt.current=D||Le||We);const Rt=(0,r.A)((0,r.A)({},Oe),Pe),Mt={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(e=>{ue[e]&&(Mt[e]=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===(t=Rt[e])||void 0===t||t.call(Rt,...r),ue[e](...r)})});const jt={x:et,y:tt},_t=h.cloneElement(Be,(0,r.A)((0,r.A)({},Rt),Mt));return h.createElement(h.Fragment,null,h.createElement(a.A,{disabled:!Le,ref:Ee,onResize:()=>{gt(),ut()}},_t),Pt.current&&(!ve||!ne)&&h.createElement(x.Provider,{value:ge},h.createElement(S,{portal:e,ref:we,prefixCls:i,popup:H,className:(0,s.$)(F,!he&&ft),style:G,target:Ce,onMouseEnter:St,onMouseLeave:xt,onPointerEnter:St,zIndex:Q,open:Le,keepDom:We,fresh:te,onClick:oe,onPointerDownCapture:kt,mask:z,motion:ae,maskMotion:ce,onVisibleChanged:e=>{qe(!1),it(),null===k||void 0===k||k(e),null===R||void 0===R||R(e)},onPrepare:()=>new Promise(e=>{gt(),Ve(()=>e)}),forceRender:D,autoDestroy:fe,getPopupContainer:N,align:ot,arrow:Me,arrowPos:jt,ready:Ue,offsetX:Ke,offsetY:Ze,offsetR:Qe,offsetB:Je,onAlign:ut,stretch:J,targetWidth:dt/nt,targetHeight:pt/rt,mobile:le})))});return t}const U=G(i.A)},46589(e,t,n){n.d(t,{A:()=>o});var r=n(73884);function o(e,t,n){const o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},49225(e,t,n){function r(e){return e instanceof HTMLElement||e instanceof SVGElement}function o(e){return e&&"object"===typeof e&&r(e.nativeElement)?e.nativeElement:r(e)?e:null}n.d(t,{fk:()=>r,rb:()=>o})},49382(e,t,n){n.d(t,{A:()=>o});var r=n(73884);function o(e){const t=r.useRef(!1),[n,o]=r.useState(e);return r.useEffect(()=>(t.current=!1,()=>{t.current=!0}),[]),[n,function(e,n){n&&t.current||o(e)}]}},52176(e,t,n){function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},58387(e,t,n){function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function o(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{$:()=>o,A:()=>i});const i=o},62055(e,t,n){n.d(t,{A:()=>o});var r=n(73884);const o=function(e){const t=r.useRef(e);t.current=e;const n=r.useCallback(function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)},[]);return n}},62216(e,t,n){n.d(t,{A:()=>a,o:()=>s});var r=n(73884);const o=(0,n(69267).A)()?r.useLayoutEffect:r.useEffect,i=(e,t)=>{const n=r.useRef(!0);o(()=>e(n.current),t),o(()=>(n.current=!1,()=>{n.current=!0}),[])},s=(e,t)=>{i(t=>{if(!t)return e()},t)},a=i},62667(e,t,n){function r(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}n.d(t,{A:()=>r})},67757(e,t,n){function r(e,t){let n=e;for(let r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}n.d(t,{A:()=>r})},69267(e,t,n){function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},70325(e,t,n){n.d(t,{A:()=>s});var r=n(42519),o=n(73884),i=n.n(o);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return i().Children.forEach(e,e=>{(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(s(e)):(0,r.A)(e)&&e.props?n=n.concat(s(e.props.children,t)):n.push(e))}),n}},75850(e,t,n){n.d(t,{A:()=>l});let r=e=>+setTimeout(e,16),o=e=>clearTimeout(e);"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=e=>window.requestAnimationFrame(e),o=e=>window.cancelAnimationFrame(e));let i=0;const s=new Map;function a(e){s.delete(e)}const c=function(e){i+=1;const t=i;return function n(o){if(0===o)a(t),e();else{const e=r(()=>{n(o-1)});s.set(t,e)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};c.cancel=e=>{const t=s.get(e);return a(e),o(t)};const l=c},77278(e,t,n){n.d(t,{A:()=>r});const r=e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){const{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){const{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1}},78446(e,t,n){n.r(t),n.d(t,{genCalc:()=>k,genStyleUtils:()=>T,mergeToken:()=>E,statistic:()=>P,statisticToken:()=>M});var r=n(82284),o=n(80296),i=n(64467),s=n(89379),a=n(73884),c=n.n(a),l=n(82698),u=n(23029),f=n(92901),d=n(9417),h=n(85501),p=n(29426);const m=(0,f.A)(function e(){(0,u.A)(this,e)});var g="CALC_UNIT",v=new RegExp(g,"g");function y(e){return"number"===typeof e?"".concat(e).concat(g):e}var b=function(e){(0,h.A)(n,e);var t=(0,p.A)(n);function n(e,o){var s;(0,u.A)(this,n),s=t.call(this),(0,i.A)((0,d.A)(s),"result",""),(0,i.A)((0,d.A)(s),"unitlessCssVar",void 0),(0,i.A)((0,d.A)(s),"lowPriority",void 0);var a=(0,r.A)(e);return s.unitlessCssVar=o,e instanceof n?s.result="(".concat(e.result,")"):"number"===a?s.result=y(e):"string"===a&&(s.result=e),s}return(0,f.A)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!==typeof e&&"string"!==typeof e||(this.result="".concat(this.result," + ").concat(y(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!==typeof e&&"string"!==typeof e||(this.result="".concat(this.result," - ").concat(y(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?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 n?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,r=!0;return"boolean"===typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(v,r?"px":""),"undefined"!==typeof this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(m);const A=function(e){(0,h.A)(n,e);var t=(0,p.A)(n);function n(e){var r;return(0,u.A)(this,n),r=t.call(this),(0,i.A)((0,d.A)(r),"result",0),e instanceof n?r.result=e.result:"number"===typeof e&&(r.result=e),r}return(0,f.A)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"===typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"===typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"===typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"===typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(m);const k=function(e,t){var n="css"===e?b:A;return function(e){return new n(e,t)}};const w=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("-"))};n(17681);const C=function(e,t,n,r){var i=(0,s.A)({},t[e]);null!==r&&void 0!==r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,o.A)(e,2),r=n[0],s=n[1];(null!==i&&void 0!==i&&i[r]||null!==i&&void 0!==i&&i[s])&&(null!==(t=i[s])&&void 0!==t||(i[s]=null===i||void 0===i?void 0:i[r]))});var a=(0,s.A)((0,s.A)({},n),i);return Object.keys(a).forEach(function(e){a[e]===t[e]&&delete a[e]}),a};var S="undefined"!==typeof CSSINJS_STATISTIC,x=!0;function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!S)return Object.assign.apply(Object,[{}].concat(t));x=!1;var o={};return t.forEach(function(e){"object"===(0,r.A)(e)&&Object.keys(e).forEach(function(t){Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})})}),x=!0,o}var P={};function R(){}const M=function(e){var t,n=e,r=R;return S&&"undefined"!==typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){var r;x&&(null===(r=t)||void 0===r||r.add(n));return e[n]}}),r=function(e,n){var r;P[e]={global:Array.from(t),component:(0,s.A)((0,s.A)({},null===(r=P[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}};const j=function(e,t,n){var r;return"function"===typeof n?n(E(t,null!==(r=t[e])&&void 0!==r?r:{})):null!==n&&void 0!==n?n:{}};const _=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(0,l.unit)(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(0,l.unit)(e)}).join(","),")")}}};var L=new(function(){function e(){(0,u.A)(this,e),(0,i.A)(this,"map",new Map),(0,i.A)(this,"objectIDMap",new WeakMap),(0,i.A)(this,"nextID",0),(0,i.A)(this,"lastAccessBeat",new Map),(0,i.A)(this,"accessBeat",0)}return(0,f.A)(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"===(0,r.A)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,r.A)(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,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());const B=function(e,t){return c().useMemo(function(){var n=L.get(t);if(n)return n;var r=e();return L.set(t,r),r},t)};const O=function(){return{}};const T=function(e){var t=e.useCSP,n=void 0===t?O:t,c=e.useToken,u=e.usePrefix,f=e.getResetStyles,d=e.getCommonStyle,h=e.getCompUnitless;function p(t,i,h){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},m=Array.isArray(t)?t:[t,t],g=(0,o.A)(m,1)[0],v=m.join("-"),y=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=c(),m=o.theme,b=o.realToken,A=o.hashId,S=o.token,x=o.cssVar,P=o.zeroRuntime;if((0,a.useMemo)(function(){return P},[]))return A;var R=u(),L=R.rootPrefixCls,O=R.iconPrefixCls,T=n(),z="css",I=B(function(){var e=new Set;return Object.keys(p.unitless||{}).forEach(function(t){e.add((0,l.token2CSSVar)(t,x.prefix)),e.add((0,l.token2CSSVar)(t,w(g,x.prefix)))}),k(z,e)},[z,g,null===x||void 0===x?void 0:x.prefix]),N=_(z),D=N.max,$=N.min,H={theme:m,token:S,hashId:A,nonce:function(){return T.nonce},clientOnly:p.clientOnly,layer:y,order:p.order||-999};return"function"===typeof f&&(0,l.useStyleRegister)((0,s.A)((0,s.A)({},H),{},{clientOnly:!1,path:["Shared",L]}),function(){return f(S,{prefix:{rootPrefixCls:L,iconPrefixCls:O},csp:T})}),(0,l.useStyleRegister)((0,s.A)((0,s.A)({},H),{},{path:[v,e,O]}),function(){if(!1===p.injectStyle)return[];var n=M(S),o=n.token,s=n.flush,a=j(g,b,h),c=".".concat(e),u=C(g,b,a,{deprecatedTokens:p.deprecatedTokens});a&&"object"===(0,r.A)(a)&&Object.keys(a).forEach(function(e){a[e]="var(".concat((0,l.token2CSSVar)(e,w(g,x.prefix)),")")});var f=E(o,{componentCls:c,prefixCls:e,iconCls:".".concat(O),antCls:".".concat(L),calc:I,max:D,min:$},a),m=i(f,{hashId:A,prefixCls:e,rootPrefixCls:L,iconPrefixCls:O});s(g,u);var v="function"===typeof d?d(f,e,t,p.resetFont):null;return[!1===p.resetStyle?null:v,m]}),A}}return{genStyleHooks:function(e,t,n,r){var o=Array.isArray(e)?e[0]:e;function a(e){return"".concat(String(o)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var u=(null===r||void 0===r?void 0:r.unitless)||{},f="function"===typeof h?h(e):{},d=(0,s.A)((0,s.A)({},f),{},(0,i.A)({},a("zIndexPopup"),!0));Object.keys(u).forEach(function(e){d[a(e)]=u[e]});var m=(0,s.A)((0,s.A)({},r),{},{unitless:d,prefixToken:a}),g=p(e,t,n,m),v=function(e,t,n){var r=n.unitless,o=n.prefixToken,i=n.ignore;return function(s){var a=c(),u=a.cssVar,f=a.realToken;return(0,l.useCSSVarRegister)({path:[e],prefix:u.prefix,key:u.key,unitless:r,ignore:i,token:f,scope:s},function(){var r=j(e,f,t),i=C(e,f,r,{deprecatedTokens:null===n||void 0===n?void 0:n.deprecatedTokens});return r&&Object.keys(r).forEach(function(e){i[o(e)]=i[e],delete i[e]}),i}),null===u||void 0===u?void 0:u.key}}(o,n,m);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return[g(e,t),v(t)]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=p(e,t,n,(0,s.A)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls;return o(t,void 0===n?t:n),null}},genComponentStyleHook:p}}},80296(e,t,n){n.d(t,{A:()=>o});var r=n(27800);function o(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){var r,o,i,s,a=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw o}}return a}}(e,t)||(0,r.A)(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.")}()}},82698(e,t,n){n.r(t),n.d(t,{Keyframes:()=>jt,NaNLinter:()=>ft,StyleContext:()=>C,StyleProvider:()=>w,Theme:()=>T,_experimental:()=>It,autoPrefixTransformer:()=>m,createCache:()=>A,createTheme:()=>I,extractStyle:()=>Mt,genCalc:()=>_,getComputedToken:()=>ie,legacyLogicalPropertiesTransformer:()=>Ot,legacyNotSelectorLinter:()=>lt,logicalPropertiesLinter:()=>ut,parentSelectorLinter:()=>dt,px2remTransformer:()=>zt,token2CSSVar:()=>K,unit:()=>G,useCSSVarRegister:()=>Et,useCacheToken:()=>ae,useStyleRegister:()=>St});var r=n(89379);const o=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var i=n(7122),s=n(73884),a=n(53986),c=n(46589),l=n(89543),u=n(64467);function f(e){return e.join("%")}let d=0;const h=class{constructor(e){(0,u.A)(this,"instanceId",void 0),(0,u.A)(this,"cache",new Map),(0,u.A)(this,"updateTimes",new Map),(0,u.A)(this,"extracted",new Set),this.instanceId=e}get(e){return this.opGet(f(e))}opGet(e){return this.cache.get(e)||null}update(e,t){return this.opUpdate(f(e),t)}opUpdate(e,t){const n=t(this.cache.get(e));null===n?(this.cache.delete(e),this.updateTimes.delete(e)):(this.cache.set(e,n),this.updateTimes.set(e,d),d+=1)}},p={},m=p,g=["children"],v="data-token-hash",y="data-css-hash",b="__cssinjs_instance__";function A(){const e=Math.random().toString(12).slice(2);if("undefined"!==typeof document&&document.head&&document.body){const t=document.body.querySelectorAll("style[".concat(y,"]"))||[],{firstChild:n}=document.head;Array.from(t).forEach(t=>{t[b]=t[b]||e,t[b]===e&&document.head.insertBefore(t,n)});const r={};Array.from(document.querySelectorAll("style[".concat(y,"]"))).forEach(t=>{const n=t.getAttribute(y);var o;r[n]?t[b]===e&&(null===(o=t.parentNode)||void 0===o||o.removeChild(t)):r[n]=!0})}return new h(e)}const k=s.createContext({hashPriority:"low",cache:A(),defaultCache:!0,autoPrefix:!1}),w=e=>{const{children:t}=e,n=(0,a.A)(e,g),o=s.useContext(k),i=(0,c.A)(()=>{const e=(0,r.A)({},o);Object.keys(n).forEach(t=>{const r=n[t];void 0!==n[t]&&(e[t]=r)});const{cache:t,transformers:i=[]}=n;return e.cache=e.cache||A(),e.defaultCache=!t&&o.defaultCache,i.includes(p)&&(e.autoPrefix=!0),e},[o,n],(e,t)=>!(0,l.A)(e[0],t[0],!0)||!(0,l.A)(e[1],t[1],!0));return s.createElement(k.Provider,{value:i},t)},C=k;var S=n(69267);const x=class{},E="CALC_UNIT",P=new RegExp(E,"g");function R(e){return"number"===typeof e?"".concat(e).concat(E):e}class M extends x{constructor(e,t){super(),(0,u.A)(this,"result",""),(0,u.A)(this,"unitlessCssVar",void 0),(0,u.A)(this,"lowPriority",void 0);const n=typeof e;this.unitlessCssVar=t,e instanceof M?this.result="(".concat(e.result,")"):"number"===n?this.result=R(e):"string"===n&&(this.result=e)}add(e){return e instanceof M?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!==typeof e&&"string"!==typeof e||(this.result="".concat(this.result," + ").concat(R(e))),this.lowPriority=!0,this}sub(e){return e instanceof M?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!==typeof e&&"string"!==typeof e||(this.result="".concat(this.result," - ").concat(R(e))),this.lowPriority=!0,this}mul(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof M?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}div(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof M?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}getResult(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}equal(e){const{unit:t}=e||{};let n=!0;return"boolean"===typeof t?n=t:Array.from(this.unitlessCssVar).some(e=>this.result.includes(e))&&(n=!1),this.result=this.result.replace(P,n?"px":""),"undefined"!==typeof this.lowPriority?"calc(".concat(this.result,")"):this.result}}class j extends x{constructor(e){super(),(0,u.A)(this,"result",0),e instanceof j?this.result=e.result:"number"===typeof e&&(this.result=e)}add(e){return e instanceof j?this.result+=e.result:"number"===typeof e&&(this.result+=e),this}sub(e){return e instanceof j?this.result-=e.result:"number"===typeof e&&(this.result-=e),this}mul(e){return e instanceof j?this.result*=e.result:"number"===typeof e&&(this.result*=e),this}div(e){return e instanceof j?this.result/=e.result:"number"===typeof e&&(this.result/=e),this}equal(){return this.result}}const _=(e,t)=>{const n="css"===e?M:j;return e=>new n(e,t)};class L{constructor(){(0,u.A)(this,"cache",void 0),(0,u.A)(this,"keys",void 0),(0,u.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(e=>{var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}get(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}has(e){return!!this.internalGet(e)}set(e,t){if(!this.has(e)){if(this.size()+1>L.MAX_CACHE_SIZE+L.MAX_CACHE_OFFSET){const[e]=this.keys.reduce((e,t)=>{const[,n]=e;return this.internalGet(t)[1]<n?[t,this.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]);this.delete(e)}this.keys.push(e)}let n=this.cache;e.forEach((r,o)=>{if(o===e.length-1)n.set(r,{value:[t,this.cacheCallTimes++]});else{const e=n.get(r);e?e.map||(e.map=new Map):n.set(r,{map:new Map}),n=n.get(r).map}})}deleteByPath(e,t){const n=e.get(t[0]);var r;if(1===t.length)return n.map?e.set(t[0],{map:n.map}):e.delete(t[0]),null===(r=n.value)||void 0===r?void 0:r[0];const o=this.deleteByPath(n.map,t.slice(1));return n.map&&0!==n.map.size||n.value||e.delete(t[0]),o}delete(e){if(this.has(e))return this.keys=this.keys.filter(t=>!function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)),this.deleteByPath(this.cache,e)}}(0,u.A)(L,"MAX_CACHE_SIZE",20),(0,u.A)(L,"MAX_CACHE_OFFSET",5);var B=n(17635);let O=0;class T{constructor(e){(0,u.A)(this,"derivatives",void 0),(0,u.A)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=O,0===e.length&&(0,B.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),O+=1}getDerivativeToken(e){return this.derivatives.reduce((t,n)=>n(e,t),void 0)}}const z=new L;function I(e){const t=Array.isArray(e)?e:[e];return z.has(t)||z.set(t,new T(t)),z.get(t)}const N=new WeakMap,D={};const $=new WeakMap;function H(e){let t=$.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,t+=r instanceof T?r.id:r&&"object"===typeof r?H(r):r}),t=o(t),$.set(e,t)),t}const W="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),q="_bAmBoO_";function F(e,t,n){if((0,S.A)()){var r,o;(0,i.BD)(e,W);const s=document.createElement("div");s.style.position="fixed",s.style.left="0",s.style.top="0",null===t||void 0===t||t(s),document.body.appendChild(s);const a=n?n(s):null===(r=getComputedStyle(s).content)||void 0===r?void 0:r.includes(q);return null===(o=s.parentNode)||void 0===o||o.removeChild(s),(0,i.m6)(W),a}return!1}let V,X;const Y=(0,S.A)();function G(e){return"number"===typeof e?"".concat(e,"px"):e}function U(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;const i=(0,r.A)((0,r.A)({},o),{},{[v]:t,[y]:n}),s=Object.keys(i).map(e=>{const t=i[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(e=>e).join(" ");return"<style ".concat(s,">").concat(e,"</style>")}const K=function(e){let 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()},Z=(e,t,n)=>{const{hashCls:r,hashPriority:o="low"}=n||{};return Object.keys(e).length?"".concat(function(e){const{hashCls:t,hashPriority:n="low"}=e||{};if(!t)return"";const r=".".concat(t);return"low"===n?":where(".concat(r,")"):r}({hashCls:r,hashPriority:o}),".").concat(t).concat(null!==n&&void 0!==n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map(e=>{let[t,n]=e;return"".concat(t,":").concat(n,";")}).join(""),"}"):""},Q=(e,t,n)=>{const{hashCls:r,hashPriority:o="low",prefix:i,unitless:s,ignore:a,preserve:c}=n||{},l={},u={};return Object.entries(e).forEach(e=>{let[t,n]=e;if(null!==c&&void 0!==c&&c[t])u[t]=n;else if(("string"===typeof n||"number"===typeof n)&&(null===a||void 0===a||!a[t])){const e=K(t,i);l[e]="number"!==typeof n||null!==s&&void 0!==s&&s[t]?String(n):"".concat(n,"px"),u[t]="var(".concat(e,")")}}),[u,Z(l,t,{scope:null===n||void 0===n?void 0:n.scope,hashCls:r,hashPriority:o})]};const J=function(){return!1};const ee=new Map;function te(e,t,n,r,o){const{cache:i}=s.useContext(C),a=f([e,...t]),c=(J(),e=>{i.opUpdate(a,t=>{const[r=0,o]=t||[void 0,void 0];const i=[r,o||n()];return e?e(i):i})});s.useMemo(()=>{c()},[a]);const l=i.opGet(a)[1];return(0,s.useInsertionEffect)(()=>(c(e=>{let[t,n]=e;return[t+1,n]}),ee.has(a)||(null===o||void 0===o||o(l),ee.set(a,!0),Promise.resolve().then(()=>{ee.delete(a)})),()=>{i.opUpdate(a,e=>{const[t=0,n]=e||[];return 0===t-1?(null===r||void 0===r||r(n,!1),ee.delete(a),null):[t-1,n]})}),[a]),l}const ne={},re=new Map;function oe(e,t){re.set(e,(re.get(e)||0)-1);const n=new Set;re.forEach((e,t)=>{e<=0&&n.add(t)}),re.size-n.size>-1&&n.forEach(e=>{!function(e,t){"undefined"!==typeof document&&document.querySelectorAll("style[".concat(v,'="').concat(e,'"]')).forEach(e=>{var n;e[b]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))})}(e,t),re.delete(e)})}const ie=(e,t,n,o)=>{const i=n.getDerivativeToken(e);let s=(0,r.A)((0,r.A)({},i),t);return o&&(s=o(s)),s},se="token";function ae(e,t,n){const{cache:{instanceId:a},container:c,hashPriority:l}=(0,s.useContext)(C),{salt:u="",override:f=ne,formatToken:d,getComputedToken:h,cssVar:p}=n,m=function(e,t){let n=N;for(let r=0;r<t.length;r+=1){const e=t[r];n.has(e)||n.set(e,new WeakMap),n=n.get(e)}return n.has(D)||n.set(D,e()),n.get(D)}(()=>Object.assign({},...t),t),g=H(m),A=H(f),k=H(p),w=te(se,[u,e.id,g,A,k],()=>{const t=h?h(m,f,e):ie(m,f,e,d),n=(0,r.A)({},t),i="".concat(u,"_").concat(p.prefix),s=o(i),a="".concat("css","-").concat(o(i));n._tokenKey=function(e,t){return o("".concat(t,"_").concat(H(e)))}(n,i);const[c,g]=Q(t,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve,hashPriority:l,hashCls:p.hashed?a:void 0});var v;return c._hashId=s,v=p.key,re.set(v,(re.get(v)||0)+1),[c,a,n,g,p.key]},e=>{let[,,,,t]=e;oe(t,a)},e=>{let[,,,t,n]=e;if(!t)return;const r=(0,i.BD)(t,o("css-var-".concat(n)),{mark:y,prepend:"queue",attachTo:c,priority:-999});r[b]=a,r.setAttribute(v,n)});return w}const ce={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};var le="-ms-",ue="-moz-",fe="-webkit-",de="comm",he="rule",pe="decl",me="@keyframes",ge=Math.abs,ve=String.fromCharCode,ye=Object.assign;function be(e){return e.trim()}function Ae(e,t){return(e=t.exec(e))?e[0]:e}function ke(e,t,n){return e.replace(t,n)}function we(e,t,n){return e.indexOf(t,n)}function Ce(e,t){return 0|e.charCodeAt(t)}function Se(e,t,n){return e.slice(t,n)}function xe(e){return e.length}function Ee(e){return e.length}function Pe(e,t){return t.push(e),e}function Re(e,t){return e.filter(function(e){return!Ae(e,t)})}function Me(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function je(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case pe:return e.return=e.return||e.value;case de:return"";case me:return e.return=e.value+"{"+Me(e.children,r)+"}";case he:if(!xe(e.value=e.props.join(",")))return""}return xe(n=Me(e.children,r))?e.return=e.value+"{"+n+"}":""}var _e=1,Le=1,Be=0,Oe=0,Te=0,ze="";function Ie(e,t,n,r,o,i,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:_e,column:Le,length:s,return:"",siblings:a}}function Ne(e,t){return ye(Ie("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function De(e){for(;e.root;)e=Ne(e.root,{children:[e]});Pe(e,e.siblings)}function $e(){return Te=Oe>0?Ce(ze,--Oe):0,Le--,10===Te&&(Le=1,_e--),Te}function He(){return Te=Oe<Be?Ce(ze,Oe++):0,Le++,10===Te&&(Le=1,_e++),Te}function We(){return Ce(ze,Oe)}function qe(){return Oe}function Fe(e,t){return Se(ze,e,t)}function Ve(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 Xe(e){return _e=Le=1,Be=xe(ze=e),Oe=0,[]}function Ye(e){return ze="",e}function Ge(e){return be(Fe(Oe-1,Ze(91===e?e+2:40===e?e+1:e)))}function Ue(e){for(;(Te=We())&&Te<33;)He();return Ve(e)>2||Ve(Te)>3?"":" "}function Ke(e,t){for(;--t&&He()&&!(Te<48||Te>102||Te>57&&Te<65||Te>70&&Te<97););return Fe(e,qe()+(t<6&&32==We()&&32==He()))}function Ze(e){for(;He();)switch(Te){case e:return Oe;case 34:case 39:34!==e&&39!==e&&Ze(Te);break;case 40:41===e&&Ze(e);break;case 92:He()}return Oe}function Qe(e,t){for(;He()&&e+Te!==57&&(e+Te!==84||47!==We()););return"/*"+Fe(t,Oe-1)+"*"+ve(47===e?e:He())}function Je(e){for(;!Ve(We());)He();return Fe(e,Oe)}function et(e){return Ye(tt("",null,null,null,[""],e=Xe(e),0,[0],e))}function tt(e,t,n,r,o,i,s,a,c){for(var l=0,u=0,f=s,d=0,h=0,p=0,m=1,g=1,v=1,y=0,b="",A=o,k=i,w=r,C=b;g;)switch(p=y,y=He()){case 40:if(108!=p&&58==Ce(C,f-1)){-1!=we(C+=ke(Ge(y),"&","&\f"),"&\f",ge(l?a[l-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=Ge(y);break;case 9:case 10:case 13:case 32:C+=Ue(p);break;case 92:C+=Ke(qe()-1,7);continue;case 47:switch(We()){case 42:case 47:Pe(rt(Qe(He(),qe()),t,n,c),c),5!=Ve(p||1)&&5!=Ve(We()||1)||!xe(C)||" "===Se(C,-1,void 0)||(C+=" ");break;default:C+="/"}break;case 123*m:a[l++]=xe(C)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(C=ke(C,/\f/g,"")),h>0&&(xe(C)-f||0===m&&47===p)&&Pe(h>32?ot(C+";",r,n,f-1,c):ot(ke(C," ","")+";",r,n,f-2,c),c);break;case 59:C+=";";default:if(Pe(w=nt(C,t,n,l,u,o,a,b,A=[],k=[],f,i),i),123===y)if(0===u)tt(C,t,w,w,A,i,f,a,k);else{switch(d){case 99:if(110===Ce(C,3))break;case 108:if(97===Ce(C,2))break;default:u=0;case 100:case 109:case 115:}u?tt(e,w,w,r&&Pe(nt(e,w,w,0,0,o,a,b,o,A=[],f,k),k),o,k,f,a,r?A:k):tt(C,w,w,w,[""],k,0,a,k)}}l=u=h=0,m=v=1,b=C="",f=s;break;case 58:f=1+xe(C),h=p;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==$e())continue;switch(C+=ve(y),y*m){case 38:v=u>0?1:(C+="\f",-1);break;case 44:a[l++]=(xe(C)-1)*v,v=1;break;case 64:45===We()&&(C+=Ge(He())),d=We(),u=f=xe(b=C+=Je(qe())),y++;break;case 45:45===p&&2==xe(C)&&(m=0)}}return i}function nt(e,t,n,r,o,i,s,a,c,l,u,f){for(var d=o-1,h=0===o?i:[""],p=Ee(h),m=0,g=0,v=0;m<r;++m)for(var y=0,b=Se(e,d+1,d=ge(g=s[m])),A=e;y<p;++y)(A=be(g>0?h[y]+" "+b:ke(b,/&\f/g,h[y])))&&(c[v++]=A);return Ie(e,t,n,0===o?he:a,c,l,u,f)}function rt(e,t,n,r){return Ie(e,t,n,de,ve(Te),Se(e,2,-2),0,r)}function ot(e,t,n,r,o){return Ie(e,t,n,pe,Se(e,0,r),Se(e,r+1,-1),r,o)}function it(e,t,n){switch(function(e,t){return 45^Ce(e,0)?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}(e,t)){case 5103:return fe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return fe+e+e;case 4855:return fe+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fe+e+ue+e+le+e+e;case 5936:switch(Ce(e,t+11)){case 114:return fe+e+le+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+le+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+le+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return fe+e+le+e+e;case 6165:return fe+e+le+"flex-"+e+e;case 5187:return fe+e+ke(e,/(\w+).+(:[^]+)/,fe+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return fe+e+le+"flex-item-"+ke(e,/flex-|-self/g,"")+(Ae(e,/flex-|baseline/)?"":le+"grid-row-"+ke(e,/flex-|-self/g,""))+e;case 4675:return fe+e+le+"flex-line-pack"+ke(e,/align-content|flex-|-self/g,"")+e;case 5548:return fe+e+le+ke(e,"shrink","negative")+e;case 5292:return fe+e+le+ke(e,"basis","preferred-size")+e;case 6060:return fe+"box-"+ke(e,"-grow","")+fe+e+le+ke(e,"grow","positive")+e;case 4554:return fe+ke(e,/([^-])(transform)/g,"$1"+fe+"$2")+e;case 6187:return ke(ke(ke(e,/(zoom-|grab)/,fe+"$1"),/(image-set)/,fe+"$1"),e,"")+e;case 5495:case 3959:return ke(e,/(image-set\([^]*)/,fe+"$1$`$1");case 4968:return ke(ke(e,/(.+:)(flex-)?(.*)/,fe+"box-pack:$3"+le+"flex-pack:$3"),/space-between/,"justify")+fe+e+e;case 4200:if(!Ae(e,/flex-|baseline/))return le+"grid-column-align"+Se(e,t)+e;break;case 2592:case 3360:return le+ke(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,Ae(e.props,/grid-\w+-end/)})?~we(e+(n=n[t].value),"span",0)?e:le+ke(e,"-start","")+e+le+"grid-row-span:"+(~we(n,"span",0)?Ae(n,/\d+/):+Ae(n,/\d+/)-+Ae(e,/\d+/))+";":le+ke(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return Ae(e.props,/grid-\w+-start/)})?e:le+ke(ke(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ke(e,/(.+)-inline(.+)/,fe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xe(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(45!==Ce(e,t+4))break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+ue+(108==Ce(e,t+3)?"$3":"$2-$3"))+e;case 115:return~we(e,"stretch",0)?it(ke(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ke(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,o,i,s,a){return le+n+":"+r+a+(o?le+n+"-span:"+(i?s:+s-+r)+a:"")+e});case 4949:if(121===Ce(e,t+6))return ke(e,":",":"+fe)+e;break;case 6444:switch(Ce(e,45===Ce(e,14)?18:11)){case 120:return ke(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+fe+(45===Ce(e,14)?"inline-":"")+"box$3$1"+fe+"$2$3$1"+le+"$2box$3")+e;case 100:return ke(e,":",":"+le)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ke(e,"scroll-","scroll-snap-")+e}return e}function st(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pe:return void(e.return=it(e.value,e.length,n));case me:return Me([Ne(e,{value:ke(e.value,"@","@"+fe)})],r);case he:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(Ae(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":De(Ne(e,{props:[ke(t,/:(read-\w+)/,":-moz-$1")]})),De(Ne(e,{props:[t]})),ye(e,{props:Re(n,r)});break;case"::placeholder":De(Ne(e,{props:[ke(t,/:(plac\w+)/,":"+fe+"input-$1")]})),De(Ne(e,{props:[ke(t,/:(plac\w+)/,":-moz-$1")]})),De(Ne(e,{props:[ke(t,/:(plac\w+)/,le+"input-$1")]})),De(Ne(e,{props:[t]})),ye(e,{props:Re(n,r)})}return""})}}function at(e,t){const{path:n,parentSelectors:r}=t;(0,B.Ay)(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}function ct(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(e=>e).length>1}const lt=(e,t,n)=>{const r=function(e){return e.parentSelectors.reduce((e,t)=>e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t,"")}(n),o=r.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(ct)&&at("Concat ':not' selector not support in legacy browsers.",n)},ut=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void at("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"===typeof t){const r=t.split(" ").map(e=>e.trim());4===r.length&&r[1]!==r[3]&&at("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n));case"borderRadius":if("string"===typeof t){t.split("/").map(e=>e.trim()).reduce((e,t)=>{if(e)return e;const n=t.split(" ").map(e=>e.trim());return n.length>=2&&n[0]!==n[1]||(3===n.length&&n[1]!==n[2]||(4===n.length&&n[2]!==n[3]||e))},!1)&&at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n)}return}},ft=(e,t,n)=>{("string"===typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&at("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),n)},dt=(e,t,n)=>{n.parentSelectors.some(e=>e.split(",").some(e=>e.split("&").length>2))&&at("Should not use more than one `&` in a selector.",n)},ht="data-ant-cssinjs-cache-path",pt="_FILE_STYLE__";let mt,gt=!0;function vt(e){return function(){if(!mt&&(mt={},(0,S.A)())){const t=document.createElement("div");t.className=ht,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(e=>{const[t,n]=e.split(":");mt[t]=n});const r=document.querySelector("style[".concat(ht,"]"));var e;r&&(gt=!1,null===(e=r.parentNode)||void 0===e||e.removeChild(r)),document.body.removeChild(t)}}(),!!mt[e]}const yt="_multi_value_";function bt(e,t){return Me(et(e),t?function(e){var t=Ee(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}([st,je]):je).replace(/\{%%%\:[^;];}/g,";")}function At(e,t,n){if(!t)return e;const r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(e=>{var t;const n=e.trim().split(/\s+/);let r=n[0]||"";const i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return r="".concat(i).concat(o).concat(r.slice(i.length)),[r,...n.slice(1)].join(" ")}).join(",")}const kt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{root:n,injectHash:o,parentSelectors:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:s,layer:a,path:c,hashPriority:l,transformers:u=[],linters:f=[]}=t;let d="",h={};function p(e){const n=e.getName(s);if(!h[n]){const[r]=kt(e.style,t,{root:!1,parentSelectors:i});h[n]="@keyframes ".concat(e.getName(s)).concat(r)}}const m=function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(t=>{Array.isArray(t)?e(t,n):t&&n.push(t)}),n}(Array.isArray(e)?e:[e]);return m.forEach(e=>{const a="string"!==typeof e||n?e:{};if("string"===typeof a)d+="".concat(a,"\n");else if(a._keyframe)p(a);else{const e=u.reduce((e,t)=>{var n;return(null===t||void 0===t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},a);Object.keys(e).forEach(a=>{const c=e[a];if("object"!==typeof c||!c||"animationName"===a&&c._keyframe||function(e){return"object"===typeof e&&e&&("_skip_check_"in e||yt in e)}(c)){var u;function f(e,t){const n=e.replace(/[A-Z]/g,e=>"-".concat(e.toLowerCase()));let r=t;ce[e]||"number"!==typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!==t&&void 0!==t&&t._keyframe&&(p(t),r=t.getName(s)),d+="".concat(n,":").concat(r,";")}const m=null!==(u=null===c||void 0===c?void 0:c.value)&&void 0!==u?u:c;"object"===typeof c&&null!==c&&void 0!==c&&c[yt]&&Array.isArray(m)?m.forEach(e=>{f(a,e)}):f(a,m)}else{let g=!1,v=a.trim(),y=!1;(n||o)&&s?v.startsWith("@")?g=!0:v=At("&"===v?"":a,s,l):!n||s||"&"!==v&&""!==v||(v="",y=!0);const[b,A]=kt(c,t,{root:y,injectHash:g,parentSelectors:[...i,v]});h=(0,r.A)((0,r.A)({},h),A),d+="".concat(v).concat(b)}})}}),n?a&&(d&&(d="@layer ".concat(a.name," {").concat(d,"}")),a.dependencies&&(h["@layer ".concat(a.name)]=a.dependencies.map(e=>"@layer ".concat(e,", ").concat(a.name,";")).join("\n"))):d="{".concat(d,"}"),[d,h]};function wt(e,t){return o("".concat(e.join("%")).concat(t))}const Ct="style";function St(e,t){const{path:n,hashId:o,layer:a,nonce:c,clientOnly:l,order:u=0}=e,{mock:f,hashPriority:d,container:h,transformers:p,linters:m,cache:g,layer:v,autoPrefix:A}=s.useContext(C),k=[o||""];v&&k.push("layer"),k.push(...n);let w=Y;te(Ct,k,()=>{const e=k.join("|");if(vt(e)){const[t,n]=function(e){const t=mt[e];let n=null;if(t&&(0,S.A)())if(gt)n=pt;else{const t=document.querySelector("style[".concat(y,'="').concat(mt[e],'"]'));t?n=t.innerHTML:delete mt[e]}return[n,t]}(e);if(t)return[t,n,{},l,u]}const r=t(),[i,s]=kt(r,{hashId:o,hashPriority:d,layer:v?a:void 0,path:n.join("-"),transformers:p,linters:m}),c=bt(i,A||!1);return[c,wt(k,c),s,l,u]},(e,t)=>{const[,n]=e;t&&Y&&(0,i.m6)(n,{mark:y,attachTo:h})},e=>{const[t,n,o,,s]=e;if(w&&t!==pt){const e={mark:y,prepend:!v&&"queue",attachTo:h,priority:s},a="function"===typeof c?c():c;a&&(e.csp={nonce:a});const l=[],u=[];Object.keys(o).forEach(e=>{e.startsWith("@layer")?l.push(e):u.push(e)}),l.forEach(t=>{(0,i.BD)(bt(o[t],A||!1),"_layer-".concat(t),(0,r.A)((0,r.A)({},e),{},{prepend:!0}))});(0,i.BD)(t,n,e)[b]=g.instanceId,u.forEach(t=>{(0,i.BD)(bt(o[t],A||!1),"_effect-".concat(t),e)})}})}const xt="cssVar",Et=(e,t)=>{const{key:n,prefix:r,unitless:o,ignore:a,token:c,hashId:l,scope:u=""}=e,{cache:{instanceId:f},container:d,hashPriority:h}=(0,s.useContext)(C),{_tokenKey:p}=c,m=[...e.path,n,u,p];return te(xt,m,()=>{const e=t(),[i,s]=Q(e,n,{prefix:r,unitless:o,ignore:a,scope:u,hashPriority:h,hashCls:l});return[i,s,wt(m,s),n]},e=>{let[,,t]=e;Y&&(0,i.m6)(t,{mark:y,attachTo:d})},e=>{let[,t,r]=e;if(!t)return;const o=(0,i.BD)(t,r,{mark:y,prepend:"queue",attachTo:d,priority:-999});o[b]=f,o.setAttribute(v,n)})},Pt={[Ct]:(e,t,n)=>{const[r,o,i,s,a]=e,{plain:c,autoPrefix:l}=n||{};if(s)return null;let u=r;const f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(a)};return u=U(r,void 0,o,f,c),i&&Object.keys(i).forEach(e=>{if(!t[e]){t[e]=!0;const n=U(bt(i[e],l||!1),void 0,"_effect-".concat(e),f,c);e.startsWith("@layer")?u=n+u:u+=n}}),[a,o,u]},[se]:(e,t,n)=>{const[,,r,o,i]=e,{plain:s}=n||{};if(!o)return null;const a=r._tokenKey;return[-999,a,U(o,i,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]},[xt]:(e,t,n)=>{const[,r,o,i]=e,{plain:s}=n||{};if(!r)return null;return[-999,o,U(r,i,o,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]}};function Rt(e){return null!==e}function Mt(e,t){const{plain:n=!1,types:r=["style","token","cssVar"],once:o=!1}="boolean"===typeof t?{plain:t}:t||{},i=new RegExp("^(".concat(("string"===typeof r?[r]:r).join("|"),")%")),s=Array.from(e.cache.keys()).filter(e=>i.test(e)),a={},c={};let l="";return s.map(t=>{if(o&&e.extracted.has(t))return null;const r=t.replace(i,"").replace(/%/g,"|"),[s]=t.split("%"),l=(0,Pt[s])(e.cache.get(t)[1],a,{plain:n});if(!l)return null;const u=e.updateTimes.get(t)||0,[f,d,h]=l;return t.startsWith("style")&&(c[r]=d),e.extracted.add(t),[f,h,u]}).filter(Rt).sort((e,t)=>{let[n,,r]=e,[o,,i]=t;return n!==o?n-o:r-i}).forEach(e=>{let[,t]=e;l+=t}),l+=U(".".concat(ht,'{content:"').concat(function(e){return Object.keys(e).map(t=>{const n=e[t];return"".concat(t,":").concat(n)}).join(";")}(c),'";}'),void 0,void 0,{[ht]:ht},n),l}const jt=class{constructor(e,t){(0,u.A)(this,"name",void 0),(0,u.A)(this,"style",void 0),(0,u.A)(this,"_keyframe",!0),this.name=e,this.style=t}getName(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}};function _t(e){return e.notSplit=!0,e}const Lt={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:_t(["borderTop","borderBottom"]),borderBlockStart:_t(["borderTop"]),borderBlockEnd:_t(["borderBottom"]),borderInline:_t(["borderLeft","borderRight"]),borderInlineStart:_t(["borderLeft"]),borderInlineEnd:_t(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Bt(e,t){let n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}const Ot={visit:e=>{const t={};return Object.keys(e).forEach(n=>{const r=e[n],o=Lt[n];if(!o||"number"!==typeof r&&"string"!==typeof r)t[n]=r;else{const[e,i]=function(e){if("number"===typeof e)return[[e],!1];const t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/);let o=[],i=0;return[r.reduce((e,t)=>{if(t.includes("(")||t.includes(")")){const e=t.split("(").length-1,n=t.split(")").length-1;i+=e-n}return i>=0&&o.push(t),0===i&&(e.push(o.join(" ")),o=[]),e},[]),!!n]}(r);o.length&&o.notSplit?o.forEach(e=>{t[e]=Bt(r,i)}):1===o.length?t[o[0]]=Bt(e[0],i):2===o.length?o.forEach((n,r)=>{var o;t[n]=Bt(null!==(o=e[r])&&void 0!==o?o:e[0],i)}):4===o.length?o.forEach((n,r)=>{var o,s;t[n]=Bt(null!==(o=null!==(s=e[r])&&void 0!==s?s:e[r-2])&&void 0!==o?o:e[0],i)}):t[n]=r}}),t}},Tt=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;const zt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{rootValue:t=16,precision:n=5,mediaQuery:o=!1}=e,i=(e,r)=>{if(!r)return e;const o=parseFloat(r);if(o<=1)return e;const i=function(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return 10*Math.round(r/10)/n}(o/t,n);return"".concat(i,"rem")};return{visit:e=>{const t=(0,r.A)({},e);return Object.entries(e).forEach(e=>{let[n,r]=e;if("string"===typeof r&&r.includes("px")){const e=r.replace(Tt,i);t[n]=e}ce[n]||"number"!==typeof r||0===r||(t[n]="".concat(r,"px").replace(Tt,i));const s=n.trim();if(s.startsWith("@")&&s.includes("px")&&o){const e=n.replace(Tt,i);t[e]=t[n],delete t[n]}}),t}}},It={supportModernCSS:()=>(void 0===V&&(V=F(":where(.".concat(W,') { content: "').concat(q,'"!important; }'),e=>{e.className=W})),V&&(void 0===X&&(X=F(".".concat(W," { inset-block: 93px !important; }"),e=>{e.className=W},e=>"93px"===getComputedStyle(e).bottom)),X))}},83660(e,t,n){n.d(t,{A:()=>i});var r=n(73884),o=n(62216);function i(e,t){const[n,i]=(0,r.useState)(e),s=void 0!==t?t:n;return(0,o.A)(e=>{e||i(t)},[t]),[s,i]}},89543(e,t,n){n.d(t,{A:()=>o});var r=n(17635);const o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=new Set;return function e(t,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const a=o.has(t);if((0,r.Ay)(!a,"Warning: There may be circular references"),a)return!1;if(t===i)return!0;if(n&&s>1)return!1;o.add(t);const c=s+1;if(Array.isArray(t)){if(!Array.isArray(i)||t.length!==i.length)return!1;for(let n=0;n<t.length;n++)if(!e(t[n],i[n],c))return!1;return!0}if(t&&i&&"object"===typeof t&&"object"===typeof i){const n=Object.keys(t);return n.length===Object.keys(i).length&&n.every(n=>e(t[n],i[n],c))}return!1}(e,t)}},89858(e,t,n){n.r(t),n.d(t,{blue:()=>y,blueDark:()=>B,cyan:()=>v,cyanDark:()=>L,geekblue:()=>b,geekblueDark:()=>O,generate:()=>c,gold:()=>h,goldDark:()=>R,gray:()=>C,green:()=>g,greenDark:()=>_,grey:()=>w,greyDark:()=>I,lime:()=>m,limeDark:()=>j,magenta:()=>k,magentaDark:()=>z,orange:()=>d,orangeDark:()=>P,presetDarkPalettes:()=>N,presetPalettes:()=>S,presetPrimaryColors:()=>l,purple:()=>A,purpleDark:()=>T,red:()=>u,redDark:()=>x,volcano:()=>f,volcanoDark:()=>E,yellow:()=>p,yellowDark:()=>M});var r=n(7398);const o=[{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 i(e,t,n){let r;return r=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,r<0?r+=360:r>=360&&(r-=360),r}function s(e,t,n){if(0===e.h&&0===e.s)return e.s;let r;return r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t,r>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100}function a(e,t,n){let r;return r=n?e.v+.05*t:e.v-.15*t,r=Math.max(0,Math.min(1,r)),Math.round(100*r)/100}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=[],c=new r.FastColor(e),l=c.toHsv();for(let o=5;o>0;o-=1){const e=new r.FastColor({h:i(l,o,!0),s:s(l,o,!0),v:a(l,o,!0)});n.push(e)}n.push(c);for(let o=1;o<=4;o+=1){const e=new r.FastColor({h:i(l,o),s:s(l,o),v:a(l,o)});n.push(e)}return"dark"===t.theme?o.map(e=>{let{index:o,amount:i}=e;return new r.FastColor(t.backgroundColor||"#141414").mix(n[o],i).toHexString()}):n.map(e=>e.toHexString())}const l={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"},u=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];u.primary=u[5];const f=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];f.primary=f[5];const d=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];d.primary=d[5];const h=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];h.primary=h[5];const p=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];p.primary=p[5];const m=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];m.primary=m[5];const g=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];g.primary=g[5];const v=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];v.primary=v[5];const y=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];y.primary=y[5];const b=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];b.primary=b[5];const A=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];A.primary=A[5];const k=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];k.primary=k[5];const w=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];w.primary=w[5];const C=w,S={red:u,volcano:f,orange:d,gold:h,yellow:p,lime:m,green:g,cyan:v,blue:y,geekblue:b,purple:A,magenta:k,grey:w},x=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];x.primary=x[5];const E=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];E.primary=E[5];const P=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];P.primary=P[5];const R=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];R.primary=R[5];const M=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];M.primary=M[5];const j=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];j.primary=j[5];const _=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];_.primary=_[5];const L=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];L.primary=L[5];const B=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];B.primary=B[5];const O=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];O.primary=O[5];const T=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];T.primary=T[5];const z=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];z.primary=z[5];const I=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];I.primary=I[5];const N={red:x,volcano:E,orange:P,gold:R,yellow:M,lime:j,green:_,cyan:L,blue:B,geekblue:O,purple:T,magenta:z,grey:I}},95082(e,t){var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case s:case d:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case f:case m:case p:case c:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=f,t.isMemo=function(e){return v(e)===p}}}]);
|
|
3
|
-
//# sourceMappingURL=2086.04de3393.chunk.js.map
|