-
Notifications
You must be signed in to change notification settings - Fork 0
/
16834.617fd315.async.js
1 lines (1 loc) · 16.5 KB
/
16834.617fd315.async.js
1
"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[16834],{34607:function(W,g){Object.defineProperty(g,"__esModule",{value:!0});var n={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"};g.default=n},303840:function(W,g,n){Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;const s=l(n(554434));function l(t){return t&&t.__esModule?t:{default:t}}const I=s;g.default=I,W.exports=I},422284:function(W,g,n){n.d(g,{Z:function(){return y}});var s=n(487462),l=n(667294),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},t=I,C=n(713401),P=function(D,z){return l.createElement(C.Z,(0,s.Z)({},D,{ref:z,icon:t}))},y=l.forwardRef(P)},65429:function(W,g,n){n.d(g,{Z:function(){return y}});var s=n(487462),l=n(667294),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},t=I,C=n(713401),P=function(D,z){return l.createElement(C.Z,(0,s.Z)({},D,{ref:z,icon:t}))},y=l.forwardRef(P)},938545:function(W,g,n){n.d(g,{Z:function(){return y}});var s=n(487462),l=n(667294),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},t=I,C=n(713401),P=function(D,z){return l.createElement(C.Z,(0,s.Z)({},D,{ref:z,icon:t}))},y=l.forwardRef(P)},375750:function(W,g,n){n.d(g,{Z:function(){return y}});var s=n(487462),l=n(667294),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},t=I,C=n(713401),P=function(D,z){return l.createElement(C.Z,(0,s.Z)({},D,{ref:z,icon:t}))},y=l.forwardRef(P)},554434:function(W,g,n){Object.defineProperty(g,"__esModule",{value:!0}),Object.defineProperty(g,"default",{enumerable:!0,get:function(){return p}});var s=y(n(667294)),l=C(n(34607)),I=C(n(592074));function t(a,r,d){return r in a?Object.defineProperty(a,r,{value:d,enumerable:!0,configurable:!0,writable:!0}):a[r]=d,a}function C(a){return a&&a.__esModule?a:{default:a}}function P(a){if(typeof WeakMap!="function")return null;var r=new WeakMap,d=new WeakMap;return(P=function(u){return u?d:r})(a)}function y(a,r){if(!r&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var d=P(r);if(d&&d.has(a))return d.get(a);var u={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in a)if(T!=="default"&&Object.prototype.hasOwnProperty.call(a,T)){var x=w?Object.getOwnPropertyDescriptor(a,T):null;x&&(x.get||x.set)?Object.defineProperty(u,T,x):u[T]=a[T]}return u.default=a,d&&d.set(a,u),u}function A(a){for(var r=1;r<arguments.length;r++){var d=arguments[r]!=null?arguments[r]:{},u=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(d).filter(function(w){return Object.getOwnPropertyDescriptor(d,w).enumerable}))),u.forEach(function(w){t(a,w,d[w])})}return a}function D(a,r){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(a);r&&(u=u.filter(function(w){return Object.getOwnPropertyDescriptor(a,w).enumerable})),d.push.apply(d,u)}return d}function z(a,r){return r=r!=null?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(d){Object.defineProperty(a,d,Object.getOwnPropertyDescriptor(r,d))}),a}var b=function(a,r){return s.createElement(I.default,z(A({},a),{ref:r,icon:l.default}))},p=s.forwardRef(b)},214079:function(W,g,n){n.r(g),n.d(g,{scopes:function(){return u}});var s=n(667294),l=n(575054),I=n(315816),t=n(506380),C=n(371707),P=n(945016),y=n(979331),A=n(988872),D=n(796586),z=n(89686),b=n(75529),p=n(422284),a=n(65429),r=n(938545),d=n(375750),u={"skeleton-demo-basic":{React:s,Skeleton:l.Z},"skeleton-demo-complex":{React:s,Skeleton:l.Z},"skeleton-demo-active":{React:s,Skeleton:l.Z},"skeleton-demo-element":{DotChartOutlined:p.Z,React:s,useState:s.useState,Divider:I.Z,Form:t.Z,Radio:C.ZP,Skeleton:l.Z,Space:P.Z,Switch:y.Z},"skeleton-demo-children":{React:s,useState:s.useState,Button:A.ZP,Skeleton:l.Z,Space:P.Z},"skeleton-demo-list":{LikeOutlined:a.Z,MessageOutlined:r.Z,StarOutlined:d.Z,React:s,useState:s.useState,Avatar:D.C,List:z.Z,Skeleton:l.Z,Switch:y.Z},"skeleton-demo-componenttoken":{React:s,ConfigProvider:b.ZP,Skeleton:l.Z}}},979331:function(W,g,n){n.d(g,{Z:function(){return cn}});var s=n(242122),l=n.n(s),I=n(238416),t=n.n(I),C=n(627424),P=n.n(C),y=n(670215),A=n.n(y),D=n(667294),z=n(100628),b=n.n(z),p=n(294184),a=n.n(p),r=n(33413),d=n(189265),u=n(73287),w=n(147315),T=n(947170),x=n(615624),$=n(510274),G=n(548073),_=n(286665),q=n(986943),X=function(e){var c,o,f,v,m,S=e.componentCls,h=e.trackHeightSM,R=e.trackPadding,E=e.trackMinWidthSM,N=e.innerMinMarginSM,L=e.innerMaxMarginSM,M=e.handleSizeSM,O=e.calc,Z="".concat(S,"-inner"),j=(0,x.bf)(O(M).add(O(R).mul(2)).equal()),H=(0,x.bf)(O(L).mul(2).equal());return t()({},S,t()({},"&".concat(S,"-small"),(m={minWidth:E,height:h,lineHeight:(0,x.bf)(h)},t()(m,"".concat(S,"-inner"),(c={paddingInlineStart:L,paddingInlineEnd:N},t()(c,"".concat(Z,"-checked"),{marginInlineStart:"calc(-100% + ".concat(j," - ").concat(H,")"),marginInlineEnd:"calc(100% - ".concat(j," + ").concat(H,")")}),t()(c,"".concat(Z,"-unchecked"),{marginTop:O(h).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}),c)),t()(m,"".concat(S,"-handle"),{width:M,height:M}),t()(m,"".concat(S,"-loading-icon"),{top:O(O(M).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize}),t()(m,"&".concat(S,"-checked"),(f={},t()(f,"".concat(S,"-inner"),(o={paddingInlineStart:N,paddingInlineEnd:L},t()(o,"".concat(Z,"-checked"),{marginInlineStart:0,marginInlineEnd:0}),t()(o,"".concat(Z,"-unchecked"),{marginInlineStart:"calc(100% - ".concat(j," + ").concat(H,")"),marginInlineEnd:"calc(-100% + ".concat(j," - ").concat(H,")")}),o)),t()(f,"".concat(S,"-handle"),{insetInlineStart:"calc(100% - ".concat((0,x.bf)(O(M).add(R).equal()),")")}),f)),t()(m,"&:not(".concat(S,"-disabled):active"),(v={},t()(v,"&:not(".concat(S,"-checked) ").concat(Z),t()({},"".concat(Z,"-unchecked"),{marginInlineStart:O(e.marginXXS).div(2).equal(),marginInlineEnd:O(e.marginXXS).mul(-1).div(2).equal()})),t()(v,"&".concat(S,"-checked ").concat(Z),t()({},"".concat(Z,"-checked"),{marginInlineStart:O(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:O(e.marginXXS).div(2).equal()})),v)),m)))},Q=function(e){var c,o=e.componentCls,f=e.handleSize,v=e.calc;return t()({},o,(c={},t()(c,"".concat(o,"-loading-icon").concat(e.iconCls),{position:"relative",top:v(v(f).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"}),t()(c,"&".concat(o,"-checked ").concat(o,"-loading-icon"),{color:e.switchColor}),c))},F=function(e){var c,o,f=e.componentCls,v=e.trackPadding,m=e.handleBg,S=e.handleShadow,h=e.handleSize,R=e.calc,E="".concat(f,"-handle");return t()({},f,(o={},t()(o,E,{position:"absolute",top:v,insetInlineStart:v,width:h,height:h,transition:"all ".concat(e.switchDuration," ease-in-out"),"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:m,borderRadius:R(h).div(2).equal(),boxShadow:S,transition:"all ".concat(e.switchDuration," ease-in-out"),content:'""'}}),t()(o,"&".concat(f,"-checked ").concat(E),{insetInlineStart:"calc(100% - ".concat((0,x.bf)(R(h).add(v).equal()),")")}),t()(o,"&:not(".concat(f,"-disabled):active"),(c={},t()(c,"".concat(E,"::before"),{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0}),t()(c,"&".concat(f,"-checked ").concat(E,"::before"),{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}),c)),o))},nn=function(e){var c,o,f,v,m=e.componentCls,S=e.trackHeight,h=e.trackPadding,R=e.innerMinMargin,E=e.innerMaxMargin,N=e.handleSize,L=e.calc,M="".concat(m,"-inner"),O=(0,x.bf)(L(N).add(L(h).mul(2)).equal()),Z=(0,x.bf)(L(E).mul(2).equal());return t()({},m,(v={},t()(v,M,(c={display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:E,paddingInlineEnd:R,transition:"padding-inline-start ".concat(e.switchDuration," ease-in-out, padding-inline-end ").concat(e.switchDuration," ease-in-out")},t()(c,"".concat(M,"-checked, ").concat(M,"-unchecked"),{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:"margin-inline-start ".concat(e.switchDuration," ease-in-out, margin-inline-end ").concat(e.switchDuration," ease-in-out"),pointerEvents:"none"}),t()(c,"".concat(M,"-checked"),{marginInlineStart:"calc(-100% + ".concat(O," - ").concat(Z,")"),marginInlineEnd:"calc(100% - ".concat(O," + ").concat(Z,")")}),t()(c,"".concat(M,"-unchecked"),{marginTop:L(S).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}),c)),t()(v,"&".concat(m,"-checked ").concat(M),(o={paddingInlineStart:R,paddingInlineEnd:E},t()(o,"".concat(M,"-checked"),{marginInlineStart:0,marginInlineEnd:0}),t()(o,"".concat(M,"-unchecked"),{marginInlineStart:"calc(100% - ".concat(O," + ").concat(Z,")"),marginInlineEnd:"calc(-100% + ".concat(O," - ").concat(Z,")")}),o)),t()(v,"&:not(".concat(m,"-disabled):active"),(f={},t()(f,"&:not(".concat(m,"-checked) ").concat(M),t()({},"".concat(M,"-unchecked"),{marginInlineStart:L(h).mul(2).equal(),marginInlineEnd:L(h).mul(-1).mul(2).equal()})),t()(f,"&".concat(m,"-checked ").concat(M),t()({},"".concat(M,"-checked"),{marginInlineStart:L(h).mul(-1).mul(2).equal(),marginInlineEnd:L(h).mul(2).equal()})),f)),v))},en=function(e){var c,o=e.componentCls,f=e.trackHeight,v=e.trackMinWidth;return t()({},o,l()(l()(l()({},(0,G.Wf)(e)),{},t()({position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:v,height:f,lineHeight:"".concat((0,x.bf)(f)),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),userSelect:"none"},"&:hover:not(".concat(o,"-disabled)"),{background:e.colorTextTertiary}),(0,G.Qy)(e)),{},(c={},t()(c,"&".concat(o,"-checked"),t()({background:e.switchColor},"&:hover:not(".concat(o,"-disabled)"),{background:e.colorPrimaryHover})),t()(c,"&".concat(o,"-loading, &").concat(o,"-disabled"),{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}}),t()(c,"&".concat(o,"-rtl"),{direction:"rtl"}),c)))},k=function(e){var c=e.fontSize,o=e.lineHeight,f=e.controlHeight,v=e.colorWhite,m=c*o,S=f/2,h=2,R=m-h*2,E=S-h*2;return{trackHeight:m,trackHeightSM:S,trackMinWidth:R*2+h*4,trackMinWidthSM:E*2+h*2,trackPadding:h,handleBg:v,handleSize:R,handleSizeSM:E,handleShadow:"0 2px 4px 0 ".concat(new $.C("#00230b").setAlpha(.2).toRgbString()),innerMinMargin:R/2,innerMaxMargin:R+h+h*2,innerMinMarginSM:E/2,innerMaxMarginSM:E+h+h*2}},U=(0,_.I$)("Switch",function(i){var e=(0,q.TS)(i,{switchDuration:i.motionDurationMid,switchColor:i.colorPrimary,switchDisabledOpacity:i.opacityLoading,switchLoadingIconSize:i.calc(i.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:"rgba(0, 0, 0, ".concat(i.opacityLoading,")"),switchHandleActiveInset:"-30%"});return[en(e),nn(e),F(e),Q(e),X(e)]},k),tn=n(260869),B=n(785893),an=["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"],J=D.forwardRef(function(i,e){var c,o=i.prefixCls,f=i.size,v=i.disabled,m=i.loading,S=i.className,h=i.rootClassName,R=i.style,E=i.checked,N=i.value,L=i.defaultChecked,M=i.defaultValue,O=i.onChange,Z=A()(i,an),j=(0,tn.default)(!1,{value:E!=null?E:N,defaultValue:L!=null?L:M}),H=P()(j,2),sn=H[0],un=H[1],ln=D.useContext(u.E_),hn=ln.getPrefixCls,vn=ln.direction,V=ln.switch,gn=D.useContext(w.Z),fn=(v!=null?v:gn)||m,K=hn("switch",o),mn=(0,B.jsx)("div",{className:"".concat(K,"-handle"),children:m&&(0,B.jsx)(b(),{className:"".concat(K,"-loading-icon")})}),Sn=U(K),on=P()(Sn,2),Cn=on[0],Mn=on[1],On=(0,T.Z)(f),En=a()(V==null?void 0:V.className,(c={},t()(c,"".concat(K,"-small"),On==="small"),t()(c,"".concat(K,"-loading"),m),t()(c,"".concat(K,"-rtl"),vn==="rtl"),c),S,h,Mn),In=l()(l()({},V==null?void 0:V.style),R),Pn=function(){for(var dn=arguments.length,rn=new Array(dn),Y=0;Y<dn;Y++)rn[Y]=arguments[Y];un(rn[0]),O==null||O.apply(void 0,rn)};return Cn((0,B.jsx)(d.Z,{component:"Switch",children:(0,B.jsx)(r.Z,l()(l()({},Z),{},{checked:sn,onChange:Pn,prefixCls:K,className:En,style:In,disabled:fn,ref:e,loadingIcon:mn}))}))});J.__ANT_SWITCH=!0;var cn=J},33413:function(W,g,n){var s=n(487462),l=n(204942),I=n(297685),t=n(700091),C=n(667294),P=n(294184),y=n.n(P),A=n(821770),D=n(915105),z=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],b=C.forwardRef(function(p,a){var r,d=p.prefixCls,u=d===void 0?"rc-switch":d,w=p.className,T=p.checked,x=p.defaultChecked,$=p.disabled,G=p.loadingIcon,_=p.checkedChildren,q=p.unCheckedChildren,X=p.onClick,Q=p.onChange,F=p.onKeyDown,nn=(0,t.Z)(p,z),en=(0,A.default)(!1,{value:T,defaultValue:x}),k=(0,I.Z)(en,2),U=k[0],tn=k[1];function B(i,e){var c=U;return $||(c=i,tn(c),Q==null||Q(c,e)),c}function an(i){i.which===D.Z.LEFT?B(!1,i):i.which===D.Z.RIGHT&&B(!0,i),F==null||F(i)}function J(i){var e=B(!U,i);X==null||X(e,i)}var cn=y()(u,w,(r={},(0,l.Z)(r,"".concat(u,"-checked"),U),(0,l.Z)(r,"".concat(u,"-disabled"),$),r));return C.createElement("button",(0,s.Z)({},nn,{type:"button",role:"switch","aria-checked":U,disabled:$,className:cn,ref:a,onKeyDown:an,onClick:J}),G,C.createElement("span",{className:"".concat(u,"-inner")},C.createElement("span",{className:"".concat(u,"-inner-checked")},_),C.createElement("span",{className:"".concat(u,"-inner-unchecked")},q)))});b.displayName="Switch",g.Z=b}}]);