"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2244],{42244:function(e,t,n){n.d(t,{XZ:function(){return h.X},II:function(){return i.II},__:function(){return i.__},Wx:function(){return b.W},WU:function(){return p},Ph:function(){return b.P},gx:function(){return m},ZD:function(){return g.Z}});var i=n(4064),r=n(85893),s=n(1213),a=n(27096),l=n(67294),o=n(14222);const u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{for(const n of t)"function"===typeof n?n(e):n&&(n.current=e)}};var c=n(54591);const d={small:35,medium:44},f={small:"1em",medium:"1.25em"},p=(0,l.forwardRef)((function(e,t){let{containerClassName:n,style:p,size:h,...m}=e;const g=(0,l.useRef)(null),{isOpen:b,toggle:x}=(0,o.q)(!1),w=d[null!==h&&void 0!==h?h:i.Kq],k=f[null!==h&&void 0!==h?h:i.Kq],y=(0,l.useCallback)((()=>{const e=g.current;if(e){const t="password"===e.getAttribute("type");e.setAttribute("type",t?"text":"password"),x()}}),[x]);return(0,r.jsxs)(c.x,{display:"flex",alignItems:"center",position:"relative",style:p,children:[(0,r.jsx)(i.II,{...m,size:h,style:{paddingRight:w},ref:u(t,g)}),(0,r.jsx)(c.x,{as:"button",type:"button",onClick:m.disabled?void 0:y,title:"Show password",style:{width:w,height:w},display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:"0",children:b?(0,r.jsx)(s.N,{"aria-label":"Toggle password masking",role:"img",width:k}):(0,r.jsx)(a.b,{"aria-label":"Toggle password masking",role:"img",width:k})})]})}));var h=n(14449);n(47470),n(71539),n(29413),n(61121),n(1051),n(5964),n(56606),n(19320),n(93317);const m=(0,l.forwardRef)(((e,t)=>{let{type:n="text",className:i,size:s="medium",...a}=e;return(0,r.jsx)(c.x,{as:"textarea",width:"100%",textAlign:"inherit",ref:t,className:[i,"wna4kw0 bkp2h66 bkp2h69 _1cidn1c3q _1cidn1c2v bkp2h68",{"bkp2h65 _1cidn1c2u bkp2h64":"small"===s,"bkp2h62 _1cidn1c15i _1cidn1c10m bkp2h61":"medium"===s}],...a})}));m.displayName="Textarea";var g=n(33911),b=n(94932)}}]);