PageSourceSearch

https://app.eval.health/assets/LoginPage-DGOx_MLv.js

js eval.health collected 2026-10-04 05:29:29 UTC 4,075 bytes, 1 lines download raw bytes

1import{h as S,L as A}from"./aws-amplify-DDwuoVLl.js";import{d as B,ap as q,t as M,e as P,c as f,af as V,y as d,h as W,i as a,x as s,l as o,u as e,k as c,w as i,a as m,b as v}from"./vue-core-DfJsrA89.js";import{a as I,c as L}from"./main-ByQ8GSFB.js";import{Z as G,b8 as N}from"./ui-shared-Bo_MaXf-.js";import{a7 as x,d as u}from"./vuetify-Da9XcOcU.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./eval-player-CK1WaEfa.js";import"./pdfmake-PJasvNkI.js";import"./vue-advanced-cropper-Bq3pCNKS.js";import"./tiptap-cQx_pDrH.js";const E={class:"d-flex flex-column align-center justify-center mt-3 mb-10"},F={class:"text-center mt-4 text-body-2 text-eval-grey-d2"},R={class:"mx-8"},j={class:"text-h4"},U={class:"mt-1 text-body-2 text-eval-grey-d2"},$={class:"mt-10 mb-12 mx-8 text-center"},D=["data-label"],T={class:"text-center mb-10"},Z=["data-label"],H={class:"mt-10 pb-12 mx-8 text-center"},J={class:"text-caption text-eval-grey-d3"},lt=B({__name:"LoginPage",setup(K){const{t,locale:y}=G(),r=q(),p=I(),{pricingUrl:_}=L(),{toForgotPassword:b}=M(S()),l=P(!1),g=f(()=>r.query.message==="trial-expired"?t("auth.login.trialExpiredMessage"):r.query.message==="no-account"?t("auth.login.noAccountMessage"):r.query.message==="session-error"?t("auth.login.sessionErrorMessage"):null),h=f(()=>r.query.reason==="user_suspended"?t("auth.login.userSuspended"):r.query.reason==="account_suspended"?t("auth.login.accountSuspended"):null);async function k(){l.value=!0;try{await p.signInWithSocialProvider("Google")}finally{l.value=!1}}async function w(){l.value=!0;try{await p.signInWithSocialProvider("Apple")}finally{l.value=!1}}return(O,n)=>{const C=V("router-link");return d(),W("div",E,[a("p",F,[s(o(e(t)("auth.login.justBrowsing"))+" ",1),c(C,{to:{name:"Community"},class:"text-eval-action-text"},{default:i(()=>[s(o(e(t)("auth.login.exploreCommunity")),1)]),_:1})]),g.value?(d(),m(x,{key:0,type:"warning",variant:"tonal",color:"eval-caution-text",border:"start",density:"compact",class:"mt-5 mb-4 caution-alert",style:{"max-width":"500px",width:"100%"}},{default:i(()=>[s(o(g.value),1)]),_:1})):v("",!0),(d(),m(e(A),{key:e(y),"hide-sign-up":!0},{header:i(()=>n[2]||(n[2]=[a("div",{class:"text-center mb-4 flex-box"}," ",-1)])),"sign-in-header":i(()=>[a("div",R,[a("p",j,o(e(t)("auth.login.welcomeBack")),1),a("p",U,o(e(t)("auth.login.chooseMethod")),1)]),h.value?(d(),m(x,{key:0,type:"error",variant:"tonal",class:"mx-8 mt-4"},{default:i(()=>[s(o(h.value),1)]),_:1})):v("",!0),a("div",$,[c(u,{variant:"tonal",color:"primary",rounded:"5",block:!0,class:"text-capitalize text-body-1",loading:l.value,onClick:n[0]||(n[0]=z=>k())},{prepend:i(()=>n[3]||(n[3]=[a("img",{src:"https://www.gstatic.com/images/branding/product/2x/googleg_48dp.png",alt:"Google icon",class:"google-icon",width:"20"},null,-1)])),default:i(()=>[s(" "+o(e(t)("auth.common.continueWithGoogle")),1)]),_:1},8,["loading"]),c(u,{variant:"tonal",color:"primary",rounded:"5",block:!0,class:"text-capitalize text-body-1 mt-4","prepend-icon":e(N),loading:l.value,onClick:n[1]||(n[1]=z=>w())},{default:i(()=>[s(o(e(t)("auth.common.continueWithApple")),1)]),_:1},8,["prepend-icon","loading"])]),a("hr",{"aria-orientation":"horizontal",class:"mb-5 amplify-divider amplify-divider--horizontal amplify-divider--small amplify-divider--label","data-size":"small","data-label":e(t)("auth.common.or")},null,8,D)]),"sign-in-footer":i(()=>[a("div",T,[c(u,{variant:"plain",class:"text-capitalize",onClick:e(b)},{default:i(()=>[s(o(e(t)("auth.login.forgotPassword")),1)]),_:1},8,["onClick"])]),a("hr",{"aria-orientation":"horizontal",class:"amplify-divider amplify-divider--horizontal amplify-divider--small amplify-divider--label mt-4","data-size":"small","data-label":e(t)("auth.common.or")},null,8,Z),a("div",H,[s(o(e(t)("auth.login.signUpFree"))+" ",1),c(u,{variant:"flat",color:"eval-action-surface",block:!0,class:"mt-7 text-capitalize text-body-1",href:e(_)},{default:i(()=>[s(o(e(t)("auth.login.startFree")),1)]),_:1},8,["href"]),a("span",J,o(e(t)("auth.login.noCardRequired")),1)])]),_:1}))])}}});export{lt 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.