import{r as s,h as t}from"./p-890a2f7e.js";import{d as a}from"./p-174bac5a.js";import"./p-112455b1.js";const i=class{constructor(t){s(this,t)}render(){let s;const i=this.type;switch(i){default:s=a.format(this.value,i);break;case"email":s=t("a",{href:"mailto:"+this.value},a.format(this.value,i));break;case"phone":s=t("a",{href:"tel:"+this.value},a.format(this.value,i,this.country));break;case"postal-code":s=a.format(this.value,i,this.country);break;case"price":s=a.format(this.value,i,this.currency)}return s}};i.style=".sc-smoothly-display-h{display:block}[hidden].sc-smoothly-display-h{display:none}";export{i as smoothly_display}