import{j as o,I as n,l6 as e,aL as p}from"./index-e6164346.js";import{u as m}from"./useToggle-0addaaea.js";import"./GenericThumbnailView-80c6fd98.js";import{F as i}from"./FormInput-859198ec.js";import"./componentStyles-00385170.js";import"./ScrollableList-5a17e8f4.js";import"./TextArea-f5c200de.js";import"./index.esm-0a041314.js";import{I as a}from"./InputAdornment-59975edf.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};
