import{__awaiter as t,__generator as n}from"tslib";import{debounce as i}from"lodash";import{TIMESPAN_SOON as r}from"./Constant";import e from"./Instance";var s=function(){function s(){var t=this;this.t=!1,this.i=i((function(n){t.t=n}),r),this.s=!1,this.o=!1,this.u=!0,this.h=!1,this.m=!1}return Object.defineProperty(s.prototype,"l",{get:function(){return this.t},set:function(t){this.i(t)},p:!0,v:!0}),Object.defineProperty(s.prototype,"g",{get:function(){return this.s},set:function(i){var r=this,s=.5;"number"==typeof i&&(s=Math.max(0,Math.min(1,i))),t(r,void 0,void 0,(function(){var t,i;return n(this,(function(n){switch(n.label){case 0:return[4,e.j()];case 1:return t=n.M(),[4,e.O()];case 2:return i=n.M(),[4,t.A(i.I.G.C.get(0),{alpha:s})];case 3:return n.M(),[2]}}))})),this.s=!!i},p:!0,v:!0}),s}();export default new s;