1import{R as L,j as i}from"./main-react-CZ43MNZ9.js";import{I as $}from"./index-DDbqdK6P.js";import{F as k}from"./index-qwrwhyVF.js";import{c as e}from"./index-mLFX9G4A.js";import{a as v}from"./index-DwFGaSi4.js";import{F as A}from"./index-Dts_OsCg.js";import"./preload-helper-Cdv6RdwI.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./try-parse-json-PNnY1j55.js";import"./index-XdM5tw8C.js";import"./index-DdlCi1f1.js";const B=L.forwardRef(({label:o,errorMessage:m,valid:f,onFocus:_,onChange:u,onKeyUp:c,onKeyDown:h,onClick:x,mandatory:a,value:j,defaultValue:F,error:r,type:t,description:N,descriptionAbove:b,name:s,inputId:d,guid:w,placeholder:R,autoComplete:g,SvgIcon:l,svgIconPlacement:p="left",svgIconSize:n="large",svgHideBorder:E=!1,"aria-label":q},D)=>i.jsxs("div",{className:e("form-field",{"form-field--hidden":t==="hidden"}),children:[o&&i.jsx(k,{text:o,required:a,htmlFor:d||s,className:e("form-field__label",{"form-field__label--error":r,"form-field__label--valid":f})}),i.jsx(A,{description:N,descriptionAbove:b,children:i.jsxs("div",{className:"form-field__input-wrapper",children:[!!l&&i.jsx("div",{className:e("form-field__input-icon",{"form-field__input-icon--right":p==="right","form-field__input-icon--small":n==="small","form-field__input-icon--large":n==="large","form-field__input-icon--no-border":E}),"aria-hidden":"true",role:"presentation",children:i.jsx(l,{})}),i.jsx($,{error:r,ref:D,onChange:u,onFocus:_,onKeyUp:c,onKeyDown:h,onClick:x,value:j,defaultValue:F,type:t,id:d,className:e("form-field__input",{"form-field__input--error":r,"form-field__input--valid":f,"form-field__input--with-icon":!!l,"form-field__input--with-icon-right":p==="right"}),guid:w,name:s,mandatory:a,placeholder:R,autoComplete:g,"aria-label":q})]})}),r&&m&&i.jsx(v,{children:m})]}));B.displayName="Input";export{B as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.