define(["require","exports"],(function(f,r){"use strict";if(typeof s>"u")var s=window.Vue;const a=(e,t=10,l=3e4)=>{if(e())return new Promise((i,o)=>{const n=setTimeout(()=>{clearInterval(u),o("Condition is no resolve: timeout")},l),u=setInterval(()=>{e()||(clearTimeout(n),clearInterval(u),i())},t)})},m=e=>new Promise(t=>{setTimeout(()=>{t()},e)}),c=(e,t=300,l=10)=>{if(e())return new Promise(i=>{const o=setTimeout(()=>{clearInterval(n),i()},t),n=setInterval(()=>{e()||(clearTimeout(o),clearInterval(n),i())},l)})};r.sleep=m,r.sleepWhile=c,r.waitWhile=a,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
//# sourceMappingURL=system.amd.js.map
