import{f as p}from"./vendor-ant-design-vue.751c3cd3.js";import{t as l}from"./index.26c4c5e4.js";import{aE as d,c as u}from"./vendor-@vue.54cfd5db.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};
