import{O as c}from"./index-CRze-aDK.js";import{q as u,C as m,V as d,N as l,K as _,E as i,O as h,P as w,D as n,J as f,R as g,F as C}from"./vendor-BGtMsOoo.js";function B(){const{themeContext:t}=c();return{passwordRequirements:u(()=>{var e,r;return(r=(e=t.value)==null?void 0:e.storeSettings)==null?void 0:r.passwordRequirements})}}const L={class:"ml-3.5 mt-1 list-disc"},R=m({__name:"password-tips",props:{requirements:{}},setup(t){const e=t,{t:r}=d(),o=u(()=>{const s=[];return e.requirements.requireDigit&&s.push(r("password_tips.required_digit")),e.requirements.requireLowercase&&s.push(r("password_tips.required_lowercase")),e.requirements.requireNonAlphanumeric&&s.push(r("password_tips.required_non_alphanumeric")),e.requirements.requireUppercase&&s.push(r("password_tips.required_uppercase")),e.requirements.requiredLength&&s.push(r("password_tips.required_length",[e.requirements.requiredLength],e.requirements.requiredLength)),e.requirements.requiredUniqueChars&&s.push(r("password_tips.required_unique_chars",[e.requirements.requiredUniqueChars],e.requirements.requiredUniqueChars)),s});return(s,k)=>{const a=l("VcAlert");return i(),_(a,{color:"info",variant:"outline",icon:"",title:s.$t("password_tips.title")},{default:h(()=>[w("ul",L,[(i(!0),n(C,null,f(o.value,(p,q)=>(i(),n("li",{key:q},g(p),1))),128))])]),_:1},8,["title"])}}});export{R as _,B as u};
//# sourceMappingURL=password-tips.vue_vue_type_script_setup_true_lang-B130jHb2.js.map
