PageSourceSearch

https://www.medaibench.cn/_next/static/chunks/2161-9746dca11377876c.js

js medaibench.cn collected 2026-10-06 13:48:42 UTC 10,265 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2161],{92161:(t,e,n)=>{n.d(e,{A:()=>k});var o,i=n(71818),a=n(84879),c=n(23361),r=n(6169),l=n.n(r),s=n(52009),d=n(36468),u=n(37390),m=80*Math.PI,p=function(t){var e=t.dotClassName,n=t.style,o=t.hasCircleCls;return c.createElement("circle",{className:l()("".concat(e,"-circle"),(0,i._)({},"".concat(e,"-circle-bg"),o)),r:40,cx:50,cy:50,strokeWidth:20,style:n})};let f=function(t){var e=t.percent,n=t.prefixCls,o="".concat(n,"-dot"),i="".concat(o,"-holder"),r="".concat(i,"-hidden"),s=(0,a._)(c.useState(!1),2),d=s[0],f=s[1];(0,u.A)(function(){0!==e&&f(!0)},[0!==e]);var v=Math.max(Math.min(e,100),0);if(!d)return null;var h={strokeDashoffset:"".concat(m/4),strokeDasharray:"".concat(m*v/100," ").concat(m*(100-v)/100)};return c.createElement("span",{className:l()(i,"".concat(o,"-progress"),v<=0&&r)},c.createElement("svg",{viewBox:"0 0 ".concat(100," ").concat(100),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":v},c.createElement(p,{dotClassName:o,hasCircleCls:!0}),c.createElement(p,{dotClassName:o,style:h})))};function v(t){var e=t.prefixCls,n=t.percent,o=void 0===n?0:n,i="".concat(e,"-dot"),a="".concat(i,"-holder"),r="".concat(a,"-hidden");return c.createElement(c.Fragment,null,c.createElement("span",{className:l()(a,o>0&&r)},c.createElement("span",{className:l()(i,"".concat(e,"-dot-spin"))},[1,2,3,4].map(function(t){return c.createElement("i",{className:"".concat(e,"-dot-item"),key:t})}))),c.createElement(f,{prefixCls:e,percent:o}))}function h(t){var e,n=t.prefixCls,o=t.indicator,i=t.percent,a="".concat(n,"-dot");return o&&c.isValidElement(o)?(0,d.Ob)(o,{className:l()(null==(e=o.props)?void 0:e.className,a),percent:i}):c.createElement(v,{prefixCls:n,percent:i})}var g=n(51408),S=n(96839),b=n(77662),y=n(35590),_=new g.Mo("antSpinMove",{to:{opacity:1}}),x=new g.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),w=function(t){var e,n,o,a,c,r,l=t.componentCls,s=t.calc;return(0,i._)({},l,Object.assign(Object.assign({},(0,S.dF)(t)),(r={position:"absolute",display:"none",color:t.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:"transform ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOutCirc),"&-spinning":{position:"relative",display:"inline-block",opacity:1}},(0,i._)(r,"".concat(l,"-text"),{fontSize:t.fontSize,paddingTop:s(s(t.dotSize).sub(t.fontSize)).div(2).add(2).equal()}),(0,i._)(r,"&-fullscreen",(0,i._)({position:"fixed",width:"100vw",height:"100vh",backgroundColor:t.colorBgMask,zIndex:t.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:"all ".concat(t.motionDurationMid),"&-show":{opacity:1,visibility:"visible"}},l,(e={},(0,i._)(e,"".concat(l,"-dot-holder"),{color:t.colorWhite}),(0,i._)(e,"".concat(l,"-text"),{color:t.colorTextLightSolid}),e))),(0,i._)(r,"&-nested-loading",(c={position:"relative"},(0,i._)(c,"> div > ".concat(l),(a={position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:t.contentHeight},(0,i._)(a,"".concat(l,"-dot"),{position:"absolute",top:"50%",insetInlineStart:"50%",margin:s(t.dotSize).mul(-1).div(2).equal()}),(0,i._)(a,"".concat(l,"-text"),{position:"absolute",top:"50%",width:"100%",textShadow:"0 1px 2px ".concat(t.colorBgContainer)}),(0,i._)(a,"&".concat(l,"-show-text ").concat(l,"-dot"),{marginTop:s(t.dotSize).div(2).mul(-1).sub(10).equal()}),(0,i._)(a,"&-sm",(n={},(0,i._)(n,"".concat(l,"-dot"),{margin:s(t.dotSizeSM).mul(-1).div(2).equal()}),(0,i._)(n,"".concat(l,"-text"),{paddingTop:s(s(t.dotSizeSM).sub(t.fontSize)).div(2).add(2).equal()}),(0,i._)(n,"&".concat(l,"-show-text ").concat(l,"-dot"),{marginTop:s(t.dotSizeSM).div(2).mul(-1).sub(10).equal()}),n)),(0,i._)(a,"&-lg",(o={},(0,i._)(o,"".concat(l,"-dot"),{margin:s(t.dotSizeLG).mul(-1).div(2).equal()}),(0,i._)(o,"".concat(l,"-text"),{paddingTop:s(s(t.dotSizeLG).sub(t.fontSize)).div(2).add(2).equal()}),(0,i._)(o,"&".concat(l,"-show-text ").concat(l,"-dot"),{marginTop:s(t.dotSizeLG).div(2).mul(-1).sub(10).equal()}),o)),a)),(0,i._)(c,"".concat(l,"-container"),{position:"relative",transition:"opacity ".concat(t.motionDurationSlow),"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:t.colorBg
1Container,opacity:0,transition:"all ".concat(t.motionDurationSlow),content:'""',pointerEvents:"none"}}),(0,i._)(c,"".concat(l,"-blur"),{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}),c)),(0,i._)(r,"&-tip",{color:t.spinDotDefault}),(0,i._)(r,"".concat(l,"-dot-holder"),{width:"1em",height:"1em",fontSize:t.dotSize,display:"inline-block",transition:"transform ".concat(t.motionDurationSlow," ease, opacity ").concat(t.motionDurationSlow," ease"),transformOrigin:"50% 50%",lineHeight:1,color:t.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}}),(0,i._)(r,"".concat(l,"-dot-progress"),{position:"absolute",inset:0}),(0,i._)(r,"".concat(l,"-dot"),{position:"relative",display:"inline-block",fontSize:t.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:s(t.dotSize).sub(s(t.marginXXS).div(2)).div(2).equal(),height:s(t.dotSize).sub(s(t.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:_,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:x,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(function(e){return"".concat(e," ").concat(t.motionDurationSlow," ease")}).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:t.colorFillSecondary}}),(0,i._)(r,"&-sm ".concat(l,"-dot"),{"&, &-holder":{fontSize:t.dotSizeSM}}),(0,i._)(r,"&-sm ".concat(l,"-dot-holder"),{i:{width:s(s(t.dotSizeSM).sub(s(t.marginXXS).div(2))).div(2).equal(),height:s(s(t.dotSizeSM).sub(s(t.marginXXS).div(2))).div(2).equal()}}),(0,i._)(r,"&-lg ".concat(l,"-dot"),{"&, &-holder":{fontSize:t.dotSizeLG}}),(0,i._)(r,"&-lg ".concat(l,"-dot-holder"),{i:{width:s(s(t.dotSizeLG).sub(t.marginXXS)).div(2).equal(),height:s(s(t.dotSizeLG).sub(t.marginXXS)).div(2).equal()}}),(0,i._)(r,"&".concat(l,"-show-text ").concat(l,"-text"),{display:"block"}),r)))};let z=(0,b.OF)("Spin",function(t){return w((0,y.oX)(t,{spinDotDefault:t.colorTextDescription}))},function(t){var e=t.controlHeightLG;return{contentHeight:400,dotSize:e/2,dotSizeSM:.35*e,dotSizeLG:t.controlHeight}});var C=[[30,.05],[70,.03],[96,.01]],E=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(t);i<o.length;i++)0>e.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]]);return n},N=function(t){var e,n,r,d,u,m,p,f=t.prefixCls,v=t.spinning,g=void 0===v||v,S=t.delay,b=void 0===S?0:S,y=t.className,_=t.rootClassName,x=t.size,w=void 0===x?"default":x,N=t.tip,k=t.wrapperClassName,D=t.style,O=t.children,I=t.fullscreen,M=void 0!==I&&I,q=t.indicator,T=t.percent,X=E(t,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),j=(0,s.TP)("spin"),L=j.getPrefixCls,P=j.direction,G=j.className,F=j.style,H=j.indicator,A=L("spin",f),B=(0,a._)(z(A),3),R=B[0],W=B[1],V=B[2],J=(0,a._)(c.useState(function(){return g&&(!g||!b||!!Number.isNaN(Number(b)))}),2),K=J[0],Q=J[1],U=(n=(e=(0,a._)(c.useState(0),2))[0],r=e[1],d=c.useRef(null),u="auto"===T,c.useEffect(function(){return u&&K&&(r(0),d.current=setInterval(function(){r(function(t){for(var e=100-t,n=0;n<C.length;n+=1){var o=(0,a._)(C[n],2),i=o[0],c=o[1];if(t<=i)return t+e*c}return t})},200)),function(){d.current&&(clearInterval(d.current),d.current=null)}},[u,K]),u?n:T);c.useEffect(function(){if(g){var t=function(t,e,n){var o,i=n||{},a=i.noTrailing,c=void 0!==a&&a,r=i.noLeading,l=void 0!==r&&r,s=i.debounceMode,d=void 0===s?void 0:s,u=!1,m=0;function p(){o&&clearTimeout(o)}function f(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];var r=this,s=Date.now()-m;function f(){m=Date.now(),e.apply(r,i)}function v(){o=void 0}!u&&(l||!d||o||f(),p(),void 0===d&&s>t?l?(m=Date.now(),c||(o=setTimeout(d?v:f,t))):f():!0!==c&&(o=setTimeout(d?v:f,void 0===d?t-s:t)))}return f.cancel=function(t){var e=(t||{}).upcomingOnly;p(),u=!(void 0!==e&&e)},f}(b,function(){Q(!0)},{debounceMode:false});return t(),function(){var e;null==(e=null==t?void 0:t.cancel)||e.call(t)}}Q(!1)},[b,g]);var Y=c.useMemo(function(){return void 0!==O&&!M},[O,M]),Z=l()(A,G,(p={},(0,i._)(p,"".concat(A,"-sm"),"small"===w),(0,i._)(p,"".concat(A,"-lg"),"large"===w),(0,i._)(p,"".concat(A,"-spinning"),K),(0,i._)(p,"".concat(A,"-show-text"),!!N),(0,i._)(p,"".concat(A,"-rtl"),"rtl"===P),p),y,!M&&_,W,V),$=l()("".concat(A,"-container"),(0,i._)({},"".concat(A,"-blur"),K)),tt=null!=(m=null!=q?q:H)?m:o,te=Object.assign(Object.assign({},F),D),tn=c.createElement("div",Object.assign({}
1,X,{style:te,className:Z,"aria-live":"polite","aria-busy":K}),c.createElement(h,{prefixCls:A,indicator:tt,percent:U}),N&&(Y||M)?c.createElement("div",{className:"".concat(A,"-text")},N):null);return R(Y?c.createElement("div",Object.assign({},X,{className:l()("".concat(A,"-nested-loading"),k,W,V)}),K&&c.createElement("div",{key:"loading"},tn),c.createElement("div",{className:$,key:"container"},O)):M?c.createElement("div",{className:l()("".concat(A,"-fullscreen"),(0,i._)({},"".concat(A,"-fullscreen-show"),K),_,W,V)},tn):tn)};N.setDefaultIndicator=function(t){o=t};let k=N}}]);

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.