1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b23db105-ae80-449f-bab6-4031993106bd",e._sentryDebugIdIdentifier="sentry-dbid-b23db105-ae80-449f-bab6-4031993106bd")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t as n}from"./react-DuV36FPs.js";import{t as a}from"./prop-types-Ccm1EFGL.js";import{t}from"./formatClasses-DEp3Ml96.js";import{K as o}from"./index-CRc22cjs.js";import{t as s}from"./FormLayoutContext-CsyD3FrV.js";var r=e(n()),l=e(a()),i=o(),p=r.forwardRef((function({id:e,name:n,value:a,type:o="text",variant:l="normal",disabled:p=!1,invalid:d=!1,placeholder:u=null,prepend:m,append:c,step:f=null,min:b=null,max:y=null,maxLength:g=null,rows:x=5,autocomplete:h=!0,autofocus:w=!1,clearField:j=!1,onChange:C,onEscape:_,onEnter:v,onBlur:E,onFocus:F},k){const D=(0,r.useContext)(s),I=t("input",{small:"small"===l,invalid:d,"with-clear":j,"with-prepend":m,"with-append":c,...D.inputs||{}}),O={id:e,name:n,ref:k,value:a,type:o,disabled:p,placeholder:u,step:f,min:b,max:y,maxLength:g,onChange:C,onBlur:E,onFocus:F};!1===h&&(O.autoComplete="off",O.autoCorrect="off",O.autoCapitalize="off",O.spellCheck="false"),!0===w&&(O.autoFocus=!0),(_||v)&&(O.onKeyDown=e=>{!_||"Esc"!==e.key&&"Escape"!==e.key?v&&"Enter"===e.key&&v():_()}),C||(O.readOnly=!0);const T=j&&a&&String(a).length>0;return(0,i.jsxs)("span",{className:I,children:[m&&(0,i.jsx)("span",{className:"input__prepend",children:m}),"textarea"===o?(0,i.jsx)("textarea",{"data-testid":`textarea-${e}`,rows:x,...O}):(0,i.jsx)("input",{"data-testid":`input-${e}`,...O,size:4}),T&&(0,i.jsx)("span",{className:"input__clear",onClick:()=>C(""),children:"Ã"}),c&&(0,i.jsx)("span",{className:"input__append",children:c})]})}));p.propTypes={id:l.string,name:l.string,value:l.oneOfType([l.string,l.number]),type:l.oneOf(["text","textarea","number","password"]),variant:l.oneOf(["normal","small"]),disabled:l.bool,invalid:l.bool,autocomplete:l.bool,autofocus:l.bool,clearField:l.bool,placeholder:l.string,prepend:l.string,append:l.oneOfType([l.string,l.element]),step:l.number,min:l.number,max:l.number,maxLength:l.number,rows:l.number,onChange:l.func,onBlur:l.func,onFocus:l.func,onEscape:l.func,onEnter:l.func};export{p as t}; 2//# sourceMappingURL=Input-DyTKUKsx.js.map
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.