import{j as o,I as n,l7 as e,aL as p}from"./index-aa25c5ff.js";import{u as m}from"./useToggle-167172a0.js";import"./GenericThumbnailView-e0343bac.js";import{F as i}from"./FormInput-dc74a5d8.js";import"./componentStyles-e32842f3.js";import"./ScrollableList-9498bc37.js";import"./TextArea-d1a16eb1.js";import"./index.esm-a7f661dc.js";import{I as a}from"./InputAdornment-1e7eea92.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};
