var u=Object.defineProperty;var n=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var i=(t,r,e)=>r in t?u(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,c=(t,r)=>{for(var e in r||(r={}))a.call(r,e)&&i(t,e,r[e]);if(n)for(var e of n(r))f.call(r,e)&&i(t,e,r[e]);return t};const p={info:{type:"info",iconSize:"120rpx",confirmText:"知道了"},success:{type:"success",iconSize:"120rpx",confirmText:"好的"},error:{type:"error",iconSize:"120rpx",confirmText:"重试"}};function o(t,r,e={}){const s=p[t];return c(c({show:!0,message:r},s),e)}function l(t,r){return o("info",t,r)}function x(t,r){return o("success",t,r)}function D(t,r){return o("error",t,r)}class S{static info(r,e){return l(r,e)}static success(r,e){return x(r,e)}static error(r,e){return D(r,e)}}export{S as D};
