/* harmony default export */

/* harmony import */

/*#__PURE__*/

/**
* Displays a timer that will trigger a predefined callback when the time is up. An example use case is the timing of quizzes.
*
* @property {boolean} active - flag that can be toggled to start or pause the timer
* @property {number} duration - duration in seconds for the timer
* @property {boolean} invisible - controls whether the timer should be hidden
* @property {boolean} belowZero - controls whether timer continues counting after the duration is exhausted
* @property {string} id - the unique `string` ID for the timer. If an ID is set, the timer component is persistent over page refreshes
* @property {string} legend - text displayed in front of the timer
* @property {Object} style - CSS inline styles
* @property {Function} onTimeUp - callback invoked when the timer runs out
*/

/**
* Formats a negative time in the format `minutes:seconds`.
*
* @private
* @param {number} time - time in minutes
* @returns {string} formatted time string of the format `minutes:seconds`
*/

/**
* Formats a positive time in the format `minutes:seconds`.
*
* @private
* @param {number} time - time in seconds
* @returns {string} formatted time string of the format `minutes:seconds`
*/

/***/

// EXPORTS //

// Exports

// FUNCTIONS //

// MAIN //

// MODULES //

// Module

// PROPERTIES //

// Pad minutes and seconds with zeroes:
