import{j as o,I as n,l8 as e,aL as p}from"./index-5ae5cc5e.js";import{u as m}from"./useToggle-e92be28d.js";import"./GenericThumbnailView-fac7773c.js";import{F as i}from"./FormInput-77541d96.js";import"./componentStyles-7d84c389.js";import"./ScrollableList-2ee889f8.js";import"./TextArea-20f097f8.js";import"./index.esm-bd37e938.js";import{I as a}from"./InputAdornment-c8af61f0.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};
