import{j as o,I as n,lM as e,aM as p}from"./index-952e178b.js";import{u as m}from"./useToggle-471b6d1d.js";import"./GenericThumbnailView-4e535459.js";import{F as i}from"./FormInput-8320115a.js";import"./componentStyles-00160cc0.js";import"./ScrollableList-cd5816a8.js";import"./TextArea-ce7716c9.js";import"./index.esm-6feddb16.js";import{I as a}from"./InputAdornment-020147de.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};
