You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
9.6 KiB
1 line
9.6 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[39483],{48689:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(43387),l=function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var c=a.forwardRef(l)},64789:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},o=n(43387),l=function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var c=a.forwardRef(l)},25035:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},o=n(43387),l=function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var c=a.forwardRef(l)},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(94184),a=n.n(r),i=n(67294),o=n(53124),l=n(14747),c=n(67968),s=n(45503);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${a}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${a}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${a}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*o+"%"},"&::after":{width:100-100*o+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*o+"%"},"&::after":{width:100*o+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${a}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var u=(0,c.Z)("Divider",(e=>{const t=(0,s.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};var g=e=>{const{getPrefixCls:t,direction:n,divider:r}=i.useContext(o.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:g,rootClassName:m,children:h,dashed:p,plain:v,style:$}=e,b=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),x=t("divider",l),[S,w]=u(x),z=s.length>0?`-${s}`:s,y=!!h,E="left"===s&&null!=d,M="right"===s&&null!=d,C=a()(x,null==r?void 0:r.className,w,`${x}-${c}`,{[`${x}-with-text`]:y,[`${x}-with-text${z}`]:y,[`${x}-dashed`]:!!p,[`${x}-plain`]:!!v,[`${x}-rtl`]:"rtl"===n,[`${x}-no-default-orientation-margin-left`]:E,[`${x}-no-default-orientation-margin-right`]:M},g,m),O=i.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),k=Object.assign(Object.assign({},E&&{marginLeft:O}),M&&{marginRight:O});return S(i.createElement("div",Object.assign({className:C,style:Object.assign(Object.assign({},null==r?void 0:r.style),$)},b,{role:"separator"}),h&&"vertical"!==c&&i.createElement("span",{className:`${x}-inner-text`,style:k},h)))}},55054:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(67294),a=n(57838),i=n(96159),o=n(94184),l=n.n(o),c=n(53124),s=n(4310);var d=e=>{const{value:t,formatter:n,precision:a,decimalSeparator:i,groupSeparator:o="",prefixCls:l}=e;let c;if("function"==typeof n)c=n(t);else{const e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){const e=n[1];let t=n[2]||"0",s=n[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,o),"number"==typeof a&&(s=s.padEnd(a,"0").slice(0,a>0?a:0)),s&&(s=`${i}${s}`),c=[r.createElement("span",{key:"int",className:`${l}-content-value-int`},e,t),s&&r.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},s)]}else c=e}return r.createElement("span",{className:`${l}-content-value`},c)},u=n(14747),f=n(67968),g=n(45503);const m=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:a,titleFontSize:i,colorTextHeading:o,contentFontSize:l,fontFamily:c}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,u.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:a,fontSize:i},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:o,fontSize:l,fontFamily:c,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var h=(0,f.Z)("Statistic",(e=>{const t=(0,g.TS)(e,{});return[m(t)]}),(e=>{const{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}));var p=e=>{const{prefixCls:t,className:n,rootClassName:a,style:i,valueStyle:o,value:u=0,title:f,valueRender:g,prefix:m,suffix:p,loading:v=!1,onMouseEnter:$,onMouseLeave:b,decimalSeparator:x=".",groupSeparator:S=","}=e,{getPrefixCls:w,direction:z,statistic:y}=r.useContext(c.E_),E=w("statistic",t),[M,C]=h(E),O=r.createElement(d,Object.assign({decimalSeparator:x,groupSeparator:S,prefixCls:E},e,{value:u})),k=l()(E,{[`${E}-rtl`]:"rtl"===z},null==y?void 0:y.className,n,a,C);return M(r.createElement("div",{className:k,style:Object.assign(Object.assign({},null==y?void 0:y.style),i),onMouseEnter:$,onMouseLeave:b},f&&r.createElement("div",{className:`${E}-title`},f),r.createElement(s.Z,{paragraph:!1,loading:v,className:`${E}-skeleton`},r.createElement("div",{style:o,className:`${E}-content`},m&&r.createElement("span",{className:`${E}-content-prefix`},m),g?g(O):O,p&&r.createElement("span",{className:`${E}-content-suffix`},p)))))};const v=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function $(e,t){const{format:n=""}=t,r=new Date(e).getTime(),a=Date.now();return function(e,t){let n=e;const r=/\[[^\]]*]/g,a=(t.match(r)||[]).map((e=>e.slice(1,-1))),i=t.replace(r,"[]"),o=v.reduce(((e,t)=>{let[r,a]=t;if(e.includes(r)){const t=Math.floor(n/a);return n-=t*a,e.replace(new RegExp(`${r}+`,"g"),(e=>{const n=e.length;return t.toString().padStart(n,"0")}))}return e}),i);let l=0;return o.replace(r,(()=>{const e=a[l];return l+=1,e}))}(Math.max(r-a,0),n)}const b=e=>{const{value:t,format:n="HH:mm:ss",onChange:o,onFinish:l}=e,c=(0,a.Z)(),s=r.useRef(null),d=()=>{const e=function(e){return new Date(e).getTime()}(t);e>=Date.now()&&(s.current=setInterval((()=>{c(),null==o||o(e-Date.now()),e<Date.now()&&(null==l||l(),s.current&&(clearInterval(s.current),s.current=null))}),33.333333333333336))};r.useEffect((()=>(d(),()=>{s.current&&(clearInterval(s.current),s.current=null)})),[t]);return r.createElement(p,Object.assign({},e,{valueRender:e=>(0,i.Tm)(e,{title:void 0}),formatter:(e,t)=>$(e,Object.assign(Object.assign({},t),{format:n}))}))};var x=r.memo(b);p.Countdown=x;var S=p}}]); |