PageSourceSearch

https://replikatie.com/assets/password-input-r-V8R4B2.js

js replikatie.com collected 2026-10-02 01:41:27 UTC 1,251 bytes, 1 lines download raw bytes

1import{r as s,j as e,c as i}from"./index-BRvF9KL5.js";import{I as p}from"./label-DUNkUgV8.js";import{c as o}from"./createLucideIcon-DEyJk1z8.js";const l=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],h=o("eye-off",l);const m=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],x=o("eye",m),j=s.forwardRef(function({className:a,...r},c){const[t,n]=s.useState(!1);return e.jsxs("div",{className:"relative",children:[e.jsx(p,{ref:c,type:t?"text":"password",className:i("pr-10",a),...r}),e.jsx("button",{type:"button",onClick:()=>n(d=>!d),"aria-label":t?"Hide password":"Show password",tabIndex:-1,className:"absolute inset-y-0 right-0 grid w-10 place-items-center text-muted-foreground hover:text-foreground transition-colors",children:t?e.jsx(h,{className:"h-4 w-4"}):e.jsx(x,{className:"h-4 w-4"})})]})});export{j as P};

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.