import{k as e,E as r,c1 as t,bo as n,Q as a,ao as l,c0 as o,a8 as c,q as s,a7 as u}from"./index-WdfADTOW.js";const i=i=>{const g=s(),{back:d}=e();return r(u,{w:{"@initial":"$full","@md":"$lg"},p:"$8",spacing:"$3",alignItems:"start",get children(){return[r(t,{get children(){return i.title}}),r(n,{autofocus:!0,type:"password",get value(){return i.password()},get background(){return a("$neutral3","$neutral2")()},onKeyDown:e=>{"Enter"===e.key&&i.enterCallback()},onInput:e=>i.setPassword(e.currentTarget.value)}),r(l,{w:"$full",justifyContent:"space-between",get children(){return[r(o,{fontSize:"$sm",color:"$neutral10",direction:{"@initial":"column","@sm":"row"},columnGap:"$1",get children(){return i.children}}),r(l,{spacing:"$2",get children(){return[r(c,{colorScheme:"neutral",onClick:d,get children(){return g("global.back")}}),r(c,{onClick:()=>i.enterCallback(),get children(){return g("global.ok")}})]}})]}})]}})};export{i as default};
