import{j as o,I as n,k4 as e,ay as p}from"./index-4dfc510b.js";import{u as m}from"./useToggle-4d390b1e.js";import"./GenericThumbnailView-6256cad7.js";import{F as i}from"./FormInput-f887e69c.js";import"./componentStyles-df94248d.js";import"./ScrollableList-bef4a518.js";import"./TextArea-a0cc14f3.js";import"./index.esm-0a454763.js";import{I as a}from"./InputAdornment-ccd6e8ff.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};
