1import{e as s,o as a,f as h,b as t,F as c,c as m,h as B,n as d,w as i,r as F,a as l,g as L,v as p}from"#entry";import{_ as x,a as $}from"./CBPO_DSc.js";import{_ as C}from"./DKcmooq5.js";import{_ as N}from"./D6RDVBX6.js";import{_ as V}from"./BvOJxzfH.js";const A={key:0,class:"global-error auth-dashboard-msg"},H=["innerHTML"],T={class:"submit"},j={type:"submit",class:"btn btn-gray btn-arrow a-btn-login"},z={class:"auth-links"},E={__name:"LoginForm",props:["mode"],setup(o){return(D,r)=>{const n=B,u=$,b=x,g=C,w=N,k=V;return a(),s(c,null,[o.mode!="checkout"?(a(),s(c,{key:0},[o.mode=="aw-login"?(a(),m(n,{key:0,tag:"div",class:"aw-login-title",code:"login_title"})):(a(),m(n,{key:1,tag:"h2",class:d(["a-subtitle",[o.mode]]),code:"login"},null,8,["class"]))],64)):h("",!0),t(k,{class:d(["form-label ajax_siteform",o.mode=="checkout"?"wc-login-form":"auth-form auth-login-form"]),"submit-url":o.mode=="checkout"?"webshop_customer":"auth"},{default:i(({fields:y,formError:f})=>[f?(a(),s("div",A,[t(n,{code:f},null,8,["code"])])):h("",!0),(a(!0),s(c,null,F(y,e=>(a(),m(b,{key:e.name,item:e},{default:i(({errorMessage:_,floatingLabel:v})=>[l("p",{class:d(["field",["field-"+e.name,{"ffl-floated":v}]])},[e.name=="remember_me"?(a(),s(c,{key:0},[t(u,{id:o.mode=="aw-login"?e.name+"ub":e.name},null,8,["id"]),t(n,{tag:"label",for:o.mode=="aw-login"?e.name+"ub":e.name,code:e.name},null,8,["for","code"])],64)):(a(),s(c,{key:1},[t(n,{tag:"label",for:o.mode=="aw-login"?e.name+"ub":e.name,code:e.name},null,8,["for","code"]),t(u,{id:o.mode=="aw-login"?e.name+"ub":e.name},null,8,["id"])],64)),L(l("span",{class:"error",innerHTML:_},null,8,H),[[p,_]])],2)]),_:2},1032,["item"]))),128)),t(w,null,{default:i(({urls:e})=>[o.mode=="aw-login"||o.mode=="checkout"?(a(),s("div",{key:0,class:d({"auth-buttons":o.mode=="aw-login","wc-login-btns":o.mode=="checkout"})},[l("button",{type:"submit",class:d({"btn aw-btn-login":o.mode=="aw-login","btn btn-gray btn-wc-login g-recaptcha":o.mode=="checkout"})},[t(n,{code:"login",tag:"span"})],2),l("div",{class:d({"auth-link":o.mode=="aw-login","auth-links":o.mode=="checkout"})},[t(g,{to:e.auth_forgotten_password,class:"btn-forgotten","data-auth_login":"forgotten_password","data-siteform_response":"show_hide","data-siteform_response_hide":"-1"},{default:i(()=>[t(n,{code:"forgotten_password",tag:"div"})]),_:1},8,["to"])],2)],2)):(a(),s(c,{key:1},[l("p",T,[l("button",j,[t(n,{code:"login",tag:"span"})])]),l("p",z,[t(g,{to:e.auth_forgotten_password,class:"btn-forgotten","data-auth_login":"forgotten_password","data-siteform_response":"show_hide","data-siteform_response_hide":"-1"},{default:i(()=>[t(n,{code:"forgotten_password",tag:"div"})]),_:1},8,["to"])]),r[0]||(r[0]=l("div",{class:"form-login-forgotten-cnt"},null,-1))],64))]),_:1})]),_:1},8,["class","submit-url"])],64)}}};export{E as _};
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.