import{f as p}from"./vendor-ant-design-vue.e9ebc554.js";import{t as l}from"./index.5dbe5867.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};
