import{j as o,I as n,kn as e,aJ as p}from"./index-3141de2d.js";import{u as m}from"./useToggle-c087b809.js";import"./GenericThumbnailView-c2621934.js";import{F as i}from"./FormInput-abff9e70.js";import"./componentStyles-24f97919.js";import"./ScrollableList-fa62971d.js";import"./TextArea-ceaff311.js";import"./index.esm-8b0c9a99.js";import{I as a}from"./InputAdornment-1680248d.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};
