window.syncQueue=function(t){var n=t||[],s=!1,i=function(){n.length>=1&&!0===s&&n.shift()(i)},h=function(){s=!0,i()};this.next=i,this.start=h,this.stop=function(){s=!1},this.push=function(t){n.push(t),s&&h()},this.started=s,this.resume=h};
