import{j as o,I as n,s3 as e,br as p}from"./index-c910e189.js";import{u as m}from"./useToggle-22184636.js";import"./CustomDatepicker-fa2ab383.js";import{F as i}from"./FormInput-a4f22564.js";import"./index-f58a077c.js";import"./ScrollableList-4f192da2.js";import"./index.esm-4b824583.js";import"./SectionDivider-782acfa4.js";import{I as a}from"./InputAdornment-9bf084ba.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};
