import{proxyCustomElement,HTMLElement}from"@stencil/core/internal/client";import{t as translateInterval}from"./price.js";const ScFormatInterval$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.value=0,this.interval="",this.every="/",this.fallback=""}render(){return translateInterval(this.value,this.interval,` ${this.every}`,this.fallback)}},[0,"sc-format-interval",{value:[2],interval:[1],every:[1],fallback:[1]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-format-interval"].forEach((e=>{"sc-format-interval"===e&&(customElements.get(e)||customElements.define(e,ScFormatInterval$1))}))}const ScFormatInterval=ScFormatInterval$1,defineCustomElement=defineCustomElement$1;export{ScFormatInterval,defineCustomElement};