@akinon/ui-theme 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/colors.d.ts +13 -0
- package/dist/colors.d.ts.map +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.js +417 -363
- package/dist/theme.d.ts +3 -0
- package/dist/theme.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/colors.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
export declare const neutral: {
|
|
2
2
|
'50': string;
|
|
3
|
+
'75': string;
|
|
3
4
|
'100': string;
|
|
5
|
+
'150': string;
|
|
4
6
|
'200': string;
|
|
7
|
+
'250': string;
|
|
5
8
|
'300': string;
|
|
9
|
+
'350': string;
|
|
10
|
+
'375': string;
|
|
6
11
|
'400': string;
|
|
7
12
|
'500': string;
|
|
8
13
|
'600': string;
|
|
@@ -14,10 +19,16 @@ export declare const neutral: {
|
|
|
14
19
|
export declare const ebonyClay: {
|
|
15
20
|
'50': string;
|
|
16
21
|
'100': string;
|
|
22
|
+
'150': string;
|
|
17
23
|
'200': string;
|
|
18
24
|
'300': string;
|
|
25
|
+
'350': string;
|
|
26
|
+
'375': string;
|
|
19
27
|
'400': string;
|
|
28
|
+
'450': string;
|
|
29
|
+
'475': string;
|
|
20
30
|
'500': string;
|
|
31
|
+
'550': string;
|
|
21
32
|
'600': string;
|
|
22
33
|
'700': string;
|
|
23
34
|
'800': string;
|
|
@@ -34,6 +45,7 @@ export declare const gray: {
|
|
|
34
45
|
'700': string;
|
|
35
46
|
'800': string;
|
|
36
47
|
'900': string;
|
|
48
|
+
'925': string;
|
|
37
49
|
'950': string;
|
|
38
50
|
};
|
|
39
51
|
export declare const red: {
|
|
@@ -109,6 +121,7 @@ export declare const azure: {
|
|
|
109
121
|
'400': string;
|
|
110
122
|
'500': string;
|
|
111
123
|
'600': string;
|
|
124
|
+
'750': string;
|
|
112
125
|
'700': string;
|
|
113
126
|
'800': string;
|
|
114
127
|
'900': string;
|
package/dist/colors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAYhB,CAAC;AAEF,eAAO,MAAM,GAAG;;;;;;;;;;;;CAYf,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYjB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAYhB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAYhB,CAAC;AAGF,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAajB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(e,t){return ht(e)||bt(e,t)||Xe(e,t)||pt()}function vt(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var xe=function(){function e(){me(this,e),M(this,"cache",void 0),M(this,"keys",void 0),M(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Se(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var o,n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(c){if(!a)a=void 0;else{var s,l;a=(s=a)===null||s===void 0||(l=s.map)===null||l===void 0?void 0:l.get(c)}}),(o=a)!==null&&o!==void 0&&o.value&&i&&(a.value[1]=this.cacheCallTimes++),(n=a)===null||n===void 0?void 0:n.value}},{key:"get",value:function(r){var o;return(o=this.internalGet(r,!0))===null||o===void 0?void 0:o[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,o){var n=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(l,d){var f=_(l,2),u=f[1];return n.internalGet(d)[1]<u?[d,n.internalGet(d)[1]]:l},[this.keys[0],this.cacheCallTimes]),a=_(i,1),c=a[0];this.delete(c)}this.keys.push(r)}var s=this.cache;r.forEach(function(l,d){if(d===r.length-1)s.set(l,{value:[o,n.cacheCallTimes++]});else{var f=s.get(l);f?f.map||(f.map=new Map):s.set(l,{map:new Map}),s=s.get(l).map}})}},{key:"deleteByPath",value:function(r,o){var n=r.get(o[0]);if(o.length===1){var i;return n.map?r.set(o[0],{map:n.map}):r.delete(o[0]),(i=n.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(n.map,o.slice(1));return(!n.map||n.map.size===0)&&!n.value&&r.delete(o[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(o){return!vt(o,r)}),this.deleteByPath(this.cache,r)}}]),e}();M(xe,"MAX_CACHE_SIZE",20);M(xe,"MAX_CACHE_OFFSET",5);var Be=0,Ue=function(){function e(t){me(this,e),M(this,"derivatives",void 0),M(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Be,t.length===0&&_e(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Be+=1}return Se(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(o,n){return n(r,o)},void 0)}}]),e}(),te=new xe;function ge(e){var t=Array.isArray(e)?e:[e];return te.has(t)||te.set(t,new Ue(t)),te.get(t)}var yt=new WeakMap,re={};function mt(e,t){for(var r=yt,o=0;o<t.length;o+=1){var n=t[o];r.has(n)||r.set(n,new WeakMap),r=r.get(n)}return r.has(re)||r.set(re,e()),r.get(re)}var Ee=new WeakMap;function J(e){var t=Ee.get(e)||"";return t||(Object.keys(e).forEach(function(r){var o=e[r];t+=r,o instanceof Ue?t+=o.id:o&&z(o)==="object"?t+=J(o):t+=o}),Ee.set(e,t)),t}function St(e,t){return $e("".concat(t,"_").concat(J(e)))}var Oe=process.env.NODE_ENV!=="test"&>()?C.useLayoutEffect:C.useEffect,xt=function(t,r){var o=C.useRef(!0);Oe(function(){return t(o.current)},r),Oe(function(){return o.current=!1,function(){o.current=!0}},[])},Tt=K({},C),He=Tt.useInsertionEffect,kt=function(t,r,o){C.useMemo(t,o),xt(function(){return r(!0)},o)},Mt=He?function(e,t,r){return He(function(){return e(),t()},r)}:kt,Ct=K({},C),wt=Ct.useInsertionEffect,At=function(t){var r=[],o=!1;function n(i){if(o){process.env.NODE_ENV!=="production"&&_e(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(i)}return C.useEffect(function(){return o=!1,function(){o=!0,r.length&&r.forEach(function(i){return i()})}},t),n},Bt=function(){return function(t){t()}},Et=typeof wt<"u"?At:Bt;function Ot(){return!1}var he=!1;function Ht(){return he}const It=process.env.NODE_ENV==="production"?Ot:Ht;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var oe=window;if(typeof oe.webpackHotUpdate=="function"){var Rt=oe.webpackHotUpdate;oe.webpackHotUpdate=function(){return he=!0,setTimeout(function(){he=!1},0),Rt.apply(void 0,arguments)}}}function jt(e,t,r,o,n){var i=C.useContext(Ge),a=i.cache,c=[e].concat(Ne(t)),s=c.join("_"),l=Et([s]),d=It(),f=function(g){a.update(c,function(m){var S=m||[],T=_(S,2),F=T[0],N=F===void 0?0:F,$=T[1],Y=$;process.env.NODE_ENV!=="production"&&$&&d&&(o==null||o(Y,d),Y=null);var ot=Y||r(),Me=[N,ot];return g?g(Me):Me})};C.useMemo(function(){f()},[s]);var u=a.get(c);process.env.NODE_ENV!=="production"&&!u&&(f(),u=a.get(c));var b=u[1];return Mt(function(){n==null||n(b)},function(v){return f(function(g){var m=_(g,2),S=m[0],T=m[1];return v&&S===0&&(n==null||n(b)),[S+1,T]}),function(){a.update(c,function(g){var m=g||[],S=_(m,2),T=S[0],F=T===void 0?0:T,N=S[1],$=F-1;return $===0?(l(function(){return o==null?void 0:o(N,!1)}),null):[F-1,N]})}},[s]),b}var zt={},Pt=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",O=new Map;function Ft(e){O.set(e,(O.get(e)||0)+1)}function Lt(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(ut,'="').concat(e,'"]'));r.forEach(function(o){if(o[D]===t){var n;(n=o.parentNode)===null||n===void 0||n.removeChild(o)}})}}var Dt=0;function _t(e,t){O.set(e,(O.get(e)||0)-1);var r=Array.from(O.keys()),o=r.filter(function(n){var i=O.get(n)||0;return i<=0});r.length-o.length>Dt&&o.forEach(function(n){Lt(n,t),O.delete(n)})}var Ve=function(t,r,o,n){var i=o.getDerivativeToken(t),a=K(K({},i),r);return n&&(a=n(a)),a};function Wt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Z.useContext(Ge),n=o.cache.instanceId,i=r.salt,a=i===void 0?"":i,c=r.override,s=c===void 0?zt:c,l=r.formatToken,d=r.getComputedToken,f=mt(function(){return Object.assign.apply(Object,[{}].concat(Ne(t)))},t),u=J(f),b=J(s),v=jt("token",[a,e.id,u,b],function(){var g=d?d(f,s,e):Ve(f,s,e,l),m=St(g,a);g._tokenKey=m,Ft(m);var S="".concat(Pt,"-").concat($e(m));return g._hashId=S,[g,S]},function(g){_t(g[0]._tokenKey,n)});return v}function I(e){return e.notSplit=!0,e}I(["borderTop","borderBottom"]),I(["borderTop"]),I(["borderBottom"]),I(["borderLeft","borderRight"]),I(["borderLeft"]),I(["borderRight"]);function p(e,t){Xt(e)&&(e="100%");var r=Nt(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function G(e){return Math.min(1,Math.max(0,e))}function Xt(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Nt(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qe(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function U(e){return e<=1?"".concat(Number(e)*100,"%"):e}function H(e){return e.length===1?"0"+e:String(e)}function $t(e,t,r){return{r:p(e,255)*255,g:p(t,255)*255,b:p(r,255)*255}}function Ie(e,t,r){e=p(e,255),t=p(t,255),r=p(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),i=0,a=0,c=(o+n)/2;if(o===n)a=0,i=0;else{var s=o-n;switch(a=c>.5?s/(2-o-n):s/(o+n),o){case e:i=(t-r)/s+(t<r?6:0);break;case t:i=(r-e)/s+2;break;case r:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,l:c}}function ne(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Gt(e,t,r){var o,n,i;if(e=p(e,360),t=p(t,100),r=p(r,100),t===0)n=r,i=r,o=r;else{var a=r<.5?r*(1+t):r+t-r*t,c=2*r-a;o=ne(c,a,e+1/3),n=ne(c,a,e),i=ne(c,a,e-1/3)}return{r:o*255,g:n*255,b:i*255}}function be(e,t,r){e=p(e,255),t=p(t,255),r=p(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),i=0,a=o,c=o-n,s=o===0?0:c/o;if(o===n)i=0;else{switch(o){case e:i=(t-r)/c+(t<r?6:0);break;case t:i=(r-e)/c+2;break;case r:i=(e-t)/c+4;break}i/=6}return{h:i,s,v:a}}function Ut(e,t,r){e=p(e,360)*6,t=p(t,100),r=p(r,100);var o=Math.floor(e),n=e-o,i=r*(1-t),a=r*(1-n*t),c=r*(1-(1-n)*t),s=o%6,l=[r,a,i,i,c,r][s],d=[c,r,r,a,i,i][s],f=[i,i,c,r,r,a][s];return{r:l*255,g:d*255,b:f*255}}function pe(e,t,r,o){var n=[H(Math.round(e).toString(16)),H(Math.round(t).toString(16)),H(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function Vt(e,t,r,o,n){var i=[H(Math.round(e).toString(16)),H(Math.round(t).toString(16)),H(Math.round(r).toString(16)),H(qt(o))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function qt(e){return Math.round(parseFloat(e)*255).toString(16)}function Re(e){return y(e)/255}function y(e){return parseInt(e,16)}function Qt(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var ve={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function j(e){var t={r:0,g:0,b:0},r=1,o=null,n=null,i=null,a=!1,c=!1;return typeof e=="string"&&(e=Zt(e)),typeof e=="object"&&(w(e.r)&&w(e.g)&&w(e.b)?(t=$t(e.r,e.g,e.b),a=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):w(e.h)&&w(e.s)&&w(e.v)?(o=U(e.s),n=U(e.v),t=Ut(e.h,o,n),a=!0,c="hsv"):w(e.h)&&w(e.s)&&w(e.l)&&(o=U(e.s),i=U(e.l),t=Gt(e.h,o,i),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=qe(r),{ok:a,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Kt="[-\\+]?\\d+%?",Jt="[-\\+]?\\d*\\.\\d+%?",E="(?:".concat(Jt,")|(?:").concat(Kt,")"),ie="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),ae="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),k={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+ie),rgba:new RegExp("rgba"+ae),hsl:new RegExp("hsl"+ie),hsla:new RegExp("hsla"+ae),hsv:new RegExp("hsv"+ie),hsva:new RegExp("hsva"+ae),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Zt(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(ve[e])e=ve[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=k.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=k.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=k.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=k.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=k.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=k.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=k.hex8.exec(e),r?{r:y(r[1]),g:y(r[2]),b:y(r[3]),a:Re(r[4]),format:t?"name":"hex8"}:(r=k.hex6.exec(e),r?{r:y(r[1]),g:y(r[2]),b:y(r[3]),format:t?"name":"hex"}:(r=k.hex4.exec(e),r?{r:y(r[1]+r[1]),g:y(r[2]+r[2]),b:y(r[3]+r[3]),a:Re(r[4]+r[4]),format:t?"name":"hex8"}:(r=k.hex3.exec(e),r?{r:y(r[1]+r[1]),g:y(r[2]+r[2]),b:y(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function w(e){return!!k.CSS_UNIT.exec(String(e))}var x=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=Qt(t)),this.originalInput=t;var n=j(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=r.format)!==null&&o!==void 0?o:n.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,o,n,i=t.r/255,a=t.g/255,c=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),c<=.03928?n=c/12.92:n=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*o+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qe(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=be(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=be(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),n=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsva(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Ie(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Ie(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),n=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsla(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),pe(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Vt(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(o,")"):"rgba(".concat(t,", ").concat(r,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(p(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(p(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+pe(this.r,this.g,this.b,!1),r=0,o=Object.entries(ve);r<o.length;r++){var n=o[r],i=n[0],a=n[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var o=!1,n=this.a<1&&this.a>=0,i=!r&&n&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=G(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=G(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=G(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=G(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var o=this.toRgb(),n=new e(t).toRgb(),i=r/100,a={r:(n.r-o.r)*i+o.r,g:(n.g-o.g)*i+o.g,b:(n.b-o.b)*i+o.b,a:(n.a-o.a)*i+o.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var o=this.toHsl(),n=360/r,i=[this];for(o.h=(o.h-(n*t>>1)+720)%360;--t;)o.h=(o.h+n)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),o=r.h,n=r.s,i=r.v,a=[],c=1/t;t--;)a.push(new e({h:o,s:n,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),n=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,n=[this],i=360/t,a=1;a<t;a++)n.push(new e({h:(o+a*i)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),V=2,je=.16,Yt=.05,er=.05,tr=.15,Qe=5,Ke=4,rr=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function ze(e){var t=e.r,r=e.g,o=e.b,n=be(t,r,o);return{h:n.h*360,s:n.s,v:n.v}}function q(e){var t=e.r,r=e.g,o=e.b;return"#".concat(pe(t,r,o,!1))}function or(e,t,r){var o=r/100,n={r:(t.r-e.r)*o+e.r,g:(t.g-e.g)*o+e.g,b:(t.b-e.b)*o+e.b};return n}function Pe(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-V*t:Math.round(e.h)+V*t:o=r?Math.round(e.h)+V*t:Math.round(e.h)-V*t,o<0?o+=360:o>=360&&(o-=360),o}function Fe(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-je*t:t===Ke?o=e.s+je:o=e.s+Yt*t,o>1&&(o=1),r&&t===Qe&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Le(e,t,r){var o;return r?o=e.v+er*t:o=e.v-tr*t,o>1&&(o=1),Number(o.toFixed(2))}function P(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=j(e),n=Qe;n>0;n-=1){var i=ze(o),a=q(j({h:Pe(i,n,!0),s:Fe(i,n,!0),v:Le(i,n,!0)}));r.push(a)}r.push(q(o));for(var c=1;c<=Ke;c+=1){var s=ze(o),l=q(j({h:Pe(s,c),s:Fe(s,c),v:Le(s,c)}));r.push(l)}return t.theme==="dark"?rr.map(function(d){var f=d.index,u=d.opacity,b=q(or(j(t.backgroundColor||"#141414"),j(r[f]),u*100));return b}):r}var ce={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"},se={},le={};Object.keys(ce).forEach(function(e){se[e]=P(ce[e]),se[e].primary=se[e][5],le[e]=P(ce[e],{theme:"dark",backgroundColor:"#141414"}),le[e].primary=le[e][5]});const nr=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},Je=nr;function ir(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const Te={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},W=Object.assign(Object.assign({},Te),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react");function nt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const w=nt(Y);var it=[];function We(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=it.reduce(function(o,n){return n(o??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function P(e){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(e)}function at(e,t){if(P(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(P(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xe(e){var t=at(e,"string");return P(t)=="symbol"?t:t+""}function M(e,t,r){return t=Xe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?we(Object(r),!0).forEach(function(o){M(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Xe(o.key),o)}}function xe(e,t,r){return t&&Be(e.prototype,t),r&&Be(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function de(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function ct(e){if(Array.isArray(e))return de(e)}function lt(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ne(e,t){if(e){if(typeof e=="string")return de(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return de(e,t)}}function st(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $e(e){return ct(e)||lt(e)||Ne(e)||st()}function Ge(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ae="%",ft=function(){function e(t){Se(this,e),M(this,"instanceId",void 0),M(this,"cache",new Map),this.instanceId=t}return xe(e,[{key:"get",value:function(r){return this.cache.get(r.join(Ae))||null}},{key:"update",value:function(r,o){var n=r.join(Ae),i=this.cache.get(n),a=o(i);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),e}(),ut="data-token-hash",te="data-css-hash",_="__cssinjs_instance__";function dt(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(te,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(n){n[_]=n[_]||e,n[_]===e&&document.head.insertBefore(n,r)});var o={};Array.from(document.querySelectorAll("style[".concat(te,"]"))).forEach(function(n){var i=n.getAttribute(te);if(o[i]){if(n[_]===e){var a;(a=n.parentNode)===null||a===void 0||a.removeChild(n)}}else o[i]=!0})}return new ft(e)}var Ue=w.createContext({hashPriority:"low",cache:dt(),defaultCache:!0});function gt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ht(e){if(Array.isArray(e))return e}function bt(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,n,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(o=i.call(r)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(g){s=!0,n=g}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return c}}function pt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(e,t){return ht(e)||bt(e,t)||Ne(e,t)||pt()}function vt(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var Te=function(){function e(){Se(this,e),M(this,"cache",void 0),M(this,"keys",void 0),M(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return xe(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var o,n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(c){if(!a)a=void 0;else{var l,s;a=(l=a)===null||l===void 0||(s=l.map)===null||s===void 0?void 0:s.get(c)}}),(o=a)!==null&&o!==void 0&&o.value&&i&&(a.value[1]=this.cacheCallTimes++),(n=a)===null||n===void 0?void 0:n.value}},{key:"get",value:function(r){var o;return(o=this.internalGet(r,!0))===null||o===void 0?void 0:o[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,o){var n=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(s,g){var f=W(s,2),d=f[1];return n.internalGet(g)[1]<d?[g,n.internalGet(g)[1]]:s},[this.keys[0],this.cacheCallTimes]),a=W(i,1),c=a[0];this.delete(c)}this.keys.push(r)}var l=this.cache;r.forEach(function(s,g){if(g===r.length-1)l.set(s,{value:[o,n.cacheCallTimes++]});else{var f=l.get(s);f?f.map||(f.map=new Map):l.set(s,{map:new Map}),l=l.get(s).map}})}},{key:"deleteByPath",value:function(r,o){var n=r.get(o[0]);if(o.length===1){var i;return n.map?r.set(o[0],{map:n.map}):r.delete(o[0]),(i=n.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(n.map,o.slice(1));return(!n.map||n.map.size===0)&&!n.value&&r.delete(o[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(o){return!vt(o,r)}),this.deleteByPath(this.cache,r)}}]),e}();M(Te,"MAX_CACHE_SIZE",20);M(Te,"MAX_CACHE_OFFSET",5);var Ee=0,Ve=function(){function e(t){Se(this,e),M(this,"derivatives",void 0),M(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Ee,t.length===0&&We(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Ee+=1}return xe(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(o,n){return n(r,o)},void 0)}}]),e}(),re=new Te;function ge(e){var t=Array.isArray(e)?e:[e];return re.has(t)||re.set(t,new Ve(t)),re.get(t)}var yt=new WeakMap,oe={};function mt(e,t){for(var r=yt,o=0;o<t.length;o+=1){var n=t[o];r.has(n)||r.set(n,new WeakMap),r=r.get(n)}return r.has(oe)||r.set(oe,e()),r.get(oe)}var Oe=new WeakMap;function Z(e){var t=Oe.get(e)||"";return t||(Object.keys(e).forEach(function(r){var o=e[r];t+=r,o instanceof Ve?t+=o.id:o&&P(o)==="object"?t+=Z(o):t+=o}),Oe.set(e,t)),t}function St(e,t){return Ge("".concat(t,"_").concat(Z(e)))}var He=process.env.NODE_ENV!=="test"&>()?w.useLayoutEffect:w.useEffect,xt=function(t,r){var o=w.useRef(!0);He(function(){return t(o.current)},r),He(function(){return o.current=!1,function(){o.current=!0}},[])},Tt=J({},w),Ie=Tt.useInsertionEffect,kt=function(t,r,o){w.useMemo(t,o),xt(function(){return r(!0)},o)},Ct=Ie?function(e,t,r){return Ie(function(){return e(),t()},r)}:kt,Mt=J({},w),wt=Mt.useInsertionEffect,Bt=function(t){var r=[],o=!1;function n(i){if(o){process.env.NODE_ENV!=="production"&&We(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(i)}return w.useEffect(function(){return o=!1,function(){o=!0,r.length&&r.forEach(function(i){return i()})}},t),n},At=function(){return function(t){t()}},Et=typeof wt<"u"?Bt:At;function Ot(){return!1}var he=!1;function Ht(){return he}const It=process.env.NODE_ENV==="production"?Ot:Ht;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var ne=window;if(typeof ne.webpackHotUpdate=="function"){var Rt=ne.webpackHotUpdate;ne.webpackHotUpdate=function(){return he=!0,setTimeout(function(){he=!1},0),Rt.apply(void 0,arguments)}}}function zt(e,t,r,o,n){var i=w.useContext(Ue),a=i.cache,c=[e].concat($e(t)),l=c.join("_"),s=Et([l]),g=It(),f=function(h){a.update(c,function(m){var S=m||[],k=W(S,2),L=k[0],$=L===void 0?0:L,G=k[1],ee=G;process.env.NODE_ENV!=="production"&&G&&g&&(o==null||o(ee,g),ee=null);var ot=ee||r(),Me=[$,ot];return h?h(Me):Me})};w.useMemo(function(){f()},[l]);var d=a.get(c);process.env.NODE_ENV!=="production"&&!d&&(f(),d=a.get(c));var b=d[1];return Ct(function(){n==null||n(b)},function(v){return f(function(h){var m=W(h,2),S=m[0],k=m[1];return v&&S===0&&(n==null||n(b)),[S+1,k]}),function(){a.update(c,function(h){var m=h||[],S=W(m,2),k=S[0],L=k===void 0?0:k,$=S[1],G=L-1;return G===0?(s(function(){return o==null?void 0:o($,!1)}),null):[L-1,$]})}},[l]),b}var jt={},Pt=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",H=new Map;function Ft(e){H.set(e,(H.get(e)||0)+1)}function Lt(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(ut,'="').concat(e,'"]'));r.forEach(function(o){if(o[_]===t){var n;(n=o.parentNode)===null||n===void 0||n.removeChild(o)}})}}var Dt=0;function _t(e,t){H.set(e,(H.get(e)||0)-1);var r=Array.from(H.keys()),o=r.filter(function(n){var i=H.get(n)||0;return i<=0});r.length-o.length>Dt&&o.forEach(function(n){Lt(n,t),H.delete(n)})}var qe=function(t,r,o,n){var i=o.getDerivativeToken(t),a=J(J({},i),r);return n&&(a=n(a)),a};function Wt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Y.useContext(Ue),n=o.cache.instanceId,i=r.salt,a=i===void 0?"":i,c=r.override,l=c===void 0?jt:c,s=r.formatToken,g=r.getComputedToken,f=mt(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),d=Z(f),b=Z(l),v=zt("token",[a,e.id,d,b],function(){var h=g?g(f,l,e):qe(f,l,e,s),m=St(h,a);h._tokenKey=m,Ft(m);var S="".concat(Pt,"-").concat(Ge(m));return h._hashId=S,[h,S]},function(h){_t(h[0]._tokenKey,n)});return v}function R(e){return e.notSplit=!0,e}R(["borderTop","borderBottom"]),R(["borderTop"]),R(["borderBottom"]),R(["borderLeft","borderRight"]),R(["borderLeft"]),R(["borderRight"]);function p(e,t){Xt(e)&&(e="100%");var r=Nt(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function U(e){return Math.min(1,Math.max(0,e))}function Xt(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Nt(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Qe(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function V(e){return e<=1?"".concat(Number(e)*100,"%"):e}function I(e){return e.length===1?"0"+e:String(e)}function $t(e,t,r){return{r:p(e,255)*255,g:p(t,255)*255,b:p(r,255)*255}}function Re(e,t,r){e=p(e,255),t=p(t,255),r=p(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),i=0,a=0,c=(o+n)/2;if(o===n)a=0,i=0;else{var l=o-n;switch(a=c>.5?l/(2-o-n):l/(o+n),o){case e:i=(t-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:c}}function ie(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Gt(e,t,r){var o,n,i;if(e=p(e,360),t=p(t,100),r=p(r,100),t===0)n=r,i=r,o=r;else{var a=r<.5?r*(1+t):r+t-r*t,c=2*r-a;o=ie(c,a,e+1/3),n=ie(c,a,e),i=ie(c,a,e-1/3)}return{r:o*255,g:n*255,b:i*255}}function be(e,t,r){e=p(e,255),t=p(t,255),r=p(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),i=0,a=o,c=o-n,l=o===0?0:c/o;if(o===n)i=0;else{switch(o){case e:i=(t-r)/c+(t<r?6:0);break;case t:i=(r-e)/c+2;break;case r:i=(e-t)/c+4;break}i/=6}return{h:i,s:l,v:a}}function Ut(e,t,r){e=p(e,360)*6,t=p(t,100),r=p(r,100);var o=Math.floor(e),n=e-o,i=r*(1-t),a=r*(1-n*t),c=r*(1-(1-n)*t),l=o%6,s=[r,a,i,i,c,r][l],g=[c,r,r,a,i,i][l],f=[i,i,c,r,r,a][l];return{r:s*255,g:g*255,b:f*255}}function pe(e,t,r,o){var n=[I(Math.round(e).toString(16)),I(Math.round(t).toString(16)),I(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function Vt(e,t,r,o,n){var i=[I(Math.round(e).toString(16)),I(Math.round(t).toString(16)),I(Math.round(r).toString(16)),I(qt(o))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function qt(e){return Math.round(parseFloat(e)*255).toString(16)}function ze(e){return y(e)/255}function y(e){return parseInt(e,16)}function Qt(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var ve={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function j(e){var t={r:0,g:0,b:0},r=1,o=null,n=null,i=null,a=!1,c=!1;return typeof e=="string"&&(e=Zt(e)),typeof e=="object"&&(B(e.r)&&B(e.g)&&B(e.b)?(t=$t(e.r,e.g,e.b),a=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(o=V(e.s),n=V(e.v),t=Ut(e.h,o,n),a=!0,c="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(o=V(e.s),i=V(e.l),t=Gt(e.h,o,i),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Qe(r),{ok:a,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Kt="[-\\+]?\\d+%?",Jt="[-\\+]?\\d*\\.\\d+%?",O="(?:".concat(Jt,")|(?:").concat(Kt,")"),ae="[\\s|\\(]+(".concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")\\s*\\)?"),ce="[\\s|\\(]+(".concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")\\s*\\)?"),C={CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+ae),rgba:new RegExp("rgba"+ce),hsl:new RegExp("hsl"+ae),hsla:new RegExp("hsla"+ce),hsv:new RegExp("hsv"+ae),hsva:new RegExp("hsva"+ce),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Zt(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(ve[e])e=ve[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=C.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=C.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=C.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=C.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=C.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=C.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=C.hex8.exec(e),r?{r:y(r[1]),g:y(r[2]),b:y(r[3]),a:ze(r[4]),format:t?"name":"hex8"}:(r=C.hex6.exec(e),r?{r:y(r[1]),g:y(r[2]),b:y(r[3]),format:t?"name":"hex"}:(r=C.hex4.exec(e),r?{r:y(r[1]+r[1]),g:y(r[2]+r[2]),b:y(r[3]+r[3]),a:ze(r[4]+r[4]),format:t?"name":"hex8"}:(r=C.hex3.exec(e),r?{r:y(r[1]+r[1]),g:y(r[2]+r[2]),b:y(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function B(e){return!!C.CSS_UNIT.exec(String(e))}var T=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=Qt(t)),this.originalInput=t;var n=j(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=r.format)!==null&&o!==void 0?o:n.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,o,n,i=t.r/255,a=t.g/255,c=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),c<=.03928?n=c/12.92:n=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*o+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Qe(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=be(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=be(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),n=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsva(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Re(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Re(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),n=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsla(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),pe(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Vt(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(o,")"):"rgba(".concat(t,", ").concat(r,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(p(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(p(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+pe(this.r,this.g,this.b,!1),r=0,o=Object.entries(ve);r<o.length;r++){var n=o[r],i=n[0],a=n[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var o=!1,n=this.a<1&&this.a>=0,i=!r&&n&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=U(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=U(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=U(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=U(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var o=this.toRgb(),n=new e(t).toRgb(),i=r/100,a={r:(n.r-o.r)*i+o.r,g:(n.g-o.g)*i+o.g,b:(n.b-o.b)*i+o.b,a:(n.a-o.a)*i+o.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var o=this.toHsl(),n=360/r,i=[this];for(o.h=(o.h-(n*t>>1)+720)%360;--t;)o.h=(o.h+n)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),o=r.h,n=r.s,i=r.v,a=[],c=1/t;t--;)a.push(new e({h:o,s:n,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),n=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,n=[this],i=360/t,a=1;a<t;a++)n.push(new e({h:(o+a*i)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),q=2,je=.16,Yt=.05,er=.05,tr=.15,Ke=5,Je=4,rr=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Pe(e){var t=e.r,r=e.g,o=e.b,n=be(t,r,o);return{h:n.h*360,s:n.s,v:n.v}}function Q(e){var t=e.r,r=e.g,o=e.b;return"#".concat(pe(t,r,o,!1))}function or(e,t,r){var o=r/100,n={r:(t.r-e.r)*o+e.r,g:(t.g-e.g)*o+e.g,b:(t.b-e.b)*o+e.b};return n}function Fe(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-q*t:Math.round(e.h)+q*t:o=r?Math.round(e.h)+q*t:Math.round(e.h)-q*t,o<0?o+=360:o>=360&&(o-=360),o}function Le(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-je*t:t===Je?o=e.s+je:o=e.s+Yt*t,o>1&&(o=1),r&&t===Ke&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function De(e,t,r){var o;return r?o=e.v+er*t:o=e.v-tr*t,o>1&&(o=1),Number(o.toFixed(2))}function F(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=j(e),n=Ke;n>0;n-=1){var i=Pe(o),a=Q(j({h:Fe(i,n,!0),s:Le(i,n,!0),v:De(i,n,!0)}));r.push(a)}r.push(Q(o));for(var c=1;c<=Je;c+=1){var l=Pe(o),s=Q(j({h:Fe(l,c),s:Le(l,c),v:De(l,c)}));r.push(s)}return t.theme==="dark"?rr.map(function(g){var f=g.index,d=g.opacity,b=Q(or(j(t.backgroundColor||"#141414"),j(r[f]),d*100));return b}):r}var le={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"},se={},fe={};Object.keys(le).forEach(function(e){se[e]=F(le[e]),se[e].primary=se[e][5],fe[e]=F(le[e],{theme:"dark",backgroundColor:"#141414"}),fe[e].primary=fe[e][5]});const nr=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},Ze=nr;function ir(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const ke={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},X=Object.assign(Object.assign({},ke),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
4
4
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
5
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function
|
|
5
|
+
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function Ye(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=t;const{colorSuccess:n,colorWarning:i,colorError:a,colorInfo:c,colorPrimary:l,colorBgBase:s,colorTextBase:g}=e,f=r(l),d=r(n),b=r(i),v=r(a),h=r(c),m=o(s,g),S=e.colorLink||e.colorInfo,k=r(S);return Object.assign(Object.assign({},m),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:v[1],colorErrorBgHover:v[2],colorErrorBorder:v[3],colorErrorBorderHover:v[4],colorErrorHover:v[5],colorError:v[6],colorErrorActive:v[7],colorErrorTextHover:v[8],colorErrorText:v[9],colorErrorTextActive:v[10],colorWarningBg:b[1],colorWarningBgHover:b[2],colorWarningBorder:b[3],colorWarningBorderHover:b[4],colorWarningHover:b[4],colorWarning:b[6],colorWarningActive:b[7],colorWarningTextHover:b[8],colorWarningText:b[9],colorWarningTextActive:b[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new T("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const ar=e=>{let t=e,r=e,o=e,n=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:n}},cr=ar;function lr(e){const{motionUnit:t,motionBase:r,borderRadius:o,lineWidth:n}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:n+1},cr(o))}const A=(e,t)=>new T(e).setAlpha(t).toRgbString(),D=(e,t)=>new T(e).darken(t).toHexString(),sr=e=>{const t=F(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},fr=(e,t)=>{const r=e||"#fff",o=t||"#000";return{colorBgBase:r,colorTextBase:o,colorText:A(o,.88),colorTextSecondary:A(o,.65),colorTextTertiary:A(o,.45),colorTextQuaternary:A(o,.25),colorFill:A(o,.15),colorFillSecondary:A(o,.06),colorFillTertiary:A(o,.04),colorFillQuaternary:A(o,.02),colorBgLayout:D(r,4),colorBgContainer:D(r,0),colorBgElevated:D(r,0),colorBgSpotlight:A(o,.85),colorBgBlur:"transparent",colorBorder:D(r,15),colorBorderSecondary:D(r,6)}};function ur(e){const t=new Array(10).fill(null).map((r,o)=>{const n=o-1,i=e*Math.pow(2.71828,n/5),a=o>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(r=>{const o=r+8;return{size:r,lineHeight:o/r}})}const dr=e=>{const t=ur(e),r=t.map(n=>n.size),o=t.map(n=>n.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}},et=dr;function N(e){const t=Object.keys(ke).map(r=>{const o=F(e[r]);return new Array(10).fill(1).reduce((n,i,a)=>(n[`${r}-${a+1}`]=o[a],n[`${r}${a+1}`]=o[a],n),{})}).reduce((r,o)=>(r=Object.assign(Object.assign({},r),o),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Ye(e,{generateColorPalettes:sr,generateNeutralColorPalettes:fr})),et(e.fontSize)),ir(e)),Ze(e)),lr(e))}const gr=ge(N),ye={token:X,override:{override:X},hashed:!0},hr=Y.createContext(ye),br="5.11.0";function ue(e){return e>=0&&e<=255}function K(e,t){const{r,g:o,b:n,a:i}=new T(e).toRgb();if(i<1)return e;const{r:a,g:c,b:l}=new T(t).toRgb();for(let s=.01;s<=1;s+=.01){const g=Math.round((r-a*(1-s))/s),f=Math.round((o-c*(1-s))/s),d=Math.round((n-l*(1-s))/s);if(ue(g)&&ue(f)&&ue(d))return new T({r:g,g:f,b:d,a:Math.round(s*100)/100}).toRgbString()}return new T({r,g:o,b:n,a:1}).toRgbString()}var pr=globalThis&&globalThis.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};function Ce(e){const{override:t}=e,r=pr(e,["override"]),o=Object.assign({},t);Object.keys(X).forEach(d=>{delete o[d]});const n=Object.assign(Object.assign({},r),o),i=480,a=576,c=768,l=992,s=1200,g=1600;if(n.motion===!1){const d="0s";n.motionDurationFast=d,n.motionDurationMid=d,n.motionDurationSlow=d}return Object.assign(Object.assign(Object.assign({},n),{colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:K(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:K(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:K(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*4,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:K(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
|
|
6
6
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
7
7
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
8
8
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
@@ -14,10 +14,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14
14
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
15
15
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
16
16
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
17
|
-
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:
|
|
18
|
-
0 1px 2px -2px ${new
|
|
19
|
-
0 3px 6px 0 ${new
|
|
20
|
-
0 5px 12px 4px ${new
|
|
17
|
+
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:g-1,screenXXL:g,screenXXLMin:g,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
18
|
+
0 1px 2px -2px ${new T("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
19
|
+
0 3px 6px 0 ${new T("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
20
|
+
0 5px 12px 4px ${new T("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
21
21
|
`,boxShadowDrawerRight:`
|
|
22
22
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
23
23
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
@@ -34,4 +34,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
34
34
|
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
35
35
|
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
36
36
|
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
37
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}var
|
|
37
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}var _e=globalThis&&globalThis.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};const tt=(e,t,r)=>{const o=r.getDerivativeToken(e),{override:n}=t,i=_e(t,["override"]);let a=Object.assign(Object.assign({},o),{override:n});return a=Ce(a),i&&Object.entries(i).forEach(c=>{let[l,s]=c;const{theme:g}=s,f=_e(s,["theme"]);let d=f;g&&(d=tt(Object.assign(Object.assign({},a),f),{override:f},g)),a[l]=d}),a};function vr(){const{token:e,hashed:t,theme:r,override:o}=Y.useContext(hr),n=`${br}-${t||""}`,i=r||gr,[a,c]=Wt(i,[X,e],{salt:n,override:o,getComputedToken:tt,formatToken:Ce});return[i,a,t?c:""]}const yr=e=>{const t=e!=null&&e.algorithm?ge(e.algorithm):ge(N),r=Object.assign(Object.assign({},X),e==null?void 0:e.token);return qe(r,{override:e==null?void 0:e.token},t,Ce)},mr=yr;function Sr(e){const{sizeUnit:t,sizeStep:r}=e,o=r-2;return{sizeXXL:t*(o+10),sizeXL:t*(o+6),sizeLG:t*(o+2),sizeMD:t*(o+2),sizeMS:t*(o+1),size:t*o,sizeSM:t*o,sizeXS:t*(o-1),sizeXXS:t*(o-1)}}const xr=(e,t)=>{const r=t??N(e),o=r.fontSizeSM,n=r.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r),Sr(t??e)),et(o)),{controlHeight:n}),Ze(Object.assign(Object.assign({},r),{controlHeight:n})))},Tr=xr,E=(e,t)=>new T(e).setAlpha(t).toRgbString(),z=(e,t)=>new T(e).lighten(t).toHexString(),kr=e=>{const t=F(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Cr=(e,t)=>{const r=e||"#000",o=t||"#fff";return{colorBgBase:r,colorTextBase:o,colorText:E(o,.85),colorTextSecondary:E(o,.65),colorTextTertiary:E(o,.45),colorTextQuaternary:E(o,.25),colorFill:E(o,.18),colorFillSecondary:E(o,.12),colorFillTertiary:E(o,.08),colorFillQuaternary:E(o,.04),colorBgElevated:z(r,12),colorBgContainer:z(r,8),colorBgLayout:z(r,0),colorBgSpotlight:z(r,26),colorBgBlur:E(o,.04),colorBorder:z(r,26),colorBorderSecondary:z(r,19)}},Mr=(e,t)=>{const r=Object.keys(ke).map(n=>{const i=F(e[n],{theme:"dark"});return new Array(10).fill(1).reduce((a,c,l)=>(a[`${n}-${l+1}`]=i[l],a[`${n}${l+1}`]=i[l],a),{})}).reduce((n,i)=>(n=Object.assign(Object.assign({},n),i),n),{}),o=t??N(e);return Object.assign(Object.assign(Object.assign({},o),r),Ye(e,{generateColorPalettes:kr,generateNeutralColorPalettes:Cr}))},wr=Mr;function Br(){const[e,t,r]=vr();return{theme:e,token:t,hashId:r}}const me={defaultConfig:ye,defaultSeed:ye.token,useToken:Br,defaultAlgorithm:N,darkAlgorithm:wr,compactAlgorithm:Tr,getDesignToken:mr},Ar={50:"#ffffff",75:"#fbfcfd",100:"#f5f5f5",150:"#f1f3f9",200:"#e5e5e5",250:"#d6e1e3",300:"#d4d4d4",350:"#c8daec",375:"#bfbfbf",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},Er={50:"#677084",100:"#5c6880",150:"#58669a",200:"#515c7c",300:"#465178",350:"#43464f",375:"#3f4b5c",400:"#3d4561",450:"#333b57",475:"#2b344c",500:"#293245",550:"#262e47",600:"#232b3b",700:"#1d2331",800:"#171d27",900:"#11171e",950:"#0c111a"},Or={100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#788195",600:"#525252",700:"#404040",800:"#262626",900:"#3b404c",925:"#36373b",950:"#171717"},Hr={50:"#fffaf5",100:"#fcf3eb",200:"#fce0cf",300:"#fac7b1",400:"#f58d7a",500:"#ef4444",600:"#d93636",700:"#b32525",800:"#8f1818",900:"#6b0e0e",950:"#450606"},Ir={50:"#fafcf2",100:"#f5fae6",200:"#e5f5c1",300:"#d2ed9d",400:"#a9e05c",500:"#7ed321",600:"#6abf1b",700:"#529e13",800:"#3d800d",900:"#275e07",950:"#163d03"},Rr={50:"#fbf7fc",100:"#f5eff8",200:"#ebdef0",300:"#dbc4e3",400:"#c7a1d1",500:"#ad7abb",600:"#915c9d",700:"#72467b",800:"#633e6a",900:"#543659",950:"#341b37"},zr={50:"#eef5ff",100:"#d9e8ff",200:"#bcd8ff",300:"#8ec0ff",400:"#599cff",500:"#4482ff",600:"#1b55f5",750:"#1890ff",700:"#1440e1",800:"#1734b6",900:"#19318f",950:"#142057"},jr={50:"#fffcf2",100:"#fff8e6",200:"#ffebbf",300:"#fcd997",400:"#fcb44e",500:"#f98003",600:"#e06e02",700:"#ba5202",800:"#963d02",900:"#702900",950:"#471700"},Pr={50:"#fcf2f7",100:"#fae6ef",200:"#f5c4d7",300:"#eda1b9",400:"#de5f77",500:"#d2282e",600:"#bd2025",700:"#9c161a",800:"#7d0e11",900:"#5e080a",950:"#3d0405"},x=16,u={akinon:Pr,azure:zr,orange:jr,red:Hr,green:Ir,purple:Rr,gray:Or,ebonyClay:Er,neutral:Ar},rt={algorithm:me.darkAlgorithm,colors:u,token:{colorTextBase:u.neutral[100],colorText:u.neutral[100],colorTextSecondary:u.gray[500],colorTextPlaceholder:u.gray[500],colorPrimary:u.azure[500],colorError:u.red[500],colorBgLayout:u.ebonyClay[500],colorBgContainer:u.ebonyClay[600],colorBgElevated:u.ebonyClay[400],controlItemBgHover:u.ebonyClay[200],controlItemBgActive:u.ebonyClay[300],controlItemBgActiveHover:u.ebonyClay[300],colorBgSpotlight:u.ebonyClay[600],colorBorder:u.ebonyClay[700],fontFamily:"'Jost Variable',"+me.getDesignToken().fontFamily,fontSize:x*.875},components:{Layout:{headerBg:u.ebonyClay[500],siderBg:u.ebonyClay[500]},Dropdown:{colorPrimary:u.neutral[100],controlPaddingHorizontal:x},Menu:{darkItemBg:u.ebonyClay[500],darkSubMenuItemBg:u.ebonyClay[600],darkItemSelectedBg:u.ebonyClay[700],itemBorderRadius:0,itemMarginBlock:0,itemMarginInline:0,darkItemColor:u.gray[500],itemHeight:x*3.25},Breadcrumb:{fontSize:x*.625,lastItemColor:u.azure[500]},Card:{colorBgContainer:u.ebonyClay[450],colorTextDescription:u.neutral[100],headerFontSize:x*1.25,fontSize:x*.875},Collapse:{headerPadding:"0 0 12px",contentPadding:"0 0 24px !important",fontSizeIcon:x*1.65,fontSize:x},Form:{itemMarginBottom:16,labelColor:u.neutral[100],verticalLabelPadding:4},Select:{colorTextDisabled:u.ebonyClay[350],colorBgContainerDisabled:u.gray[925],colorBgContainer:u.ebonyClay[475],fontSizeLG:x*.875,colorBorder:u.ebonyClay[550],lineWidth:2},Input:{colorBgContainer:u.ebonyClay[475],fontSizeLG:x*.875,colorBorder:u.ebonyClay[550],lineWidth:2},InputNumber:{colorBgContainer:u.ebonyClay[475],fontSizeLG:x*.875,colorBorder:u.ebonyClay[550],lineWidth:2}}},Fr=me.useToken,Lr=()=>{const{colors:e}=rt,t="--color",r={};for(const[o,n]of Object.entries(e))for(const[i,a]of Object.entries(n)){const c=`${t}-${o}-${i}`;r[c]=a}return r};exports.fontSize=x;exports.getCssVariables=Lr;exports.theme=rt;exports.useToken=Fr;
|