import{j as o,I as n,sh as r,et as p}from"./index-60a3c753.js";import{u as m}from"./useToggle-593ec652.js";import"./componentStyles-7753bbb9.js";import{F as i}from"./FormInput-74e2c4d2.js";/* empty css                   */import"./ScrollableList-1962b023.js";import{I as a}from"./InputAdornment-96c40dce.js";const g=({...s})=>{const{isOpen:t,toggleOpen:e}=m();return o.jsx(i,{...s,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:e,edge:"end",children:t?o.jsx(r,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{g as P};
