PageSourceSearch

https://www.rubi.com/_nuxt/DGJoOELZ.js

js rubi.com collected 2026-09-24 21:09:01 UTC 2,892 bytes, 1 lines download raw bytes

1import{a as k,r as d,O as S,P as C,o as V,d as b,i as p,t as f,e as a,p as e,g as t,ah as T,h as B,V as F,v as M,T as N}from"./lSEScxMR.js";import{a as R}from"./c1acF2YX.js";import{u as U}from"./Cj0M3OaI.js";import{V as _}from"./_4sCsn_G.js";import{V as u}from"./CSJYI_TJ.js";import{V as w}from"./DzUI7l7B.js";import{V as $}from"./Ct0ArgXc.js";import{V as A}from"./C4dfpq_R.js";import"./BjV8vQkB.js";import"./DZ_4m-2H.js";import"./BeyitL0N.js";/* empty css        */import"./BOLEaw5m.js";import"./CgwFEqwA.js";import"./yDJ7LhJs.js";import"./C6iiLbLe.js";import"./DY7PVvcf.js";import"./D_qxKlPu.js";import"./CXBP6wpV.js";import"./Bkbzuvk5.js";const E={class:"textStyle-24 default py-3"},I=["innerHTML"],H={key:0,class:"v-row"},L={class:"text-red-rubi text-center w-100"},ie={__name:"SignIn",emits:["callback"],setup(j,{emit:v}){const g=U();let y=v;const{t:o}=k();let m=d(""),c=d(!1);d(!1);const n=d(!1),l=S({email:"",password:"",remember:!1,emailRules:[r=>!!r||o("form_error_required"),async r=>await R(r)||o("form_error_valid_email")]}),{login:h}=C(),x=async()=>{m.value="";try{(await c.value.validate()).valid&&(await h({identifier:l.email,password:l.password}),await g.updateUserMarket(),y("callback"))}catch(r){r.error.name==="ValidationError"?m.value=o("form_error_login_validation_error"):m.value=r.error.message}};return(r,s)=>(V(),b("div",null,[p("h3",E,f(a(o)("modal_club_sign_in_title")),1),e(A,{class:"py-4",ref_key:"loginForm",ref:c,onSubmit:N(x,["prevent"])},{default:t(()=>[e(_,null,{default:t(()=>[e(u,{cols:"12",md:"6",class:"pt-3"},{default:t(()=>[e(w,{modelValue:l.email,"onUpdate:modelValue":s[0]||(s[0]=i=>l.email=i),rules:l.emailRules,"bg-color":"white",label:`${a(o)("form_label_email")}*:`,variant:"outlined"},null,8,["modelValue","rules","label"])]),_:1}),e(u,{cols:"12",md:"6",class:"pt-3"},{default:t(()=>[e(w,{modelValue:l.password,"onUpdate:modelValue":s[1]||(s[1]=i=>l.password=i),"append-inner-icon":a(n)?"mdi-eye":"mdi-eye-off","bg-color":"white",label:`${a(o)("form_label_password")}*:`,type:a(n)?"text":"password","onClick:appendInner":s[2]||(s[2]=i=>n.value=!a(n)),variant:"outlined"},null,8,["modelValue","append-inner-icon","label","type"])]),_:1})]),_:1}),e(_,{class:"align-center"},{default:t(()=>[e(u,{cols:"12",md:"6",class:"pt-3"},{default:t(()=>[e($,{modelValue:l.remember,"onUpdate:modelValue":s[3]||(s[3]=i=>l.remember=i),color:"red",value:"Remember","hide-details":""},{label:t(()=>[p("span",{innerHTML:a(o)("form_label_remember_me")},null,8,I)]),_:1},8,["modelValue"])]),_:1}),e(u,{cols:"12",md:"6",class:"pt-3 d-flex justify-md-end"},{default:t(()=>[T(r.$slots,"forward")]),_:3})]),_:3}),a(m)?.length?(V(),b("div",H,[p("p",L,f(a(m)),1)])):B("",!0),e(_,null,{default:t(()=>[e(F,{size:"large",type:"submit",class:"w-100 btn-red",variant:"flat"},{default:t(()=>[M(f(a(o)("button_sign_in")),1)]),_:1})]),_:1})]),_:3},512)]))}};export{ie 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.