import{a as d}from"./chunk-YQXLYYOT.js";import{f as m}from"./chunk-S3ADKFO2.js";import{Jb as c,Kb as a,Lb as s,Wa as n,gb as o,ic as p,kc as l,lb as i}from"./chunk-CKLXM6EG.js";var g=class r{constructor(t){this.currencyService=t}content="this field is required";getContent(){return this.content.replace(/{{\s*currency\s*}}/g,this.currencyService.getCurrencyLabel())}static \u0275fac=function(e){return new(e||r)(o(d))};static \u0275cmp=i({type:r,selectors:[["app-error-message"]],inputs:{content:"content"},decls:3,vars:1,consts:[[1,"error"],[1,"fa-solid","fa-circle-exclamation"]],template:function(e,f){e&1&&(c(0,"p",0),s(1,"i",1),p(2),a()),e&2&&(n(2),l(" ",f.getContent()," "))},dependencies:[m],styles:[".error[_ngcontent-%COMP%]{color:var(--gray);font-size:16px;font-style:normal;font-weight:700;border-radius:8px;background:var(--light-orange-color);line-height:normal;display:flex;height:auto;padding:4px 8px;align-items:center;align-content:space-between;column-gap:8px;flex-wrap:wrap}.fa-circle-exclamation[_ngcontent-%COMP%]{padding-top:3px;color:var(--secondary-color)}"]})};export{g as a};
