@nocobase/plugin-theme-editor 1.4.0-alpha.9 → 1.5.0-alpha.1

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.
@@ -7,7 +7,7 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-i18next"),require("lodash"),require("@nocobase/client"),require("@ant-design/cssinjs"),require("@ant-design/icons"),require("@nocobase/utils"),require("antd"),require("@emotion/css")):"function"==typeof define&&define.amd?define("@nocobase/plugin-theme-editor",["react","react-i18next","lodash","@nocobase/client","@ant-design/cssinjs","@ant-design/icons","@nocobase/utils","antd","@emotion/css"],t):"object"==typeof exports?exports["@nocobase/plugin-theme-editor"]=t(require("react"),require("react-i18next"),require("lodash"),require("@nocobase/client"),require("@ant-design/cssinjs"),require("@ant-design/icons"),require("@nocobase/utils"),require("antd"),require("@emotion/css")):e["@nocobase/plugin-theme-editor"]=t(e.react,e["react-i18next"],e.lodash,e["@nocobase/client"],e["@ant-design/cssinjs"],e["@ant-design/icons"],e["@nocobase/utils"],e.antd,e["@emotion/css"])}(self,function(e,t,r,n,o,a,l,i,c){return function(){var s={175:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(823));t.default=o.default},498:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(361));t.default=o.default},823:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(249)),a=n(r(881));let l={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},a.default)};t.default=l},361:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(632)),a=n(r(892));let l={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},a.default)};l.lang.ok="确定",t.default=l},386:function(e,t,r){"use strict";var n=r(605);t.default=void 0;var o=n(r(815)),a=n(r(175)),l=n(r(823)),i=n(r(881));let c="${label} is not a valid ${type}",s={locale:"en",Pagination:o.default,DatePicker:l.default,TimePicker:i.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.default=s},90:function(e,t,r){"use strict";var n=r(605);t.default=void 0;var o=n(r(204)),a=n(r(498)),l=n(r(361)),i=n(r(892));let c="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:o.default,DatePicker:l.default,TimePicker:i.default,Calendar:a.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.default=s},881:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},905:function(e,t,r){"use strict";var n=r(665),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return n.isMemo(e)?l:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=f(r);o&&o!==p&&e(t,o,n)}var l=u(r);d&&(l=l.concat(d(r)));for(var i=c(t),g=c(r),h=0;h<l.length;++h){var y=l[h];if(!a[y]&&!(n&&n[y])&&!(g&&g[y])&&!(i&&i[y])){var b=m(r,y);try{s(t,y,b)}catch(e){}}}}return t}},815:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},204:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},249:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}},655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},849:function(e,t,r){"use strict";var n=r(561).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=o.useRef();return t.current=e,o.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(n))},[])};var o=n(r(156))},217:function(e,t,r){"use strict";var n=r(605).default,o=r(561).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useLayoutUpdateEffect=t.default=void 0;var a=o(r(156)),l=(0,n(r(655)).default)()?a.useLayoutEffect:a.useEffect,i=function(e,t){var r=a.useRef(!0);l(function(){return e(r.current)},t),l(function(){return r.current=!1,function(){r.current=!0}},[])};t.useLayoutUpdateEffect=function(e,t){i(function(t){if(!t)return e()},t)},t.default=i},75:function(e,t,r){"use strict";var n,o=r(605).default,a=o(r(254)),l=o(r(849)),i=r(217),c=o(r(620));function s(e){return void 0!==e}},620:function(e,t,r){"use strict";var n=r(561).default,o=r(605).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=l.useRef(!1),r=l.useState(e),n=(0,a.default)(r,2),o=n[0],i=n[1];return l.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[o,function(e,r){if(!r||!t.current)i(e)}]};var a=o(r(254)),l=n(r(156))},92:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,i=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,m=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case s:case m:case h:case g:case c:return e;default:return t}}case o:return t}}}function k(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=m,t.Fragment=a,t.Lazy=h,t.Memo=g,t.Portal=o,t.Profiler=i,t.StrictMode=l,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||S(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===s},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===m},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===i},t.isStrictMode=function(e){return S(e)===l},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===i||e===l||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===c||e.$$typeof===s||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===E||e.$$typeof===y)},t.typeOf=S},665:function(e,t,r){"use strict";e.exports=r(92)},801:function(e,t,r){"use strict";var n,o=r(156),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:l,ref:u,props:o,_owner:c.current}}},704:function(e,t,r){"use strict";r(801)},298:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(o=r?r.call(n,u,d,s):void 0)||void 0===o&&u!==d)return!1}return!0}},143:function(e){"use strict";e.exports=o},482:function(e){"use strict";e.exports=a},964:function(e){"use strict";e.exports=c},772:function(e){"use strict";e.exports=n},473:function(e){"use strict";e.exports=l},721:function(e){"use strict";e.exports=i},467:function(e){"use strict";e.exports=r},156:function(t){"use strict";t.exports=e},238:function(e){"use strict";e.exports=t},439:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},221:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},605:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},561:function(e,t,r){var n=r(265).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 a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&({}).hasOwnProperty.call(e,i)){var c=l?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(a,i,c):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},62: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,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},460:function(e){e.exports=function(){throw 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},254:function(e,t,r){var n=r(221),o=r(62),a=r(48),l=r(460);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},265: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},48:function(e,t,r){var n=r(439);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=({}).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},527:function(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var o="";for(var a in e)t.call(e,a)&&e[a]&&(o=n(o,a));return o}(a)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()}},u={};function d(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return s[e](r,r.exports,d),r.exports}d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nc=void 0;var m={};return!function(){"use strict";d.r(m),d.d(m,{PluginThemeEditorClient:function(){return uJ},default:function(){return u0}});var e,t,r,n,o,a,l,i,c,s,u,f=d("772"),p=d("721"),g=d("467"),h=d.n(g),y=d("156"),b=d.n(y),v=d("473");function E(e){return(e=h().cloneDeep(e)).algorithm?(Array.isArray(e.algorithm)?e.algorithm=e.algorithm.map(function(e){return S(e)}).filter(Boolean):e.algorithm=S(e.algorithm),h().isEmpty(e.algorithm)&&delete e.algorithm,e):e}function S(e){return"string"==typeof e?e:e.toString()===p.theme.darkAlgorithm.toString()?"darkAlgorithm":e.toString()===p.theme.compactAlgorithm.toString()?"compactAlgorithm":void 0}function k(e){var t;return e=h().cloneDeep(e),h().isString(e.config.algorithm)&&(e.config.algorithm=p.theme[e.config.algorithm]),Array.isArray(null===(t=e.config)||void 0===t?void 0:t.algorithm)&&(e.config.algorithm=e.config.algorithm.map(function(e){return h().isString(e)?p.theme[e]:e})),e}var x=(0,y.createContext)(null);x.displayName="ThemeListContext";var w=function(){return b().useContext(x)},C=function(e){var t=e.children,r=(0,f.useRequest)({url:"themeConfig:list",params:{sort:"id",paginate:!1}},{manual:!0}),n=r.data,o=r.error,a=r.run,l=r.refresh,i=r.loading,c=(0,y.useMemo)(function(){var e;return null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.map(function(e){return k(e)})},[n]);return o&&(0,v.error)(o),b().createElement(x.Provider,{value:{data:c,error:o,run:a,refresh:l,loading:i}},t)};C.displayName="ThemeListProvider";var T=b().createContext({}),A=function(){return b().useContext(T)},B=function(e){var t,r,n,o=e.children,a=(0,f.useCurrentUserContext)(),l=(0,f.useGlobalTheme)().setTheme,i=w(),c=i.run,s=i.data,u=i.loading,d=(0,y.useMemo)(function(){return null==s?void 0:s.find(function(e){return e.default})},[s]),m=(0,y.useRef)(null),g=(0,f.useAPIClient)();return((0,y.useEffect)(function(){var e=g.auth.getOption("theme");if(e)try{l(k(JSON.parse(e)).config)}catch(e){(0,v.error)(e)}},[]),(0,y.useEffect)(function(){if(!s)return c();var e,t,r,n,o=null==a?void 0:null===(r=a.data)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:null===(e=t.systemSettings)||void 0===e?void 0:e.themeId;null!=o&&(n=s.find(function(e){return e.id===o})),!n&&(n=d),n?(m.current=n.id,l(n.config),g.auth.setOption("theme",JSON.stringify(Object.assign(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},n),{config:E(n.config)})))):(l(f.defaultTheme),g.auth.setOption("theme",null))},[g.auth,null==a?void 0:null===(n=a.data)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.systemSettings)||void 0===t?void 0:t.themeId,s,c,l,d]),u&&!s)?b().createElement("div",{style:{textAlign:"center",marginTop:20}},b().createElement(p.Spin,null)):b().createElement(T.Provider,{value:{currentThemeId:m.current,defaultThemeId:null==d?void 0:d.id}},o)};B.displayName="InitializeTheme";var O=b().createContext(null),P=function(){return b().useContext(O)},I=function(e){var t=e.children,r=e.open,n=e.setOpen;return b().createElement(O.Provider,{value:{open:r,setOpen:n}},t)};I.displayName="ThemeEditorProvider";var M=d("482"),H=d("527"),z=d.n(H),D=d("143"),j=p.ConfigProvider.ConfigContext,L=function(e,t){return function(){var r=p.theme.useToken(),n=r.theme,o=r.token,a=r.hashId,l=(0,(0,y.useContext)(j).getPrefixCls)();return[(0,D.useStyleRegister)({theme:n,hashId:a,token:o,path:[e]},function(){var e,r;return t((e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},o),r=(r={rootCls:".".concat(l)},r),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e))}),a]}},R=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Compact-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Compact-默认",transform:"translate(-9.000000, -82.500000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Compact-选项一",transform:"translate(9.268811, 79.500000)"},y.createElement("g",{id:"Compact-smaller",transform:"translate(0.000000, 3.000000)"},y.createElement("rect",{id:"Compact-矩形",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M10,14 L10,12 C10,10.8666667 10.8666667,10 12,10 L14,10 C14.4,10 14.6666667,10.2666667 14.6666667,10.6666667 C14.6666667,11.0666667 14.4,11.3333333 14,11.3333333 L12,11.3333333 C11.6,11.3333333 11.3333333,11.6 11.3333333,12 L11.3333333,14 C11.3333333,14.4 11.0666667,14.6666667 10.6666667,14.6666667 C10.2666667,14.6666667 10,14.4 10,14 L10,14 Z M4.66666667,14 L4.66666667,12 C4.66666667,11.6 4.4,11.3333333 4,11.3333333 L2,11.3333333 C1.6,11.3333333 1.33333333,11.0666667 1.33333333,10.6666667 C1.33333333,10.2666667 1.6,10 2,10 L4,10 C5.13333333,10 6,10.8666667 6,12 L6,14 C6,14.4 5.73333333,14.6666667 5.33333333,14.6666667 C4.93333333,14.6666667 4.66666666,14.4 4.66666667,14 L4.66666667,14 Z M12,6 C10.8666667,6 10,5.13333333 10,4 L10,2 C10,1.6 10.2666667,1.33333333 10.6666667,1.33333333 C11.0666667,1.33333333 11.3333333,1.6 11.3333333,2 L11.3333333,4 C11.3333333,4.4 11.6,4.66666667 12,4.66666667 L14,4.66666667 C14.4,4.66666667 14.6666667,4.93333334 14.6666667,5.33333333 C14.6666667,5.73333331 14.4,6 14,6 L12,6 L12,6 Z M2,6 C1.6,6 1.33333333,5.73333333 1.33333333,5.33333333 C1.33333333,4.93333333 1.6,4.66666666 2,4.66666667 L4,4.66666667 C4.4,4.66666667 4.66666667,4.4 4.66666667,4 L4.66666667,2 C4.66666667,1.6 4.93333334,1.33333333 5.33333333,1.33333333 C5.73333331,1.33333333 6,1.6 6,2 L6,4 C6,5.13333333 5.13333333,6 4,6 L2,6 Z",id:"Compact-形状"}))))))},F=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Control-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Control-主题预览器---组件预览",transform:"translate(-1372.000000, -505.000000)",fillRule:"nonzero"},y.createElement("g",{id:"Control-编组-18",transform:"translate(0.000000, 70.000000)"},y.createElement("g",{id:"Control-编组-14",transform:"translate(536.000000, 420.000000)"},y.createElement("g",{id:"Control-系统控制",transform:"translate(836.000000, 15.000000)"},y.createElement("rect",{id:"Control-矩形",fill:"#000000",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M6,3.5625 L13.75,3.5625 L13.75,4.1875 L6,4.1875 L6,3.5625 Z M2.1875,3.5625 L3.8125,3.5625 L3.8125,4.1875 L2.1875,4.1875 L2.1875,3.5625 Z M8.3125,11.8125 L13.75,11.8125 L13.75,12.4375 L8.3125,12.4375 L8.3125,11.8125 Z M2.1875,11.8125 L6.125,11.8125 L6.125,12.4375 L2.1875,12.4375 L2.1875,11.8125 Z M12.625,7.6875 L13.75,7.6875 L13.75,8.3125 L12.625,8.3125 L12.625,7.6875 Z M2.1875,7.6875 L10.4375,7.6875 L10.4375,8.3125 L2.1875,8.3125 L2.1875,7.6875 Z",id:"Control-形状",fill:"currentColor"}),y.createElement("path",{d:"M1.875,3.875 C1.875,4.04758898 2.01491102,4.1875 2.1875,4.1875 C2.36008898,4.1875 2.5,4.04758898 2.5,3.875 C2.5,3.70241102 2.36008898,3.5625 2.1875,3.5625 C2.01491102,3.5625 1.875,3.70241102 1.875,3.875 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,3.875 C13.4375,4.04758898 13.577411,4.1875 13.75,4.1875 C13.922589,4.1875 14.0625,4.04758898 14.0625,3.875 C14.0625,3.70241102 13.922589,3.5625 13.75,3.5625 C13.577411,3.5625 13.4375,3.70241102 13.4375,3.875 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,8 C13.4375,8.17258898 13.577411,8.3125 13.75,8.3125 C13.922589,8.3125 14.0625,8.17258898 14.0625,8 C14.0625,7.82741102 13.922589,7.6875 13.75,7.6875 C13.577411,7.6875 13.4375,7.82741102 13.4375,8 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,12.125 C13.4375,12.297589 13.577411,12.4375 13.75,12.4375 C13.922589,12.4375 14.0625,12.297589 14.0625,12.125 C14.0625,11.952411 13.922589,11.8125 13.75,11.8125 C13.577411,11.8125 13.4375,11.952411 13.4375,12.125 L13.4375,12.125 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M1.875,8 C1.875,8.17258898 2.01491102,8.3125 2.1875,8.3125 C2.36008898,8.3125 2.5,8.17258898 2.5,8 C2.5,7.82741102 2.36008898,7.6875 2.1875,7.6875 C2.01491102,7.6875 1.875,7.82741102 1.875,8 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M1.875,12.125 C1.875,12.297589 2.01491102,12.4375 2.1875,12.4375 C2.36008898,12.4375 2.5,12.297589 2.5,12.125 C2.5,11.952411 2.36008898,11.8125 2.1875,11.8125 C2.01491102,11.8125 1.875,11.952411 1.875,12.125 L1.875,12.125 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M4.90625,5.25 C4.13125,5.25 3.5,4.61875 3.5,3.84375 C3.5,3.06875 4.13125,2.4375 4.90625,2.4375 C5.68125,2.4375 6.3125,3.06875 6.3125,3.84375 C6.3125,4.61875 5.68125,5.25 4.90625,5.25 Z M4.90625,3.0625 C4.475,3.0625 4.125,3.4125 4.125,3.84375 C4.125,4.275 4.475,4.625 4.90625,4.625 C5.3375,4.625 5.6875,4.275 5.6875,3.84375 C5.6875,3.4125 5.3375,3.0625 4.90625,3.0625 Z M11.53125,9.4375 C10.75625,9.4375 10.125,8.80625 10.125,8.03125 C10.125,7.25625 10.75625,6.625 11.53125,6.625 C12.30625,6.625 12.9375,7.25625 12.9375,8.03125 C12.9375,8.80625 12.30625,9.4375 11.53125,9.4375 Z M11.53125,7.25 C11.1,7.25 10.75,7.6 10.75,8.03125 C10.75,8.4625 11.1,8.8125 11.53125,8.8125 C11.9625,8.8125 12.3125,8.4625 12.3125,8.03125 C12.3125,7.6 11.9625,7.25 11.53125,7.25 Z M7.21875,13.5 C6.44375,13.5 5.8125,12.86875 5.8125,12.09375 C5.8125,11.31875 6.44375,10.6875 7.21875,10.6875 C7.99375,10.6875 8.625,11.31875 8.625,12.09375 C8.625,12.86875 7.99375,13.5 7.21875,13.5 Z M7.21875,11.3125 C6.7875,11.3125 6.4375,11.6625 6.4375,12.09375 C6.4375,12.525 6.7875,12.875 7.21875,12.875 C7.65,12.875 8,12.525 8,12.09375 C8,11.6625 7.65,11.3125 7.21875,11.3125 Z",id:"Control-形状",fill:"currentColor"})))))))},W=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Dark-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Dark-默认",transform:"translate(-9.000000, -49.500000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Dark-编组-17",transform:"translate(0.000000, 42.500000)"},y.createElement("g",{id:"Dark-moon",transform:"translate(9.268811, 7.500000)"},y.createElement("rect",{id:"Dark-矩形",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M8,1.33333333 C8.14933333,1.33333333 8.29688889,1.33844444 8.44266667,1.34866666 C8.14755556,1.98422221 8,2.64577777 8,3.33333333 C8,3.96533333 8.12333333,4.56955555 8.37,5.146 C8.61666667,5.72244445 8.94822222,6.21888889 9.36466667,6.63533333 C9.78111112,7.05177777 10.2775556,7.38333332 10.854,7.63 C11.4304444,7.87666668 12.0346667,8.00000001 12.6666667,8 C13.3542222,8 14.0157778,7.85244444 14.6513333,7.55733333 C14.6615556,7.70311111 14.6666667,7.85066667 14.6666667,8 C14.6666667,8.604 14.5868889,9.19422222 14.4273333,9.77066667 C14.2677778,10.3471111 14.0446667,10.8793333 13.758,11.3673333 C13.4713333,11.8553333 13.1233333,12.3042222 12.714,12.714 C12.3046667,13.1237778 11.8557778,13.4717778 11.3673333,13.758 C10.8788889,14.0442222 10.3466667,14.2673333 9.77066667,14.4273333 C9.19466667,14.5873333 8.60444445,14.6671111 8,14.6666685 C7.39555555,14.6662222 6.80533333,14.5864444 6.22933333,14.4273333 C5.65333333,14.2682222 5.1211111,14.0451111 4.63266666,13.758 C4.14422221,13.4708889 3.69533332,13.1228889 3.28599998,12.714 C2.87666665,12.3051111 2.52866665,11.8562222 2.24199998,11.3673333 C1.95533332,10.8784444 1.73222221,10.3462222 1.57266666,9.77066667 C1.4131111,9.19511112 1.33333333,8.6048889 1.33333333,8 C1.33333333,7.3951111 1.4131111,6.80488888 1.57266666,6.22933333 C1.73222221,5.65377778 1.95533332,5.12155555 2.24199998,4.63266666 C2.52866665,4.14377776 2.87666665,3.69488887 3.28599998,3.28599998 C3.69533332,2.8771111 4.14422221,2.5291111 4.63266666,2.24199998 C5.1211111,1.95488887 5.65333333,1.73177776 6.22933333,1.57266666 C6.80533333,1.41355555 7.39555555,1.33377778 8,1.33333333 Z M6.68733333,2.828 C6.11444444,2.97377778 5.58066667,3.20977778 5.086,3.536 C4.59133333,3.86222222 4.166,4.24933333 3.81,4.69733333 C3.454,5.14533333 3.17444444,5.65488889 2.97133333,6.226 C2.76822221,6.79711111 2.66666666,7.38822222 2.66666666,7.99933333 C2.66666666,8.72155555 2.80733332,9.41155555 3.08866666,10.0693333 C3.36999999,10.7271111 3.74933332,11.2948889 4.22666666,11.7726667 C4.70399999,12.2504444 5.27177777,12.6297778 5.92999998,12.9106667 C6.5882222,13.1915556 7.2782222,13.3322222 7.99999998,13.3326667 C8.6111111,13.3326667 9.20222221,13.2311111 9.77333331,13.028 C10.3444444,12.8248889 10.854,12.5453333 11.302,12.1893333 C11.75,11.8333333 12.1371111,11.408 12.4633333,10.9133333 C12.7895555,10.4186666 13.0255555,9.88488887 13.1713333,9.31199998 C13.022,9.32577777 12.8535555,9.33266666 12.666,9.33266666 C11.8535555,9.33266666 11.0775555,9.17377777 10.338,8.85599998 C9.59844443,8.5382222 8.96044443,8.11111109 8.42399998,7.57466666 C7.88755554,7.03822222 7.46044443,6.40022222 7.14266666,5.66066666 C6.82488889,4.92111109 6.66599999,4.14511109 6.66599998,3.33266666 C6.66599998,3.1451111 6.67288888,2.97666666 6.68666666,2.82733333 L6.68733333,2.828 Z",id:"Dark-形状"}))))))},_=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Light-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Light-主题包",transform:"translate(-2943.000000, -292.000000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Light-编组-12",transform:"translate(2415.000000, 222.000000)"},y.createElement("g",{id:"Light-视图切换-编辑态",transform:"translate(518.000000, 60.000000)"},y.createElement("g",{id:"Light-eye",transform:"translate(8.000000, 8.000000)"},y.createElement("g",{id:"Light-sun",transform:"translate(2.000000, 2.000000)"},y.createElement("rect",{id:"Light-矩形",opacity:0,x:0,y:0,width:13,height:13}),y.createElement("path",{d:"M6.5,9.75 C4.7051875,9.75 3.25,8.2948125 3.25,6.5 C3.25,4.7051875 4.7051875,3.25 6.5,3.25 C8.2948125,3.25 9.75,4.7051875 9.75,6.5 C9.75,8.2948125 8.2948125,9.75 6.5,9.75 Z M6.5,8.66666667 C7.69661696,8.66666667 8.66666667,7.69661696 8.66666667,6.5 C8.66666667,5.30338304 7.69661696,4.33333333 6.5,4.33333333 C5.30338305,4.33333333 4.33333336,5.30338305 4.33333336,6.5 C4.33333336,7.69661695 5.30338305,8.66666667 6.5,8.66666667 Z M5.95833333,1.08333333 C5.95833333,0.784179087 6.20084576,0.541666658 6.5,0.541666658 C6.79915424,0.541666658 7.04166667,0.784179087 7.04166667,1.08333333 L7.04166667,2.16666667 C7.04166667,2.46582091 6.79915424,2.70833334 6.5,2.70833334 C6.20084576,2.70833334 5.95833333,2.46582091 5.95833333,2.16666667 L5.95833333,1.08333333 L5.95833333,1.08333333 Z M5.95833333,10.8333333 C5.95833333,10.5341791 6.20084576,10.2916667 6.5,10.2916667 C6.79915424,10.2916667 7.04166667,10.5341791 7.04166667,10.8333333 L7.04166667,11.9166667 C7.04166667,12.2158209 6.79915424,12.4583333 6.5,12.4583333 C6.20084576,12.4583333 5.95833333,12.2158209 5.95833333,11.9166667 L5.95833333,10.8333333 L5.95833333,10.8333333 Z M1.08333333,7.04166667 C0.784179087,7.04166667 0.541666658,6.79915424 0.541666658,6.5 C0.541666658,6.20084576 0.784179087,5.95833333 1.08333333,5.95833333 L2.16666667,5.95833333 C2.46582091,5.95833333 2.70833334,6.20084576 2.70833334,6.5 C2.70833334,6.79915424 2.46582091,7.04166667 2.16666667,7.04166667 L1.08333333,7.04166667 L1.08333333,7.04166667 Z M10.8333333,7.04166667 C10.5341791,7.04166667 10.2916667,6.79915424 10.2916667,6.5 C10.2916667,6.20084576 10.5341791,5.95833333 10.8333333,5.95833333 L11.9166667,5.95833333 C12.2158209,5.95833333 12.4583333,6.20084576 12.4583333,6.5 C12.4583333,6.79915424 12.2158209,7.04166667 11.9166667,7.04166667 L10.8333333,7.04166667 L10.8333333,7.04166667 Z M2.05454167,2.82045833 C1.84926545,2.60791971 1.85220137,2.27007933 2.06114035,2.06114035 C2.27007933,1.85220137 2.60791971,1.84926545 2.82045833,2.05454167 L3.63295833,2.86704167 C3.83823455,3.07958029 3.83529863,3.41742067 3.62635965,3.62635965 C3.41742067,3.83529863 3.07958029,3.83823455 2.86704167,3.63295833 L2.05454167,2.82045833 L2.05454167,2.82045833 Z M9.36704167,10.1329583 C9.16176545,9.92041971 9.16470137,9.58257933 9.37364035,9.37364035 C9.58257933,9.16470137 9.92041971,9.16176545 10.1329583,9.36704167 L10.9454583,10.1795417 C11.1507346,10.3920803 11.1477986,10.7299207 10.9388596,10.9388596 C10.7299207,11.1477986 10.3920803,11.1507346 10.1795417,10.9454583 L9.36704167,10.1329583 L9.36704167,10.1329583 Z M2.82045833,10.9454583 C2.60791971,11.1507346 2.27007933,11.1477986 2.06114035,10.9388596 C1.85220137,10.7299207 1.84926545,10.3920803 2.05454167,10.1795417 L2.86704167,9.36704167 C3.07958029,9.16176545 3.41742067,9.16470137 3.62635965,9.37364035 C3.83529863,9.58257933 3.83823455,9.92041971 3.63295833,10.1329583 L2.82045833,10.9454583 L2.82045833,10.9454583 Z M10.1329583,3.63295833 C9.92041971,3.83823455 9.58257933,3.83529863 9.37364035,3.62635965 C9.16470137,3.41742067 9.16176545,3.07958029 9.36704167,2.86704167 L10.1795417,2.05454167 C10.3920803,1.84926545 10.7299207,1.85220137 10.9388596,2.06114035 C11.1477986,2.27007933 11.1507346,2.60791971 10.9454583,2.82045833 L10.1329583,3.63295833 L10.1329583,3.63295833 Z",id:"Light-形状"}))))))))},N=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Pick-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",fillOpacity:.65},y.createElement("g",{id:"Pick-主题编辑器---多主题",transform:"translate(-541.000000, -387.000000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Pick-编组-11",transform:"translate(76.000000, 340.000000)"},y.createElement("g",{id:"Pick-Map-Token-面板",transform:"translate(0.000000, 27.000000)"},y.createElement("g",{id:"Pick-token-显示",transform:"translate(-1.002041, -1.000000)"},y.createElement("g",{id:"Pick-编组-2",transform:"translate(12.024490, 20.000000)"},y.createElement("g",{id:"Pick-shangyeguanxi",transform:"translate(453.924490, 1.000000)"},y.createElement("path",{d:"M12.6274816,8.17204883 C12.6358384,8.04673242 12.6401539,7.92030859 12.6401539,7.79288672 C12.6401539,5.50309375 11.2701899,3.53286719 9.30406641,2.65472266 C9.31862927,2.54983203 9.32632854,2.44274023 9.32632854,2.33384375 C9.32632854,1.05430664 8.28750187,0.0169394531 7.00623025,0.0169394531 C5.72484902,0.0169394531 4.68607715,1.05430664 4.68607715,2.33384375 C4.68607715,2.44267188 4.69376272,2.54968164 4.70829819,2.65451758 C2.74188703,3.53256641 1.37158055,5.50290234 1.37158055,7.79288672 C1.37158055,7.92044531 1.37592338,8.04699219 1.38428025,8.17243164 C0.593775725,8.54169531 0.0460860491,9.34289453 0.0460860491,10.2719531 C0.0460860491,11.5515449 1.08474833,12.5888574 2.36612955,12.5888574 C2.80723496,12.5888574 3.21958454,12.4658926 3.57069612,12.2524336 C4.52158393,12.9838105 5.71288912,13.4188223 7.00595625,13.4188223 C8.30016046,13.4188223 9.49238354,12.9830449 10.4436412,12.2505195 C10.7943281,12.4630762 11.2059516,12.5854668 11.6462213,12.5854668 C12.9274382,12.5854668 13.9661004,11.5489746 13.9661004,10.2703672 C13.9661004,9.34171875 13.4181916,8.54095703 12.6274816,8.17204883 Z M7.00623025,1.00913477 C7.73549676,1.00913477 8.32698463,1.59684766 8.33166995,2.32357617 C8.33168365,2.32647461 8.33177955,2.32935938 8.33177955,2.33225781 C8.33177955,2.69178711 8.18805519,3.01775195 7.95488499,3.25620313 C7.71417991,3.50236523 7.37813809,3.65527148 7.00623025,3.65527148 C6.6343361,3.65527148 6.29829428,3.50236523 6.0575618,3.25620313 C5.8243779,3.01775195 5.68062614,2.69178711 5.68062614,2.33225781 C5.68062614,2.32931836 5.68072204,2.32639258 5.68073574,2.32345313 C5.68547586,1.59679297 6.27704593,1.00913477 7.00623025,1.00913477 Z M2.36612955,11.5993965 C1.63399978,11.5993965 1.04047065,11.0058047 1.04047065,10.2734297 C1.04047065,9.84645703 1.24229576,9.46667969 1.55566445,9.22416797 C1.7797654,9.05074023 2.06088482,8.94746289 2.36614325,8.94746289 C2.41639403,8.94746289 2.46597352,8.95036133 2.51477213,8.95580273 C3.17696454,9.02969922 3.69181585,9.59136719 3.69181585,10.273416 C3.69181585,10.4903613 3.6397293,10.6951113 3.5473928,10.8758809 C3.39166744,11.1807637 3.12143934,11.4173555 2.79339819,11.5289863 C2.65931847,11.574623 2.51562151,11.5993965 2.36612955,11.5993965 Z M7.00127093,12.4178633 C5.99141928,12.4178633 5.0570808,12.0957402 4.29537321,11.549084 C4.53905114,11.1824316 4.68111783,10.7425937 4.68111783,10.2695605 C4.68111783,8.99117188 3.64429132,7.95466602 2.36460887,7.95280664 C2.3626772,7.89787305 2.36134833,7.84278906 2.36134833,7.78737695 C2.36134833,5.92565039 3.46242679,4.32079102 5.05001172,3.58529883 C5.46299149,4.22481445 6.18258597,4.64830078 7.00128463,4.64830078 C7.81990109,4.64830078 8.53950926,4.22481445 8.95248903,3.58529883 C10.5400329,4.32079102 11.6411113,5.92565039 11.6411113,7.78737695 C11.6411113,7.84277539 11.6397824,7.89787305 11.6378508,7.95280664 C10.3582094,7.95465234 9.32139662,8.99040625 9.32139662,10.2679746 C9.32139662,10.7413906 9.4639017,11.1815293 9.70827832,11.5482363 C8.94635153,12.0953848 8.01158836,12.4178633 7.00127093,12.4178633 Z M11.6459473,8.94746289 C11.9510962,8.94746289 12.2321197,9.0506582 12.4561658,9.22397656 C12.7696578,9.46647461 12.9715652,9.84632031 12.9715652,10.273375 C12.9715652,11.0056953 12.3780634,11.5993418 11.6459473,11.5993418 C11.4964143,11.5993418 11.3526762,11.574541 11.2185828,11.528877 C10.8907472,11.4172324 10.6206287,11.1807227 10.464917,10.8759902 C10.3725257,10.6951797 10.320398,10.490375 10.320398,10.273375 C10.320398,9.59128516 10.8354138,9.0295625 11.4976062,8.95577539 C11.5463226,8.95034766 11.5957925,8.94746289 11.6459473,8.94746289 Z M7.00557266,6.21029883 C7.91351399,6.21029883 8.64954587,6.94483166 8.64954587,7.85092383 C8.64954587,8.757016 7.91351399,9.49154883 7.00557266,9.49154883 C6.09763132,9.49154883 5.36159944,8.757016 5.36159944,7.85092383 C5.36159944,6.94483166 6.09763132,6.21029883 7.00557266,6.21029883 Z",id:"Pick-形状"})))))))))},X={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Success Tips",type:"success",showIcon:!0}),b().createElement(p.Alert,{message:"Informational Notes",type:"info",showIcon:!0}),b().createElement(p.Alert,{message:"Warning",type:"warning",showIcon:!0,closable:!0}),b().createElement(p.Alert,{message:"Error",type:"error",showIcon:!0}))},null),tokens:["colorIconHover","colorIcon","colorText"],key:"alert"},G={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Error",type:"error",showIcon:!0}),b().createElement(p.Alert,{message:"Error",description:"This is an error message about copywriting.",type:"error",showIcon:!0}))},null),tokens:["colorErrorBg","colorErrorBorder","colorError"],key:"error"},U={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Informational Notes",type:"info",showIcon:!0}),b().createElement(p.Alert,{message:"Informational Notes",description:"Additional description and information about copywriting.",type:"info",showIcon:!0}))},null),tokens:["colorInfo","colorInfoBorder","colorInfoBg"],key:"info"},$={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Success Tips",type:"success",showIcon:!0}),b().createElement(p.Alert,{message:"Success Tips",description:"Detailed description and advice about successful copywriting.",type:"success",showIcon:!0}))},null),tokens:["colorSuccess","colorSuccessBorder","colorSuccessBg"],key:"success"},q={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Warning",type:"warning",showIcon:!0,closable:!0}),b().createElement(p.Alert,{message:"Warning",description:"This is a warning notice about copywriting.",type:"warning",showIcon:!0,closable:!0}))},null),tokens:["colorWarning","colorWarningBorder","colorWarningBg"],key:"warning"},Y=[X,G,U,$,q],V=p.Anchor.Link,Z={demo:b().createElement(function(){return b().createElement("div",{style:{padding:12}},b().createElement(p.Anchor,null,b().createElement(V,{href:"#",title:"Basic demo"}),b().createElement(V,{href:"#components-anchor-demo-static",title:"Static demo"}),b().createElement(V,{href:"#API",title:"API"},b().createElement(V,{href:"#Anchor-Props",title:"Anchor Props"}),b().createElement(V,{href:"#Link-Props",title:"Link Props"}))))},null),tokens:["colorPrimary","colorSplit","colorBgContainer"],key:"anchor"},Q=p.Anchor.Link,K={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{background:e.colorBorderSecondary,padding:12}},b().createElement(p.Anchor,null,b().createElement(Q,{href:"#components-anchor-demo-basic",title:"Basic demo"}),b().createElement(Q,{href:"#components-anchor-demo-static",title:"Static demo"}),b().createElement(Q,{href:"#API",title:"API"},b().createElement(Q,{href:"#Anchor-Props",title:"Anchor Props"}),b().createElement(Q,{href:"#Link-Props",title:"Link Props"}))))},null),tokens:["colorSplit"],key:"anchorInLayout"};function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return{value:e.repeat(t)}},er=function(){var e=ee((0,y.useState)(""),2),t=e[0],r=e[1],n=ee((0,y.useState)([]),2),o=n[0],a=n[1],l=function(e){a(e?[et(e),et(e,2),et(e,3)]:[])},i=function(e){console.log("onSelect",e)};return b().createElement(b().Fragment,null," ",b().createElement(p.AutoComplete,{options:o,style:{width:200},onSelect:i,onSearch:l,placeholder:"input here"})," ",b().createElement("br",null)," ",b().createElement("br",null)," ",b().createElement(p.AutoComplete,{value:t,options:o,style:{width:200},onSelect:i,onSearch:l,onChange:function(e){r(e)},placeholder:"control mode"})," ")},en={demo:b().createElement(function(){return b().createElement(er,null)},null),tokens:[],key:"autoComplete"},eo=[{demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Space,null,b().createElement(p.Avatar,{size:64,icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{size:"large",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{size:"small",icon:b().createElement(M.UserOutlined,null)})),b().createElement(p.Space,null,b().createElement(p.Avatar,{shape:"square",size:64,icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",size:"large",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",size:"small",icon:b().createElement(M.UserOutlined,null)})))},null),key:"default"}],ea={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement(p.Space,{size:"large"},b().createElement(p.Badge,{count:5},b().createElement(p.Avatar,{shape:"square",size:"large"})),b().createElement(p.Badge,{count:0,showZero:!0},b().createElement(p.Avatar,{shape:"square",size:"large"})),b().createElement(p.Badge,{count:b().createElement(M.ClockCircleFilled,{style:{color:e.colorError}})},b().createElement(p.Avatar,{shape:"square",size:"large"})))},null),tokens:["colorError","colorBorderBg","colorBgContainer"],key:"badge"},el={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"processing"}),"Process")},null),tokens:["colorPrimary"],key:"progress"},ei={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"success"}),"Success")},null),tokens:["colorSuccess"],key:"success"},ec={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"warning"}),"Warning")},null),tokens:["colorWarning"],key:"warning"},es=[ea,el,ec,ei],eu={demo:b().createElement(function(){return b().createElement(p.Breadcrumb,null,b().createElement(p.Breadcrumb.Item,null,"Home"),b().createElement(p.Breadcrumb.Item,null,b().createElement("a",{href:""},"Application Center")),b().createElement(p.Breadcrumb.Item,null,b().createElement("a",{href:""},"Application List")),b().createElement(p.Breadcrumb.Item,null,"An Application"))},null),tokens:["colorText","colorPrimary","colorPrimaryActive","colorPrimaryHover"],key:"breadcrumb"},ed={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary"},"Primary Button"),b().createElement(p.Button,null,"Default Button"),b().createElement(p.Button,{type:"dashed"},"Dashed Button")," ",b().createElement("br",null),b().createElement(p.Button,{type:"text"},"Text Button"),b().createElement(p.Button,{ghost:!0},"Ghost Button"),b().createElement(p.Button,{type:"link"},"Link Button"))},null),tokens:["colorText","colorPrimary","colorPrimaryActive","colorPrimaryHover","controlOutline","controlTmpOutline"],key:"button"},em={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary"},"Primary Button"),b().createElement(p.Tooltip,{title:"search"},b().createElement(p.Button,{type:"primary",shape:"circle",icon:b().createElement(M.SearchOutlined,null)})),b().createElement(p.Button,{type:"primary",shape:"circle"},"A"),b().createElement(p.Button,{type:"primary",ghost:!0,icon:b().createElement(M.SearchOutlined,null)},"Search"))},null),tokens:["colorPrimary"],key:"button-icon"},ef={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary",danger:!0},"primary"),b().createElement(p.Button,{type:"default",danger:!0},"default"),b().createElement(p.Button,{type:"text",danger:!0},"text"),b().createElement(p.Button,{type:"link",danger:!0},"link"))},null),tokens:["colorError","colorErrorActive","colorErrorHover","colorErrorBorder","colorErrorOutline"],key:"danger"},ep={demo:b().createElement(function(){return b().createElement(p.Button,null,"default")},null),tokens:["colorBgContainer"],key:"defaultButton"},eg={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{disabled:!0,type:"primary"},"Primary"),b().createElement(p.Button,{disabled:!0},"Default"),b().createElement(p.Button,{disabled:!0,type:"dashed"},"Dashed"),b().createElement("br",null),b().createElement(p.Button,{disabled:!0,type:"text"},"Text"),b().createElement(p.Button,{disabled:!0,ghost:!0},"Ghost"),b().createElement(p.Button,{disabled:!0,type:"link"},"Link"))},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},eh=[ed,em,ef,ep,eg],ey={demo:b().createElement(function(){return b().createElement(p.Calendar,null)},null),tokens:["colorPrimary","colorPrimaryHover","colorBgContainer"],key:"default"},eb={demo:b().createElement(function(){return b().createElement(p.Calendar,{disabledDate:function(){return!0}})},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},ev={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Card,{title:"Default size card",extra:b().createElement("a",{href:"#"},"More"),style:{width:300}},b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")),b().createElement(p.Card,{loading:!0,size:"small",title:"Small size card",extra:b().createElement("a",{href:"#"},"More"),style:{width:300}},b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")))},null),tokens:["colorText","colorTextHeading","colorTextSecondary","colorBgContainer","colorBorderSecondary","colorPrimary","colorBgContainer"],key:"card"},eE={width:"25%",textAlign:"center"},eS={demo:b().createElement(function(){return b().createElement(p.Card,{title:"Card Title"},b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{hoverable:!1,style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"))},null),tokens:["colorBorderSecondary"],key:"cardGrid"},ek={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Card,{type:"inner",title:"Inner Card title"},"Inner Card content"))},null),tokens:["colorFillAlter"],key:"inner"},ex={height:"160px",color:"#fff",lineHeight:"160px",textAlign:"center",background:"#364d79"},ew={demo:b().createElement(function(){return b().createElement(p.Carousel,null,b().createElement("div",null,b().createElement("h3",{style:ex},"1")),b().createElement("div",null,b().createElement("h3",{style:ex},"2")),b().createElement("div",null,b().createElement("h3",{style:ex},"3")),b().createElement("div",null,b().createElement("h3",{style:ex},"4")))},null),tokens:["colorText","colorBgContainer"],key:"default"},eC=[{value:"zhejiang",label:"Zhejiang",children:[{value:"hangzhou",label:"Hangzhou",children:[{value:"xihu",label:"West Lake"}]}]},{value:"jiangsu",label:"Jiangsu",children:[{value:"nanjing",label:"Nanjing",children:[{value:"zhonghuamen",label:"Zhong Hua Men"}]}]}],eT=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eA={demo:b().createElement(function(e){var t,r;return b().createElement(eT,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({options:eC},e),r=(r={open:!0,placeholder:"Please select"},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},null),tokens:["colorBgContainer","colorPrimary"],key:"default"},eB=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eO={demo:b().createElement(function(){return b().createElement(eB,{options:eC,open:!0,disabled:!0,placeholder:"Please select"})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},eP=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eI={demo:b().createElement(function(){return b().createElement(eP,{options:eC,placeholder:"Please select",searchValue:"jiang",showSearch:!0})},null),tokens:["colorHighlight"],key:"highlight"},eM={demo:b().createElement(function(e){var t,r;return b().createElement(p.Space,null,b().createElement(p.Checkbox,e,"Checkbox"),b().createElement(p.Checkbox,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},e),r=(r={checked:!0},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t),"选中态"))},null),tokens:["colorPrimary","colorText","colorBgContainer"],key:"default"},eH={demo:b().createElement(function(){return b().createElement(p.Checkbox,{disabled:!0},"Checkbox")},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},ez=p.Collapse.Panel,eD=" A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.",ej={demo:b().createElement(function(){return b().createElement(p.Collapse,{defaultActiveKey:["1"]},b().createElement(ez,{header:"This is panel header 1",key:"1"},b().createElement("p",null,eD)),b().createElement(ez,{header:"This is panel header 2",key:"2"},b().createElement("p",null,eD)),b().createElement(ez,{header:"This is panel header 3",key:"3"},b().createElement("p",null,eD)))},null),tokens:["colorTextSecondary","colorText","colorFillAlter","colorBgContainer"],key:"default"},eL={demo:b().createElement(function(){return b().createElement(p.DatePicker,{status:"error"})},null),tokens:["colorError","colorErrorBorder","colorErrorHover","colorErrorOutline"],key:"danger"},eR={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"week"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"month"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"quarter"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"year"}))},null),tokens:["colorPrimary","colorPrimaryBorder","colorPrimaryHover","controlOutline","colorBgElevated","colorBgContainer"],key:"default"},eF={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.DatePicker,{disabled:!0}),b().createElement(p.DatePicker,{disabled:!0,picker:"week"}),b().createElement(p.DatePicker,{disabled:!0,picker:"month"}),b().createElement(p.DatePicker,{disabled:!0,picker:"quarter"}),b().createElement(p.DatePicker,{disabled:!0,picker:"year"}))},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},eW={demo:b().createElement(function(){return b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,null)},null),tokens:["colorIcon","colorIconHover"],key:"icon"},e_={demo:b().createElement(function(){return b().createElement(p.DatePicker,{status:"warning"})},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},eN={demo:b().createElement(function(){return b().createElement(p.Descriptions,{title:"User Info",bordered:!0},b().createElement(p.Descriptions.Item,{label:"Product"},"Cloud Database"),b().createElement(p.Descriptions.Item,{label:"Billing Mode"},"Prepaid"),b().createElement(p.Descriptions.Item,{label:"Automatic Renewal"},"YES"),b().createElement(p.Descriptions.Item,{label:"Order time"},"2018-04-24 18:00:00"))},null),tokens:["colorSplit","colorText","colorFillAlter"],key:"default"},eX={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{plain:!0},"Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{orientation:"left",plain:!0},"Left Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{orientation:"right",plain:!0},"Right Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."))},null),tokens:["colorSplit","colorText"],key:"divider"};function eG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eU={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return eG(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eG(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(b().Fragment,null,b().createElement(p.Button,{type:"primary",onClick:function(){o(!0)}},"Open"),b().createElement(p.Drawer,{title:"Basic Drawer",placement:"right",onClose:function(){o(!1)},open:n},b().createElement("p",null,"Some contents..."),b().createElement("p",null,"Some contents..."),b().createElement("p",null,"Some contents...")))},null),tokens:["colorBgMask","colorBgElevated"],key:"default"},e$=b().createElement(p.Menu,null,b().createElement(p.Menu.Item,null,b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com"},"1st menu item")),b().createElement(p.Menu.Item,{icon:b().createElement(M.DownOutlined,null),disabled:!0},b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com"},"2nd menu item (disabled)")),b().createElement(p.Menu.Item,{disabled:!0},b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com"},"3rd menu item (disabled)")),b().createElement(p.Menu.Item,{danger:!0},"a danger item")),eq={demo:b().createElement(function(){return b().createElement("div",null,b().createElement("a",{className:"ant-dropdown-link",onClick:function(e){return e.preventDefault()}},"Hover me ",b().createElement(M.DownOutlined,null)),b().createElement(p.Dropdown._InternalPanelDoNotUseOrYouWillBeFired,{overlay:e$}))},null),tokens:["colorPrimary","colorError","colorErrorHover","colorBgElevated"],key:"default"},eY={demo:b().createElement(function(){return b().createElement(p.Empty,null)},null),tokens:["colorTextDisabled"],key:"default"},eV={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:8},wrapperCol:{span:16},initialValues:{remember:!0},onFinish:function(){},onFinishFailed:function(){},autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)),b().createElement(p.Form.Item,{label:"Password",name:"password",rules:[{required:!0,message:"Please input your password!"}]},b().createElement(p.Input.Password,null)),b().createElement(p.Form.Item,{name:"remember",valuePropName:"checked",wrapperCol:{offset:8,span:16}},b().createElement(p.Checkbox,null,"Remember me")),b().createElement(p.Form.Item,{wrapperCol:{offset:8,span:16}},b().createElement(p.Button,{type:"primary",htmlType:"submit"},"Submit")))},null),tokens:["colorError","controlOutline","colorErrorBorder","colorErrorHover"],key:"default"};function eZ(){}var eQ={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:4},wrapperCol:{span:20},initialValues:{remember:!0},onFinish:eZ,autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",status:"error",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)))},null),tokens:["colorError","colorErrorBorder","colorErrorHover"],key:"danger"};function eK(){}var eJ={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:8},wrapperCol:{span:16},initialValues:{remember:!0},onFinish:eK,autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",status:"warning",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)))},null),tokens:["colorWarning"],key:"warning"};function e0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var e2=L("GridDemo",function(e){var t;return{".previewer-grid-demo":(e1(t={},"".concat(e.rootCls,"-row"),{marginBottom:16}),e1(t,"".concat(e.rootCls,"-row > div:not(.gutter-row)"),{padding:"16px 0",background:"#0092ff",color:"#fff",display:"inline-flex",alignItems:"center",justifyContent:"center","&:nth-child(2n + 1)":{background:"rgba(0,146,255,.75)"}}),t)}}),e3={demo:b().createElement(function(){var e,t,r=(e=e2(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return e0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e0(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return b().createElement("div",{className:z()("previewer-grid-demo",r)},b().createElement(p.Row,null,b().createElement(p.Col,{span:24},"col")),b().createElement(p.Row,null,b().createElement(p.Col,{span:12},"col-12")," ",b().createElement(p.Col,{span:12},"col-12")),b().createElement(p.Row,null,b().createElement(p.Col,{span:8},"col-8")," ",b().createElement(p.Col,{span:8},"col-8"),b().createElement(p.Col,{span:8},"col-8")),b().createElement(p.Row,null,b().createElement(p.Col,{span:6},"col-6")," ",b().createElement(p.Col,{span:6},"col-6"),b().createElement(p.Col,{span:6},"col-6"),b().createElement(p.Col,{span:6},"col-6")))},null),key:"default"},e6={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(M.HomeOutlined,null)," ",b().createElement(M.SettingFilled,null)," ",b().createElement(M.SmileOutlined,null)," ",b().createElement(M.SyncOutlined,{spin:!0}),b().createElement(M.SmileOutlined,{rotate:180})," ",b().createElement(M.LoadingOutlined,null))},null),key:"default"},e5={demo:b().createElement(function(){return b().createElement(p.Image,{width:200,height:200,src:"error",placeholder:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},e8={demo:b().createElement(function(){return b().createElement(p.Image,{width:200,src:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"})},null),tokens:["colorBgMask"],key:"default"},e4={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage",value:"右侧的图标就是 colorIcon",allowClear:!0})},null),tokens:["colorIcon","colorIconHover"],key:"clearIcon"};function e7(){}var e9={demo:b().createElement(function(){return b().createElement(p.Input,{status:"error",defaultValue:"hello",onChange:e7})},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},te={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage",disabled:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},tt={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage"})},null),tokens:["colorPrimary","colorPrimaryHover","controlOutline","colorBgContainer"],key:"default"};function tr(){}var tn={demo:b().createElement(function(){return b().createElement(p.Input,{status:"warning",defaultValue:3,onChange:tr})},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},to={demo:b().createElement(function(){return b().createElement(p.Input,{addonBefore:"http://",addonAfter:".com",defaultValue:"mysite"})},null),tokens:["colorFillAlter"],key:"withAddon"},ta=[tt,e4,e9,tn,to,te];function tl(){}var ti={demo:b().createElement(function(){return b().createElement(p.InputNumber,{status:"error",min:1,max:10,defaultValue:3,onChange:tl})},null),tokens:["colorErrorBorder","colorErrorOutline","colorErrorHover","colorError"],key:"danger"},tc={demo:b().createElement(function(){return b().createElement(p.InputNumber,{min:1,max:10,defaultValue:3,disabled:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"};function ts(){}var tu={demo:b().createElement(function(){return b().createElement(p.InputNumber,{min:1,max:10,defaultValue:3,onChange:ts})},null),tokens:["colorPrimaryBorder","controlOutline","colorPrimaryHover","colorPrimary","colorBgContainer"],key:"default"};function td(){}var tm={demo:b().createElement(function(){return b().createElement(p.InputNumber,{status:"warning",min:1,max:10,defaultValue:3,onChange:td})},null),tokens:["colorWarning","colorWarningBorder","colorWarningOutline","colorWarningHover"],key:"warning"},tf=[{title:"Ant Design Title 1"},{title:"Ant Design Title 2"},{title:"Ant Design Title 3"},{title:"Ant Design Title 4"}],tp={demo:b().createElement(function(){return b().createElement(p.List,{itemLayout:"horizontal",dataSource:tf,renderItem:function(e){return b().createElement(p.List.Item,null,b().createElement(p.List.Item.Meta,{avatar:b().createElement(p.Avatar,{src:"https://joeschmoe.io/api/v1/random"}),title:b().createElement("a",{href:"https://ant.design"},e.title),description:"Ant Design, a design language for background applications, is refined by Ant UED Team"}))}})},null),tokens:[],key:"default"},tg=p.Mentions.Option;function th(){}function ty(){}var tb={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},onChange:th,onSelect:ty,status:"error",defaultValue:"@afc163"},b().createElement(tg,{value:"afc163"},"afc163"),b().createElement(tg,{value:"zombieJ"},"zombieJ"),b().createElement(tg,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},tv=p.Mentions.Option,tE={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},status:"error",disabled:!0,defaultValue:"@afc163"},b().createElement(tv,{value:"afc163"},"afc163"),b().createElement(tv,{value:"zombieJ"},"zombieJ"),b().createElement(tv,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},tS=p.Mentions.Option;function tk(){}function tx(){}var tw={demo:b().createElement(function(){return b().createElement(p.Mentions._InternalPanelDoNotUseOrYouWillBeFired,{style:{width:"100%"},onChange:tk,onSelect:tx,defaultValue:"@afc163"},b().createElement(tS,{value:"afc163"},"afc163"),b().createElement(tS,{value:"zombieJ"},"zombieJ"),b().createElement(tS,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorBgContainer","colorBorder","colorPrimary","colorPrimaryHover","controlOutline"],key:"default"},tC=p.Mentions.Option;function tT(){}function tA(){}var tB={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},onChange:tT,onSelect:tA,status:"warning",defaultValue:"@afc163"},b().createElement(tC,{value:"afc163"},"afc163"),b().createElement(tC,{value:"zombieJ"},"zombieJ"),b().createElement(tC,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},tO=function(e,t,r,n,o){return{key:t,icon:r,children:n,label:e,type:o}},tP=[tO("Navigation One","sub1",b().createElement(M.MailOutlined,null),[tO("Item 1","g1",null,[tO("Option 1","1"),tO("Option 2","2")],"group"),tO("Item 2","g2",null,[tO("Option 3","3"),tO("Option 4","4")],"group")]),tO("Navigation Two","sub2",b().createElement(M.AppstoreOutlined,null),[tO("Option 5","5"),tO("Option 6","6"),tO("Submenu","sub3",null,[tO("Option 7","7"),tO("Option 8","8")])]),tO("Navigation Three","sub4",b().createElement(M.SettingOutlined,null),[tO("Option 9","9"),tO("Option 10","10"),tO("Option 11","11"),tO("Option 12","12")])],tI={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Menu,{onClick:function(e){console.log("click ",e)},style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1","sub2"],mode:"inline",items:tP}))},null),tokens:["colorPrimary","colorBgContainer","colorFillAlter","colorSplit","colorPrimaryHover"],key:"default"},tM=[{key:"0",danger:!0,label:"危险"},{key:"1",danger:!0,label:"危险选中"},{key:"2",danger:!0,disabled:!0,label:"危险禁用"}],tH={demo:b().createElement(function(){return b().createElement(p.Menu,{onClick:function(e){console.log("click ",e)},style:{width:256},defaultSelectedKeys:["1"],items:tM})},null),tokens:["colorError","colorErrorHover","colorErrorOutline"],key:"danger"},tz={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{background:e.colorBorderSecondary,padding:12}},b().createElement(p.Menu,{style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",items:tP}))},null),tokens:["colorSplit"],key:"menuInLayout"},tD=[tI,tH,tz],tj=p.message._InternalPanelDoNotUseOrYouWillBeFired,tL={demo:b().createElement(function(){return b().createElement(tj,{type:"error",content:"这是一条异常消息,会主动消失"})},null),tokens:["colorError"],key:"error"},tR=p.message._InternalPanelDoNotUseOrYouWillBeFired,tF={demo:b().createElement(function(){return b().createElement(tR,{type:"info",content:"Info"})},null),tokens:["colorInfo"],key:"info"},tW=p.message._InternalPanelDoNotUseOrYouWillBeFired,t_={demo:b().createElement(function(){return b().createElement(tW,{type:"info",content:"Hello, Ant Design!"})},null),tokens:["colorText","colorBgElevated"],key:"message"},tN=p.message._InternalPanelDoNotUseOrYouWillBeFired,tX={demo:b().createElement(function(){return b().createElement(tN,{type:"success",content:"这是一条成功消息,会主动消失"})},null),tokens:["colorSuccess"],key:"success"},tG=p.message._InternalPanelDoNotUseOrYouWillBeFired,tU={demo:b().createElement(function(){return b().createElement(tG,{type:"warning",content:"这是一条警告消息,会主动消失"})},null),tokens:["colorWarning"],key:"warning"},t$=[t_,tL,tF,tX,tU],tq=p.Modal._InternalPanelDoNotUseOrYouWillBeFired,tY={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(tq,{title:"Basic Modal"},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")))},null),tokens:["colorInfo"],key:"info"},tV={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{title:"Basic Modal"},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents..."))},null),tokens:["colorBgElevated"],key:"default"};function tZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var tQ={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return tZ(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tZ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(b().Fragment,null,b().createElement(p.Button,{type:"primary",onClick:function(){o(!0)}},"Open Modal"),b().createElement(p.Modal,{title:"Basic Modal",open:n,onOk:function(){o(!1)},onCancel:function(){o(!1)}},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")))},null),tokens:["colorBgMask"],key:"modalWithButton"},tK={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{type:"success"},"A good news!")},null),tokens:["colorSuccess"],key:"success"},tJ={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{type:"confirm",title:"Confirm This?"},"Some descriptions.")},null),tokens:["colorWarning"],key:"warning"},t0=[tV,tY,tQ,tJ,tK],t1=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t2={demo:b().createElement(function(){return b().createElement(t1,{message:"Notification Title",type:"error",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorError"],key:"error"},t3=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t6={demo:b().createElement(function(){return b().createElement(t3,{message:"Notification Title",type:"info",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorInfo"],key:"info"},t5=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t8={demo:b().createElement(function(){return b().createElement(t5,{message:"Notification Title",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorIcon","colorIconHover","colorBgElevated"],key:"default"},t4=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t7={demo:b().createElement(function(){return b().createElement(t4,{message:"Notification Title",type:"success",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorSuccess"],key:"success"},t9=p.notification._InternalPanelDoNotUseOrYouWillBeFired,re={demo:b().createElement(function(){return b().createElement(t9,{message:"Notification Title",type:"warning",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorWarning"],key:"warning"},rt=[t8,t6,t2,t7,re],rr={demo:b().createElement(function(){return b().createElement(p.Pagination,{showQuickJumper:!0,defaultCurrent:2,total:10,disabled:!0})},null),tokens:["controlItemBgActiveDisabled","colorBgContainerDisabled","colorFillAlter"],key:"disabled"},rn={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Pagination,{showQuickJumper:!0,pageSize:1,defaultCurrent:2,total:10}))},null),tokens:["colorPrimary","controlOutline","colorPrimaryHover","colorBgContainer"],key:"outline"},ro={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Pagination,{showQuickJumper:!0,defaultCurrent:2,total:500}),b().createElement(p.Pagination,{simple:!0}))},null),tokens:["colorPrimary","colorPrimaryHover","colorBgContainer"],key:"default"},ra=[ro,rr,rn];function rl(){p.message.success("Click on Yes")}function ri(){p.message.error("Click on No")}var rc={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Popconfirm._InternalPanelDoNotUseOrYouWillBeFired,{title:"Are you sure to delete this task?",onConfirm:rl,onCancel:ri,okText:"Yes",cancelText:"No",placement:"topLeft"}))},null),tokens:["colorBgElevated","colorWarning"],key:"default"},rs=[rc],ru=b().createElement("div",null,b().createElement("p",null,"Content")," ",b().createElement("p",null,"Content")),rd={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Popover._InternalPanelDoNotUseOrYouWillBeFired,{content:ru,title:"Title"}),b().createElement(p.Button,{type:"primary"},"Hover me"))},null),tokens:["colorBgElevated"],key:"default"},rm=d("665"),rf=d("298"),rp=d.n(rf),rg=function(e){function t(e,t,n){var o=t.trim().split(p);t=o;var a=o.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<a;++i)t[i]=r(e,t[i],n).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var s=0;s<l;++s)t[c++]=r(e[s]+" ",o[i],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var l=e+";",i=2*t+3*r+4*a;if(944===i){e=l.indexOf(":",9)+1;var c=l.substring(e,l.length-1).trim();return c=l.substring(0,e).trim()+c+";",1===O||2===O&&o(c,1)?"-webkit-"+c+c:c}if(0===O||2===O&&!o(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(C,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(c=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+c+l;case 1005:return m.test(l)?l.replace(d,":-webkit-")+l.replace(d,":-moz-")+l:l;case 1e3:switch(t=(c=l.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=l.replace(v,"tb");break;case 232:c=l.replace(v,"tb-rl");break;case 220:c=l.replace(v,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+c+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(c=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:l=l.replace(c,"-webkit-"+c)+";"+l;break;case 207:case 102:l=l.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(c,"-webkit-"+c)+";"+l.replace(c,"-ms-"+c+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return c=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+c+"-ms-flex-"+c+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(k,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(k,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===w.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):l.replace(c,"-webkit-"+c)+l.replace(c,"-moz-"+c.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===r+a&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+l}return l}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),H(2!==t?n:n.replace(x,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(S," or ($1)").substring(4):"("+t+")"}function l(e,t,r,n,o,a,l,i,s,u){for(var d,m=0,f=t;m<M;++m)switch(d=I[m].call(c,e,f,r,n,o,a,l,i,s,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function i(e){return void 0!==(e=e.prefix)&&(H=null,e?"function"!=typeof e?O=1:(O=2,H=e):O=0),i}function c(e,r){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[D=i],0<M){var c=l(-1,r,i,i,A,T,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,i,c,d,m){for(var f,p,g,v,S,k=0,x=0,w=0,C=0,I=0,H=0,D=g=f=0,j=0,L=0,R=0,F=0,W=c.length,_=W-1,N="",X="",G="",U="";j<W;){if(p=c.charCodeAt(j),j===_&&0!==x+C+w+k&&(0!==x&&(p=47===x?10:47),C=w=k=0,W++,_++),0===x+C+w+k){if(j===_&&(0<L&&(N=N.replace(u,"")),0<N.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:N+=c.charAt(j)}p=59}switch(p){case 123:for(f=(N=N.trim()).charCodeAt(0),g=1,F=++j;j<W;){switch(p=c.charCodeAt(j)){case 123:g++;break;case 125:g--;break;case 47:switch(p=c.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<_;++D)switch(c.charCodeAt(D)){case 47:if(42===p&&42===c.charCodeAt(D-1)&&j+2!==D){j=D+1;break e}break;case 10:if(47===p){j=D+1;break e}}j=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;j++<_&&c.charCodeAt(j)!==p;);}if(0===g)break;j++}if(g=c.substring(F,j),0===f&&(f=(N=N.replace(s,"").trim()).charCodeAt(0)),64===f){switch(0<L&&(N=N.replace(u,"")),p=N.charCodeAt(1)){case 100:case 109:case 115:case 45:L=i;break;default:L=P}if(F=(g=e(i,L,g,p,m+1)).length,0<M&&(S=l(3,g,L=t(P,N,R),i,A,T,F,p,m,d),N=L.join(""),void 0!==S&&0===(F=(g=S.trim()).length)&&(p=0,g="")),0<F)switch(p){case 115:N=N.replace(E,a);case 100:case 109:case 45:g=N+"{"+g+"}";break;case 107:g=(N=N.replace(h,"$1 $2"))+"{"+g+"}",g=1===O||2===O&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=N+g,112===d&&(X+=g,g="")}else g=""}else g=e(i,t(i,N,R),g,d,m+1);G+=g,g=R=L=D=f=0,N="",p=c.charCodeAt(++j);break;case 125:case 59:if(1<(F=(N=(0<L?N.replace(u,""):N).trim()).length))switch(0===D&&(45===(f=N.charCodeAt(0))||96<f&&123>f)&&(F=(N=N.replace(" ",":")).length),0<M&&void 0!==(S=l(1,N,i,r,A,T,X.length,d,m,d))&&0===(F=(N=S.trim()).length)&&(N="\0\0"),f=N.charCodeAt(0),p=N.charCodeAt(1),f){case 0:break;case 64:if(105===p||99===p){U+=N+c.charAt(j);break}default:58!==N.charCodeAt(F-1)&&(X+=n(N,f,p,N.charCodeAt(2)))}R=L=D=f=0,N="",p=c.charCodeAt(++j)}}switch(p){case 13:case 10:47===x?x=0:0===1+f&&107!==d&&0<N.length&&(L=1,N+="\0"),0<M*z&&l(0,N,i,r,A,T,X.length,d,m,d),T=1,A++;break;case 59:case 125:if(0===x+C+w+k){T++;break}default:switch(T++,v=c.charAt(j),p){case 9:case 32:if(0===C+k+x)switch(I){case 44:case 58:case 9:case 32:v="";break;default:32!==p&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===C+x+k&&(L=R=1,v="\f"+v);break;case 108:if(0===C+x+k+B&&0<D)switch(j-D){case 2:112===I&&58===c.charCodeAt(j-3)&&(B=I);case 8:111===H&&(B=H)}break;case 58:0===C+x+k&&(D=j);break;case 44:0===x+w+C+k&&(L=1,v+="\r");break;case 34:case 39:0===x&&(C=C===p?0:0===C?p:C);break;case 91:0===C+x+w&&k++;break;case 93:0===C+x+w&&k--;break;case 41:0===C+x+k&&w--;break;case 40:if(0===C+x+k){if(0===f){if(2*I+3*H==533);else f=1}w++}break;case 64:0===x+w+C+k+D+g&&(g=1);break;case 42:case 47:if(!(0<C+k+w))switch(x){case 0:switch(2*p+3*c.charCodeAt(j+1)){case 235:x=47;break;case 220:F=j,x=42}break;case 42:47===p&&42===I&&F+2!==j&&(33===c.charCodeAt(F+2)&&(X+=c.substring(F,j+1)),v="",x=0)}}0===x&&(N+=v)}H=I,I=p,j++}if(0<(F=X.length)){if(L=i,0<M&&void 0!==(S=l(2,X,L,r,A,T,F,d,m,d))&&0===(X=S).length)return U+X+G;if(X=L.join(",")+"{"+X+"}",0!=O*B){switch(2!==O||o(X,2)||(B=0),B){case 111:X=X.replace(b,":-moz-$1")+X;break;case 112:X=X.replace(y,"::-webkit-input-$1")+X.replace(y,"::-moz-$1")+X.replace(y,":-ms-input-$1")+X}B=0}}return U+X+G}(P,i,r,0,0);return 0<M&&void 0!==(c=l(-2,d,i,i,A,T,d.length,0,0,0))&&(d=c),D="",B=0,T=A=1,d}var s=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,m=/zoo|gra/,f=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,h=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,k=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,w=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,T=1,A=1,B=0,O=1,P=[],I=[],M=0,H=null,z=0,D="";return c.use=function e(t){switch(t){case void 0:case null:M=I.length=0;break;default:if("function"==typeof t)I[M++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else z=0|!!t}return e},c.set=i,void 0!==e&&i(e),c},rh={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},ry=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;var rb=(lw=function(e){return ry.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},lC=Object.create(null),function(e){return void 0===lC[e]&&(lC[e]=lw(e)),lC[e]}),rv=d("905"),rE=d.n(rv);function rS(){return(rS=Object.assign||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}).apply(this,arguments)}var rk=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},rx=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,rm.typeOf)(e)},rw=Object.freeze([]),rC=Object.freeze({});function rT(e){return"function"==typeof e}function rA(e){return e.displayName||e.name||"Component"}function rB(e){return e&&"string"==typeof e.styledComponentId}var rO="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rP="undefined"!=typeof window&&"HTMLElement"in window,rI=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY));function rM(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var rH=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&rM(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),rz=new Map,rD=new Map,rj=1,rL=function(e){if(rz.has(e))return rz.get(e);for(;rD.has(rj);)rj++;var t=rj++;return rz.set(e,t),rD.set(t,e),t},rR=function(e,t){t>=rj&&(rj=t+1),rz.set(e,t),rD.set(t,e)},rF="style["+rO+'][data-styled-version="5.3.11"]',rW=RegExp("^"+rO+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),r_=function(e,t,r){for(var n,o=r.split(","),a=0,l=o.length;a<l;a++)(n=o[a])&&e.registerName(t,n)},rN=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var l=r[o].trim();if(l){var i=l.match(rW);if(i){var c=0|parseInt(i[1],10),s=i[2];0!==c&&(rR(s,c),r_(e,s,i[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(l)}}},rX=function(){return d.nc},rG=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(rO))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(rO,"active"),n.setAttribute("data-styled-version","5.3.11");var l=rX();return l&&n.setAttribute("nonce",l),r.insertBefore(n,a),n},rU=function(){function e(e){var t=this.element=rG(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}rM(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),r$=function(){function e(e){var t=this.element=rG(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),rq=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),rY=rP,rV={isServer:!rP,useCSSOMInjection:!rI},rZ=function(){function e(e,t,r){void 0===e&&(e=rC),void 0===t&&(t={}),this.options=rS({},rV,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&rP&&rY&&(rY=!1,function(e){for(var t=document.querySelectorAll(rF),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(rO)&&(rN(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return rL(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(rS({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,r,n;return this.tag||(this.tag=(t=(e=this.options).isServer,r=e.useCSSOMInjection,n=e.target,new rH(t?new rq(n):r?new rU(n):new r$(n))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(rL(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(rL(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(rL(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a,l=(a=o,rD.get(a));if(void 0!==l){var i=e.names.get(l),c=t.getGroup(o);if(i&&c&&i.size){var s=rO+".g"+o+'[id="'+l+'"]',u="";void 0!==i&&i.forEach(function(e){e.length>0&&(u+=e+",")}),n+=""+c+s+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),rQ=/(a)(d)/gi,rK=function(e){return String.fromCharCode(e+(e>25?39:97))};function rJ(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=rK(t%52)+r;return(rK(t%52)+r).replace(rQ,"$1-$2")}var r0=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},r1=function(e){return r0(5381,e)};function r2(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(rT(r)&&!rB(r))return!1}return!0}var r3=r1("5.3.11"),r6=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&r2(e),this.componentId=t,this.baseHash=r0(r3,t),this.baseStyle=r,rZ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=nd(this.rules,e,t,r).join(""),l=rJ(r0(this.baseHash,a)>>>0);if(!t.hasNameForId(n,l)){var i=r(a,"."+l,void 0,n);t.insertRules(n,l,i)}o.push(l),this.staticRulesId=l}}else{for(var c=this.rules.length,s=r0(this.baseHash,r.hash),u="",d=0;d<c;d++){var m=this.rules[d];if("string"==typeof m)u+=m;else if(m){var f=nd(m,e,t,r),p=Array.isArray(f)?f.join(""):f;s=r0(s,p+d),u+=p}}if(u){var g=rJ(s>>>0);if(!t.hasNameForId(n,g)){var h=r(u,"."+g,void 0,n);t.insertRules(n,g,h)}o.push(g)}}return o.join(" ")},e}(),r5=/^\s*\/\/.*$/gm,r8=[":","[",".","#"];function r4(e){var t,r,n,o,a=void 0===e?rC:e,l=a.options,i=void 0===l?rC:l,c=a.plugins,s=void 0===c?rw:c,u=new rg(i),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,l,i,c,s,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===s)return n+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case -2:n.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),f=function(e,n,a){return 0===n&&-1!==r8.indexOf(a[r.length])||a.match(o)?e:"."+t};function p(e,a,l,i){void 0===i&&(i="&");var c=e.replace(r5,""),s=a&&l?l+" "+a+" { "+c+" }":c;return t=i,n=RegExp("\\"+(r=a)+"\\b","g"),o=RegExp("(\\"+r+"\\b){2,}"),u(l||!a?"":a,s)}return u.use([].concat(s,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,f))},m,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=s.length?s.reduce(function(e,t){return t.name||rM(15),r0(e,t.name)},5381).toString():"",p}var r7=b().createContext(),r9=(r7.Consumer,b().createContext()),ne=(r9.Consumer,new rZ),nt=r4();function nr(){return(0,y.useContext)(r7)||ne}function nn(e){var t=(0,y.useState)(e.stylisPlugins),r=t[0],n=t[1],o=nr(),a=(0,y.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,y.useMemo)(function(){return r4({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,y.useEffect)(function(){rp()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]),b().createElement(r7.Provider,{value:a},b().createElement(r9.Provider,{value:l},e.children))}var no=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=nt);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return rM(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=nt),this.name+e.hash},e}(),na=/([A-Z])/,nl=/([A-Z])/g,ni=/^ms-/,nc=function(e){return"-"+e.toLowerCase()};function ns(e){return na.test(e)?e.replace(nl,nc).replace(ni,"-ms-"):e}var nu=function(e){return null==e||!1===e||""===e};function nd(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],l=0,i=e.length;l<i;l+=1)""!==(o=nd(e[l],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(nu(e))return"";if(rB(e))return"."+e.styledComponentId;if(rT(e))return"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:nd(e(t),t,r,n);return e instanceof no?r?(e.inject(r,n),e.getName(n)):e:rx(e)?function e(t,r){var n,o=[];for(var a in t)t.hasOwnProperty(a)&&!nu(t[a])&&(Array.isArray(t[a])&&t[a].isCss||rT(t[a])?o.push(ns(a)+":",t[a],";"):rx(t[a])?o.push.apply(o,e(t[a],a)):o.push(ns(a)+": "+(null==(n=t[a])||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||a in rh||a.startsWith("--")?String(n).trim():n+"px")+";"));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString()}var nm=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function nf(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return rT(e)||rx(e)?nm(nd(rk(rw,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:nm(nd(rk(e,r)))}var np=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ng=/(^-|-$)/g;function nh(e){return e.replace(np,"-").replace(ng,"")}function ny(e){return"string"==typeof e}var nb=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)};function nv(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0;o<r.length;o++){var a,l=r[o];if(nb(l))for(var i in l){;"__proto__"!==(a=i)&&"constructor"!==a&&"prototype"!==a&&function(e,t,r){var n=e[r];nb(t)&&nb(n)?nv(n,t):e[r]=t}(e,l[i],i)}}return e}var nE=b().createContext();nE.Consumer;var nS={},nk=function(e){return function e(t,r,n){if(void 0===n&&(n=rC),!(0,rm.isValidElementType)(r))return rM(1,String(r));var o=function(){return t(r,n,nf.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,rS({},n,{},o))},o.attrs=function(o){return e(t,r,rS({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(function e(t,r,n){var o=rB(t),a=!ny(t),l=r.attrs,i=void 0===l?rw:l,c=r.componentId,s=void 0===c?(g=r.displayName,h=r.parentComponentId,nS[v="string"!=typeof g?"sc":nh(g)]=(nS[v]||0)+1,E=v+"-"+rJ(r1("5.3.11"+v+nS[v])>>>0),h?h+"-"+E:E):c,u=r.displayName,d=void 0===u?ny(S=t)?"styled."+S:"Styled("+rA(S)+")":u,m=r.displayName&&r.componentId?nh(r.displayName)+"-"+r.componentId:r.componentId||s,f=o&&t.attrs?Array.prototype.concat(t.attrs,i).filter(Boolean):i,p=r.shouldForwardProp;o&&t.shouldForwardProp&&(p=r.shouldForwardProp?function(e,n,o){return t.shouldForwardProp(e,n,o)&&r.shouldForwardProp(e,n,o)}:t.shouldForwardProp);var g,h,v,E,S,k,x=new r6(n,m,o?t.componentStyle:void 0),w=x.isStatic&&0===i.length,C=function(e,t){return function(e,t,r,n){var o,a,l,i,c,s,u,d,m,f,p,g,h,b,v=e.attrs,E=e.componentStyle,S=e.defaultProps,k=e.foldedComponentIds,x=e.shouldForwardProp,w=e.styledComponentId,C=e.target,T=(i=(o=t,a=(0,y.useContext)(nE),void 0===(l=S)&&(l=rC),o.theme!==l.theme&&o.theme||a||l.theme||rC),c=t,s=v,void 0===i&&(i=rC),u=rS({},c,{theme:i}),d={},s.forEach(function(e){var t,r,n,o=e;for(t in rT(o)&&(o=o(u)),o)u[t]=d[t]="className"===t?(r=d[t],n=o[t],r&&n?r+" "+n:r||n):o[t]}),[u,d]),A=T[0],B=T[1],O=(m=E,f=n,p=A,g=0,h=nr(),b=(0,y.useContext)(r9)||nt,f?m.generateAndInjectStyles(rC,h,b):m.generateAndInjectStyles(p,h,b)),P=B.$as||t.$as||B.as||t.as||C,I=ny(P),M=B!==t?rS({},t,{},B):t,H={};for(var z in M)"$"!==z[0]&&"as"!==z&&("forwardedAs"===z?H.as=M[z]:(x?x(z,rb,P):!I||rb(z))&&(H[z]=M[z]));return t.style&&B.style!==t.style&&(H.style=rS({},t.style,{},B.style)),H.className=Array.prototype.concat(k,w,O!==w?O:null,t.className,B.className).filter(Boolean).join(" "),H.ref=r,(0,y.createElement)(P,H)}(k,e,t,w)};return C.displayName=d,(k=b().forwardRef(C)).attrs=f,k.componentStyle=x,k.displayName=d,k.shouldForwardProp=p,k.foldedComponentIds=o?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):rw,k.styledComponentId=m,k.target=o?t.target:t,k.withComponent=function(t){var o=r.componentId,a=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}(r,["componentId"]),l=o&&o+"-"+(ny(t)?t:nh(rA(t)));return e(t,rS({},a,{attrs:f,componentId:l}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?nv({},t.defaultProps,e):e}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),a&&rE()(k,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){nk[e]=nk(e)}),(lT=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=r2(e),rZ.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,r,n){var o=n(nd(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},lT.removeStyles=function(e,t){t.clearRules(this.componentId+e)},lT.renderStyles=function(e,t,r,n){e>2&&rZ.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},(lA=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=rX();return"<style "+[r&&'nonce="'+r+'"',rO+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?rM(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return rM(2);var t,r=((t={})[rO]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=rX();return n&&(r.nonce=n),[b().createElement("style",rS({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new rZ({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?rM(2):b().createElement(nn,{sheet:this.instance},e)},lA.interleaveWithNodeStream=function(e){return rM(3)};var nx=function(e,t){if(t)return"row";switch(e){case"horizontal":return"row";case"horizontal-reverse":return"row-reverse";case"vertical":default:return"column";case"vertical-reverse":return"column-reverse"}},nw=function(e,t){return"row"===nx(e,t)},nC=function(e){return"number"==typeof e?"".concat(e,"px"):e};var nT=nk.div.attrs(function(){return{className:"layoutkit-flexbox"}})(lP||(lB=["\n // 是否显示\n display: ",";\n\n flex: ",";\n\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n\n width: ",";\n height: ",";\n\n padding: ",";\n\n > *:not(:last-child) {\n margin-right: ",";\n margin-bottom: ",";\n }\n"],!lO&&(lO=lB.slice(0)),lP=Object.freeze(Object.defineProperties(lB,{raw:{value:Object.freeze(lO)}}))),function(e){return e.hidden?"none":"flex"},function(e){return e.flex},function(e){return nx(e.direction,e.horizontal)},function(e){return e.distribution},function(e){return e.align},function(e){return nw(e.direction,e.horizontal)&&!e.width&&["space-between","space-around","space-evenly"].includes(e.distribution)?"100%":nC(e.width)},function(e){return nC(e.height)},function(e){return nC(e.padding)},function(e){return nw(e.direction,e.horizontal)&&nC(e.gap)},function(e){var t;return t=e.direction,"column"===nx(t,e.horizontal)&&nC(e.gap)});d("704");for(var nA={demo:b().createElement(function(){return b().createElement(nT,{gap:12},b().createElement(nT,{horizontal:!0,gap:24},b().createElement(p.Progress,{percent:70,status:"exception",type:"dashboard"}),b().createElement(p.Progress,{percent:80,status:"exception",type:"circle"})),b().createElement(p.Progress,{percent:50,status:"exception"}))},null),tokens:["colorError"],key:"danger"},nB={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,type:"dashboard"}),b().createElement(p.Progress,{percent:80,type:"circle"}),b().createElement(p.Progress,{steps:8,percent:30}))},null),tokens:["colorInfo"],key:"info"},nO={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,status:"exception"}),b().createElement(p.Progress,{percent:100}),b().createElement(p.Progress,{percent:50,showInfo:!1}),b().createElement(p.Progress,{steps:8}))},null),tokens:["colorFillSecondary","colorText","colorBgContainer"],key:"default"},nP={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{padding:24,background:e.colorBgLayout}},b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,status:"exception"}),b().createElement(p.Progress,{percent:100}),b().createElement(p.Progress,{percent:50,showInfo:!1}),b().createElement(p.Progress,{steps:8}))},null),tokens:["colorFillSecondary","colorText","colorBgContainer"],key:"layout"},nI={demo:b().createElement(function(){return b().createElement(nT,{gap:12},b().createElement(nT,{horizontal:!0,gap:24},b().createElement(p.Progress,{percent:70,status:"success",type:"dashboard"}),b().createElement(p.Progress,{percent:80,status:"success",type:"circle"})),b().createElement(p.Progress,{percent:50,status:"success"}))},null),tokens:["colorSuccess"],key:"success"},nM=[nO,nB,nA,nI,nP],nH={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Radio.Group,{defaultValue:"a",buttonStyle:"solid"},b().createElement(p.Radio.Button,{value:"a",checked:!0},"Hangzhou"),b().createElement(p.Radio.Button,{value:"b"},"Shanghai")),b().createElement("div",null,b().createElement(p.Radio.Button,null,"Apple"),b().createElement(p.Radio.Button,{checked:!0},"Orange")))},null),tokens:["colorPrimaryActive","colorPrimaryHover"],key:"button"},nz={demo:b().createElement(function(){return b().createElement(p.Radio,{disabled:!0},"Radio")},null),tokens:["colorBgContainerDisabled"],key:"disabled"},nD={demo:b().createElement(function(){return b().createElement(p.Radio,{checked:!0},"Radio")},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"},nj=[nD,nH,nz],nL={demo:b().createElement(function(){return b().createElement(p.Rate,null)},null),tokens:["colorFillContent"],key:"default"},nR={demo:b().createElement(function(){return b().createElement(p.Result,{status:"error",title:"Demo示意",subTitle:"status 为 error"})},null),tokens:["colorError"],key:"danger"},nF={demo:b().createElement(function(){return b().createElement(p.Result,{status:"info",title:"Demo示意",subTitle:"status 为info"})},null),tokens:["colorInfo"],key:"info"},nW={demo:b().createElement(function(){return b().createElement(p.Result,{status:"success",title:"Successfully Purchased Cloud Server ECS!",subTitle:"Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait.",extra:[b().createElement(p.Button,{type:"primary",key:"console"},"Go Console"),b().createElement(p.Button,{key:"buy"},"Buy Again")]})},null),tokens:["colorSuccess"],key:"result"},n_={demo:b().createElement(function(){return b().createElement(p.Result,{title:"Demo示意",subTitle:"背景色为 colorFillAlter"},"Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait.")},null),tokens:["colorFillAlter"],key:"resultWithDesc"},nN={demo:b().createElement(function(){return b().createElement(p.Result,{status:"warning",title:"Demo示意",subTitle:"status 为warning"})},null),tokens:["colorWarning"],key:"warning"},nX=[nW,nF,nN,nR,n_],nG={demo:b().createElement(function(){return b().createElement(p.Segmented,{options:["Daily","Weekly","Monthly","Quarterly","Yearly"]})},null),key:"default",tokens:[]},nU=p.Select._InternalPanelDoNotUseOrYouWillBeFired,n$=[],nq=10;nq<36;nq++)n$.push({value:nq.toString(36)+nq,label:nq.toString(36)+nq});var nY=function(e){console.log("selected ".concat(e))},nV={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},status:"error",options:n$,placeholder:"Please select",defaultValue:["a10","c12"],onChange:nY})},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},nZ={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},disabled:!0,options:n$,placeholder:"Please select",defaultValue:["a10","c12"]})},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},nQ=function(e){console.log("selected ".concat(e))},nK={demo:b().createElement(function(){return b().createElement(nU,{allowClear:!0,style:{width:"100%"},options:n$,placeholder:"Please select",value:["a10","c12"],onChange:nQ})},null),tokens:["colorIcon","colorIconHover"],key:"icon"},nJ=p.Select.Option,n0=p.Select._InternalPanelDoNotUseOrYouWillBeFired;function n1(){}var n2={demo:b().createElement(function(){return b().createElement(p.Space,{align:"start"},b().createElement(n0,{defaultValue:"lucy",style:{width:120},onChange:n1},b().createElement(nJ,{value:"jack"},"Jack")," ",b().createElement(nJ,{value:"lucy"},"Lucy"),b().createElement(nJ,{value:"disabled",disabled:!0},"Disabled"),b().createElement(nJ,{value:"Yiminghe"},"yiminghe")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},disabled:!0},b().createElement(nJ,{value:"lucy"},"Lucy")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},loading:!0},b().createElement(nJ,{value:"lucy"},"Lucy")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},allowClear:!0},b().createElement(nJ,{value:"lucy"},"Lucy")))},null),tokens:["controlOutline","colorPrimary","colorPrimaryHover","colorText","colorBgElevated","colorBgContainer"],key:"select"},n3=function(e){console.log("selected ".concat(e))},n6={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},options:n$,listHeight:200,placeholder:"Please select",defaultValue:["a10","c12","e14"],onChange:n3})},null),tokens:["colorPrimary","colorFillSecondary"],key:"selectTag"},n5=function(e){console.log("selected ".concat(e))},n8={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},status:"warning",options:n$,placeholder:"Please select",defaultValue:["a10","c12"],onChange:n5})},null),tokens:["colorWarningHover","colorWarningOutline"],key:"warning"},n4={demo:b().createElement(function(){return b().createElement(p.Skeleton,{active:!0})},null),tokens:["colorFillContent","colorTextPlaceholder"],key:"default"},n7={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Slider,{defaultValue:30}),b().createElement(p.Slider,{range:!0,defaultValue:[20,50]}))},null),tokens:["colorFillSecondary","colorFillContentHover","colorBgContainer","colorPrimary","colorPrimaryHover","colorPrimaryBorderHover","colorPrimaryBorder"],key:"default"},n9={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{padding:12,background:e.colorFillSecondary}},b().createElement(p.Slider,{defaultValue:30}),b().createElement(p.Slider,{range:!0,defaultValue:[20,50]}))},null),tokens:["colorFillSecondary","colorFillContentHover","colorBgContainer","colorPrimary","colorPrimaryHover","colorPrimaryBorderHover","colorPrimaryBorder"],key:"sliderInBg"},oe={demo:b().createElement(function(){return b().createElement(p.Space,null,"Space",b().createElement(p.Button,{type:"primary"},"Button"),b().createElement(p.Upload,null,b().createElement(p.Button,null,b().createElement(M.UploadOutlined,null)," Click to Upload")),b().createElement(p.Popconfirm,{title:"Are you sure delete this task?",okText:"Yes",cancelText:"No"},b().createElement(p.Button,null,"Confirm")))},null),key:"default"},ot={demo:b().createElement(function(){return b().createElement(p.Spin,null)},null),tokens:["colorPrimary","colorBgContainer"],key:"default"},or={demo:b().createElement(function(){return b().createElement(p.Row,{gutter:16},b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Active Users",value:112893})),b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Account Balance (CNY)",value:112893,precision:2}),b().createElement(p.Button,{style:{marginTop:16},type:"primary"},"Recharge")),b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Active Users",value:112893,loading:!0})))},null),tokens:["colorPrimary"],key:"default"},on=p.Steps.Step,oo={demo:b().createElement(function(){return b().createElement(p.Steps,{current:1},b().createElement(on,{title:"Error",status:"error",description:"This is a description."}),b().createElement(on,{status:"error",title:"In Progress",subTitle:"Left 00:00:08",description:"This is a description."}))},null),tokens:["colorError"],key:"danger"},oa=p.Steps.Step,ol={demo:b().createElement(function(){return b().createElement(p.Steps,{current:1},b().createElement(oa,{title:"Finished",description:"This is a description."}),b().createElement(oa,{title:"In Progress",subTitle:"Left 00:00:08",description:"This is a description."}),b().createElement(oa,{title:"Waiting",description:"This is a description."}))},null),tokens:["colorPrimary","colorBgContainer"],key:"default"},oi=[ol,oo];function oc(){}var os={demo:b().createElement(function(){return b().createElement(p.Switch,{defaultChecked:!0,onChange:oc})},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"},ou=[{title:"Name",dataIndex:"name",filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"},{text:"Submenu",value:"Submenu",children:[{text:"Green",value:"Green"},{text:"Black",value:"Black"}]}],onFilter:function(e,t){return 0===t.name.indexOf(String(e))},sorter:function(e,t){return e.name.length-t.name.length},sortDirections:["descend"]},{title:"Age",dataIndex:"age",defaultSortOrder:"descend",sorter:function(e,t){return e.age-t.age}},{title:"Address",dataIndex:"address",filters:[{text:"London",value:"London"},{text:"New York",value:"New York"}],onFilter:function(e,t){return 0===t.address.indexOf(String(e))}}],od=[{key:"1",name:"John Brown",age:32,address:"New York No. 1 Lake Park"},{key:"2",name:"Jim Green",age:42,address:"London No. 1 Lake Park"},{key:"3",name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park"},{key:"4",name:"Jim Red",age:32,address:"London No. 2 Lake Park"}],om=function(e,t,r,n){console.log("params",e,t,r,n)},of={demo:b().createElement(function(){return b().createElement(p.Table,{columns:ou,dataSource:od,onChange:om})},null),tokens:["colorFillSecondary","colorFillContentHover","colorFillContent","colorFillAlter"],key:"filterTable"},op=[{title:"Name",dataIndex:"name",key:"name",render:function(e){return b().createElement("a",null,e)}},{title:"Age",dataIndex:"age",key:"age"},{title:"Address",dataIndex:"address",key:"address"},{title:"Tags",key:"tags",dataIndex:"tags",render:function(e){return b().createElement(b().Fragment,null,e.map(function(e){var t=e.length>5?"geekblue":"green";return"loser"===e&&(t="volcano"),b().createElement(p.Tag,{color:t,key:e},e.toUpperCase())}))}},{title:"Action",key:"action",render:function(e,t){return b().createElement(p.Space,{size:"middle"},b().createElement("a",null,"Invite ",t.name)," ",b().createElement("a",null,"Delete"))}}],og=[{key:"1",name:"John Brown",age:32,address:"New York No. 1 Lake Park",tags:["nice","developer"]},{key:"2",name:"Jim Green",age:42,address:"London No. 1 Lake Park",tags:["loser"]},{key:"3",name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park",tags:["cool","teacher"]}],oh={demo:b().createElement(function(){return b().createElement(p.Table,{columns:op,dataSource:og,pagination:!1})},null),tokens:["colorPrimaryActive","colorBgContainer"],key:"table"},oy=p.Tabs.TabPane,ob={demo:b().createElement(function(){return b().createElement(p.Tabs,{type:"card",defaultActiveKey:"1"},b().createElement(oy,{tab:"Tab 1",key:"1"},"Content of Tab Pane 1"),b().createElement(oy,{tab:"Tab 2",key:"2"},"Content of Tab Pane 2"),b().createElement(oy,{tab:"Tab 3",key:"3"},"Content of Tab Pane 3"))},null),tokens:["colorFillAlter"],key:"cardTabs"},ov=p.Tabs.TabPane;function oE(){}for(var oS={demo:b().createElement(function(){return b().createElement(p.Tabs,{defaultActiveKey:"1",onChange:oE},b().createElement(ov,{tab:"Tab 1",key:"1"},"Content of Tab Pane 1"),b().createElement(ov,{tab:"Tab 2",key:"2"},"Content of Tab Pane 2"),b().createElement(ov,{tab:"Tab 3",key:"3"},"Content of Tab Pane 3"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive","colorBgContainer"],key:"default"},ok=[oS,ob],ox={demo:b().createElement(function(){return b().createElement(p.Tag,{closable:!0},"Error")},null),tokens:["colorFillAlter","colorIcon","colorIconHover"],key:"closable"},ow={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"error"},"Error")},null),tokens:["colorError","colorErrorBg","colorErrorBorder"],key:"error"},oC={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"processing"},"Info")},null),tokens:["colorInfo","colorInfoBg","colorInfoBorder"],key:"info"},oT=p.Tag.CheckableTag,oA={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(oT,{checked:!0},"Error"),b().createElement(oT,{checked:!1},"Error"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive"],key:"multiTags"},oB={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"success"},"Success")},null),tokens:["colorSuccess","colorSuccessBg","colorSuccessBorder"],key:"success"},oO={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement(p.Space,{direction:"vertical"},b().createElement("div",{style:{padding:12}},b().createElement(p.Tag,{color:"magenta"},"magenta"),b().createElement(p.Tag,{color:"red"},"red"),b().createElement(p.Tag,{color:"volcano"},"volcano"),b().createElement(p.Tag,{color:"orange"},"orange"),b().createElement(p.Tag,{color:"gold"},"gold"),b().createElement(p.Tag,{color:"lime"},"lime"),b().createElement(p.Tag,{color:"green"},"green"),b().createElement(p.Tag,{color:"cyan"},"cyan"),b().createElement(p.Tag,{color:"blue"},"blue"),b().createElement(p.Tag,{color:"geekblue"},"geekblue"),b().createElement(p.Tag,{color:"purple"},"purple")),b().createElement(p.Divider,null),b().createElement("div",{style:{background:e.colorFillSecondary,padding:12}},b().createElement(p.Tag,{color:"magenta"},"magenta"),b().createElement(p.Tag,{color:"red"},"red"),b().createElement(p.Tag,{color:"volcano"},"volcano"),b().createElement(p.Tag,{color:"orange"},"orange"),b().createElement(p.Tag,{color:"gold"},"gold"),b().createElement(p.Tag,{color:"lime"},"lime"),b().createElement(p.Tag,{color:"green"},"green"),b().createElement(p.Tag,{color:"cyan"},"cyan"),b().createElement(p.Tag,{color:"blue"},"blue"),b().createElement(p.Tag,{color:"geekblue"},"geekblue"),b().createElement(p.Tag,{color:"purple"},"purple")))},null),tokens:["blue-1","blue-3","blue-6","blue-7","cyan-1","cyan-3","cyan-6","cyan-7","geekblue-1","geekblue-3","geekblue-6","geekblue-7","gold-1","gold-3","gold-6","gold-7","green-1","green-3","green-6","green-7","lime-1","lime-3","lime-6","lime-7","magenta-1","magenta-3","magenta-6","magenta-7","orange-1","orange-3","orange-6","orange-7","pink-1","pink-3","pink-6","pink-7","purple-1","purple-3","purple-6","purple-7","volcano-1","volcano-3","volcano-6","volcano-7","yellow-1","yellow-3","yellow-6","yellow-7","red-1","red-3","red-6","red-7"],key:"default"},oP={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"warning"},"Warning")},null),tokens:["colorWarning","colorWarningBg","colorWarningBorder"],key:"warning"},oI=[oO,ow,oC,oB,oP,oA,ox],oM={demo:b().createElement(function(){return b().createElement(p.TimePicker._InternalPanelDoNotUseOrYouWillBeFired,null)},null),tokens:["colorPrimary"],key:"default"},oH={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,{color:"red"},"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Technical testing 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Network problems being solved 2015-09-01"))},null),tokens:["colorError"],key:"danger"},oz={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,{color:"green"},"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Technical testing 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Network problems being solved 2015-09-01"))},null),tokens:["colorSuccess"],key:"success"},oD={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,null,"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,null,"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,null,"Technical testing 2015-09-01"))},null),tokens:["colorPrimary","colorText","colorSplit","colorBgContainer"],key:"default"},oj=[oD,oH,oz],oL={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Tooltip._InternalPanelDoNotUseOrYouWillBeFired,{title:"prompt text"}),b().createElement("span",null,"Tooltip will show on mouse enter."))},null),tokens:["colorBgSpotlight","colorTextLightSolid"],key:"default"},oR=[],oF=0;oF<20;oF++)oR.push({key:oF.toString(),title:"content".concat(oF+1),description:"description of content".concat(oF+1)});function oW(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||oX(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oN(e){return function(e){if(Array.isArray(e))return oW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oX(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oX(e,t){if(e){if("string"==typeof e)return oW(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oW(e,t)}}var oG=oR.filter(function(e){return+e.key>10}).map(function(e){return e.key}),oU={demo:b().createElement(function(){var e=o_((0,y.useState)(oG),2),t=e[0],r=e[1],n=o_((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oR,titles:["Source","Target"],targetKeys:t,status:"error",selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(oN(e).concat(oN(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorError"],key:"danger"};function o$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||oV(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oY(e){return function(e){if(Array.isArray(e))return o$(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oV(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oV(e,t){if(e){if("string"==typeof e)return o$(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o$(e,t)}}for(var oZ=[],oQ=0;oQ<20;oQ++)oZ.push({key:oQ.toString(),title:"content".concat(oQ+1),description:"description of content".concat(oQ+1)});var oK=oZ.filter(function(e){return+e.key>10}).map(function(e){return e.key}),oJ={demo:b().createElement(function(){var e=oq((0,y.useState)(oK),2),t=e[0],r=e[1],n=oq((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oZ,titles:["Source","Target"],targetKeys:t,disabled:!0,selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(oY(e).concat(oY(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorBgContainerDisabled"],key:"disabled"};function o0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||o3(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o2(e){return function(e){if(Array.isArray(e))return o0(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o3(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o3(e,t){if(e){if("string"==typeof e)return o0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o0(e,t)}}var o6=oR.filter(function(e){return+e.key>10}).map(function(e){return e.key}),o5={demo:b().createElement(function(){var e=o1((0,y.useState)(o6),2),t=e[0],r=e[1],n=o1((0,y.useState)(["1","2"]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oR,titles:["Source","Target"],targetKeys:t,selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(o2(e).concat(o2(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["controlItemBgActiveHover","controlItemBgActive","colorBgContainer"],key:"default"};function o8(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o4(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||o9(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o7(e){return function(e){if(Array.isArray(e))return o8(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o9(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o9(e,t){if(e){if("string"==typeof e)return o8(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o8(e,t)}}for(var ae=[],at=0;at<20;at++)ae.push({key:at.toString(),title:"content".concat(at+1),description:"description of content".concat(at+1)});var ar=ae.filter(function(e){return+e.key>10}).map(function(e){return e.key}),an={demo:b().createElement(function(){var e=o4((0,y.useState)(ar),2),t=e[0],r=e[1],n=o4((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:ae,titles:["Source","Target"],targetKeys:t,status:"warning",selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(o7(e).concat(o7(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorWarning"],key:"warning"},ao=[{title:"parent 1",key:"0-0",children:[{title:"parent 1-0",key:"0-0-0",disabled:!0,children:[{title:"leaf",key:"0-0-0-0",disableCheckbox:!0},{title:"leaf",key:"0-0-0-1"}]},{title:"parent 1-1",key:"0-0-1",children:[{title:b().createElement("span",{style:{color:"#1890ff"}},"sss"),key:"0-0-1-0"}]}]}],aa={demo:b().createElement(function(){return b().createElement(p.Tree,{disabled:!0,checkable:!0,defaultExpandedKeys:["0-0-0","0-0-1"],defaultSelectedKeys:["0-0-0","0-0-1"],defaultCheckedKeys:["0-0-0","0-0-1"],treeData:ao})},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},al=[{title:"parent 1",key:"0-0",children:[{title:"parent 1-0",key:"0-0-0",disabled:!0,children:[{title:"leaf",key:"0-0-0-0",disableCheckbox:!0},{title:"leaf",key:"0-0-0-1"}]},{title:"parent 1-1",key:"0-0-1",children:[{title:b().createElement("span",{style:{color:"#1890ff"}},"sss"),key:"0-0-1-0"}]}]}],ai={demo:b().createElement(function(){return b().createElement(p.Tree,{checkable:!0,defaultExpandedKeys:["0-0-0","0-0-1"],defaultSelectedKeys:["0-0-0","0-0-1"],defaultCheckedKeys:["0-0-0","0-0-1"],treeData:al})},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"};function ac(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var as=p.TreeSelect.TreeNode,au=p.TreeSelect._InternalPanelDoNotUseOrYouWillBeFired,ad={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(void 0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return ac(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ac(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(au,{disabled:!0,showSearch:!0,style:{width:"100%"},value:n,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"Please select",allowClear:!0,treeDefaultExpandAll:!0,onChange:function(){o(n)}},b().createElement(as,{value:"parent 1",title:"parent 1"},b().createElement(as,{value:"parent 1-0",title:"parent 1-0"},b().createElement(as,{value:"leaf1",title:"leaf1"}),b().createElement(as,{value:"leaf2",title:"leaf2"})),b().createElement(as,{value:"parent 1-1",title:"parent 1-1"},b().createElement(as,{value:"leaf3",title:"leaf3"}))))},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"};function am(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var af=p.TreeSelect.TreeNode,ap=p.TreeSelect._InternalPanelDoNotUseOrYouWillBeFired,ag={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(void 0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return am(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return am(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(ap,{showSearch:!0,style:{width:"100%"},value:n,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"Please select",allowClear:!0,treeDefaultExpandAll:!0,onChange:function(){o(n)}},b().createElement(af,{value:"parent 1",title:"parent 1"},b().createElement(af,{value:"parent 1-0",title:"parent 1-0"},b().createElement(af,{value:"leaf1",title:"leaf1"}),b().createElement(af,{value:"leaf2",title:"leaf2"})),b().createElement(af,{value:"parent 1-1",title:"parent 1-1"},b().createElement(af,{value:"leaf3",title:"leaf3"}))))},null),tokens:["colorPrimary","colorPrimaryActive","controlOutline","colorBgElevated","colorBgContainer"],key:"default"},ah=p.Typography.Title,ay={demo:b().createElement(function(){return b().createElement(ah,{level:4},"Heading 4")},null),tokens:["fontSizeHeading4"],key:"heading4"},ab=p.Typography.Title,av=p.Typography.Text,aE={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(ab,{type:"danger",level:4},"Error Title"),b().createElement(av,{type:"danger"},"error Text"))},null),tokens:["colorError","colorErrorHover","colorErrorActive"],key:"error"},aS=p.Typography.Title,ak=p.Typography.Text,ax={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(aS,{type:"success",level:4},"Success Title"),b().createElement(ak,{type:"success"},"success Text"))},null),tokens:["colorSuccess"],key:"success"},aw=p.Typography.Title,aC=p.Typography.Paragraph,aT=p.Typography.Text,aA=p.Typography.Link,aB={demo:b().createElement(function(){return b().createElement(p.Typography,null,b().createElement(aw,{level:4},"《故乡》 "),b().createElement(aC,null,"——鲁迅"),b().createElement(aC,null,b().createElement(aT,{strong:!0},"深蓝的天空中挂着一轮金黄的圆月"),",下面是海边的沙地,都种着一望无际的碧绿的西瓜,其间有一个十一二岁的少年,项带银圈,手捏一柄钢叉,",b().createElement(aT,{mark:!0},"向一匹猹尽力的刺去"),",那猹却将身一扭,反从他的胯下逃走了。"),b().createElement(aC,null,b().createElement("ul",null,b().createElement("li",null,b().createElement(aA,{href:"#"},"狂人日记")),b().createElement("li",null,b().createElement(aA,{href:"#"},"呐喊")),b().createElement("li",null,b().createElement(aA,{href:"#"},"彷徨")))))},null),tokens:["colorSuccess"],key:"default"},aO=p.Typography.Title,aP=p.Typography.Text,aI={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(aO,{type:"warning",level:4},"Error Title"),b().createElement(aP,{type:"warning"},"error Text"))},null),tokens:["colorWarning"],key:"warning"},aM={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Upload,{name:"avatar",listType:"picture-card",className:"avatar-uploader",showUploadList:!1,action:"https://www.mocky.io/v2/5cc8019d300000980a055e76"},b().createElement("div",null,b().createElement(M.PlusOutlined,null),b().createElement("div",{style:{marginTop:8}},"Upload"))))},null),tokens:["colorFillAlter"],key:"avatar"},aH={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Upload,{defaultFileList:[{uid:"3",name:"zzz.png",status:"error",response:"Server Error 500",url:"http://www.baidu.com/zzz.png"}]},b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Upload")),b().createElement(p.Upload,{listType:"picture",defaultFileList:[{uid:"3",name:"zzz.png",status:"error",response:"Server Error 500"}]},b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Upload")))},null),tokens:["colorError","colorErrorBg"],key:"danger"},az={name:"file",action:"https://www.mocky.io/v2/5cc8019d300000980a055e76",headers:{authorization:"authorization-text"},onChange:function(e){"done"===e.file.status?p.message.success("".concat(e.file.name," file uploaded successfully")):"error"===e.file.status&&p.message.error("".concat(e.file.name," file upload failed."))}},aD={demo:b().createElement(function(){return b().createElement(p.Upload,az,b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Click to Upload"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive"],key:"upload"},aj=[aD,aH,aM],aL={Alert:Y,Anchor:[Z,K],AutoComplete:[en],Avatar:eo,Badge:es,Breadcrumb:[eu],Button:eh,Calendar:[ey,eb],Card:[ev,ek,eS],Carousel:[ew],Cascader:[eA,eI,eO],Checkbox:[eM,eH],Collapse:[ej],DatePicker:[eR,eL,e_,eW,eF],Descriptions:[eN],Dropdown:[eq],Empty:[eY],Form:[eV,eJ,eQ],Grid:[e3],Icon:[e6],Image:[e8,e5],InputNumber:[tu,ti,tm,tc],Input:ta,List:[tp],Mentions:[tw,tb,tB,tE],Modal:t0,Notification:rt,Pagination:ra,Popconfirm:rs,Popover:[rd],Radio:nj,Rate:[nL],Select:[n2,n6,nV,n8,nK,nZ],Skeleton:[n4],Slider:[n7,n9],Spin:[ot],Statistic:[or],Switch:[os],Table:[oh,of],Tabs:ok,Tag:oI,TimePicker:[oM],Timeline:oj,Tooltip:[oL],Transfer:[o5,an,oU,oJ],TreeSelect:[ag,ad],Tree:[ai,aa],Typography:[aB,ay,aE,aI,ax],Upload:aj,Divider:[eX],Space:[oe],Menu:tD,Steps:oi,Segmented:[nG],Drawer:[eU],Message:t$,Result:nX,Progress:nM},aR=JSON.parse('{"_lang":"zh-CN","followPrimary":"跟随主色","reset":"重置","next":"下一步","groupView":"分组显示","fill":"填充","border":"描边","background":"背景","text":"文本","overview":"概览","components":"组件","relatedTokens":"关联 Token"}'),aF=b().createContext(aR),aW=function(){return b().useContext(aF)},a_=JSON.parse('{"_lang":"en-US","followPrimary":"Follow Brand Color","reset":"Reset","next":"Next","groupView":"Group View","fill":"Fill","border":"Border","background":"Background","text":"Text","overview":"Overview","components":"Components","relatedTokens":"Related Tokens"}');function aN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aN(e,t);var r=({}).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)?aN(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aG(e){var t=y.useRef();return t.current=e,y.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(n))},[])}var aU="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect,a$=function(e,t){var r=y.useRef(!0);aU(function(){return e(r.current)},t),aU(function(){return r.current=!1,function(){r.current=!0}},[])},aq=function(e,t){a$(function(t){if(!t)return e()},t)};function aY(e){var t=y.useRef(!1),r=aX(y.useState(e),2),n=r[0],o=r[1];return y.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[n,function(e,r){if(!r||!t.current)o(e)}]}function aV(e){return void 0!==e}function aZ(e,t){var r=t||{},n=r.defaultValue,o=r.value,a=r.onChange,l=r.postState,i=aX(aY(function(){return aV(o)?o:aV(n)?"function"==typeof n?n():n:"function"==typeof e?e():e}),2),c=i[0],s=i[1],u=void 0!==o?o:c,d=l?l(u):u,m=aG(a),f=aX(aY([u]),2),p=f[0],g=f[1];return aq(function(){var e=p[0];c!==e&&m(c,e)},[p]),aq(function(){!aV(o)&&s(o)},[o]),[d,aG(function(e,t){s(e,t),g([u],t)})]}var aQ=JSON.parse('{"Upload":{"global":["fontSizeHeading3","fontHeight","lineWidth","controlHeightLG","colorTextDisabled","colorText","fontSize","lineHeight","fontFamily","colorFillAlter","colorBorder","borderRadiusLG","motionDurationSlow","padding","lineWidthFocus","colorPrimaryBorder","colorPrimaryHover","margin","colorPrimary","marginXXS","colorTextHeading","fontSizeLG","colorTextDescription","paddingXS","lineType","paddingSM","fontSizeHeading2","colorError","colorErrorBg","colorTextLightSolid","marginXS","colorBgMask","marginXL","fontHeightSM","controlItemBgHover","motionEaseInOutCirc","motionDurationMid","motionEaseInOut"],"component":{"actionsColor":"rgba(0, 0, 0, 0.45)"}},"Typography":{"global":["colorText","lineHeight","colorTextDescription","colorSuccess","colorWarning","colorError","colorErrorActive","colorErrorHover","colorTextDisabled","fontSizeHeading1","lineHeightHeading1","colorTextHeading","fontWeightStrong","fontSizeHeading2","lineHeightHeading2","fontSizeHeading3","lineHeightHeading3","fontSizeHeading4","lineHeightHeading4","fontSizeHeading5","lineHeightHeading5","fontFamilyCode","colorLink","motionDurationSlow","colorLinkHover","colorLinkActive","linkDecoration","linkHoverDecoration","marginXXS","paddingSM","marginXS","fontSize"],"component":{"titleMarginTop":"1.2em","titleMarginBottom":"0.5em"}},"TreeSelect":{"global":["colorBgElevated","paddingXS","colorText","fontSize","lineHeight","fontFamily","borderRadius","motionDurationSlow","lineWidthFocus","colorPrimaryBorder","colorPrimary","colorTextDisabled","controlItemBgHover","colorBorder","marginXXS","motionDurationMid","lineWidthBold","controlInteractiveSize","marginXS","borderRadiusSM","colorBgContainer","lineWidth","lineType","colorWhite","motionDurationFast","motionEaseInBack","colorPrimaryHover","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled"],"component":{"titleHeight":24,"nodeHoverBg":"rgba(0, 0, 0, 0.04)","nodeSelectedBg":"#e6f4ff"}},"Transfer":{"global":["marginXS","marginXXS","fontSizeIcon","colorBgContainerDisabled","colorText","fontSize","lineHeight","fontFamily","colorBorder","colorSplit","lineWidth","controlItemBgActive","colorTextDisabled","paddingSM","lineType","motionDurationSlow","controlItemBgHover","borderRadiusLG","colorBgContainer","controlItemBgActiveHover","colorLinkHover","paddingXS","controlHeightLG","margin","colorError","colorWarning"],"component":{"listWidth":180,"listHeight":200,"listWidthLG":250,"headerHeight":40,"itemHeight":32,"itemPaddingBlock":5,"transferHeaderVerticalPadding":9}},"Tour":{"global":["borderRadiusLG","lineHeight","padding","paddingXS","borderRadius","borderRadiusXS","colorPrimary","colorText","colorFill","boxShadowTertiary","fontSize","colorBgElevated","fontWeightStrong","marginXS","colorTextLightSolid","colorWhite","motionDurationSlow","fontFamily","colorIcon","borderRadiusSM","motionDurationMid","colorIconHover","boxShadowPopoverArrow","sizePopupArrow"],"component":{"zIndexPopup":1070,"closeBtnSize":22,"primaryPrevBtnBg":"rgba(255, 255, 255, 0.15)","closeBtnHoverBg":"transparent","primaryNextBtnHoverBg":"rgb(240, 240, 240)","arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Tooltip":{"global":["borderRadius","colorTextLightSolid","colorBgSpotlight","controlHeight","boxShadowSecondary","paddingSM","paddingXS","colorText","fontSize","lineHeight","fontFamily","blue1","blue3","blue6","blue7","purple1","purple3","purple6","purple7","cyan1","cyan3","cyan6","cyan7","green1","green3","green6","green7","magenta1","magenta3","magenta6","magenta7","pink1","pink3","pink6","pink7","red1","red3","red6","red7","orange1","orange3","orange6","orange7","yellow1","yellow3","yellow6","yellow7","volcano1","volcano3","volcano6","volcano7","geekblue1","geekblue3","geekblue6","geekblue7","lime1","lime3","lime6","lime7","gold1","gold3","gold6","gold7","boxShadowPopoverArrow","sizePopupArrow","borderRadiusXS","motionDurationFast","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"zIndexPopup":1070,"arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Tree":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled","borderRadius","controlItemBgHover","marginXXS","motionEaseInOut"],"component":{"titleHeight":24,"nodeHoverBg":"rgba(0, 0, 0, 0.04)","nodeSelectedBg":"#e6f4ff","directoryNodeSelectedColor":"#fff","directoryNodeSelectedBg":"#1677ff"}},"Table":{"global":["colorTextHeading","colorSplit","colorBgContainer","controlInteractiveSize","padding","fontWeightStrong","lineWidth","lineType","motionDurationMid","colorText","fontSize","lineHeight","fontFamily","margin","paddingXS","marginXXS","fontSizeIcon","motionDurationSlow","colorPrimary","paddingXXS","fontSizeSM","borderRadius","colorTextDescription","colorTextDisabled","controlItemBgHover","controlItemBgActive","boxShadowSecondary","colorLink","colorLinkHover","colorLinkActive","opacityLoading"],"component":{"headerBg":"#fafafa","headerColor":"rgba(0, 0, 0, 0.88)","headerSortActiveBg":"#f0f0f0","headerSortHoverBg":"#f0f0f0","bodySortBg":"#fafafa","rowHoverBg":"#fafafa","rowSelectedBg":"#e6f4ff","rowSelectedHoverBg":"#bae0ff","rowExpandedBg":"rgba(0, 0, 0, 0.02)","cellPaddingBlock":16,"cellPaddingInline":16,"cellPaddingBlockMD":12,"cellPaddingInlineMD":8,"cellPaddingBlockSM":8,"cellPaddingInlineSM":8,"borderColor":"#f0f0f0","headerBorderRadius":8,"footerBg":"#fafafa","footerColor":"rgba(0, 0, 0, 0.88)","cellFontSize":14,"cellFontSizeMD":14,"cellFontSizeSM":14,"headerSplitColor":"#f0f0f0","fixedHeaderSortActiveBg":"#f0f0f0","headerFilterHoverBg":"rgba(0, 0, 0, 0.06)","filterDropdownMenuBg":"#ffffff","filterDropdownBg":"#ffffff","expandIconBg":"#ffffff","selectionColumnWidth":32,"stickyScrollBarBg":"rgba(0, 0, 0, 0.25)","stickyScrollBarBorderRadius":100,"expandIconMarginTop":2.5,"headerIconColor":"rgba(0, 0, 0, 0.29)","headerIconHoverColor":"rgba(0, 0, 0, 0.57)","expandIconHalfInner":7,"expandIconSize":17,"expandIconScale":0.9411764705882353}},"Switch":{"global":["motionDurationMid","colorPrimary","opacityLoading","fontSizeIcon","colorText","fontSize","lineHeight","fontFamily","colorTextQuaternary","colorTextTertiary","lineWidthFocus","colorPrimaryBorder","colorPrimaryHover","colorTextLightSolid","fontSizeSM","marginXXS"],"component":{"trackHeight":22,"trackHeightSM":16,"trackMinWidth":44,"trackMinWidthSM":28,"trackPadding":2,"handleBg":"#fff","handleSize":18,"handleSizeSM":12,"handleShadow":"0 2px 4px 0 rgba(0, 35, 11, 0.2)","innerMinMargin":9,"innerMaxMargin":24,"innerMinMarginSM":6,"innerMaxMarginSM":18}},"Steps":{"global":["colorTextDisabled","controlHeightLG","colorTextLightSolid","colorText","colorPrimary","colorTextDescription","colorTextQuaternary","colorError","colorBorderSecondary","colorSplit","fontSize","lineHeight","fontFamily","motionDurationSlow","lineWidthFocus","colorPrimaryBorder","marginXS","lineWidth","lineType","paddingXXS","padding","fontSizeLG","fontWeightStrong","fontSizeSM","paddingSM","margin","controlHeight","marginXXS","paddingLG","marginSM","paddingXS","controlHeightSM","fontSizeIcon","lineWidthBold","marginLG","borderRadiusSM","motionDurationMid","controlItemBgHover","lineHeightSM","colorBorderBg"],"component":{"titleLineHeight":32,"customIconSize":32,"customIconTop":0,"customIconFontSize":24,"iconSize":32,"iconTop":-0.5,"iconFontSize":14,"iconSizeSM":24,"dotSize":8,"dotCurrentSize":10,"navArrowColor":"rgba(0, 0, 0, 0.25)","navContentMaxWidth":"auto","descriptionMaxWidth":140,"waitIconColor":"rgba(0, 0, 0, 0.25)","waitIconBgColor":"#ffffff","waitIconBorderColor":"rgba(0, 0, 0, 0.25)","finishIconBgColor":"#ffffff","finishIconBorderColor":"#1677ff"}},"Statistic":{"global":["marginXXS","padding","colorTextDescription","colorTextHeading","fontFamily","colorText","fontSize","lineHeight"],"component":{"titleFontSize":14,"contentFontSize":24}},"Timeline":{"global":["paddingXXS","colorText","fontSize","lineHeight","fontFamily","lineType","fontSizeSM","colorPrimary","colorError","colorSuccess","colorTextDisabled","lineWidth","margin","controlHeightLG","marginXXS","marginSM","marginXS"],"component":{"tailColor":"rgba(5, 5, 5, 0.06)","tailWidth":2,"dotBorderWidth":2,"dotBg":"#ffffff","itemPaddingBottom":20}},"Tag":{"global":["lineWidth","fontSizeIcon","fontSizeSM","lineHeightSM","colorFillTertiary","paddingXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","lineType","colorBorder","borderRadiusSM","motionDurationMid","colorTextDescription","colorTextHeading","colorTextLightSolid","colorPrimary","colorFillSecondary","colorPrimaryHover","colorPrimaryActive"],"component":{"defaultBg":"#fafafa","defaultColor":"rgba(0, 0, 0, 0.88)"}},"Spin":{"global":["colorTextDescription","colorText","fontSize","lineHeight","fontFamily","colorPrimary","motionDurationSlow","motionEaseInOutCirc","colorBgMask","zIndexPopupBase","motionDurationMid","colorWhite","colorTextLightSolid","colorBgContainer","marginXXS"],"component":{"contentHeight":400,"dotSize":20,"dotSizeSM":14,"dotSizeLG":32}},"Skeleton":{"global":["controlHeight","controlHeightLG","controlHeightSM","padding","marginSM","controlHeightXS","borderRadiusSM"],"component":{"color":"rgba(0, 0, 0, 0.06)","colorGradientEnd":"rgba(0, 0, 0, 0.15)","gradientFromColor":"rgba(0, 0, 0, 0.06)","gradientToColor":"rgba(0, 0, 0, 0.15)","titleHeight":16,"blockRadius":4,"paragraphMarginTop":28,"paragraphLiHeight":16}},"Slider":{"global":["controlHeight","controlHeightLG","colorFillContentHover","colorText","fontSize","lineHeight","fontFamily","borderRadiusXS","motionDurationMid","colorPrimaryBorderHover","colorBgElevated","colorTextDescription","motionDurationSlow"],"component":{"controlSize":10,"railSize":4,"handleSize":10,"handleSizeHover":12,"dotSize":8,"handleLineWidth":2,"handleLineWidthHover":4,"railBg":"rgba(0, 0, 0, 0.04)","railHoverBg":"rgba(0, 0, 0, 0.06)","trackBg":"#91caff","trackHoverBg":"#69b1ff","handleColor":"#91caff","handleActiveColor":"#1677ff","handleColorDisabled":"#bfbfbf","dotBorderColor":"#f0f0f0","dotActiveBorderColor":"#91caff","trackBgDisabled":"rgba(0, 0, 0, 0.04)"}},"Select":{"global":["paddingSM","controlHeight","colorText","fontSize","lineHeight","fontFamily","lineWidth","lineType","colorBorder","motionDurationMid","motionEaseInOut","colorTextDisabled","colorBgContainerDisabled","colorTextPlaceholder","fontSizeIcon","colorTextQuaternary","motionDurationSlow","colorTextTertiary","paddingXS","controlPaddingHorizontalSM","borderRadius","controlHeightSM","borderRadiusSM","fontSizeLG","borderRadiusLG","controlHeightXS","borderRadiusXS","controlHeightLG","controlPaddingHorizontal","colorIcon","colorIconHover","paddingXXS","colorBgElevated","boxShadowSecondary","colorTextDescription","fontSizeSM","colorPrimary","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorPrimaryHover","controlOutline","controlOutlineWidth","colorErrorHover","colorError","colorErrorOutline","colorWarningHover","colorWarning","colorWarningOutline"],"component":{"zIndexPopup":1050,"optionSelectedColor":"rgba(0, 0, 0, 0.88)","optionSelectedFontWeight":600,"optionSelectedBg":"#e6f4ff","optionActiveBg":"rgba(0, 0, 0, 0.04)","optionPadding":"5px 12px","optionFontSize":14,"optionLineHeight":1.5714285714285714,"optionHeight":32,"selectorBg":"#ffffff","clearBg":"#ffffff","singleItemHeightLG":40,"multipleItemBg":"rgba(0, 0, 0, 0.06)","multipleItemBorderColor":"transparent","multipleItemHeight":24,"multipleItemHeightLG":32,"multipleSelectorBgDisabled":"rgba(0, 0, 0, 0.04)","multipleItemColorDisabled":"rgba(0, 0, 0, 0.25)","multipleItemBorderColorDisabled":"transparent","showArrowPaddingInlineEnd":18}},"Result":{"global":["colorInfo","colorError","colorSuccess","colorWarning","lineHeightHeading3","padding","paddingXL","paddingXS","paddingLG","marginXS","lineHeight","colorTextHeading","colorTextDescription","colorFillAlter"],"component":{"titleFontSize":24,"subtitleFontSize":14,"iconFontSize":72,"extraMargin":"24px 0 0 0"}},"Segmented":{"global":["lineWidth","lineWidthBold","colorBgLayout","controlPaddingHorizontal","controlPaddingHorizontalSM","controlHeight","controlHeightLG","controlHeightSM","colorText","fontSize","lineHeight","fontFamily","borderRadius","motionDurationMid","motionEaseInOut","borderRadiusSM","boxShadowTertiary","marginSM","paddingXXS","borderRadiusLG","fontSizeLG","borderRadiusXS","colorTextDisabled","motionDurationSlow"],"component":{"itemColor":"rgba(0, 0, 0, 0.65)","itemHoverColor":"rgba(0, 0, 0, 0.88)","itemHoverBg":"rgba(0, 0, 0, 0.06)","itemSelectedBg":"#ffffff","itemActiveBg":"rgba(0, 0, 0, 0.15)","itemSelectedColor":"rgba(0, 0, 0, 0.88)"}},"Space":{"global":["paddingXS","padding","paddingLG"],"component":{}},"Tabs":{"global":["paddingXXS","borderRadius","marginSM","marginXS","marginXXS","margin","colorBorderSecondary","lineWidth","lineType","lineWidthBold","motionDurationSlow","controlHeight","boxShadowTabsOverflowLeft","boxShadowTabsOverflowRight","boxShadowTabsOverflowTop","boxShadowTabsOverflowBottom","colorBorder","paddingLG","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","borderRadiusLG","boxShadowSecondary","paddingSM","colorTextDescription","fontSizeSM","controlItemBgHover","colorTextDisabled","motionEaseInOut","controlHeightLG","paddingXS","lineWidthFocus","colorPrimaryBorder","colorTextHeading","motionDurationMid","motionEaseOutQuint","motionEaseInQuint"],"component":{"zIndexPopup":1050,"cardBg":"rgba(0, 0, 0, 0.02)","cardHeight":40,"cardPadding":"8px 16px","cardPaddingSM":"6px 16px","cardPaddingLG":"8px 16px 6px","titleFontSize":14,"titleFontSizeLG":16,"titleFontSizeSM":14,"inkBarColor":"#1677ff","horizontalMargin":"0 0 16px 0","horizontalItemGutter":32,"horizontalItemMargin":"","horizontalItemMarginRTL":"","horizontalItemPadding":"12px 0","horizontalItemPaddingSM":"8px 0","horizontalItemPaddingLG":"16px 0","verticalItemPadding":"8px 24px","verticalItemMargin":"16px 0 0 0","itemColor":"rgba(0, 0, 0, 0.88)","itemSelectedColor":"#1677ff","itemHoverColor":"#4096ff","itemActiveColor":"#0958d9","cardGutter":2}},"Rate":{"global":["colorText","fontSize","lineHeight","fontFamily","marginXS","motionDurationMid","lineWidth"],"component":{"starColor":"#fadb14","starSize":20,"starHoverScale":"scale(1.1)","starBg":"rgba(0, 0, 0, 0.06)"}},"QRCode":{"global":["lineWidth","lineType","colorSplit","colorText","fontSize","lineHeight","fontFamily","paddingSM","colorWhite","borderRadiusLG","marginXS","controlHeight"],"component":{}},"Radio":{"global":["controlOutline","controlOutlineWidth","colorText","fontSize","lineHeight","fontFamily","colorPrimary","motionDurationSlow","motionDurationMid","motionEaseInOutCirc","colorBgContainer","colorBorder","lineWidth","colorBgContainerDisabled","colorTextDisabled","paddingXS","lineType","lineWidthFocus","colorPrimaryBorder","controlHeight","fontSizeLG","controlHeightLG","controlHeightSM","borderRadius","borderRadiusSM","borderRadiusLG","colorPrimaryHover","colorPrimaryActive"],"component":{"radioSize":16,"dotSize":8,"dotColorDisabled":"rgba(0, 0, 0, 0.25)","buttonSolidCheckedColor":"#fff","buttonSolidCheckedBg":"#1677ff","buttonSolidCheckedHoverBg":"#4096ff","buttonSolidCheckedActiveBg":"#0958d9","buttonBg":"#ffffff","buttonCheckedBg":"#ffffff","buttonColor":"rgba(0, 0, 0, 0.88)","buttonCheckedBgDisabled":"rgba(0, 0, 0, 0.15)","buttonCheckedColorDisabled":"rgba(0, 0, 0, 0.25)","buttonPaddingInline":15,"wrapperMarginInlineEnd":8,"radioColor":"#1677ff","radioBgColor":"#ffffff"}},"Anchor":{"global":["fontSize","fontSizeLG","paddingXXS","motionDurationSlow","lineWidthBold","colorPrimary","lineType","colorSplit","colorText","lineHeight","fontFamily","lineWidth"],"component":{"linkPaddingBlock":4,"linkPaddingInlineStart":16}},"Pagination":{"global":["marginXXS","controlHeightLG","marginSM","paddingXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","lineWidth","lineType","borderRadius","motionDurationMid","colorBgTextHover","colorBgTextActive","fontWeightStrong","colorPrimary","colorPrimaryHover","fontSizeSM","colorTextDisabled","margin","controlHeight","colorBgContainer","colorBorder","colorTextPlaceholder","colorBgContainerDisabled","motionDurationSlow","fontSizeLG","lineHeightLG","borderRadiusLG","borderRadiusSM","controlOutlineWidth","controlOutline","controlHeightSM","screenLG","screenSM","lineWidthFocus","colorPrimaryBorder"],"component":{"itemBg":"#ffffff","itemSize":32,"itemSizeSM":24,"itemActiveBg":"#ffffff","itemLinkBg":"#ffffff","itemActiveColorDisabled":"rgba(0, 0, 0, 0.25)","itemActiveBgDisabled":"rgba(0, 0, 0, 0.15)","itemInputBg":"#ffffff","miniOptionsSizeChangerTop":0,"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":""}},"Alert":{"global":["motionDurationSlow","marginXS","marginSM","fontSize","fontSizeLG","lineHeight","borderRadiusLG","motionEaseInOutCirc","colorText","colorTextHeading","fontFamily","colorSuccess","colorSuccessBorder","colorSuccessBg","colorWarning","colorWarningBorder","colorWarningBg","colorError","colorErrorBorder","colorErrorBg","colorInfo","colorInfoBorder","colorInfoBg","lineWidth","lineType","motionDurationMid","fontSizeIcon","colorIcon","colorIconHover"],"component":{"withDescriptionIconSize":24,"defaultPadding":"8px 12px","withDescriptionPadding":"20px 24px"}},"Progress":{"global":["marginXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","paddingXS","motionDurationSlow","motionEaseInOutCirc","colorSuccess","colorBgContainer","motionEaseOutQuint","colorError","fontSizeSM"],"component":{"circleTextColor":"rgba(0, 0, 0, 0.88)","defaultColor":"#1677ff","remainingColor":"rgba(0, 0, 0, 0.06)","lineBorderRadius":100,"circleTextFontSize":"1em","circleIconFontSize":"1.1666666666666667em"}},"Modal":{"global":["padding","fontSizeHeading5","lineHeightHeading5","colorSplit","lineType","lineWidth","colorIconHover","colorIcon","fontHeight","screenSMMax","marginXS","colorText","fontSize","lineHeight","fontFamily","margin","paddingLG","fontWeightStrong","borderRadiusLG","boxShadow","zIndexPopupBase","borderRadiusSM","motionDurationMid","fontSizeLG","lineWidthFocus","colorPrimaryBorder","motionDurationSlow","colorBgMask","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"footerBg":"transparent","headerBg":"#ffffff","titleLineHeight":1.5,"titleFontSize":16,"contentBg":"#ffffff","titleColor":"rgba(0, 0, 0, 0.88)","closeBtnHoverBg":"transparent","closeBtnActiveBg":"transparent","contentPadding":0,"headerPadding":"16px 24px","headerBorderBottom":"1px solid rgba(5, 5, 5, 0.06)","headerMarginBottom":0,"bodyPadding":24,"footerPadding":"8px 16px","footerBorderTop":"1px solid rgba(5, 5, 5, 0.06)","footerBorderRadius":"0 0 8px 8px","footerMarginTop":0,"confirmBodyPadding":"32px 32px 24px","confirmIconMarginInlineEnd":16,"confirmBtnsMarginTop":24}},"Popover":{"global":["colorBgElevated","colorText","fontWeightStrong","boxShadowSecondary","colorTextHeading","borderRadiusLG","fontSize","lineHeight","fontFamily","boxShadowPopoverArrow","sizePopupArrow","borderRadiusXS","blue6","purple6","cyan6","green6","magenta6","pink6","red6","orange6","yellow6","volcano6","geekblue6","lime6","gold6","motionDurationMid","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"titleMinWidth":177,"zIndexPopup":1030,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)","arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"innerPadding":0,"titleMarginBottom":0,"titlePadding":"5px 16px 4px","titleBorderBottom":"1px solid rgba(5, 5, 5, 0.06)","innerContentPadding":"12px 16px"}},"Menu":{"global":["colorBgElevated","colorPrimary","colorTextLightSolid","controlHeightLG","fontSize","motionDurationSlow","motionDurationMid","motionEaseInOut","paddingXS","padding","colorSplit","lineWidth","borderRadiusLG","lineType","colorText","lineHeight","fontFamily","motionEaseOut","borderRadius","margin","paddingXL","fontSizeLG","boxShadowSecondary","marginXS","lineWidthFocus","colorPrimaryBorder","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"dropdownWidth":160,"zIndexPopup":1050,"radiusItem":8,"itemBorderRadius":8,"radiusSubMenuItem":4,"subMenuItemBorderRadius":4,"colorItemText":"rgba(0, 0, 0, 0.88)","itemColor":"rgba(0, 0, 0, 0.88)","colorItemTextHover":"rgba(0, 0, 0, 0.88)","itemHoverColor":"rgba(0, 0, 0, 0.88)","colorItemTextHoverHorizontal":"#1677ff","horizontalItemHoverColor":"#1677ff","colorGroupTitle":"rgba(0, 0, 0, 0.45)","groupTitleColor":"rgba(0, 0, 0, 0.45)","colorItemTextSelected":"#1677ff","itemSelectedColor":"#1677ff","colorItemTextSelectedHorizontal":"#1677ff","horizontalItemSelectedColor":"#1677ff","colorItemBg":"#ffffff","itemBg":"#ffffff","colorItemBgHover":"rgba(0, 0, 0, 0.06)","itemHoverBg":"rgba(0, 0, 0, 0.06)","colorItemBgActive":"rgba(0, 0, 0, 0.06)","itemActiveBg":"#e6f4ff","colorSubItemBg":"rgba(0, 0, 0, 0.02)","subMenuItemBg":"rgba(0, 0, 0, 0.02)","colorItemBgSelected":"#e6f4ff","itemSelectedBg":"#e6f4ff","colorItemBgSelectedHorizontal":"transparent","horizontalItemSelectedBg":"transparent","colorActiveBarWidth":0,"activeBarWidth":0,"colorActiveBarHeight":2,"activeBarHeight":2,"colorActiveBarBorderSize":1,"activeBarBorderWidth":1,"colorItemTextDisabled":"rgba(0, 0, 0, 0.25)","itemDisabledColor":"rgba(0, 0, 0, 0.25)","colorDangerItemText":"#ff4d4f","dangerItemColor":"#ff4d4f","colorDangerItemTextHover":"#ff4d4f","dangerItemHoverColor":"#ff4d4f","colorDangerItemTextSelected":"#ff4d4f","dangerItemSelectedColor":"#ff4d4f","colorDangerItemBgActive":"#fff2f0","dangerItemActiveBg":"#fff2f0","colorDangerItemBgSelected":"#fff2f0","dangerItemSelectedBg":"#fff2f0","itemMarginInline":4,"horizontalItemBorderRadius":0,"horizontalItemHoverBg":"transparent","itemHeight":40,"groupTitleLineHeight":1.5714285714285714,"collapsedWidth":80,"popupBg":"#ffffff","itemMarginBlock":4,"itemPaddingInline":16,"horizontalLineHeight":"46px","iconSize":14,"iconMarginInlineEnd":10,"collapsedIconSize":16,"groupTitleFontSize":14,"darkItemDisabledColor":"rgba(255, 255, 255, 0.25)","darkItemColor":"rgba(255, 255, 255, 0.65)","darkDangerItemColor":"#ff4d4f","darkItemBg":"#001529","darkPopupBg":"#001529","darkSubMenuItemBg":"#000c17","darkItemSelectedColor":"#fff","darkItemSelectedBg":"#1677ff","darkDangerItemSelectedBg":"#ff4d4f","darkItemHoverBg":"transparent","darkGroupTitleColor":"rgba(255, 255, 255, 0.65)","darkItemHoverColor":"#fff","darkDangerItemHoverColor":"#ff7875","darkDangerItemSelectedColor":"#fff","darkDangerItemActiveBg":"#ff4d4f","itemWidth":"calc(100% - 8px)"}},"Mentions":{"global":["paddingXXS","colorTextDisabled","controlItemBgHover","controlPaddingHorizontal","colorText","motionDurationSlow","lineHeight","controlHeight","fontSize","colorBgElevated","borderRadius","borderRadiusLG","boxShadowSecondary","fontFamily","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationMid","colorTextPlaceholder","colorBgContainerDisabled","fontSizeLG","lineHeightLG","borderRadiusSM","colorError","colorWarning","colorErrorBorderHover","colorWarningBorderHover","fontWeightStrong"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","dropdownHeight":250,"controlItemWidth":100,"zIndexPopup":1050,"itemPaddingVertical":5}},"Notification":{"global":["paddingMD","paddingLG","colorBgElevated","fontSizeLG","lineHeightLG","controlHeightLG","margin","paddingContentHorizontalLG","marginLG","motionDurationMid","motionEaseInOut","colorText","fontSize","lineHeight","fontFamily","boxShadow","borderRadiusLG","colorSuccess","colorInfo","colorWarning","colorError","colorTextHeading","marginXS","marginSM","colorIcon","borderRadiusSM","colorIconHover","motionDurationSlow","colorBgBlur"],"component":{"zIndexPopup":2050,"width":384,"closeBtnHoverBg":"transparent"}},"Popconfirm":{"global":["colorText","colorWarning","marginXXS","marginXS","fontSize","fontWeightStrong","colorTextHeading"],"component":{"zIndexPopup":1060}},"List":{"global":["controlHeightLG","controlHeight","paddingSM","marginLG","padding","colorPrimary","paddingXS","margin","colorText","colorTextDescription","motionDurationSlow","lineWidth","fontSize","lineHeight","fontFamily","marginXXS","marginXXL","fontHeight","colorSplit","fontSizeSM","colorTextDisabled","fontSizeLG","lineHeightLG","lineType","paddingLG","borderRadiusLG","colorBorder","screenSM","screenMD","marginSM"],"component":{"contentWidth":220,"itemPadding":"12px 0","itemPaddingSM":"8px 16px","itemPaddingLG":"16px 24px","headerBg":"transparent","footerBg":"transparent","emptyTextPadding":16,"metaMarginBottom":16,"avatarMarginRight":16,"titleMarginBottom":12,"descriptionFontSize":14}},"Message":{"global":["boxShadow","colorText","colorSuccess","colorError","colorWarning","colorInfo","fontSizeLG","motionEaseInOutCirc","motionDurationSlow","marginXS","paddingXS","borderRadiusLG","fontSize","lineHeight","fontFamily"],"component":{"zIndexPopup":2010,"contentBg":"#ffffff","contentPadding":"9px 12px"}},"Layout":{"global":["colorText","motionDurationMid","motionDurationSlow","fontSize","borderRadius","fontSizeXL"],"component":{"colorBgHeader":"#001529","colorBgBody":"#f5f5f5","colorBgTrigger":"#002140","bodyBg":"#f5f5f5","headerBg":"#001529","headerHeight":64,"headerPadding":"0 50px","headerColor":"rgba(0, 0, 0, 0.88)","footerPadding":"24px 50px","footerBg":"#f5f5f5","siderBg":"#001529","triggerHeight":48,"triggerBg":"#002140","triggerColor":"#fff","zeroTriggerWidth":40,"zeroTriggerHeight":40,"lightSiderBg":"#ffffff","lightTriggerBg":"#ffffff","lightTriggerColor":"rgba(0, 0, 0, 0.88)"}},"Image":{"global":["controlHeightLG","colorBgContainerDisabled","motionDurationSlow","paddingXXS","marginXXS","colorTextLightSolid","motionEaseOut","paddingSM","marginXL","margin","paddingLG","marginSM","zIndexPopupBase","colorBgMask","motionDurationMid","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"zIndexPopup":1080,"previewOperationColor":"rgba(255, 255, 255, 0.65)","previewOperationHoverColor":"rgba(255, 255, 255, 0.85)","previewOperationColorDisabled":"rgba(255, 255, 255, 0.25)","previewOperationSize":18}},"Form":{"global":["colorText","fontSize","lineHeight","fontFamily","marginLG","colorTextDescription","fontSizeLG","lineWidth","lineType","colorBorder","controlOutlineWidth","controlOutline","paddingSM","controlHeightSM","controlHeightLG","colorError","colorWarning","marginXXS","controlHeight","motionDurationMid","motionEaseOut","motionEaseOutBack","colorSuccess","colorPrimary","motionDurationSlow","motionEaseInOut","margin","screenXSMax","screenSMMax","screenMDMax","screenLGMax"],"component":{"labelRequiredMarkColor":"#ff4d4f","labelColor":"rgba(0, 0, 0, 0.88)","labelFontSize":14,"labelHeight":32,"labelColonMarginInlineStart":2,"labelColonMarginInlineEnd":8,"itemMarginBottom":24,"verticalLabelPadding":"0 0 8px","verticalLabelMargin":0}},"FloatButton":{"global":["colorTextLightSolid","colorBgElevated","controlHeightLG","marginXXL","marginLG","fontSize","fontSizeIcon","controlItemBgHover","paddingXXS","margin","borderRadiusLG","borderRadiusSM","colorText","lineHeight","fontFamily","lineWidth","lineType","colorSplit","boxShadowSecondary","motionDurationMid","colorFillContent","fontSizeLG","fontSizeSM","colorPrimary","colorPrimaryHover","motionDurationSlow","motionEaseInOutCirc"],"component":{"dotOffsetInCircle":5.857864376269049,"dotOffsetInSquare":2.3431457505076194}},"Flex":{"global":["paddingXS","padding","paddingLG"],"component":{}},"Empty":{"global":["controlHeightLG","margin","marginXS","marginXL","fontSize","lineHeight","opacityImage","colorText","colorTextDisabled"],"component":{}},"Input":{"global":["paddingXXS","controlHeightSM","lineWidth","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","lineType","colorBorder","borderRadius","motionDurationMid","colorTextPlaceholder","colorTextDisabled","colorBgContainerDisabled","controlHeight","motionDurationSlow","fontSizeLG","lineHeightLG","borderRadiusLG","borderRadiusSM","colorError","colorWarning","colorErrorBorderHover","colorWarningBorderHover","controlHeightLG","paddingLG","colorTextDescription","paddingXS","colorIcon","colorIconHover","colorTextQuaternary","fontSizeIcon","colorTextTertiary","colorPrimary","colorPrimaryHover","colorPrimaryActive"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":""}},"InputNumber":{"global":["paddingXXS","lineWidth","lineType","colorBorder","borderRadius","fontSizeLG","controlHeightLG","controlHeightSM","colorError","colorTextDescription","motionDurationMid","colorTextDisabled","borderRadiusSM","borderRadiusLG","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","colorTextPlaceholder","colorBgContainerDisabled","controlHeight","motionDurationSlow","lineHeightLG","colorWarning","colorErrorBorderHover","colorWarningBorderHover","paddingXS","colorPrimary"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","controlWidth":90,"handleWidth":22,"handleFontSize":7,"handleVisible":"auto","handleActiveBg":"rgba(0, 0, 0, 0.02)","handleBg":"#ffffff","handleHoverColor":"#1677ff","handleBorderColor":"#d9d9d9","handleOpacity":0}},"Dropdown":{"global":["marginXXS","sizePopupArrow","paddingXXS","motionDurationMid","fontSize","colorTextDisabled","fontSizeIcon","controlPaddingHorizontal","colorBgElevated","colorText","lineHeight","fontFamily","boxShadowPopoverArrow","borderRadiusXS","borderRadiusLG","boxShadowSecondary","lineWidthFocus","colorPrimaryBorder","colorTextDescription","marginXS","fontSizeSM","borderRadiusSM","controlItemBgHover","colorPrimary","controlItemBgActive","controlItemBgActiveHover","colorSplit","paddingXS","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorError","colorTextLightSolid"],"component":{"zIndexPopup":1050,"paddingBlock":5,"arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Divider":{"global":["margin","marginLG","colorSplit","lineWidth","colorText","fontSize","lineHeight","fontFamily","colorTextHeading","fontSizeLG"],"component":{"textPaddingInline":"1em","orientationMargin":0.05,"verticalMarginInline":8}},"DatePicker":{"global":["paddingXXS","controlHeightLG","padding","controlHeight","colorBgContainer","lineWidth","lineType","colorBorder","borderRadius","motionDurationMid","colorBgContainerDisabled","colorTextDisabled","colorTextPlaceholder","fontSizeLG","controlHeightSM","paddingXS","marginXS","colorTextDescription","lineWidthBold","colorPrimary","motionDurationSlow","paddingSM","colorPrimaryBorder","sizePopupArrow","colorBgElevated","borderRadiusLG","boxShadowSecondary","borderRadiusSM","colorSplit","boxShadowPopoverArrow","colorTextQuaternary","fontHeight","fontHeightLG","lineHeightLG","colorText","fontSize","lineHeight","fontFamily","colorTextHeading","colorIcon","colorIconHover","fontWeightStrong","colorLink","colorLinkActive","colorLinkHover","colorTextLightSolid","controlItemBgActive","marginXXS","colorTextTertiary","borderRadiusXS","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorError","colorWarning","colorErrorHover","colorWarningHover"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","cellHoverBg":"rgba(0, 0, 0, 0.04)","cellActiveWithRangeBg":"#e6f4ff","cellHoverWithRangeBg":"#c8dfff","cellRangeBorderColor":"#7cb3ff","cellBgDisabled":"rgba(0, 0, 0, 0.04)","timeColumnWidth":56,"timeColumnHeight":224,"timeCellHeight":28,"cellWidth":36,"cellHeight":24,"textHeight":40,"withoutTimeCellHeight":66,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)","presetsWidth":120,"presetsMaxWidth":200,"zIndexPopup":1050}},"Descriptions":{"global":["colorText","fontSize","lineHeight","fontFamily","lineWidth","lineType","colorSplit","padding","paddingLG","colorTextSecondary","paddingSM","paddingXS","fontWeightStrong","fontSizeLG","lineHeightLG","borderRadiusLG","colorTextTertiary"],"component":{"labelBg":"rgba(0, 0, 0, 0.02)","titleColor":"rgba(0, 0, 0, 0.88)","titleMarginBottom":20,"itemPaddingBottom":16,"colonMarginRight":8,"colonMarginLeft":2,"contentColor":"rgba(0, 0, 0, 0.88)","extraColor":"rgba(0, 0, 0, 0.88)"}},"Drawer":{"global":["colorBgMask","colorBgElevated","motionDurationSlow","motionDurationMid","padding","paddingLG","fontSizeLG","lineHeightLG","lineWidth","lineType","colorSplit","marginSM","colorIcon","colorIconHover","colorText","fontWeightStrong","boxShadowDrawerLeft","boxShadowDrawerRight","boxShadowDrawerUp","boxShadowDrawerDown"],"component":{"zIndexPopup":1000,"footerPaddingBlock":8,"footerPaddingInline":16}},"ColorPicker":{"global":["colorTextQuaternary","marginSM","colorPrimary","motionDurationMid","colorBgElevated","colorTextDisabled","colorText","colorBgContainerDisabled","borderRadius","marginXS","controlHeight","controlHeightSM","colorBgTextActive","lineWidth","colorBorder","paddingXXS","fontSize","colorPrimaryHover","controlOutline","controlHeightLG","borderRadiusSM","colorFillSecondary","lineWidthBold","fontSizeSM","lineHeightSM","marginXXS","fontSizeIcon","paddingXS","colorTextPlaceholder","colorFill","colorWhite","fontHeightSM","motionEaseInBack","motionDurationFast","motionEaseOutBack","colorSplit","red6","controlOutlineWidth","colorError","colorWarning","colorErrorHover","colorWarningHover","colorErrorOutline","colorWarningOutline","controlHeightXS","borderRadiusXS","borderRadiusLG","fontSizeLG"],"component":{}},"Cascader":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled","colorSplit","controlItemBgHover","paddingXXS","colorTextDescription","fontSizeIcon","colorHighlight"],"component":{"controlWidth":184,"controlItemWidth":111,"dropdownHeight":180,"optionSelectedBg":"#e6f4ff","optionSelectedFontWeight":600,"optionPadding":"5px 12px","menuPadding":4}},"Grid":{"global":[],"component":{}},"Collapse":{"global":["paddingXS","paddingSM","padding","paddingLG","borderRadiusLG","lineWidth","lineType","colorBorder","colorText","colorTextHeading","colorTextDisabled","fontSizeLG","lineHeight","lineHeightLG","marginSM","motionDurationSlow","fontSizeIcon","fontHeight","fontHeightLG","fontSize","fontFamily","paddingXXS","motionDurationMid","motionEaseInOut"],"component":{"headerPadding":"12px 16px","headerBg":"rgba(0, 0, 0, 0.02)","contentPadding":"16px 16px","contentBg":"#ffffff"}},"Carousel":{"global":["controlHeightLG","controlHeightSM","marginXXS","colorText","fontSize","lineHeight","fontFamily","motionDurationSlow","colorBgContainer"],"component":{"dotWidth":16,"dotHeight":3,"dotWidthActive":24,"dotActiveWidth":24}},"Button":{"global":["lineWidth","lineType","motionDurationMid","motionEaseInOut","lineHeight","colorText","marginXS","lineWidthFocus","colorPrimaryBorder","controlHeightSM","paddingXS","borderRadiusSM","opacityLoading","motionDurationSlow","controlHeight","borderRadius","controlHeightLG","borderRadiusLG","colorTextDisabled","colorBgContainerDisabled","colorPrimaryHover","colorPrimaryActive","colorBorder","colorError","colorErrorHover","colorErrorBorderHover","colorErrorActive","colorPrimary","colorTextLightSolid","colorLink","colorLinkHover","colorLinkActive","colorBgTextActive","colorErrorBg","colorBgContainer","fontSize"],"component":{"fontWeight":400,"defaultShadow":"0 2px 0 rgba(0, 0, 0, 0.02)","primaryShadow":"0 2px 0 rgba(5, 145, 255, 0.1)","dangerShadow":"0 2px 0 rgba(255, 38, 5, 0.06)","primaryColor":"#fff","dangerColor":"#fff","borderColorDisabled":"#d9d9d9","defaultGhostColor":"#ffffff","ghostBg":"transparent","defaultGhostBorderColor":"#ffffff","paddingInline":15,"paddingInlineLG":15,"paddingInlineSM":7,"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":6.428571428571429,"onlyIconSize":16,"onlyIconSizeSM":14,"onlyIconSizeLG":18,"groupBorderColor":"#4096ff","linkHoverBg":"transparent","textHoverBg":"rgba(0, 0, 0, 0.06)","defaultColor":"rgba(0, 0, 0, 0.88)","defaultBg":"#ffffff","defaultBorderColor":"#d9d9d9","defaultBorderColorDisabled":"#d9d9d9","contentFontSize":14,"contentFontSizeSM":14,"contentFontSizeLG":16}},"Calendar":{"global":["controlHeightLG","paddingXXS","padding","controlHeightSM","fontHeightSM","marginXS","lineWidth","paddingSM","paddingXS","colorBgContainer","lineType","borderRadiusLG","colorPrimary","colorTextHeading","colorSplit","colorIcon","motionDurationMid","colorIconHover","fontWeightStrong","colorTextDisabled","colorText","fontSize","motionDurationSlow","colorLink","colorLinkActive","colorLinkHover","borderRadiusSM","colorTextLightSolid","controlItemBgActive","marginXXS","colorTextTertiary","lineHeight","fontFamily","controlItemBgHover","lineWidthBold","screenXS"],"component":{"fullBg":"#ffffff","fullPanelBg":"#ffffff","itemActiveBg":"#e6f4ff","yearControlWidth":80,"monthControlWidth":70,"miniContentHeight":256,"cellHoverBg":"rgba(0, 0, 0, 0.04)","cellActiveWithRangeBg":"#e6f4ff","cellHoverWithRangeBg":"#c8dfff","cellRangeBorderColor":"#7cb3ff","cellBgDisabled":"rgba(0, 0, 0, 0.04)","timeColumnWidth":56,"timeColumnHeight":224,"timeCellHeight":28,"cellWidth":36,"cellHeight":24,"textHeight":40,"withoutTimeCellHeight":66}},"Card":{"global":["boxShadowCard","padding","paddingLG","fontSize","colorBorderSecondary","boxShadowTertiary","colorText","lineHeight","fontFamily","colorBgContainer","borderRadiusLG","colorTextHeading","fontWeightStrong","lineWidth","lineType","motionDurationMid","colorTextDescription","colorPrimary","fontHeight","marginXXS","marginXS","fontSizeLG","colorFillAlter"],"component":{"headerBg":"transparent","headerFontSize":16,"headerFontSizeSM":14,"headerHeight":56,"headerHeightSM":38,"actionsBg":"#ffffff","actionsLiMargin":"12px 0","tabsMarginBottom":-17,"extraColor":"rgba(0, 0, 0, 0.88)"}},"Checkbox":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled"],"component":{}},"BackTop":{"global":["fontSizeHeading3","colorTextDescription","colorTextLightSolid","colorText","controlHeightLG","fontSize","lineHeight","fontFamily","motionDurationMid","screenMD","screenXS"],"component":{"zIndexPopup":10}},"Badge":{"global":["fontHeight","lineWidth","marginXS","colorBorderBg","colorBgContainer","colorError","colorErrorHover","motionDurationSlow","blue1","blue3","blue6","blue7","purple1","purple3","purple6","purple7","cyan1","cyan3","cyan6","cyan7","green1","green3","green6","green7","magenta1","magenta3","magenta6","magenta7","pink1","pink3","pink6","pink7","red1","red3","red6","red7","orange1","orange3","orange6","orange7","yellow1","yellow3","yellow6","yellow7","volcano1","volcano3","volcano6","volcano7","geekblue1","geekblue3","geekblue6","geekblue7","lime1","lime3","lime6","lime7","gold1","gold3","gold6","gold7","colorText","fontSize","lineHeight","fontFamily","motionDurationMid","paddingXS","colorSuccess","colorPrimary","colorTextPlaceholder","colorWarning","motionEaseOutBack"],"component":{"indicatorZIndex":"auto","indicatorHeight":20,"indicatorHeightSM":14,"dotSize":6,"textFontSize":12,"textFontSizeSM":12,"textFontWeight":"normal","statusSize":6}},"Avatar":{"global":["colorTextLightSolid","colorTextPlaceholder","borderRadius","borderRadiusLG","borderRadiusSM","lineWidth","lineType","colorText","fontSize","lineHeight","fontFamily"],"component":{"containerSize":32,"containerSizeLG":40,"containerSizeSM":24,"textFontSize":18,"textFontSizeLG":24,"textFontSizeSM":14,"groupSpace":4,"groupOverlapping":-8,"groupBorderColor":"#ffffff"}},"App":{"global":["colorText","fontSize","lineHeight","fontFamily"],"component":{}},"Affix":{"global":[],"component":{"zIndexPopup":10}},"Breadcrumb":{"global":["colorText","fontSize","lineHeight","fontFamily","motionDurationMid","paddingXXS","borderRadiusSM","fontHeight","marginXXS","colorBgTextHover","lineWidthFocus","colorPrimaryBorder","fontSizeIcon"],"component":{"itemColor":"rgba(0, 0, 0, 0.45)","lastItemColor":"rgba(0, 0, 0, 0.88)","iconFontSize":14,"linkColor":"rgba(0, 0, 0, 0.45)","linkHoverColor":"rgba(0, 0, 0, 0.88)","separatorColor":"rgba(0, 0, 0, 0.45)","separatorMargin":8}}}');function aK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aK(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aK(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a0={},a1=function(e){var t;return!a0[e]&&(a0[e]=Object.entries(aQ).filter(function(t){return aJ(t,2)[1].global.includes(e)}).map(function(e){return aJ(e,1)[0]})),null!==(t=a0[e])&&void 0!==t?t:[]},a2=function(e){return Array.from(new Set((Array.isArray(e)?e:[e]).reduce(function(e,t){return e.concat(a1(t))},[])))},a3=function(e){return e?"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAAZUlEQVRIDe2VMQoAMAgDa9/g/1/oIzrpZBCh2dLFkkoDF0Fz99OdiOjks+2/7S8fRRmMMIVoRGSoYzvvqF8ZIMKlC1GhQBc6IkPzq32QmdAzkEGihpWOSPsAss8HegYySNSw0hE9WQ4StafZFqkAAAAASUVORK5CYII=)":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==)"};function a6(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a5(e,t,r[t])})}return e}var a4=L("ColorPreview",function(){return{".previewer-color-preview":{width:20,height:20,position:"relative",borderRadius:"50%",padding:0,display:"inline-block","&::before":{content:'""',width:"100%",height:"100%",borderRadius:"50%",top:0,insetInlineStart:0,position:"absolute",zIndex:2,backgroundColor:"var(--antd-token-previewer-color-preview)",boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)"}}}}),a7=function(e){var t,r,n,o,a=e.color,l=e.style,i=e.className,c=e.dark,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++){if(r=a[n],!(t.indexOf(r)>=0))Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}(e,["color","style","className","dark"]);var u=(t=a4(),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return a6(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a6(e,t)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],m=u[1];return d(b().createElement("div",(n=a8({},s),o=(o={className:z()("previewer-color-preview",i,m),style:a8(a5({},"--antd-token-previewer-color-preview",a),l)},o),Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n),b().createElement("div",{style:{content:'""',width:18,height:18,borderRadius:"50%",top:1,insetInlineStart:1,position:"absolute",zIndex:1,background:"".concat(a3(c)," 0% 0% / 20px")}})))};let a9=(e,t=0)=>{let r=(0,y.useRef)(0),n=(0,y.useCallback)((...n)=>{cancelAnimationFrame(r.current);let o=performance.now(),a=l=>{l-o<t?r.current=requestAnimationFrame(a):e(...n)};r.current=requestAnimationFrame(a)},[e,t]);return(0,y.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),n};function le(){return(le=Object.assign||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}).apply(this,arguments)}function lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}function lr(e){var t=(0,y.useRef)(e),r=(0,y.useRef)(function(e){t.current&&t.current(e)});return t.current=e,r.current}var ln=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},lo=function(e){return"touches"in e},la=function(e){return e&&e.ownerDocument.defaultView||self},ll=function(e,t,r){var n=e.getBoundingClientRect(),o=lo(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:ln((o.pageX-(n.left+la(e).pageXOffset))/n.width),top:ln((o.pageY-(n.top+la(e).pageYOffset))/n.height)}},li=function(e){lo(e)||e.preventDefault()},lc=y.memo(function(e){var t=e.onMove,r=e.onKey,n=lt(e,["onMove","onKey"]),o=(0,y.useRef)(null),a=lr(t),l=lr(r),i=(0,y.useRef)(null),c=(0,y.useRef)(!1),s=(0,y.useMemo)(function(){var e=function(e){li(e),(lo(e)?e.touches.length>0:e.buttons>0)&&o.current?a(ll(o.current,e,i.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=c.current,a=la(o.current),l=r?a.addEventListener:a.removeEventListener;l(n?"touchmove":"mousemove",e),l(n?"touchend":"mouseup",t)}return[function(e){var t,n=e.nativeEvent,l=o.current;if(l&&(li(n),t=n,(!c.current||lo(t))&&l)){if(lo(n)){c.current=!0;var s=n.changedTouches||[];s.length&&(i.current=s[0].identifier)}l.focus(),a(ll(l,n,i.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),l({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]},[l,a]),u=s[0],d=s[1],m=s[2];return(0,y.useEffect)(function(){return m},[m]),y.createElement("div",le({},n,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))}),ls=function(e){return e.filter(Boolean).join(" ")},lu=function(e){var t=e.color,r=e.left,n=e.top,o=ls(["react-colorful__pointer",e.className]);return y.createElement("div",{className:o,style:{top:100*(void 0===n?.5:n)+"%",left:100*r+"%"}},y.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ld=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},lm=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?ld(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?ld(parseInt(e.substring(6,8),16)/255,2):1}},lf=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:ld(e.h),s:ld(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:ld(o/2),a:ld(n,2)}},lp=function(e){var t=lf(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},lg=function(e){var t=lf(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},lh=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),l=n*(1-r),i=n*(1-(t-a)*r),c=n*(1-(1-t+a)*r),s=a%6;return{r:ld(255*[n,i,l,l,c,n][s]),g:ld(255*[c,n,n,i,l,l][s]),b:ld(255*[l,l,c,n,n,i][s]),a:ld(o,2)}},ly=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},lb=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?ly(ld(255*o)):"";return"#"+ly(t)+ly(r)+ly(n)+a},lv=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),l=a-Math.min(t,r,n),i=l?a===t?(r-n)/l:a===r?2+(n-t)/l:4+(t-r)/l:0;return{h:ld(60*(i<0?i+6:i)),s:ld(a?l/a*100:0),v:ld(a/255*100),a:o}},lE=y.memo(function(e){var t=e.hue,r=e.onChange,n=ls(["react-colorful__hue",e.className]);return y.createElement("div",{className:n},y.createElement(lc,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:ln(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":ld(t),"aria-valuemax":"360","aria-valuemin":"0"},y.createElement(lu,{className:"react-colorful__hue-pointer",left:t/360,color:lp({h:t,s:100,v:100,a:1})})))}),lS=y.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:lp({h:t.h,s:100,v:100,a:1})};return y.createElement("div",{className:"react-colorful__saturation",style:n},y.createElement(lc,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:ln(t.s+100*e.left,0,100),v:ln(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ld(t.s)+"%, Brightness "+ld(t.v)+"%"},y.createElement(lu,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:lp(t)})))}),lk=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0};function lx(e,t,r){var n=lr(r),o=(0,y.useState)(function(){return e.toHsva(t)}),a=o[0],l=o[1],i=(0,y.useRef)({color:t,hsva:a});return(0,y.useEffect)(function(){if(!e.equal(t,i.current.color)){var r=e.toHsva(t);i.current={hsva:r,color:t},l(r)}},[t,e]),(0,y.useEffect)(function(){var t;lk(a,i.current.hsva)||e.equal(t=e.fromHsva(a),i.current.color)||(i.current={hsva:a,color:t},n(t))},[a,e,n]),[a,(0,y.useCallback)(function(e){l(function(t){return Object.assign({},t,e)})},[])]}var lw,lC,lT,lA,lB,lO,lP,lI,lM="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,lH=new Map,lz=function(e){lM(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!lH.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',lH.set(t,r);var n=lI||d.nc;n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},lD=function(e){var t=e.className,r=e.colorModel,n=e.color,o=void 0===n?r.defaultColor:n,a=e.onChange,l=lt(e,["className","colorModel","color","onChange"]),i=(0,y.useRef)(null);lz(i);var c=lx(r,o,a),s=c[0],u=c[1],d=ls(["react-colorful",t]);return y.createElement("div",le({},l,{ref:i,className:d}),y.createElement(lS,{hsva:s,onChange:u}),y.createElement(lE,{hue:s.h,onChange:u,className:"react-colorful__last-control"}))},lj={defaultColor:"000",toHsva:function(e){return lv(lm(e))},fromHsva:function(e){return lb(lh({h:e.h,s:e.s,v:e.v,a:1}))},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||lk(lm(e),lm(t))}},lL=function(e){return y.createElement(lD,le({},e,{colorModel:lj}))},lR=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+lg(Object.assign({},r,{a:0}))+", "+lg(Object.assign({},r,{a:1}))+")"},a=ls(["react-colorful__alpha",t]),l=ld(100*r.a);return y.createElement("div",{className:a},y.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),y.createElement(lc,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:ln(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},y.createElement(lu,{className:"react-colorful__alpha-pointer",left:r.a,color:lg(r)})))},lF=function(e){var t=e.className,r=e.colorModel,n=e.color,o=void 0===n?r.defaultColor:n,a=e.onChange,l=lt(e,["className","colorModel","color","onChange"]),i=(0,y.useRef)(null);lz(i);var c=lx(r,o,a),s=c[0],u=c[1],d=ls(["react-colorful",t]);return y.createElement("div",le({},l,{ref:i,className:d}),y.createElement(lS,{hsva:s,onChange:u}),y.createElement(lE,{hue:s.h,onChange:u}),y.createElement(lR,{hsva:s,onChange:u,className:"react-colorful__last-control"}))},lW={defaultColor:{r:0,g:0,b:0,a:1},toHsva:lv,fromHsva:lh,equal:lk},l_=function(e){return y.createElement(lF,le({},e,{colorModel:lW}))};function lN(e){return(lN="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)}var lX=/^\s+/,lG=/\s+$/;function lU(e,t){if(t=t||{},(e=e||"")instanceof lU)return e;if(!(this instanceof lU))return new lU(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,l=!1,i=!1;return"string"==typeof e&&(e=function(e){e=e.replace(lX,"").replace(lG,"").toLowerCase();var t,r=!1;if(l7[e])e=l7[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=is.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=is.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=is.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=is.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=is.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=is.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=is.hex8.exec(e))return{r:io(t[1]),g:io(t[2]),b:io(t[3]),a:io(t[4])/255,format:r?"name":"hex8"};if(t=is.hex6.exec(e))return{r:io(t[1]),g:io(t[2]),b:io(t[3]),format:r?"name":"hex"};if(t=is.hex4.exec(e))return{r:io(t[1]+""+t[1]),g:io(t[2]+""+t[2]),b:io(t[3]+""+t[3]),a:io(t[4]+""+t[4])/255,format:r?"name":"hex8"};return!!(t=is.hex3.exec(e))&&{r:io(t[1]+""+t[1]),g:io(t[2]+""+t[2]),b:io(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==lN(e)&&(iu(e.r)&&iu(e.g)&&iu(e.b)?(t=function(e,t,r){return{r:255*it(e,255),g:255*it(t,255),b:255*it(r,255)}}(e.r,e.g,e.b),l=!0,i="%"===String(e.r).substr(-1)?"prgb":"rgb"):iu(e.h)&&iu(e.s)&&iu(e.v)?(n=il(e.s),o=il(e.v),t=function(e,t,r){e=6*it(e,360),t=it(t,100),r=it(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),l=r*(1-o*t),i=r*(1-(1-o)*t),c=n%6;return{r:255*[r,l,a,a,i,r][c],g:255*[i,r,r,l,a,a][c],b:255*[a,a,i,r,r,l][c]}}(e.h,n,o),l=!0,i="hsv"):iu(e.h)&&iu(e.s)&&iu(e.l)&&(n=il(e.s),a=il(e.l),t=function(e,t,r){var n,o,a;function l(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=it(e,360),t=it(t,100),r=it(r,100),0===t)n=o=a=r;else{var i=r<.5?r*(1+t):r+t-r*t,c=2*r-i;n=l(c,i,e+1/3),o=l(c,i,e),a=l(c,i,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,n,a),l=!0,i="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=ie(r),{ok:l,format:e.format||i,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}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.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._ok=r.ok}lU.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n,o,a,l=this.toRgb();return e=l.r/255,t=l.g/255,r=l.b/255,.2126*(n=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(a=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=ie(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=lq(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=lq(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=l$(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l$(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return lY(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var a=[ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16)),ia(ii(n))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*it(this._r,255))+"%",g:Math.round(100*it(this._g,255))+"%",b:Math.round(100*it(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*it(this._r,255))+"%, "+Math.round(100*it(this._g,255))+"%, "+Math.round(100*it(this._b,255))+"%)":"rgba("+Math.round(100*it(this._r,255))+"%, "+Math.round(100*it(this._g,255))+"%, "+Math.round(100*it(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(l9[lY(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+lV(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=lU(e);r="#"+lV(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;if(!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e))return"name"===e&&0===this._a?this.toName():this.toRgbString();return"rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()},clone:function(){return lU(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(lJ,arguments)},brighten:function(){return this._applyModification(l0,arguments)},darken:function(){return this._applyModification(l1,arguments)},desaturate:function(){return this._applyModification(lZ,arguments)},saturate:function(){return this._applyModification(lQ,arguments)},greyscale:function(){return this._applyModification(lK,arguments)},spin:function(){return this._applyModification(l2,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(l8,arguments)},complement:function(){return this._applyCombination(l3,arguments)},monochromatic:function(){return this._applyCombination(l4,arguments)},splitcomplement:function(){return this._applyCombination(l5,arguments)},triad:function(){return this._applyCombination(l6,[3])},tetrad:function(){return this._applyCombination(l6,[4])}},lU.fromRatio=function(e,t){if("object"==lN(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&("a"===n?r[n]=e[n]:r[n]=il(e[n]));e=r}return lU(e,t)};function l$(e,t,r){e=it(e,255),t=it(t,255);var n=Math.max(e,t,r=it(r,255)),o=Math.min(e,t,r),a,l,i=(n+o)/2;if(n==o)a=l=0;else{var c=n-o;switch(l=i>.5?c/(2-n-o):c/(n+o),n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4}a/=6}return{h:a,s:l,l:i}}function lq(e,t,r){e=it(e,255),t=it(t,255);var n,o,a=Math.max(e,t,r=it(r,255)),l=Math.min(e,t,r);var i=a-l;if(o=0===a?0:i/a,a==l)n=0;else{switch(a){case e:n=(t-r)/i+(t<r?6:0);break;case t:n=(r-e)/i+2;break;case r:n=(e-t)/i+4}n/=6}return{h:n,s:o,v:a}}function lY(e,t,r,n){var o=[ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function lV(e,t,r,n){return[ia(ii(n)),ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16))].join("")}function lZ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.s-=t/100,r.s=ir(r.s),lU(r)}function lQ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.s+=t/100,r.s=ir(r.s),lU(r)}function lK(e){return lU(e).desaturate(100)}function lJ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.l+=t/100,r.l=ir(r.l),lU(r)}function l0(e,t){t=0===t?0:t||10;var r=lU(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),lU(r)}function l1(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.l-=t/100,r.l=ir(r.l),lU(r)}function l2(e,t){var r=lU(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,lU(r)}function l3(e){var t=lU(e).toHsl();return t.h=(t.h+180)%360,lU(t)}function l6(e,t){if(isNaN(t)||t<=0)throw Error("Argument to polyad must be a positive number");for(var r=lU(e).toHsl(),n=[lU(e)],o=360/t,a=1;a<t;a++)n.push(lU({h:(r.h+a*o)%360,s:r.s,l:r.l}));return n}function l5(e){var t=lU(e).toHsl(),r=t.h;return[lU(e),lU({h:(r+72)%360,s:t.s,l:t.l}),lU({h:(r+216)%360,s:t.s,l:t.l})]}function l8(e,t,r){t=t||6,r=r||30;var n=lU(e).toHsl(),o=360/r,a=[lU(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(lU(n));return a}function l4(e,t){t=t||6;for(var r=lU(e).toHsv(),n=r.h,o=r.s,a=r.v,l=[],i=1/t;t--;)l.push(lU({h:n,s:o,v:a})),a=(a+i)%1;return l}lU.equals=function(e,t){return!!e&&!!t&&lU(e).toRgbString()==lU(t).toRgbString()},lU.random=function(){return lU.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},lU.mix=function(e,t,r){r=0===r?0:r||50;var n=lU(e).toRgb(),o=lU(t).toRgb(),a=r/100;return lU({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},lU.readability=function(e,t){var r=lU(e),n=lU(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},lU.isReadable=function(e,t,r){var n,o,a=lU.readability(e,t);switch(o=!1,(n=function(e){var t,r;return t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==r&&"large"!==r&&(r="small"),{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},lU.mostReadable=function(e,t,r){var n,o,a,l,i=null,c=0;o=(r=r||{}).includeFallbackColors,a=r.level,l=r.size;for(var s=0;s<t.length;s++)(n=lU.readability(e,t[s]))>c&&(c=n,i=lU(t[s]));return lU.isReadable(e,i,{level:a,size:l})||!o?i:(r.includeFallbackColors=!1,lU.mostReadable(e,["#fff","#000"],r))};var l7=lU.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},l9=lU.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(l7);function ie(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function it(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return(e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),1e-6>Math.abs(e-t))?1:e%t/parseFloat(t)}function ir(e){return Math.min(1,Math.max(0,e))}function io(e){return parseInt(e,16)}function ia(e){return 1==e.length?"0"+e:""+e}function il(e){return e<=1&&(e=100*e+"%"),e}function ii(e){return Math.round(255*parseFloat(e)).toString(16)}function ic(e){return io(e)/255}var is=(t="[\\s|\\(]+("+(e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",{CSS_UNIT:new RegExp(e),rgb:RegExp("rgb"+t),rgba:RegExp("rgba"+r),hsl:RegExp("hsl"+t),hsla:RegExp("hsla"+r),hsv:RegExp("hsv"+t),hsva:RegExp("hsva"+r),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 iu(e){return!!is.CSS_UNIT.exec(e)}function id(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ip(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){im(e,t,r[t])})}return e}function ig(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ih(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return id(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return id(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var iy=p.theme.useToken,ib=L("ColorPanel",function(e){return{".color-panel":{padding:12,backgroundColor:"#fff",borderRadius:12,border:"1px solid rgba(0, 0, 0, 0.06)",boxShadow:e.boxShadow,width:224,boxSizing:"border-box",".color-panel-mode":{display:"flex",alignItems:"center",marginBottom:6},".color-panel-preview":{width:24,height:24,borderRadius:4,boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)",flex:"none",overflow:"hidden",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==) 0% 0% / 32px"},".color-panel-preset-colors":{paddingTop:12,display:"flex",flexWrap:"wrap",width:200},".color-panel-preset-color-btn":{borderRadius:4,width:20,height:20,border:"none",outline:"none",margin:4,cursor:"pointer",boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)"},".color-panel-mode-title":{color:e.colorTextPlaceholder,marginTop:2,fontSize:12,textAlign:"center"},".color-panel-rgba-input":{display:"flex",alignItems:"center","&-part":im({flex:1,width:0,display:"flex",flexDirection:"column",alignItems:"center","&-title":{color:e.colorTextPlaceholder,marginTop:2,fontSize:12},"&:not(:last-child)":{marginRight:4}},"".concat(e.rootCls,"-input-number"),{width:"100%",input:{fontSize:12,padding:"0 4px"}})}}}}),iv=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?lU(e).toHex8():lU(e).toHex()},iE=function(e){var t=e.value,r=e.onChange,n=e.alpha,o=ih((0,y.useState)(t),2),a=o[0],l=o[1],i=(0,y.useRef)(!1);return(0,y.useEffect)(function(){!i.current&&l(iv(t,n))},[t,n]),b().createElement("div",null,b().createElement(p.Input,{prefix:"#",size:"small",value:a,onFocus:function(){i.current=!0},onChange:function(e){l(e.target.value),null==r||r(iv(e.target.value,n))},onBlur:function(e){i.current=!1,l(iv(e.target.value,n))}}),b().createElement("div",{className:"color-panel-mode-title"},"HEX",n?"8":""))},iS=function(e){var t=e.value,r=e.onChange,n=e.alpha,o=ih(aZ(null!=t?t:{r:0,g:0,b:0,a:1},{value:t,onChange:r}),2),a=o[0],l=o[1];return b().createElement("div",{className:"color-panel-rgba-input"},b().createElement(p.ConfigProvider,{theme:{components:{InputNumber:{handleWidth:12}}}},b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.r,onChange:function(e){return l(ig(ip({},a),{r:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"R")),b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.g,onChange:function(e){return l(ig(ip({},a),{g:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"G")),b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.b,onChange:function(e){return l(ig(ip({},a),{b:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"B")),n&&b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:1,step:.01,size:"small",value:a.a,onChange:function(e){return l(ig(ip({},a),{a:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"A"))))},ik=["HEX","HEX8","RGB","RGBA"],ix=function(e,t){switch(t){case"HEX":return lU(e).toHexString();case"HEX8":return lU(e).toHex8String();default:return lU(e).toRgbString()}},iw=function(e){var t=e.color,r=e.onChange,n=e.alpha,o=e.style,a=iy().token,l=ih(ib(),2),i=l[0],c=l[1],s=ih(b().useState("HEX"),2),u=s[0],d=s[1],m=(0,y.useMemo)(function(){return[a.blue,a.purple,a.cyan,a.green,a.magenta,a.pink,a.red,a.orange,a.yellow,a.volcano,a.geekblue,a.gold,a.lime,"#000"]},[]);return i(b().createElement("div",{className:z()(c,"color-panel"),style:o},("HEX"===u||"RGB"===u)&&b().createElement(lL,{style:{height:160},color:lU(t).toHex(),onChange:function(e){r(ix(e,u))}}),("RGBA"===u||"HEX8"===u)&&b().createElement(l_,{style:{height:160},color:lU(t).toRgb(),onChange:function(e){r(ix(e,u))}}),b().createElement("div",{style:{marginTop:12}},b().createElement("div",{className:"color-panel-mode"},b().createElement("div",{className:"color-panel-preview"},b().createElement("div",{style:{backgroundColor:t,width:"100%",height:"100%"}})),b().createElement(p.Select,{value:u,onChange:function(e){d(e),r(ix(t,e))},options:ik.filter(function(e){return n||"HEX"===e||"RGB"===e}).map(function(e){return{value:e,key:e}}),size:"small",bordered:!1,dropdownMatchSelectWidth:!1})),"HEX"===u&&b().createElement(iE,{value:lU(t).toHex(),onChange:function(e){return null==r?void 0:r(lU(e).toHexString())}}),"HEX8"===u&&b().createElement(iE,{alpha:!0,value:lU(t).toHex8(),onChange:function(e){return null==r?void 0:r(lU(e).toHex8String())}}),("RGBA"===u||"RGB"===u)&&b().createElement(iS,{alpha:"RGBA"===u,value:lU(t).toRgb(),onChange:function(e){return null==r?void 0:r(lU(e).toRgbString())}})),b().createElement("div",{className:"color-panel-preset-colors"},m.map(function(e){return b().createElement("button",{key:e,className:"color-panel-preset-color-btn",style:{backgroundColor:e},onClick:function(){return r(e)}})}))))};function iC(e){return e.startsWith("rgb")||e.startsWith("#")}function iT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iT(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iT(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var iO=L("TokenInput",function(e){var t,r;return{".previewer-token-input":(iA(r={},"".concat(e.rootCls,"-input-group-addon, ").concat(e.rootCls,"-input-number-group-addon"),{border:"0 !important",color:"rgba(0, 0, 0, 0.25) !important",fontSize:"".concat(e.fontSizeSM,"px !important"),padding:"0 !important",backgroundColor:"transparent !important","&:first-child":{paddingInlineStart:0},"&:last-child":{paddingInlineEnd:0}}),iA(r,"".concat(e.rootCls,"-input-group-wrapper, ").concat(e.rootCls,"-input-number-group-wrapper"),{padding:0,height:24,width:"100%",input:{fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,padding:"2px ".concat(e.paddingXS,"px"),height:24}}),iA(r,"".concat(e.rootCls,"-input-group-wrapper ").concat(e.rootCls,"-input, ").concat(e.rootCls,"-input-number-group-wrapper ").concat(e.rootCls,"-input-number"),{background:"white",borderRadius:"".concat(e.borderRadiusLG,"px !important"),whiteSpace:"nowrap",textOverflow:"ellipsis"}),iA(r,"&&-light",(iA(t={},"".concat(e.rootCls,"-input-group-addon, ").concat(e.rootCls,"-input-number-group-addon"),{backgroundColor:e.colorBgContainer}),iA(t,"".concat(e.rootCls,"-input-group-wrapper ").concat(e.rootCls,"-input,\n ").concat(e.rootCls,"-input-number-group-wrapper ").concat(e.rootCls,"-input-number-input"),{background:e.colorFillAlter}),t)),iA(r,"&&-readonly",{input:{cursor:"text",color:e.colorText}}),r)}}),iP=function(e){var t,r=e.value,n=e.theme,o=e.onChange,a=e.light,l=e.readonly,i=e.onReset,c=e.canReset,s=e.hideTheme,u=(0,y.useRef)(r||""),d=iB((0,y.useState)(r||""),2),m=d[0],f=d[1],g=null!=c?c:u.current!==m,h=aW(),v=iB(iO(),2),E=v[0],S=v[1];(0,y.useEffect)(function(){void 0!==r&&f(r)},[r]);var k=a9(function(e){null==o||o(e)},500),x=function(e){!l&&(f(e),k(e))},w=!l&&b().createElement("span",{style:{display:"flex",alignItems:"center",minWidth:s?"":80}},g||s?b().createElement(p.Button,{style:{fontSize:12},onClick:function(){i?i():x(u.current)},type:"link",size:"small",disabled:!g},h.reset):b().createElement("span",{style:{padding:"0 8px"}},null==n?void 0:n.name));return t="string"==typeof u.current&&iC(u.current)?b().createElement(p.Input,{bordered:!1,addonAfter:w,value:String(m),disabled:l,addonBefore:b().createElement(p.Dropdown,{trigger:["click"],overlay:b().createElement(iw,{alpha:!0,color:String(m),onChange:function(e){x(e)}})},b().createElement(a7,{color:String(m),dark:(null==n?void 0:n.key)==="dark",style:{cursor:"pointer",marginInlineEnd:8,verticalAlign:"top"}})),onChange:function(e){x(e.target.value)}}):"number"==typeof u.current?b().createElement(p.InputNumber,{addonAfter:w,bordered:!1,value:m,disabled:l,onChange:function(e){x(Number(e))}}):b().createElement(p.Input,{addonAfter:w,bordered:!1,value:String(m),disabled:l,onChange:function(e){x("number"==typeof r?Number(e.target.value):e.target.value)}}),E(b().createElement("div",{className:z()("previewer-token-input",S,{"previewer-token-input-light":a,"previewer-token-input-readonly":l})},t))};function iI(e,t){if(!!e)return t.reduce(function(e,t){if(e)return e[t]},e)}function iM(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iH(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iz(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){iH(e,t,r[t])})}return e}function iD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||iL(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ij(e){return function(e){if(Array.isArray(e))return iM(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||iL(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iL(e,t){if(e){if("string"==typeof e)return iM(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iM(e,t)}}var iR=p.Collapse.Panel,iF=function(e){var t=e.info,r=e.visible,n=(e.tokenName,e.style),o=e.dark,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++){if(r=a[n],!(t.indexOf(r)>=0))Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}(e,["info","visible","tokenName","style","dark"]);return"string"==typeof t&&iC(t)?b().createElement(a7,{dark:o,color:String(t),style:iz({display:r?"block":"none"},n)}):t.toString().length<6&&""!==String(t)?b().createElement("div",iz({style:iz({height:20,overflow:"hidden",backgroundColor:"rgba(0,0,0,0.04)",borderRadius:"8px",display:r?"block":"none",padding:"0 6px",lineHeight:"20px"},n)},a),t):null},iW=function(e){var t=e.selected,r=e.toggleSelected;return b().createElement(N,{style:{color:t?"#1890ff":void 0,cursor:"pointer",fontSize:16,transition:"color 0.3s",marginInlineStart:12,verticalAlign:"middle"},onClick:function(){return r(!t)}})},i_=L("TokenItem",function(e){var t;return iH({},"".concat(e.rootCls,"-collapse.previewer-token-item-collapse"),iH({},".previewer-token-item".concat(e.rootCls,"-collapse-item"),(iH(t={transition:"background-color ".concat(e.motionDurationSlow),borderRadius:{_skip_check_:!0,value:"4px !important"}},"&:not(".concat(e.rootCls,"-collapse-item-active):hover"),{backgroundColor:"#f5f5f5"}),iH(t,"> ".concat(e.rootCls,"-collapse-header"),{padding:"12px 8px"}),iH(t,"".concat(e.rootCls,"-collapse-header-text"),{flex:1,width:0}),iH(t,"".concat(e.rootCls,"-collapse-content-box"),{padding:"0 4px"}),iH(t,"".concat(e.rootCls,"-collapse-expand-icon"),{paddingInlineEnd:"".concat(e.paddingXXS,"px !important")}),iH(t,".previewer-token-count",{height:16,fontSize:e.fontSizeSM,lineHeight:"16px",borderRadius:100,paddingInline:1.5*e.paddingXXS,color:e.colorTextSecondary,backgroundColor:e.colorFillAlter}),iH(t,".previewer-token-item-name",{transition:"color 0.3s"}),iH(t,".previewer-token-item-highlighted.previewer-token-item-name",{color:"".concat(e.colorPrimary," !important")}),iH(t,"&:hover .previewer-token-preview",{"> .previewer-color-preview:not(:last-child)":{transform:"translateX(-100%)",marginInlineEnd:4}}),iH(t,".previewer-token-preview",{display:"flex",alignItems:"center",position:"relative","> .previewer-color-preview":{position:"absolute",insetInlineEnd:0,top:0,bottom:0,margin:"auto"},"> .previewer-color-preview:not(:last-child)":{transform:"translateX(-50%)",marginInlineEnd:0,transition:"transform 0.3s, margin-right 0.3s"},"> *:not(:last-child)":{marginInlineEnd:4}}),t)))});function iN(e){var t,r=e.tokenName,n=e.active,o=e.onActiveChange,a=e.onTokenChange,l=e.tokenPath,i=e.selectedTokens,c=e.themes,s=e.onTokenSelect,u=e.enableTokenSelect,d=e.hideUsageCount,m=e.fallback,f=iD(b().useState(!1),2),g=f[0],h=f[1],v=iD(i_(),2),E=v[0],S=v[1];(0,y.useEffect)(function(){n&&h(!0)},[n]);var k=function(e,t){null==a||a(e,r,t)},x=(0,y.useMemo)(function(){return a2(r).length},[r]);return E(b().createElement("div",{onMouseEnter:function(){return null==o?void 0:o(!1)}},b().createElement(p.Collapse,{collapsible:"header",ghost:!0,onChange:function(e){return h(e.length>0)},className:z()("previewer-token-item-collapse",S),expandIcon:function(e){var t=e.isActive;return b().createElement(M.CaretRightOutlined,{rotate:t?90:0,style:{fontSize:12,cursor:"pointer"}})},activeKey:g?r:void 0},b().createElement(iR,{key:r,className:"previewer-token-item",header:b().createElement("div",{style:{display:"flex",alignItems:"center",gap:8},id:(t=r,"previewer-token-panel-item-".concat(t))},b().createElement("span",{style:{flex:1,width:0,display:"flex",overflow:"hidden",alignItems:"center"}},b().createElement("span",{title:r,className:z()("previewer-token-item-name",{"previewer-token-item-highlighted":n}),style:{marginInlineEnd:"5px",overflow:"hidden",textOverflow:"ellipsis"}},r),!d&&b().createElement("span",{className:"previewer-token-count"},x)),!g&&b().createElement("div",{className:"previewer-token-preview",style:{minWidth:20*c.length+(c.length-1)*4}},c.map(function(e,t){var n,o,a=e.config,i=e.key;return b().createElement(iF,{key:i,dark:"dark"===i,tokenName:r,info:null!==(o=null!==(n=iI(a,ij(l).concat([r])))&&void 0!==n?n:null==m?void 0:m(a)[r])&&void 0!==o?o:"",visible:!g,style:{zIndex:10-t}})}))),extra:u?b().createElement(iW,{selected:!!(null==i?void 0:i.includes(r)),toggleSelected:function(){null==s||s(r)}}):void 0},b().createElement(p.Space,{direction:"vertical",style:{background:"#fafafa",borderRadius:4,padding:8,width:"100%"}},c.map(function(e){var t;return b().createElement("div",{key:e.key},b().createElement(iP,{hideTheme:1===c.length,theme:e,onChange:function(t){return k(e,t)},value:null!==(t=iI(e.config,ij(l).concat([r])))&&void 0!==t?t:null==m?void 0:m(e.config)[r]}))}))))))}function iX(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iU(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iX(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iX(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i$=p.Collapse.Panel;M.BulbOutlined,M.FontColorsOutlined,M.BgColorsOutlined,M.BorderHorizontalOutlined,M.HighlightOutlined,M.FormatPainterOutlined,M.FontSizeOutlined,M.AlignLeftOutlined,M.TabletOutlined,M.RadiusSettingOutlined,M.ControlOutlined,M.FileUnknownOutlined;var iq=L("TokenCard",function(e){return iG({".token-card":iG({width:"100%",height:"auto",borderRadius:e.borderRadiusLG,border:"1px solid rgba(0,0,0,0.09)",marginBottom:e.marginSM},"".concat(e.rootCls,"-collapse.token-card-collapse"),iG({},"> ".concat(e.rootCls,"-collapse-item > ").concat(e.rootCls,"-collapse-content > ").concat(e.rootCls,"-collapse-content-box"),{padding:{_skip_check_:!0,value:"0 ".concat(e.paddingXS,"px 12px !important")}}))},".token-card ".concat(e.rootCls,"-input-group >").concat(e.rootCls,"-input:not(:first-child):not(:last-child)"),{background:"white",borderRadius:e.borderRadiusLG})});function iY(e){var t=e.title,r=e.icon,n=e.tokenArr,o=e.keyword,a=e.hideUseless,l=e.defaultOpen,i=e.open,c=e.onOpenChange,s=e.activeToken,u=e.onActiveTokenChange,d=e.onTokenChange,m=e.tokenPath,f=e.selectedTokens,g=e.themes,h=e.onTokenSelect,y=e.enableTokenSelect,v=e.hideUsageCount,E=e.fallback,S=e.placeholder,k=iU(iq(),2),x=k[0],w=k[1],C=iU(aZ(!1,{onChange:c,defaultValue:l,value:i}),2),T=C[0],A=C[1];return x(b().createElement("div",{className:z()("token-card",w)},b().createElement(p.Collapse,{ghost:!0,expandIcon:function(e){var t=e.isActive;return b().createElement(M.CaretRightOutlined,{rotate:t?450:360,style:{fontSize:12,color:"rgba(0,0,0,0.45)"}})},expandIconPosition:"right",className:"token-card-collapse",activeKey:T?"1":void 0,onChange:function(e){A(e.length>0)}},b().createElement(i$,{header:b().createElement(p.Space,{size:"small"},b().createElement("span",null,t),b().createElement("span",null,r)),key:"1"},n.filter(function(e){return(!o||e.toLowerCase().includes(o.toLowerCase()))&&(!a||a2(e).length>0)}).map(function(e){return b().createElement(iN,{tokenPath:m,onActiveChange:function(t){return null==u?void 0:u(t?e:void 0)},active:s===e,tokenName:e,key:e,onTokenChange:d,themes:g,selectedTokens:f,onTokenSelect:h,enableTokenSelect:y,hideUsageCount:v,fallback:E})}),0===n.length&&S))))}function iV(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function iZ(e){return Math.min(1,Math.max(0,e))}function iQ(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function iK(e){return e<=1?"".concat(100*Number(e),"%"):e}function iJ(e){return 1===e.length?"0"+e:String(e)}function i0(e,t,r){e=iV(e,255),t=iV(t,255);var n=Math.max(e,t,r=iV(r,255)),o=Math.min(e,t,r),a=0,l=0,i=(n+o)/2;if(n===o)l=0,a=0;else{var c=n-o;switch(l=i>.5?c/(2-n-o):c/(n+o),n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4}a/=6}return{h:a,s:l,l:i}}function i1(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function i2(e,t,r){e=iV(e,255),t=iV(t,255);var n=Math.max(e,t,r=iV(r,255)),o=Math.min(e,t,r),a=0,l=n-o;if(n===o)a=0;else{switch(n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:0===n?0:l/n,v:n}}function i3(e,t,r,n){var o=[iJ(Math.round(e).toString(16)),iJ(Math.round(t).toString(16)),iJ(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function i6(e){return i5(e)/255}function i5(e){return parseInt(e,16)}var i8={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 i4(e){var t,r,n,o,a,l,i,c,s,u,d,m,f={r:0,g:0,b:0},p=1,g=null,h=null,y=null,b=!1,v=!1;if("string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(i8[e])e=i8[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=ct.rgb.exec(e);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=ct.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=ct.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=ct.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=ct.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=ct.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=ct.hex8.exec(e))return{r:i5(r[1]),g:i5(r[2]),b:i5(r[3]),a:i5(r[4])/255,format:t?"name":"hex8"};if(r=ct.hex6.exec(e))return{r:i5(r[1]),g:i5(r[2]),b:i5(r[3]),format:t?"name":"hex"};if(r=ct.hex4.exec(e))return{r:i5(r[1]+r[1]),g:i5(r[2]+r[2]),b:i5(r[3]+r[3]),a:i5(r[4]+r[4])/255,format:t?"name":"hex8"};return!!(r=ct.hex3.exec(e))&&{r:i5(r[1]+r[1]),g:i5(r[2]+r[2]),b:i5(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e){;if(cr(e.r)&&cr(e.g)&&cr(e.b)){;t=e.r,r=e.g,n=e.b,f={r:255*iV(t,255),g:255*iV(r,255),b:255*iV(n,255)},b=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"}else if(cr(e.h)&&cr(e.s)&&cr(e.v)){;g=iK(e.s),h=iK(e.v),o=e.h,a=g,l=h,o=6*iV(o,360),a=iV(a,100),l=iV(l,100),i=Math.floor(o),c=o-i,s=l*(1-a),u=l*(1-c*a),d=l*(1-(1-c)*a),f={r:255*[l,u,s,s,d,l][m=i%6],g:255*[d,l,l,u,s,s][m],b:255*[s,s,d,l,l,u][m]},b=!0,v="hsv"}else cr(e.h)&&cr(e.s)&&cr(e.l)&&(g=iK(e.s),y=iK(e.l),f=function(e,t,r){if(e=iV(e,360),t=iV(t,100),r=iV(r,100),0===t)o=r,a=r,n=r;else{var n,o,a,l=r<.5?r*(1+t):r+t-r*t,i=2*r-l;n=i1(i,l,e+1/3),o=i1(i,l,e),a=i1(i,l,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,g,y),b=!0,v="hsl");Object.prototype.hasOwnProperty.call(e,"a")&&(p=e.a)}return p=iQ(p),{ok:b,format:e.format||v,r:Math.min(255,Math.max(f.r,0)),g:Math.min(255,Math.max(f.g,0)),b:Math.min(255,Math.max(f.b,0)),a:p}}var i7="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),i9="[\\s|\\(]+(".concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")\\s*\\)?"),ce="[\\s|\\(]+(".concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")\\s*\\)?"),ct={CSS_UNIT:new RegExp(i7),rgb:RegExp("rgb"+i9),rgba:RegExp("rgba"+ce),hsl:RegExp("hsl"+i9),hsla:RegExp("hsla"+ce),hsv:RegExp("hsv"+i9),hsva: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 cr(e){return!!ct.CSS_UNIT.exec(String(e))}var cn=[{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 co(e){var t=i2(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function ca(e){var t=e.r,r=e.g,n=e.b;return"#".concat(i3(t,r,n,!1))}function cl(e,t,r){var n;return(n=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function ci(e,t,r){var n;return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)))}function cc(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function cs(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=i4(e),o=5;o>0;o-=1){var a=co(n),l=ca(i4({h:cl(a,o,!0),s:ci(a,o,!0),v:cc(a,o,!0)}));r.push(l)}r.push(ca(n));for(var i=1;i<=4;i+=1){var c=co(n),s=ca(i4({h:cl(c,i),s:ci(c,i),v:cc(c,i)}));r.push(s)}return"dark"===t.theme?cn.map(function(e){var n,o,a,l=e.index,i=e.opacity;return ca((n=i4(t.backgroundColor||"#141414"),o=i4(r[l]),a=100*i/100,{r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b}))}):r}var cu={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"},cd={},cm={};Object.keys(cu).forEach(function(e){cd[e]=cs(cu[e]),cd[e].primary=cd[e][5],cm[e]=cs(cu[e],{theme:"dark",backgroundColor:"#141414"}),cm[e].primary=cm[e][5]}),cd.red,cd.volcano,cd.gold,cd.orange,cd.yellow,cd.lime,cd.green,cd.cyan,cd.blue,cd.geekblue,cd.purple,cd.magenta,cd.grey,cd.grey;var cf=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};let cp={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"},cg=Object.assign(Object.assign({},cp),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-i18next"),require("@nocobase/utils/client"),require("lodash"),require("@nocobase/client"),require("@ant-design/cssinjs"),require("@ant-design/icons"),require("antd"),require("@emotion/css")):"function"==typeof define&&define.amd?define("@nocobase/plugin-theme-editor",["react","react-i18next","@nocobase/utils/client","lodash","@nocobase/client","@ant-design/cssinjs","@ant-design/icons","antd","@emotion/css"],t):"object"==typeof exports?exports["@nocobase/plugin-theme-editor"]=t(require("react"),require("react-i18next"),require("@nocobase/utils/client"),require("lodash"),require("@nocobase/client"),require("@ant-design/cssinjs"),require("@ant-design/icons"),require("antd"),require("@emotion/css")):e["@nocobase/plugin-theme-editor"]=t(e.react,e["react-i18next"],e["@nocobase/utils/client"],e.lodash,e["@nocobase/client"],e["@ant-design/cssinjs"],e["@ant-design/icons"],e.antd,e["@emotion/css"])}(self,function(e,t,r,n,o,a,l,i,c){return function(){var s={175:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(823));t.default=o.default},498:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(361));t.default=o.default},823:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(249)),a=n(r(881));let l={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},a.default)};t.default=l},361:function(e,t,r){"use strict";var n=r(605);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(632)),a=n(r(892));let l={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},a.default)};l.lang.ok="确定",t.default=l},386:function(e,t,r){"use strict";var n=r(605);t.default=void 0;var o=n(r(815)),a=n(r(175)),l=n(r(823)),i=n(r(881));let c="${label} is not a valid ${type}",s={locale:"en",Pagination:o.default,DatePicker:l.default,TimePicker:i.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.default=s},90:function(e,t,r){"use strict";var n=r(605);t.default=void 0;var o=n(r(204)),a=n(r(498)),l=n(r(361)),i=n(r(892));let c="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:o.default,DatePicker:l.default,TimePicker:i.default,Calendar:a.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.default=s},881:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},905:function(e,t,r){"use strict";var n=r(665),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return n.isMemo(e)?l:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=f(r);o&&o!==p&&e(t,o,n)}var l=u(r);d&&(l=l.concat(d(r)));for(var i=c(t),g=c(r),h=0;h<l.length;++h){var y=l[h];if(!a[y]&&!(n&&n[y])&&!(g&&g[y])&&!(i&&i[y])){var b=m(r,y);try{s(t,y,b)}catch(e){}}}}return t}},815:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},204:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},249:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}},655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},849:function(e,t,r){"use strict";var n=r(561).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=o.useRef();return t.current=e,o.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(n))},[])};var o=n(r(156))},217:function(e,t,r){"use strict";var n=r(605).default,o=r(561).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useLayoutUpdateEffect=t.default=void 0;var a=o(r(156)),l=(0,n(r(655)).default)()?a.useLayoutEffect:a.useEffect,i=function(e,t){var r=a.useRef(!0);l(function(){return e(r.current)},t),l(function(){return r.current=!1,function(){r.current=!0}},[])};t.useLayoutUpdateEffect=function(e,t){i(function(t){if(!t)return e()},t)},t.default=i},75:function(e,t,r){"use strict";var n,o=r(605).default,a=o(r(254)),l=o(r(849)),i=r(217),c=o(r(620));function s(e){return void 0!==e}},620:function(e,t,r){"use strict";var n=r(561).default,o=r(605).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=l.useRef(!1),r=l.useState(e),n=(0,a.default)(r,2),o=n[0],i=n[1];return l.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[o,function(e,r){if(!r||!t.current)i(e)}]};var a=o(r(254)),l=n(r(156))},92:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,i=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,m=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case s:case m:case h:case g:case c:return e;default:return t}}case o:return t}}}function k(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=m,t.Fragment=a,t.Lazy=h,t.Memo=g,t.Portal=o,t.Profiler=i,t.StrictMode=l,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||S(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===s},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===m},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===i},t.isStrictMode=function(e){return S(e)===l},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===i||e===l||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===c||e.$$typeof===s||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===E||e.$$typeof===y)},t.typeOf=S},665:function(e,t,r){"use strict";e.exports=r(92)},801:function(e,t,r){"use strict";var n,o=r(156),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:l,ref:u,props:o,_owner:c.current}}},704:function(e,t,r){"use strict";r(801)},298:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(o=r?r.call(n,u,d,s):void 0)||void 0===o&&u!==d)return!1}return!0}},143:function(e){"use strict";e.exports=a},482:function(e){"use strict";e.exports=l},964:function(e){"use strict";e.exports=c},772:function(e){"use strict";e.exports=o},584:function(e){"use strict";e.exports=r},721:function(e){"use strict";e.exports=i},467:function(e){"use strict";e.exports=n},156:function(t){"use strict";t.exports=e},238:function(e){"use strict";e.exports=t},439:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},221:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},605:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},561:function(e,t,r){var n=r(265).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 a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&({}).hasOwnProperty.call(e,i)){var c=l?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(a,i,c):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},62: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,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},460:function(e){e.exports=function(){throw 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},254:function(e,t,r){var n=r(221),o=r(62),a=r(48),l=r(460);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},265: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},48:function(e,t,r){var n=r(439);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=({}).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},527:function(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var o="";for(var a in e)t.call(e,a)&&e[a]&&(o=n(o,a));return o}(a)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()}},u={};function d(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return s[e](r,r.exports,d),r.exports}d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nc=void 0;var m={};return!function(){"use strict";d.r(m),d.d(m,{PluginThemeEditorClient:function(){return uJ},default:function(){return u0}});var e,t,r,n,o,a,l,i,c,s,u,f=d("772"),p=d("721"),g=d("467"),h=d.n(g),y=d("156"),b=d.n(y),v=d("584");function E(e){return(e=h().cloneDeep(e)).algorithm?(Array.isArray(e.algorithm)?e.algorithm=e.algorithm.map(function(e){return S(e)}).filter(Boolean):e.algorithm=S(e.algorithm),h().isEmpty(e.algorithm)&&delete e.algorithm,e):e}function S(e){return"string"==typeof e?e:e.toString()===p.theme.darkAlgorithm.toString()?"darkAlgorithm":e.toString()===p.theme.compactAlgorithm.toString()?"compactAlgorithm":void 0}function k(e){var t;return e=h().cloneDeep(e),h().isString(e.config.algorithm)&&(e.config.algorithm=p.theme[e.config.algorithm]),Array.isArray(null===(t=e.config)||void 0===t?void 0:t.algorithm)&&(e.config.algorithm=e.config.algorithm.map(function(e){return h().isString(e)?p.theme[e]:e})),e}var x=(0,y.createContext)(null);x.displayName="ThemeListContext";var w=function(){return b().useContext(x)},C=function(e){var t=e.children,r=(0,f.useRequest)({url:"themeConfig:list",params:{sort:"id",paginate:!1}},{manual:!0}),n=r.data,o=r.error,a=r.run,l=r.refresh,i=r.loading,c=(0,y.useMemo)(function(){var e;return null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.map(function(e){return k(e)})},[n]);return o&&(0,v.error)(o),b().createElement(x.Provider,{value:{data:c,error:o,run:a,refresh:l,loading:i}},t)};C.displayName="ThemeListProvider";var T=b().createContext({}),A=function(){return b().useContext(T)},B=function(e){var t,r,n,o=e.children,a=(0,f.useCurrentUserContext)(),l=(0,f.useGlobalTheme)().setTheme,i=w(),c=i.run,s=i.data,u=i.loading,d=(0,y.useMemo)(function(){return null==s?void 0:s.find(function(e){return e.default})},[s]),m=(0,y.useRef)(null),g=(0,f.useAPIClient)();return((0,y.useEffect)(function(){var e=g.auth.getOption("theme");if(e)try{l(k(JSON.parse(e)).config)}catch(e){(0,v.error)(e)}},[]),(0,y.useEffect)(function(){if(!s)return c();var e,t,r,n,o=null==a?void 0:null===(r=a.data)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:null===(e=t.systemSettings)||void 0===e?void 0:e.themeId;null!=o&&(n=s.find(function(e){return e.id===o})),!n&&(n=d),n?(m.current=n.id,l(n.config),g.auth.setOption("theme",JSON.stringify(Object.assign(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},n),{config:E(n.config)})))):(l(f.defaultTheme),g.auth.setOption("theme",null))},[g.auth,null==a?void 0:null===(n=a.data)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.systemSettings)||void 0===t?void 0:t.themeId,s,c,l,d]),u&&!s)?b().createElement("div",{style:{textAlign:"center",marginTop:20}},b().createElement(p.Spin,null)):b().createElement(T.Provider,{value:{currentThemeId:m.current,defaultThemeId:null==d?void 0:d.id}},o)};B.displayName="InitializeTheme";var O=b().createContext(null),P=function(){return b().useContext(O)},I=function(e){var t=e.children,r=e.open,n=e.setOpen;return b().createElement(O.Provider,{value:{open:r,setOpen:n}},t)};I.displayName="ThemeEditorProvider";var M=d("482"),H=d("527"),z=d.n(H),D=d("143"),j=p.ConfigProvider.ConfigContext,L=function(e,t){return function(){var r=p.theme.useToken(),n=r.theme,o=r.token,a=r.hashId,l=(0,(0,y.useContext)(j).getPrefixCls)();return[(0,D.useStyleRegister)({theme:n,hashId:a,token:o,path:[e]},function(){var e,r;return t((e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},o),r=(r={rootCls:".".concat(l)},r),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e))}),a]}},R=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Compact-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Compact-默认",transform:"translate(-9.000000, -82.500000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Compact-选项一",transform:"translate(9.268811, 79.500000)"},y.createElement("g",{id:"Compact-smaller",transform:"translate(0.000000, 3.000000)"},y.createElement("rect",{id:"Compact-矩形",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M10,14 L10,12 C10,10.8666667 10.8666667,10 12,10 L14,10 C14.4,10 14.6666667,10.2666667 14.6666667,10.6666667 C14.6666667,11.0666667 14.4,11.3333333 14,11.3333333 L12,11.3333333 C11.6,11.3333333 11.3333333,11.6 11.3333333,12 L11.3333333,14 C11.3333333,14.4 11.0666667,14.6666667 10.6666667,14.6666667 C10.2666667,14.6666667 10,14.4 10,14 L10,14 Z M4.66666667,14 L4.66666667,12 C4.66666667,11.6 4.4,11.3333333 4,11.3333333 L2,11.3333333 C1.6,11.3333333 1.33333333,11.0666667 1.33333333,10.6666667 C1.33333333,10.2666667 1.6,10 2,10 L4,10 C5.13333333,10 6,10.8666667 6,12 L6,14 C6,14.4 5.73333333,14.6666667 5.33333333,14.6666667 C4.93333333,14.6666667 4.66666666,14.4 4.66666667,14 L4.66666667,14 Z M12,6 C10.8666667,6 10,5.13333333 10,4 L10,2 C10,1.6 10.2666667,1.33333333 10.6666667,1.33333333 C11.0666667,1.33333333 11.3333333,1.6 11.3333333,2 L11.3333333,4 C11.3333333,4.4 11.6,4.66666667 12,4.66666667 L14,4.66666667 C14.4,4.66666667 14.6666667,4.93333334 14.6666667,5.33333333 C14.6666667,5.73333331 14.4,6 14,6 L12,6 L12,6 Z M2,6 C1.6,6 1.33333333,5.73333333 1.33333333,5.33333333 C1.33333333,4.93333333 1.6,4.66666666 2,4.66666667 L4,4.66666667 C4.4,4.66666667 4.66666667,4.4 4.66666667,4 L4.66666667,2 C4.66666667,1.6 4.93333334,1.33333333 5.33333333,1.33333333 C5.73333331,1.33333333 6,1.6 6,2 L6,4 C6,5.13333333 5.13333333,6 4,6 L2,6 Z",id:"Compact-形状"}))))))},F=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Control-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Control-主题预览器---组件预览",transform:"translate(-1372.000000, -505.000000)",fillRule:"nonzero"},y.createElement("g",{id:"Control-编组-18",transform:"translate(0.000000, 70.000000)"},y.createElement("g",{id:"Control-编组-14",transform:"translate(536.000000, 420.000000)"},y.createElement("g",{id:"Control-系统控制",transform:"translate(836.000000, 15.000000)"},y.createElement("rect",{id:"Control-矩形",fill:"#000000",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M6,3.5625 L13.75,3.5625 L13.75,4.1875 L6,4.1875 L6,3.5625 Z M2.1875,3.5625 L3.8125,3.5625 L3.8125,4.1875 L2.1875,4.1875 L2.1875,3.5625 Z M8.3125,11.8125 L13.75,11.8125 L13.75,12.4375 L8.3125,12.4375 L8.3125,11.8125 Z M2.1875,11.8125 L6.125,11.8125 L6.125,12.4375 L2.1875,12.4375 L2.1875,11.8125 Z M12.625,7.6875 L13.75,7.6875 L13.75,8.3125 L12.625,8.3125 L12.625,7.6875 Z M2.1875,7.6875 L10.4375,7.6875 L10.4375,8.3125 L2.1875,8.3125 L2.1875,7.6875 Z",id:"Control-形状",fill:"currentColor"}),y.createElement("path",{d:"M1.875,3.875 C1.875,4.04758898 2.01491102,4.1875 2.1875,4.1875 C2.36008898,4.1875 2.5,4.04758898 2.5,3.875 C2.5,3.70241102 2.36008898,3.5625 2.1875,3.5625 C2.01491102,3.5625 1.875,3.70241102 1.875,3.875 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,3.875 C13.4375,4.04758898 13.577411,4.1875 13.75,4.1875 C13.922589,4.1875 14.0625,4.04758898 14.0625,3.875 C14.0625,3.70241102 13.922589,3.5625 13.75,3.5625 C13.577411,3.5625 13.4375,3.70241102 13.4375,3.875 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,8 C13.4375,8.17258898 13.577411,8.3125 13.75,8.3125 C13.922589,8.3125 14.0625,8.17258898 14.0625,8 C14.0625,7.82741102 13.922589,7.6875 13.75,7.6875 C13.577411,7.6875 13.4375,7.82741102 13.4375,8 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M13.4375,12.125 C13.4375,12.297589 13.577411,12.4375 13.75,12.4375 C13.922589,12.4375 14.0625,12.297589 14.0625,12.125 C14.0625,11.952411 13.922589,11.8125 13.75,11.8125 C13.577411,11.8125 13.4375,11.952411 13.4375,12.125 L13.4375,12.125 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M1.875,8 C1.875,8.17258898 2.01491102,8.3125 2.1875,8.3125 C2.36008898,8.3125 2.5,8.17258898 2.5,8 C2.5,7.82741102 2.36008898,7.6875 2.1875,7.6875 C2.01491102,7.6875 1.875,7.82741102 1.875,8 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M1.875,12.125 C1.875,12.297589 2.01491102,12.4375 2.1875,12.4375 C2.36008898,12.4375 2.5,12.297589 2.5,12.125 C2.5,11.952411 2.36008898,11.8125 2.1875,11.8125 C2.01491102,11.8125 1.875,11.952411 1.875,12.125 L1.875,12.125 Z",id:"Control-路径",fill:"currentColor"}),y.createElement("path",{d:"M4.90625,5.25 C4.13125,5.25 3.5,4.61875 3.5,3.84375 C3.5,3.06875 4.13125,2.4375 4.90625,2.4375 C5.68125,2.4375 6.3125,3.06875 6.3125,3.84375 C6.3125,4.61875 5.68125,5.25 4.90625,5.25 Z M4.90625,3.0625 C4.475,3.0625 4.125,3.4125 4.125,3.84375 C4.125,4.275 4.475,4.625 4.90625,4.625 C5.3375,4.625 5.6875,4.275 5.6875,3.84375 C5.6875,3.4125 5.3375,3.0625 4.90625,3.0625 Z M11.53125,9.4375 C10.75625,9.4375 10.125,8.80625 10.125,8.03125 C10.125,7.25625 10.75625,6.625 11.53125,6.625 C12.30625,6.625 12.9375,7.25625 12.9375,8.03125 C12.9375,8.80625 12.30625,9.4375 11.53125,9.4375 Z M11.53125,7.25 C11.1,7.25 10.75,7.6 10.75,8.03125 C10.75,8.4625 11.1,8.8125 11.53125,8.8125 C11.9625,8.8125 12.3125,8.4625 12.3125,8.03125 C12.3125,7.6 11.9625,7.25 11.53125,7.25 Z M7.21875,13.5 C6.44375,13.5 5.8125,12.86875 5.8125,12.09375 C5.8125,11.31875 6.44375,10.6875 7.21875,10.6875 C7.99375,10.6875 8.625,11.31875 8.625,12.09375 C8.625,12.86875 7.99375,13.5 7.21875,13.5 Z M7.21875,11.3125 C6.7875,11.3125 6.4375,11.6625 6.4375,12.09375 C6.4375,12.525 6.7875,12.875 7.21875,12.875 C7.65,12.875 8,12.525 8,12.09375 C8,11.6625 7.65,11.3125 7.21875,11.3125 Z",id:"Control-形状",fill:"currentColor"})))))))},W=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Dark-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Dark-默认",transform:"translate(-9.000000, -49.500000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Dark-编组-17",transform:"translate(0.000000, 42.500000)"},y.createElement("g",{id:"Dark-moon",transform:"translate(9.268811, 7.500000)"},y.createElement("rect",{id:"Dark-矩形",opacity:0,x:0,y:0,width:16,height:16}),y.createElement("path",{d:"M8,1.33333333 C8.14933333,1.33333333 8.29688889,1.33844444 8.44266667,1.34866666 C8.14755556,1.98422221 8,2.64577777 8,3.33333333 C8,3.96533333 8.12333333,4.56955555 8.37,5.146 C8.61666667,5.72244445 8.94822222,6.21888889 9.36466667,6.63533333 C9.78111112,7.05177777 10.2775556,7.38333332 10.854,7.63 C11.4304444,7.87666668 12.0346667,8.00000001 12.6666667,8 C13.3542222,8 14.0157778,7.85244444 14.6513333,7.55733333 C14.6615556,7.70311111 14.6666667,7.85066667 14.6666667,8 C14.6666667,8.604 14.5868889,9.19422222 14.4273333,9.77066667 C14.2677778,10.3471111 14.0446667,10.8793333 13.758,11.3673333 C13.4713333,11.8553333 13.1233333,12.3042222 12.714,12.714 C12.3046667,13.1237778 11.8557778,13.4717778 11.3673333,13.758 C10.8788889,14.0442222 10.3466667,14.2673333 9.77066667,14.4273333 C9.19466667,14.5873333 8.60444445,14.6671111 8,14.6666685 C7.39555555,14.6662222 6.80533333,14.5864444 6.22933333,14.4273333 C5.65333333,14.2682222 5.1211111,14.0451111 4.63266666,13.758 C4.14422221,13.4708889 3.69533332,13.1228889 3.28599998,12.714 C2.87666665,12.3051111 2.52866665,11.8562222 2.24199998,11.3673333 C1.95533332,10.8784444 1.73222221,10.3462222 1.57266666,9.77066667 C1.4131111,9.19511112 1.33333333,8.6048889 1.33333333,8 C1.33333333,7.3951111 1.4131111,6.80488888 1.57266666,6.22933333 C1.73222221,5.65377778 1.95533332,5.12155555 2.24199998,4.63266666 C2.52866665,4.14377776 2.87666665,3.69488887 3.28599998,3.28599998 C3.69533332,2.8771111 4.14422221,2.5291111 4.63266666,2.24199998 C5.1211111,1.95488887 5.65333333,1.73177776 6.22933333,1.57266666 C6.80533333,1.41355555 7.39555555,1.33377778 8,1.33333333 Z M6.68733333,2.828 C6.11444444,2.97377778 5.58066667,3.20977778 5.086,3.536 C4.59133333,3.86222222 4.166,4.24933333 3.81,4.69733333 C3.454,5.14533333 3.17444444,5.65488889 2.97133333,6.226 C2.76822221,6.79711111 2.66666666,7.38822222 2.66666666,7.99933333 C2.66666666,8.72155555 2.80733332,9.41155555 3.08866666,10.0693333 C3.36999999,10.7271111 3.74933332,11.2948889 4.22666666,11.7726667 C4.70399999,12.2504444 5.27177777,12.6297778 5.92999998,12.9106667 C6.5882222,13.1915556 7.2782222,13.3322222 7.99999998,13.3326667 C8.6111111,13.3326667 9.20222221,13.2311111 9.77333331,13.028 C10.3444444,12.8248889 10.854,12.5453333 11.302,12.1893333 C11.75,11.8333333 12.1371111,11.408 12.4633333,10.9133333 C12.7895555,10.4186666 13.0255555,9.88488887 13.1713333,9.31199998 C13.022,9.32577777 12.8535555,9.33266666 12.666,9.33266666 C11.8535555,9.33266666 11.0775555,9.17377777 10.338,8.85599998 C9.59844443,8.5382222 8.96044443,8.11111109 8.42399998,7.57466666 C7.88755554,7.03822222 7.46044443,6.40022222 7.14266666,5.66066666 C6.82488889,4.92111109 6.66599999,4.14511109 6.66599998,3.33266666 C6.66599998,3.1451111 6.67288888,2.97666666 6.68666666,2.82733333 L6.68733333,2.828 Z",id:"Dark-形状"}))))))},_=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Light-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},y.createElement("g",{id:"Light-主题包",transform:"translate(-2943.000000, -292.000000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Light-编组-12",transform:"translate(2415.000000, 222.000000)"},y.createElement("g",{id:"Light-视图切换-编辑态",transform:"translate(518.000000, 60.000000)"},y.createElement("g",{id:"Light-eye",transform:"translate(8.000000, 8.000000)"},y.createElement("g",{id:"Light-sun",transform:"translate(2.000000, 2.000000)"},y.createElement("rect",{id:"Light-矩形",opacity:0,x:0,y:0,width:13,height:13}),y.createElement("path",{d:"M6.5,9.75 C4.7051875,9.75 3.25,8.2948125 3.25,6.5 C3.25,4.7051875 4.7051875,3.25 6.5,3.25 C8.2948125,3.25 9.75,4.7051875 9.75,6.5 C9.75,8.2948125 8.2948125,9.75 6.5,9.75 Z M6.5,8.66666667 C7.69661696,8.66666667 8.66666667,7.69661696 8.66666667,6.5 C8.66666667,5.30338304 7.69661696,4.33333333 6.5,4.33333333 C5.30338305,4.33333333 4.33333336,5.30338305 4.33333336,6.5 C4.33333336,7.69661695 5.30338305,8.66666667 6.5,8.66666667 Z M5.95833333,1.08333333 C5.95833333,0.784179087 6.20084576,0.541666658 6.5,0.541666658 C6.79915424,0.541666658 7.04166667,0.784179087 7.04166667,1.08333333 L7.04166667,2.16666667 C7.04166667,2.46582091 6.79915424,2.70833334 6.5,2.70833334 C6.20084576,2.70833334 5.95833333,2.46582091 5.95833333,2.16666667 L5.95833333,1.08333333 L5.95833333,1.08333333 Z M5.95833333,10.8333333 C5.95833333,10.5341791 6.20084576,10.2916667 6.5,10.2916667 C6.79915424,10.2916667 7.04166667,10.5341791 7.04166667,10.8333333 L7.04166667,11.9166667 C7.04166667,12.2158209 6.79915424,12.4583333 6.5,12.4583333 C6.20084576,12.4583333 5.95833333,12.2158209 5.95833333,11.9166667 L5.95833333,10.8333333 L5.95833333,10.8333333 Z M1.08333333,7.04166667 C0.784179087,7.04166667 0.541666658,6.79915424 0.541666658,6.5 C0.541666658,6.20084576 0.784179087,5.95833333 1.08333333,5.95833333 L2.16666667,5.95833333 C2.46582091,5.95833333 2.70833334,6.20084576 2.70833334,6.5 C2.70833334,6.79915424 2.46582091,7.04166667 2.16666667,7.04166667 L1.08333333,7.04166667 L1.08333333,7.04166667 Z M10.8333333,7.04166667 C10.5341791,7.04166667 10.2916667,6.79915424 10.2916667,6.5 C10.2916667,6.20084576 10.5341791,5.95833333 10.8333333,5.95833333 L11.9166667,5.95833333 C12.2158209,5.95833333 12.4583333,6.20084576 12.4583333,6.5 C12.4583333,6.79915424 12.2158209,7.04166667 11.9166667,7.04166667 L10.8333333,7.04166667 L10.8333333,7.04166667 Z M2.05454167,2.82045833 C1.84926545,2.60791971 1.85220137,2.27007933 2.06114035,2.06114035 C2.27007933,1.85220137 2.60791971,1.84926545 2.82045833,2.05454167 L3.63295833,2.86704167 C3.83823455,3.07958029 3.83529863,3.41742067 3.62635965,3.62635965 C3.41742067,3.83529863 3.07958029,3.83823455 2.86704167,3.63295833 L2.05454167,2.82045833 L2.05454167,2.82045833 Z M9.36704167,10.1329583 C9.16176545,9.92041971 9.16470137,9.58257933 9.37364035,9.37364035 C9.58257933,9.16470137 9.92041971,9.16176545 10.1329583,9.36704167 L10.9454583,10.1795417 C11.1507346,10.3920803 11.1477986,10.7299207 10.9388596,10.9388596 C10.7299207,11.1477986 10.3920803,11.1507346 10.1795417,10.9454583 L9.36704167,10.1329583 L9.36704167,10.1329583 Z M2.82045833,10.9454583 C2.60791971,11.1507346 2.27007933,11.1477986 2.06114035,10.9388596 C1.85220137,10.7299207 1.84926545,10.3920803 2.05454167,10.1795417 L2.86704167,9.36704167 C3.07958029,9.16176545 3.41742067,9.16470137 3.62635965,9.37364035 C3.83529863,9.58257933 3.83823455,9.92041971 3.63295833,10.1329583 L2.82045833,10.9454583 L2.82045833,10.9454583 Z M10.1329583,3.63295833 C9.92041971,3.83823455 9.58257933,3.83529863 9.37364035,3.62635965 C9.16470137,3.41742067 9.16176545,3.07958029 9.36704167,2.86704167 L10.1795417,2.05454167 C10.3920803,1.84926545 10.7299207,1.85220137 10.9388596,2.06114035 C11.1477986,2.27007933 11.1507346,2.60791971 10.9454583,2.82045833 L10.1329583,3.63295833 L10.1329583,3.63295833 Z",id:"Light-形状"}))))))))},N=function(e){return y.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["nanqu-token-panel-icon",e.className].filter(Boolean).join(" ")}),y.createElement("g",{id:"Pick-页面-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",fillOpacity:.65},y.createElement("g",{id:"Pick-主题编辑器---多主题",transform:"translate(-541.000000, -387.000000)",fill:"currentColor",fillRule:"nonzero"},y.createElement("g",{id:"Pick-编组-11",transform:"translate(76.000000, 340.000000)"},y.createElement("g",{id:"Pick-Map-Token-面板",transform:"translate(0.000000, 27.000000)"},y.createElement("g",{id:"Pick-token-显示",transform:"translate(-1.002041, -1.000000)"},y.createElement("g",{id:"Pick-编组-2",transform:"translate(12.024490, 20.000000)"},y.createElement("g",{id:"Pick-shangyeguanxi",transform:"translate(453.924490, 1.000000)"},y.createElement("path",{d:"M12.6274816,8.17204883 C12.6358384,8.04673242 12.6401539,7.92030859 12.6401539,7.79288672 C12.6401539,5.50309375 11.2701899,3.53286719 9.30406641,2.65472266 C9.31862927,2.54983203 9.32632854,2.44274023 9.32632854,2.33384375 C9.32632854,1.05430664 8.28750187,0.0169394531 7.00623025,0.0169394531 C5.72484902,0.0169394531 4.68607715,1.05430664 4.68607715,2.33384375 C4.68607715,2.44267188 4.69376272,2.54968164 4.70829819,2.65451758 C2.74188703,3.53256641 1.37158055,5.50290234 1.37158055,7.79288672 C1.37158055,7.92044531 1.37592338,8.04699219 1.38428025,8.17243164 C0.593775725,8.54169531 0.0460860491,9.34289453 0.0460860491,10.2719531 C0.0460860491,11.5515449 1.08474833,12.5888574 2.36612955,12.5888574 C2.80723496,12.5888574 3.21958454,12.4658926 3.57069612,12.2524336 C4.52158393,12.9838105 5.71288912,13.4188223 7.00595625,13.4188223 C8.30016046,13.4188223 9.49238354,12.9830449 10.4436412,12.2505195 C10.7943281,12.4630762 11.2059516,12.5854668 11.6462213,12.5854668 C12.9274382,12.5854668 13.9661004,11.5489746 13.9661004,10.2703672 C13.9661004,9.34171875 13.4181916,8.54095703 12.6274816,8.17204883 Z M7.00623025,1.00913477 C7.73549676,1.00913477 8.32698463,1.59684766 8.33166995,2.32357617 C8.33168365,2.32647461 8.33177955,2.32935938 8.33177955,2.33225781 C8.33177955,2.69178711 8.18805519,3.01775195 7.95488499,3.25620313 C7.71417991,3.50236523 7.37813809,3.65527148 7.00623025,3.65527148 C6.6343361,3.65527148 6.29829428,3.50236523 6.0575618,3.25620313 C5.8243779,3.01775195 5.68062614,2.69178711 5.68062614,2.33225781 C5.68062614,2.32931836 5.68072204,2.32639258 5.68073574,2.32345313 C5.68547586,1.59679297 6.27704593,1.00913477 7.00623025,1.00913477 Z M2.36612955,11.5993965 C1.63399978,11.5993965 1.04047065,11.0058047 1.04047065,10.2734297 C1.04047065,9.84645703 1.24229576,9.46667969 1.55566445,9.22416797 C1.7797654,9.05074023 2.06088482,8.94746289 2.36614325,8.94746289 C2.41639403,8.94746289 2.46597352,8.95036133 2.51477213,8.95580273 C3.17696454,9.02969922 3.69181585,9.59136719 3.69181585,10.273416 C3.69181585,10.4903613 3.6397293,10.6951113 3.5473928,10.8758809 C3.39166744,11.1807637 3.12143934,11.4173555 2.79339819,11.5289863 C2.65931847,11.574623 2.51562151,11.5993965 2.36612955,11.5993965 Z M7.00127093,12.4178633 C5.99141928,12.4178633 5.0570808,12.0957402 4.29537321,11.549084 C4.53905114,11.1824316 4.68111783,10.7425937 4.68111783,10.2695605 C4.68111783,8.99117188 3.64429132,7.95466602 2.36460887,7.95280664 C2.3626772,7.89787305 2.36134833,7.84278906 2.36134833,7.78737695 C2.36134833,5.92565039 3.46242679,4.32079102 5.05001172,3.58529883 C5.46299149,4.22481445 6.18258597,4.64830078 7.00128463,4.64830078 C7.81990109,4.64830078 8.53950926,4.22481445 8.95248903,3.58529883 C10.5400329,4.32079102 11.6411113,5.92565039 11.6411113,7.78737695 C11.6411113,7.84277539 11.6397824,7.89787305 11.6378508,7.95280664 C10.3582094,7.95465234 9.32139662,8.99040625 9.32139662,10.2679746 C9.32139662,10.7413906 9.4639017,11.1815293 9.70827832,11.5482363 C8.94635153,12.0953848 8.01158836,12.4178633 7.00127093,12.4178633 Z M11.6459473,8.94746289 C11.9510962,8.94746289 12.2321197,9.0506582 12.4561658,9.22397656 C12.7696578,9.46647461 12.9715652,9.84632031 12.9715652,10.273375 C12.9715652,11.0056953 12.3780634,11.5993418 11.6459473,11.5993418 C11.4964143,11.5993418 11.3526762,11.574541 11.2185828,11.528877 C10.8907472,11.4172324 10.6206287,11.1807227 10.464917,10.8759902 C10.3725257,10.6951797 10.320398,10.490375 10.320398,10.273375 C10.320398,9.59128516 10.8354138,9.0295625 11.4976062,8.95577539 C11.5463226,8.95034766 11.5957925,8.94746289 11.6459473,8.94746289 Z M7.00557266,6.21029883 C7.91351399,6.21029883 8.64954587,6.94483166 8.64954587,7.85092383 C8.64954587,8.757016 7.91351399,9.49154883 7.00557266,9.49154883 C6.09763132,9.49154883 5.36159944,8.757016 5.36159944,7.85092383 C5.36159944,6.94483166 6.09763132,6.21029883 7.00557266,6.21029883 Z",id:"Pick-形状"})))))))))},X={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Success Tips",type:"success",showIcon:!0}),b().createElement(p.Alert,{message:"Informational Notes",type:"info",showIcon:!0}),b().createElement(p.Alert,{message:"Warning",type:"warning",showIcon:!0,closable:!0}),b().createElement(p.Alert,{message:"Error",type:"error",showIcon:!0}))},null),tokens:["colorIconHover","colorIcon","colorText"],key:"alert"},G={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Error",type:"error",showIcon:!0}),b().createElement(p.Alert,{message:"Error",description:"This is an error message about copywriting.",type:"error",showIcon:!0}))},null),tokens:["colorErrorBg","colorErrorBorder","colorError"],key:"error"},U={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Informational Notes",type:"info",showIcon:!0}),b().createElement(p.Alert,{message:"Informational Notes",description:"Additional description and information about copywriting.",type:"info",showIcon:!0}))},null),tokens:["colorInfo","colorInfoBorder","colorInfoBg"],key:"info"},$={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Success Tips",type:"success",showIcon:!0}),b().createElement(p.Alert,{message:"Success Tips",description:"Detailed description and advice about successful copywriting.",type:"success",showIcon:!0}))},null),tokens:["colorSuccess","colorSuccessBorder","colorSuccessBg"],key:"success"},q={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Alert,{message:"Warning",type:"warning",showIcon:!0,closable:!0}),b().createElement(p.Alert,{message:"Warning",description:"This is a warning notice about copywriting.",type:"warning",showIcon:!0,closable:!0}))},null),tokens:["colorWarning","colorWarningBorder","colorWarningBg"],key:"warning"},Y=[X,G,U,$,q],V=p.Anchor.Link,Z={demo:b().createElement(function(){return b().createElement("div",{style:{padding:12}},b().createElement(p.Anchor,null,b().createElement(V,{href:"#",title:"Basic demo"}),b().createElement(V,{href:"#components-anchor-demo-static",title:"Static demo"}),b().createElement(V,{href:"#API",title:"API"},b().createElement(V,{href:"#Anchor-Props",title:"Anchor Props"}),b().createElement(V,{href:"#Link-Props",title:"Link Props"}))))},null),tokens:["colorPrimary","colorSplit","colorBgContainer"],key:"anchor"},Q=p.Anchor.Link,K={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{background:e.colorBorderSecondary,padding:12}},b().createElement(p.Anchor,null,b().createElement(Q,{href:"#components-anchor-demo-basic",title:"Basic demo"}),b().createElement(Q,{href:"#components-anchor-demo-static",title:"Static demo"}),b().createElement(Q,{href:"#API",title:"API"},b().createElement(Q,{href:"#Anchor-Props",title:"Anchor Props"}),b().createElement(Q,{href:"#Link-Props",title:"Link Props"}))))},null),tokens:["colorSplit"],key:"anchorInLayout"};function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return{value:e.repeat(t)}},er=function(){var e=ee((0,y.useState)(""),2),t=e[0],r=e[1],n=ee((0,y.useState)([]),2),o=n[0],a=n[1],l=function(e){a(e?[et(e),et(e,2),et(e,3)]:[])},i=function(e){console.log("onSelect",e)};return b().createElement(b().Fragment,null," ",b().createElement(p.AutoComplete,{options:o,style:{width:200},onSelect:i,onSearch:l,placeholder:"input here"})," ",b().createElement("br",null)," ",b().createElement("br",null)," ",b().createElement(p.AutoComplete,{value:t,options:o,style:{width:200},onSelect:i,onSearch:l,onChange:function(e){r(e)},placeholder:"control mode"})," ")},en={demo:b().createElement(function(){return b().createElement(er,null)},null),tokens:[],key:"autoComplete"},eo=[{demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Space,null,b().createElement(p.Avatar,{size:64,icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{size:"large",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{size:"small",icon:b().createElement(M.UserOutlined,null)})),b().createElement(p.Space,null,b().createElement(p.Avatar,{shape:"square",size:64,icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",size:"large",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",icon:b().createElement(M.UserOutlined,null)}),b().createElement(p.Avatar,{shape:"square",size:"small",icon:b().createElement(M.UserOutlined,null)})))},null),key:"default"}],ea={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement(p.Space,{size:"large"},b().createElement(p.Badge,{count:5},b().createElement(p.Avatar,{shape:"square",size:"large"})),b().createElement(p.Badge,{count:0,showZero:!0},b().createElement(p.Avatar,{shape:"square",size:"large"})),b().createElement(p.Badge,{count:b().createElement(M.ClockCircleFilled,{style:{color:e.colorError}})},b().createElement(p.Avatar,{shape:"square",size:"large"})))},null),tokens:["colorError","colorBorderBg","colorBgContainer"],key:"badge"},el={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"processing"}),"Process")},null),tokens:["colorPrimary"],key:"progress"},ei={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"success"}),"Success")},null),tokens:["colorSuccess"],key:"success"},ec={demo:b().createElement(function(){return b().createElement(p.Space,{size:"small"},b().createElement(p.Badge,{dot:!0,status:"warning"}),"Warning")},null),tokens:["colorWarning"],key:"warning"},es=[ea,el,ec,ei],eu={demo:b().createElement(function(){return b().createElement(p.Breadcrumb,null,b().createElement(p.Breadcrumb.Item,null,"Home"),b().createElement(p.Breadcrumb.Item,null,b().createElement("a",{href:""},"Application Center")),b().createElement(p.Breadcrumb.Item,null,b().createElement("a",{href:""},"Application List")),b().createElement(p.Breadcrumb.Item,null,"An Application"))},null),tokens:["colorText","colorPrimary","colorPrimaryActive","colorPrimaryHover"],key:"breadcrumb"},ed={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary"},"Primary Button"),b().createElement(p.Button,null,"Default Button"),b().createElement(p.Button,{type:"dashed"},"Dashed Button")," ",b().createElement("br",null),b().createElement(p.Button,{type:"text"},"Text Button"),b().createElement(p.Button,{ghost:!0},"Ghost Button"),b().createElement(p.Button,{type:"link"},"Link Button"))},null),tokens:["colorText","colorPrimary","colorPrimaryActive","colorPrimaryHover","controlOutline","controlTmpOutline"],key:"button"},em={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary"},"Primary Button"),b().createElement(p.Tooltip,{title:"search"},b().createElement(p.Button,{type:"primary",shape:"circle",icon:b().createElement(M.SearchOutlined,null)})),b().createElement(p.Button,{type:"primary",shape:"circle"},"A"),b().createElement(p.Button,{type:"primary",ghost:!0,icon:b().createElement(M.SearchOutlined,null)},"Search"))},null),tokens:["colorPrimary"],key:"button-icon"},ef={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{type:"primary",danger:!0},"primary"),b().createElement(p.Button,{type:"default",danger:!0},"default"),b().createElement(p.Button,{type:"text",danger:!0},"text"),b().createElement(p.Button,{type:"link",danger:!0},"link"))},null),tokens:["colorError","colorErrorActive","colorErrorHover","colorErrorBorder","colorErrorOutline"],key:"danger"},ep={demo:b().createElement(function(){return b().createElement(p.Button,null,"default")},null),tokens:["colorBgContainer"],key:"defaultButton"},eg={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Button,{disabled:!0,type:"primary"},"Primary"),b().createElement(p.Button,{disabled:!0},"Default"),b().createElement(p.Button,{disabled:!0,type:"dashed"},"Dashed"),b().createElement("br",null),b().createElement(p.Button,{disabled:!0,type:"text"},"Text"),b().createElement(p.Button,{disabled:!0,ghost:!0},"Ghost"),b().createElement(p.Button,{disabled:!0,type:"link"},"Link"))},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},eh=[ed,em,ef,ep,eg],ey={demo:b().createElement(function(){return b().createElement(p.Calendar,null)},null),tokens:["colorPrimary","colorPrimaryHover","colorBgContainer"],key:"default"},eb={demo:b().createElement(function(){return b().createElement(p.Calendar,{disabledDate:function(){return!0}})},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},ev={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Card,{title:"Default size card",extra:b().createElement("a",{href:"#"},"More"),style:{width:300}},b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")),b().createElement(p.Card,{loading:!0,size:"small",title:"Small size card",extra:b().createElement("a",{href:"#"},"More"),style:{width:300}},b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")," ",b().createElement("p",null,"Card content")))},null),tokens:["colorText","colorTextHeading","colorTextSecondary","colorBgContainer","colorBorderSecondary","colorPrimary","colorBgContainer"],key:"card"},eE={width:"25%",textAlign:"center"},eS={demo:b().createElement(function(){return b().createElement(p.Card,{title:"Card Title"},b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{hoverable:!1,style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"),b().createElement(p.Card.Grid,{style:eE},"Content"))},null),tokens:["colorBorderSecondary"],key:"cardGrid"},ek={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Card,{type:"inner",title:"Inner Card title"},"Inner Card content"))},null),tokens:["colorFillAlter"],key:"inner"},ex={height:"160px",color:"#fff",lineHeight:"160px",textAlign:"center",background:"#364d79"},ew={demo:b().createElement(function(){return b().createElement(p.Carousel,null,b().createElement("div",null,b().createElement("h3",{style:ex},"1")),b().createElement("div",null,b().createElement("h3",{style:ex},"2")),b().createElement("div",null,b().createElement("h3",{style:ex},"3")),b().createElement("div",null,b().createElement("h3",{style:ex},"4")))},null),tokens:["colorText","colorBgContainer"],key:"default"},eC=[{value:"zhejiang",label:"Zhejiang",children:[{value:"hangzhou",label:"Hangzhou",children:[{value:"xihu",label:"West Lake"}]}]},{value:"jiangsu",label:"Jiangsu",children:[{value:"nanjing",label:"Nanjing",children:[{value:"zhonghuamen",label:"Zhong Hua Men"}]}]}],eT=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eA={demo:b().createElement(function(e){var t,r;return b().createElement(eT,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({options:eC},e),r=(r={open:!0,placeholder:"Please select"},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},null),tokens:["colorBgContainer","colorPrimary"],key:"default"},eB=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eO={demo:b().createElement(function(){return b().createElement(eB,{options:eC,open:!0,disabled:!0,placeholder:"Please select"})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},eP=p.Cascader._InternalPanelDoNotUseOrYouWillBeFired,eI={demo:b().createElement(function(){return b().createElement(eP,{options:eC,placeholder:"Please select",searchValue:"jiang",showSearch:!0})},null),tokens:["colorHighlight"],key:"highlight"},eM={demo:b().createElement(function(e){var t,r;return b().createElement(p.Space,null,b().createElement(p.Checkbox,e,"Checkbox"),b().createElement(p.Checkbox,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,a;n=e,o=t,a=r[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})}return e}({},e),r=(r={checked:!0},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t),"选中态"))},null),tokens:["colorPrimary","colorText","colorBgContainer"],key:"default"},eH={demo:b().createElement(function(){return b().createElement(p.Checkbox,{disabled:!0},"Checkbox")},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},ez=p.Collapse.Panel,eD=" A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.",ej={demo:b().createElement(function(){return b().createElement(p.Collapse,{defaultActiveKey:["1"]},b().createElement(ez,{header:"This is panel header 1",key:"1"},b().createElement("p",null,eD)),b().createElement(ez,{header:"This is panel header 2",key:"2"},b().createElement("p",null,eD)),b().createElement(ez,{header:"This is panel header 3",key:"3"},b().createElement("p",null,eD)))},null),tokens:["colorTextSecondary","colorText","colorFillAlter","colorBgContainer"],key:"default"},eL={demo:b().createElement(function(){return b().createElement(p.DatePicker,{status:"error"})},null),tokens:["colorError","colorErrorBorder","colorErrorHover","colorErrorOutline"],key:"danger"},eR={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"week"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"month"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"quarter"}),b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,{picker:"year"}))},null),tokens:["colorPrimary","colorPrimaryBorder","colorPrimaryHover","controlOutline","colorBgElevated","colorBgContainer"],key:"default"},eF={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.DatePicker,{disabled:!0}),b().createElement(p.DatePicker,{disabled:!0,picker:"week"}),b().createElement(p.DatePicker,{disabled:!0,picker:"month"}),b().createElement(p.DatePicker,{disabled:!0,picker:"quarter"}),b().createElement(p.DatePicker,{disabled:!0,picker:"year"}))},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},eW={demo:b().createElement(function(){return b().createElement(p.DatePicker._InternalPanelDoNotUseOrYouWillBeFired,null)},null),tokens:["colorIcon","colorIconHover"],key:"icon"},e_={demo:b().createElement(function(){return b().createElement(p.DatePicker,{status:"warning"})},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},eN={demo:b().createElement(function(){return b().createElement(p.Descriptions,{title:"User Info",bordered:!0},b().createElement(p.Descriptions.Item,{label:"Product"},"Cloud Database"),b().createElement(p.Descriptions.Item,{label:"Billing Mode"},"Prepaid"),b().createElement(p.Descriptions.Item,{label:"Automatic Renewal"},"YES"),b().createElement(p.Descriptions.Item,{label:"Order time"},"2018-04-24 18:00:00"))},null),tokens:["colorSplit","colorText","colorFillAlter"],key:"default"},eX={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{plain:!0},"Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{orientation:"left",plain:!0},"Left Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."),b().createElement(p.Divider,{orientation:"right",plain:!0},"Right Text"),b().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo."))},null),tokens:["colorSplit","colorText"],key:"divider"};function eG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eU={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return eG(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eG(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(b().Fragment,null,b().createElement(p.Button,{type:"primary",onClick:function(){o(!0)}},"Open"),b().createElement(p.Drawer,{title:"Basic Drawer",placement:"right",onClose:function(){o(!1)},open:n},b().createElement("p",null,"Some contents..."),b().createElement("p",null,"Some contents..."),b().createElement("p",null,"Some contents...")))},null),tokens:["colorBgMask","colorBgElevated"],key:"default"},e$=b().createElement(p.Menu,null,b().createElement(p.Menu.Item,null,b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com"},"1st menu item")),b().createElement(p.Menu.Item,{icon:b().createElement(M.DownOutlined,null),disabled:!0},b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com"},"2nd menu item (disabled)")),b().createElement(p.Menu.Item,{disabled:!0},b().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com"},"3rd menu item (disabled)")),b().createElement(p.Menu.Item,{danger:!0},"a danger item")),eq={demo:b().createElement(function(){return b().createElement("div",null,b().createElement("a",{className:"ant-dropdown-link",onClick:function(e){return e.preventDefault()}},"Hover me ",b().createElement(M.DownOutlined,null)),b().createElement(p.Dropdown._InternalPanelDoNotUseOrYouWillBeFired,{overlay:e$}))},null),tokens:["colorPrimary","colorError","colorErrorHover","colorBgElevated"],key:"default"},eY={demo:b().createElement(function(){return b().createElement(p.Empty,null)},null),tokens:["colorTextDisabled"],key:"default"},eV={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:8},wrapperCol:{span:16},initialValues:{remember:!0},onFinish:function(){},onFinishFailed:function(){},autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)),b().createElement(p.Form.Item,{label:"Password",name:"password",rules:[{required:!0,message:"Please input your password!"}]},b().createElement(p.Input.Password,null)),b().createElement(p.Form.Item,{name:"remember",valuePropName:"checked",wrapperCol:{offset:8,span:16}},b().createElement(p.Checkbox,null,"Remember me")),b().createElement(p.Form.Item,{wrapperCol:{offset:8,span:16}},b().createElement(p.Button,{type:"primary",htmlType:"submit"},"Submit")))},null),tokens:["colorError","controlOutline","colorErrorBorder","colorErrorHover"],key:"default"};function eZ(){}var eQ={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:4},wrapperCol:{span:20},initialValues:{remember:!0},onFinish:eZ,autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",status:"error",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)))},null),tokens:["colorError","colorErrorBorder","colorErrorHover"],key:"danger"};function eK(){}var eJ={demo:b().createElement(function(){return b().createElement(p.Form,{name:"basic",labelCol:{span:8},wrapperCol:{span:16},initialValues:{remember:!0},onFinish:eK,autoComplete:"off"},b().createElement(p.Form.Item,{label:"Username",name:"username",status:"warning",rules:[{required:!0,message:"Please input your username!"}]},b().createElement(p.Input,null)))},null),tokens:["colorWarning"],key:"warning"};function e0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var e2=L("GridDemo",function(e){var t;return{".previewer-grid-demo":(e1(t={},"".concat(e.rootCls,"-row"),{marginBottom:16}),e1(t,"".concat(e.rootCls,"-row > div:not(.gutter-row)"),{padding:"16px 0",background:"#0092ff",color:"#fff",display:"inline-flex",alignItems:"center",justifyContent:"center","&:nth-child(2n + 1)":{background:"rgba(0,146,255,.75)"}}),t)}}),e3={demo:b().createElement(function(){var e,t,r=(e=e2(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return e0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e0(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return b().createElement("div",{className:z()("previewer-grid-demo",r)},b().createElement(p.Row,null,b().createElement(p.Col,{span:24},"col")),b().createElement(p.Row,null,b().createElement(p.Col,{span:12},"col-12")," ",b().createElement(p.Col,{span:12},"col-12")),b().createElement(p.Row,null,b().createElement(p.Col,{span:8},"col-8")," ",b().createElement(p.Col,{span:8},"col-8"),b().createElement(p.Col,{span:8},"col-8")),b().createElement(p.Row,null,b().createElement(p.Col,{span:6},"col-6")," ",b().createElement(p.Col,{span:6},"col-6"),b().createElement(p.Col,{span:6},"col-6"),b().createElement(p.Col,{span:6},"col-6")))},null),key:"default"},e6={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(M.HomeOutlined,null)," ",b().createElement(M.SettingFilled,null)," ",b().createElement(M.SmileOutlined,null)," ",b().createElement(M.SyncOutlined,{spin:!0}),b().createElement(M.SmileOutlined,{rotate:180})," ",b().createElement(M.LoadingOutlined,null))},null),key:"default"},e5={demo:b().createElement(function(){return b().createElement(p.Image,{width:200,height:200,src:"error",placeholder:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},e8={demo:b().createElement(function(){return b().createElement(p.Image,{width:200,src:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"})},null),tokens:["colorBgMask"],key:"default"},e4={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage",value:"右侧的图标就是 colorIcon",allowClear:!0})},null),tokens:["colorIcon","colorIconHover"],key:"clearIcon"};function e7(){}var e9={demo:b().createElement(function(){return b().createElement(p.Input,{status:"error",defaultValue:"hello",onChange:e7})},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},te={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage",disabled:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"},tt={demo:b().createElement(function(){return b().createElement(p.Input,{placeholder:"Basic usage"})},null),tokens:["colorPrimary","colorPrimaryHover","controlOutline","colorBgContainer"],key:"default"};function tr(){}var tn={demo:b().createElement(function(){return b().createElement(p.Input,{status:"warning",defaultValue:3,onChange:tr})},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},to={demo:b().createElement(function(){return b().createElement(p.Input,{addonBefore:"http://",addonAfter:".com",defaultValue:"mysite"})},null),tokens:["colorFillAlter"],key:"withAddon"},ta=[tt,e4,e9,tn,to,te];function tl(){}var ti={demo:b().createElement(function(){return b().createElement(p.InputNumber,{status:"error",min:1,max:10,defaultValue:3,onChange:tl})},null),tokens:["colorErrorBorder","colorErrorOutline","colorErrorHover","colorError"],key:"danger"},tc={demo:b().createElement(function(){return b().createElement(p.InputNumber,{min:1,max:10,defaultValue:3,disabled:!0})},null),tokens:["colorBgContainerDisabled"],key:"disabled"};function ts(){}var tu={demo:b().createElement(function(){return b().createElement(p.InputNumber,{min:1,max:10,defaultValue:3,onChange:ts})},null),tokens:["colorPrimaryBorder","controlOutline","colorPrimaryHover","colorPrimary","colorBgContainer"],key:"default"};function td(){}var tm={demo:b().createElement(function(){return b().createElement(p.InputNumber,{status:"warning",min:1,max:10,defaultValue:3,onChange:td})},null),tokens:["colorWarning","colorWarningBorder","colorWarningOutline","colorWarningHover"],key:"warning"},tf=[{title:"Ant Design Title 1"},{title:"Ant Design Title 2"},{title:"Ant Design Title 3"},{title:"Ant Design Title 4"}],tp={demo:b().createElement(function(){return b().createElement(p.List,{itemLayout:"horizontal",dataSource:tf,renderItem:function(e){return b().createElement(p.List.Item,null,b().createElement(p.List.Item.Meta,{avatar:b().createElement(p.Avatar,{src:"https://joeschmoe.io/api/v1/random"}),title:b().createElement("a",{href:"https://ant.design"},e.title),description:"Ant Design, a design language for background applications, is refined by Ant UED Team"}))}})},null),tokens:[],key:"default"},tg=p.Mentions.Option;function th(){}function ty(){}var tb={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},onChange:th,onSelect:ty,status:"error",defaultValue:"@afc163"},b().createElement(tg,{value:"afc163"},"afc163"),b().createElement(tg,{value:"zombieJ"},"zombieJ"),b().createElement(tg,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},tv=p.Mentions.Option,tE={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},status:"error",disabled:!0,defaultValue:"@afc163"},b().createElement(tv,{value:"afc163"},"afc163"),b().createElement(tv,{value:"zombieJ"},"zombieJ"),b().createElement(tv,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},tS=p.Mentions.Option;function tk(){}function tx(){}var tw={demo:b().createElement(function(){return b().createElement(p.Mentions._InternalPanelDoNotUseOrYouWillBeFired,{style:{width:"100%"},onChange:tk,onSelect:tx,defaultValue:"@afc163"},b().createElement(tS,{value:"afc163"},"afc163"),b().createElement(tS,{value:"zombieJ"},"zombieJ"),b().createElement(tS,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorBgContainer","colorBorder","colorPrimary","colorPrimaryHover","controlOutline"],key:"default"},tC=p.Mentions.Option;function tT(){}function tA(){}var tB={demo:b().createElement(function(){return b().createElement(p.Mentions,{style:{width:"100%"},onChange:tT,onSelect:tA,status:"warning",defaultValue:"@afc163"},b().createElement(tC,{value:"afc163"},"afc163"),b().createElement(tC,{value:"zombieJ"},"zombieJ"),b().createElement(tC,{value:"yesmeck"},"yesmeck"))},null),tokens:["colorWarning","colorWarningBorder","colorWarningHover","colorWarningOutline"],key:"warning"},tO=function(e,t,r,n,o){return{key:t,icon:r,children:n,label:e,type:o}},tP=[tO("Navigation One","sub1",b().createElement(M.MailOutlined,null),[tO("Item 1","g1",null,[tO("Option 1","1"),tO("Option 2","2")],"group"),tO("Item 2","g2",null,[tO("Option 3","3"),tO("Option 4","4")],"group")]),tO("Navigation Two","sub2",b().createElement(M.AppstoreOutlined,null),[tO("Option 5","5"),tO("Option 6","6"),tO("Submenu","sub3",null,[tO("Option 7","7"),tO("Option 8","8")])]),tO("Navigation Three","sub4",b().createElement(M.SettingOutlined,null),[tO("Option 9","9"),tO("Option 10","10"),tO("Option 11","11"),tO("Option 12","12")])],tI={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Menu,{onClick:function(e){console.log("click ",e)},style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1","sub2"],mode:"inline",items:tP}))},null),tokens:["colorPrimary","colorBgContainer","colorFillAlter","colorSplit","colorPrimaryHover"],key:"default"},tM=[{key:"0",danger:!0,label:"危险"},{key:"1",danger:!0,label:"危险选中"},{key:"2",danger:!0,disabled:!0,label:"危险禁用"}],tH={demo:b().createElement(function(){return b().createElement(p.Menu,{onClick:function(e){console.log("click ",e)},style:{width:256},defaultSelectedKeys:["1"],items:tM})},null),tokens:["colorError","colorErrorHover","colorErrorOutline"],key:"danger"},tz={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{background:e.colorBorderSecondary,padding:12}},b().createElement(p.Menu,{style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",items:tP}))},null),tokens:["colorSplit"],key:"menuInLayout"},tD=[tI,tH,tz],tj=p.message._InternalPanelDoNotUseOrYouWillBeFired,tL={demo:b().createElement(function(){return b().createElement(tj,{type:"error",content:"这是一条异常消息,会主动消失"})},null),tokens:["colorError"],key:"error"},tR=p.message._InternalPanelDoNotUseOrYouWillBeFired,tF={demo:b().createElement(function(){return b().createElement(tR,{type:"info",content:"Info"})},null),tokens:["colorInfo"],key:"info"},tW=p.message._InternalPanelDoNotUseOrYouWillBeFired,t_={demo:b().createElement(function(){return b().createElement(tW,{type:"info",content:"Hello, Ant Design!"})},null),tokens:["colorText","colorBgElevated"],key:"message"},tN=p.message._InternalPanelDoNotUseOrYouWillBeFired,tX={demo:b().createElement(function(){return b().createElement(tN,{type:"success",content:"这是一条成功消息,会主动消失"})},null),tokens:["colorSuccess"],key:"success"},tG=p.message._InternalPanelDoNotUseOrYouWillBeFired,tU={demo:b().createElement(function(){return b().createElement(tG,{type:"warning",content:"这是一条警告消息,会主动消失"})},null),tokens:["colorWarning"],key:"warning"},t$=[t_,tL,tF,tX,tU],tq=p.Modal._InternalPanelDoNotUseOrYouWillBeFired,tY={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(tq,{title:"Basic Modal"},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")))},null),tokens:["colorInfo"],key:"info"},tV={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{title:"Basic Modal"},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents..."))},null),tokens:["colorBgElevated"],key:"default"};function tZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var tQ={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return tZ(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tZ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(b().Fragment,null,b().createElement(p.Button,{type:"primary",onClick:function(){o(!0)}},"Open Modal"),b().createElement(p.Modal,{title:"Basic Modal",open:n,onOk:function(){o(!1)},onCancel:function(){o(!1)}},b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")," ",b().createElement("p",null,"Some contents...")))},null),tokens:["colorBgMask"],key:"modalWithButton"},tK={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{type:"success"},"A good news!")},null),tokens:["colorSuccess"],key:"success"},tJ={demo:b().createElement(function(){return b().createElement(p.Modal._InternalPanelDoNotUseOrYouWillBeFired,{type:"confirm",title:"Confirm This?"},"Some descriptions.")},null),tokens:["colorWarning"],key:"warning"},t0=[tV,tY,tQ,tJ,tK],t1=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t2={demo:b().createElement(function(){return b().createElement(t1,{message:"Notification Title",type:"error",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorError"],key:"error"},t3=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t6={demo:b().createElement(function(){return b().createElement(t3,{message:"Notification Title",type:"info",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorInfo"],key:"info"},t5=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t8={demo:b().createElement(function(){return b().createElement(t5,{message:"Notification Title",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorIcon","colorIconHover","colorBgElevated"],key:"default"},t4=p.notification._InternalPanelDoNotUseOrYouWillBeFired,t7={demo:b().createElement(function(){return b().createElement(t4,{message:"Notification Title",type:"success",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorSuccess"],key:"success"},t9=p.notification._InternalPanelDoNotUseOrYouWillBeFired,re={demo:b().createElement(function(){return b().createElement(t9,{message:"Notification Title",type:"warning",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},null),tokens:["colorWarning"],key:"warning"},rt=[t8,t6,t2,t7,re],rr={demo:b().createElement(function(){return b().createElement(p.Pagination,{showQuickJumper:!0,defaultCurrent:2,total:10,disabled:!0})},null),tokens:["controlItemBgActiveDisabled","colorBgContainerDisabled","colorFillAlter"],key:"disabled"},rn={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Pagination,{showQuickJumper:!0,pageSize:1,defaultCurrent:2,total:10}))},null),tokens:["colorPrimary","controlOutline","colorPrimaryHover","colorBgContainer"],key:"outline"},ro={demo:b().createElement(function(){return b().createElement(p.Space,{direction:"vertical"},b().createElement(p.Pagination,{showQuickJumper:!0,defaultCurrent:2,total:500}),b().createElement(p.Pagination,{simple:!0}))},null),tokens:["colorPrimary","colorPrimaryHover","colorBgContainer"],key:"default"},ra=[ro,rr,rn];function rl(){p.message.success("Click on Yes")}function ri(){p.message.error("Click on No")}var rc={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Popconfirm._InternalPanelDoNotUseOrYouWillBeFired,{title:"Are you sure to delete this task?",onConfirm:rl,onCancel:ri,okText:"Yes",cancelText:"No",placement:"topLeft"}))},null),tokens:["colorBgElevated","colorWarning"],key:"default"},rs=[rc],ru=b().createElement("div",null,b().createElement("p",null,"Content")," ",b().createElement("p",null,"Content")),rd={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Popover._InternalPanelDoNotUseOrYouWillBeFired,{content:ru,title:"Title"}),b().createElement(p.Button,{type:"primary"},"Hover me"))},null),tokens:["colorBgElevated"],key:"default"},rm=d("665"),rf=d("298"),rp=d.n(rf),rg=function(e){function t(e,t,n){var o=t.trim().split(p);t=o;var a=o.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<a;++i)t[i]=r(e,t[i],n).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var s=0;s<l;++s)t[c++]=r(e[s]+" ",o[i],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var l=e+";",i=2*t+3*r+4*a;if(944===i){e=l.indexOf(":",9)+1;var c=l.substring(e,l.length-1).trim();return c=l.substring(0,e).trim()+c+";",1===O||2===O&&o(c,1)?"-webkit-"+c+c:c}if(0===O||2===O&&!o(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(C,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(c=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+c+l;case 1005:return m.test(l)?l.replace(d,":-webkit-")+l.replace(d,":-moz-")+l:l;case 1e3:switch(t=(c=l.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=l.replace(v,"tb");break;case 232:c=l.replace(v,"tb-rl");break;case 220:c=l.replace(v,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+c+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(c=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:l=l.replace(c,"-webkit-"+c)+";"+l;break;case 207:case 102:l=l.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(c,"-webkit-"+c)+";"+l.replace(c,"-ms-"+c+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return c=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+c+"-ms-flex-"+c+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(k,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(k,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===w.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):l.replace(c,"-webkit-"+c)+l.replace(c,"-moz-"+c.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===r+a&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+l}return l}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),H(2!==t?n:n.replace(x,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(S," or ($1)").substring(4):"("+t+")"}function l(e,t,r,n,o,a,l,i,s,u){for(var d,m=0,f=t;m<M;++m)switch(d=I[m].call(c,e,f,r,n,o,a,l,i,s,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function i(e){return void 0!==(e=e.prefix)&&(H=null,e?"function"!=typeof e?O=1:(O=2,H=e):O=0),i}function c(e,r){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[D=i],0<M){var c=l(-1,r,i,i,A,T,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,i,c,d,m){for(var f,p,g,v,S,k=0,x=0,w=0,C=0,I=0,H=0,D=g=f=0,j=0,L=0,R=0,F=0,W=c.length,_=W-1,N="",X="",G="",U="";j<W;){if(p=c.charCodeAt(j),j===_&&0!==x+C+w+k&&(0!==x&&(p=47===x?10:47),C=w=k=0,W++,_++),0===x+C+w+k){if(j===_&&(0<L&&(N=N.replace(u,"")),0<N.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:N+=c.charAt(j)}p=59}switch(p){case 123:for(f=(N=N.trim()).charCodeAt(0),g=1,F=++j;j<W;){switch(p=c.charCodeAt(j)){case 123:g++;break;case 125:g--;break;case 47:switch(p=c.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<_;++D)switch(c.charCodeAt(D)){case 47:if(42===p&&42===c.charCodeAt(D-1)&&j+2!==D){j=D+1;break e}break;case 10:if(47===p){j=D+1;break e}}j=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;j++<_&&c.charCodeAt(j)!==p;);}if(0===g)break;j++}if(g=c.substring(F,j),0===f&&(f=(N=N.replace(s,"").trim()).charCodeAt(0)),64===f){switch(0<L&&(N=N.replace(u,"")),p=N.charCodeAt(1)){case 100:case 109:case 115:case 45:L=i;break;default:L=P}if(F=(g=e(i,L,g,p,m+1)).length,0<M&&(S=l(3,g,L=t(P,N,R),i,A,T,F,p,m,d),N=L.join(""),void 0!==S&&0===(F=(g=S.trim()).length)&&(p=0,g="")),0<F)switch(p){case 115:N=N.replace(E,a);case 100:case 109:case 45:g=N+"{"+g+"}";break;case 107:g=(N=N.replace(h,"$1 $2"))+"{"+g+"}",g=1===O||2===O&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=N+g,112===d&&(X+=g,g="")}else g=""}else g=e(i,t(i,N,R),g,d,m+1);G+=g,g=R=L=D=f=0,N="",p=c.charCodeAt(++j);break;case 125:case 59:if(1<(F=(N=(0<L?N.replace(u,""):N).trim()).length))switch(0===D&&(45===(f=N.charCodeAt(0))||96<f&&123>f)&&(F=(N=N.replace(" ",":")).length),0<M&&void 0!==(S=l(1,N,i,r,A,T,X.length,d,m,d))&&0===(F=(N=S.trim()).length)&&(N="\0\0"),f=N.charCodeAt(0),p=N.charCodeAt(1),f){case 0:break;case 64:if(105===p||99===p){U+=N+c.charAt(j);break}default:58!==N.charCodeAt(F-1)&&(X+=n(N,f,p,N.charCodeAt(2)))}R=L=D=f=0,N="",p=c.charCodeAt(++j)}}switch(p){case 13:case 10:47===x?x=0:0===1+f&&107!==d&&0<N.length&&(L=1,N+="\0"),0<M*z&&l(0,N,i,r,A,T,X.length,d,m,d),T=1,A++;break;case 59:case 125:if(0===x+C+w+k){T++;break}default:switch(T++,v=c.charAt(j),p){case 9:case 32:if(0===C+k+x)switch(I){case 44:case 58:case 9:case 32:v="";break;default:32!==p&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===C+x+k&&(L=R=1,v="\f"+v);break;case 108:if(0===C+x+k+B&&0<D)switch(j-D){case 2:112===I&&58===c.charCodeAt(j-3)&&(B=I);case 8:111===H&&(B=H)}break;case 58:0===C+x+k&&(D=j);break;case 44:0===x+w+C+k&&(L=1,v+="\r");break;case 34:case 39:0===x&&(C=C===p?0:0===C?p:C);break;case 91:0===C+x+w&&k++;break;case 93:0===C+x+w&&k--;break;case 41:0===C+x+k&&w--;break;case 40:if(0===C+x+k){if(0===f){if(2*I+3*H==533);else f=1}w++}break;case 64:0===x+w+C+k+D+g&&(g=1);break;case 42:case 47:if(!(0<C+k+w))switch(x){case 0:switch(2*p+3*c.charCodeAt(j+1)){case 235:x=47;break;case 220:F=j,x=42}break;case 42:47===p&&42===I&&F+2!==j&&(33===c.charCodeAt(F+2)&&(X+=c.substring(F,j+1)),v="",x=0)}}0===x&&(N+=v)}H=I,I=p,j++}if(0<(F=X.length)){if(L=i,0<M&&void 0!==(S=l(2,X,L,r,A,T,F,d,m,d))&&0===(X=S).length)return U+X+G;if(X=L.join(",")+"{"+X+"}",0!=O*B){switch(2!==O||o(X,2)||(B=0),B){case 111:X=X.replace(b,":-moz-$1")+X;break;case 112:X=X.replace(y,"::-webkit-input-$1")+X.replace(y,"::-moz-$1")+X.replace(y,":-ms-input-$1")+X}B=0}}return U+X+G}(P,i,r,0,0);return 0<M&&void 0!==(c=l(-2,d,i,i,A,T,d.length,0,0,0))&&(d=c),D="",B=0,T=A=1,d}var s=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,m=/zoo|gra/,f=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,h=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,k=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,w=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,T=1,A=1,B=0,O=1,P=[],I=[],M=0,H=null,z=0,D="";return c.use=function e(t){switch(t){case void 0:case null:M=I.length=0;break;default:if("function"==typeof t)I[M++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else z=0|!!t}return e},c.set=i,void 0!==e&&i(e),c},rh={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},ry=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;var rb=(lw=function(e){return ry.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},lC=Object.create(null),function(e){return void 0===lC[e]&&(lC[e]=lw(e)),lC[e]}),rv=d("905"),rE=d.n(rv);function rS(){return(rS=Object.assign||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}).apply(this,arguments)}var rk=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},rx=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,rm.typeOf)(e)},rw=Object.freeze([]),rC=Object.freeze({});function rT(e){return"function"==typeof e}function rA(e){return e.displayName||e.name||"Component"}function rB(e){return e&&"string"==typeof e.styledComponentId}var rO="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rP="undefined"!=typeof window&&"HTMLElement"in window,rI=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY));function rM(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var rH=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&rM(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),rz=new Map,rD=new Map,rj=1,rL=function(e){if(rz.has(e))return rz.get(e);for(;rD.has(rj);)rj++;var t=rj++;return rz.set(e,t),rD.set(t,e),t},rR=function(e,t){t>=rj&&(rj=t+1),rz.set(e,t),rD.set(t,e)},rF="style["+rO+'][data-styled-version="5.3.11"]',rW=RegExp("^"+rO+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),r_=function(e,t,r){for(var n,o=r.split(","),a=0,l=o.length;a<l;a++)(n=o[a])&&e.registerName(t,n)},rN=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var l=r[o].trim();if(l){var i=l.match(rW);if(i){var c=0|parseInt(i[1],10),s=i[2];0!==c&&(rR(s,c),r_(e,s,i[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(l)}}},rX=function(){return d.nc},rG=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(rO))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(rO,"active"),n.setAttribute("data-styled-version","5.3.11");var l=rX();return l&&n.setAttribute("nonce",l),r.insertBefore(n,a),n},rU=function(){function e(e){var t=this.element=rG(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}rM(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),r$=function(){function e(e){var t=this.element=rG(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),rq=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),rY=rP,rV={isServer:!rP,useCSSOMInjection:!rI},rZ=function(){function e(e,t,r){void 0===e&&(e=rC),void 0===t&&(t={}),this.options=rS({},rV,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&rP&&rY&&(rY=!1,function(e){for(var t=document.querySelectorAll(rF),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(rO)&&(rN(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return rL(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(rS({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,r,n;return this.tag||(this.tag=(t=(e=this.options).isServer,r=e.useCSSOMInjection,n=e.target,new rH(t?new rq(n):r?new rU(n):new r$(n))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(rL(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(rL(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(rL(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a,l=(a=o,rD.get(a));if(void 0!==l){var i=e.names.get(l),c=t.getGroup(o);if(i&&c&&i.size){var s=rO+".g"+o+'[id="'+l+'"]',u="";void 0!==i&&i.forEach(function(e){e.length>0&&(u+=e+",")}),n+=""+c+s+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),rQ=/(a)(d)/gi,rK=function(e){return String.fromCharCode(e+(e>25?39:97))};function rJ(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=rK(t%52)+r;return(rK(t%52)+r).replace(rQ,"$1-$2")}var r0=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},r1=function(e){return r0(5381,e)};function r2(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(rT(r)&&!rB(r))return!1}return!0}var r3=r1("5.3.11"),r6=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&r2(e),this.componentId=t,this.baseHash=r0(r3,t),this.baseStyle=r,rZ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=nd(this.rules,e,t,r).join(""),l=rJ(r0(this.baseHash,a)>>>0);if(!t.hasNameForId(n,l)){var i=r(a,"."+l,void 0,n);t.insertRules(n,l,i)}o.push(l),this.staticRulesId=l}}else{for(var c=this.rules.length,s=r0(this.baseHash,r.hash),u="",d=0;d<c;d++){var m=this.rules[d];if("string"==typeof m)u+=m;else if(m){var f=nd(m,e,t,r),p=Array.isArray(f)?f.join(""):f;s=r0(s,p+d),u+=p}}if(u){var g=rJ(s>>>0);if(!t.hasNameForId(n,g)){var h=r(u,"."+g,void 0,n);t.insertRules(n,g,h)}o.push(g)}}return o.join(" ")},e}(),r5=/^\s*\/\/.*$/gm,r8=[":","[",".","#"];function r4(e){var t,r,n,o,a=void 0===e?rC:e,l=a.options,i=void 0===l?rC:l,c=a.plugins,s=void 0===c?rw:c,u=new rg(i),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,l,i,c,s,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===s)return n+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case -2:n.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),f=function(e,n,a){return 0===n&&-1!==r8.indexOf(a[r.length])||a.match(o)?e:"."+t};function p(e,a,l,i){void 0===i&&(i="&");var c=e.replace(r5,""),s=a&&l?l+" "+a+" { "+c+" }":c;return t=i,n=RegExp("\\"+(r=a)+"\\b","g"),o=RegExp("(\\"+r+"\\b){2,}"),u(l||!a?"":a,s)}return u.use([].concat(s,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,f))},m,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=s.length?s.reduce(function(e,t){return t.name||rM(15),r0(e,t.name)},5381).toString():"",p}var r7=b().createContext(),r9=(r7.Consumer,b().createContext()),ne=(r9.Consumer,new rZ),nt=r4();function nr(){return(0,y.useContext)(r7)||ne}function nn(e){var t=(0,y.useState)(e.stylisPlugins),r=t[0],n=t[1],o=nr(),a=(0,y.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,y.useMemo)(function(){return r4({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,y.useEffect)(function(){rp()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]),b().createElement(r7.Provider,{value:a},b().createElement(r9.Provider,{value:l},e.children))}var no=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=nt);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return rM(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=nt),this.name+e.hash},e}(),na=/([A-Z])/,nl=/([A-Z])/g,ni=/^ms-/,nc=function(e){return"-"+e.toLowerCase()};function ns(e){return na.test(e)?e.replace(nl,nc).replace(ni,"-ms-"):e}var nu=function(e){return null==e||!1===e||""===e};function nd(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],l=0,i=e.length;l<i;l+=1)""!==(o=nd(e[l],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(nu(e))return"";if(rB(e))return"."+e.styledComponentId;if(rT(e))return"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:nd(e(t),t,r,n);return e instanceof no?r?(e.inject(r,n),e.getName(n)):e:rx(e)?function e(t,r){var n,o=[];for(var a in t)t.hasOwnProperty(a)&&!nu(t[a])&&(Array.isArray(t[a])&&t[a].isCss||rT(t[a])?o.push(ns(a)+":",t[a],";"):rx(t[a])?o.push.apply(o,e(t[a],a)):o.push(ns(a)+": "+(null==(n=t[a])||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||a in rh||a.startsWith("--")?String(n).trim():n+"px")+";"));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString()}var nm=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function nf(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return rT(e)||rx(e)?nm(nd(rk(rw,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:nm(nd(rk(e,r)))}var np=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ng=/(^-|-$)/g;function nh(e){return e.replace(np,"-").replace(ng,"")}function ny(e){return"string"==typeof e}var nb=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)};function nv(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0;o<r.length;o++){var a,l=r[o];if(nb(l))for(var i in l){;"__proto__"!==(a=i)&&"constructor"!==a&&"prototype"!==a&&function(e,t,r){var n=e[r];nb(t)&&nb(n)?nv(n,t):e[r]=t}(e,l[i],i)}}return e}var nE=b().createContext();nE.Consumer;var nS={},nk=function(e){return function e(t,r,n){if(void 0===n&&(n=rC),!(0,rm.isValidElementType)(r))return rM(1,String(r));var o=function(){return t(r,n,nf.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,rS({},n,{},o))},o.attrs=function(o){return e(t,r,rS({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(function e(t,r,n){var o=rB(t),a=!ny(t),l=r.attrs,i=void 0===l?rw:l,c=r.componentId,s=void 0===c?(g=r.displayName,h=r.parentComponentId,nS[v="string"!=typeof g?"sc":nh(g)]=(nS[v]||0)+1,E=v+"-"+rJ(r1("5.3.11"+v+nS[v])>>>0),h?h+"-"+E:E):c,u=r.displayName,d=void 0===u?ny(S=t)?"styled."+S:"Styled("+rA(S)+")":u,m=r.displayName&&r.componentId?nh(r.displayName)+"-"+r.componentId:r.componentId||s,f=o&&t.attrs?Array.prototype.concat(t.attrs,i).filter(Boolean):i,p=r.shouldForwardProp;o&&t.shouldForwardProp&&(p=r.shouldForwardProp?function(e,n,o){return t.shouldForwardProp(e,n,o)&&r.shouldForwardProp(e,n,o)}:t.shouldForwardProp);var g,h,v,E,S,k,x=new r6(n,m,o?t.componentStyle:void 0),w=x.isStatic&&0===i.length,C=function(e,t){return function(e,t,r,n){var o,a,l,i,c,s,u,d,m,f,p,g,h,b,v=e.attrs,E=e.componentStyle,S=e.defaultProps,k=e.foldedComponentIds,x=e.shouldForwardProp,w=e.styledComponentId,C=e.target,T=(i=(o=t,a=(0,y.useContext)(nE),void 0===(l=S)&&(l=rC),o.theme!==l.theme&&o.theme||a||l.theme||rC),c=t,s=v,void 0===i&&(i=rC),u=rS({},c,{theme:i}),d={},s.forEach(function(e){var t,r,n,o=e;for(t in rT(o)&&(o=o(u)),o)u[t]=d[t]="className"===t?(r=d[t],n=o[t],r&&n?r+" "+n:r||n):o[t]}),[u,d]),A=T[0],B=T[1],O=(m=E,f=n,p=A,g=0,h=nr(),b=(0,y.useContext)(r9)||nt,f?m.generateAndInjectStyles(rC,h,b):m.generateAndInjectStyles(p,h,b)),P=B.$as||t.$as||B.as||t.as||C,I=ny(P),M=B!==t?rS({},t,{},B):t,H={};for(var z in M)"$"!==z[0]&&"as"!==z&&("forwardedAs"===z?H.as=M[z]:(x?x(z,rb,P):!I||rb(z))&&(H[z]=M[z]));return t.style&&B.style!==t.style&&(H.style=rS({},t.style,{},B.style)),H.className=Array.prototype.concat(k,w,O!==w?O:null,t.className,B.className).filter(Boolean).join(" "),H.ref=r,(0,y.createElement)(P,H)}(k,e,t,w)};return C.displayName=d,(k=b().forwardRef(C)).attrs=f,k.componentStyle=x,k.displayName=d,k.shouldForwardProp=p,k.foldedComponentIds=o?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):rw,k.styledComponentId=m,k.target=o?t.target:t,k.withComponent=function(t){var o=r.componentId,a=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}(r,["componentId"]),l=o&&o+"-"+(ny(t)?t:nh(rA(t)));return e(t,rS({},a,{attrs:f,componentId:l}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?nv({},t.defaultProps,e):e}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),a&&rE()(k,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){nk[e]=nk(e)}),(lT=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=r2(e),rZ.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,r,n){var o=n(nd(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},lT.removeStyles=function(e,t){t.clearRules(this.componentId+e)},lT.renderStyles=function(e,t,r,n){e>2&&rZ.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},(lA=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=rX();return"<style "+[r&&'nonce="'+r+'"',rO+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?rM(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return rM(2);var t,r=((t={})[rO]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=rX();return n&&(r.nonce=n),[b().createElement("style",rS({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new rZ({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?rM(2):b().createElement(nn,{sheet:this.instance},e)},lA.interleaveWithNodeStream=function(e){return rM(3)};var nx=function(e,t){if(t)return"row";switch(e){case"horizontal":return"row";case"horizontal-reverse":return"row-reverse";case"vertical":default:return"column";case"vertical-reverse":return"column-reverse"}},nw=function(e,t){return"row"===nx(e,t)},nC=function(e){return"number"==typeof e?"".concat(e,"px"):e};var nT=nk.div.attrs(function(){return{className:"layoutkit-flexbox"}})(lP||(lB=["\n // 是否显示\n display: ",";\n\n flex: ",";\n\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n\n width: ",";\n height: ",";\n\n padding: ",";\n\n > *:not(:last-child) {\n margin-right: ",";\n margin-bottom: ",";\n }\n"],!lO&&(lO=lB.slice(0)),lP=Object.freeze(Object.defineProperties(lB,{raw:{value:Object.freeze(lO)}}))),function(e){return e.hidden?"none":"flex"},function(e){return e.flex},function(e){return nx(e.direction,e.horizontal)},function(e){return e.distribution},function(e){return e.align},function(e){return nw(e.direction,e.horizontal)&&!e.width&&["space-between","space-around","space-evenly"].includes(e.distribution)?"100%":nC(e.width)},function(e){return nC(e.height)},function(e){return nC(e.padding)},function(e){return nw(e.direction,e.horizontal)&&nC(e.gap)},function(e){var t;return t=e.direction,"column"===nx(t,e.horizontal)&&nC(e.gap)});d("704");for(var nA={demo:b().createElement(function(){return b().createElement(nT,{gap:12},b().createElement(nT,{horizontal:!0,gap:24},b().createElement(p.Progress,{percent:70,status:"exception",type:"dashboard"}),b().createElement(p.Progress,{percent:80,status:"exception",type:"circle"})),b().createElement(p.Progress,{percent:50,status:"exception"}))},null),tokens:["colorError"],key:"danger"},nB={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,type:"dashboard"}),b().createElement(p.Progress,{percent:80,type:"circle"}),b().createElement(p.Progress,{steps:8,percent:30}))},null),tokens:["colorInfo"],key:"info"},nO={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,status:"exception"}),b().createElement(p.Progress,{percent:100}),b().createElement(p.Progress,{percent:50,showInfo:!1}),b().createElement(p.Progress,{steps:8}))},null),tokens:["colorFillSecondary","colorText","colorBgContainer"],key:"default"},nP={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{padding:24,background:e.colorBgLayout}},b().createElement(p.Progress,{percent:30}),b().createElement(p.Progress,{percent:50,status:"active"}),b().createElement(p.Progress,{percent:70,status:"exception"}),b().createElement(p.Progress,{percent:100}),b().createElement(p.Progress,{percent:50,showInfo:!1}),b().createElement(p.Progress,{steps:8}))},null),tokens:["colorFillSecondary","colorText","colorBgContainer"],key:"layout"},nI={demo:b().createElement(function(){return b().createElement(nT,{gap:12},b().createElement(nT,{horizontal:!0,gap:24},b().createElement(p.Progress,{percent:70,status:"success",type:"dashboard"}),b().createElement(p.Progress,{percent:80,status:"success",type:"circle"})),b().createElement(p.Progress,{percent:50,status:"success"}))},null),tokens:["colorSuccess"],key:"success"},nM=[nO,nB,nA,nI,nP],nH={demo:b().createElement(function(){return b().createElement(p.Space,null,b().createElement(p.Radio.Group,{defaultValue:"a",buttonStyle:"solid"},b().createElement(p.Radio.Button,{value:"a",checked:!0},"Hangzhou"),b().createElement(p.Radio.Button,{value:"b"},"Shanghai")),b().createElement("div",null,b().createElement(p.Radio.Button,null,"Apple"),b().createElement(p.Radio.Button,{checked:!0},"Orange")))},null),tokens:["colorPrimaryActive","colorPrimaryHover"],key:"button"},nz={demo:b().createElement(function(){return b().createElement(p.Radio,{disabled:!0},"Radio")},null),tokens:["colorBgContainerDisabled"],key:"disabled"},nD={demo:b().createElement(function(){return b().createElement(p.Radio,{checked:!0},"Radio")},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"},nj=[nD,nH,nz],nL={demo:b().createElement(function(){return b().createElement(p.Rate,null)},null),tokens:["colorFillContent"],key:"default"},nR={demo:b().createElement(function(){return b().createElement(p.Result,{status:"error",title:"Demo示意",subTitle:"status 为 error"})},null),tokens:["colorError"],key:"danger"},nF={demo:b().createElement(function(){return b().createElement(p.Result,{status:"info",title:"Demo示意",subTitle:"status 为info"})},null),tokens:["colorInfo"],key:"info"},nW={demo:b().createElement(function(){return b().createElement(p.Result,{status:"success",title:"Successfully Purchased Cloud Server ECS!",subTitle:"Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait.",extra:[b().createElement(p.Button,{type:"primary",key:"console"},"Go Console"),b().createElement(p.Button,{key:"buy"},"Buy Again")]})},null),tokens:["colorSuccess"],key:"result"},n_={demo:b().createElement(function(){return b().createElement(p.Result,{title:"Demo示意",subTitle:"背景色为 colorFillAlter"},"Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait.")},null),tokens:["colorFillAlter"],key:"resultWithDesc"},nN={demo:b().createElement(function(){return b().createElement(p.Result,{status:"warning",title:"Demo示意",subTitle:"status 为warning"})},null),tokens:["colorWarning"],key:"warning"},nX=[nW,nF,nN,nR,n_],nG={demo:b().createElement(function(){return b().createElement(p.Segmented,{options:["Daily","Weekly","Monthly","Quarterly","Yearly"]})},null),key:"default",tokens:[]},nU=p.Select._InternalPanelDoNotUseOrYouWillBeFired,n$=[],nq=10;nq<36;nq++)n$.push({value:nq.toString(36)+nq,label:nq.toString(36)+nq});var nY=function(e){console.log("selected ".concat(e))},nV={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},status:"error",options:n$,placeholder:"Please select",defaultValue:["a10","c12"],onChange:nY})},null),tokens:["colorError","colorErrorOutline","colorErrorBorder","colorErrorHover"],key:"danger"},nZ={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},disabled:!0,options:n$,placeholder:"Please select",defaultValue:["a10","c12"]})},null),tokens:["colorBgContainerDisabled","colorTextDisabled"],key:"disabled"},nQ=function(e){console.log("selected ".concat(e))},nK={demo:b().createElement(function(){return b().createElement(nU,{allowClear:!0,style:{width:"100%"},options:n$,placeholder:"Please select",value:["a10","c12"],onChange:nQ})},null),tokens:["colorIcon","colorIconHover"],key:"icon"},nJ=p.Select.Option,n0=p.Select._InternalPanelDoNotUseOrYouWillBeFired;function n1(){}var n2={demo:b().createElement(function(){return b().createElement(p.Space,{align:"start"},b().createElement(n0,{defaultValue:"lucy",style:{width:120},onChange:n1},b().createElement(nJ,{value:"jack"},"Jack")," ",b().createElement(nJ,{value:"lucy"},"Lucy"),b().createElement(nJ,{value:"disabled",disabled:!0},"Disabled"),b().createElement(nJ,{value:"Yiminghe"},"yiminghe")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},disabled:!0},b().createElement(nJ,{value:"lucy"},"Lucy")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},loading:!0},b().createElement(nJ,{value:"lucy"},"Lucy")),b().createElement(n0,{defaultValue:"lucy",style:{width:120},allowClear:!0},b().createElement(nJ,{value:"lucy"},"Lucy")))},null),tokens:["controlOutline","colorPrimary","colorPrimaryHover","colorText","colorBgElevated","colorBgContainer"],key:"select"},n3=function(e){console.log("selected ".concat(e))},n6={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},options:n$,listHeight:200,placeholder:"Please select",defaultValue:["a10","c12","e14"],onChange:n3})},null),tokens:["colorPrimary","colorFillSecondary"],key:"selectTag"},n5=function(e){console.log("selected ".concat(e))},n8={demo:b().createElement(function(){return b().createElement(nU,{mode:"multiple",allowClear:!0,style:{width:"100%"},status:"warning",options:n$,placeholder:"Please select",defaultValue:["a10","c12"],onChange:n5})},null),tokens:["colorWarningHover","colorWarningOutline"],key:"warning"},n4={demo:b().createElement(function(){return b().createElement(p.Skeleton,{active:!0})},null),tokens:["colorFillContent","colorTextPlaceholder"],key:"default"},n7={demo:b().createElement(function(){return b().createElement(b().Fragment,null,b().createElement(p.Slider,{defaultValue:30}),b().createElement(p.Slider,{range:!0,defaultValue:[20,50]}))},null),tokens:["colorFillSecondary","colorFillContentHover","colorBgContainer","colorPrimary","colorPrimaryHover","colorPrimaryBorderHover","colorPrimaryBorder"],key:"default"},n9={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement("div",{style:{padding:12,background:e.colorFillSecondary}},b().createElement(p.Slider,{defaultValue:30}),b().createElement(p.Slider,{range:!0,defaultValue:[20,50]}))},null),tokens:["colorFillSecondary","colorFillContentHover","colorBgContainer","colorPrimary","colorPrimaryHover","colorPrimaryBorderHover","colorPrimaryBorder"],key:"sliderInBg"},oe={demo:b().createElement(function(){return b().createElement(p.Space,null,"Space",b().createElement(p.Button,{type:"primary"},"Button"),b().createElement(p.Upload,null,b().createElement(p.Button,null,b().createElement(M.UploadOutlined,null)," Click to Upload")),b().createElement(p.Popconfirm,{title:"Are you sure delete this task?",okText:"Yes",cancelText:"No"},b().createElement(p.Button,null,"Confirm")))},null),key:"default"},ot={demo:b().createElement(function(){return b().createElement(p.Spin,null)},null),tokens:["colorPrimary","colorBgContainer"],key:"default"},or={demo:b().createElement(function(){return b().createElement(p.Row,{gutter:16},b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Active Users",value:112893})),b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Account Balance (CNY)",value:112893,precision:2}),b().createElement(p.Button,{style:{marginTop:16},type:"primary"},"Recharge")),b().createElement(p.Col,{span:12},b().createElement(p.Statistic,{title:"Active Users",value:112893,loading:!0})))},null),tokens:["colorPrimary"],key:"default"},on=p.Steps.Step,oo={demo:b().createElement(function(){return b().createElement(p.Steps,{current:1},b().createElement(on,{title:"Error",status:"error",description:"This is a description."}),b().createElement(on,{status:"error",title:"In Progress",subTitle:"Left 00:00:08",description:"This is a description."}))},null),tokens:["colorError"],key:"danger"},oa=p.Steps.Step,ol={demo:b().createElement(function(){return b().createElement(p.Steps,{current:1},b().createElement(oa,{title:"Finished",description:"This is a description."}),b().createElement(oa,{title:"In Progress",subTitle:"Left 00:00:08",description:"This is a description."}),b().createElement(oa,{title:"Waiting",description:"This is a description."}))},null),tokens:["colorPrimary","colorBgContainer"],key:"default"},oi=[ol,oo];function oc(){}var os={demo:b().createElement(function(){return b().createElement(p.Switch,{defaultChecked:!0,onChange:oc})},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"},ou=[{title:"Name",dataIndex:"name",filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"},{text:"Submenu",value:"Submenu",children:[{text:"Green",value:"Green"},{text:"Black",value:"Black"}]}],onFilter:function(e,t){return 0===t.name.indexOf(String(e))},sorter:function(e,t){return e.name.length-t.name.length},sortDirections:["descend"]},{title:"Age",dataIndex:"age",defaultSortOrder:"descend",sorter:function(e,t){return e.age-t.age}},{title:"Address",dataIndex:"address",filters:[{text:"London",value:"London"},{text:"New York",value:"New York"}],onFilter:function(e,t){return 0===t.address.indexOf(String(e))}}],od=[{key:"1",name:"John Brown",age:32,address:"New York No. 1 Lake Park"},{key:"2",name:"Jim Green",age:42,address:"London No. 1 Lake Park"},{key:"3",name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park"},{key:"4",name:"Jim Red",age:32,address:"London No. 2 Lake Park"}],om=function(e,t,r,n){console.log("params",e,t,r,n)},of={demo:b().createElement(function(){return b().createElement(p.Table,{columns:ou,dataSource:od,onChange:om})},null),tokens:["colorFillSecondary","colorFillContentHover","colorFillContent","colorFillAlter"],key:"filterTable"},op=[{title:"Name",dataIndex:"name",key:"name",render:function(e){return b().createElement("a",null,e)}},{title:"Age",dataIndex:"age",key:"age"},{title:"Address",dataIndex:"address",key:"address"},{title:"Tags",key:"tags",dataIndex:"tags",render:function(e){return b().createElement(b().Fragment,null,e.map(function(e){var t=e.length>5?"geekblue":"green";return"loser"===e&&(t="volcano"),b().createElement(p.Tag,{color:t,key:e},e.toUpperCase())}))}},{title:"Action",key:"action",render:function(e,t){return b().createElement(p.Space,{size:"middle"},b().createElement("a",null,"Invite ",t.name)," ",b().createElement("a",null,"Delete"))}}],og=[{key:"1",name:"John Brown",age:32,address:"New York No. 1 Lake Park",tags:["nice","developer"]},{key:"2",name:"Jim Green",age:42,address:"London No. 1 Lake Park",tags:["loser"]},{key:"3",name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park",tags:["cool","teacher"]}],oh={demo:b().createElement(function(){return b().createElement(p.Table,{columns:op,dataSource:og,pagination:!1})},null),tokens:["colorPrimaryActive","colorBgContainer"],key:"table"},oy=p.Tabs.TabPane,ob={demo:b().createElement(function(){return b().createElement(p.Tabs,{type:"card",defaultActiveKey:"1"},b().createElement(oy,{tab:"Tab 1",key:"1"},"Content of Tab Pane 1"),b().createElement(oy,{tab:"Tab 2",key:"2"},"Content of Tab Pane 2"),b().createElement(oy,{tab:"Tab 3",key:"3"},"Content of Tab Pane 3"))},null),tokens:["colorFillAlter"],key:"cardTabs"},ov=p.Tabs.TabPane;function oE(){}for(var oS={demo:b().createElement(function(){return b().createElement(p.Tabs,{defaultActiveKey:"1",onChange:oE},b().createElement(ov,{tab:"Tab 1",key:"1"},"Content of Tab Pane 1"),b().createElement(ov,{tab:"Tab 2",key:"2"},"Content of Tab Pane 2"),b().createElement(ov,{tab:"Tab 3",key:"3"},"Content of Tab Pane 3"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive","colorBgContainer"],key:"default"},ok=[oS,ob],ox={demo:b().createElement(function(){return b().createElement(p.Tag,{closable:!0},"Error")},null),tokens:["colorFillAlter","colorIcon","colorIconHover"],key:"closable"},ow={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"error"},"Error")},null),tokens:["colorError","colorErrorBg","colorErrorBorder"],key:"error"},oC={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"processing"},"Info")},null),tokens:["colorInfo","colorInfoBg","colorInfoBorder"],key:"info"},oT=p.Tag.CheckableTag,oA={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(oT,{checked:!0},"Error"),b().createElement(oT,{checked:!1},"Error"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive"],key:"multiTags"},oB={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"success"},"Success")},null),tokens:["colorSuccess","colorSuccessBg","colorSuccessBorder"],key:"success"},oO={demo:b().createElement(function(){var e=p.theme.useToken().token;return b().createElement(p.Space,{direction:"vertical"},b().createElement("div",{style:{padding:12}},b().createElement(p.Tag,{color:"magenta"},"magenta"),b().createElement(p.Tag,{color:"red"},"red"),b().createElement(p.Tag,{color:"volcano"},"volcano"),b().createElement(p.Tag,{color:"orange"},"orange"),b().createElement(p.Tag,{color:"gold"},"gold"),b().createElement(p.Tag,{color:"lime"},"lime"),b().createElement(p.Tag,{color:"green"},"green"),b().createElement(p.Tag,{color:"cyan"},"cyan"),b().createElement(p.Tag,{color:"blue"},"blue"),b().createElement(p.Tag,{color:"geekblue"},"geekblue"),b().createElement(p.Tag,{color:"purple"},"purple")),b().createElement(p.Divider,null),b().createElement("div",{style:{background:e.colorFillSecondary,padding:12}},b().createElement(p.Tag,{color:"magenta"},"magenta"),b().createElement(p.Tag,{color:"red"},"red"),b().createElement(p.Tag,{color:"volcano"},"volcano"),b().createElement(p.Tag,{color:"orange"},"orange"),b().createElement(p.Tag,{color:"gold"},"gold"),b().createElement(p.Tag,{color:"lime"},"lime"),b().createElement(p.Tag,{color:"green"},"green"),b().createElement(p.Tag,{color:"cyan"},"cyan"),b().createElement(p.Tag,{color:"blue"},"blue"),b().createElement(p.Tag,{color:"geekblue"},"geekblue"),b().createElement(p.Tag,{color:"purple"},"purple")))},null),tokens:["blue-1","blue-3","blue-6","blue-7","cyan-1","cyan-3","cyan-6","cyan-7","geekblue-1","geekblue-3","geekblue-6","geekblue-7","gold-1","gold-3","gold-6","gold-7","green-1","green-3","green-6","green-7","lime-1","lime-3","lime-6","lime-7","magenta-1","magenta-3","magenta-6","magenta-7","orange-1","orange-3","orange-6","orange-7","pink-1","pink-3","pink-6","pink-7","purple-1","purple-3","purple-6","purple-7","volcano-1","volcano-3","volcano-6","volcano-7","yellow-1","yellow-3","yellow-6","yellow-7","red-1","red-3","red-6","red-7"],key:"default"},oP={demo:b().createElement(function(){return b().createElement(p.Tag,{color:"warning"},"Warning")},null),tokens:["colorWarning","colorWarningBg","colorWarningBorder"],key:"warning"},oI=[oO,ow,oC,oB,oP,oA,ox],oM={demo:b().createElement(function(){return b().createElement(p.TimePicker._InternalPanelDoNotUseOrYouWillBeFired,null)},null),tokens:["colorPrimary"],key:"default"},oH={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,{color:"red"},"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Technical testing 2015-09-01"),b().createElement(p.Timeline.Item,{color:"red"},"Network problems being solved 2015-09-01"))},null),tokens:["colorError"],key:"danger"},oz={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,{color:"green"},"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Technical testing 2015-09-01"),b().createElement(p.Timeline.Item,{color:"green"},"Network problems being solved 2015-09-01"))},null),tokens:["colorSuccess"],key:"success"},oD={demo:b().createElement(function(){return b().createElement(p.Timeline,null,b().createElement(p.Timeline.Item,null,"Create a services site 2015-09-01"),b().createElement(p.Timeline.Item,null,"Solve initial network problems 2015-09-01"),b().createElement(p.Timeline.Item,null,"Technical testing 2015-09-01"))},null),tokens:["colorPrimary","colorText","colorSplit","colorBgContainer"],key:"default"},oj=[oD,oH,oz],oL={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Tooltip._InternalPanelDoNotUseOrYouWillBeFired,{title:"prompt text"}),b().createElement("span",null,"Tooltip will show on mouse enter."))},null),tokens:["colorBgSpotlight","colorTextLightSolid"],key:"default"},oR=[],oF=0;oF<20;oF++)oR.push({key:oF.toString(),title:"content".concat(oF+1),description:"description of content".concat(oF+1)});function oW(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||oX(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oN(e){return function(e){if(Array.isArray(e))return oW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oX(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oX(e,t){if(e){if("string"==typeof e)return oW(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oW(e,t)}}var oG=oR.filter(function(e){return+e.key>10}).map(function(e){return e.key}),oU={demo:b().createElement(function(){var e=o_((0,y.useState)(oG),2),t=e[0],r=e[1],n=o_((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oR,titles:["Source","Target"],targetKeys:t,status:"error",selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(oN(e).concat(oN(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorError"],key:"danger"};function o$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||oV(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oY(e){return function(e){if(Array.isArray(e))return o$(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oV(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oV(e,t){if(e){if("string"==typeof e)return o$(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o$(e,t)}}for(var oZ=[],oQ=0;oQ<20;oQ++)oZ.push({key:oQ.toString(),title:"content".concat(oQ+1),description:"description of content".concat(oQ+1)});var oK=oZ.filter(function(e){return+e.key>10}).map(function(e){return e.key}),oJ={demo:b().createElement(function(){var e=oq((0,y.useState)(oK),2),t=e[0],r=e[1],n=oq((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oZ,titles:["Source","Target"],targetKeys:t,disabled:!0,selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(oY(e).concat(oY(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorBgContainerDisabled"],key:"disabled"};function o0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||o3(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o2(e){return function(e){if(Array.isArray(e))return o0(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o3(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o3(e,t){if(e){if("string"==typeof e)return o0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o0(e,t)}}var o6=oR.filter(function(e){return+e.key>10}).map(function(e){return e.key}),o5={demo:b().createElement(function(){var e=o1((0,y.useState)(o6),2),t=e[0],r=e[1],n=o1((0,y.useState)(["1","2"]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:oR,titles:["Source","Target"],targetKeys:t,selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(o2(e).concat(o2(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["controlItemBgActiveHover","controlItemBgActive","colorBgContainer"],key:"default"};function o8(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o4(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||o9(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o7(e){return function(e){if(Array.isArray(e))return o8(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o9(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o9(e,t){if(e){if("string"==typeof e)return o8(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o8(e,t)}}for(var ae=[],at=0;at<20;at++)ae.push({key:at.toString(),title:"content".concat(at+1),description:"description of content".concat(at+1)});var ar=ae.filter(function(e){return+e.key>10}).map(function(e){return e.key}),an={demo:b().createElement(function(){var e=o4((0,y.useState)(ar),2),t=e[0],r=e[1],n=o4((0,y.useState)([]),2),o=n[0],a=n[1];return b().createElement(p.Transfer,{dataSource:ae,titles:["Source","Target"],targetKeys:t,status:"warning",selectedKeys:o,onChange:function(e){r(e)},onSelectChange:function(e,t){a(o7(e).concat(o7(t)))},onScroll:function(){},render:function(e){return e.title}})},null),tokens:["colorWarning"],key:"warning"},ao=[{title:"parent 1",key:"0-0",children:[{title:"parent 1-0",key:"0-0-0",disabled:!0,children:[{title:"leaf",key:"0-0-0-0",disableCheckbox:!0},{title:"leaf",key:"0-0-0-1"}]},{title:"parent 1-1",key:"0-0-1",children:[{title:b().createElement("span",{style:{color:"#1890ff"}},"sss"),key:"0-0-1-0"}]}]}],aa={demo:b().createElement(function(){return b().createElement(p.Tree,{disabled:!0,checkable:!0,defaultExpandedKeys:["0-0-0","0-0-1"],defaultSelectedKeys:["0-0-0","0-0-1"],defaultCheckedKeys:["0-0-0","0-0-1"],treeData:ao})},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"},al=[{title:"parent 1",key:"0-0",children:[{title:"parent 1-0",key:"0-0-0",disabled:!0,children:[{title:"leaf",key:"0-0-0-0",disableCheckbox:!0},{title:"leaf",key:"0-0-0-1"}]},{title:"parent 1-1",key:"0-0-1",children:[{title:b().createElement("span",{style:{color:"#1890ff"}},"sss"),key:"0-0-1-0"}]}]}],ai={demo:b().createElement(function(){return b().createElement(p.Tree,{checkable:!0,defaultExpandedKeys:["0-0-0","0-0-1"],defaultSelectedKeys:["0-0-0","0-0-1"],defaultCheckedKeys:["0-0-0","0-0-1"],treeData:al})},null),tokens:["colorPrimary","controlOutline","colorBgContainer"],key:"default"};function ac(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var as=p.TreeSelect.TreeNode,au=p.TreeSelect._InternalPanelDoNotUseOrYouWillBeFired,ad={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(void 0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return ac(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ac(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(au,{disabled:!0,showSearch:!0,style:{width:"100%"},value:n,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"Please select",allowClear:!0,treeDefaultExpandAll:!0,onChange:function(){o(n)}},b().createElement(as,{value:"parent 1",title:"parent 1"},b().createElement(as,{value:"parent 1-0",title:"parent 1-0"},b().createElement(as,{value:"leaf1",title:"leaf1"}),b().createElement(as,{value:"leaf2",title:"leaf2"})),b().createElement(as,{value:"parent 1-1",title:"parent 1-1"},b().createElement(as,{value:"leaf3",title:"leaf3"}))))},null),tokens:["colorTextDisabled","colorBgContainerDisabled"],key:"disabled"};function am(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var af=p.TreeSelect.TreeNode,ap=p.TreeSelect._InternalPanelDoNotUseOrYouWillBeFired,ag={demo:b().createElement(function(){var e,t,r=(e=(0,y.useState)(void 0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return am(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return am(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0],o=r[1];return b().createElement(ap,{showSearch:!0,style:{width:"100%"},value:n,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"Please select",allowClear:!0,treeDefaultExpandAll:!0,onChange:function(){o(n)}},b().createElement(af,{value:"parent 1",title:"parent 1"},b().createElement(af,{value:"parent 1-0",title:"parent 1-0"},b().createElement(af,{value:"leaf1",title:"leaf1"}),b().createElement(af,{value:"leaf2",title:"leaf2"})),b().createElement(af,{value:"parent 1-1",title:"parent 1-1"},b().createElement(af,{value:"leaf3",title:"leaf3"}))))},null),tokens:["colorPrimary","colorPrimaryActive","controlOutline","colorBgElevated","colorBgContainer"],key:"default"},ah=p.Typography.Title,ay={demo:b().createElement(function(){return b().createElement(ah,{level:4},"Heading 4")},null),tokens:["fontSizeHeading4"],key:"heading4"},ab=p.Typography.Title,av=p.Typography.Text,aE={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(ab,{type:"danger",level:4},"Error Title"),b().createElement(av,{type:"danger"},"error Text"))},null),tokens:["colorError","colorErrorHover","colorErrorActive"],key:"error"},aS=p.Typography.Title,ak=p.Typography.Text,ax={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(aS,{type:"success",level:4},"Success Title"),b().createElement(ak,{type:"success"},"success Text"))},null),tokens:["colorSuccess"],key:"success"},aw=p.Typography.Title,aC=p.Typography.Paragraph,aT=p.Typography.Text,aA=p.Typography.Link,aB={demo:b().createElement(function(){return b().createElement(p.Typography,null,b().createElement(aw,{level:4},"《故乡》 "),b().createElement(aC,null,"——鲁迅"),b().createElement(aC,null,b().createElement(aT,{strong:!0},"深蓝的天空中挂着一轮金黄的圆月"),",下面是海边的沙地,都种着一望无际的碧绿的西瓜,其间有一个十一二岁的少年,项带银圈,手捏一柄钢叉,",b().createElement(aT,{mark:!0},"向一匹猹尽力的刺去"),",那猹却将身一扭,反从他的胯下逃走了。"),b().createElement(aC,null,b().createElement("ul",null,b().createElement("li",null,b().createElement(aA,{href:"#"},"狂人日记")),b().createElement("li",null,b().createElement(aA,{href:"#"},"呐喊")),b().createElement("li",null,b().createElement(aA,{href:"#"},"彷徨")))))},null),tokens:["colorSuccess"],key:"default"},aO=p.Typography.Title,aP=p.Typography.Text,aI={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(aO,{type:"warning",level:4},"Error Title"),b().createElement(aP,{type:"warning"},"error Text"))},null),tokens:["colorWarning"],key:"warning"},aM={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Upload,{name:"avatar",listType:"picture-card",className:"avatar-uploader",showUploadList:!1,action:"https://www.mocky.io/v2/5cc8019d300000980a055e76"},b().createElement("div",null,b().createElement(M.PlusOutlined,null),b().createElement("div",{style:{marginTop:8}},"Upload"))))},null),tokens:["colorFillAlter"],key:"avatar"},aH={demo:b().createElement(function(){return b().createElement("div",null,b().createElement(p.Upload,{defaultFileList:[{uid:"3",name:"zzz.png",status:"error",response:"Server Error 500",url:"http://www.baidu.com/zzz.png"}]},b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Upload")),b().createElement(p.Upload,{listType:"picture",defaultFileList:[{uid:"3",name:"zzz.png",status:"error",response:"Server Error 500"}]},b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Upload")))},null),tokens:["colorError","colorErrorBg"],key:"danger"},az={name:"file",action:"https://www.mocky.io/v2/5cc8019d300000980a055e76",headers:{authorization:"authorization-text"},onChange:function(e){"done"===e.file.status?p.message.success("".concat(e.file.name," file uploaded successfully")):"error"===e.file.status&&p.message.error("".concat(e.file.name," file upload failed."))}},aD={demo:b().createElement(function(){return b().createElement(p.Upload,az,b().createElement(p.Button,{icon:b().createElement(M.UploadOutlined,null)},"Click to Upload"))},null),tokens:["colorPrimary","colorPrimaryHover","colorPrimaryActive"],key:"upload"},aj=[aD,aH,aM],aL={Alert:Y,Anchor:[Z,K],AutoComplete:[en],Avatar:eo,Badge:es,Breadcrumb:[eu],Button:eh,Calendar:[ey,eb],Card:[ev,ek,eS],Carousel:[ew],Cascader:[eA,eI,eO],Checkbox:[eM,eH],Collapse:[ej],DatePicker:[eR,eL,e_,eW,eF],Descriptions:[eN],Dropdown:[eq],Empty:[eY],Form:[eV,eJ,eQ],Grid:[e3],Icon:[e6],Image:[e8,e5],InputNumber:[tu,ti,tm,tc],Input:ta,List:[tp],Mentions:[tw,tb,tB,tE],Modal:t0,Notification:rt,Pagination:ra,Popconfirm:rs,Popover:[rd],Radio:nj,Rate:[nL],Select:[n2,n6,nV,n8,nK,nZ],Skeleton:[n4],Slider:[n7,n9],Spin:[ot],Statistic:[or],Switch:[os],Table:[oh,of],Tabs:ok,Tag:oI,TimePicker:[oM],Timeline:oj,Tooltip:[oL],Transfer:[o5,an,oU,oJ],TreeSelect:[ag,ad],Tree:[ai,aa],Typography:[aB,ay,aE,aI,ax],Upload:aj,Divider:[eX],Space:[oe],Menu:tD,Steps:oi,Segmented:[nG],Drawer:[eU],Message:t$,Result:nX,Progress:nM},aR=JSON.parse('{"_lang":"zh-CN","followPrimary":"跟随主色","reset":"重置","next":"下一步","groupView":"分组显示","fill":"填充","border":"描边","background":"背景","text":"文本","overview":"概览","components":"组件","relatedTokens":"关联 Token"}'),aF=b().createContext(aR),aW=function(){return b().useContext(aF)},a_=JSON.parse('{"_lang":"en-US","followPrimary":"Follow Brand Color","reset":"Reset","next":"Next","groupView":"Group View","fill":"Fill","border":"Border","background":"Background","text":"Text","overview":"Overview","components":"Components","relatedTokens":"Related Tokens"}');function aN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aN(e,t);var r=({}).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)?aN(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aG(e){var t=y.useRef();return t.current=e,y.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(n))},[])}var aU="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect,a$=function(e,t){var r=y.useRef(!0);aU(function(){return e(r.current)},t),aU(function(){return r.current=!1,function(){r.current=!0}},[])},aq=function(e,t){a$(function(t){if(!t)return e()},t)};function aY(e){var t=y.useRef(!1),r=aX(y.useState(e),2),n=r[0],o=r[1];return y.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[n,function(e,r){if(!r||!t.current)o(e)}]}function aV(e){return void 0!==e}function aZ(e,t){var r=t||{},n=r.defaultValue,o=r.value,a=r.onChange,l=r.postState,i=aX(aY(function(){return aV(o)?o:aV(n)?"function"==typeof n?n():n:"function"==typeof e?e():e}),2),c=i[0],s=i[1],u=void 0!==o?o:c,d=l?l(u):u,m=aG(a),f=aX(aY([u]),2),p=f[0],g=f[1];return aq(function(){var e=p[0];c!==e&&m(c,e)},[p]),aq(function(){!aV(o)&&s(o)},[o]),[d,aG(function(e,t){s(e,t),g([u],t)})]}var aQ=JSON.parse('{"Upload":{"global":["fontSizeHeading3","fontHeight","lineWidth","controlHeightLG","colorTextDisabled","colorText","fontSize","lineHeight","fontFamily","colorFillAlter","colorBorder","borderRadiusLG","motionDurationSlow","padding","lineWidthFocus","colorPrimaryBorder","colorPrimaryHover","margin","colorPrimary","marginXXS","colorTextHeading","fontSizeLG","colorTextDescription","paddingXS","lineType","paddingSM","fontSizeHeading2","colorError","colorErrorBg","colorTextLightSolid","marginXS","colorBgMask","marginXL","fontHeightSM","controlItemBgHover","motionEaseInOutCirc","motionDurationMid","motionEaseInOut"],"component":{"actionsColor":"rgba(0, 0, 0, 0.45)"}},"Typography":{"global":["colorText","lineHeight","colorTextDescription","colorSuccess","colorWarning","colorError","colorErrorActive","colorErrorHover","colorTextDisabled","fontSizeHeading1","lineHeightHeading1","colorTextHeading","fontWeightStrong","fontSizeHeading2","lineHeightHeading2","fontSizeHeading3","lineHeightHeading3","fontSizeHeading4","lineHeightHeading4","fontSizeHeading5","lineHeightHeading5","fontFamilyCode","colorLink","motionDurationSlow","colorLinkHover","colorLinkActive","linkDecoration","linkHoverDecoration","marginXXS","paddingSM","marginXS","fontSize"],"component":{"titleMarginTop":"1.2em","titleMarginBottom":"0.5em"}},"TreeSelect":{"global":["colorBgElevated","paddingXS","colorText","fontSize","lineHeight","fontFamily","borderRadius","motionDurationSlow","lineWidthFocus","colorPrimaryBorder","colorPrimary","colorTextDisabled","controlItemBgHover","colorBorder","marginXXS","motionDurationMid","lineWidthBold","controlInteractiveSize","marginXS","borderRadiusSM","colorBgContainer","lineWidth","lineType","colorWhite","motionDurationFast","motionEaseInBack","colorPrimaryHover","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled"],"component":{"titleHeight":24,"nodeHoverBg":"rgba(0, 0, 0, 0.04)","nodeSelectedBg":"#e6f4ff"}},"Transfer":{"global":["marginXS","marginXXS","fontSizeIcon","colorBgContainerDisabled","colorText","fontSize","lineHeight","fontFamily","colorBorder","colorSplit","lineWidth","controlItemBgActive","colorTextDisabled","paddingSM","lineType","motionDurationSlow","controlItemBgHover","borderRadiusLG","colorBgContainer","controlItemBgActiveHover","colorLinkHover","paddingXS","controlHeightLG","margin","colorError","colorWarning"],"component":{"listWidth":180,"listHeight":200,"listWidthLG":250,"headerHeight":40,"itemHeight":32,"itemPaddingBlock":5,"transferHeaderVerticalPadding":9}},"Tour":{"global":["borderRadiusLG","lineHeight","padding","paddingXS","borderRadius","borderRadiusXS","colorPrimary","colorText","colorFill","boxShadowTertiary","fontSize","colorBgElevated","fontWeightStrong","marginXS","colorTextLightSolid","colorWhite","motionDurationSlow","fontFamily","colorIcon","borderRadiusSM","motionDurationMid","colorIconHover","boxShadowPopoverArrow","sizePopupArrow"],"component":{"zIndexPopup":1070,"closeBtnSize":22,"primaryPrevBtnBg":"rgba(255, 255, 255, 0.15)","closeBtnHoverBg":"transparent","primaryNextBtnHoverBg":"rgb(240, 240, 240)","arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Tooltip":{"global":["borderRadius","colorTextLightSolid","colorBgSpotlight","controlHeight","boxShadowSecondary","paddingSM","paddingXS","colorText","fontSize","lineHeight","fontFamily","blue1","blue3","blue6","blue7","purple1","purple3","purple6","purple7","cyan1","cyan3","cyan6","cyan7","green1","green3","green6","green7","magenta1","magenta3","magenta6","magenta7","pink1","pink3","pink6","pink7","red1","red3","red6","red7","orange1","orange3","orange6","orange7","yellow1","yellow3","yellow6","yellow7","volcano1","volcano3","volcano6","volcano7","geekblue1","geekblue3","geekblue6","geekblue7","lime1","lime3","lime6","lime7","gold1","gold3","gold6","gold7","boxShadowPopoverArrow","sizePopupArrow","borderRadiusXS","motionDurationFast","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"zIndexPopup":1070,"arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Tree":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled","borderRadius","controlItemBgHover","marginXXS","motionEaseInOut"],"component":{"titleHeight":24,"nodeHoverBg":"rgba(0, 0, 0, 0.04)","nodeSelectedBg":"#e6f4ff","directoryNodeSelectedColor":"#fff","directoryNodeSelectedBg":"#1677ff"}},"Table":{"global":["colorTextHeading","colorSplit","colorBgContainer","controlInteractiveSize","padding","fontWeightStrong","lineWidth","lineType","motionDurationMid","colorText","fontSize","lineHeight","fontFamily","margin","paddingXS","marginXXS","fontSizeIcon","motionDurationSlow","colorPrimary","paddingXXS","fontSizeSM","borderRadius","colorTextDescription","colorTextDisabled","controlItemBgHover","controlItemBgActive","boxShadowSecondary","colorLink","colorLinkHover","colorLinkActive","opacityLoading"],"component":{"headerBg":"#fafafa","headerColor":"rgba(0, 0, 0, 0.88)","headerSortActiveBg":"#f0f0f0","headerSortHoverBg":"#f0f0f0","bodySortBg":"#fafafa","rowHoverBg":"#fafafa","rowSelectedBg":"#e6f4ff","rowSelectedHoverBg":"#bae0ff","rowExpandedBg":"rgba(0, 0, 0, 0.02)","cellPaddingBlock":16,"cellPaddingInline":16,"cellPaddingBlockMD":12,"cellPaddingInlineMD":8,"cellPaddingBlockSM":8,"cellPaddingInlineSM":8,"borderColor":"#f0f0f0","headerBorderRadius":8,"footerBg":"#fafafa","footerColor":"rgba(0, 0, 0, 0.88)","cellFontSize":14,"cellFontSizeMD":14,"cellFontSizeSM":14,"headerSplitColor":"#f0f0f0","fixedHeaderSortActiveBg":"#f0f0f0","headerFilterHoverBg":"rgba(0, 0, 0, 0.06)","filterDropdownMenuBg":"#ffffff","filterDropdownBg":"#ffffff","expandIconBg":"#ffffff","selectionColumnWidth":32,"stickyScrollBarBg":"rgba(0, 0, 0, 0.25)","stickyScrollBarBorderRadius":100,"expandIconMarginTop":2.5,"headerIconColor":"rgba(0, 0, 0, 0.29)","headerIconHoverColor":"rgba(0, 0, 0, 0.57)","expandIconHalfInner":7,"expandIconSize":17,"expandIconScale":0.9411764705882353}},"Switch":{"global":["motionDurationMid","colorPrimary","opacityLoading","fontSizeIcon","colorText","fontSize","lineHeight","fontFamily","colorTextQuaternary","colorTextTertiary","lineWidthFocus","colorPrimaryBorder","colorPrimaryHover","colorTextLightSolid","fontSizeSM","marginXXS"],"component":{"trackHeight":22,"trackHeightSM":16,"trackMinWidth":44,"trackMinWidthSM":28,"trackPadding":2,"handleBg":"#fff","handleSize":18,"handleSizeSM":12,"handleShadow":"0 2px 4px 0 rgba(0, 35, 11, 0.2)","innerMinMargin":9,"innerMaxMargin":24,"innerMinMarginSM":6,"innerMaxMarginSM":18}},"Steps":{"global":["colorTextDisabled","controlHeightLG","colorTextLightSolid","colorText","colorPrimary","colorTextDescription","colorTextQuaternary","colorError","colorBorderSecondary","colorSplit","fontSize","lineHeight","fontFamily","motionDurationSlow","lineWidthFocus","colorPrimaryBorder","marginXS","lineWidth","lineType","paddingXXS","padding","fontSizeLG","fontWeightStrong","fontSizeSM","paddingSM","margin","controlHeight","marginXXS","paddingLG","marginSM","paddingXS","controlHeightSM","fontSizeIcon","lineWidthBold","marginLG","borderRadiusSM","motionDurationMid","controlItemBgHover","lineHeightSM","colorBorderBg"],"component":{"titleLineHeight":32,"customIconSize":32,"customIconTop":0,"customIconFontSize":24,"iconSize":32,"iconTop":-0.5,"iconFontSize":14,"iconSizeSM":24,"dotSize":8,"dotCurrentSize":10,"navArrowColor":"rgba(0, 0, 0, 0.25)","navContentMaxWidth":"auto","descriptionMaxWidth":140,"waitIconColor":"rgba(0, 0, 0, 0.25)","waitIconBgColor":"#ffffff","waitIconBorderColor":"rgba(0, 0, 0, 0.25)","finishIconBgColor":"#ffffff","finishIconBorderColor":"#1677ff"}},"Statistic":{"global":["marginXXS","padding","colorTextDescription","colorTextHeading","fontFamily","colorText","fontSize","lineHeight"],"component":{"titleFontSize":14,"contentFontSize":24}},"Timeline":{"global":["paddingXXS","colorText","fontSize","lineHeight","fontFamily","lineType","fontSizeSM","colorPrimary","colorError","colorSuccess","colorTextDisabled","lineWidth","margin","controlHeightLG","marginXXS","marginSM","marginXS"],"component":{"tailColor":"rgba(5, 5, 5, 0.06)","tailWidth":2,"dotBorderWidth":2,"dotBg":"#ffffff","itemPaddingBottom":20}},"Tag":{"global":["lineWidth","fontSizeIcon","fontSizeSM","lineHeightSM","colorFillTertiary","paddingXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","lineType","colorBorder","borderRadiusSM","motionDurationMid","colorTextDescription","colorTextHeading","colorTextLightSolid","colorPrimary","colorFillSecondary","colorPrimaryHover","colorPrimaryActive"],"component":{"defaultBg":"#fafafa","defaultColor":"rgba(0, 0, 0, 0.88)"}},"Spin":{"global":["colorTextDescription","colorText","fontSize","lineHeight","fontFamily","colorPrimary","motionDurationSlow","motionEaseInOutCirc","colorBgMask","zIndexPopupBase","motionDurationMid","colorWhite","colorTextLightSolid","colorBgContainer","marginXXS"],"component":{"contentHeight":400,"dotSize":20,"dotSizeSM":14,"dotSizeLG":32}},"Skeleton":{"global":["controlHeight","controlHeightLG","controlHeightSM","padding","marginSM","controlHeightXS","borderRadiusSM"],"component":{"color":"rgba(0, 0, 0, 0.06)","colorGradientEnd":"rgba(0, 0, 0, 0.15)","gradientFromColor":"rgba(0, 0, 0, 0.06)","gradientToColor":"rgba(0, 0, 0, 0.15)","titleHeight":16,"blockRadius":4,"paragraphMarginTop":28,"paragraphLiHeight":16}},"Slider":{"global":["controlHeight","controlHeightLG","colorFillContentHover","colorText","fontSize","lineHeight","fontFamily","borderRadiusXS","motionDurationMid","colorPrimaryBorderHover","colorBgElevated","colorTextDescription","motionDurationSlow"],"component":{"controlSize":10,"railSize":4,"handleSize":10,"handleSizeHover":12,"dotSize":8,"handleLineWidth":2,"handleLineWidthHover":4,"railBg":"rgba(0, 0, 0, 0.04)","railHoverBg":"rgba(0, 0, 0, 0.06)","trackBg":"#91caff","trackHoverBg":"#69b1ff","handleColor":"#91caff","handleActiveColor":"#1677ff","handleColorDisabled":"#bfbfbf","dotBorderColor":"#f0f0f0","dotActiveBorderColor":"#91caff","trackBgDisabled":"rgba(0, 0, 0, 0.04)"}},"Select":{"global":["paddingSM","controlHeight","colorText","fontSize","lineHeight","fontFamily","lineWidth","lineType","colorBorder","motionDurationMid","motionEaseInOut","colorTextDisabled","colorBgContainerDisabled","colorTextPlaceholder","fontSizeIcon","colorTextQuaternary","motionDurationSlow","colorTextTertiary","paddingXS","controlPaddingHorizontalSM","borderRadius","controlHeightSM","borderRadiusSM","fontSizeLG","borderRadiusLG","controlHeightXS","borderRadiusXS","controlHeightLG","controlPaddingHorizontal","colorIcon","colorIconHover","paddingXXS","colorBgElevated","boxShadowSecondary","colorTextDescription","fontSizeSM","colorPrimary","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorPrimaryHover","controlOutline","controlOutlineWidth","colorErrorHover","colorError","colorErrorOutline","colorWarningHover","colorWarning","colorWarningOutline"],"component":{"zIndexPopup":1050,"optionSelectedColor":"rgba(0, 0, 0, 0.88)","optionSelectedFontWeight":600,"optionSelectedBg":"#e6f4ff","optionActiveBg":"rgba(0, 0, 0, 0.04)","optionPadding":"5px 12px","optionFontSize":14,"optionLineHeight":1.5714285714285714,"optionHeight":32,"selectorBg":"#ffffff","clearBg":"#ffffff","singleItemHeightLG":40,"multipleItemBg":"rgba(0, 0, 0, 0.06)","multipleItemBorderColor":"transparent","multipleItemHeight":24,"multipleItemHeightLG":32,"multipleSelectorBgDisabled":"rgba(0, 0, 0, 0.04)","multipleItemColorDisabled":"rgba(0, 0, 0, 0.25)","multipleItemBorderColorDisabled":"transparent","showArrowPaddingInlineEnd":18}},"Result":{"global":["colorInfo","colorError","colorSuccess","colorWarning","lineHeightHeading3","padding","paddingXL","paddingXS","paddingLG","marginXS","lineHeight","colorTextHeading","colorTextDescription","colorFillAlter"],"component":{"titleFontSize":24,"subtitleFontSize":14,"iconFontSize":72,"extraMargin":"24px 0 0 0"}},"Segmented":{"global":["lineWidth","lineWidthBold","colorBgLayout","controlPaddingHorizontal","controlPaddingHorizontalSM","controlHeight","controlHeightLG","controlHeightSM","colorText","fontSize","lineHeight","fontFamily","borderRadius","motionDurationMid","motionEaseInOut","borderRadiusSM","boxShadowTertiary","marginSM","paddingXXS","borderRadiusLG","fontSizeLG","borderRadiusXS","colorTextDisabled","motionDurationSlow"],"component":{"itemColor":"rgba(0, 0, 0, 0.65)","itemHoverColor":"rgba(0, 0, 0, 0.88)","itemHoverBg":"rgba(0, 0, 0, 0.06)","itemSelectedBg":"#ffffff","itemActiveBg":"rgba(0, 0, 0, 0.15)","itemSelectedColor":"rgba(0, 0, 0, 0.88)"}},"Space":{"global":["paddingXS","padding","paddingLG"],"component":{}},"Tabs":{"global":["paddingXXS","borderRadius","marginSM","marginXS","marginXXS","margin","colorBorderSecondary","lineWidth","lineType","lineWidthBold","motionDurationSlow","controlHeight","boxShadowTabsOverflowLeft","boxShadowTabsOverflowRight","boxShadowTabsOverflowTop","boxShadowTabsOverflowBottom","colorBorder","paddingLG","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","borderRadiusLG","boxShadowSecondary","paddingSM","colorTextDescription","fontSizeSM","controlItemBgHover","colorTextDisabled","motionEaseInOut","controlHeightLG","paddingXS","lineWidthFocus","colorPrimaryBorder","colorTextHeading","motionDurationMid","motionEaseOutQuint","motionEaseInQuint"],"component":{"zIndexPopup":1050,"cardBg":"rgba(0, 0, 0, 0.02)","cardHeight":40,"cardPadding":"8px 16px","cardPaddingSM":"6px 16px","cardPaddingLG":"8px 16px 6px","titleFontSize":14,"titleFontSizeLG":16,"titleFontSizeSM":14,"inkBarColor":"#1677ff","horizontalMargin":"0 0 16px 0","horizontalItemGutter":32,"horizontalItemMargin":"","horizontalItemMarginRTL":"","horizontalItemPadding":"12px 0","horizontalItemPaddingSM":"8px 0","horizontalItemPaddingLG":"16px 0","verticalItemPadding":"8px 24px","verticalItemMargin":"16px 0 0 0","itemColor":"rgba(0, 0, 0, 0.88)","itemSelectedColor":"#1677ff","itemHoverColor":"#4096ff","itemActiveColor":"#0958d9","cardGutter":2}},"Rate":{"global":["colorText","fontSize","lineHeight","fontFamily","marginXS","motionDurationMid","lineWidth"],"component":{"starColor":"#fadb14","starSize":20,"starHoverScale":"scale(1.1)","starBg":"rgba(0, 0, 0, 0.06)"}},"QRCode":{"global":["lineWidth","lineType","colorSplit","colorText","fontSize","lineHeight","fontFamily","paddingSM","colorWhite","borderRadiusLG","marginXS","controlHeight"],"component":{}},"Radio":{"global":["controlOutline","controlOutlineWidth","colorText","fontSize","lineHeight","fontFamily","colorPrimary","motionDurationSlow","motionDurationMid","motionEaseInOutCirc","colorBgContainer","colorBorder","lineWidth","colorBgContainerDisabled","colorTextDisabled","paddingXS","lineType","lineWidthFocus","colorPrimaryBorder","controlHeight","fontSizeLG","controlHeightLG","controlHeightSM","borderRadius","borderRadiusSM","borderRadiusLG","colorPrimaryHover","colorPrimaryActive"],"component":{"radioSize":16,"dotSize":8,"dotColorDisabled":"rgba(0, 0, 0, 0.25)","buttonSolidCheckedColor":"#fff","buttonSolidCheckedBg":"#1677ff","buttonSolidCheckedHoverBg":"#4096ff","buttonSolidCheckedActiveBg":"#0958d9","buttonBg":"#ffffff","buttonCheckedBg":"#ffffff","buttonColor":"rgba(0, 0, 0, 0.88)","buttonCheckedBgDisabled":"rgba(0, 0, 0, 0.15)","buttonCheckedColorDisabled":"rgba(0, 0, 0, 0.25)","buttonPaddingInline":15,"wrapperMarginInlineEnd":8,"radioColor":"#1677ff","radioBgColor":"#ffffff"}},"Anchor":{"global":["fontSize","fontSizeLG","paddingXXS","motionDurationSlow","lineWidthBold","colorPrimary","lineType","colorSplit","colorText","lineHeight","fontFamily","lineWidth"],"component":{"linkPaddingBlock":4,"linkPaddingInlineStart":16}},"Pagination":{"global":["marginXXS","controlHeightLG","marginSM","paddingXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","lineWidth","lineType","borderRadius","motionDurationMid","colorBgTextHover","colorBgTextActive","fontWeightStrong","colorPrimary","colorPrimaryHover","fontSizeSM","colorTextDisabled","margin","controlHeight","colorBgContainer","colorBorder","colorTextPlaceholder","colorBgContainerDisabled","motionDurationSlow","fontSizeLG","lineHeightLG","borderRadiusLG","borderRadiusSM","controlOutlineWidth","controlOutline","controlHeightSM","screenLG","screenSM","lineWidthFocus","colorPrimaryBorder"],"component":{"itemBg":"#ffffff","itemSize":32,"itemSizeSM":24,"itemActiveBg":"#ffffff","itemLinkBg":"#ffffff","itemActiveColorDisabled":"rgba(0, 0, 0, 0.25)","itemActiveBgDisabled":"rgba(0, 0, 0, 0.15)","itemInputBg":"#ffffff","miniOptionsSizeChangerTop":0,"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":""}},"Alert":{"global":["motionDurationSlow","marginXS","marginSM","fontSize","fontSizeLG","lineHeight","borderRadiusLG","motionEaseInOutCirc","colorText","colorTextHeading","fontFamily","colorSuccess","colorSuccessBorder","colorSuccessBg","colorWarning","colorWarningBorder","colorWarningBg","colorError","colorErrorBorder","colorErrorBg","colorInfo","colorInfoBorder","colorInfoBg","lineWidth","lineType","motionDurationMid","fontSizeIcon","colorIcon","colorIconHover"],"component":{"withDescriptionIconSize":24,"defaultPadding":"8px 12px","withDescriptionPadding":"20px 24px"}},"Progress":{"global":["marginXXS","colorText","fontSize","lineHeight","fontFamily","marginXS","paddingXS","motionDurationSlow","motionEaseInOutCirc","colorSuccess","colorBgContainer","motionEaseOutQuint","colorError","fontSizeSM"],"component":{"circleTextColor":"rgba(0, 0, 0, 0.88)","defaultColor":"#1677ff","remainingColor":"rgba(0, 0, 0, 0.06)","lineBorderRadius":100,"circleTextFontSize":"1em","circleIconFontSize":"1.1666666666666667em"}},"Modal":{"global":["padding","fontSizeHeading5","lineHeightHeading5","colorSplit","lineType","lineWidth","colorIconHover","colorIcon","fontHeight","screenSMMax","marginXS","colorText","fontSize","lineHeight","fontFamily","margin","paddingLG","fontWeightStrong","borderRadiusLG","boxShadow","zIndexPopupBase","borderRadiusSM","motionDurationMid","fontSizeLG","lineWidthFocus","colorPrimaryBorder","motionDurationSlow","colorBgMask","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"footerBg":"transparent","headerBg":"#ffffff","titleLineHeight":1.5,"titleFontSize":16,"contentBg":"#ffffff","titleColor":"rgba(0, 0, 0, 0.88)","closeBtnHoverBg":"transparent","closeBtnActiveBg":"transparent","contentPadding":0,"headerPadding":"16px 24px","headerBorderBottom":"1px solid rgba(5, 5, 5, 0.06)","headerMarginBottom":0,"bodyPadding":24,"footerPadding":"8px 16px","footerBorderTop":"1px solid rgba(5, 5, 5, 0.06)","footerBorderRadius":"0 0 8px 8px","footerMarginTop":0,"confirmBodyPadding":"32px 32px 24px","confirmIconMarginInlineEnd":16,"confirmBtnsMarginTop":24}},"Popover":{"global":["colorBgElevated","colorText","fontWeightStrong","boxShadowSecondary","colorTextHeading","borderRadiusLG","fontSize","lineHeight","fontFamily","boxShadowPopoverArrow","sizePopupArrow","borderRadiusXS","blue6","purple6","cyan6","green6","magenta6","pink6","red6","orange6","yellow6","volcano6","geekblue6","lime6","gold6","motionDurationMid","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"titleMinWidth":177,"zIndexPopup":1030,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)","arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"innerPadding":0,"titleMarginBottom":0,"titlePadding":"5px 16px 4px","titleBorderBottom":"1px solid rgba(5, 5, 5, 0.06)","innerContentPadding":"12px 16px"}},"Menu":{"global":["colorBgElevated","colorPrimary","colorTextLightSolid","controlHeightLG","fontSize","motionDurationSlow","motionDurationMid","motionEaseInOut","paddingXS","padding","colorSplit","lineWidth","borderRadiusLG","lineType","colorText","lineHeight","fontFamily","motionEaseOut","borderRadius","margin","paddingXL","fontSizeLG","boxShadowSecondary","marginXS","lineWidthFocus","colorPrimaryBorder","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"dropdownWidth":160,"zIndexPopup":1050,"radiusItem":8,"itemBorderRadius":8,"radiusSubMenuItem":4,"subMenuItemBorderRadius":4,"colorItemText":"rgba(0, 0, 0, 0.88)","itemColor":"rgba(0, 0, 0, 0.88)","colorItemTextHover":"rgba(0, 0, 0, 0.88)","itemHoverColor":"rgba(0, 0, 0, 0.88)","colorItemTextHoverHorizontal":"#1677ff","horizontalItemHoverColor":"#1677ff","colorGroupTitle":"rgba(0, 0, 0, 0.45)","groupTitleColor":"rgba(0, 0, 0, 0.45)","colorItemTextSelected":"#1677ff","itemSelectedColor":"#1677ff","colorItemTextSelectedHorizontal":"#1677ff","horizontalItemSelectedColor":"#1677ff","colorItemBg":"#ffffff","itemBg":"#ffffff","colorItemBgHover":"rgba(0, 0, 0, 0.06)","itemHoverBg":"rgba(0, 0, 0, 0.06)","colorItemBgActive":"rgba(0, 0, 0, 0.06)","itemActiveBg":"#e6f4ff","colorSubItemBg":"rgba(0, 0, 0, 0.02)","subMenuItemBg":"rgba(0, 0, 0, 0.02)","colorItemBgSelected":"#e6f4ff","itemSelectedBg":"#e6f4ff","colorItemBgSelectedHorizontal":"transparent","horizontalItemSelectedBg":"transparent","colorActiveBarWidth":0,"activeBarWidth":0,"colorActiveBarHeight":2,"activeBarHeight":2,"colorActiveBarBorderSize":1,"activeBarBorderWidth":1,"colorItemTextDisabled":"rgba(0, 0, 0, 0.25)","itemDisabledColor":"rgba(0, 0, 0, 0.25)","colorDangerItemText":"#ff4d4f","dangerItemColor":"#ff4d4f","colorDangerItemTextHover":"#ff4d4f","dangerItemHoverColor":"#ff4d4f","colorDangerItemTextSelected":"#ff4d4f","dangerItemSelectedColor":"#ff4d4f","colorDangerItemBgActive":"#fff2f0","dangerItemActiveBg":"#fff2f0","colorDangerItemBgSelected":"#fff2f0","dangerItemSelectedBg":"#fff2f0","itemMarginInline":4,"horizontalItemBorderRadius":0,"horizontalItemHoverBg":"transparent","itemHeight":40,"groupTitleLineHeight":1.5714285714285714,"collapsedWidth":80,"popupBg":"#ffffff","itemMarginBlock":4,"itemPaddingInline":16,"horizontalLineHeight":"46px","iconSize":14,"iconMarginInlineEnd":10,"collapsedIconSize":16,"groupTitleFontSize":14,"darkItemDisabledColor":"rgba(255, 255, 255, 0.25)","darkItemColor":"rgba(255, 255, 255, 0.65)","darkDangerItemColor":"#ff4d4f","darkItemBg":"#001529","darkPopupBg":"#001529","darkSubMenuItemBg":"#000c17","darkItemSelectedColor":"#fff","darkItemSelectedBg":"#1677ff","darkDangerItemSelectedBg":"#ff4d4f","darkItemHoverBg":"transparent","darkGroupTitleColor":"rgba(255, 255, 255, 0.65)","darkItemHoverColor":"#fff","darkDangerItemHoverColor":"#ff7875","darkDangerItemSelectedColor":"#fff","darkDangerItemActiveBg":"#ff4d4f","itemWidth":"calc(100% - 8px)"}},"Mentions":{"global":["paddingXXS","colorTextDisabled","controlItemBgHover","controlPaddingHorizontal","colorText","motionDurationSlow","lineHeight","controlHeight","fontSize","colorBgElevated","borderRadius","borderRadiusLG","boxShadowSecondary","fontFamily","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationMid","colorTextPlaceholder","colorBgContainerDisabled","fontSizeLG","lineHeightLG","borderRadiusSM","colorError","colorWarning","colorErrorBorderHover","colorWarningBorderHover","fontWeightStrong"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","dropdownHeight":250,"controlItemWidth":100,"zIndexPopup":1050,"itemPaddingVertical":5}},"Notification":{"global":["paddingMD","paddingLG","colorBgElevated","fontSizeLG","lineHeightLG","controlHeightLG","margin","paddingContentHorizontalLG","marginLG","motionDurationMid","motionEaseInOut","colorText","fontSize","lineHeight","fontFamily","boxShadow","borderRadiusLG","colorSuccess","colorInfo","colorWarning","colorError","colorTextHeading","marginXS","marginSM","colorIcon","borderRadiusSM","colorIconHover","motionDurationSlow","colorBgBlur"],"component":{"zIndexPopup":2050,"width":384,"closeBtnHoverBg":"transparent"}},"Popconfirm":{"global":["colorText","colorWarning","marginXXS","marginXS","fontSize","fontWeightStrong","colorTextHeading"],"component":{"zIndexPopup":1060}},"List":{"global":["controlHeightLG","controlHeight","paddingSM","marginLG","padding","colorPrimary","paddingXS","margin","colorText","colorTextDescription","motionDurationSlow","lineWidth","fontSize","lineHeight","fontFamily","marginXXS","marginXXL","fontHeight","colorSplit","fontSizeSM","colorTextDisabled","fontSizeLG","lineHeightLG","lineType","paddingLG","borderRadiusLG","colorBorder","screenSM","screenMD","marginSM"],"component":{"contentWidth":220,"itemPadding":"12px 0","itemPaddingSM":"8px 16px","itemPaddingLG":"16px 24px","headerBg":"transparent","footerBg":"transparent","emptyTextPadding":16,"metaMarginBottom":16,"avatarMarginRight":16,"titleMarginBottom":12,"descriptionFontSize":14}},"Message":{"global":["boxShadow","colorText","colorSuccess","colorError","colorWarning","colorInfo","fontSizeLG","motionEaseInOutCirc","motionDurationSlow","marginXS","paddingXS","borderRadiusLG","fontSize","lineHeight","fontFamily"],"component":{"zIndexPopup":2010,"contentBg":"#ffffff","contentPadding":"9px 12px"}},"Layout":{"global":["colorText","motionDurationMid","motionDurationSlow","fontSize","borderRadius","fontSizeXL"],"component":{"colorBgHeader":"#001529","colorBgBody":"#f5f5f5","colorBgTrigger":"#002140","bodyBg":"#f5f5f5","headerBg":"#001529","headerHeight":64,"headerPadding":"0 50px","headerColor":"rgba(0, 0, 0, 0.88)","footerPadding":"24px 50px","footerBg":"#f5f5f5","siderBg":"#001529","triggerHeight":48,"triggerBg":"#002140","triggerColor":"#fff","zeroTriggerWidth":40,"zeroTriggerHeight":40,"lightSiderBg":"#ffffff","lightTriggerBg":"#ffffff","lightTriggerColor":"rgba(0, 0, 0, 0.88)"}},"Image":{"global":["controlHeightLG","colorBgContainerDisabled","motionDurationSlow","paddingXXS","marginXXS","colorTextLightSolid","motionEaseOut","paddingSM","marginXL","margin","paddingLG","marginSM","zIndexPopupBase","colorBgMask","motionDurationMid","motionEaseOutCirc","motionEaseInOutCirc"],"component":{"zIndexPopup":1080,"previewOperationColor":"rgba(255, 255, 255, 0.65)","previewOperationHoverColor":"rgba(255, 255, 255, 0.85)","previewOperationColorDisabled":"rgba(255, 255, 255, 0.25)","previewOperationSize":18}},"Form":{"global":["colorText","fontSize","lineHeight","fontFamily","marginLG","colorTextDescription","fontSizeLG","lineWidth","lineType","colorBorder","controlOutlineWidth","controlOutline","paddingSM","controlHeightSM","controlHeightLG","colorError","colorWarning","marginXXS","controlHeight","motionDurationMid","motionEaseOut","motionEaseOutBack","colorSuccess","colorPrimary","motionDurationSlow","motionEaseInOut","margin","screenXSMax","screenSMMax","screenMDMax","screenLGMax"],"component":{"labelRequiredMarkColor":"#ff4d4f","labelColor":"rgba(0, 0, 0, 0.88)","labelFontSize":14,"labelHeight":32,"labelColonMarginInlineStart":2,"labelColonMarginInlineEnd":8,"itemMarginBottom":24,"verticalLabelPadding":"0 0 8px","verticalLabelMargin":0}},"FloatButton":{"global":["colorTextLightSolid","colorBgElevated","controlHeightLG","marginXXL","marginLG","fontSize","fontSizeIcon","controlItemBgHover","paddingXXS","margin","borderRadiusLG","borderRadiusSM","colorText","lineHeight","fontFamily","lineWidth","lineType","colorSplit","boxShadowSecondary","motionDurationMid","colorFillContent","fontSizeLG","fontSizeSM","colorPrimary","colorPrimaryHover","motionDurationSlow","motionEaseInOutCirc"],"component":{"dotOffsetInCircle":5.857864376269049,"dotOffsetInSquare":2.3431457505076194}},"Flex":{"global":["paddingXS","padding","paddingLG"],"component":{}},"Empty":{"global":["controlHeightLG","margin","marginXS","marginXL","fontSize","lineHeight","opacityImage","colorText","colorTextDisabled"],"component":{}},"Input":{"global":["paddingXXS","controlHeightSM","lineWidth","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","lineType","colorBorder","borderRadius","motionDurationMid","colorTextPlaceholder","colorTextDisabled","colorBgContainerDisabled","controlHeight","motionDurationSlow","fontSizeLG","lineHeightLG","borderRadiusLG","borderRadiusSM","colorError","colorWarning","colorErrorBorderHover","colorWarningBorderHover","controlHeightLG","paddingLG","colorTextDescription","paddingXS","colorIcon","colorIconHover","colorTextQuaternary","fontSizeIcon","colorTextTertiary","colorPrimary","colorPrimaryHover","colorPrimaryActive"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":""}},"InputNumber":{"global":["paddingXXS","lineWidth","lineType","colorBorder","borderRadius","fontSizeLG","controlHeightLG","controlHeightSM","colorError","colorTextDescription","motionDurationMid","colorTextDisabled","borderRadiusSM","borderRadiusLG","colorText","fontSize","lineHeight","fontFamily","colorBgContainer","colorTextPlaceholder","colorBgContainerDisabled","controlHeight","motionDurationSlow","lineHeightLG","colorWarning","colorErrorBorderHover","colorWarningBorderHover","paddingXS","colorPrimary"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","controlWidth":90,"handleWidth":22,"handleFontSize":7,"handleVisible":"auto","handleActiveBg":"rgba(0, 0, 0, 0.02)","handleBg":"#ffffff","handleHoverColor":"#1677ff","handleBorderColor":"#d9d9d9","handleOpacity":0}},"Dropdown":{"global":["marginXXS","sizePopupArrow","paddingXXS","motionDurationMid","fontSize","colorTextDisabled","fontSizeIcon","controlPaddingHorizontal","colorBgElevated","colorText","lineHeight","fontFamily","boxShadowPopoverArrow","borderRadiusXS","borderRadiusLG","boxShadowSecondary","lineWidthFocus","colorPrimaryBorder","colorTextDescription","marginXS","fontSizeSM","borderRadiusSM","controlItemBgHover","colorPrimary","controlItemBgActive","controlItemBgActiveHover","colorSplit","paddingXS","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorError","colorTextLightSolid"],"component":{"zIndexPopup":1050,"paddingBlock":5,"arrowOffsetHorizontal":12,"arrowOffsetVertical":8,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)"}},"Divider":{"global":["margin","marginLG","colorSplit","lineWidth","colorText","fontSize","lineHeight","fontFamily","colorTextHeading","fontSizeLG"],"component":{"textPaddingInline":"1em","orientationMargin":0.05,"verticalMarginInline":8}},"DatePicker":{"global":["paddingXXS","controlHeightLG","padding","controlHeight","colorBgContainer","lineWidth","lineType","colorBorder","borderRadius","motionDurationMid","colorBgContainerDisabled","colorTextDisabled","colorTextPlaceholder","fontSizeLG","controlHeightSM","paddingXS","marginXS","colorTextDescription","lineWidthBold","colorPrimary","motionDurationSlow","paddingSM","colorPrimaryBorder","sizePopupArrow","colorBgElevated","borderRadiusLG","boxShadowSecondary","borderRadiusSM","colorSplit","boxShadowPopoverArrow","colorTextQuaternary","fontHeight","fontHeightLG","lineHeightLG","colorText","fontSize","lineHeight","fontFamily","colorTextHeading","colorIcon","colorIconHover","fontWeightStrong","colorLink","colorLinkActive","colorLinkHover","colorTextLightSolid","controlItemBgActive","marginXXS","colorTextTertiary","borderRadiusXS","motionEaseOutQuint","motionEaseInQuint","motionEaseOutCirc","motionEaseInOutCirc","colorError","colorWarning","colorErrorHover","colorWarningHover"],"component":{"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":7,"paddingInline":11,"paddingInlineSM":7,"paddingInlineLG":11,"addonBg":"rgba(0, 0, 0, 0.02)","activeBorderColor":"#1677ff","hoverBorderColor":"#4096ff","activeShadow":"0 0 0 2px rgba(5, 145, 255, 0.1)","errorActiveShadow":"0 0 0 2px rgba(255, 38, 5, 0.06)","warningActiveShadow":"0 0 0 2px rgba(255, 215, 5, 0.1)","hoverBg":"","activeBg":"","cellHoverBg":"rgba(0, 0, 0, 0.04)","cellActiveWithRangeBg":"#e6f4ff","cellHoverWithRangeBg":"#c8dfff","cellRangeBorderColor":"#7cb3ff","cellBgDisabled":"rgba(0, 0, 0, 0.04)","timeColumnWidth":56,"timeColumnHeight":224,"timeCellHeight":28,"cellWidth":36,"cellHeight":24,"textHeight":40,"withoutTimeCellHeight":66,"arrowShadowWidth":8.970562748477143,"arrowPath":"path(\'M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z\')","arrowPolygon":"polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%)","presetsWidth":120,"presetsMaxWidth":200,"zIndexPopup":1050}},"Descriptions":{"global":["colorText","fontSize","lineHeight","fontFamily","lineWidth","lineType","colorSplit","padding","paddingLG","colorTextSecondary","paddingSM","paddingXS","fontWeightStrong","fontSizeLG","lineHeightLG","borderRadiusLG","colorTextTertiary"],"component":{"labelBg":"rgba(0, 0, 0, 0.02)","titleColor":"rgba(0, 0, 0, 0.88)","titleMarginBottom":20,"itemPaddingBottom":16,"colonMarginRight":8,"colonMarginLeft":2,"contentColor":"rgba(0, 0, 0, 0.88)","extraColor":"rgba(0, 0, 0, 0.88)"}},"Drawer":{"global":["colorBgMask","colorBgElevated","motionDurationSlow","motionDurationMid","padding","paddingLG","fontSizeLG","lineHeightLG","lineWidth","lineType","colorSplit","marginSM","colorIcon","colorIconHover","colorText","fontWeightStrong","boxShadowDrawerLeft","boxShadowDrawerRight","boxShadowDrawerUp","boxShadowDrawerDown"],"component":{"zIndexPopup":1000,"footerPaddingBlock":8,"footerPaddingInline":16}},"ColorPicker":{"global":["colorTextQuaternary","marginSM","colorPrimary","motionDurationMid","colorBgElevated","colorTextDisabled","colorText","colorBgContainerDisabled","borderRadius","marginXS","controlHeight","controlHeightSM","colorBgTextActive","lineWidth","colorBorder","paddingXXS","fontSize","colorPrimaryHover","controlOutline","controlHeightLG","borderRadiusSM","colorFillSecondary","lineWidthBold","fontSizeSM","lineHeightSM","marginXXS","fontSizeIcon","paddingXS","colorTextPlaceholder","colorFill","colorWhite","fontHeightSM","motionEaseInBack","motionDurationFast","motionEaseOutBack","colorSplit","red6","controlOutlineWidth","colorError","colorWarning","colorErrorHover","colorWarningHover","colorErrorOutline","colorWarningOutline","controlHeightXS","borderRadiusXS","borderRadiusLG","fontSizeLG"],"component":{}},"Cascader":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled","colorSplit","controlItemBgHover","paddingXXS","colorTextDescription","fontSizeIcon","colorHighlight"],"component":{"controlWidth":184,"controlItemWidth":111,"dropdownHeight":180,"optionSelectedBg":"#e6f4ff","optionSelectedFontWeight":600,"optionPadding":"5px 12px","menuPadding":4}},"Grid":{"global":[],"component":{}},"Collapse":{"global":["paddingXS","paddingSM","padding","paddingLG","borderRadiusLG","lineWidth","lineType","colorBorder","colorText","colorTextHeading","colorTextDisabled","fontSizeLG","lineHeight","lineHeightLG","marginSM","motionDurationSlow","fontSizeIcon","fontHeight","fontHeightLG","fontSize","fontFamily","paddingXXS","motionDurationMid","motionEaseInOut"],"component":{"headerPadding":"12px 16px","headerBg":"rgba(0, 0, 0, 0.02)","contentPadding":"16px 16px","contentBg":"#ffffff"}},"Carousel":{"global":["controlHeightLG","controlHeightSM","marginXXS","colorText","fontSize","lineHeight","fontFamily","motionDurationSlow","colorBgContainer"],"component":{"dotWidth":16,"dotHeight":3,"dotWidthActive":24,"dotActiveWidth":24}},"Button":{"global":["lineWidth","lineType","motionDurationMid","motionEaseInOut","lineHeight","colorText","marginXS","lineWidthFocus","colorPrimaryBorder","controlHeightSM","paddingXS","borderRadiusSM","opacityLoading","motionDurationSlow","controlHeight","borderRadius","controlHeightLG","borderRadiusLG","colorTextDisabled","colorBgContainerDisabled","colorPrimaryHover","colorPrimaryActive","colorBorder","colorError","colorErrorHover","colorErrorBorderHover","colorErrorActive","colorPrimary","colorTextLightSolid","colorLink","colorLinkHover","colorLinkActive","colorBgTextActive","colorErrorBg","colorBgContainer","fontSize"],"component":{"fontWeight":400,"defaultShadow":"0 2px 0 rgba(0, 0, 0, 0.02)","primaryShadow":"0 2px 0 rgba(5, 145, 255, 0.1)","dangerShadow":"0 2px 0 rgba(255, 38, 5, 0.06)","primaryColor":"#fff","dangerColor":"#fff","borderColorDisabled":"#d9d9d9","defaultGhostColor":"#ffffff","ghostBg":"transparent","defaultGhostBorderColor":"#ffffff","paddingInline":15,"paddingInlineLG":15,"paddingInlineSM":7,"paddingBlock":4,"paddingBlockSM":0,"paddingBlockLG":6.428571428571429,"onlyIconSize":16,"onlyIconSizeSM":14,"onlyIconSizeLG":18,"groupBorderColor":"#4096ff","linkHoverBg":"transparent","textHoverBg":"rgba(0, 0, 0, 0.06)","defaultColor":"rgba(0, 0, 0, 0.88)","defaultBg":"#ffffff","defaultBorderColor":"#d9d9d9","defaultBorderColorDisabled":"#d9d9d9","contentFontSize":14,"contentFontSizeSM":14,"contentFontSizeLG":16}},"Calendar":{"global":["controlHeightLG","paddingXXS","padding","controlHeightSM","fontHeightSM","marginXS","lineWidth","paddingSM","paddingXS","colorBgContainer","lineType","borderRadiusLG","colorPrimary","colorTextHeading","colorSplit","colorIcon","motionDurationMid","colorIconHover","fontWeightStrong","colorTextDisabled","colorText","fontSize","motionDurationSlow","colorLink","colorLinkActive","colorLinkHover","borderRadiusSM","colorTextLightSolid","controlItemBgActive","marginXXS","colorTextTertiary","lineHeight","fontFamily","controlItemBgHover","lineWidthBold","screenXS"],"component":{"fullBg":"#ffffff","fullPanelBg":"#ffffff","itemActiveBg":"#e6f4ff","yearControlWidth":80,"monthControlWidth":70,"miniContentHeight":256,"cellHoverBg":"rgba(0, 0, 0, 0.04)","cellActiveWithRangeBg":"#e6f4ff","cellHoverWithRangeBg":"#c8dfff","cellRangeBorderColor":"#7cb3ff","cellBgDisabled":"rgba(0, 0, 0, 0.04)","timeColumnWidth":56,"timeColumnHeight":224,"timeCellHeight":28,"cellWidth":36,"cellHeight":24,"textHeight":40,"withoutTimeCellHeight":66}},"Card":{"global":["boxShadowCard","padding","paddingLG","fontSize","colorBorderSecondary","boxShadowTertiary","colorText","lineHeight","fontFamily","colorBgContainer","borderRadiusLG","colorTextHeading","fontWeightStrong","lineWidth","lineType","motionDurationMid","colorTextDescription","colorPrimary","fontHeight","marginXXS","marginXS","fontSizeLG","colorFillAlter"],"component":{"headerBg":"transparent","headerFontSize":16,"headerFontSizeSM":14,"headerHeight":56,"headerHeightSM":38,"actionsBg":"#ffffff","actionsLiMargin":"12px 0","tabsMarginBottom":-17,"extraColor":"rgba(0, 0, 0, 0.88)"}},"Checkbox":{"global":["controlInteractiveSize","colorText","fontSize","lineHeight","fontFamily","marginXS","borderRadiusSM","lineWidthFocus","colorPrimaryBorder","colorBgContainer","lineWidth","lineType","colorBorder","motionDurationSlow","lineWidthBold","colorWhite","motionDurationFast","motionEaseInBack","paddingXS","colorPrimary","colorPrimaryHover","motionDurationMid","motionEaseOutBack","fontSizeLG","colorBgContainerDisabled","colorTextDisabled"],"component":{}},"BackTop":{"global":["fontSizeHeading3","colorTextDescription","colorTextLightSolid","colorText","controlHeightLG","fontSize","lineHeight","fontFamily","motionDurationMid","screenMD","screenXS"],"component":{"zIndexPopup":10}},"Badge":{"global":["fontHeight","lineWidth","marginXS","colorBorderBg","colorBgContainer","colorError","colorErrorHover","motionDurationSlow","blue1","blue3","blue6","blue7","purple1","purple3","purple6","purple7","cyan1","cyan3","cyan6","cyan7","green1","green3","green6","green7","magenta1","magenta3","magenta6","magenta7","pink1","pink3","pink6","pink7","red1","red3","red6","red7","orange1","orange3","orange6","orange7","yellow1","yellow3","yellow6","yellow7","volcano1","volcano3","volcano6","volcano7","geekblue1","geekblue3","geekblue6","geekblue7","lime1","lime3","lime6","lime7","gold1","gold3","gold6","gold7","colorText","fontSize","lineHeight","fontFamily","motionDurationMid","paddingXS","colorSuccess","colorPrimary","colorTextPlaceholder","colorWarning","motionEaseOutBack"],"component":{"indicatorZIndex":"auto","indicatorHeight":20,"indicatorHeightSM":14,"dotSize":6,"textFontSize":12,"textFontSizeSM":12,"textFontWeight":"normal","statusSize":6}},"Avatar":{"global":["colorTextLightSolid","colorTextPlaceholder","borderRadius","borderRadiusLG","borderRadiusSM","lineWidth","lineType","colorText","fontSize","lineHeight","fontFamily"],"component":{"containerSize":32,"containerSizeLG":40,"containerSizeSM":24,"textFontSize":18,"textFontSizeLG":24,"textFontSizeSM":14,"groupSpace":4,"groupOverlapping":-8,"groupBorderColor":"#ffffff"}},"App":{"global":["colorText","fontSize","lineHeight","fontFamily"],"component":{}},"Affix":{"global":[],"component":{"zIndexPopup":10}},"Breadcrumb":{"global":["colorText","fontSize","lineHeight","fontFamily","motionDurationMid","paddingXXS","borderRadiusSM","fontHeight","marginXXS","colorBgTextHover","lineWidthFocus","colorPrimaryBorder","fontSizeIcon"],"component":{"itemColor":"rgba(0, 0, 0, 0.45)","lastItemColor":"rgba(0, 0, 0, 0.88)","iconFontSize":14,"linkColor":"rgba(0, 0, 0, 0.45)","linkHoverColor":"rgba(0, 0, 0, 0.88)","separatorColor":"rgba(0, 0, 0, 0.45)","separatorMargin":8}}}');function aK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aK(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aK(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a0={},a1=function(e){var t;return!a0[e]&&(a0[e]=Object.entries(aQ).filter(function(t){return aJ(t,2)[1].global.includes(e)}).map(function(e){return aJ(e,1)[0]})),null!==(t=a0[e])&&void 0!==t?t:[]},a2=function(e){return Array.from(new Set((Array.isArray(e)?e:[e]).reduce(function(e,t){return e.concat(a1(t))},[])))},a3=function(e){return e?"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAAZUlEQVRIDe2VMQoAMAgDa9/g/1/oIzrpZBCh2dLFkkoDF0Fz99OdiOjks+2/7S8fRRmMMIVoRGSoYzvvqF8ZIMKlC1GhQBc6IkPzq32QmdAzkEGihpWOSPsAss8HegYySNSw0hE9WQ4StafZFqkAAAAASUVORK5CYII=)":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==)"};function a6(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a5(e,t,r[t])})}return e}var a4=L("ColorPreview",function(){return{".previewer-color-preview":{width:20,height:20,position:"relative",borderRadius:"50%",padding:0,display:"inline-block","&::before":{content:'""',width:"100%",height:"100%",borderRadius:"50%",top:0,insetInlineStart:0,position:"absolute",zIndex:2,backgroundColor:"var(--antd-token-previewer-color-preview)",boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)"}}}}),a7=function(e){var t,r,n,o,a=e.color,l=e.style,i=e.className,c=e.dark,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++){if(r=a[n],!(t.indexOf(r)>=0))Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}(e,["color","style","className","dark"]);var u=(t=a4(),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return a6(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a6(e,t)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],m=u[1];return d(b().createElement("div",(n=a8({},s),o=(o={className:z()("previewer-color-preview",i,m),style:a8(a5({},"--antd-token-previewer-color-preview",a),l)},o),Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n),b().createElement("div",{style:{content:'""',width:18,height:18,borderRadius:"50%",top:1,insetInlineStart:1,position:"absolute",zIndex:1,background:"".concat(a3(c)," 0% 0% / 20px")}})))};let a9=(e,t=0)=>{let r=(0,y.useRef)(0),n=(0,y.useCallback)((...n)=>{cancelAnimationFrame(r.current);let o=performance.now(),a=l=>{l-o<t?r.current=requestAnimationFrame(a):e(...n)};r.current=requestAnimationFrame(a)},[e,t]);return(0,y.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),n};function le(){return(le=Object.assign||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}).apply(this,arguments)}function lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}function lr(e){var t=(0,y.useRef)(e),r=(0,y.useRef)(function(e){t.current&&t.current(e)});return t.current=e,r.current}var ln=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},lo=function(e){return"touches"in e},la=function(e){return e&&e.ownerDocument.defaultView||self},ll=function(e,t,r){var n=e.getBoundingClientRect(),o=lo(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:ln((o.pageX-(n.left+la(e).pageXOffset))/n.width),top:ln((o.pageY-(n.top+la(e).pageYOffset))/n.height)}},li=function(e){lo(e)||e.preventDefault()},lc=y.memo(function(e){var t=e.onMove,r=e.onKey,n=lt(e,["onMove","onKey"]),o=(0,y.useRef)(null),a=lr(t),l=lr(r),i=(0,y.useRef)(null),c=(0,y.useRef)(!1),s=(0,y.useMemo)(function(){var e=function(e){li(e),(lo(e)?e.touches.length>0:e.buttons>0)&&o.current?a(ll(o.current,e,i.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=c.current,a=la(o.current),l=r?a.addEventListener:a.removeEventListener;l(n?"touchmove":"mousemove",e),l(n?"touchend":"mouseup",t)}return[function(e){var t,n=e.nativeEvent,l=o.current;if(l&&(li(n),t=n,(!c.current||lo(t))&&l)){if(lo(n)){c.current=!0;var s=n.changedTouches||[];s.length&&(i.current=s[0].identifier)}l.focus(),a(ll(l,n,i.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),l({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]},[l,a]),u=s[0],d=s[1],m=s[2];return(0,y.useEffect)(function(){return m},[m]),y.createElement("div",le({},n,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))}),ls=function(e){return e.filter(Boolean).join(" ")},lu=function(e){var t=e.color,r=e.left,n=e.top,o=ls(["react-colorful__pointer",e.className]);return y.createElement("div",{className:o,style:{top:100*(void 0===n?.5:n)+"%",left:100*r+"%"}},y.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ld=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},lm=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?ld(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?ld(parseInt(e.substring(6,8),16)/255,2):1}},lf=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:ld(e.h),s:ld(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:ld(o/2),a:ld(n,2)}},lp=function(e){var t=lf(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},lg=function(e){var t=lf(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},lh=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),l=n*(1-r),i=n*(1-(t-a)*r),c=n*(1-(1-t+a)*r),s=a%6;return{r:ld(255*[n,i,l,l,c,n][s]),g:ld(255*[c,n,n,i,l,l][s]),b:ld(255*[l,l,c,n,n,i][s]),a:ld(o,2)}},ly=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},lb=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?ly(ld(255*o)):"";return"#"+ly(t)+ly(r)+ly(n)+a},lv=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),l=a-Math.min(t,r,n),i=l?a===t?(r-n)/l:a===r?2+(n-t)/l:4+(t-r)/l:0;return{h:ld(60*(i<0?i+6:i)),s:ld(a?l/a*100:0),v:ld(a/255*100),a:o}},lE=y.memo(function(e){var t=e.hue,r=e.onChange,n=ls(["react-colorful__hue",e.className]);return y.createElement("div",{className:n},y.createElement(lc,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:ln(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":ld(t),"aria-valuemax":"360","aria-valuemin":"0"},y.createElement(lu,{className:"react-colorful__hue-pointer",left:t/360,color:lp({h:t,s:100,v:100,a:1})})))}),lS=y.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:lp({h:t.h,s:100,v:100,a:1})};return y.createElement("div",{className:"react-colorful__saturation",style:n},y.createElement(lc,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:ln(t.s+100*e.left,0,100),v:ln(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ld(t.s)+"%, Brightness "+ld(t.v)+"%"},y.createElement(lu,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:lp(t)})))}),lk=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0};function lx(e,t,r){var n=lr(r),o=(0,y.useState)(function(){return e.toHsva(t)}),a=o[0],l=o[1],i=(0,y.useRef)({color:t,hsva:a});return(0,y.useEffect)(function(){if(!e.equal(t,i.current.color)){var r=e.toHsva(t);i.current={hsva:r,color:t},l(r)}},[t,e]),(0,y.useEffect)(function(){var t;lk(a,i.current.hsva)||e.equal(t=e.fromHsva(a),i.current.color)||(i.current={hsva:a,color:t},n(t))},[a,e,n]),[a,(0,y.useCallback)(function(e){l(function(t){return Object.assign({},t,e)})},[])]}var lw,lC,lT,lA,lB,lO,lP,lI,lM="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,lH=new Map,lz=function(e){lM(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!lH.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',lH.set(t,r);var n=lI||d.nc;n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},lD=function(e){var t=e.className,r=e.colorModel,n=e.color,o=void 0===n?r.defaultColor:n,a=e.onChange,l=lt(e,["className","colorModel","color","onChange"]),i=(0,y.useRef)(null);lz(i);var c=lx(r,o,a),s=c[0],u=c[1],d=ls(["react-colorful",t]);return y.createElement("div",le({},l,{ref:i,className:d}),y.createElement(lS,{hsva:s,onChange:u}),y.createElement(lE,{hue:s.h,onChange:u,className:"react-colorful__last-control"}))},lj={defaultColor:"000",toHsva:function(e){return lv(lm(e))},fromHsva:function(e){return lb(lh({h:e.h,s:e.s,v:e.v,a:1}))},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||lk(lm(e),lm(t))}},lL=function(e){return y.createElement(lD,le({},e,{colorModel:lj}))},lR=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+lg(Object.assign({},r,{a:0}))+", "+lg(Object.assign({},r,{a:1}))+")"},a=ls(["react-colorful__alpha",t]),l=ld(100*r.a);return y.createElement("div",{className:a},y.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),y.createElement(lc,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:ln(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},y.createElement(lu,{className:"react-colorful__alpha-pointer",left:r.a,color:lg(r)})))},lF=function(e){var t=e.className,r=e.colorModel,n=e.color,o=void 0===n?r.defaultColor:n,a=e.onChange,l=lt(e,["className","colorModel","color","onChange"]),i=(0,y.useRef)(null);lz(i);var c=lx(r,o,a),s=c[0],u=c[1],d=ls(["react-colorful",t]);return y.createElement("div",le({},l,{ref:i,className:d}),y.createElement(lS,{hsva:s,onChange:u}),y.createElement(lE,{hue:s.h,onChange:u}),y.createElement(lR,{hsva:s,onChange:u,className:"react-colorful__last-control"}))},lW={defaultColor:{r:0,g:0,b:0,a:1},toHsva:lv,fromHsva:lh,equal:lk},l_=function(e){return y.createElement(lF,le({},e,{colorModel:lW}))};function lN(e){return(lN="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)}var lX=/^\s+/,lG=/\s+$/;function lU(e,t){if(t=t||{},(e=e||"")instanceof lU)return e;if(!(this instanceof lU))return new lU(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,l=!1,i=!1;return"string"==typeof e&&(e=function(e){e=e.replace(lX,"").replace(lG,"").toLowerCase();var t,r=!1;if(l7[e])e=l7[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=is.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=is.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=is.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=is.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=is.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=is.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=is.hex8.exec(e))return{r:io(t[1]),g:io(t[2]),b:io(t[3]),a:io(t[4])/255,format:r?"name":"hex8"};if(t=is.hex6.exec(e))return{r:io(t[1]),g:io(t[2]),b:io(t[3]),format:r?"name":"hex"};if(t=is.hex4.exec(e))return{r:io(t[1]+""+t[1]),g:io(t[2]+""+t[2]),b:io(t[3]+""+t[3]),a:io(t[4]+""+t[4])/255,format:r?"name":"hex8"};return!!(t=is.hex3.exec(e))&&{r:io(t[1]+""+t[1]),g:io(t[2]+""+t[2]),b:io(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==lN(e)&&(iu(e.r)&&iu(e.g)&&iu(e.b)?(t=function(e,t,r){return{r:255*it(e,255),g:255*it(t,255),b:255*it(r,255)}}(e.r,e.g,e.b),l=!0,i="%"===String(e.r).substr(-1)?"prgb":"rgb"):iu(e.h)&&iu(e.s)&&iu(e.v)?(n=il(e.s),o=il(e.v),t=function(e,t,r){e=6*it(e,360),t=it(t,100),r=it(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),l=r*(1-o*t),i=r*(1-(1-o)*t),c=n%6;return{r:255*[r,l,a,a,i,r][c],g:255*[i,r,r,l,a,a][c],b:255*[a,a,i,r,r,l][c]}}(e.h,n,o),l=!0,i="hsv"):iu(e.h)&&iu(e.s)&&iu(e.l)&&(n=il(e.s),a=il(e.l),t=function(e,t,r){var n,o,a;function l(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=it(e,360),t=it(t,100),r=it(r,100),0===t)n=o=a=r;else{var i=r<.5?r*(1+t):r+t-r*t,c=2*r-i;n=l(c,i,e+1/3),o=l(c,i,e),a=l(c,i,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,n,a),l=!0,i="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=ie(r),{ok:l,format:e.format||i,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}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.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._ok=r.ok}lU.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n,o,a,l=this.toRgb();return e=l.r/255,t=l.g/255,r=l.b/255,.2126*(n=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(a=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=ie(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=lq(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=lq(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=l$(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l$(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return lY(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var a=[ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16)),ia(ii(n))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*it(this._r,255))+"%",g:Math.round(100*it(this._g,255))+"%",b:Math.round(100*it(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*it(this._r,255))+"%, "+Math.round(100*it(this._g,255))+"%, "+Math.round(100*it(this._b,255))+"%)":"rgba("+Math.round(100*it(this._r,255))+"%, "+Math.round(100*it(this._g,255))+"%, "+Math.round(100*it(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(l9[lY(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+lV(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=lU(e);r="#"+lV(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;if(!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e))return"name"===e&&0===this._a?this.toName():this.toRgbString();return"rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()},clone:function(){return lU(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(lJ,arguments)},brighten:function(){return this._applyModification(l0,arguments)},darken:function(){return this._applyModification(l1,arguments)},desaturate:function(){return this._applyModification(lZ,arguments)},saturate:function(){return this._applyModification(lQ,arguments)},greyscale:function(){return this._applyModification(lK,arguments)},spin:function(){return this._applyModification(l2,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(l8,arguments)},complement:function(){return this._applyCombination(l3,arguments)},monochromatic:function(){return this._applyCombination(l4,arguments)},splitcomplement:function(){return this._applyCombination(l5,arguments)},triad:function(){return this._applyCombination(l6,[3])},tetrad:function(){return this._applyCombination(l6,[4])}},lU.fromRatio=function(e,t){if("object"==lN(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&("a"===n?r[n]=e[n]:r[n]=il(e[n]));e=r}return lU(e,t)};function l$(e,t,r){e=it(e,255),t=it(t,255);var n=Math.max(e,t,r=it(r,255)),o=Math.min(e,t,r),a,l,i=(n+o)/2;if(n==o)a=l=0;else{var c=n-o;switch(l=i>.5?c/(2-n-o):c/(n+o),n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4}a/=6}return{h:a,s:l,l:i}}function lq(e,t,r){e=it(e,255),t=it(t,255);var n,o,a=Math.max(e,t,r=it(r,255)),l=Math.min(e,t,r);var i=a-l;if(o=0===a?0:i/a,a==l)n=0;else{switch(a){case e:n=(t-r)/i+(t<r?6:0);break;case t:n=(r-e)/i+2;break;case r:n=(e-t)/i+4}n/=6}return{h:n,s:o,v:a}}function lY(e,t,r,n){var o=[ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function lV(e,t,r,n){return[ia(ii(n)),ia(Math.round(e).toString(16)),ia(Math.round(t).toString(16)),ia(Math.round(r).toString(16))].join("")}function lZ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.s-=t/100,r.s=ir(r.s),lU(r)}function lQ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.s+=t/100,r.s=ir(r.s),lU(r)}function lK(e){return lU(e).desaturate(100)}function lJ(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.l+=t/100,r.l=ir(r.l),lU(r)}function l0(e,t){t=0===t?0:t||10;var r=lU(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),lU(r)}function l1(e,t){t=0===t?0:t||10;var r=lU(e).toHsl();return r.l-=t/100,r.l=ir(r.l),lU(r)}function l2(e,t){var r=lU(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,lU(r)}function l3(e){var t=lU(e).toHsl();return t.h=(t.h+180)%360,lU(t)}function l6(e,t){if(isNaN(t)||t<=0)throw Error("Argument to polyad must be a positive number");for(var r=lU(e).toHsl(),n=[lU(e)],o=360/t,a=1;a<t;a++)n.push(lU({h:(r.h+a*o)%360,s:r.s,l:r.l}));return n}function l5(e){var t=lU(e).toHsl(),r=t.h;return[lU(e),lU({h:(r+72)%360,s:t.s,l:t.l}),lU({h:(r+216)%360,s:t.s,l:t.l})]}function l8(e,t,r){t=t||6,r=r||30;var n=lU(e).toHsl(),o=360/r,a=[lU(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(lU(n));return a}function l4(e,t){t=t||6;for(var r=lU(e).toHsv(),n=r.h,o=r.s,a=r.v,l=[],i=1/t;t--;)l.push(lU({h:n,s:o,v:a})),a=(a+i)%1;return l}lU.equals=function(e,t){return!!e&&!!t&&lU(e).toRgbString()==lU(t).toRgbString()},lU.random=function(){return lU.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},lU.mix=function(e,t,r){r=0===r?0:r||50;var n=lU(e).toRgb(),o=lU(t).toRgb(),a=r/100;return lU({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},lU.readability=function(e,t){var r=lU(e),n=lU(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},lU.isReadable=function(e,t,r){var n,o,a=lU.readability(e,t);switch(o=!1,(n=function(e){var t,r;return t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==r&&"large"!==r&&(r="small"),{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},lU.mostReadable=function(e,t,r){var n,o,a,l,i=null,c=0;o=(r=r||{}).includeFallbackColors,a=r.level,l=r.size;for(var s=0;s<t.length;s++)(n=lU.readability(e,t[s]))>c&&(c=n,i=lU(t[s]));return lU.isReadable(e,i,{level:a,size:l})||!o?i:(r.includeFallbackColors=!1,lU.mostReadable(e,["#fff","#000"],r))};var l7=lU.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},l9=lU.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(l7);function ie(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function it(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return(e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),1e-6>Math.abs(e-t))?1:e%t/parseFloat(t)}function ir(e){return Math.min(1,Math.max(0,e))}function io(e){return parseInt(e,16)}function ia(e){return 1==e.length?"0"+e:""+e}function il(e){return e<=1&&(e=100*e+"%"),e}function ii(e){return Math.round(255*parseFloat(e)).toString(16)}function ic(e){return io(e)/255}var is=(t="[\\s|\\(]+("+(e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",{CSS_UNIT:new RegExp(e),rgb:RegExp("rgb"+t),rgba:RegExp("rgba"+r),hsl:RegExp("hsl"+t),hsla:RegExp("hsla"+r),hsv:RegExp("hsv"+t),hsva:RegExp("hsva"+r),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 iu(e){return!!is.CSS_UNIT.exec(e)}function id(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ip(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){im(e,t,r[t])})}return e}function ig(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ih(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return id(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return id(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var iy=p.theme.useToken,ib=L("ColorPanel",function(e){return{".color-panel":{padding:12,backgroundColor:"#fff",borderRadius:12,border:"1px solid rgba(0, 0, 0, 0.06)",boxShadow:e.boxShadow,width:224,boxSizing:"border-box",".color-panel-mode":{display:"flex",alignItems:"center",marginBottom:6},".color-panel-preview":{width:24,height:24,borderRadius:4,boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)",flex:"none",overflow:"hidden",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==) 0% 0% / 32px"},".color-panel-preset-colors":{paddingTop:12,display:"flex",flexWrap:"wrap",width:200},".color-panel-preset-color-btn":{borderRadius:4,width:20,height:20,border:"none",outline:"none",margin:4,cursor:"pointer",boxShadow:"0 2px 3px -1px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(0,0,0,0.09)"},".color-panel-mode-title":{color:e.colorTextPlaceholder,marginTop:2,fontSize:12,textAlign:"center"},".color-panel-rgba-input":{display:"flex",alignItems:"center","&-part":im({flex:1,width:0,display:"flex",flexDirection:"column",alignItems:"center","&-title":{color:e.colorTextPlaceholder,marginTop:2,fontSize:12},"&:not(:last-child)":{marginRight:4}},"".concat(e.rootCls,"-input-number"),{width:"100%",input:{fontSize:12,padding:"0 4px"}})}}}}),iv=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?lU(e).toHex8():lU(e).toHex()},iE=function(e){var t=e.value,r=e.onChange,n=e.alpha,o=ih((0,y.useState)(t),2),a=o[0],l=o[1],i=(0,y.useRef)(!1);return(0,y.useEffect)(function(){!i.current&&l(iv(t,n))},[t,n]),b().createElement("div",null,b().createElement(p.Input,{prefix:"#",size:"small",value:a,onFocus:function(){i.current=!0},onChange:function(e){l(e.target.value),null==r||r(iv(e.target.value,n))},onBlur:function(e){i.current=!1,l(iv(e.target.value,n))}}),b().createElement("div",{className:"color-panel-mode-title"},"HEX",n?"8":""))},iS=function(e){var t=e.value,r=e.onChange,n=e.alpha,o=ih(aZ(null!=t?t:{r:0,g:0,b:0,a:1},{value:t,onChange:r}),2),a=o[0],l=o[1];return b().createElement("div",{className:"color-panel-rgba-input"},b().createElement(p.ConfigProvider,{theme:{components:{InputNumber:{handleWidth:12}}}},b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.r,onChange:function(e){return l(ig(ip({},a),{r:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"R")),b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.g,onChange:function(e){return l(ig(ip({},a),{g:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"G")),b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:255,size:"small",value:a.b,onChange:function(e){return l(ig(ip({},a),{b:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"B")),n&&b().createElement("div",{className:"color-panel-rgba-input-part"},b().createElement(p.InputNumber,{min:0,max:1,step:.01,size:"small",value:a.a,onChange:function(e){return l(ig(ip({},a),{a:null!=e?e:0}))}}),b().createElement("div",{className:"color-panel-mode-title"},"A"))))},ik=["HEX","HEX8","RGB","RGBA"],ix=function(e,t){switch(t){case"HEX":return lU(e).toHexString();case"HEX8":return lU(e).toHex8String();default:return lU(e).toRgbString()}},iw=function(e){var t=e.color,r=e.onChange,n=e.alpha,o=e.style,a=iy().token,l=ih(ib(),2),i=l[0],c=l[1],s=ih(b().useState("HEX"),2),u=s[0],d=s[1],m=(0,y.useMemo)(function(){return[a.blue,a.purple,a.cyan,a.green,a.magenta,a.pink,a.red,a.orange,a.yellow,a.volcano,a.geekblue,a.gold,a.lime,"#000"]},[]);return i(b().createElement("div",{className:z()(c,"color-panel"),style:o},("HEX"===u||"RGB"===u)&&b().createElement(lL,{style:{height:160},color:lU(t).toHex(),onChange:function(e){r(ix(e,u))}}),("RGBA"===u||"HEX8"===u)&&b().createElement(l_,{style:{height:160},color:lU(t).toRgb(),onChange:function(e){r(ix(e,u))}}),b().createElement("div",{style:{marginTop:12}},b().createElement("div",{className:"color-panel-mode"},b().createElement("div",{className:"color-panel-preview"},b().createElement("div",{style:{backgroundColor:t,width:"100%",height:"100%"}})),b().createElement(p.Select,{value:u,onChange:function(e){d(e),r(ix(t,e))},options:ik.filter(function(e){return n||"HEX"===e||"RGB"===e}).map(function(e){return{value:e,key:e}}),size:"small",bordered:!1,dropdownMatchSelectWidth:!1})),"HEX"===u&&b().createElement(iE,{value:lU(t).toHex(),onChange:function(e){return null==r?void 0:r(lU(e).toHexString())}}),"HEX8"===u&&b().createElement(iE,{alpha:!0,value:lU(t).toHex8(),onChange:function(e){return null==r?void 0:r(lU(e).toHex8String())}}),("RGBA"===u||"RGB"===u)&&b().createElement(iS,{alpha:"RGBA"===u,value:lU(t).toRgb(),onChange:function(e){return null==r?void 0:r(lU(e).toRgbString())}})),b().createElement("div",{className:"color-panel-preset-colors"},m.map(function(e){return b().createElement("button",{key:e,className:"color-panel-preset-color-btn",style:{backgroundColor:e},onClick:function(){return r(e)}})}))))};function iC(e){return e.startsWith("rgb")||e.startsWith("#")}function iT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iT(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iT(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var iO=L("TokenInput",function(e){var t,r;return{".previewer-token-input":(iA(r={},"".concat(e.rootCls,"-input-group-addon, ").concat(e.rootCls,"-input-number-group-addon"),{border:"0 !important",color:"rgba(0, 0, 0, 0.25) !important",fontSize:"".concat(e.fontSizeSM,"px !important"),padding:"0 !important",backgroundColor:"transparent !important","&:first-child":{paddingInlineStart:0},"&:last-child":{paddingInlineEnd:0}}),iA(r,"".concat(e.rootCls,"-input-group-wrapper, ").concat(e.rootCls,"-input-number-group-wrapper"),{padding:0,height:24,width:"100%",input:{fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,padding:"2px ".concat(e.paddingXS,"px"),height:24}}),iA(r,"".concat(e.rootCls,"-input-group-wrapper ").concat(e.rootCls,"-input, ").concat(e.rootCls,"-input-number-group-wrapper ").concat(e.rootCls,"-input-number"),{background:"white",borderRadius:"".concat(e.borderRadiusLG,"px !important"),whiteSpace:"nowrap",textOverflow:"ellipsis"}),iA(r,"&&-light",(iA(t={},"".concat(e.rootCls,"-input-group-addon, ").concat(e.rootCls,"-input-number-group-addon"),{backgroundColor:e.colorBgContainer}),iA(t,"".concat(e.rootCls,"-input-group-wrapper ").concat(e.rootCls,"-input,\n ").concat(e.rootCls,"-input-number-group-wrapper ").concat(e.rootCls,"-input-number-input"),{background:e.colorFillAlter}),t)),iA(r,"&&-readonly",{input:{cursor:"text",color:e.colorText}}),r)}}),iP=function(e){var t,r=e.value,n=e.theme,o=e.onChange,a=e.light,l=e.readonly,i=e.onReset,c=e.canReset,s=e.hideTheme,u=(0,y.useRef)(r||""),d=iB((0,y.useState)(r||""),2),m=d[0],f=d[1],g=null!=c?c:u.current!==m,h=aW(),v=iB(iO(),2),E=v[0],S=v[1];(0,y.useEffect)(function(){void 0!==r&&f(r)},[r]);var k=a9(function(e){null==o||o(e)},500),x=function(e){!l&&(f(e),k(e))},w=!l&&b().createElement("span",{style:{display:"flex",alignItems:"center",minWidth:s?"":80}},g||s?b().createElement(p.Button,{style:{fontSize:12},onClick:function(){i?i():x(u.current)},type:"link",size:"small",disabled:!g},h.reset):b().createElement("span",{style:{padding:"0 8px"}},null==n?void 0:n.name));return t="string"==typeof u.current&&iC(u.current)?b().createElement(p.Input,{bordered:!1,addonAfter:w,value:String(m),disabled:l,addonBefore:b().createElement(p.Dropdown,{trigger:["click"],overlay:b().createElement(iw,{alpha:!0,color:String(m),onChange:function(e){x(e)}})},b().createElement(a7,{color:String(m),dark:(null==n?void 0:n.key)==="dark",style:{cursor:"pointer",marginInlineEnd:8,verticalAlign:"top"}})),onChange:function(e){x(e.target.value)}}):"number"==typeof u.current?b().createElement(p.InputNumber,{addonAfter:w,bordered:!1,value:m,disabled:l,onChange:function(e){x(Number(e))}}):b().createElement(p.Input,{addonAfter:w,bordered:!1,value:String(m),disabled:l,onChange:function(e){x("number"==typeof r?Number(e.target.value):e.target.value)}}),E(b().createElement("div",{className:z()("previewer-token-input",S,{"previewer-token-input-light":a,"previewer-token-input-readonly":l})},t))};function iI(e,t){if(!!e)return t.reduce(function(e,t){if(e)return e[t]},e)}function iM(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iH(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iz(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){iH(e,t,r[t])})}return e}function iD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||iL(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ij(e){return function(e){if(Array.isArray(e))return iM(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||iL(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iL(e,t){if(e){if("string"==typeof e)return iM(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iM(e,t)}}var iR=p.Collapse.Panel,iF=function(e){var t=e.info,r=e.visible,n=(e.tokenName,e.style),o=e.dark,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++){if(r=a[n],!(t.indexOf(r)>=0))Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}(e,["info","visible","tokenName","style","dark"]);return"string"==typeof t&&iC(t)?b().createElement(a7,{dark:o,color:String(t),style:iz({display:r?"block":"none"},n)}):t.toString().length<6&&""!==String(t)?b().createElement("div",iz({style:iz({height:20,overflow:"hidden",backgroundColor:"rgba(0,0,0,0.04)",borderRadius:"8px",display:r?"block":"none",padding:"0 6px",lineHeight:"20px"},n)},a),t):null},iW=function(e){var t=e.selected,r=e.toggleSelected;return b().createElement(N,{style:{color:t?"#1890ff":void 0,cursor:"pointer",fontSize:16,transition:"color 0.3s",marginInlineStart:12,verticalAlign:"middle"},onClick:function(){return r(!t)}})},i_=L("TokenItem",function(e){var t;return iH({},"".concat(e.rootCls,"-collapse.previewer-token-item-collapse"),iH({},".previewer-token-item".concat(e.rootCls,"-collapse-item"),(iH(t={transition:"background-color ".concat(e.motionDurationSlow),borderRadius:{_skip_check_:!0,value:"4px !important"}},"&:not(".concat(e.rootCls,"-collapse-item-active):hover"),{backgroundColor:"#f5f5f5"}),iH(t,"> ".concat(e.rootCls,"-collapse-header"),{padding:"12px 8px"}),iH(t,"".concat(e.rootCls,"-collapse-header-text"),{flex:1,width:0}),iH(t,"".concat(e.rootCls,"-collapse-content-box"),{padding:"0 4px"}),iH(t,"".concat(e.rootCls,"-collapse-expand-icon"),{paddingInlineEnd:"".concat(e.paddingXXS,"px !important")}),iH(t,".previewer-token-count",{height:16,fontSize:e.fontSizeSM,lineHeight:"16px",borderRadius:100,paddingInline:1.5*e.paddingXXS,color:e.colorTextSecondary,backgroundColor:e.colorFillAlter}),iH(t,".previewer-token-item-name",{transition:"color 0.3s"}),iH(t,".previewer-token-item-highlighted.previewer-token-item-name",{color:"".concat(e.colorPrimary," !important")}),iH(t,"&:hover .previewer-token-preview",{"> .previewer-color-preview:not(:last-child)":{transform:"translateX(-100%)",marginInlineEnd:4}}),iH(t,".previewer-token-preview",{display:"flex",alignItems:"center",position:"relative","> .previewer-color-preview":{position:"absolute",insetInlineEnd:0,top:0,bottom:0,margin:"auto"},"> .previewer-color-preview:not(:last-child)":{transform:"translateX(-50%)",marginInlineEnd:0,transition:"transform 0.3s, margin-right 0.3s"},"> *:not(:last-child)":{marginInlineEnd:4}}),t)))});function iN(e){var t,r=e.tokenName,n=e.active,o=e.onActiveChange,a=e.onTokenChange,l=e.tokenPath,i=e.selectedTokens,c=e.themes,s=e.onTokenSelect,u=e.enableTokenSelect,d=e.hideUsageCount,m=e.fallback,f=iD(b().useState(!1),2),g=f[0],h=f[1],v=iD(i_(),2),E=v[0],S=v[1];(0,y.useEffect)(function(){n&&h(!0)},[n]);var k=function(e,t){null==a||a(e,r,t)},x=(0,y.useMemo)(function(){return a2(r).length},[r]);return E(b().createElement("div",{onMouseEnter:function(){return null==o?void 0:o(!1)}},b().createElement(p.Collapse,{collapsible:"header",ghost:!0,onChange:function(e){return h(e.length>0)},className:z()("previewer-token-item-collapse",S),expandIcon:function(e){var t=e.isActive;return b().createElement(M.CaretRightOutlined,{rotate:t?90:0,style:{fontSize:12,cursor:"pointer"}})},activeKey:g?r:void 0},b().createElement(iR,{key:r,className:"previewer-token-item",header:b().createElement("div",{style:{display:"flex",alignItems:"center",gap:8},id:(t=r,"previewer-token-panel-item-".concat(t))},b().createElement("span",{style:{flex:1,width:0,display:"flex",overflow:"hidden",alignItems:"center"}},b().createElement("span",{title:r,className:z()("previewer-token-item-name",{"previewer-token-item-highlighted":n}),style:{marginInlineEnd:"5px",overflow:"hidden",textOverflow:"ellipsis"}},r),!d&&b().createElement("span",{className:"previewer-token-count"},x)),!g&&b().createElement("div",{className:"previewer-token-preview",style:{minWidth:20*c.length+(c.length-1)*4}},c.map(function(e,t){var n,o,a=e.config,i=e.key;return b().createElement(iF,{key:i,dark:"dark"===i,tokenName:r,info:null!==(o=null!==(n=iI(a,ij(l).concat([r])))&&void 0!==n?n:null==m?void 0:m(a)[r])&&void 0!==o?o:"",visible:!g,style:{zIndex:10-t}})}))),extra:u?b().createElement(iW,{selected:!!(null==i?void 0:i.includes(r)),toggleSelected:function(){null==s||s(r)}}):void 0},b().createElement(p.Space,{direction:"vertical",style:{background:"#fafafa",borderRadius:4,padding:8,width:"100%"}},c.map(function(e){var t;return b().createElement("div",{key:e.key},b().createElement(iP,{hideTheme:1===c.length,theme:e,onChange:function(t){return k(e,t)},value:null!==(t=iI(e.config,ij(l).concat([r])))&&void 0!==t?t:null==m?void 0:m(e.config)[r]}))}))))))}function iX(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iU(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],l=!0,i=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{!l&&null!=o.return&&o.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iX(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iX(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i$=p.Collapse.Panel;M.BulbOutlined,M.FontColorsOutlined,M.BgColorsOutlined,M.BorderHorizontalOutlined,M.HighlightOutlined,M.FormatPainterOutlined,M.FontSizeOutlined,M.AlignLeftOutlined,M.TabletOutlined,M.RadiusSettingOutlined,M.ControlOutlined,M.FileUnknownOutlined;var iq=L("TokenCard",function(e){return iG({".token-card":iG({width:"100%",height:"auto",borderRadius:e.borderRadiusLG,border:"1px solid rgba(0,0,0,0.09)",marginBottom:e.marginSM},"".concat(e.rootCls,"-collapse.token-card-collapse"),iG({},"> ".concat(e.rootCls,"-collapse-item > ").concat(e.rootCls,"-collapse-content > ").concat(e.rootCls,"-collapse-content-box"),{padding:{_skip_check_:!0,value:"0 ".concat(e.paddingXS,"px 12px !important")}}))},".token-card ".concat(e.rootCls,"-input-group >").concat(e.rootCls,"-input:not(:first-child):not(:last-child)"),{background:"white",borderRadius:e.borderRadiusLG})});function iY(e){var t=e.title,r=e.icon,n=e.tokenArr,o=e.keyword,a=e.hideUseless,l=e.defaultOpen,i=e.open,c=e.onOpenChange,s=e.activeToken,u=e.onActiveTokenChange,d=e.onTokenChange,m=e.tokenPath,f=e.selectedTokens,g=e.themes,h=e.onTokenSelect,y=e.enableTokenSelect,v=e.hideUsageCount,E=e.fallback,S=e.placeholder,k=iU(iq(),2),x=k[0],w=k[1],C=iU(aZ(!1,{onChange:c,defaultValue:l,value:i}),2),T=C[0],A=C[1];return x(b().createElement("div",{className:z()("token-card",w)},b().createElement(p.Collapse,{ghost:!0,expandIcon:function(e){var t=e.isActive;return b().createElement(M.CaretRightOutlined,{rotate:t?450:360,style:{fontSize:12,color:"rgba(0,0,0,0.45)"}})},expandIconPosition:"right",className:"token-card-collapse",activeKey:T?"1":void 0,onChange:function(e){A(e.length>0)}},b().createElement(i$,{header:b().createElement(p.Space,{size:"small"},b().createElement("span",null,t),b().createElement("span",null,r)),key:"1"},n.filter(function(e){return(!o||e.toLowerCase().includes(o.toLowerCase()))&&(!a||a2(e).length>0)}).map(function(e){return b().createElement(iN,{tokenPath:m,onActiveChange:function(t){return null==u?void 0:u(t?e:void 0)},active:s===e,tokenName:e,key:e,onTokenChange:d,themes:g,selectedTokens:f,onTokenSelect:h,enableTokenSelect:y,hideUsageCount:v,fallback:E})}),0===n.length&&S))))}function iV(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function iZ(e){return Math.min(1,Math.max(0,e))}function iQ(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function iK(e){return e<=1?"".concat(100*Number(e),"%"):e}function iJ(e){return 1===e.length?"0"+e:String(e)}function i0(e,t,r){e=iV(e,255),t=iV(t,255);var n=Math.max(e,t,r=iV(r,255)),o=Math.min(e,t,r),a=0,l=0,i=(n+o)/2;if(n===o)l=0,a=0;else{var c=n-o;switch(l=i>.5?c/(2-n-o):c/(n+o),n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4}a/=6}return{h:a,s:l,l:i}}function i1(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function i2(e,t,r){e=iV(e,255),t=iV(t,255);var n=Math.max(e,t,r=iV(r,255)),o=Math.min(e,t,r),a=0,l=n-o;if(n===o)a=0;else{switch(n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:0===n?0:l/n,v:n}}function i3(e,t,r,n){var o=[iJ(Math.round(e).toString(16)),iJ(Math.round(t).toString(16)),iJ(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function i6(e){return i5(e)/255}function i5(e){return parseInt(e,16)}var i8={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 i4(e){var t,r,n,o,a,l,i,c,s,u,d,m,f={r:0,g:0,b:0},p=1,g=null,h=null,y=null,b=!1,v=!1;if("string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(i8[e])e=i8[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=ct.rgb.exec(e);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=ct.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=ct.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=ct.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=ct.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=ct.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=ct.hex8.exec(e))return{r:i5(r[1]),g:i5(r[2]),b:i5(r[3]),a:i5(r[4])/255,format:t?"name":"hex8"};if(r=ct.hex6.exec(e))return{r:i5(r[1]),g:i5(r[2]),b:i5(r[3]),format:t?"name":"hex"};if(r=ct.hex4.exec(e))return{r:i5(r[1]+r[1]),g:i5(r[2]+r[2]),b:i5(r[3]+r[3]),a:i5(r[4]+r[4])/255,format:t?"name":"hex8"};return!!(r=ct.hex3.exec(e))&&{r:i5(r[1]+r[1]),g:i5(r[2]+r[2]),b:i5(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e){;if(cr(e.r)&&cr(e.g)&&cr(e.b)){;t=e.r,r=e.g,n=e.b,f={r:255*iV(t,255),g:255*iV(r,255),b:255*iV(n,255)},b=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"}else if(cr(e.h)&&cr(e.s)&&cr(e.v)){;g=iK(e.s),h=iK(e.v),o=e.h,a=g,l=h,o=6*iV(o,360),a=iV(a,100),l=iV(l,100),i=Math.floor(o),c=o-i,s=l*(1-a),u=l*(1-c*a),d=l*(1-(1-c)*a),f={r:255*[l,u,s,s,d,l][m=i%6],g:255*[d,l,l,u,s,s][m],b:255*[s,s,d,l,l,u][m]},b=!0,v="hsv"}else cr(e.h)&&cr(e.s)&&cr(e.l)&&(g=iK(e.s),y=iK(e.l),f=function(e,t,r){if(e=iV(e,360),t=iV(t,100),r=iV(r,100),0===t)o=r,a=r,n=r;else{var n,o,a,l=r<.5?r*(1+t):r+t-r*t,i=2*r-l;n=i1(i,l,e+1/3),o=i1(i,l,e),a=i1(i,l,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,g,y),b=!0,v="hsl");Object.prototype.hasOwnProperty.call(e,"a")&&(p=e.a)}return p=iQ(p),{ok:b,format:e.format||v,r:Math.min(255,Math.max(f.r,0)),g:Math.min(255,Math.max(f.g,0)),b:Math.min(255,Math.max(f.b,0)),a:p}}var i7="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),i9="[\\s|\\(]+(".concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")\\s*\\)?"),ce="[\\s|\\(]+(".concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")[,|\\s]+(").concat(i7,")\\s*\\)?"),ct={CSS_UNIT:new RegExp(i7),rgb:RegExp("rgb"+i9),rgba:RegExp("rgba"+ce),hsl:RegExp("hsl"+i9),hsla:RegExp("hsla"+ce),hsv:RegExp("hsv"+i9),hsva: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 cr(e){return!!ct.CSS_UNIT.exec(String(e))}var cn=[{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 co(e){var t=i2(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function ca(e){var t=e.r,r=e.g,n=e.b;return"#".concat(i3(t,r,n,!1))}function cl(e,t,r){var n;return(n=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function ci(e,t,r){var n;return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)))}function cc(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function cs(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=i4(e),o=5;o>0;o-=1){var a=co(n),l=ca(i4({h:cl(a,o,!0),s:ci(a,o,!0),v:cc(a,o,!0)}));r.push(l)}r.push(ca(n));for(var i=1;i<=4;i+=1){var c=co(n),s=ca(i4({h:cl(c,i),s:ci(c,i),v:cc(c,i)}));r.push(s)}return"dark"===t.theme?cn.map(function(e){var n,o,a,l=e.index,i=e.opacity;return ca((n=i4(t.backgroundColor||"#141414"),o=i4(r[l]),a=100*i/100,{r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b}))}):r}var cu={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"},cd={},cm={};Object.keys(cu).forEach(function(e){cd[e]=cs(cu[e]),cd[e].primary=cd[e][5],cm[e]=cs(cu[e],{theme:"dark",backgroundColor:"#141414"}),cm[e].primary=cm[e][5]}),cd.red,cd.volcano,cd.gold,cd.orange,cd.yellow,cd.lime,cd.green,cd.cyan,cd.blue,cd.geekblue,cd.purple,cd.magenta,cd.grey,cd.grey;var cf=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};let cp={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"},cg=Object.assign(Object.assign({},cp),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
11
11
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
12
12
  '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});var ch=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;if("number"==typeof t){var n;t={r:(n=t)>>16,g:(65280&n)>>8,b:255&n}}this.originalInput=t;var o,a=i4(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.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=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,r,n=this.toRgb(),o=n.r/255,a=n.g/255,l=n.b/255;return .2126*(e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(r=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=iQ(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=i2(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=i2(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(n,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=i0(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=i0(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(n,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),i3(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){var t,r,n,o,a,l;return void 0===e&&(e=!1),t=this.r,r=this.g,n=this.b,o=this.a,a=e,l=[iJ(Math.round(t).toString(16)),iJ(Math.round(r).toString(16)),iJ(Math.round(n).toString(16)),iJ(function(e){return Math.round(255*parseFloat(e)).toString(16)}(o))],a&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))&&l[3].startsWith(l[3].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("")},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*iV(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*iV(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+i3(this.r,this.g,this.b,!1),t=0,r=Object.entries(i8);t<r.length;t++){var n=r[t],o=n[0];if(e===n[1])return o}return!1},e.prototype.toString=function(e){var t=!!e;e=null!=e?e:this.format;var r=!1,n=this.a<1&&this.a>=0;if(!t&&n&&(e.startsWith("hex")||"name"===e))return"name"===e&&0===this.a?this.toName():this.toRgbString();return"rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||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){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=iZ(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=iZ(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=iZ(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=iZ(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100;return new e({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,a=r.v,l=[],i=1/t;t--;)l.push(new e({h:n,s:o,v:a})),a=(a+i)%1;return l},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(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},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(),n=r.h,o=[this],a=360/t,l=1;l<t;l++)o.push(new e({h:(n+l*a)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),cy=e=>{let t=e,r=e,n=e,o=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?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}};let cb=(e,t)=>new ch(e).setAlpha(t).toRgbString(),cv=(e,t)=>new ch(e).darken(t).toHexString(),cE=e=>{let t=cs(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]}},cS=(e,t)=>{let r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:cb(n,.88),colorTextSecondary:cb(n,.65),colorTextTertiary:cb(n,.45),colorTextQuaternary:cb(n,.25),colorFill:cb(n,.15),colorFillSecondary:cb(n,.06),colorFillTertiary:cb(n,.04),colorFillQuaternary:cb(n,.02),colorBgLayout:cv(r,4),colorBgContainer:cv(r,0),colorBgElevated:cv(r,0),colorBgSpotlight:cb(n,.85),colorBgBlur:"transparent",colorBorder:cv(r,15),colorBorderSecondary:cv(r,6)}};var ck=e=>{let t=function(e){let t=Array(10).fill(null).map((t,r)=>{let n=e*Math.pow(2.71828,(r-1)/5);return 2*Math.floor((r>1?Math.floor(n):Math.ceil(n))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),r=t.map(e=>e.size),n=t.map(e=>e.lineHeight),o=r[1],a=r[0],l=r[2],i=n[1],c=n[0],s=n[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:l,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:i,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(i*o),fontHeightLG:Math.round(s*l),fontHeightSM:Math.round(c*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}};function cx(e){let t=Object.keys(cp).map(t=>{let r=cs(e[t]);return Array(10).fill(1).reduce((e,n,o)=>(e[`${t}-${o+1}`]=r[o],e[`${t}${o+1}`]=r[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t,{colorSuccess:o,colorWarning:a,colorError:l,colorInfo:i,colorPrimary:c,colorBgBase:s,colorTextBase:u}=e,d=r(c),m=r(o),f=r(a),p=r(l),g=r(i),h=n(s,u),y=r(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},h),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new ch("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:cE,generateNeutralColorPalettes:cS})),ck(e.fontSize)),function(e){let{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)}}(e)),cf(e)),function(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:o+1},cy(n))}(e))}function cw(e){return e>=0&&e<=255}var cC=function(e,t){let{r:r,g:n,b:o,a:a}=new ch(e).toRgb();if(a<1)return e;let{r:l,g:i,b:c}=new ch(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((r-l*(1-e))/e),a=Math.round((n-i*(1-e))/e),s=Math.round((o-c*(1-e))/e);if(cw(t)&&cw(a)&&cw(s))return new ch({r:t,g:a,b:s,a:Math.round(100*e)/100}).toRgbString()}return new ch({r:r,g:n,b:o,a:1}).toRgbString()},cT=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function cA(e){let{override:t}=e,r=cT(e,["override"]),n=Object.assign({},t);Object.keys(cg).forEach(e=>{delete n[e]});let o=Object.assign(Object.assign({},r),n);return!1===o.motion&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:cC(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:cC(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:cC(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:cC(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
13
13
  0 6px 16px 0 rgba(0, 0, 0, 0.08),