var e=[`username`,`giftname`,`repeatcount`,`coins`,`likecount`,`totallikecount`,`comment`,`submonth`],t={username:`Usuario`,giftname:`Rosa`,repeatcount:`3`,coins:`15`,likecount:`20`,totallikecount:`1500`,comment:`¡Hola!`,submonth:`6`};function n(n,r){return n&&(r?n.replace(/\{(\w+)\}/g,(t,n)=>{let i=String(n).toLowerCase();return i in r?r[i]:e.includes(i)?``:t}):n.replace(/\{(\w+)\}/g,(e,n)=>t[String(n).toLowerCase()]??e))}export{n,e as t};