PageSourceSearch

https://foxar.education/assets/login-PBFzyjsH.js

js foxar.education collected 2026-10-02 15:57:54 UTC 3,347 bytes, 1 lines download raw bytes

1import{_ as y,o as n,c as i,a as s,e as _,m as p,t as a,q as d,s as h,w as c,v as x,T as k,p as v,f as b}from"./index-q6fX08c6.js";import"./index.esm-B9cghPlf.js";import{b as m}from"./route-block-B_A1xBdJ.js";const f={name:"Login",setup(){return window.location.href="https://connect.foxar.fr/unifox/login?old=1",null}},r=l=>(v("data-v-7c939de7"),l=l(),b(),l),u={class:"rounded-2xl bg-white p-6 min-w-20 flex flex-col justify-center items-center"},g=["src"],w={key:0,class:"min-h-14"},C={key:0},T={class:"text-md text-systemPink my-6 text-center"},E=r(()=>s("label",{for:"username"},"Identifiant",-1)),S={key:0,class:"text-center mt-6"},j={key:1,class:"flex flex-col justify-center items-center"},M=r(()=>s("label",{for:"pass"},"Mot de passe",-1)),I=r(()=>s("button",{type:"submit",class:"text-white btn rounded-full text-lg shadow-md mt-6 bg-systemBlue"},"Connexion",-1)),V={key:2,class:"flex flex-col justify-center items-center"},B=r(()=>s("label",{for:"pass"},"Téléphone",-1)),F=[B],N={key:3,class:"mt-6"},D={key:1,class:"min-h-14 flex flex-col justify-center items-center"},L=r(()=>s("p",{class:"text-2xl text-ardoise"},"Connexion en cours",-1)),P=r(()=>s("p",{class:"text-2xl text-ardoise"},"...",-1)),U=[L,P],q={key:2,class:"min-h-14 flex flex-col justify-center items-center"},A=r(()=>s("p",{class:"text-2xl text-systemPink"},"Échec de connexion",-1)),z={class:"text-lg text-ardoise my-6"},G={class:"mt-3"};function H(l,o,J,e,K,O){return n(),i("div",u,[s("img",{class:"h-20 w-20 mb-6",src:e.foxar_logo,alt:"Logo Foxar",width:"2160",height:"2160"},null,8,g),_(k,{name:"fade",mode:"out-in"},{default:p(()=>[e.state==="init"?(n(),i("div",w,[e.errorMessage!==""?(n(),i("div",C,[s("p",T,a(e.errorMessage),1)])):d("",!0),s("form",{novalidate:"",onSubmit:o[9]||(o[9]=h((...t)=>e.onSubmit&&e.onSubmit(...t),["prevent"])),class:"flex flex-col justify-center items-center"},[E,c(s("input",{id:"username",type:"text",class:"rounded-lg mb-3","onUpdate:modelValue":o[0]||(o[0]=t=>e.username=t),onClick:o[1]||(o[1]=(...t)=>e.resetError&&e.resetError(...t)),onFocus:o[2]||(o[2]=(...t)=>e.resetError&&e.resetError(...t))},null,544),[[x,e.username]]),e.connexionType===""?(n(),i("div",S,[s("div",{class:"btn btn-connexion-type",onClick:o[3]||(o[3]=t=>e.connexionTypeClicked("password"))},"Connexion par mot de passe"),s("div",{class:"btn btn-connexion-type hidden",onClick:o[4]||(o[4]=t=>e.connexionTypeClicked("phone"))},"Connexion (bientôt)")])):e.connexionType==="password"?(n(),i("div",j,[M,c(s("input",{id:"pass",type:"password",class:"rounded-lg mb-3","onUpdate:modelValue":o[5]||(o[5]=t=>e.pass=t),onClick:o[6]||(o[6]=(...t)=>e.resetError&&e.resetError(...t)),onFocus:o[7]||(o[7]=(...t)=>e.resetError&&e.resetError(...t))},null,544),[[x,e.pass]]),I])):e.connexionType==="phone"?(n(),i("div",V,F)):d("",!0),e.connexionType!==""?(n(),i("div",N,[s("div",{class:"text-link cursor-pointer",onClick:o[8]||(o[8]=t=>e.connexionType="")},"Autres modes de connexion")])):d("",!0)],32)])):e.state==="check"?(n(),i("div",D,U)):e.state==="error"?(n(),i("div",q,[A,s("p",z,a(e.errorMessage),1),s("div",G,[s("button",{type:"button",class:"text-link",onClick:o[10]||(o[10]=(...t)=>e.retry&&e.retry(...t))},"Essayer à nouveau")])])):d("",!0)]),_:1})])}typeof m=="function"&&m(f);const X=y(f,[["render",H],["__scopeId","data-v-7c939de7"]]);export{X 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.