import{j as o,I as n,kn as e,aJ as p}from"./index-83d9c1e2.js";import{u as m}from"./useToggle-b581a326.js";import"./GenericThumbnailView-ceecb14e.js";import{F as i}from"./FormInput-03b7722e.js";import"./componentStyles-7858e543.js";import"./ScrollableList-2bb71a63.js";import"./TextArea-7d949f4d.js";import"./index.esm-82874186.js";import{I as a}from"./InputAdornment-4b0a9854.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};
