import{j as o,I as n,km as e,aJ as p}from"./index-dc933734.js";import{u as m}from"./useToggle-ac777176.js";import"./GenericThumbnailView-69a8725b.js";import{F as i}from"./FormInput-58d4b01b.js";import"./componentStyles-4df963a1.js";import"./ScrollableList-c8354e44.js";import"./TextArea-80ac5c9b.js";import"./index.esm-288e984c.js";import{I as a}from"./InputAdornment-a4d846b9.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};
