import{j as o,I as n,mi as e,aM as p}from"./index-e79f7aad.js";import{u as m}from"./useToggle-e7e97db4.js";import"./GenericThumbnailView-8a83a30c.js";import{F as i}from"./FormInput-07daa19d.js";import"./componentStyles-7718fc5e.js";import"./ScrollableList-5929779e.js";import"./TextArea-ec29d1d5.js";import"./index.esm-1ca67d65.js";import{I as a}from"./InputAdornment-d42c17cd.js";const y=({...r})=>{const{isOpen:t,toggleOpen:s}=m();return o.jsx(i,{...r,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:s,edge:"end",children:t?o.jsx(e,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{y as P};
