PageSourceSearch

https://aeroportodilampedusa.it/build/assets/UpdatePasswordForm-FTY7ybs-.js

js aeroportodilampedusa.it collected 2026-10-08 05:45:28 UTC 2,597 bytes, 1 lines download raw bytes

1import{r as s,p as e,B as a,v as r,z as o,u as t,t as l,G as n,C as d,T as u,U as p}from"./Void-B0Nbu-Zs.js";import{_ as c,a as m,b as i}from"./TextInput-rdnK3WHF.js";import{P as w}from"./PrimaryButton-BkdjO3bB.js";import{x as f}from"./app-D1-efC5L.js";/* empty css                         */const _={class:"flex items-center gap-4"},v={key:0,class:"text-sm text-gray-600"},y={__name:"UpdatePasswordForm",setup(y){const g=s(null),V=s(null),x=f({current_password:"",password:"",password_confirmation:""}),b=()=>{x.put(route("password.update"),{preserveScroll:!0,onSuccess:()=>x.reset(),onError:()=>{x.errors.password&&(x.reset("password","password_confirmation"),g.value.focus()),x.errors.current_password&&(x.reset("current_password"),V.value.focus())}})};return(s,f)=>(e(),a("section",null,[f[4]||(f[4]=r("header",null,[r("h2",{class:"text-lg font-medium text-gray-900"}," Update Password "),r("p",{class:"mt-1 text-sm text-gray-600"}," Ensure your account is using a long, random password to stay secure. ")],-1)),r("form",{onSubmit:p(b,["prevent"]),class:"mt-6 space-y-6"},[r("div",null,[o(c,{for:"current_password",value:"Current Password"}),o(m,{id:"current_password",ref_key:"currentPasswordInput",ref:V,modelValue:t(x).current_password,"onUpdate:modelValue":f[0]||(f[0]=s=>t(x).current_password=s),type:"password",class:"mt-1 block w-full",autocomplete:"current-password"},null,8,["modelValue"]),o(i,{message:t(x).errors.current_password,class:"mt-2"},null,8,["message"])]),r("div",null,[o(c,{for:"password",value:"New Password"}),o(m,{id:"password",ref_key:"passwordInput",ref:g,modelValue:t(x).password,"onUpdate:modelValue":f[1]||(f[1]=s=>t(x).password=s),type:"password",class:"mt-1 block w-full",autocomplete:"new-password"},null,8,["modelValue"]),o(i,{message:t(x).errors.password,class:"mt-2"},null,8,["message"])]),r("div",null,[o(c,{for:"password_confirmation",value:"Confirm Password"}),o(m,{id:"password_confirmation",modelValue:t(x).password_confirmation,"onUpdate:modelValue":f[2]||(f[2]=s=>t(x).password_confirmation=s),type:"password",class:"mt-1 block w-full",autocomplete:"new-password"},null,8,["modelValue"]),o(i,{message:t(x).errors.password_confirmation,class:"mt-2"},null,8,["message"])]),r("div",_,[o(w,{disabled:t(x).processing},{default:l(()=>f[3]||(f[3]=[n("Save")])),_:1},8,["disabled"]),o(u,{"enter-active-class":"transition ease-in-out","enter-from-class":"opacity-0","leave-active-class":"transition ease-in-out","leave-to-class":"opacity-0"},{default:l(()=>[t(x).recentlySuccessful?(e(),a("p",v," Saved. ")):d("",!0)]),_:1})])],32)]))}};export{y 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.