PageSourceSearch

https://getbadge.app/assets/TextInput-KTbm_3uR.js

js getbadge.app collected 2026-10-04 23:00:14 UTC 1,361 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{a as f}from"./chunk-LFPYN7LY-DOVomWd4.js";import{T as t}from"./nextPage-DhESyp5X.js";const b=f.forwardRef(({label:s,error:a,style:g,inputStyle:h,multiline:m,rows:u=3,prefix:d,onFocus:o,onBlur:r,...p},y)=>{const[i,l]=f.useState(!1),j={display:"flex",alignItems:"center",width:"100%",borderRadius:18,padding:"12px 16px",fontSize:16,fontFamily:t.font,fontWeight:500,border:`1.5px solid ${i?t.inputFocusBorder:t.inputBorder}`,background:i?t.inputFocusBg:t.inputBg,color:t.text,boxShadow:i?"0 0 10px rgba(30,215,96,0.35)":"none",marginTop:32,...g},x={flex:1,minWidth:0,background:"transparent",border:0,outline:0,color:t.text,font:"inherit",padding:0,...h},c={onFocus:n=>{l(!0),o==null||o(n)},onBlur:n=>{l(!1),r==null||r(n)}};return e.jsxs("div",{children:[s&&e.jsx("div",{style:{color:t.text,opacity:.9,fontSize:16,fontWeight:700,marginBottom:8},children:s}),e.jsxs("div",{style:j,children:[d&&e.jsx("span",{style:{color:t.text,fontWeight:700,marginRight:8},children:d}),m?e.jsx("textarea",{rows:u,style:{...x,resize:"none"},...p,...c}):e.jsx("input",{ref:y,style:x,...p,...c})]}),e.jsx("style",{children:"input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.7) }"}),a&&e.jsx("div",{style:{color:t.errorBorder,fontSize:12,marginTop:6},children:a})]})});b.displayName="TextInput";export{b as T};

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.