@ant-design/cssinjs
Advanced tools
Comparing version 1.18.2 to 1.18.4
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.antdCssinjs=t(require("React")):e.antdCssinjs=t(e.React)}(self,(function(e){return function(){var t={302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var r=t;for(;r;){if(r===e)return!0;r=r.parentNode}return!1}},138:function(e,t,r){"use strict";var n=r(740).default;t.jL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);if(r){var n=f(t);n.removeChild(r)}},t.hq=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=f(r);m(n,r);var o=h(t,r);if(o){var i,a,c;if(null!==(i=r.csp)&&void 0!==i&&i.nonce&&o.nonce!==(null===(a=r.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=r.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var u=v(e,r);return u.setAttribute(s(r),t),u};var o=n(r(302)),i=n(r(753)),a="data-rc-order",c="data-rc-priority",u="rc-util-key",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):u}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((l.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,u=void 0===i?0:i,l=d(n),s="prependQueue"===l,v=document.createElement("style");v.setAttribute(a,l),s&&u&&v.setAttribute(c,"".concat(u)),null!=r&&r.nonce&&(v.nonce=null==r?void 0:r.nonce),v.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(s){var y=p(h).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return u>=t}));if(y.length)return h.insertBefore(v,y[y.length-1].nextSibling),v}h.insertBefore(v,m)}else h.appendChild(v);return v}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return p(r).find((function(r){return r.getAttribute(s(t))===e}))}function m(e,t){var r=l.get(e);if(!r||!(0,i.default)(document,r)){var n=v("",t),o=n.parentNode;l.set(e,o),e.removeChild(n)}}},35:function(e,t,r){"use strict";var n=r(740).default,o=r(543).default;t.ZP=void 0;var i=o(r(24)),a=(0,n(r(302)).default)()?i.useLayoutEffect:i.useEffect,c=function(e,t){var r=i.useRef(!0);a((function(){return e(r.current)}),t),a((function(){return r.current=!1,function(){r.current=!0}}),[])};t.ZP=c},793:function(e,t,r){"use strict";var n=r(543).default;t.Z=function(e,t,r){var n=o.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var o=n(r(24))},872:function(e,t,r){"use strict";var n=r(740).default;t.Z=void 0;var o=n(r(191)),i=n(r(311));t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new Set;function a(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=n.has(e);if((0,i.default)(!u,"Warning: There may be circular references"),u)return!1;if(e===t)return!0;if(r&&c>1)return!1;n.add(e);var l=c+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;s++)if(!a(e[s],t[s],l))return!1;return!0}if(e&&t&&"object"===(0,o.default)(e)&&"object"===(0,o.default)(t)){var f=Object.keys(e);return f.length===Object.keys(t).length&&f.every((function(r){return a(e[r],t[r],l)}))}return!1}return a(e,t)}},311:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=u,t.default=void 0,t.note=a,t.noteOnce=s,t.preMessage=void 0,t.resetWarned=c,t.warning=i,t.warningOnce=l;var r={},n=[],o=t.preMessage=function(e){n.push(e)};function i(e,t){}function a(e,t){}function c(){r={}}function u(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){u(i,e,t)}function s(e,t){u(a,e,t)}l.preMessage=o,l.resetWarned=c,l.noteOnce=s;t.default=l},24:function(t){"use strict";t.exports=e},740:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},543:function(e,t,r){var n=r(191).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=a?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(i,c,u):i[c]=e[c]}return i.default=e,r&&r.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},191:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},317:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},180:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},786:function(e,t,r){var n=r(317);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},486:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},702:function(e,t,r){var n=r(281);function o(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,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},143:function(e,t,r){var n=r(281);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},55:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},682:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},249:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},114:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},118:function(e,t,r){var n=r(143);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},5:function(e,t,r){var n=r(166);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},166:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},925:function(e,t,r){var n=r(180),o=r(249),i=r(508),a=r(20);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},44:function(e,t,r){var n=r(786),o=r(682),i=r(508),a=r(114);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},224:function(e,t,r){var n=r(944).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},281:function(e,t,r){var n=r(944).default,o=r(224);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},944:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},508:function(e,t,r){var n=r(317);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Keyframes:function(){return Lt},NaNLinter:function(){return ft},StyleProvider:function(){return E},Theme:function(){return B},_experimental:function(){return zt},createCache:function(){return w},createTheme:function(){return N},extractStyle:function(){return Tt},getComputedToken:function(){return ve},legacyLogicalPropertiesTransformer:function(){return Wt},legacyNotSelectorLinter:function(){return lt},logicalPropertiesLinter:function(){return st},parentSelectorLinter:function(){return dt},px2remTransformer:function(){return Zt},token2CSSVar:function(){return te},unit:function(){return J},useCSSVarRegister:function(){return Et},useCacheToken:function(){return me},useStyleRegister:function(){return jt}});var e=n(925),t=n.n(e),r=n(143),i=n.n(r),a=n(44),c=n.n(a),u=n(118),l=n.n(u);var s=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f=n(138),d=n(24),p=n(5),v=n.n(p),h=n(793),m=n(872),y=n(486),g=n.n(y),b=n(702),x=n.n(b),S=function(){function e(t){g()(this,e),i()(this,"instanceId",void 0),i()(this,"cache",new Map),this.instanceId=t}return x()(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),_=["children"],k="data-token-hash",C="data-css-hash",j="__cssinjs_instance__";function w(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(C,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[j]=t[j]||e,t[j]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(C,"]"))).forEach((function(t){var r,o=t.getAttribute(C);n[o]?t[j]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new S(e)}var O=d.createContext({hashPriority:"low",cache:w(),defaultCache:!0}),E=function(e){var t=e.children,r=v()(e,_),n=d.useContext(O),o=(0,h.Z)((function(){var e=l()({},n);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||w(),e.defaultCache=!t&&n.defaultCache,e}),[n,r],(function(e,t){return!(0,m.Z)(e[0],t[0],!0)||!(0,m.Z)(e[1],t[1],!0)}));return d.createElement(O.Provider,{value:o},t)},M=O,A=n(944),T=n.n(A),R=n(302);var L=function(){function e(){g()(this,e),i()(this,"cache",void 0),i()(this,"keys",void 0),i()(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return x()(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(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&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,r){var n=t()(e,2)[1];return o.internalGet(r)[1]<n?[r,o.internalGet(r)[1]]:e}),[this.keys[0],this.cacheCallTimes]),a=t()(i,1)[0];this.delete(a)}this.keys.push(r)}var c=this.cache;r.forEach((function(e,t){if(t===r.length-1)c.set(e,{value:[n,o.cacheCallTimes++]});else{var i=c.get(e);i?i.map||(i.map=new Map):c.set(e,{map:new Map}),c=c.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var r,n=e.get(t[0]);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];var o=this.deleteByPath(n.map,t.slice(1));return n.map&&0!==n.map.size||n.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();i()(L,"MAX_CACHE_SIZE",20),i()(L,"MAX_CACHE_OFFSET",5);var P=n(311),I=0,B=function(){function e(t){g()(this,e),i()(this,"derivatives",void 0),i()(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=I,0===t.length&&(0,P.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),I+=1}return x()(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}(),W=new L;function N(e){var t=Array.isArray(e)?e:[e];return W.has(t)||W.set(t,new B(t)),W.get(t)}var q=new WeakMap,Z={};function z(e,t){for(var r=q,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Z)||r.set(Z,e()),r.get(Z)}var D=new WeakMap;function F(e){var t=D.get(e)||"";return t||(Object.keys(e).forEach((function(r){var n=e[r];t+=r,n instanceof B?t+=n.id:n&&"object"===T()(n)?t+=F(n):t+=n})),D.set(e,t)),t}function G(e,t){return s("".concat(t,"_").concat(F(e)))}var H="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function $(e,t,r){if((0,R.default)()){var n,o;(0,f.hq)(e,H);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(K);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,f.jL)(H),a}return!1}var Q=void 0;function U(){return void 0===Q&&(Q=$("@layer ".concat(H," { .").concat(H,' { content: "').concat(K,'"!important; } }'),(function(e){e.className=H}))),Q}var V=void 0;var Y=void 0;var X=(0,R.default)();function J(e){return"number"==typeof e?"".concat(e,"px"):e}function ee(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return e;var c=l()(l()({},o),{},(n={},i()(n,k,t),i()(n,C,r),n)),u=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(u,">").concat(e,"</style>")}var te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},re=function(e,r,n){return Object.keys(e).length?".".concat(r).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var r=t()(e,2),n=r[0],o=r[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},ne=function(e,r,n){var o={},i={};return Object.entries(e).forEach((function(e){var r,a,c=t()(e,2),u=c[0],l=c[1];if(null!=n&&null!==(r=n.preserve)&&void 0!==r&&r[u])i[u]=l;else if(!("string"!=typeof l&&"number"!=typeof l||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[u])){var s,f=te(u,null==n?void 0:n.prefix);o[f]="number"!=typeof l||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[u]?String(l):"".concat(l,"px"),i[u]="var(".concat(f,")")}})),[i,re(o,r,{scope:null==n?void 0:n.scope})]},oe=n(35),ie=l()({},d).useInsertionEffect,ae=ie?function(e,t,r){return ie((function(){return e(),t()}),r)}:function(e,t,r){d.useMemo(e,r),(0,oe.ZP)((function(){return t(!0)}),r)},ce=void 0!==l()({},d).useInsertionEffect?function(e){var t=[],r=!1;return d.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}};var ue=function(){return!1};function le(e,r,n,o,i){var a=d.useContext(M).cache,u=[e].concat(c()(r)),l=u.join("_"),s=ce([l]),f=(ue(),function(e){a.update(u,(function(r){var o=r||[void 0,void 0],i=t()(o,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});d.useMemo((function(){f()}),[l]);var p=a.get(u)[1];return ae((function(){null==i||i(p)}),(function(e){return f((function(r){var n=t()(r,2),o=n[0],a=n[1];return e&&0===o&&(null==i||i(p)),[o+1,a]})),function(){a.update(u,(function(r){var n=r||[],i=t()(n,2),c=i[0],l=void 0===c?0:c,f=i[1];return 0===l-1?(s((function(){!e&&a.get(u)||null==o||o(f,!1)})),null):[l-1,f]}))}}),[l]),p}var se={},fe=new Map;function de(e){fe.set(e,(fe.get(e)||0)+1)}function pe(e,t){fe.set(e,(fe.get(e)||0)-1);var r=Array.from(fe.keys()),n=r.filter((function(e){return(fe.get(e)||0)<=0}));r.length-n.length>0&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(k,'="').concat(e,'"]')).forEach((function(e){var r;e[j]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),fe.delete(e)}))}var ve=function(e,t,r,n){var o=r.getDerivativeToken(e),i=l()(l()({},o),t);return n&&(i=n(i)),i},he="token";function me(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,d.useContext)(M),i=o.cache.instanceId,a=o.container,u=n.salt,p=void 0===u?"":u,v=n.override,h=void 0===v?se:v,m=n.formatToken,y=n.getComputedToken,g=n.cssVar,b=z((function(){return Object.assign.apply(Object,[{}].concat(c()(r)))}),r),x=F(b),S=F(h),_=g?F(g):"",w=le(he,[p,e.id,x,S,_],(function(){var r,n=y?y(b,h,e):ve(b,h,e,m),o=l()({},n),i="";if(g){var a=ne(n,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),c=t()(a,2);n=c[0],i=c[1]}var u=G(n,p);n._tokenKey=u,o._tokenKey=G(o,p);var f=null!==(r=null==g?void 0:g.key)&&void 0!==r?r:u;n._themeKey=f,de(f);var d="".concat("css","-").concat(s(u));return n._hashId=d,[n,d,o,i,(null==g?void 0:g.key)||""]}),(function(e){pe(e[0]._themeKey,i)}),(function(e){var r=t()(e,4),n=r[0],o=r[3];if(g&&o){var c=(0,f.hq)(o,s("css-variables-".concat(n._themeKey)),{mark:C,prepend:"queue",attachTo:a,priority:-999});c[j]=i,c.setAttribute(k,n._themeKey)}}));return w}var ye=n(55),ge=n.n(ye),be={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},xe="comm",Se="rule",_e="decl",ke=Math.abs,Ce=String.fromCharCode;Object.assign;function je(e){return e.trim()}function we(e,t,r){return e.replace(t,r)}function Oe(e,t){return e.indexOf(t)}function Ee(e,t){return 0|e.charCodeAt(t)}function Me(e,t,r){return e.slice(t,r)}function Ae(e){return e.length}function Te(e,t){return t.push(e),e}function Re(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Le(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _e:return e.return=e.return||e.value;case xe:return"";case"@keyframes":return e.return=e.value+"{"+Re(e.children,n)+"}";case Se:if(!Ae(e.value=e.props.join(",")))return""}return Ae(r=Re(e.children,n))?e.return=e.value+"{"+r+"}":""}var Pe=1,Ie=1,Be=0,We=0,Ne=0,qe="";function Ze(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Pe,column:Ie,length:a,return:"",siblings:c}}function ze(){return Ne=We>0?Ee(qe,--We):0,Ie--,10===Ne&&(Ie=1,Pe--),Ne}function De(){return Ne=We<Be?Ee(qe,We++):0,Ie++,10===Ne&&(Ie=1,Pe++),Ne}function Fe(){return Ee(qe,We)}function Ge(){return We}function He(e,t){return Me(qe,e,t)}function Ke(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 $e(e){return Pe=Ie=1,Be=Ae(qe=e),We=0,[]}function Qe(e){return qe="",e}function Ue(e){return je(He(We-1,Xe(91===e?e+2:40===e?e+1:e)))}function Ve(e){for(;(Ne=Fe())&&Ne<33;)De();return Ke(e)>2||Ke(Ne)>3?"":" "}function Ye(e,t){for(;--t&&De()&&!(Ne<48||Ne>102||Ne>57&&Ne<65||Ne>70&&Ne<97););return He(e,Ge()+(t<6&&32==Fe()&&32==De()))}function Xe(e){for(;De();)switch(Ne){case e:return We;case 34:case 39:34!==e&&39!==e&&Xe(Ne);break;case 40:41===e&&Xe(e);break;case 92:De()}return We}function Je(e,t){for(;De()&&e+Ne!==57&&(e+Ne!==84||47!==Fe()););return"/*"+He(t,We-1)+"*"+Ce(47===e?e:De())}function et(e){for(;!Ke(Fe());)De();return He(e,We)}function tt(e){return Qe(rt("",null,null,null,[""],e=$e(e),0,[0],e))}function rt(e,t,r,n,o,i,a,c,u){for(var l=0,s=0,f=a,d=0,p=0,v=0,h=1,m=1,y=1,g=0,b="",x=o,S=i,_=n,k=b;m;)switch(v=g,g=De()){case 40:if(108!=v&&58==Ee(k,f-1)){-1!=Oe(k+=we(Ue(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=Ue(g);break;case 9:case 10:case 13:case 32:k+=Ve(v);break;case 92:k+=Ye(Ge()-1,7);continue;case 47:switch(Fe()){case 42:case 47:Te(ot(Je(De(),Ge()),t,r,u),u);break;default:k+="/"}break;case 123*h:c[l++]=Ae(k)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:m=0;case 59+s:-1==y&&(k=we(k,/\f/g,"")),p>0&&Ae(k)-f&&Te(p>32?it(k+";",n,r,f-1,u):it(we(k," ","")+";",n,r,f-2,u),u);break;case 59:k+=";";default:if(Te(_=nt(k,t,r,l,s,o,c,b,x=[],S=[],f,i),i),123===g)if(0===s)rt(k,t,_,_,x,i,f,c,S);else switch(99===d&&110===Ee(k,3)?100:d){case 100:case 108:case 109:case 115:rt(e,_,_,n&&Te(nt(e,_,_,0,0,o,c,b,o,x=[],f,S),S),o,S,f,c,n?x:S);break;default:rt(k,_,_,_,[""],S,0,c,S)}}l=s=p=0,h=y=1,b=k="",f=a;break;case 58:f=1+Ae(k),p=v;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ze())continue;switch(k+=Ce(g),g*h){case 38:y=s>0?1:(k+="\f",-1);break;case 44:c[l++]=(Ae(k)-1)*y,y=1;break;case 64:45===Fe()&&(k+=Ue(De())),d=Fe(),s=f=Ae(b=k+=et(Ge())),g++;break;case 45:45===v&&2==Ae(k)&&(h=0)}}return i}function nt(e,t,r,n,o,i,a,c,u,l,s,f){for(var d=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),h=0,m=0,y=0;h<n;++h)for(var g=0,b=Me(e,d+1,d=ke(m=a[h])),x=e;g<v;++g)(x=je(m>0?p[g]+" "+b:we(b,/&\f/g,p[g])))&&(u[y++]=x);return Ze(e,t,r,0===o?Se:c,u,l,s,f)}function ot(e,t,r,n){return Ze(e,t,r,xe,Ce(Ne),Me(e,2,-2),0,n)}function it(e,t,r,n,o){return Ze(e,t,r,_e,Me(e,0,n),Me(e,n+1,-1),n,o)}function at(e,t){var r=t.path,n=t.parentSelectors;(0,P.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}function ct(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}var ut,lt=function(e,t,r){var n=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),o=n.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(ct)&&at("Concat ':not' selector not support in legacy browsers.",r)},st=function(e,t,r){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."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var n=t.split(" ").map((function(e){return e.trim()}));4===n.length&&n[1]!==n[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."),r)}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."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[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."),r);return}},ft=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&at("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)},dt=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&at("Should not use more than one `&` in a selector.",r)},pt="data-ant-cssinjs-cache-path",vt="_FILE_STYLE__";var ht=!0;function mt(e){return function(){if(!ut&&(ut={},(0,R.default)())){var e=document.createElement("div");e.className=pt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var r=getComputedStyle(e).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var r=e.split(":"),n=t()(r,2),o=n[0],i=n[1];ut[o]=i}));var n,o=document.querySelector("style[".concat(pt,"]"));o&&(ht=!1,null===(n=o.parentNode)||void 0===n||n.removeChild(o)),document.body.removeChild(e)}}(),!!ut[e]}var yt="_multi_value_";function gt(e){return Re(tt(e),Le).replace(/\{%%%\:[^;];}/g,";")}function bt(e){return"object"===T()(e)&&e&&("_skip_check_"in e||yt in e)}function xt(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat(c()(r.slice(1))).join(" ")})).join(",")}var St=function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,u=o.parentSelectors,s=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,h=(n.linters,""),m={};function y(r){var o=r.getName(s);if(!m[o]){var i=e(r.style,n,{root:!1,parentSelectors:u}),a=t()(i,1)[0];m[o]="@keyframes ".concat(r.getName(s)).concat(a)}}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?g(e,t):e&&t.push(e)})),t}var b=g(Array.isArray(r)?r:[r]);if(b.forEach((function(r){var o="string"!=typeof r||i?r:{};if("string"==typeof o)h+="".concat(o,"\n");else if(o._keyframe)y(o);else{var f=v.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),o);Object.keys(f).forEach((function(r){var o=f[r];if("object"!==T()(o)||!o||"animationName"===r&&o._keyframe||bt(o)){var p;function j(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;be[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(y(t),n=t.getName(s)),h+="".concat(r,":").concat(n,";")}var v=null!==(p=null==o?void 0:o.value)&&void 0!==p?p:o;"object"===T()(o)&&null!=o&&o[yt]&&Array.isArray(v)?v.forEach((function(e){j(r,e)})):j(r,v)}else{var g=!1,b=r.trim(),x=!1;(i||a)&&s?b.startsWith("@")?g=!0:b=xt(r,s,d):!i||s||"&"!==b&&""!==b||(b="",x=!0);var S=e(o,n,{root:x,injectHash:g,parentSelectors:[].concat(c()(u),[b])}),_=t()(S,2),k=_[0],C=_[1];m=l()(l()({},m),C),h+="".concat(b).concat(k)}}))}})),i){if(f&&U()){var x=f.split(","),S=x[x.length-1].trim();h="@layer ".concat(S," {").concat(h,"}"),x.length>1&&(h="@layer ".concat(f,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,m]};function _t(e,t){return s("".concat(e.join("%")).concat(t))}function kt(){return null}var Ct="style";function jt(e,r){var n=e.token,o=e.path,a=e.hashId,u=e.layer,l=e.nonce,s=e.clientOnly,p=e.order,v=void 0===p?0:p,h=d.useContext(M),m=h.autoClear,y=(h.mock,h.defaultCache),g=h.hashPriority,b=h.container,x=h.ssrInline,S=h.transformers,_=h.linters,w=h.cache,O=n._tokenKey,E=[O].concat(c()(o)),A=X;var T=le(Ct,E,(function(){var e=E.join("|");if(mt(e)){var n=function(e){var t=ut[e],r=null;if(t&&(0,R.default)())if(ht)r=vt;else{var n=document.querySelector("style[".concat(C,'="').concat(ut[e],'"]'));n?r=n.innerHTML:delete ut[e]}return[r,t]}(e),i=t()(n,2),c=i[0],l=i[1];if(c)return[c,O,l,{},s,v]}var f=r(),d=St(f,{hashId:a,hashPriority:g,layer:u,path:o.join("-"),transformers:S,linters:_}),p=t()(d,2),h=p[0],m=p[1],y=gt(h),b=_t(E,y);return[y,O,b,m,s,v]}),(function(e,r){var n=t()(e,3)[2];(r||m)&&X&&(0,f.jL)(n,{mark:C})}),(function(e){var r=t()(e,4),n=r[0],o=(r[1],r[2]),i=r[3];if(A&&n!==vt){var a={mark:C,prepend:"queue",attachTo:b,priority:v},c="function"==typeof l?l():l;c&&(a.csp={nonce:c});var u=(0,f.hq)(n,o,a);u[j]=w.instanceId,u.setAttribute(k,O),Object.keys(i).forEach((function(e){(0,f.hq)(gt(i[e]),"_effect-".concat(e),a)}))}})),L=t()(T,3),P=L[0],I=L[1],B=L[2];return function(e){var t,r;x&&!A&&y?t=d.createElement("style",ge()({},(r={},i()(r,k,I),i()(r,C,B),r),{dangerouslySetInnerHTML:{__html:P}})):t=d.createElement(kt,null);return d.createElement(d.Fragment,null,t,e)}}var wt,Ot="cssVar",Et=function(e,r){var n=e.key,o=e.prefix,i=e.unitless,a=e.ignore,u=e.token,l=e.scope,s=void 0===l?"":l,p=(0,d.useContext)(M),v=p.cache.instanceId,h=p.container,m=u._tokenKey,y=[].concat(c()(e.path),[n,s,m]);return le(Ot,y,(function(){var e=r(),c=ne(e,n,{prefix:o,unitless:i,ignore:a,scope:s}),u=t()(c,2),l=u[0],f=u[1];return[l,f,_t(y,f),n]}),(function(e){var r=t()(e,3)[2];X&&(0,f.jL)(r,{mark:C})}),(function(e){var r=t()(e,3),o=r[1],i=r[2];if(o){var a=(0,f.hq)(o,i,{mark:C,prepend:"queue",attachTo:h,priority:-999});a[j]=v,a.setAttribute(k,n)}}))},Mt=(wt={},i()(wt,Ct,(function(e,r,n){var o=t()(e,6),i=o[0],a=o[1],c=o[2],u=o[3],l=o[4],s=o[5],f=(n||{}).plain;if(l)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=ee(i,a,c,p,f),u&&Object.keys(u).forEach((function(e){if(!r[e]){r[e]=!0;var t=gt(u[e]);d+=ee(t,a,"_effect-".concat(e),p,f)}})),[s,c,d]})),i()(wt,he,(function(e,r,n){var o=t()(e,5),i=o[2],a=o[3],c=o[4],u=(n||{}).plain;if(!a)return null;var l=i._tokenKey;return[-999,l,ee(a,c,l,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),i()(wt,Ot,(function(e,r,n){var o=t()(e,4),i=o[1],a=o[2],c=o[3],u=(n||{}).plain;if(!i)return null;return[-999,a,ee(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),wt);function At(e){return null!==e}function Tt(e,r){var n="boolean"==typeof r?{plain:r}:r||{},o=n.plain,a=void 0!==o&&o,c=n.types,u=void 0===c?["style","token","cssVar"]:c,l=new RegExp("^(".concat(("string"==typeof u?[u]:u).join("|"),")%")),s=Array.from(e.cache.keys()).filter((function(e){return l.test(e)})),f={},d={},p="";return s.map((function(r){var n=r.replace(l,"").replace(/%/g,"|"),o=r.split("%"),i=t()(o,1)[0],c=(0,Mt[i])(e.cache.get(r)[1],f,{plain:a});if(!c)return null;var u=t()(c,3),s=u[0],p=u[1],v=u[2];return r.startsWith("style")&&(d[n]=p),[s,v]})).filter(At).sort((function(e,r){return t()(e,1)[0]-t()(r,1)[0]})).forEach((function(e){var r=t()(e,2)[1];p+=r})),p+=ee(".".concat(pt,'{content:"').concat(function(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}(d),'";}'),void 0,void 0,i()({},pt,pt),a),p}var Rt=function(){function e(t,r){g()(this,e),i()(this,"name",void 0),i()(this,"style",void 0),i()(this,"_keyframe",!0),this.name=t,this.style=r}return x()(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),Lt=Rt;function Pt(e){return e.notSplit=!0,e}var It={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:Pt(["borderTop","borderBottom"]),borderBlockStart:Pt(["borderTop"]),borderBlockEnd:Pt(["borderBottom"]),borderInline:Pt(["borderLeft","borderRight"]),borderInlineStart:Pt(["borderLeft"]),borderInlineEnd:Pt(["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){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}var Wt={visit:function(e){var r={};return Object.keys(e).forEach((function(n){var o=e[n],i=It[n];if(!i||"number"!=typeof o&&"string"!=typeof o)r[n]=o;else{var a=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o="",i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return 0===i?(e.push(o+t),o=""):i>0&&(o+=t),e}),[]),!!r]}(o),c=t()(a,2),u=c[0],l=c[1];i.length&&i.notSplit?i.forEach((function(e){r[e]=Bt(o,l)})):1===i.length?r[i[0]]=Bt(o,l):2===i.length?i.forEach((function(e,t){var n;r[e]=Bt(null!==(n=u[t])&&void 0!==n?n:u[0],l)})):4===i.length?i.forEach((function(e,t){var n,o;r[e]=Bt(null!==(n=null!==(o=u[t])&&void 0!==o?o:u[t-2])&&void 0!==n?n:u[0],l)})):r[n]=o}})),r}},Nt=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function qt(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}var Zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.rootValue,n=void 0===r?16:r,o=e.precision,i=void 0===o?5:o,a=e.mediaQuery,c=void 0!==a&&a,u=function(e,t){if(!t)return e;var r=parseFloat(t);if(r<=1)return e;var o=qt(r/n,i);return"".concat(o,"rem")},s=function(e){var r=l()({},e);return Object.entries(e).forEach((function(e){var n=t()(e,2),o=n[0],i=n[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(Nt,u);r[o]=a}be[o]||"number"!=typeof i||0===i||(r[o]="".concat(i,"px").replace(Nt,u));var l=o.trim();if(l.startsWith("@")&&l.includes("px")&&c){var s=o.replace(Nt,u);r[s]=r[o],delete r[o]}})),r};return{visit:s}},zt={supportModernCSS:function(){return void 0===V&&(V=$(":where(.".concat(H,') { content: "').concat(K,'"!important; }'),(function(e){e.className=H}))),V&&(void 0===Y&&(Y=$(".".concat(H," { inset-block: 93px !important; }"),(function(e){e.className=H}),(function(e){return"93px"===getComputedStyle(e).bottom}))),Y)}}}(),o}()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.antdCssinjs=t(require("React")):e.antdCssinjs=t(e.React)}(self,(function(e){return function(){var t={464:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},212:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var r=t;for(;r;){if(r===e)return!0;r=r.parentNode}return!1}},372:function(e,t,r){"use strict";var n=r(646).default;t.jL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);if(r){var n=f(t);n.removeChild(r)}},t.hq=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=f(r);y(n,r);var o=h(t,r);if(o){var i,a,c;if(null!==(i=r.csp)&&void 0!==i&&i.nonce&&o.nonce!==(null===(a=r.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=r.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var u=v(e,r);return u.setAttribute(s(r),t),u};var o=n(r(464)),i=n(r(212)),a="data-rc-order",c="data-rc-priority",u="rc-util-key",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):u}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((l.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,u=void 0===i?0:i,l=d(n),s="prependQueue"===l,v=document.createElement("style");v.setAttribute(a,l),s&&u&&v.setAttribute(c,"".concat(u)),null!=r&&r.nonce&&(v.nonce=null==r?void 0:r.nonce),v.innerHTML=e;var h=f(t),y=h.firstChild;if(n){if(s){var m=p(h).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return u>=t}));if(m.length)return h.insertBefore(v,m[m.length-1].nextSibling),v}h.insertBefore(v,y)}else h.appendChild(v);return v}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return p(r).find((function(r){return r.getAttribute(s(t))===e}))}function y(e,t){var r=l.get(e);if(!r||!(0,i.default)(document,r)){var n=v("",t),o=n.parentNode;l.set(e,o),e.removeChild(n)}}},151:function(e,t,r){"use strict";var n=r(646).default,o=r(540).default;t.ZP=void 0;var i=o(r(24)),a=(0,n(r(464)).default)()?i.useLayoutEffect:i.useEffect,c=function(e,t){var r=i.useRef(!0);a((function(){return e(r.current)}),t),a((function(){return r.current=!1,function(){r.current=!0}}),[])};t.ZP=c},295:function(e,t,r){"use strict";var n=r(540).default;t.Z=function(e,t,r){var n=o.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var o=n(r(24))},144:function(e,t,r){"use strict";var n=r(646).default;t.Z=void 0;var o=n(r(496)),i=n(r(804));t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new Set;function a(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=n.has(e);if((0,i.default)(!u,"Warning: There may be circular references"),u)return!1;if(e===t)return!0;if(r&&c>1)return!1;n.add(e);var l=c+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;s++)if(!a(e[s],t[s],l))return!1;return!0}if(e&&t&&"object"===(0,o.default)(e)&&"object"===(0,o.default)(t)){var f=Object.keys(e);return f.length===Object.keys(t).length&&f.every((function(r){return a(e[r],t[r],l)}))}return!1}return a(e,t)}},804:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=u,t.default=void 0,t.note=a,t.noteOnce=s,t.preMessage=void 0,t.resetWarned=c,t.warning=i,t.warningOnce=l;var r={},n=[],o=t.preMessage=function(e){n.push(e)};function i(e,t){}function a(e,t){}function c(){r={}}function u(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){u(i,e,t)}function s(e,t){u(a,e,t)}l.preMessage=o,l.resetWarned=c,l.noteOnce=s;t.default=l},24:function(t){"use strict";t.exports=e},701:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},64:function(e,t,r){var n=r(701);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},831:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},579:function(e,t,r){var n=r(215);function o(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,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},156:function(e,t,r){var n=r(215);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},409:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},982:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},149:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},822:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},503:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},396:function(e,t,r){var n=r(156);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},544:function(e,t,r){var n=r(2);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},2:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},960:function(e,t,r){var n=r(20),o=r(149),i=r(636),a=r(822);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},904:function(e,t,r){var n=r(64),o=r(982),i=r(636),a=r(503);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},90:function(e,t,r){var n=r(269).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},215:function(e,t,r){var n=r(269).default,o=r(90);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},269:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},636:function(e,t,r){var n=r(701);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},646:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},540:function(e,t,r){var n=r(496).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=a?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(i,c,u):i[c]=e[c]}return i.default=e,r&&r.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},496:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Keyframes:function(){return Pt},NaNLinter:function(){return dt},StyleProvider:function(){return M},Theme:function(){return W},_experimental:function(){return zt},createCache:function(){return O},createTheme:function(){return q},extractStyle:function(){return Rt},getComputedToken:function(){return he},legacyLogicalPropertiesTransformer:function(){return Nt},legacyNotSelectorLinter:function(){return st},logicalPropertiesLinter:function(){return ft},parentSelectorLinter:function(){return pt},px2remTransformer:function(){return Zt},token2CSSVar:function(){return re},unit:function(){return ee},useCSSVarRegister:function(){return Mt},useCacheToken:function(){return me},useStyleRegister:function(){return wt}});var e=n(960),t=n.n(e),r=n(156),i=n.n(r),a=n(904),c=n.n(a),u=n(396),l=n.n(u);var s=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f=n(372),d=n(24),p=n(544),v=n.n(p),h=n(295),y=n(144),m=n(831),g=n.n(m),b=n(579),x=n.n(b);function S(e){return e.join("%")}var _=function(){function e(t){g()(this,e),i()(this,"instanceId",void 0),i()(this,"cache",new Map),this.instanceId=t}return x()(e,[{key:"get",value:function(e){return this.opGet(S(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(S(e),t)}},{key:"opUpdate",value:function(e,t){var r=t(this.cache.get(e));null===r?this.cache.delete(e):this.cache.set(e,r)}}]),e}(),k=["children"],C="data-token-hash",j="data-css-hash",w="__cssinjs_instance__";function O(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(j,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[w]=t[w]||e,t[w]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(j,"]"))).forEach((function(t){var r,o=t.getAttribute(j);n[o]?t[w]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new _(e)}var E=d.createContext({hashPriority:"low",cache:O(),defaultCache:!0}),M=function(e){var t=e.children,r=v()(e,k),n=d.useContext(E),o=(0,h.Z)((function(){var e=l()({},n);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||O(),e.defaultCache=!t&&n.defaultCache,e}),[n,r],(function(e,t){return!(0,y.Z)(e[0],t[0],!0)||!(0,y.Z)(e[1],t[1],!0)}));return d.createElement(E.Provider,{value:o},t)},A=E,T=n(269),R=n.n(T),L=n(464);var P=function(){function e(){g()(this,e),i()(this,"cache",void 0),i()(this,"keys",void 0),i()(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return x()(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(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&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,r){var n=t()(e,2)[1];return o.internalGet(r)[1]<n?[r,o.internalGet(r)[1]]:e}),[this.keys[0],this.cacheCallTimes]),a=t()(i,1)[0];this.delete(a)}this.keys.push(r)}var c=this.cache;r.forEach((function(e,t){if(t===r.length-1)c.set(e,{value:[n,o.cacheCallTimes++]});else{var i=c.get(e);i?i.map||(i.map=new Map):c.set(e,{map:new Map}),c=c.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var r,n=e.get(t[0]);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];var o=this.deleteByPath(n.map,t.slice(1));return n.map&&0!==n.map.size||n.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();i()(P,"MAX_CACHE_SIZE",20),i()(P,"MAX_CACHE_OFFSET",5);var I=n(804),B=0,W=function(){function e(t){g()(this,e),i()(this,"derivatives",void 0),i()(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=B,0===t.length&&(0,I.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),B+=1}return x()(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}(),N=new P;function q(e){var t=Array.isArray(e)?e:[e];return N.has(t)||N.set(t,new W(t)),N.get(t)}var G=new WeakMap,Z={};function z(e,t){for(var r=G,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Z)||r.set(Z,e()),r.get(Z)}var D=new WeakMap;function F(e){var t=D.get(e)||"";return t||(Object.keys(e).forEach((function(r){var n=e[r];t+=r,n instanceof W?t+=n.id:n&&"object"===R()(n)?t+=F(n):t+=n})),D.set(e,t)),t}function H(e,t){return s("".concat(t,"_").concat(F(e)))}var K="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),U="_bAmBoO_";function $(e,t,r){if((0,L.default)()){var n,o;(0,f.hq)(e,K);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(U);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,f.jL)(K),a}return!1}var Q=void 0;function V(){return void 0===Q&&(Q=$("@layer ".concat(K," { .").concat(K,' { content: "').concat(U,'"!important; } }'),(function(e){e.className=K}))),Q}var Y=void 0;var X=void 0;var J=(0,L.default)();function ee(e){return"number"==typeof e?"".concat(e,"px"):e}function te(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return e;var c=l()(l()({},o),{},(n={},i()(n,C,t),i()(n,j,r),n)),u=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(u,">").concat(e,"</style>")}var re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},ne=function(e,r,n){return Object.keys(e).length?".".concat(r).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var r=t()(e,2),n=r[0],o=r[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},oe=function(e,r,n){var o={},i={};return Object.entries(e).forEach((function(e){var r,a,c=t()(e,2),u=c[0],l=c[1];if(null!=n&&null!==(r=n.preserve)&&void 0!==r&&r[u])i[u]=l;else if(!("string"!=typeof l&&"number"!=typeof l||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[u])){var s,f=re(u,null==n?void 0:n.prefix);o[f]="number"!=typeof l||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[u]?String(l):"".concat(l,"px"),i[u]="var(".concat(f,")")}})),[i,ne(o,r,{scope:null==n?void 0:n.scope})]},ie=n(151),ae=l()({},d).useInsertionEffect,ce=ae?function(e,t,r){return ae((function(){return e(),t()}),r)}:function(e,t,r){d.useMemo(e,r),(0,ie.ZP)((function(){return t(!0)}),r)},ue=void 0!==l()({},d).useInsertionEffect?function(e){var t=[],r=!1;return d.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}};var le=function(){return!1};function se(e,r,n,o,i){var a=d.useContext(A).cache,u=S([e].concat(c()(r))),l=ue([u]),s=(le(),function(e){a.opUpdate(u,(function(r){var o=r||[void 0,void 0],i=t()(o,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});d.useMemo((function(){s()}),[u]);var f=a.opGet(u)[1];return ce((function(){null==i||i(f)}),(function(e){return s((function(r){var n=t()(r,2),o=n[0],a=n[1];return e&&0===o&&(null==i||i(f)),[o+1,a]})),function(){a.opUpdate(u,(function(r){var n=r||[],i=t()(n,2),c=i[0],s=void 0===c?0:c,f=i[1];return 0===s-1?(l((function(){!e&&a.opGet(u)||null==o||o(f,!1)})),null):[s-1,f]}))}}),[u]),f}var fe={},de=new Map;function pe(e){de.set(e,(de.get(e)||0)+1)}function ve(e,t){de.set(e,(de.get(e)||0)-1);var r=Array.from(de.keys()),n=r.filter((function(e){return(de.get(e)||0)<=0}));r.length-n.length>0&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(C,'="').concat(e,'"]')).forEach((function(e){var r;e[w]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),de.delete(e)}))}var he=function(e,t,r,n){var o=r.getDerivativeToken(e),i=l()(l()({},o),t);return n&&(i=n(i)),i},ye="token";function me(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,d.useContext)(A),i=o.cache.instanceId,a=o.container,u=n.salt,p=void 0===u?"":u,v=n.override,h=void 0===v?fe:v,y=n.formatToken,m=n.getComputedToken,g=n.cssVar,b=z((function(){return Object.assign.apply(Object,[{}].concat(c()(r)))}),r),x=F(b),S=F(h),_=g?F(g):"",k=se(ye,[p,e.id,x,S,_],(function(){var r,n=m?m(b,h,e):he(b,h,e,y),o=l()({},n),i="";if(g){var a=oe(n,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),c=t()(a,2);n=c[0],i=c[1]}var u=H(n,p);n._tokenKey=u,o._tokenKey=H(o,p);var f=null!==(r=null==g?void 0:g.key)&&void 0!==r?r:u;n._themeKey=f,pe(f);var d="".concat("css","-").concat(s(u));return n._hashId=d,[n,d,o,i,(null==g?void 0:g.key)||""]}),(function(e){ve(e[0]._themeKey,i)}),(function(e){var r=t()(e,4),n=r[0],o=r[3];if(g&&o){var c=(0,f.hq)(o,s("css-variables-".concat(n._themeKey)),{mark:j,prepend:"queue",attachTo:a,priority:-999});c[w]=i,c.setAttribute(C,n._themeKey)}}));return k}var ge=n(409),be=n.n(ge),xe={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},Se="comm",_e="rule",ke="decl",Ce=Math.abs,je=String.fromCharCode;Object.assign;function we(e){return e.trim()}function Oe(e,t,r){return e.replace(t,r)}function Ee(e,t){return e.indexOf(t)}function Me(e,t){return 0|e.charCodeAt(t)}function Ae(e,t,r){return e.slice(t,r)}function Te(e){return e.length}function Re(e,t){return t.push(e),e}function Le(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Pe(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ke:return e.return=e.return||e.value;case Se:return"";case"@keyframes":return e.return=e.value+"{"+Le(e.children,n)+"}";case _e:if(!Te(e.value=e.props.join(",")))return""}return Te(r=Le(e.children,n))?e.return=e.value+"{"+r+"}":""}var Ie=1,Be=1,We=0,Ne=0,qe=0,Ge="";function Ze(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ie,column:Be,length:a,return:"",siblings:c}}function ze(){return qe=Ne>0?Me(Ge,--Ne):0,Be--,10===qe&&(Be=1,Ie--),qe}function De(){return qe=Ne<We?Me(Ge,Ne++):0,Be++,10===qe&&(Be=1,Ie++),qe}function Fe(){return Me(Ge,Ne)}function He(){return Ne}function Ke(e,t){return Ae(Ge,e,t)}function Ue(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 $e(e){return Ie=Be=1,We=Te(Ge=e),Ne=0,[]}function Qe(e){return Ge="",e}function Ve(e){return we(Ke(Ne-1,Je(91===e?e+2:40===e?e+1:e)))}function Ye(e){for(;(qe=Fe())&&qe<33;)De();return Ue(e)>2||Ue(qe)>3?"":" "}function Xe(e,t){for(;--t&&De()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return Ke(e,He()+(t<6&&32==Fe()&&32==De()))}function Je(e){for(;De();)switch(qe){case e:return Ne;case 34:case 39:34!==e&&39!==e&&Je(qe);break;case 40:41===e&&Je(e);break;case 92:De()}return Ne}function et(e,t){for(;De()&&e+qe!==57&&(e+qe!==84||47!==Fe()););return"/*"+Ke(t,Ne-1)+"*"+je(47===e?e:De())}function tt(e){for(;!Ue(Fe());)De();return Ke(e,Ne)}function rt(e){return Qe(nt("",null,null,null,[""],e=$e(e),0,[0],e))}function nt(e,t,r,n,o,i,a,c,u){for(var l=0,s=0,f=a,d=0,p=0,v=0,h=1,y=1,m=1,g=0,b="",x=o,S=i,_=n,k=b;y;)switch(v=g,g=De()){case 40:if(108!=v&&58==Me(k,f-1)){-1!=Ee(k+=Oe(Ve(g),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:k+=Ve(g);break;case 9:case 10:case 13:case 32:k+=Ye(v);break;case 92:k+=Xe(He()-1,7);continue;case 47:switch(Fe()){case 42:case 47:Re(it(et(De(),He()),t,r,u),u);break;default:k+="/"}break;case 123*h:c[l++]=Te(k)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+s:-1==m&&(k=Oe(k,/\f/g,"")),p>0&&Te(k)-f&&Re(p>32?at(k+";",n,r,f-1,u):at(Oe(k," ","")+";",n,r,f-2,u),u);break;case 59:k+=";";default:if(Re(_=ot(k,t,r,l,s,o,c,b,x=[],S=[],f,i),i),123===g)if(0===s)nt(k,t,_,_,x,i,f,c,S);else switch(99===d&&110===Me(k,3)?100:d){case 100:case 108:case 109:case 115:nt(e,_,_,n&&Re(ot(e,_,_,0,0,o,c,b,o,x=[],f,S),S),o,S,f,c,n?x:S);break;default:nt(k,_,_,_,[""],S,0,c,S)}}l=s=p=0,h=m=1,b=k="",f=a;break;case 58:f=1+Te(k),p=v;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ze())continue;switch(k+=je(g),g*h){case 38:m=s>0?1:(k+="\f",-1);break;case 44:c[l++]=(Te(k)-1)*m,m=1;break;case 64:45===Fe()&&(k+=Ve(De())),d=Fe(),s=f=Te(b=k+=tt(He())),g++;break;case 45:45===v&&2==Te(k)&&(h=0)}}return i}function ot(e,t,r,n,o,i,a,c,u,l,s,f){for(var d=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),h=0,y=0,m=0;h<n;++h)for(var g=0,b=Ae(e,d+1,d=Ce(y=a[h])),x=e;g<v;++g)(x=we(y>0?p[g]+" "+b:Oe(b,/&\f/g,p[g])))&&(u[m++]=x);return Ze(e,t,r,0===o?_e:c,u,l,s,f)}function it(e,t,r,n){return Ze(e,t,r,Se,je(qe),Ae(e,2,-2),0,n)}function at(e,t,r,n,o){return Ze(e,t,r,ke,Ae(e,0,n),Ae(e,n+1,-1),n,o)}function ct(e,t){var r=t.path,n=t.parentSelectors;(0,I.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}function ut(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}var lt,st=function(e,t,r){var n=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),o=n.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(ut)&&ct("Concat ':not' selector not support in legacy browsers.",r)},ft=function(e,t,r){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 ct("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."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var n=t.split(" ").map((function(e){return e.trim()}));4===n.length&&n[1]!==n[3]&&ct("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."),r)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||ct("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."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[3]||e))}),!1)&&ct("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."),r);return}},dt=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&ct("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)},pt=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&ct("Should not use more than one `&` in a selector.",r)},vt="data-ant-cssinjs-cache-path",ht="_FILE_STYLE__";var yt=!0;function mt(e){return function(){if(!lt&&(lt={},(0,L.default)())){var e=document.createElement("div");e.className=vt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var r=getComputedStyle(e).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var r=e.split(":"),n=t()(r,2),o=n[0],i=n[1];lt[o]=i}));var n,o=document.querySelector("style[".concat(vt,"]"));o&&(yt=!1,null===(n=o.parentNode)||void 0===n||n.removeChild(o)),document.body.removeChild(e)}}(),!!lt[e]}var gt="_multi_value_";function bt(e){return Le(rt(e),Pe).replace(/\{%%%\:[^;];}/g,";")}function xt(e){return"object"===R()(e)&&e&&("_skip_check_"in e||gt in e)}function St(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat(c()(r.slice(1))).join(" ")})).join(",")}var _t=function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,u=o.parentSelectors,s=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,h=(n.linters,""),y={};function m(r){var o=r.getName(s);if(!y[o]){var i=e(r.style,n,{root:!1,parentSelectors:u}),a=t()(i,1)[0];y[o]="@keyframes ".concat(r.getName(s)).concat(a)}}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?g(e,t):e&&t.push(e)})),t}var b=g(Array.isArray(r)?r:[r]);if(b.forEach((function(r){var o="string"!=typeof r||i?r:{};if("string"==typeof o)h+="".concat(o,"\n");else if(o._keyframe)m(o);else{var f=v.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),o);Object.keys(f).forEach((function(r){var o=f[r];if("object"!==R()(o)||!o||"animationName"===r&&o._keyframe||xt(o)){var p;function j(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;xe[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),n=t.getName(s)),h+="".concat(r,":").concat(n,";")}var v=null!==(p=null==o?void 0:o.value)&&void 0!==p?p:o;"object"===R()(o)&&null!=o&&o[gt]&&Array.isArray(v)?v.forEach((function(e){j(r,e)})):j(r,v)}else{var g=!1,b=r.trim(),x=!1;(i||a)&&s?b.startsWith("@")?g=!0:b=St(r,s,d):!i||s||"&"!==b&&""!==b||(b="",x=!0);var S=e(o,n,{root:x,injectHash:g,parentSelectors:[].concat(c()(u),[b])}),_=t()(S,2),k=_[0],C=_[1];y=l()(l()({},y),C),h+="".concat(b).concat(k)}}))}})),i){if(f&&V()){var x=f.split(","),S=x[x.length-1].trim();h="@layer ".concat(S," {").concat(h,"}"),x.length>1&&(h="@layer ".concat(f,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,y]};function kt(e,t){return s("".concat(e.join("%")).concat(t))}function Ct(){return null}var jt="style";function wt(e,r){var n=e.token,o=e.path,a=e.hashId,u=e.layer,l=e.nonce,s=e.clientOnly,p=e.order,v=void 0===p?0:p,h=d.useContext(A),y=h.autoClear,m=(h.mock,h.defaultCache),g=h.hashPriority,b=h.container,x=h.ssrInline,S=h.transformers,_=h.linters,k=h.cache,O=n._tokenKey,E=[O].concat(c()(o)),M=J;var T=se(jt,E,(function(){var e=E.join("|");if(mt(e)){var n=function(e){var t=lt[e],r=null;if(t&&(0,L.default)())if(yt)r=ht;else{var n=document.querySelector("style[".concat(j,'="').concat(lt[e],'"]'));n?r=n.innerHTML:delete lt[e]}return[r,t]}(e),i=t()(n,2),c=i[0],l=i[1];if(c)return[c,O,l,{},s,v]}var f=r(),d=_t(f,{hashId:a,hashPriority:g,layer:u,path:o.join("-"),transformers:S,linters:_}),p=t()(d,2),h=p[0],y=p[1],m=bt(h),b=kt(E,m);return[m,O,b,y,s,v]}),(function(e,r){var n=t()(e,3)[2];(r||y)&&J&&(0,f.jL)(n,{mark:j})}),(function(e){var r=t()(e,4),n=r[0],o=(r[1],r[2]),i=r[3];if(M&&n!==ht){var a={mark:j,prepend:"queue",attachTo:b,priority:v},c="function"==typeof l?l():l;c&&(a.csp={nonce:c});var u=(0,f.hq)(n,o,a);u[w]=k.instanceId,u.setAttribute(C,O),Object.keys(i).forEach((function(e){(0,f.hq)(bt(i[e]),"_effect-".concat(e),a)}))}})),R=t()(T,3),P=R[0],I=R[1],B=R[2];return function(e){var t,r;x&&!M&&m?t=d.createElement("style",be()({},(r={},i()(r,C,I),i()(r,j,B),r),{dangerouslySetInnerHTML:{__html:P}})):t=d.createElement(Ct,null);return d.createElement(d.Fragment,null,t,e)}}var Ot,Et="cssVar",Mt=function(e,r){var n=e.key,o=e.prefix,i=e.unitless,a=e.ignore,u=e.token,l=e.scope,s=void 0===l?"":l,p=(0,d.useContext)(A),v=p.cache.instanceId,h=p.container,y=u._tokenKey,m=[].concat(c()(e.path),[n,s,y]);return se(Et,m,(function(){var e=r(),c=oe(e,n,{prefix:o,unitless:i,ignore:a,scope:s}),u=t()(c,2),l=u[0],f=u[1];return[l,f,kt(m,f),n]}),(function(e){var r=t()(e,3)[2];J&&(0,f.jL)(r,{mark:j})}),(function(e){var r=t()(e,3),o=r[1],i=r[2];if(o){var a=(0,f.hq)(o,i,{mark:j,prepend:"queue",attachTo:h,priority:-999});a[w]=v,a.setAttribute(C,n)}}))},At=(Ot={},i()(Ot,jt,(function(e,r,n){var o=t()(e,6),i=o[0],a=o[1],c=o[2],u=o[3],l=o[4],s=o[5],f=(n||{}).plain;if(l)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=te(i,a,c,p,f),u&&Object.keys(u).forEach((function(e){if(!r[e]){r[e]=!0;var t=bt(u[e]);d+=te(t,a,"_effect-".concat(e),p,f)}})),[s,c,d]})),i()(Ot,ye,(function(e,r,n){var o=t()(e,5),i=o[2],a=o[3],c=o[4],u=(n||{}).plain;if(!a)return null;var l=i._tokenKey;return[-999,l,te(a,c,l,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),i()(Ot,Et,(function(e,r,n){var o=t()(e,4),i=o[1],a=o[2],c=o[3],u=(n||{}).plain;if(!i)return null;return[-999,a,te(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),Ot);function Tt(e){return null!==e}function Rt(e,r){var n="boolean"==typeof r?{plain:r}:r||{},o=n.plain,a=void 0!==o&&o,c=n.types,u=void 0===c?["style","token","cssVar"]:c,l=new RegExp("^(".concat(("string"==typeof u?[u]:u).join("|"),")%")),s=Array.from(e.cache.keys()).filter((function(e){return l.test(e)})),f={},d={},p="";return s.map((function(r){var n=r.replace(l,"").replace(/%/g,"|"),o=r.split("%"),i=t()(o,1)[0],c=(0,At[i])(e.cache.get(r)[1],f,{plain:a});if(!c)return null;var u=t()(c,3),s=u[0],p=u[1],v=u[2];return r.startsWith("style")&&(d[n]=p),[s,v]})).filter(Tt).sort((function(e,r){return t()(e,1)[0]-t()(r,1)[0]})).forEach((function(e){var r=t()(e,2)[1];p+=r})),p+=te(".".concat(vt,'{content:"').concat(function(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}(d),'";}'),void 0,void 0,i()({},vt,vt),a),p}var Lt=function(){function e(t,r){g()(this,e),i()(this,"name",void 0),i()(this,"style",void 0),i()(this,"_keyframe",!0),this.name=t,this.style=r}return x()(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),Pt=Lt;function It(e){return e.notSplit=!0,e}var Bt={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:It(["borderTop","borderBottom"]),borderBlockStart:It(["borderTop"]),borderBlockEnd:It(["borderBottom"]),borderInline:It(["borderLeft","borderRight"]),borderInlineStart:It(["borderLeft"]),borderInlineEnd:It(["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 Wt(e,t){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}var Nt={visit:function(e){var r={};return Object.keys(e).forEach((function(n){var o=e[n],i=Bt[n];if(!i||"number"!=typeof o&&"string"!=typeof o)r[n]=o;else{var a=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o="",i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return 0===i?(e.push(o+t),o=""):i>0&&(o+=t),e}),[]),!!r]}(o),c=t()(a,2),u=c[0],l=c[1];i.length&&i.notSplit?i.forEach((function(e){r[e]=Wt(o,l)})):1===i.length?r[i[0]]=Wt(o,l):2===i.length?i.forEach((function(e,t){var n;r[e]=Wt(null!==(n=u[t])&&void 0!==n?n:u[0],l)})):4===i.length?i.forEach((function(e,t){var n,o;r[e]=Wt(null!==(n=null!==(o=u[t])&&void 0!==o?o:u[t-2])&&void 0!==n?n:u[0],l)})):r[n]=o}})),r}},qt=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Gt(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}var Zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.rootValue,n=void 0===r?16:r,o=e.precision,i=void 0===o?5:o,a=e.mediaQuery,c=void 0!==a&&a,u=function(e,t){if(!t)return e;var r=parseFloat(t);if(r<=1)return e;var o=Gt(r/n,i);return"".concat(o,"rem")},s=function(e){var r=l()({},e);return Object.entries(e).forEach((function(e){var n=t()(e,2),o=n[0],i=n[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(qt,u);r[o]=a}xe[o]||"number"!=typeof i||0===i||(r[o]="".concat(i,"px").replace(qt,u));var l=o.trim();if(l.startsWith("@")&&l.includes("px")&&c){var s=o.replace(qt,u);r[s]=r[o],delete r[o]}})),r};return{visit:s}},zt={supportModernCSS:function(){return void 0===Y&&(Y=$(":where(.".concat(K,') { content: "').concat(U,'"!important; }'),(function(e){e.className=K}))),Y&&(void 0===X&&(X=$(".".concat(K," { inset-block: 93px !important; }"),(function(e){e.className=K}),(function(e){return"93px"===getComputedStyle(e).bottom}))),X)}}}(),o}()})); |
export type KeyType = string | number; | ||
type ValueType = [number, any]; | ||
/** Connect key with `SPLIT` */ | ||
export declare function pathKey(keys: KeyType[]): string; | ||
declare class Entity { | ||
@@ -9,4 +11,8 @@ instanceId: string; | ||
get(keys: KeyType[]): ValueType | null; | ||
/** A fast get cache with `get` concat. */ | ||
opGet(keyPathStr: string): ValueType | null; | ||
update(keys: KeyType[], valueFn: (origin: ValueType | null) => ValueType | null): void; | ||
/** A fast get cache with `get` concat. */ | ||
opUpdate(keyPathStr: string, valueFn: (origin: ValueType | null) => ValueType | null): void; | ||
} | ||
export default Entity; |
@@ -7,2 +7,7 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
var SPLIT = '%'; | ||
/** Connect key with `SPLIT` */ | ||
export function pathKey(keys) { | ||
return keys.join(SPLIT); | ||
} | ||
var Entity = /*#__PURE__*/function () { | ||
@@ -19,14 +24,27 @@ function Entity(instanceId) { | ||
value: function get(keys) { | ||
return this.cache.get(keys.join(SPLIT)) || null; | ||
return this.opGet(pathKey(keys)); | ||
} | ||
/** A fast get cache with `get` concat. */ | ||
}, { | ||
key: "opGet", | ||
value: function opGet(keyPathStr) { | ||
return this.cache.get(keyPathStr) || null; | ||
} | ||
}, { | ||
key: "update", | ||
value: function update(keys, valueFn) { | ||
var path = keys.join(SPLIT); | ||
var prevValue = this.cache.get(path); | ||
return this.opUpdate(pathKey(keys), valueFn); | ||
} | ||
/** A fast get cache with `get` concat. */ | ||
}, { | ||
key: "opUpdate", | ||
value: function opUpdate(keyPathStr, valueFn) { | ||
var prevValue = this.cache.get(keyPathStr); | ||
var nextValue = valueFn(prevValue); | ||
if (nextValue === null) { | ||
this.cache.delete(path); | ||
this.cache.delete(keyPathStr); | ||
} else { | ||
this.cache.set(path, nextValue); | ||
this.cache.set(keyPathStr, nextValue); | ||
} | ||
@@ -33,0 +51,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { KeyType } from '../Cache'; | ||
import { type KeyType } from '../Cache'; | ||
export type ExtractStyle<CacheValue> = (cache: CacheValue, effectStyles: Record<string, boolean>, options?: { | ||
@@ -3,0 +3,0 @@ plain?: boolean; |
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
import * as React from 'react'; | ||
import { pathKey } from "../Cache"; | ||
import StyleContext from "../StyleContext"; | ||
@@ -14,7 +15,7 @@ import useCompatibleInsertionEffect from "./useCompatibleInsertionEffect"; | ||
var fullPath = [prefix].concat(_toConsumableArray(keyPath)); | ||
var deps = fullPath.join('_'); | ||
var register = useEffectCleanupRegister([deps]); | ||
var fullPathStr = pathKey(fullPath); | ||
var register = useEffectCleanupRegister([fullPathStr]); | ||
var HMRUpdate = useHMR(); | ||
var buildCache = function buildCache(updater) { | ||
globalCache.update(fullPath, function (prevCache) { | ||
globalCache.opUpdate(fullPathStr, function (prevCache) { | ||
var _ref = prevCache || [undefined, undefined], | ||
@@ -44,6 +45,6 @@ _ref2 = _slicedToArray(_ref, 2), | ||
}, /* eslint-disable react-hooks/exhaustive-deps */ | ||
[deps] | ||
[fullPathStr] | ||
/* eslint-enable */); | ||
var cacheEntity = globalCache.get(fullPath); | ||
var cacheEntity = globalCache.opGet(fullPathStr); | ||
@@ -55,3 +56,3 @@ // HMR clean the cache but not trigger `useMemo` again | ||
buildCache(); | ||
cacheEntity = globalCache.get(fullPath); | ||
cacheEntity = globalCache.opGet(fullPathStr); | ||
} | ||
@@ -77,3 +78,3 @@ var cacheContent = cacheEntity[1]; | ||
return function () { | ||
globalCache.update(fullPath, function (prevCache) { | ||
globalCache.opUpdate(fullPathStr, function (prevCache) { | ||
var _ref5 = prevCache || [], | ||
@@ -91,3 +92,3 @@ _ref6 = _slicedToArray(_ref5, 2), | ||
// And by that time this cache is cleaned up. | ||
if (polyfill || !globalCache.get(fullPath)) { | ||
if (polyfill || !globalCache.opGet(fullPathStr)) { | ||
onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(cache, false); | ||
@@ -101,4 +102,4 @@ } | ||
}; | ||
}, [deps]); | ||
}, [fullPathStr]); | ||
return cacheContent; | ||
} |
export type KeyType = string | number; | ||
type ValueType = [number, any]; | ||
/** Connect key with `SPLIT` */ | ||
export declare function pathKey(keys: KeyType[]): string; | ||
declare class Entity { | ||
@@ -9,4 +11,8 @@ instanceId: string; | ||
get(keys: KeyType[]): ValueType | null; | ||
/** A fast get cache with `get` concat. */ | ||
opGet(keyPathStr: string): ValueType | null; | ||
update(keys: KeyType[], valueFn: (origin: ValueType | null) => ValueType | null): void; | ||
/** A fast get cache with `get` concat. */ | ||
opUpdate(keyPathStr: string, valueFn: (origin: ValueType | null) => ValueType | null): void; | ||
} | ||
export default Entity; |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports.default = void 0; | ||
exports.pathKey = pathKey; | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
@@ -15,2 +16,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
var SPLIT = '%'; | ||
/** Connect key with `SPLIT` */ | ||
function pathKey(keys) { | ||
return keys.join(SPLIT); | ||
} | ||
var Entity = /*#__PURE__*/function () { | ||
@@ -27,14 +33,27 @@ function Entity(instanceId) { | ||
value: function get(keys) { | ||
return this.cache.get(keys.join(SPLIT)) || null; | ||
return this.opGet(pathKey(keys)); | ||
} | ||
/** A fast get cache with `get` concat. */ | ||
}, { | ||
key: "opGet", | ||
value: function opGet(keyPathStr) { | ||
return this.cache.get(keyPathStr) || null; | ||
} | ||
}, { | ||
key: "update", | ||
value: function update(keys, valueFn) { | ||
var path = keys.join(SPLIT); | ||
var prevValue = this.cache.get(path); | ||
return this.opUpdate(pathKey(keys), valueFn); | ||
} | ||
/** A fast get cache with `get` concat. */ | ||
}, { | ||
key: "opUpdate", | ||
value: function opUpdate(keyPathStr, valueFn) { | ||
var prevValue = this.cache.get(keyPathStr); | ||
var nextValue = valueFn(prevValue); | ||
if (nextValue === null) { | ||
this.cache.delete(path); | ||
this.cache.delete(keyPathStr); | ||
} else { | ||
this.cache.set(path, nextValue); | ||
this.cache.set(keyPathStr, nextValue); | ||
} | ||
@@ -41,0 +60,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { KeyType } from '../Cache'; | ||
import { type KeyType } from '../Cache'; | ||
export type ExtractStyle<CacheValue> = (cache: CacheValue, effectStyles: Record<string, boolean>, options?: { | ||
@@ -3,0 +3,0 @@ plain?: boolean; |
@@ -12,2 +12,3 @@ "use strict"; | ||
var React = _interopRequireWildcard(require("react")); | ||
var _Cache = require("../Cache"); | ||
var _StyleContext = _interopRequireDefault(require("../StyleContext")); | ||
@@ -25,7 +26,7 @@ var _useCompatibleInsertionEffect = _interopRequireDefault(require("./useCompatibleInsertionEffect")); | ||
var fullPath = [prefix].concat((0, _toConsumableArray2.default)(keyPath)); | ||
var deps = fullPath.join('_'); | ||
var register = (0, _useEffectCleanupRegister.default)([deps]); | ||
var fullPathStr = (0, _Cache.pathKey)(fullPath); | ||
var register = (0, _useEffectCleanupRegister.default)([fullPathStr]); | ||
var HMRUpdate = (0, _useHMR.default)(); | ||
var buildCache = function buildCache(updater) { | ||
globalCache.update(fullPath, function (prevCache) { | ||
globalCache.opUpdate(fullPathStr, function (prevCache) { | ||
var _ref = prevCache || [undefined, undefined], | ||
@@ -55,6 +56,6 @@ _ref2 = (0, _slicedToArray2.default)(_ref, 2), | ||
}, /* eslint-disable react-hooks/exhaustive-deps */ | ||
[deps] | ||
[fullPathStr] | ||
/* eslint-enable */); | ||
var cacheEntity = globalCache.get(fullPath); | ||
var cacheEntity = globalCache.opGet(fullPathStr); | ||
@@ -66,3 +67,3 @@ // HMR clean the cache but not trigger `useMemo` again | ||
buildCache(); | ||
cacheEntity = globalCache.get(fullPath); | ||
cacheEntity = globalCache.opGet(fullPathStr); | ||
} | ||
@@ -88,3 +89,3 @@ var cacheContent = cacheEntity[1]; | ||
return function () { | ||
globalCache.update(fullPath, function (prevCache) { | ||
globalCache.opUpdate(fullPathStr, function (prevCache) { | ||
var _ref5 = prevCache || [], | ||
@@ -102,3 +103,3 @@ _ref6 = (0, _slicedToArray2.default)(_ref5, 2), | ||
// And by that time this cache is cleaned up. | ||
if (polyfill || !globalCache.get(fullPath)) { | ||
if (polyfill || !globalCache.opGet(fullPathStr)) { | ||
onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(cache, false); | ||
@@ -112,4 +113,4 @@ } | ||
}; | ||
}, [deps]); | ||
}, [fullPathStr]); | ||
return cacheContent; | ||
} |
{ | ||
"name": "@ant-design/cssinjs", | ||
"version": "1.18.2", | ||
"version": "1.18.4", | ||
"description": "Component level cssinjs resolution for antd", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254034
4857