import{j as o,I as n,sh as r,et as p}from"./index-def636a4.js";import{u as m}from"./useToggle-2b3cfa4d.js";import"./componentStyles-41382c67.js";import{F as i}from"./FormInput-8d872744.js";/* empty css                   */import"./ScrollableList-a550bc32.js";import{I as a}from"./InputAdornment-196a5386.js";const g=({...s})=>{const{isOpen:t,toggleOpen:e}=m();return o.jsx(i,{...s,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:e,edge:"end",children:t?o.jsx(r,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{g as P};
