1import{r as s,j as e,t}from"./index-r-KClxtY.js";/* empty css */const a=({password:a,setIsAuthenticated:r})=>{const[n,o]=s.useState("");return e.jsxs("div",{className:"PasswordProtect-wrapper",children:[e.jsx("h2",{className:"page-title",children:"Accesso Riservato"}),e.jsx("div",{className:"Form-wrapper",children:e.jsxs("form",{onSubmit:s=>{s.preventDefault(),n===a?r(!0):alert(t.notices.invalid_password)},children:[e.jsxs("div",{className:"input-wrapper text-group",children:[e.jsx("label",{className:"input-label",children:"Password:"}),e.jsx("input",{className:"input-text input",type:"password",value:n,onChange:s=>{o(s.target.value)}})]}),e.jsx("button",{className:"Button-wrapper main-btn ctacolor",type:"submit",children:t.common.forms.confirmCta})]})})]})};export{a 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.