import{j as o,I as n,mu as e,aN as p}from"./index-60657852.js";import{u as m}from"./useToggle-04d5760d.js";import"./GenericThumbnailView-f8b17afa.js";import{F as i}from"./FormInput-6b018fe9.js";import"./componentStyles-19763afb.js";import"./ScrollableList-ef4c85dc.js";import"./TextArea-d897dbf9.js";import"./index.esm-509a598d.js";import{I as a}from"./InputAdornment-12fc79ce.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};
