text: !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).throttleAsync=t()}(this,(function(){"use strict";function n(){}function t(n){return new Promise((function(t){t(n())}))}return function(e,o,r){void 0===o&&(o=0);var u,i,f,c,s=Promise.resolve(),d=function(t){s=s.then(t).catch(n)},l=function(){f=null;var n=t((function(){return e.apply(u,i)}));return c(n),n},m=function(){return new Promise((function(n){setTimeout(n,o)}))};return function(){for(var n=this,e=[],o=arguments.length;o--;)e[o]=arguments[o];return t((function(){return u=n,i=e,f||(f=new Promise((function(n){c=n})),r?(d(m),d(l)):(d(l),d(m))),f}))}}}));
  