text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{L1EO:function(t,e,i){},QfWi:function(t,e,i){"use strict";i.r(e);i("L1EO");var n={btnStart:document.querySelector('[data-action="start"]'),btnStop:document.querySelector('[data-action="stop"]'),body:document.querySelector("body")},a=n.btnStart,o=n.btnStop,d=n.body,s=["#FFFFFF","#2196F3","#4CAF50","#FF9800","#009688","#795548"],r={intervalId:null,isActive:!1,start:function(){this.isActive||(this.isActive=!0,this.intervalId=setInterval((function(){var t,e;d.style.backgroundColor=s[(t=0,e=s.length-1,Math.floor(Math.random()*(e-t+1)+t))]}),1e3),this.addDisabled(a))},stop:function(){clearInterval(this.intervalId),this.intervalId=null,this.isActive=!1,this.removeDisabled(a)},addDisabled:function(t){t.setAttribute("disabled","")},removeDisabled:function(t){t.removeAttribute("disabled")}};a.addEventListener("click",r.start.bind(r)),o.addEventListener("click",r.stop.bind(r))}},[["QfWi",1]]]);
  //# sourceMappingURL=main.d33880f2da85780268f6.js.map