import{j as o,I as n,k4 as e,ay as p}from"./index-d895656a.js";import{u as m}from"./useToggle-ec04b654.js";import"./GenericThumbnailView-532ea2d7.js";import{F as i}from"./FormInput-9b5da280.js";import"./componentStyles-866300fe.js";import"./ScrollableList-e2b22048.js";import"./TextArea-fb0d0821.js";import"./index.esm-1087b2f3.js";import{I as a}from"./InputAdornment-36977269.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};
