(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[99567],{41412:function(){},86743:function(xe,p,a){"use strict";var b=a(22122),i=a(28481),G=a(30470),$=a(67294),V=a(71577),re=a(73839);function X(j){return!!(j&&!!j.then)}var n=function(P){var D=$.useRef(!1),K=$.useRef(null),q=(0,G.Z)(!1),W=(0,i.Z)(q,2),le=W[0],Y=W[1],w=P.close,U=function(){w==null||w.apply(void 0,arguments)};$.useEffect(function(){var S=null;return P.autoFocus&&(S=setTimeout(function(){var O;(O=K.current)===null||O===void 0||O.focus()})),function(){S&&clearTimeout(S)}},[]);var ee=function(O){!X(O)||(Y(!0),O.then(function(){Y(!1,!0),U.apply(void 0,arguments),D.current=!1},function(I){console.error(I),Y(!1,!0),D.current=!1}))},ce=function(O){var I=P.actionFn;if(!D.current){if(D.current=!0,!I){U();return}var B;if(P.emitEvent){if(B=I(O),P.quitOnNullishReturnValue&&!X(B)){D.current=!1,U(O);return}}else if(I.length)B=I(w),D.current=!1;else if(B=I(),!B){U();return}ee(B)}},te=P.type,ie=P.children,ue=P.prefixCls,ne=P.buttonProps;return $.createElement(V.Z,(0,b.Z)({},(0,re.n)(te),{onClick:ce,loading:le,prefixCls:ue},ne,{ref:K}),ie)};p.Z=n},50146:function(xe,p,a){"use strict";a.d(p,{Z:function(){return we}});var b=a(85061),i=a(22122),G=a(15873),$=a(73218),V=a(57119),re=a(68628),X=a(38135),n=a(67294),j=a(39559),P=a(96156),D=a(94184),K=a.n(D),q=a(86743),W=a(33603),le=a(54549),Y=a(57315),w=a(71577),U=a(73839),ee=a(53124),ce=a(65223),te=a(42051),ie=a(4173),ue=a(31808),ne=a(83008),S=function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(t);l