import{a2 as m}from"./index-BjgfEvRF.js";import{m as u,F as c,ag as d,P as l,_,R as i,a1 as h,T as w,Q as n,a7 as f,a0 as g,a6 as C}from"./vendor-DYYUXsKb.js";function B(){const{themeContext:t}=m();return{passwordRequirements:u(()=>t.value?.storeSettings?.passwordRequirements)}}const L={class:"ml-3.5 mt-1 list-disc"},R=c({__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,k)=>{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{R as _,B as u};
//# sourceMappingURL=password-tips.vue_vue_type_script_setup_true_lang-yv4Rbm32.js.map
