@kintobrasil/kinto-brasil-checklist-sinistro-components
Version:
2 lines • 133 kB
JavaScript
/*! For license information please see SignatureCanvas.js.LICENSE.txt */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],e):"object"==typeof exports?exports["kinto-brasil-checklist-sinistro-components"]=e(require("react"),require("react-dom")):t["kinto-brasil-checklist-sinistro-components"]=e(t.React,t.ReactDOM)}(self,((t,e)=>(()=>{var n={439:(t,e,n)=>{"use strict";n.d(e,{blue:()=>w,generate:()=>y});var r=n(2456),o=n(6250),i=2,a=.16,c=.05,s=.05,l=.15,u=5,d=4,f=[{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 h(t){var e=t.r,n=t.g,o=t.b,i=(0,r.wE)(e,n,o);return{h:360*i.h,s:i.s,v:i.v}}function p(t){var e=t.r,n=t.g,o=t.b;return"#".concat((0,r.Ob)(e,n,o,!1))}function v(t,e,n){var r;return(r=Math.round(t.h)>=60&&Math.round(t.h)<=240?n?Math.round(t.h)-i*e:Math.round(t.h)+i*e:n?Math.round(t.h)+i*e:Math.round(t.h)-i*e)<0?r+=360:r>=360&&(r-=360),r}function g(t,e,n){return 0===t.h&&0===t.s?t.s:((r=n?t.s-a*e:e===d?t.s+a:t.s+c*e)>1&&(r=1),n&&e===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function m(t,e,n){var r;return(r=n?t.v+s*e:t.v-l*e)>1&&(r=1),Number(r.toFixed(2))}function y(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(t),i=u;i>0;i-=1){var a=h(r),c=p((0,o.RO)({h:v(a,i,!0),s:g(a,i,!0),v:m(a,i,!0)}));n.push(c)}n.push(p(r));for(var s=1;s<=d;s+=1){var l=h(r),y=p((0,o.RO)({h:v(l,s),s:g(l,s),v:m(l,s)}));n.push(y)}return"dark"===e.theme?f.map((function(t){var r,i,a,c=t.index,s=t.opacity;return p((r=(0,o.RO)(e.backgroundColor||"#141414"),a=100*s/100,{r:((i=(0,o.RO)(n[c])).r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var b={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"},x={},A={};Object.keys(b).forEach((function(t){x[t]=y(b[t]),x[t].primary=x[t][5],A[t]=y(b[t],{theme:"dark",backgroundColor:"#141414"}),A[t].primary=A[t][5]})),x.red,x.volcano,x.gold,x.orange,x.yellow,x.lime,x.green,x.cyan;var w=x.blue;x.geekblue,x.purple,x.magenta,x.grey,x.grey},5462:(t,e,n)=>{"use strict";n.d(e,{an:()=>E,Ki:()=>B,zA:()=>z,RC:()=>ee,hV:()=>J,IV:()=>Jt});var r=n(4467),o=n(5544),i=n(436),a=n(9379);const c=function(t){for(var e,n=0,r=0,o=t.length;o>=4;++r,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var s=n(5089),l=n(156),u=(n(8104),n(3210),n(3029)),d=n(2901),f="%";function h(t){return t.join(f)}const p=function(){function t(e){(0,u.A)(this,t),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=e}return(0,d.A)(t,[{key:"get",value:function(t){return this.opGet(h(t))}},{key:"opGet",value:function(t){return this.cache.get(t)||null}},{key:"update",value:function(t,e){return this.opUpdate(h(t),e)}},{key:"opUpdate",value:function(t,e){var n=e(this.cache.get(t));null===n?this.cache.delete(t):this.cache.set(t,n)}}]),t}();var v="data-token-hash",g="data-css-hash",m="__cssinjs_instance__";const y=l.createContext({hashPriority:"low",cache:function(){var t=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(g,"]"))||[],n=document.head.firstChild;Array.from(e).forEach((function(e){e[m]=e[m]||t,e[m]===t&&document.head.insertBefore(e,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(g,"]"))).forEach((function(e){var n,o=e.getAttribute(g);r[o]?e[m]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e)):r[o]=!0}))}return new p(t)}(),defaultCache:!0});var b=n(2284),x=n(998),A=function(){function t(){(0,u.A)(this,t),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,d.A)(t,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return t.forEach((function(t){var e;o=o?null===(e=o)||void 0===e||null===(e=e.map)||void 0===e?void 0:e.get(t):void 0})),null!==(e=o)&&void 0!==e&&e.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(t){var e;return null===(e=this.internalGet(t,!0))||void 0===e?void 0:e[0]}},{key:"has",value:function(t){return!!this.internalGet(t)}},{key:"set",value:function(e,n){var r=this;if(!this.has(e)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(t,e){var n=(0,o.A)(t,2)[1];return r.internalGet(e)[1]<n?[e,r.internalGet(e)[1]]:t}),[this.keys[0],this.cacheCallTimes]),a=(0,o.A)(i,1)[0];this.delete(a)}this.keys.push(e)}var c=this.cache;e.forEach((function(t,o){if(o===e.length-1)c.set(t,{value:[n,r.cacheCallTimes++]});else{var i=c.get(t);i?i.map||(i.map=new Map):c.set(t,{map:new Map}),c=c.get(t).map}}))}},{key:"deleteByPath",value:function(t,e){var n,r=t.get(e[0]);if(1===e.length)return r.map?t.set(e[0],{map:r.map}):t.delete(e[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,e.slice(1));return r.map&&0!==r.map.size||r.value||t.delete(e[0]),o}},{key:"delete",value:function(t){if(this.has(t))return this.keys=this.keys.filter((function(e){return!function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,t)})),this.deleteByPath(this.cache,t)}}]),t}();(0,r.A)(A,"MAX_CACHE_SIZE",20),(0,r.A)(A,"MAX_CACHE_OFFSET",5);var w=n(8210),S=0,C=function(){function t(e){(0,u.A)(this,t),(0,r.A)(this,"derivatives",void 0),(0,r.A)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=S,0===e.length&&(0,w.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),S+=1}return(0,d.A)(t,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce((function(e,n){return n(t,e)}),void 0)}}]),t}(),k=new A;function E(t){var e=Array.isArray(t)?t:[t];return k.has(e)||k.set(e,new C(e)),k.get(e)}var O=new WeakMap,_={},j=new WeakMap;function M(t){var e=j.get(t)||"";return e||(Object.keys(t).forEach((function(n){var r=t[n];e+=n,r instanceof C?e+=r.id:r&&"object"===(0,b.A)(r)?e+=M(r):e+=r})),j.set(t,e)),e}function $(t,e){return c("".concat(e,"_").concat(M(t)))}var P="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),T="_bAmBoO_";var L=void 0,H=(0,x.A)();function z(t){return"number"==typeof t?"".concat(t,"px"):t}function R(t,e,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return t;var c=(0,a.A)((0,a.A)({},i),{},(o={},(0,r.A)(o,v,e),(0,r.A)(o,g,n),o)),s=Object.keys(c).map((function(t){var e=c[t];return e?"".concat(t,'="').concat(e,'"'):null})).filter((function(t){return t})).join(" ");return"<style ".concat(s,">").concat(t,"</style>")}var B=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(e?"".concat(e,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},I=function(t,e,n){return Object.keys(t).length?".".concat(e).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(t).map((function(t){var e=(0,o.A)(t,2),n=e[0],r=e[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},D=function(t,e,n){var r={},i={};return Object.entries(t).forEach((function(t){var e,a,c=(0,o.A)(t,2),s=c[0],l=c[1];if(null!=n&&null!==(e=n.preserve)&&void 0!==e&&e[s])i[s]=l;else if(!("string"!=typeof l&&"number"!=typeof l||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[s])){var u,d=B(s,null==n?void 0:n.prefix);r[d]="number"!=typeof l||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[s]?String(l):"".concat(l,"px"),i[s]="var(".concat(d,")")}})),[i,I(r,e,{scope:null==n?void 0:n.scope})]},F=n(981),N=(0,a.A)({},l).useInsertionEffect;const W=N?function(t,e,n){return N((function(){return t(),e()}),n)}:function(t,e,n){l.useMemo(t,n),(0,F.A)((function(){return e(!0)}),n)},G=void 0!==(0,a.A)({},l).useInsertionEffect?function(t){var e=[],n=!1;return l.useEffect((function(){return n=!1,function(){n=!0,e.length&&e.forEach((function(t){return t()}))}}),t),function(t){n||e.push(t)}}:function(){return function(t){t()}},X=function(){return!1};function q(t,e,n,r,a){var c=l.useContext(y).cache,s=h([t].concat((0,i.A)(e))),u=G([s]),d=(X(),function(t){c.opUpdate(s,(function(e){var r=e||[void 0,void 0],i=(0,o.A)(r,2),a=i[0],c=[void 0===a?0:a,i[1]||n()];return t?t(c):c}))});l.useMemo((function(){d()}),[s]);var f=c.opGet(s)[1];return W((function(){null==a||a(f)}),(function(t){return d((function(e){var n=(0,o.A)(e,2),r=n[0],i=n[1];return t&&0===r&&(null==a||a(f)),[r+1,i]})),function(){c.opUpdate(s,(function(e){var n=e||[],i=(0,o.A)(n,2),a=i[0],l=void 0===a?0:a,d=i[1];return 0==l-1?(u((function(){!t&&c.opGet(s)||null==r||r(d,!1)})),null):[l-1,d]}))}}),[s]),f}var U={},V="css",Q=new Map,K=0;var Z=function(t,e,n,r){var o=n.getDerivativeToken(t),i=(0,a.A)((0,a.A)({},o),e);return r&&(i=r(i)),i},Y="token";function J(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,l.useContext)(y),u=r.cache.instanceId,d=r.container,f=n.salt,h=void 0===f?"":f,p=n.override,b=void 0===p?U:p,x=n.formatToken,A=n.getComputedToken,w=n.cssVar,S=function(t,n){for(var r=O,o=0;o<n.length;o+=1){var a=n[o];r.has(a)||r.set(a,new WeakMap),r=r.get(a)}return r.has(_)||r.set(_,Object.assign.apply(Object,[{}].concat((0,i.A)(e)))),r.get(_)}(0,e),C=M(S),k=M(b),E=w?M(w):"",j=q(Y,[h,t.id,C,k,E],(function(){var e,n=A?A(S,b,t):Z(S,b,t,x),r=(0,a.A)({},n),i="";if(w){var s=D(n,w.key,{prefix:w.prefix,ignore:w.ignore,unitless:w.unitless,preserve:w.preserve}),l=(0,o.A)(s,2);n=l[0],i=l[1]}var u=$(n,h);n._tokenKey=u,r._tokenKey=$(r,h);var d=null!==(e=null==w?void 0:w.key)&&void 0!==e?e:u;n._themeKey=d,function(t){Q.set(t,(Q.get(t)||0)+1)}(d);var f="".concat(V,"-").concat(c(u));return n._hashId=f,[n,f,r,i,(null==w?void 0:w.key)||""]}),(function(t){!function(t,e){Q.set(t,(Q.get(t)||0)-1);var n=Array.from(Q.keys()),r=n.filter((function(t){return(Q.get(t)||0)<=0}));n.length-r.length>K&&r.forEach((function(t){!function(t,e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(v,'="').concat(t,'"]')).forEach((function(t){var n;t[m]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t))}))}(t,e),Q.delete(t)}))}(t[0]._themeKey,u)}),(function(t){var e=(0,o.A)(t,4),n=e[0],r=e[3];if(w&&r){var i=(0,s.BD)(r,c("css-variables-".concat(n._themeKey)),{mark:g,prepend:"queue",attachTo:d,priority:-999});i[m]=u,i.setAttribute(v,n._themeKey)}}));return j}var tt=n(8168);const et={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var nt="comm",rt="rule",ot="decl",it="@import",at="@keyframes",ct="@layer",st=Math.abs,lt=String.fromCharCode;function ut(t){return t.trim()}function dt(t,e,n){return t.replace(e,n)}function ft(t,e,n){return t.indexOf(e,n)}function ht(t,e){return 0|t.charCodeAt(e)}function pt(t,e,n){return t.slice(e,n)}function vt(t){return t.length}function gt(t,e){return e.push(t),t}function mt(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function yt(t,e,n,r){switch(t.type){case ct:if(t.children.length)break;case it:case ot:return t.return=t.return||t.value;case nt:return"";case at:return t.return=t.value+"{"+mt(t.children,r)+"}";case rt:if(!vt(t.value=t.props.join(",")))return""}return vt(n=mt(t.children,r))?t.return=t.value+"{"+n+"}":""}Object.assign;var bt=1,xt=1,At=0,wt=0,St=0,Ct="";function kt(t,e,n,r,o,i,a,c){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:bt,column:xt,length:a,return:"",siblings:c}}function Et(){return St=wt>0?ht(Ct,--wt):0,xt--,10===St&&(xt=1,bt--),St}function Ot(){return St=wt<At?ht(Ct,wt++):0,xt++,10===St&&(xt=1,bt++),St}function _t(){return ht(Ct,wt)}function jt(){return wt}function Mt(t,e){return pt(Ct,t,e)}function $t(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pt(t){return ut(Mt(wt-1,Ht(91===t?t+2:40===t?t+1:t)))}function Tt(t){for(;(St=_t())&&St<33;)Ot();return $t(t)>2||$t(St)>3?"":" "}function Lt(t,e){for(;--e&&Ot()&&!(St<48||St>102||St>57&&St<65||St>70&&St<97););return Mt(t,jt()+(e<6&&32==_t()&&32==Ot()))}function Ht(t){for(;Ot();)switch(St){case t:return wt;case 34:case 39:34!==t&&39!==t&&Ht(St);break;case 40:41===t&&Ht(t);break;case 92:Ot()}return wt}function zt(t,e){for(;Ot()&&t+St!==57&&(t+St!==84||47!==_t()););return"/*"+Mt(e,wt-1)+"*"+lt(47===t?t:Ot())}function Rt(t){for(;!$t(_t());)Ot();return Mt(t,wt)}function Bt(t){return function(t){return Ct="",t}(It("",null,null,null,[""],t=function(t){return bt=xt=1,At=vt(Ct=t),wt=0,[]}(t),0,[0],t))}function It(t,e,n,r,o,i,a,c,s){for(var l=0,u=0,d=a,f=0,h=0,p=0,v=1,g=1,m=1,y=0,b="",x=o,A=i,w=r,S=b;g;)switch(p=y,y=Ot()){case 40:if(108!=p&&58==ht(S,d-1)){-1!=ft(S+=dt(Pt(y),"&","&\f"),"&\f",st(l?c[l-1]:0))&&(m=-1);break}case 34:case 39:case 91:S+=Pt(y);break;case 9:case 10:case 13:case 32:S+=Tt(p);break;case 92:S+=Lt(jt()-1,7);continue;case 47:switch(_t()){case 42:case 47:gt(Ft(zt(Ot(),jt()),e,n,s),s);break;default:S+="/"}break;case 123*v:c[l++]=vt(S)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==m&&(S=dt(S,/\f/g,"")),h>0&&vt(S)-d&>(h>32?Nt(S+";",r,n,d-1,s):Nt(dt(S," ","")+";",r,n,d-2,s),s);break;case 59:S+=";";default:if(gt(w=Dt(S,e,n,l,u,o,c,b,x=[],A=[],d,i),i),123===y)if(0===u)It(S,e,w,w,x,i,d,c,A);else switch(99===f&&110===ht(S,3)?100:f){case 100:case 108:case 109:case 115:It(t,w,w,r&>(Dt(t,w,w,0,0,o,c,b,o,x=[],d,A),A),o,A,d,c,r?x:A);break;default:It(S,w,w,w,[""],A,0,c,A)}}l=u=h=0,v=m=1,b=S="",d=a;break;case 58:d=1+vt(S),h=p;default:if(v<1)if(123==y)--v;else if(125==y&&0==v++&&125==Et())continue;switch(S+=lt(y),y*v){case 38:m=u>0?1:(S+="\f",-1);break;case 44:c[l++]=(vt(S)-1)*m,m=1;break;case 64:45===_t()&&(S+=Pt(Ot())),f=_t(),u=d=vt(b=S+=Rt(jt())),y++;break;case 45:45===p&&2==vt(S)&&(v=0)}}return i}function Dt(t,e,n,r,o,i,a,c,s,l,u,d){for(var f=o-1,h=0===o?i:[""],p=function(t){return t.length}(h),v=0,g=0,m=0;v<r;++v)for(var y=0,b=pt(t,f+1,f=st(g=a[v])),x=t;y<p;++y)(x=ut(g>0?h[y]+" "+b:dt(b,/&\f/g,h[y])))&&(s[m++]=x);return kt(t,e,n,0===o?rt:c,s,l,u,d)}function Ft(t,e,n,r){return kt(t,e,n,nt,lt(St),pt(t,2,-2),0,r)}function Nt(t,e,n,r,o){return kt(t,e,n,ot,pt(t,0,r),pt(t,r+1,-1),r,o)}var Wt,Gt="data-ant-cssinjs-cache-path",Xt="_FILE_STYLE__",qt=!0;var Ut="_multi_value_";function Vt(t){return mt(Bt(t),yt).replace(/\{%%%\:[^;];}/g,";")}var Qt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},c=r.root,l=r.injectHash,u=r.parentSelectors,d=n.hashId,f=n.layer,h=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,g=(n.linters,""),m={};function y(e){var r=e.getName(d);if(!m[r]){var i=t(e.style,n,{root:!1,parentSelectors:u}),a=(0,o.A)(i,1)[0];m[r]="@keyframes ".concat(e.getName(d)).concat(a)}}var A=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?t(e,n):e&&n.push(e)})),n}(Array.isArray(e)?e:[e]);if(A.forEach((function(e){var r="string"!=typeof e||c?e:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)y(r);else{var s=v.reduce((function(t,e){var n;return(null==e||null===(n=e.visit)||void 0===n?void 0:n.call(e,t))||t}),r);Object.keys(s).forEach((function(e){var r=s[e];if("object"!==(0,b.A)(r)||!r||"animationName"===e&&r._keyframe||function(t){return"object"===(0,b.A)(t)&&t&&("_skip_check_"in t||Ut in t)}(r)){var f;function E(t,e){var n=t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())})),r=e;et[t]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===t&&null!=e&&e._keyframe&&(y(e),r=e.getName(d)),g+="".concat(n,":").concat(r,";")}var p=null!==(f=null==r?void 0:r.value)&&void 0!==f?f:r;"object"===(0,b.A)(r)&&null!=r&&r[Ut]&&Array.isArray(p)?p.forEach((function(t){E(e,t)})):E(e,p)}else{var v=!1,x=e.trim(),A=!1;(c||l)&&d?x.startsWith("@")?v=!0:x=function(t,e,n){if(!e)return t;var r=".".concat(e),o="low"===n?":where(".concat(r,")"):r;return t.split(",").map((function(t){var e,n=t.trim().split(/\s+/),r=n[0]||"",a=(null===(e=r.match(/^\w+/))||void 0===e?void 0:e[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(e,d,h):!c||d||"&"!==x&&""!==x||(x="",A=!0);var w=t(r,n,{root:A,injectHash:v,parentSelectors:[].concat((0,i.A)(u),[x])}),S=(0,o.A)(w,2),C=S[0],k=S[1];m=(0,a.A)((0,a.A)({},m),k),g+="".concat(x).concat(C)}}))}})),c){if(f&&(void 0===L&&(L=function(t,e,n){if((0,x.A)()){var r,o;(0,s.BD)(t,P);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==e||e(i),document.body.appendChild(i);var a=n?n(i):null===(r=getComputedStyle(i).content)||void 0===r?void 0:r.includes(T);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,s.m6)(P),a}return!1}("@layer ".concat(P," { .").concat(P,' { content: "').concat(T,'"!important; } }'),(function(t){t.className=P}))),L)){var w=f.split(","),S=w[w.length-1].trim();g="@layer ".concat(S," {").concat(g,"}"),w.length>1&&(g="@layer ".concat(f,"{%%%:%}").concat(g))}}else g="{".concat(g,"}");return[g,m]};function Kt(t,e){return c("".concat(t.join("%")).concat(e))}function Zt(){return null}var Yt="style";function Jt(t,e){var n=t.token,a=t.path,c=t.hashId,u=t.layer,d=t.nonce,f=t.clientOnly,h=t.order,p=void 0===h?0:h,b=l.useContext(y),A=b.autoClear,w=(b.mock,b.defaultCache),S=b.hashPriority,C=b.container,k=b.ssrInline,E=b.transformers,O=b.linters,_=b.cache,j=n._tokenKey,M=[j].concat((0,i.A)(a)),$=H,P=q(Yt,M,(function(){var t=M.join("|");if(function(t){return function(){if(!Wt&&(Wt={},(0,x.A)())){var t=document.createElement("div");t.className=Gt,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var e=getComputedStyle(t).content||"";(e=e.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(t){var e=t.split(":"),n=(0,o.A)(e,2),r=n[0],i=n[1];Wt[r]=i}));var n,r=document.querySelector("style[".concat(Gt,"]"));r&&(qt=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(t)}}(),!!Wt[t]}(t)){var n=function(t){var e=Wt[t],n=null;if(e&&(0,x.A)())if(qt)n=Xt;else{var r=document.querySelector("style[".concat(g,'="').concat(Wt[t],'"]'));r?n=r.innerHTML:delete Wt[t]}return[n,e]}(t),r=(0,o.A)(n,2),i=r[0],s=r[1];if(i)return[i,j,s,{},f,p]}var l=e(),d=Qt(l,{hashId:c,hashPriority:S,layer:u,path:a.join("-"),transformers:E,linters:O}),h=(0,o.A)(d,2),v=h[0],m=h[1],y=Vt(v),b=Kt(M,y);return[y,j,b,m,f,p]}),(function(t,e){var n=(0,o.A)(t,3)[2];(e||A)&&H&&(0,s.m6)(n,{mark:g})}),(function(t){var e=(0,o.A)(t,4),n=e[0],r=(e[1],e[2]),i=e[3];if($&&n!==Xt){var a={mark:g,prepend:"queue",attachTo:C,priority:p},c="function"==typeof d?d():d;c&&(a.csp={nonce:c});var l=(0,s.BD)(n,r,a);l[m]=_.instanceId,l.setAttribute(v,j),Object.keys(i).forEach((function(t){(0,s.BD)(Vt(i[t]),"_effect-".concat(t),a)}))}})),T=(0,o.A)(P,3),L=T[0],z=T[1],R=T[2];return function(t){var e,n;return e=k&&!$&&w?l.createElement("style",(0,tt.A)({},(n={},(0,r.A)(n,v,z),(0,r.A)(n,g,R),n),{dangerouslySetInnerHTML:{__html:L}})):l.createElement(Zt,null),l.createElement(l.Fragment,null,e,t)}}var te="cssVar";const ee=function(t,e){var n=t.key,r=t.prefix,a=t.unitless,c=t.ignore,u=t.token,d=t.scope,f=void 0===d?"":d,h=(0,l.useContext)(y),p=h.cache.instanceId,b=h.container,x=u._tokenKey,A=[].concat((0,i.A)(t.path),[n,f,x]);return q(te,A,(function(){var t=e(),i=D(t,n,{prefix:r,unitless:a,ignore:c,scope:f}),s=(0,o.A)(i,2),l=s[0],u=s[1];return[l,u,Kt(A,u),n]}),(function(t){var e=(0,o.A)(t,3)[2];H&&(0,s.m6)(e,{mark:g})}),(function(t){var e=(0,o.A)(t,3),r=e[1],i=e[2];if(r){var a=(0,s.BD)(r,i,{mark:g,prepend:"queue",attachTo:b,priority:-999});a[m]=p,a.setAttribute(v,n)}}))};var ne;function re(t){return t.notSplit=!0,t}ne={},(0,r.A)(ne,Yt,(function(t,e,n){var r=(0,o.A)(t,6),i=r[0],a=r[1],c=r[2],s=r[3],l=r[4],u=r[5],d=(n||{}).plain;if(l)return null;var f=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=R(i,a,c,h,d),s&&Object.keys(s).forEach((function(t){if(!e[t]){e[t]=!0;var n=Vt(s[t]);f+=R(n,a,"_effect-".concat(t),h,d)}})),[u,c,f]})),(0,r.A)(ne,Y,(function(t,e,n){var r=(0,o.A)(t,5),i=r[2],a=r[3],c=r[4],s=(n||{}).plain;if(!a)return null;var l=i._tokenKey;return[-999,l,R(a,c,l,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]})),(0,r.A)(ne,te,(function(t,e,n){var r=(0,o.A)(t,4),i=r[1],a=r[2],c=r[3],s=(n||{}).plain;return i?[-999,a,R(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]:null})),re(["borderTop","borderBottom"]),re(["borderTop"]),re(["borderBottom"]),re(["borderLeft","borderRight"]),re(["borderLeft"]),re(["borderRight"])},7064:(t,e,n)=>{"use strict";n.d(e,{A:()=>M});var r=n(8168),o=n(5544),i=n(4467),a=n(3986),c=n(156),s=n.n(c),l=n(6942),u=n.n(l),d=n(439),f=n(1053),h=n(9379),p=n(2284),v=n(5089),g=n(2633),m=n(8210);function y(t){return"object"===(0,p.A)(t)&&"string"==typeof t.name&&"string"==typeof t.theme&&("object"===(0,p.A)(t.icon)||"function"==typeof t.icon)}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce((function(e,n){var r,o=t[n];return"class"===n?(e.className=o,delete e.class):(delete e[n],e[(r=n,r.replace(/-(.)/g,(function(t,e){return e.toUpperCase()})))]=o),e}),{})}function x(t,e,n){return n?s().createElement(t.tag,(0,h.A)((0,h.A)({key:e},b(t.attrs)),n),(t.children||[]).map((function(n,r){return x(n,"".concat(e,"-").concat(t.tag,"-").concat(r))}))):s().createElement(t.tag,(0,h.A)({key:e},b(t.attrs)),(t.children||[]).map((function(n,r){return x(n,"".concat(e,"-").concat(t.tag,"-").concat(r))})))}function A(t){return(0,d.generate)(t)[0]}function w(t){return t?Array.isArray(t)?t:[t]:[]}var S=["icon","className","onClick","style","primaryColor","secondaryColor"],C={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},k=function(t){var e,n,r,o,i,s,l,u=t.icon,d=t.className,p=t.onClick,b=t.style,w=t.primaryColor,k=t.secondaryColor,E=(0,a.A)(t,S),O=c.useRef(),_=C;if(w&&(_={primaryColor:w,secondaryColor:k||A(w)}),e=O,n=(0,c.useContext)(f.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var t=e.current,n=(0,g.j)(t);(0,v.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),s=y(u),l="icon should be icon definiton, but got ".concat(u),(0,m.Ay)(s,"[@ant-design/icons] ".concat(l)),!y(u))return null;var j=u;return j&&"function"==typeof j.icon&&(j=(0,h.A)((0,h.A)({},j),{},{icon:j.icon(_.primaryColor,_.secondaryColor)})),x(j.icon,"svg-".concat(j.name),(0,h.A)((0,h.A)({className:d,onClick:p,style:b,"data-icon":j.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},E),{},{ref:O}))};k.displayName="IconReact",k.getTwoToneColors=function(){return(0,h.A)({},C)},k.setTwoToneColors=function(t){var e=t.primaryColor,n=t.secondaryColor;C.primaryColor=e,C.secondaryColor=n||A(e),C.calculated=!!n};const E=k;function O(t){var e=w(t),n=(0,o.A)(e,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}var _=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O(d.blue.primary);var j=c.forwardRef((function(t,e){var n=t.className,s=t.icon,l=t.spin,d=t.rotate,h=t.tabIndex,p=t.onClick,v=t.twoToneColor,g=(0,a.A)(t,_),m=c.useContext(f.A),y=m.prefixCls,b=void 0===y?"anticon":y,x=m.rootClassName,A=u()(x,b,(0,i.A)((0,i.A)({},"".concat(b,"-").concat(s.name),!!s.name),"".concat(b,"-spin"),!!l||"loading"===s.name),n),S=h;void 0===S&&p&&(S=-1);var C=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,k=w(v),O=(0,o.A)(k,2),j=O[0],M=O[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":s.name},g,{ref:e,tabIndex:S,onClick:p,className:A}),c.createElement(E,{icon:s,primaryColor:j,secondaryColor:M,style:C}))}));j.displayName="AntdIcon",j.getTwoToneColor=function(){var t=E.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor},j.setTwoToneColor=O;const M=j},1053:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(156).createContext)({})},3567:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(8168),o=n(156);const i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(7064),c=function(t,e){return o.createElement(a.A,(0,r.A)({},t,{ref:e,icon:i}))};const s=o.forwardRef(c)},2456:(t,e,n)=>{"use strict";n.d(e,{H:()=>d,K6:()=>i,Me:()=>l,Ob:()=>u,YL:()=>c,_:()=>o,g8:()=>h,n6:()=>f,oS:()=>p,wE:()=>s});var r=n(9244);function o(t,e,n){return{r:255*(0,r.Cg)(t,255),g:255*(0,r.Cg)(e,255),b:255*(0,r.Cg)(n,255)}}function i(t,e,n){t=(0,r.Cg)(t,255),e=(0,r.Cg)(e,255),n=(0,r.Cg)(n,255);var o=Math.max(t,e,n),i=Math.min(t,e,n),a=0,c=0,s=(o+i)/2;if(o===i)c=0,a=0;else{var l=o-i;switch(c=s>.5?l/(2-o-i):l/(o+i),o){case t:a=(e-n)/l+(e<n?6:0);break;case e:a=(n-t)/l+2;break;case n:a=(t-e)/l+4}a/=6}return{h:a,s:c,l:s}}function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function c(t,e,n){var o,i,c;if(t=(0,r.Cg)(t,360),e=(0,r.Cg)(e,100),n=(0,r.Cg)(n,100),0===e)i=n,c=n,o=n;else{var s=n<.5?n*(1+e):n+e-n*e,l=2*n-s;o=a(l,s,t+1/3),i=a(l,s,t),c=a(l,s,t-1/3)}return{r:255*o,g:255*i,b:255*c}}function s(t,e,n){t=(0,r.Cg)(t,255),e=(0,r.Cg)(e,255),n=(0,r.Cg)(n,255);var o=Math.max(t,e,n),i=Math.min(t,e,n),a=0,c=o,s=o-i,l=0===o?0:s/o;if(o===i)a=0;else{switch(o){case t:a=(e-n)/s+(e<n?6:0);break;case e:a=(n-t)/s+2;break;case n:a=(t-e)/s+4}a/=6}return{h:a,s:l,v:c}}function l(t,e,n){t=6*(0,r.Cg)(t,360),e=(0,r.Cg)(e,100),n=(0,r.Cg)(n,100);var o=Math.floor(t),i=t-o,a=n*(1-e),c=n*(1-i*e),s=n*(1-(1-i)*e),l=o%6;return{r:255*[n,c,a,a,s,n][l],g:255*[s,n,n,c,a,a][l],b:255*[a,a,s,n,n,c][l]}}function u(t,e,n,o){var i=[(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(t,e,n,o,i){var a,c=[(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(n).toString(16)),(0,r.wl)((a=o,Math.round(255*parseFloat(a)).toString(16)))];return i&&c[0].startsWith(c[0].charAt(1))&&c[1].startsWith(c[1].charAt(1))&&c[2].startsWith(c[2].charAt(1))&&c[3].startsWith(c[3].charAt(1))?c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0):c.join("")}function f(t){return h(t)/255}function h(t){return parseInt(t,16)}function p(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}},2434:(t,e,n)=>{"use strict";n.d(e,{D:()=>r});var r={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"}},6250:(t,e,n)=>{"use strict";n.d(e,{RO:()=>a});var r=n(2456),o=n(2434),i=n(9244);function a(t){var e={r:0,g:0,b:0},n=1,a=null,c=null,s=null,l=!1,f=!1;return"string"==typeof t&&(t=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(o.D[t])t=o.D[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(t))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:e?"name":"hex8"}:(n=u.hex6.exec(t))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:e?"name":"hex"}:(n=u.hex4.exec(t))?{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:e?"name":"hex8"}:!!(n=u.hex3.exec(t))&&{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:e?"name":"hex"}}(t)),"object"==typeof t&&(d(t.r)&&d(t.g)&&d(t.b)?(e=(0,r._)(t.r,t.g,t.b),l=!0,f="%"===String(t.r).substr(-1)?"prgb":"rgb"):d(t.h)&&d(t.s)&&d(t.v)?(a=(0,i.Px)(t.s),c=(0,i.Px)(t.v),e=(0,r.Me)(t.h,a,c),l=!0,f="hsv"):d(t.h)&&d(t.s)&&d(t.l)&&(a=(0,i.Px)(t.s),s=(0,i.Px)(t.l),e=(0,r.YL)(t.h,a,s),l=!0,f="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=(0,i.TV)(n),{ok:l,format:t.format||f,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+s),rgba:new RegExp("rgba"+l),hsl:new RegExp("hsl"+s),hsla:new RegExp("hsla"+l),hsv:new RegExp("hsv"+s),hsva:new RegExp("hsva"+l),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 d(t){return Boolean(u.CSS_UNIT.exec(String(t)))}},4978:(t,e,n)=>{"use strict";n.d(e,{q:()=>c});var r=n(2456),o=n(2434),i=n(6250),a=n(9244),c=function(){function t(e,n){var o;if(void 0===e&&(e=""),void 0===n&&(n={}),e instanceof t)return e;"number"==typeof e&&(e=(0,r.oS)(e)),this.originalInput=e;var a=(0,i.RO)(e);this.originalInput=e,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=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,n=t.g/255,r=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=(0,a.TV)(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=(0,r.wE)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=(0,r.wE)(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),o=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=(0,r.K6)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=(0,r.K6)(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),o=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),(0,r.Ob)(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),(0,r.H)(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*(0,a.Cg)(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*(0,a.Cg)(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+(0,r.Ob)(this.r,this.g,this.b,!1),e=0,n=Object.entries(o.D);e<n.length;e++){var i=n[e],a=i[0];if(t===i[1])return a}return!1},t.prototype.toString=function(t){var e=Boolean(t);t=null!=t?t:this.format;var n=!1,r=this.a<1&&this.a>=0;return e||!r||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=(0,a.J$)(n.l),new t(n)},t.prototype.brighten=function(e){void 0===e&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-e/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-e/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-e/100*255))),new t(n)},t.prototype.darken=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=(0,a.J$)(n.l),new t(n)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=(0,a.J$)(n.s),new t(n)},t.prototype.saturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=(0,a.J$)(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,new t(n)},t.prototype.mix=function(e,n){void 0===n&&(n=50);var r=this.toRgb(),o=new t(e).toRgb(),i=n/100;return new t({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},t.prototype.analogous=function(e,n){void 0===e&&(e=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*e>>1)+720)%360;--e;)r.h=(r.h+o)%360,i.push(new t(r));return i},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/e;e--;)a.push(new t({h:r,s:o,v:i})),i=(i+c)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),r=new t(e).toRgb(),o=n.a+r.a*(1-n.a);return new t({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),r=n.h,o=[this],i=360/e,a=1;a<e;a++)o.push(new t({h:(r+a*i)%360,s:n.s,l:n.l}));return o},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}()},9244:(t,e,n)=>{"use strict";function r(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function o(t){return Math.min(1,Math.max(0,t))}function i(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function a(t){return t<=1?"".concat(100*Number(t),"%"):t}function c(t){return 1===t.length?"0"+t:String(t)}n.d(e,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>c})},682:(t,e,n)=>{"use strict";n.d(e,{Ob:()=>c,zv:()=>i});var r=n(156),o=n.n(r);function i(t){return t&&o().isValidElement(t)&&t.type===o().Fragment}const a=(t,e,n)=>o().isValidElement(t)?o().cloneElement(t,"function"==typeof n?n(t.props||{}):n):e;function c(t,e){return a(t,t,e)}},6130:(t,e,n)=>{"use strict";n.d(e,{A:()=>C});var r=n(156),o=n.n(r),i=n(6942),a=n.n(i),c=n(2467),s=n(8719),l=n(2279),u=n(682),d=n(1078);const f=t=>{const{componentCls:e,colorPrimary:n}=t;return{[e]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${t.motionEaseOutCirc}`,`opacity 2s ${t.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${t.motionEaseInOut}`,`opacity 0.35s ${t.motionEaseInOut}`].join(",")}}}}},h=(0,d.Ay)("Wave",(t=>[f(t)]));var p=n(1470),v=n(5371),g=n(7557),m=n(4832);function y(t){return t&&"#fff"!==t&&"#ffffff"!==t&&"rgb(255, 255, 255)"!==t&&"rgba(255, 255, 255, 1)"!==t&&function(t){const e=(t||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(e&&e[1]&&e[2]&&e[3]&&e[1]===e[2]&&e[2]===e[3])}(t)&&!/rgba\((?:\d*, ){3}0\)/.test(t)&&"transparent"!==t}const b="ant-wave-target";function x(t){return Number.isNaN(t)?0:t}const A=t=>{const{className:e,target:n,component:o}=t,i=r.useRef(null),[c,s]=r.useState(null),[l,u]=r.useState([]),[d,f]=r.useState(0),[h,p]=r.useState(0),[A,w]=r.useState(0),[S,C]=r.useState(0),[k,E]=r.useState(!1),O={left:d,top:h,width:A,height:S,borderRadius:l.map((t=>`${t}px`)).join(" ")};function _(){const t=getComputedStyle(n);s(function(t){const{borderTopColor:e,borderColor:n,backgroundColor:r}=getComputedStyle(t);return y(e)?e:y(n)?n:y(r)?r:null}(n));const e="static"===t.position,{borderLeftWidth:r,borderTopWidth:o}=t;f(e?n.offsetLeft:x(-parseFloat(r))),p(e?n.offsetTop:x(-parseFloat(o))),w(n.offsetWidth),C(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:c,borderBottomRightRadius:l}=t;u([i,a,l,c].map((t=>x(parseFloat(t)))))}if(c&&(O["--wave-color"]=c),r.useEffect((()=>{if(n){const t=(0,v.A)((()=>{_(),E(!0)}));let e;return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(_),e.observe(n)),()=>{v.A.cancel(t),null==e||e.disconnect()}}}),[]),!k)return null;const j=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(b));return r.createElement(g.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(t,e)=>{var n;if(e.deadline||"opacity"===e.propertyName){const t=null===(n=i.current)||void 0===n?void 0:n.parentElement;(0,m.v)(t).then((()=>{null==t||t.remove()}))}return!1}},(t=>{let{className:n}=t;return r.createElement("div",{ref:i,className:a()(e,{"wave-quick":j},n),style:O})}))},w=(t,e)=>{var n;const{component:o}=e;if("Checkbox"===o&&!(null===(n=t.querySelector("input"))||void 0===n?void 0:n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==t||t.insertBefore(i,null==t?void 0:t.firstChild),(0,m.X)(r.createElement(A,Object.assign({},e,{target:t})),i)};var S=n(365);const C=t=>{const{children:e,disabled:n,component:i}=t,{getPrefixCls:d}=(0,r.useContext)(l.QO),f=(0,r.useRef)(null),g=d("wave"),[,m]=h(g),y=function(t,e,n){const{wave:o}=r.useContext(l.QO),[,i,a]=(0,S.Ay)(),c=(0,p._q)((r=>{const c=t.current;if((null==o?void 0:o.disabled)||!c)return;const s=c.querySelector(`.${b}`)||c,{showEffect:l}=o||{};(l||w)(s,{className:e,token:i,component:n,event:r,hashId:a})})),s=r.useRef();return t=>{v.A.cancel(s.current),s.current=(0,v.A)((()=>{c(t)}))}}(f,a()(g,m),i);if(o().useEffect((()=>{const t=f.current;if(!t||1!==t.nodeType||n)return;const e=e=>{!(0,c.A)(e.target)||!t.getAttribute||t.getAttribute("disabled")||t.disabled||t.className.includes("disabled")||t.className.includes("-leave")||y(e)};return t.addEventListener("click",e,!0),()=>{t.removeEventListener("click",e,!0)}}),[n]),!o().isValidElement(e))return null!=e?e:null;const x=(0,s.f3)(e)?(0,s.K4)(e.ref,f):f;return(0,u.Ob)(e,{ref:x})}},9449:(t,e,n)=>{"use strict";n.d(e,{Ap:()=>c,Ve:()=>l,uR:()=>u});var r=n(156),o=n.n(r),i=n(682);const a=/^[\u4e00-\u9fa5]{2}$/,c=a.test.bind(a);function s(t){return"string"==typeof t}function l(t){return"text"===t||"link"===t}function u(t,e){let n=!1;const r=[];return o().Children.forEach(t,(t=>{const e=typeof t,o="string"===e||"number"===e;if(n&&o){const e=r.length-1,n=r[e];r[e]=`${n}${t}`}else r.push(t);n=o})),o().Children.map(r,(t=>function(t,e){if(null==t)return;const n=e?" ":"";return"string"!=typeof t&&"number"!=typeof t&&s(t.type)&&c(t.props.children)?(0,i.Ob)(t,{children:t.props.children.split("").join(n)}):s(t)?c(t)?o().createElement("span",null,t.split("").join(n)):o().createElement("span",null,t):(0,i.zv)(t)?o().createElement("span",null,t):t}(t,e)))}},8777:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>st});var r=n(156),o=n.n(r),i=n(6942),a=n.n(i),c=n(9853),s=n(8719),l=n(6130),u=n(2279),d=n(8119),f=n(829),h=n(6327),p=n(365);const v=r.createContext(void 0);var g=n(9449);const m=(0,r.forwardRef)(((t,e)=>{const{className:n,style:r,children:i,prefixCls:c}=t,s=a()(`${c}-icon`,n);return o().createElement("span",{ref:e,className:s,style:r},i)})),y=m;var b=n(3567),x=n(7557);const A=(0,r.forwardRef)(((t,e)=>{let{prefixCls:n,className:r,style:i,iconClassName:c}=t;const s=a()(`${n}-loading-icon`,r);return o().createElement(y,{prefixCls:n,className:s,style:i,ref:e},o().createElement(b.A,{className:c}))})),w=()=>({width:0,opacity:0,transform:"scale(0)"}),S=t=>({width:t.scrollWidth,opacity:1,transform:"scale(1)"}),C=t=>{const{prefixCls:e,loading:n,existIcon:r,className:i,style:a}=t,c=!!n;return r?o().createElement(A,{prefixCls:e,className:i,style:a}):o().createElement(x.Ay,{visible:c,motionName:`${e}-loading-icon-motion`,motionLeave:c,removeOnLeave:!0,onAppearStart:w,onAppearActive:S,onEnterStart:w,onEnterActive:S,onLeaveStart:S,onLeaveActive:w},((t,n)=>{let{className:r,style:c}=t;return o().createElement(A,{prefixCls:e,className:i,style:Object.assign(Object.assign({},a),c),ref:n,iconClassName:r})}))};var k=n(5462),E=n(5905),O=n(336),_=n(1078);const j=(t,e)=>({[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{"&:not(:disabled)":{borderInlineEndColor:e}}},"&:not(:first-child)":{[`&, & > ${t}`]:{"&:not(:disabled)":{borderInlineStartColor:e}}}}}),M=t=>{const{componentCls:e,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=t;return{[`${e}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:t.calc(r).mul(-1).equal(),[`&, & > ${e}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[e]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${e}-icon-only`]:{fontSize:n}},j(`${e}-primary`,o),j(`${e}-danger`,i)]}};var $=n(4925);const P=t=>{const{paddingInline:e,onlyIconSize:n,paddingBlock:r}=t;return(0,O.h1)(t,{buttonPaddingHorizontal:e,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},T=t=>{var e,n,r,o,i,a;const c=null!==(e=t.contentFontSize)&&void 0!==e?e:t.fontSize,s=null!==(n=t.contentFontSizeSM)&&void 0!==n?n:t.fontSize,l=null!==(r=t.contentFontSizeLG)&&void 0!==r?r:t.fontSizeLG,u=null!==(o=t.contentLineHeight)&&void 0!==o?o:(0,$.k)(c),d=null!==(i=t.contentLineHeightSM)&&void 0!==i?i:(0,$.k)(s),f=null!==(a=t.contentLineHeightLG)&&void 0!==a?a:(0,$.k)(l);return{fontWeight:400,defaultShadow:`0 ${t.controlOutlineWidth}px 0 ${t.controlTmpOutline}`,primaryShadow:`0 ${t.controlOutlineWidth}px 0 ${t.controlOutline}`,dangerShadow:`0 ${t.controlOutlineWidth}px 0 ${t.