File: /home/lgooir/public_html/wp-content/themes/woodmart/js/scripts/elements/countDownTimer.min.js
!function(t){woodmartThemeModule.$document.on("wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.countDownTimer()}),t.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_countdown_timer.default","frontend/element_ready/wd_single_product_countdown.default","frontend/element_ready/wd_banner.default","frontend/element_ready/wd_banner_carousel.default"],function(e,d){woodmartThemeModule.wdElementorAddAction(d,function(){woodmartThemeModule.countDownTimer()})}),woodmartThemeModule.countDownTimer=function(){t(".wd-timer").each(function(){var d=t(this),e=d.data("timezone")?d.data("timezone"):woodmart_settings.countdown_timezone,e=(dayjs.extend(window.dayjs_plugin_utc),dayjs.extend(window.dayjs_plugin_timezone),dayjs.tz(d.data("end-date"),e));d.countdown(e.toDate(),function(e){"yes"===d.data("hide-on-finish")&&"finish"===e.type&&d.parent().addClass("wd-hide"),d.find(".wd-timer-days .wd-timer-value").text(e.strftime("%-D")),d.find(".wd-timer-hours .wd-timer-value").text(e.strftime("%H")),d.find(".wd-timer-min .wd-timer-value").text(e.strftime("%M")),d.find(".wd-timer-sec .wd-timer-value").text(e.strftime("%S"))})})},t(document).ready(function(){woodmartThemeModule.countDownTimer()})}(jQuery);