'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-cd6fab62.js');
const price = require('./price-4a45d4fd.js');
require('./default-i18n-072e75d7.js');
require('./index-20b57ec7.js');
require('./_commonjsHelpers-537d719a.js');

const ScFormatInterval = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    /** The number to format. */
    this.value = 0;
    this.interval = '';
    this.every = '/';
    this.fallback = '';
  }
  render() {
    return price.translateInterval(this.value, this.interval, ` ${this.every}`, this.fallback);
  }
};

exports.sc_format_interval = ScFormatInterval;
