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