transfers.ac1fea410df920a1b984.js
743 Bytes
(window.webpackJsonp=window.webpackJsonp||[]).push([["491c"],{UXLD:function(o,t,e){"use strict";e.r(t);e("QMJn"),e("la2R");angular.module("footyroom").controller("MarketCountdown",["$scope","$interval","$window",function(o,t,e){var n,a,c=e.DataStore.transferWindows||{};function l(){o.totalSeconds=Math.floor((a.getTime()-(new Date).getTime())/1e3),o.totalSeconds<0&&(o.totalSeconds=0),o.seconds=Math.floor(o.totalSeconds%60),o.minutes=Math.floor(o.totalSeconds%3600/60),o.hours=Math.floor(o.totalSeconds%86400/3600),o.days=Math.floor(o.totalSeconds/86400)}o.$watch("league",function(){t.cancel(n),a=new Date(c[o.league]),l(),n=t(l,1e3)})}])},xeH2:function(o,t){o.exports=jQuery}},[["UXLD","d41d","970b","c5ee","1090","1390","91fe","14aa"]]]);