import{j as o,I as n,k4 as e,ay as p}from"./index-c5c88b67.js";import{u as m}from"./useToggle-88e8998b.js";import"./GenericThumbnailView-43782201.js";import{F as i}from"./FormInput-86f14880.js";import"./componentStyles-a5e5a830.js";import"./ScrollableList-21ab2b9c.js";import"./TextArea-aad9dffe.js";import"./index.esm-81620445.js";import{I as a}from"./InputAdornment-d66117f3.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};
