(globalThis.utooChunk_ant_design_pro||(globalThis.utooChunk_ant_design_pro=[])).push(["object"==typeof document?document.currentScript:void 0,309999,e=>{"use strict";e.i(495059);var r=e.i(191788),t=e.i(56206),o=e.i(851581),n=e.i(578461),s=e.i(510122);function a(){return(a=Object.assign.bind()).apply(this,arguments)}let i=r.forwardRef((e,i)=>{let{className:l,component:u,viewBox:c,spin:d,rotate:h,tabIndex:p,onClick:m,children:g,...f}=e,v=r.useRef(null),E=(0,o.useComposeRef)(v,i);(0,s.warning)(!!(u||g),"Should have `component` prop or `children`."),(0,s.useInsertStyles)(v);let{prefixCls:w="anticon",rootClassName:x}=r.useContext(n.default),y=(0,t.clsx)(x,w,{[`${w}-spin`]:!!d&&!!u},l),C=(0,t.clsx)({[`${w}-spin`]:!!d}),B=h?{msTransform:`rotate(${h}deg)`,transform:`rotate(${h}deg)`}:void 0,b={...s.svgBaseProps,className:C,style:B,viewBox:c};c||delete b.viewBox;let _=p;return void 0===_&&m&&(_=-1),r.createElement("span",a({role:"img"},f,{ref:E,tabIndex:_,onClick:m,className:y}),u?r.createElement(u,b,g):g?((0,s.warning)(!!c||1===r.Children.count(g)&&r.isValidElement(g)&&"use"===r.Children.only(g).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),r.createElement("svg",a({},b,{viewBox:c}),g)):null)});e.s(["default",()=>i])},400274,e=>{"use strict";var r=e.i(667270),t=e.i(191788),o=e.i(391398);class n extends t.default.Component{state={hasError:!1,errorInfo:""};static getDerivedStateFromError(e){return console.warn("ErrorBoundary caught an error",e),{hasError:!0,errorInfo:e.message}}componentDidCatch(e,r){console.warn("ErrorBoundary caught an error",e,r)}render(){return this.state.hasError?(0,o.jsx)(r.Result,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}e.s(["ErrorBoundary",0,n])}]);