import{j as o,I as n,kX as e,aL as p}from"./index-458d5762.js";import{u as m}from"./useToggle-20bdd0d1.js";import"./GenericThumbnailView-3cd8dbb5.js";import{F as i}from"./FormInput-3d74947b.js";import"./componentStyles-56425874.js";import"./ScrollableList-ba92364a.js";import"./TextArea-233680fc.js";import"./index.esm-b1b14098.js";import{I as a}from"./InputAdornment-84b43ef6.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};
