1import{d as l,r as f,o as t,c as m,a as c,n as r,af as u,p as h,e as v}from"./vendor.ab7d7e0e.js";import{u as g,F as y,_ as w,a as x}from"./app.42a98c89.js";const n=e=>(h("data-v-4608fc14"),e=e(),v(),e),k={class:"page-access-form"},F={class:"container page-access-form__container"},B=n(()=>c("h1",{class:"page-access-form__title"},"Password required",-1)),I=n(()=>c("p",{class:"page-access-form__text"},"To view this protected article or page, enter the password below:",-1)),S=l({__name:"Form",props:{id:{}},setup(e){const _=e,{verifyPassword:i}=g(),s=f(!1),p=async a=>{if(!!a)try{s.value=!0,await i(_.id,a),u.reload()}catch{alert("The password you entered is not correct."),s.value=!1}};return(a,o)=>(t(),m("section",k,[c("div",F,[B,I,s.value?(t(),r(w,{key:0,class:"page-access-form__loading-card"})):(t(),r(y,{key:1,onSubmit:o[0]||(o[0]=d=>p(d))}))])]))}});const A=x(S,[["__scopeId","data-v-4608fc14"]]);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.