import{f as p}from"./vendor-ant-design-vue.e5e30ccc.js";import{t as l}from"./index.f528fccb.js";import{aE as d,c as u}from"./vendor-@vue.d54eea3a.js";function h(e,n={}){const{size:o="small",delay:t=100,timeout:r=3e4,loading:s=!1,retry:a=!0}=n;return d({loader:e,loadingComponent:s?u(p,{spinning:!0,size:o},null):void 0,timeout:r,delay:t,onError:a?(i,m,c,f)=>{i.message.match(/fetch/)&&f<=3?m():c()}:l})}export{h as c};
