import{j as o,I as n,s3 as e,br as p}from"./index-55b8aeb0.js";import{u as m}from"./useToggle-24d42bce.js";import"./CustomDatepicker-9892b2ee.js";import{F as i}from"./FormInput-6413815f.js";import"./index-7c560a47.js";import"./ScrollableList-a069ff95.js";import"./index.esm-8f37a121.js";import"./SectionDivider-0fcc86df.js";import{I as a}from"./InputAdornment-a1329ca0.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};
