'use strict';
import { toast } from 'sonner';
import _0x5ca88f from 'lodash.debounce';

var __defProp=Object['defineProperty'],__name=(_0x3aada6,_0x36fc21)=>__defProp(_0x3aada6,'name',{'value':_0x36fc21,'configurable':!![]});function notify(_0x5888c3,_0x477fa2){toast(_0x5888c3,_0x477fa2);}__name(notify,'notify');function notifyError(_0x9dd559,_0x77ef8c){const _0x2cd35b=typeof _0x9dd559==='string'?_0x9dd559:_0x9dd559['message'];toast['error'](_0x2cd35b,{'duration':_0x77ef8c});}__name(notifyError,'notifyError');function notifySuccess(_0x3141ee){const _0x4becd1=_0x3141ee??'Success';toast['success'](_0x4becd1);}__name(notifySuccess,'notifySuccess');function notifyWarning(_0x17cbb2){toast['warning'](_0x17cbb2);}__name(notifyWarning,'notifyWarning');function notifyFailure(_0x433f90){const _0x4d8307=_0x433f90??'An\x20error\x20has\x20occurred';toast['error'](_0x4d8307);}__name(notifyFailure,'notifyFailure');const notifyDebouncedError=_0x5ca88f((_0x2ac395,_0x2cd01b)=>{notifyError(_0x2ac395,_0x2cd01b);},0x1dcb+-0x1*-0x22b7+-0x30e2);

export { notify, notifyDebouncedError, notifyError, notifyFailure, notifySuccess, notifyWarning };
