(()=>{"use strict";var e=function(e,t,o,r){var n="string"==typeof t?document.querySelector(t):t,c=e-1,a=c<0?59:c,l=a<10?"0".concat(a):a,u=e<10?"0".concat(e):e;n&&(n.innerHTML='\n            <div class="develux-timer-countnum-backtop">'.concat(o?"00":l,'</div>\n            <div class="develux-timer-countnum-backbottom">').concat(o?"00":l,'</div>\n            <div class="develux-timer-countnum-top">').concat(o?"00":u,'</div>\n            <div class="develux-timer-countnum-bottom">').concat(o?"00":u,'</div>\n            <div class="develux-timer-countnum-line"></div>\n        '),r?n.classList.add("animate"):n.classList.remove("animate"))};!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".develux-timer-countdown-timer-js";document.querySelectorAll(t).forEach((function(t){var o=1e3*parseInt(t.dataset.countdownStart),r=1e3*parseInt(t.dataset.countdown),n=parseInt(t.dataset.animation),c=function(){var c=Date.now();if(!(c<o)){var a=r-c,l=a<0,u=Math.floor(a/864e5),i=Math.floor(a%864e5/36e5),s=Math.floor(a%36e5/6e4),d=Math.floor(a%6e4/1e3);n?(e(u,t.querySelector(".develux-timer-block-days-js"),l,0===i&&0===s&&0===d),e(i,t.querySelector(".develux-timer-block-hours-js"),l,0===s&&0===d),e(s,t.querySelector(".develux-timer-block-minutes-js"),l,0===d),e(d,t.querySelector(".develux-timer-block-seconds-js"),l,!0)):(e(u,t.querySelector(".develux-timer-block-days-js"),l,!1),e(i,t.querySelector(".develux-timer-block-hours-js"),l,!1),e(s,t.querySelector(".develux-timer-block-minutes-js"),l,!1),e(d,t.querySelector(".develux-timer-block-seconds-js"),l,!1)),l&&(clearInterval(t.intervalId),t.remove())}};Date.now(),t.intervalId=setInterval(c,1e3),c()}))}()})();