2023-04-07 23:11:54 +02:00
|
|
|
/* global SunCalc, formatTime */
|
2020-04-21 10:41:21 +02:00
|
|
|
|
2022-01-26 23:09:26 +01:00
|
|
|
/* MagicMirror²
|
2016-03-24 17:19:32 +01:00
|
|
|
* Module: Clock
|
|
|
|
*
|
2020-04-28 23:05:28 +02:00
|
|
|
* By Michael Teeuw https://michaelteeuw.nl
|
2016-03-24 17:19:32 +01:00
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
2020-05-11 22:22:32 +02:00
|
|
|
Module.register("clock", {
|
2016-03-24 17:19:32 +01:00
|
|
|
// Module config defaults.
|
|
|
|
defaults: {
|
2016-12-01 19:48:53 -03:00
|
|
|
displayType: "digital", // options: digital, analog, both
|
2016-07-09 16:29:25 -06:00
|
|
|
|
2016-03-29 13:28:15 +02:00
|
|
|
timeFormat: config.timeFormat,
|
2021-08-07 10:05:45 +02:00
|
|
|
timezone: null,
|
|
|
|
|
2016-03-24 17:19:32 +01:00
|
|
|
displaySeconds: true,
|
2016-04-18 19:52:40 -04:00
|
|
|
showPeriod: true,
|
|
|
|
showPeriodUpper: false,
|
2016-07-08 17:16:51 -06:00
|
|
|
clockBold: false,
|
2016-09-11 08:14:28 -07:00
|
|
|
showDate: true,
|
2021-08-29 20:00:55 +02:00
|
|
|
showTime: true,
|
2017-03-28 22:02:30 +02:00
|
|
|
showWeek: false,
|
2017-03-17 14:32:01 +01:00
|
|
|
dateFormat: "dddd, LL",
|
2023-04-01 21:40:05 +02:00
|
|
|
sendNotifications: false,
|
2016-07-09 16:29:25 -06:00
|
|
|
|
2016-07-08 17:16:51 -06:00
|
|
|
/* specific to the analog clock */
|
2016-12-01 19:48:53 -03:00
|
|
|
analogSize: "200px",
|
|
|
|
analogFace: "simple", // options: 'none', 'simple', 'face-###' (where ### is 001 to 012 inclusive)
|
|
|
|
analogPlacement: "bottom", // options: 'top', 'bottom', 'left', 'right'
|
2021-08-07 10:05:45 +02:00
|
|
|
analogShowDate: "top", // OBSOLETE, can be replaced with analogPlacement and showTime, options: false, 'top', or 'bottom'
|
2016-12-01 19:48:53 -03:00
|
|
|
secondsColor: "#888888",
|
2020-01-17 21:52:04 -08:00
|
|
|
|
|
|
|
showSunTimes: false,
|
|
|
|
showMoonTimes: false,
|
|
|
|
lat: 47.630539,
|
2020-05-11 22:22:32 +02:00
|
|
|
lon: -122.344147
|
2016-03-24 17:19:32 +01:00
|
|
|
},
|
|
|
|
// Define required scripts.
|
2020-05-11 22:22:32 +02:00
|
|
|
getScripts: function () {
|
2020-01-17 21:52:04 -08:00
|
|
|
return ["moment.js", "moment-timezone.js", "suncalc.js"];
|
2016-03-24 17:19:32 +01:00
|
|
|
},
|
2016-07-08 17:16:51 -06:00
|
|
|
// Define styles.
|
2020-05-11 22:22:32 +02:00
|
|
|
getStyles: function () {
|
2016-07-08 17:16:51 -06:00
|
|
|
return ["clock_styles.css"];
|
|
|
|
},
|
2016-03-24 17:19:32 +01:00
|
|
|
// Define start sequence.
|
2020-05-11 22:22:32 +02:00
|
|
|
start: function () {
|
2023-03-19 14:32:23 +01:00
|
|
|
Log.info(`Starting module: ${this.name}`);
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2019-02-27 13:33:14 +01:00
|
|
|
// Schedule update interval.
|
2021-03-17 22:29:20 +01:00
|
|
|
this.second = moment().second();
|
|
|
|
this.minute = moment().minute();
|
2019-09-22 17:33:01 +02:00
|
|
|
|
2021-03-17 22:29:20 +01:00
|
|
|
// Calculate how many ms should pass until next update depending on if seconds is displayed or not
|
|
|
|
const delayCalculator = (reducedSeconds) => {
|
|
|
|
const EXTRA_DELAY = 50; // Deliberate imperceptible delay to prevent off-by-one timekeeping errors
|
2020-07-01 19:28:58 +02:00
|
|
|
|
2021-03-17 22:29:20 +01:00
|
|
|
if (this.config.displaySeconds) {
|
2020-06-30 19:51:25 +01:00
|
|
|
return 1000 - moment().milliseconds() + EXTRA_DELAY;
|
2019-09-22 17:33:01 +02:00
|
|
|
} else {
|
2020-07-01 19:28:58 +02:00
|
|
|
return (60 - reducedSeconds) * 1000 - moment().milliseconds() + EXTRA_DELAY;
|
2019-05-18 20:00:53 -04:00
|
|
|
}
|
2019-09-22 17:33:01 +02:00
|
|
|
};
|
|
|
|
|
2021-03-17 22:29:20 +01:00
|
|
|
// A recursive timeout function instead of interval to avoid drifting
|
|
|
|
const notificationTimer = () => {
|
|
|
|
this.updateDom();
|
2019-09-22 17:33:01 +02:00
|
|
|
|
2023-04-01 21:40:05 +02:00
|
|
|
if (this.config.sendNotifications) {
|
|
|
|
// If seconds is displayed CLOCK_SECOND-notification should be sent (but not when CLOCK_MINUTE-notification is sent)
|
|
|
|
if (this.config.displaySeconds) {
|
|
|
|
this.second = moment().second();
|
|
|
|
if (this.second !== 0) {
|
|
|
|
this.sendNotification("CLOCK_SECOND", this.second);
|
|
|
|
setTimeout(notificationTimer, delayCalculator(0));
|
|
|
|
return;
|
|
|
|
}
|
2019-06-03 14:01:27 +02:00
|
|
|
}
|
2023-04-01 21:40:05 +02:00
|
|
|
|
|
|
|
// If minute changed or seconds isn't displayed send CLOCK_MINUTE-notification
|
|
|
|
this.minute = moment().minute();
|
|
|
|
this.sendNotification("CLOCK_MINUTE", this.minute);
|
2019-06-03 14:01:27 +02:00
|
|
|
}
|
2019-09-22 17:33:01 +02:00
|
|
|
|
|
|
|
setTimeout(notificationTimer, delayCalculator(0));
|
|
|
|
};
|
|
|
|
|
2023-04-01 21:40:05 +02:00
|
|
|
// Set the initial timeout with the amount of seconds elapsed as
|
|
|
|
// reducedSeconds, so it will trigger when the minute changes
|
2021-03-17 22:29:20 +01:00
|
|
|
setTimeout(notificationTimer, delayCalculator(this.second));
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2016-03-24 17:19:32 +01:00
|
|
|
// Set locale.
|
|
|
|
moment.locale(config.language);
|
|
|
|
},
|
|
|
|
// Override dom generator.
|
2020-05-11 22:22:32 +02:00
|
|
|
getDom: function () {
|
2021-03-17 22:29:20 +01:00
|
|
|
const wrapper = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
wrapper.classList.add("clock-grid");
|
2016-07-08 17:16:51 -06:00
|
|
|
|
|
|
|
/************************************
|
2021-08-07 10:05:45 +02:00
|
|
|
* Create wrappers for analog and digital clock
|
2016-07-08 17:16:51 -06:00
|
|
|
*/
|
2021-08-07 10:05:45 +02:00
|
|
|
const analogWrapper = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
analogWrapper.className = "clock-circle";
|
2021-08-07 10:05:45 +02:00
|
|
|
const digitalWrapper = document.createElement("div");
|
|
|
|
digitalWrapper.className = "digital";
|
|
|
|
digitalWrapper.style.gridArea = "center";
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2021-08-07 10:05:45 +02:00
|
|
|
/************************************
|
|
|
|
* Create wrappers for DIGITAL clock
|
|
|
|
*/
|
2021-03-17 22:29:20 +01:00
|
|
|
const dateWrapper = document.createElement("div");
|
|
|
|
const timeWrapper = document.createElement("div");
|
|
|
|
const secondsWrapper = document.createElement("sup");
|
|
|
|
const periodWrapper = document.createElement("span");
|
|
|
|
const sunWrapper = document.createElement("div");
|
|
|
|
const moonWrapper = document.createElement("div");
|
|
|
|
const weekWrapper = document.createElement("div");
|
2021-08-07 10:05:45 +02:00
|
|
|
|
2016-03-24 17:19:32 +01:00
|
|
|
// Style Wrappers
|
|
|
|
dateWrapper.className = "date normal medium";
|
|
|
|
timeWrapper.className = "time bright large light";
|
2021-08-07 10:05:45 +02:00
|
|
|
secondsWrapper.className = "seconds dimmed";
|
2020-01-17 21:52:04 -08:00
|
|
|
sunWrapper.className = "sun dimmed small";
|
|
|
|
moonWrapper.className = "moon dimmed small";
|
2019-06-05 10:23:58 +02:00
|
|
|
weekWrapper.className = "week dimmed medium";
|
2016-05-10 16:18:35 +02:00
|
|
|
|
2016-03-24 17:19:32 +01:00
|
|
|
// Set content of wrappers.
|
2016-04-29 11:24:14 -04:00
|
|
|
// The moment().format("h") method has a bug on the Raspberry Pi.
|
2016-04-18 19:12:24 +02:00
|
|
|
// So we need to generate the timestring manually.
|
|
|
|
// See issue: https://github.com/MichMich/MagicMirror/issues/181
|
2021-03-17 22:29:20 +01:00
|
|
|
let timeString;
|
|
|
|
const now = moment();
|
2016-10-24 23:53:34 -03:00
|
|
|
if (this.config.timezone) {
|
|
|
|
now.tz(this.config.timezone);
|
|
|
|
}
|
2017-02-07 23:51:13 +01:00
|
|
|
|
2021-03-17 22:29:20 +01:00
|
|
|
let hourSymbol = "HH";
|
2017-02-08 00:05:28 +01:00
|
|
|
if (this.config.timeFormat !== 24) {
|
|
|
|
hourSymbol = "h";
|
|
|
|
}
|
2017-02-07 23:51:13 +01:00
|
|
|
|
2021-08-07 10:05:45 +02:00
|
|
|
if (this.config.clockBold) {
|
2023-03-19 14:32:23 +01:00
|
|
|
timeString = now.format(`${hourSymbol}[<span class="bold">]mm[</span>]`);
|
2016-04-29 11:24:14 -04:00
|
|
|
} else {
|
2023-03-19 14:32:23 +01:00
|
|
|
timeString = now.format(`${hourSymbol}:mm`);
|
2016-04-29 11:24:14 -04:00
|
|
|
}
|
2016-05-10 16:18:35 +02:00
|
|
|
|
2020-05-11 22:22:32 +02:00
|
|
|
if (this.config.showDate) {
|
2017-03-17 14:32:01 +01:00
|
|
|
dateWrapper.innerHTML = now.format(this.config.dateFormat);
|
2021-08-07 10:05:45 +02:00
|
|
|
digitalWrapper.appendChild(dateWrapper);
|
2016-09-11 08:14:28 -07:00
|
|
|
}
|
2021-08-07 10:05:45 +02:00
|
|
|
|
2021-08-29 20:00:55 +02:00
|
|
|
if (this.config.displayType !== "analog" && this.config.showTime) {
|
2021-08-07 10:05:45 +02:00
|
|
|
timeWrapper.innerHTML = timeString;
|
|
|
|
secondsWrapper.innerHTML = now.format("ss");
|
|
|
|
if (this.config.showPeriodUpper) {
|
|
|
|
periodWrapper.innerHTML = now.format("A");
|
|
|
|
} else {
|
|
|
|
periodWrapper.innerHTML = now.format("a");
|
|
|
|
}
|
|
|
|
if (this.config.displaySeconds) {
|
|
|
|
timeWrapper.appendChild(secondsWrapper);
|
|
|
|
}
|
|
|
|
if (this.config.showPeriod && this.config.timeFormat !== 24) {
|
|
|
|
timeWrapper.appendChild(periodWrapper);
|
|
|
|
}
|
|
|
|
digitalWrapper.appendChild(timeWrapper);
|
2016-04-20 11:42:01 +02:00
|
|
|
}
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2021-08-07 10:05:45 +02:00
|
|
|
/****************************************************************
|
|
|
|
* Create wrappers for Sun Times, only if specified in config
|
|
|
|
*/
|
2020-01-17 21:52:04 -08:00
|
|
|
if (this.config.showSunTimes) {
|
|
|
|
const sunTimes = SunCalc.getTimes(now, this.config.lat, this.config.lon);
|
|
|
|
const isVisible = now.isBetween(sunTimes.sunrise, sunTimes.sunset);
|
2021-03-17 22:29:20 +01:00
|
|
|
let nextEvent;
|
2020-01-18 09:50:43 -08:00
|
|
|
if (now.isBefore(sunTimes.sunrise)) {
|
|
|
|
nextEvent = sunTimes.sunrise;
|
|
|
|
} else if (now.isBefore(sunTimes.sunset)) {
|
|
|
|
nextEvent = sunTimes.sunset;
|
|
|
|
} else {
|
2020-02-13 08:35:09 +01:00
|
|
|
const tomorrowSunTimes = SunCalc.getTimes(now.clone().add(1, "day"), this.config.lat, this.config.lon);
|
2020-01-18 09:50:43 -08:00
|
|
|
nextEvent = tomorrowSunTimes.sunrise;
|
|
|
|
}
|
|
|
|
const untilNextEvent = moment.duration(moment(nextEvent).diff(now));
|
2023-03-19 14:32:23 +01:00
|
|
|
const untilNextEventString = `${untilNextEvent.hours()}h ${untilNextEvent.minutes()}m`;
|
2020-05-11 22:22:32 +02:00
|
|
|
sunWrapper.innerHTML =
|
2023-03-19 14:32:23 +01:00
|
|
|
`<span class="${isVisible ? "bright" : ""}"><i class="fas fa-sun" aria-hidden="true"></i> ${untilNextEventString}</span>` +
|
|
|
|
`<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunrise)}</span>` +
|
|
|
|
`<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunset)}</span>`;
|
2021-08-07 10:05:45 +02:00
|
|
|
digitalWrapper.appendChild(sunWrapper);
|
2020-01-17 21:52:04 -08:00
|
|
|
}
|
2021-08-07 10:05:45 +02:00
|
|
|
|
|
|
|
/****************************************************************
|
|
|
|
* Create wrappers for Moon Times, only if specified in config
|
|
|
|
*/
|
2020-01-17 21:52:04 -08:00
|
|
|
if (this.config.showMoonTimes) {
|
|
|
|
const moonIllumination = SunCalc.getMoonIllumination(now.toDate());
|
|
|
|
const moonTimes = SunCalc.getMoonTimes(now, this.config.lat, this.config.lon);
|
2020-02-09 21:59:51 -08:00
|
|
|
const moonRise = moonTimes.rise;
|
2021-03-17 22:29:20 +01:00
|
|
|
let moonSet;
|
2020-02-09 21:59:51 -08:00
|
|
|
if (moment(moonTimes.set).isAfter(moonTimes.rise)) {
|
|
|
|
moonSet = moonTimes.set;
|
|
|
|
} else {
|
2020-02-13 08:35:09 +01:00
|
|
|
const nextMoonTimes = SunCalc.getMoonTimes(now.clone().add(1, "day"), this.config.lat, this.config.lon);
|
2020-02-09 21:59:51 -08:00
|
|
|
moonSet = nextMoonTimes.set;
|
|
|
|
}
|
|
|
|
const isVisible = now.isBetween(moonRise, moonSet) || moonTimes.alwaysUp === true;
|
2023-03-19 14:32:23 +01:00
|
|
|
const illuminatedFractionString = `${Math.round(moonIllumination.fraction * 100)}%`;
|
2020-05-11 22:22:32 +02:00
|
|
|
moonWrapper.innerHTML =
|
2023-03-19 14:32:23 +01:00
|
|
|
`<span class="${isVisible ? "bright" : ""}"><i class="fas fa-moon" aria-hidden="true"></i> ${illuminatedFractionString}</span>` +
|
|
|
|
`<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${moonRise ? formatTime(this.config, moonRise) : "..."}</span>` +
|
|
|
|
`<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${moonSet ? formatTime(this.config, moonSet) : "..."}</span>`;
|
2021-08-07 10:05:45 +02:00
|
|
|
digitalWrapper.appendChild(moonWrapper);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.config.showWeek) {
|
|
|
|
weekWrapper.innerHTML = this.translate("WEEK", { weekNumber: now.week() });
|
|
|
|
digitalWrapper.appendChild(weekWrapper);
|
2020-01-17 21:52:04 -08:00
|
|
|
}
|
|
|
|
|
2016-07-08 17:16:51 -06:00
|
|
|
/****************************************************************
|
|
|
|
* Create wrappers for ANALOG clock, only if specified in config
|
|
|
|
*/
|
2020-04-20 22:16:23 +02:00
|
|
|
if (this.config.displayType !== "digital") {
|
2016-07-08 17:16:51 -06:00
|
|
|
// If it isn't 'digital', then an 'analog' clock was also requested
|
2016-07-09 16:29:25 -06:00
|
|
|
|
|
|
|
// Calculate the degree offset for each hand of the clock
|
2016-10-24 23:53:34 -03:00
|
|
|
if (this.config.timezone) {
|
|
|
|
now.tz(this.config.timezone);
|
|
|
|
}
|
2021-03-17 22:29:20 +01:00
|
|
|
const second = now.seconds() * 6,
|
2016-07-08 17:16:51 -06:00
|
|
|
minute = now.minute() * 6 + second / 60,
|
|
|
|
hour = ((now.hours() % 12) / 12) * 360 + 90 + minute / 12;
|
|
|
|
|
|
|
|
// Create wrappers
|
2021-08-07 10:05:45 +02:00
|
|
|
analogWrapper.style.width = this.config.analogSize;
|
|
|
|
analogWrapper.style.height = this.config.analogSize;
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2019-06-05 09:32:10 +02:00
|
|
|
if (this.config.analogFace !== "" && this.config.analogFace !== "simple" && this.config.analogFace !== "none") {
|
2023-03-19 14:32:23 +01:00
|
|
|
analogWrapper.style.background = `url(${this.data.path}faces/${this.config.analogFace}.svg)`;
|
2021-08-07 10:05:45 +02:00
|
|
|
analogWrapper.style.backgroundSize = "100%";
|
2017-01-15 19:38:46 +01:00
|
|
|
|
|
|
|
// The following line solves issue: https://github.com/MichMich/MagicMirror/issues/611
|
2021-08-07 10:05:45 +02:00
|
|
|
// analogWrapper.style.border = "1px solid black";
|
|
|
|
analogWrapper.style.border = "rgba(0, 0, 0, 0.1)"; //Updated fix for Issue 611 where non-black backgrounds are used
|
2019-06-05 09:32:10 +02:00
|
|
|
} else if (this.config.analogFace !== "none") {
|
2021-08-07 10:05:45 +02:00
|
|
|
analogWrapper.style.border = "2px solid white";
|
2016-07-08 17:16:51 -06:00
|
|
|
}
|
2021-03-17 22:29:20 +01:00
|
|
|
const clockFace = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
clockFace.className = "clock-face";
|
2016-07-08 17:16:51 -06:00
|
|
|
|
2021-03-17 22:29:20 +01:00
|
|
|
const clockHour = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
clockHour.id = "clock-hour";
|
2023-03-19 14:32:23 +01:00
|
|
|
clockHour.style.transform = `rotate(${hour}deg)`;
|
2023-02-19 21:36:50 +01:00
|
|
|
clockHour.className = "clock-hour";
|
2021-03-17 22:29:20 +01:00
|
|
|
const clockMinute = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
clockMinute.id = "clock-minute";
|
2023-03-19 14:32:23 +01:00
|
|
|
clockMinute.style.transform = `rotate(${minute}deg)`;
|
2023-02-19 21:36:50 +01:00
|
|
|
clockMinute.className = "clock-minute";
|
2016-07-08 17:16:51 -06:00
|
|
|
|
|
|
|
// Combine analog wrappers
|
|
|
|
clockFace.appendChild(clockHour);
|
|
|
|
clockFace.appendChild(clockMinute);
|
2016-07-09 16:29:25 -06:00
|
|
|
|
2016-07-08 18:57:23 -06:00
|
|
|
if (this.config.displaySeconds) {
|
2021-03-17 22:29:20 +01:00
|
|
|
const clockSecond = document.createElement("div");
|
2023-02-19 21:36:50 +01:00
|
|
|
clockSecond.id = "clock-second";
|
2023-03-19 14:32:23 +01:00
|
|
|
clockSecond.style.transform = `rotate(${second}deg)`;
|
2023-02-19 21:36:50 +01:00
|
|
|
clockSecond.className = "clock-second";
|
2016-07-09 16:29:25 -06:00
|
|
|
clockSecond.style.backgroundColor = this.config.secondsColor;
|
2016-07-08 18:57:23 -06:00
|
|
|
clockFace.appendChild(clockSecond);
|
|
|
|
}
|
2021-08-07 10:05:45 +02:00
|
|
|
analogWrapper.appendChild(clockFace);
|
2016-07-08 17:16:51 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/*******************************************
|
2022-12-10 21:17:29 +01:00
|
|
|
* Update placement, respect old analogShowDate even if it's not needed anymore
|
2016-07-08 17:16:51 -06:00
|
|
|
*/
|
2021-08-07 10:05:45 +02:00
|
|
|
if (this.config.displayType === "analog") {
|
2016-07-08 17:16:51 -06:00
|
|
|
// Display only an analog clock
|
2023-05-19 14:52:59 +02:00
|
|
|
if (this.config.showDate) {
|
|
|
|
// Add date to the analog clock
|
|
|
|
dateWrapper.innerHTML = now.format(this.config.dateFormat);
|
|
|
|
wrapper.appendChild(dateWrapper);
|
|
|
|
}
|
|
|
|
if (this.config.analogShowDate === "bottom") {
|
2023-02-19 21:36:50 +01:00
|
|
|
wrapper.classList.add("clock-grid-bottom");
|
2023-05-19 14:52:59 +02:00
|
|
|
} else if (this.config.analogShowDate === "top") {
|
2023-02-19 21:36:50 +01:00
|
|
|
wrapper.classList.add("clock-grid-top");
|
2016-07-08 17:16:51 -06:00
|
|
|
}
|
2022-12-10 21:17:29 +01:00
|
|
|
wrapper.appendChild(analogWrapper);
|
|
|
|
} else if (this.config.displayType === "digital") {
|
|
|
|
wrapper.appendChild(digitalWrapper);
|
2021-08-07 10:05:45 +02:00
|
|
|
} else if (this.config.displayType === "both") {
|
2023-03-19 14:32:23 +01:00
|
|
|
wrapper.classList.add(`clock-grid-${this.config.analogPlacement}`);
|
2022-12-10 21:17:29 +01:00
|
|
|
wrapper.appendChild(analogWrapper);
|
|
|
|
wrapper.appendChild(digitalWrapper);
|
2016-07-08 17:16:51 -06:00
|
|
|
}
|
|
|
|
|
2016-03-24 17:19:32 +01:00
|
|
|
// Return the wrapper to the dom.
|
|
|
|
return wrapper;
|
|
|
|
}
|
2016-10-24 23:53:34 -03:00
|
|
|
});
|