1"use strict";(globalThis.webpackChunkclient=globalThis.webpackChunkclient||[]).push([[5368],{98617(n,e,i){i.d(e,{A:()=>r});var a=i(58168),t=i(65043);const c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"};var l=i(22172),o=function(n,e){return t.createElement(l.A,(0,a.A)({},n,{ref:e,icon:c}))};const r=t.forwardRef(o)},38929(n,e,i){i.d(e,{A:()=>r});var a=i(58168),t=i(65043);const c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z"}}]},name:"security-scan",theme:"outlined"};var l=i(22172),o=function(n,e){return t.createElement(l.A,(0,a.A)({},n,{ref:e,icon:c}))};const r=t.forwardRef(o)},12624(n,e,i){i.d(e,{A:()=>N});var a=i(65043),t=i(40164),c=i(98139),l=i.n(c),o=i(58168),r=i(64467),d=i(5544),s=i(80045),h=i(28678),u=i(25001),g=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],m=a.forwardRef(function(n,e){var i,t=n.prefixCls,c=void 0===t?"rc-switch":t,m=n.className,$=n.checked,k=n.defaultChecked,v=n.disabled,b=n.loadingIcon,p=n.checkedChildren,S=n.unCheckedChildren,f=n.onClick,I=n.onChange,w=n.onKeyDown,C=(0,s.A)(n,g),M=(0,h.A)(!1,{value:$,defaultValue:k}),A=(0,d.A)(M,2),z=A[0],y=A[1];function E(n,e){var i=z;return v||(y(i=n),null===I||void 0===I||I(i,e)),i}var x=l()(c,m,(i={},(0,r.A)(i,"".concat(c,"-checked"),z),(0,r.A)(i,"".concat(c,"-disabled"),v),i));return a.createElement("button",(0,o.A)({},C,{type:"button",role:"switch","aria-checked":z,disabled:v,className:x,ref:e,onKeyDown:function(n){n.which===u.A.LEFT?E(!1,n):n.which===u.A.RIGHT&&E(!0,n),null===w||void 0===w||w(n)},onClick:function(n){var e=E(!z,n);null===f||void 0===f||f(e,n)}}),b,a.createElement("span",{className:"".concat(c,"-inner")},a.createElement("span",{className:"".concat(c,"-inner-checked")},p),a.createElement("span",{className:"".concat(c,"-inner-unchecked")},S)))});m.displayName="Switch";const $=m;var k=i(12366),v=i(35296),b=i(78440),p=i(89122),S=i(7896),f=i(61857),I=i(94414),w=i(78855),C=i(78446);const M=n=>{const{componentCls:e,trackHeightSM:i,trackPadding:a,trackMinWidthSM:t,innerMinMarginSM:c,innerMaxMarginSM:l,handleSizeSM:o,calc:r}=n,d=`${e}-inner`,s=(0,S.zA)(r(o).add(r(a).mul(2)).equal()),h=(0,S.zA)(r(l).mul(2).equal());return{[e]:{[`&${e}-small`]:{minWidth:t,height:i,lineHeight:(0,S.zA)(i),[`${e}-inner`]:{paddingInlineStart:l,paddingInlineEnd:c,[`${d}-checked, ${d}-unchecked`]:{minHeight:i},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${h})`,marginInlineEnd:`calc(100% - ${s} + ${h})`},[`${d}-unchecked`]:{marginTop:r(i).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${e}-handle`]:{width:o,height:o},[`${e}-loading-icon`]:{top:r(r(o).sub(n.switchLoadingIconSize)).div(2).equal(),fontSize:n.switchLoadingIconSize},[`&${e}-checked`]:{[`${e}-inner`]:{paddingInlineStart:c,paddingInlineEnd:l,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${h})`,marginInlineEnd:`calc(-100% + ${s} - ${h})`}},[`${e}-handle`]:{insetInlineStart:`calc(100% - ${(0,S.zA)(r(o).add(a).equal())})`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:r(n.marginXXS).div(2).equal(),marginInlineEnd:r(n.marginXXS).mul(-1).div(2).equal()}},[`&${e}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:r(n.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:r(n.marginXXS).div(2).equal()}}}}}}},A=n=>{const{componentCls:e,handleSize:i,calc:a}=n;return{[e]:{[`${e}-loading-icon${n.iconCls}`]:{position:"relative",top:a(a(i).sub(n.fontSize)).div(2).equal(),color:n.switchLoadingIconColor,verticalAlign:"top"},[`&${e}-checked ${e}-loading-icon`]:{color:n.switchColor}}}},z=n=>{const{componentCls:e,trackPadding:i,handleBg:a,handleShadow:t,handleSize:c,calc:l}=n,o=`${e}-handle`;return{[e]:{[o]:{position:"absolute",top:i,insetInlineStart:i,width:c,height:c,transition:`all ${n.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:a,borderRadius:l(c).div(2).equal(),boxSh
1adow:t,transition:`all ${n.switchDuration} ease-in-out`,content:'""'}},[`&${e}-checked ${o}`]:{insetInlineStart:`calc(100% - ${(0,S.zA)(l(c).add(i).equal())})`},[`&:not(${e}-disabled):active`]:{[`${o}::before`]:{insetInlineEnd:n.switchHandleActiveInset,insetInlineStart:0},[`&${e}-checked ${o}::before`]:{insetInlineEnd:0,insetInlineStart:n.switchHandleActiveInset}}}}},y=n=>{const{componentCls:e,trackHeight:i,trackPadding:a,innerMinMargin:t,innerMaxMargin:c,handleSize:l,calc:o}=n,r=`${e}-inner`,d=(0,S.zA)(o(l).add(o(a).mul(2)).equal()),s=(0,S.zA)(o(c).mul(2).equal());return{[e]:{[r]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:c,paddingInlineEnd:t,transition:`padding-inline-start ${n.switchDuration} ease-in-out, padding-inline-end ${n.switchDuration} ease-in-out`,[`${r}-checked, ${r}-unchecked`]:{display:"block",color:n.colorTextLightSolid,fontSize:n.fontSizeSM,transition:`margin-inline-start ${n.switchDuration} ease-in-out, margin-inline-end ${n.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:i},[`${r}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${s})`,marginInlineEnd:`calc(100% - ${d} + ${s})`},[`${r}-unchecked`]:{marginTop:o(i).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${e}-checked ${r}`]:{paddingInlineStart:t,paddingInlineEnd:c,[`${r}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${r}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${s})`,marginInlineEnd:`calc(-100% + ${d} - ${s})`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${r}`]:{[`${r}-unchecked`]:{marginInlineStart:o(a).mul(2).equal(),marginInlineEnd:o(a).mul(-1).mul(2).equal()}},[`&${e}-checked ${r}`]:{[`${r}-checked`]:{marginInlineStart:o(a).mul(-1).mul(2).equal(),marginInlineEnd:o(a).mul(2).equal()}}}}}},E=n=>{const{componentCls:e,trackHeight:i,trackMinWidth:a}=n;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,I.dF)(n)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:a,height:i,lineHeight:(0,S.zA)(i),verticalAlign:"middle",background:n.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${n.motionDurationMid}`,userSelect:"none",[`&:hover:not(${e}-disabled)`]:{background:n.colorTextTertiary}}),(0,I.K8)(n)),{[`&${e}-checked`]:{background:n.switchColor,[`&:hover:not(${e}-disabled)`]:{background:n.colorPrimaryHover}},[`&${e}-loading, &${e}-disabled`]:{cursor:"not-allowed",opacity:n.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${e}-rtl`]:{direction:"rtl"}})}},x=(0,w.OF)("Switch",n=>{const e=(0,C.oX)(n,{switchDuration:n.motionDurationMid,switchColor:n.colorPrimary,switchDisabledOpacity:n.opacityLoading,switchLoadingIconSize:n.calc(n.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${n.opacityLoading})`,switchHandleActiveInset:"-30%"});return[E(e),y(e),z(e),A(e),M(e)]},n=>{const{fontSize:e,lineHeight:i,controlHeight:a,colorWhite:t}=n,c=e*i,l=a/2,o=c-4,r=l-4;return{trackHeight:c,trackHeightSM:l,trackMinWidth:2*o+8,trackMinWidthSM:2*r+4,trackPadding:2,handleBg:t,handleSize:o,handleSizeSM:r,handleShadow:`0 2px 4px 0 ${new f.Y("#00230b").setA(.2).toRgbString()}`,innerMinMargin:o/2,innerMaxMargin:o+2+4,innerMinMarginSM:r/2,innerMaxMarginSM:r+2+4}});var q=function(n,e){var i={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&e.indexOf(a)<0&&(i[a]=n[a]);if(null!=n&&"function"===typeof Object.getOwnPropertySymbols){var t=0;for(a=Object.getOwnPropertySymbols(n);t<a.length;t++)e.indexOf(a[t])<0&&Object.prototype.propertyIsEnumerable.call(n,a[t])&&(i[a[t]]=n[a[t]])}return i};const H=a.forwardRef((n,e)=>{const{prefixCls:i,size:c,disabled:o,loading:r,className:d,rootClassName:s,style:u,checked:g,value:m,defaultChecked:S,defaultValue:f,onChange:I}=n,w=q(n,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[C,M]=(0,h.A)(!1,{value:null!==g&&void 0!==g?g:m,defaultValue:null!==S&&void 0!==S?S:f}),{getPrefixCls:A,direction:z,switch:y}=a.useContext(v.QO),E=a.useContext(b.A),H=(null!==o&&void 0!==o?o:E)||r,O=A("switch",i),N=a.createElement("div",{className:`${O}-handle`},r&&a.createElement(t.A,{className:`${O}-loading-icon`})),[D,L,T]=x(O),j=(0,p.A)(c),P=l()(null===y||void 0===y?void 0:y.className,{[`${O}-small`]:"small"===j,[`${O}-loading`]:r,[`${O}-rtl`]:"rtl"===z},d,s,L,T),V=Object.assign(Object.assign({},null===y||void 0===y?void 0:y.style),u);return D(a.createElement(k.A,{component:"Switch",disabled:H},a.createElement($,Object.assign({},w,{checked:C,onChange:function(){for(var n=arguments.length,e=new Array(n),i=0;i<n;i++)e[i]=arguments[i];M(e[0]),null===I||void 0===I||I.apply(void 0,e)},prefixCls:O,className:P,style:V,disabled:H,ref:e,loadingIcon:N}))))}),O=H;O.__ANT_SWITCH=!0;const N=O}}]); 2//# sourceMappingURL=5368.06cff297.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.