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