import{a as pt}from"./chunk-K5LWDKQQ.js";import"./chunk-KUCP2VDQ.js";import"./chunk-BYXBJQAS.js";import"./chunk-SKSF5WRX.js";import{a as ft}from"./chunk-ENMFTS26.js";import"./chunk-P66RO3KJ.js";import"./chunk-5NB3MOJB.js";import"./chunk-Q6JJUNJG.js";import{a as L}from"./chunk-TFD7V66G.js";import{a as dt}from"./chunk-HYFDCJ4V.js";import{a as at,b as S}from"./chunk-ZURUU5AZ.js";import"./chunk-HUIYCCBF.js";import{a as et,b as C}from"./chunk-ZYFBUEA5.js";import"./chunk-Q465MAI7.js";import"./chunk-I3GJPWI3.js";import{c as Q,d as tt}from"./chunk-R5OOSKPE.js";import{D as it,E as rt,G as v,H as k,I as lt,J as st,M as mt,N as E,O as ct,P as F,o as h,q as D,s as b,t as P,u as O,v as Y,w as y,x as w}from"./chunk-VF4SIIO7.js";import{a as I,b as K}from"./chunk-3JAJZ4ZR.js";import{$ as ot,X as nt,aa as _}from"./chunk-SIRN2M67.js";import{k as Z,o as x}from"./chunk-ZEDFMZ3B.js";import{$a as G,C as j,Jb as p,Lb as B,Ub as J,Vb as a,Wb as $,Yb as W,Zb as u,_ as q,_a as m,da as V,ea as X,ha as g,lb as A,mb as H,nb as c,o as z,pb as T,r as N,wb as t,xb as e,yb as f}from"./chunk-PEWEDMBK.js";var gt=(()=>{let o=class o{};o.\u0275fac=function(s){return new(s||o)},o.\u0275cmp=g({type:o,selectors:[["bgui-account"]],standalone:!0,features:[u],decls:1,vars:0,template:function(s,n){s&1&&f(0,"router-outlet")},dependencies:[x,Q],encapsulation:2});let i=o;return i})();var U=(()=>{let o=class o{constructor(r){this.http=r,this.ApiVerifAuthUrl=`${L.apiBaseUrl}/api/token/verify/`,this.apiURL=`${L.apiBaseUrl}/user-info/`,this.ApiRefAuthUrl=`${L.apiBaseUrl}/api-token-refresh/`,this.httpOptions={headers:new I({"Content-Type":"application/json"})},this.errors=[]}verifyToken(r){let s=new I({"Content-Type":"application/json","X-CSRFToken":"eiasfUdm3tAA1j8nJYoL3fqBR6uFk3dJ7XCffWJ7v3oAGBXHKW4rWXxL1FoRUnXZ"}),n={token:r};return this.http.post(this.ApiVerifAuthUrl,n,{headers:s,observe:"response"}).pipe(N(l=>({status:l.status===200,data:l.body})),j(l=>(console.error("An error occurred:",l),z({status:!1}))))}login(r,s){let n=new I({Accept:"application/json","Content-Type":"application/json","X-CSRFToken":"6EZeWkpQaDPitcgEckosv48y2bLvYlFbv2heOldXY9EbfeGnwLGBjd0uclhLqt0n",Authorization:"Basic "+btoa(`${r}:${s}`)});return this.http.get(this.apiURL,{headers:n,observe:"response"}).pipe(N(l=>l.status===200?(console.log("Connexion r\xE9ussie"),{status:!0,data:l.body}):(console.error("\xC9chec de la connexion :",l.statusText),{status:!1,error:l.statusText})),j(l=>(console.error("Une erreur s'est produite lors de la requ\xEAte :",l),z({status:!1,error:"Une erreur s'est produite lors de la requ\xEAte."}))))}refreshToken(){return this.http.post(this.ApiRefAuthUrl,{token:this.token},this.httpOptions).subscribe(r=>{console.log(r)},r=>{this.errors=r.error})}logout(){this.token="",this.token_expires,this.username=""}updateData(r){this.token=r,this.errors=[];let s=r.split(/\./),n=JSON.parse(atob(s[1]));this.token_expires=new Date(n.exp*1e3),this.username=n.username}};o.\u0275fac=function(s){return new(s||o)(V(K))},o.\u0275prov=q({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();function ht(i,o){i&1&&(t(0,"div"),a(1,"username est Requis!"),e())}function bt(i,o){if(i&1&&(t(0,"div",34),A(1,ht,2,0,"div",35),e()),i&2){let M=B();m(),c("ngIf",M.user.errors==null?null:M.user.errors.required)}}function Pt(i,o){i&1&&(t(0,"div"),a(1," Le mot de passe est obligatoire "),e())}function Ot(i,o){i&1&&(t(0,"div"),a(1," Le mot de passe doit contenir au moins 5 caract\xE8res "),e())}function yt(i,o){if(i&1&&(t(0,"div",34),A(1,Pt,2,0,"div",35)(2,Ot,2,0,"div",35),e()),i&2){let M=B();m(),c("ngIf",M.user.password.errors==null?null:M.user.password.errors.required),m(),c("ngIf",M.user.password.errors==null?null:M.user.password.errors.minlength)}}var xt=(()=>{let o=class o{constructor(r){this.authService=r,this.router=X(tt),this.images=[{imageSrc:"./assets/images/carousel-auth/orange-with-variant.png",imageAlt:"nature1"},{imageSrc:"./assets/images/carousel-auth/silver-modern-with-variant.png",imageAlt:"nature1"}],this.username=new Y("",[D.required]),this.password=new Y("",[D.required]),this.user={username:"",password:""},this.hide=!0,this.isActive=!1,this.msgAuth=""}getErrorMessage(){return this.username.hasError("required")?"Impossible de trouver votre compte Beasy":this.username.hasError("email")?"Identifiant non valide":""}getErrorAuth(){this.msgAuth=""}ngOnInit(){this.user={username:"",password:""}}login(){console.log("Username:",this.user.username),console.log("Password:",this.user.password),this.authService.login(this.user.username,this.user.password).subscribe(r=>{if(console.log("currentUser=>",r.data),r.status){console.log("Connexion r\xE9ussie");let s=r.data;console.log("userInfos",s),this.router.navigate(["/admin"])}else console.error("\xC9chec de la connexion :",r.error)},r=>{console.error("Erreur lors de la connexion :",r)})}refreshToken(){this.authService.refreshToken()}logout(){this.authService.logout()}onSubmit(){}};o.\u0275fac=function(s){return new(s||o)(G(U))},o.\u0275cmp=g({type:o,selectors:[["bgui-login-standard-user"]],standalone:!0,features:[W([U]),u],decls:55,vars:14,consts:[[1,"fxt-template-animation","fxt-template-layout20","imagedefont"],[1,"container"],[1,"row","fxt-bg-color","fxt-templateshadow-01"],[1,"col-xl-7","col-lg-6","col-12","fxt-none-991","fxt-bg-img"],[3,"images","autoSlide"],[1,"col-xl-5","col-lg-6","col-12"],[1,"fxt-content"],[1,"fxt-header"],["href","#",1,"fxt-logo"],["src","/assets/images/logo/logo-text-beasy.svg","height","70","alt","Logo"],[2,"color","red"],[1,"fxt-socials"],[1,"fxt-form"],["name","form",3,"ngSubmit"],["f","ngForm"],[1,"form-group"],[1,"fxt-transformY-50","fxt-transition-delay-1"],["appearance","fill",1,"gui-form-width"],["matInput","","placeholder","pat@example.com","name","email","required","",3,"ngModel","click","ngModelChange"],["class","form_error","style","color: red",4,"ngIf"],[1,"fxt-transformY-50","fxt-transition-delay-2"],["matInput","","id","password","name","password","required","","minlength","5",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","",3,"click"],[1,"fxt-transformY-50","fxt-transition-delay-3"],[1,"fxt-checkbox-area"],[1,"checkbox"],[1,"caption"],["href","auth/forgot-password",1,"switcher-text"],[1,"form-group","m-b-125"],[1,"fxt-transformY-50","fxt-transition-delay-4"],["mat-raised-button","","shape-semi-round","","color","primary",1,"w-100",3,"disabled","click"],[1,"fxt-footer"],[1,"fxt-transformY-50","fxt-transition-delay-5"],["href","auth/register",1,"switcher-text2","inline-text"],[1,"form_error",2,"color","red"],[4,"ngIf"]],template:function(s,n){if(s&1&&(t(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),f(4,"bgui-carousel",4),e(),t(5,"div",5)(6,"div",6)(7,"div",7)(8,"a",8),f(9,"img",9),e(),t(10,"h2"),a(11,"Bienvenue!"),e(),t(12,"p"),a(13,"Se connecter avec son compte"),e(),t(14,"p",10),a(15),e(),f(16,"ul",11),e(),t(17,"div",12)(18,"form",13,14),p("ngSubmit",function(){return n.user.valid&&n.onSubmit()}),t(20,"div",15)(21,"div",16)(22,"mat-form-field",17)(23,"mat-label"),a(24,"Identifiant"),e(),t(25,"input",18),p("click",function(){return n.getErrorAuth()})("ngModelChange",function(d){return n.user.username=d}),e()()(),A(26,bt,2,1,"div",19),e(),t(27,"div",15)(28,"div",20)(29,"mat-form-field",17)(30,"mat-label"),a(31,"Mot de passe"),e(),t(32,"input",21),p("ngModelChange",function(d){return n.user.password=d}),e(),t(33,"button",22),p("click",function(){return n.hide=!n.hide}),t(34,"mat-icon"),a(35,"visibility"),e()()()(),A(36,yt,3,2,"div",19),e(),t(37,"div",15)(38,"div",23)(39,"div",24)(40,"div",25)(41,"mat-checkbox",26),a(42,"Se souvenir de moi"),e()(),t(43,"a",27),a(44,"Mot de passe oubli\xE9?"),e()()()(),t(45,"div",28)(46,"div",29)(47,"button",30),p("click",function(){return n.login()}),a(48," Connectez-vous "),e()()()()(),t(49,"div",31)(50,"div",32)(51,"p"),a(52," Nouveau sur notre plateforme?"),t(53,"a",33),a(54,"Cr\xE9er un compte"),e()()()()()()()()()),s&2){let l=J(19);m(2),T("mat-elevation-z1",!n.isActive),m(2),c("images",n.images)("autoSlide",!0),m(11),$(n.msgAuth),m(10),c("ngModel",n.user.username),m(),c("ngIf",n.username.errors&&l.submitted&&n.username.touched&&n.username.invalid),m(6),c("type",n.hide?"password":"text")("ngModel",n.user.password),m(),H("aria-label","Hide password")("aria-pressed",n.hide),m(3),c("ngIf",l.submitted),m(11),c("disabled",l.invalid)("disabled",!n.password)}},dependencies:[x,Z,dt,E,mt,lt,st,k,w,h,b,P,it,rt,F,ct,_,nt,ot,C,et,S,at,v,y,O],styles:['*[_ngcontent-%COMP%]{font-family:Roboto}.fxt-template-layout20[_ngcontent-%COMP%]{min-height:100vh;background-color:#f4f6f8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media only screen and (max-width: 991px){.fxt-template-layout20[_ngcontent-%COMP%]{padding:15px}}@media only screen and (min-width: 1380px){.fxt-template-layout20[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:958.5px}}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-checkbox-area[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:40px;-ms-flex-wrap:wrap;flex-wrap:wrap}.fxt-template-layout20[_ngcontent-%COMP%] .bgui-bg-color-grey[_ngcontent-%COMP%]{background-color:#f4f5f7}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-bg-color[_ngcontent-%COMP%]{background-color:#fff;padding:0}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-bg-img[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center;background-size:cover;margin:0;padding:15px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{border-radius:15px;padding:25px 10px 25px 0;width:100%}@media only screen and (max-width: 1199px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:100px 35px 70px 50px}}@media only screen and (max-width: 991px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:100px 70px 70px}}@media only screen and (max-width: 767px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:80px 50px 50px}}@media only screen and (max-width: 575px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:60px 30px 30px}}@media only screen and (max-width: 479px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:50px 20px 20px}}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-templateshadow-01[_ngcontent-%COMP%]{border-radius:15px;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-header[_ngcontent-%COMP%]{text-align:left}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-logo[_ngcontent-%COMP%]{display:block;margin-bottom:27px;margin-left:auto;margin-right:auto;max-width:40vw}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;font-weight:700;margin-bottom:25px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-otp-logo[_ngcontent-%COMP%]{margin-bottom:20px;display:block;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-otp-label[_ngcontent-%COMP%]{margin-bottom:15px;font-size:18px;font-weight:500;text-align:center;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;color:#111;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{position:relative;z-index:1;margin-bottom:.5rem}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .m-b-125[_ngcontent-%COMP%]{margin-bottom:1.25rem}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{min-height:50px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #e7e7e7;padding:10px 15px;color:#111}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:25px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%] .fxt-form-col[_ngcontent-%COMP%]{padding:10px 5px;text-align:center;margin-right:10px;flex-basis:0;flex-grow:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%] .fxt-form-col[_ngcontent-%COMP%]:last-child{margin-right:0}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-btn[_ngcontent-%COMP%]{margin-bottom:10px}.fxt-template-layout20[_ngcontent-%COMP%] .mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{border-radius:8px 8px 0 0!important;padding:.4em .75em 0!important}.fxt-template-layout20[_ngcontent-%COMP%] .mat-raised-button[_ngcontent-%COMP%]{line-height:40px;border-radius:8px;font-size:14px;font-weight:500;width:100%;margin-bottom:10px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;cursor:pointer;display:inline-block;font-size:17px;font-weight:500;-webkit-box-shadow:none;box-shadow:none;outline:none;border:0;color:#fff;border-radius:3px;background-color:#6b79fd;padding:10px 36px;margin-bottom:10px;width:100%;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]:hover{background-color:#4f5fec;border-color:#4f5fec}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]:focus{outline:none}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text[_ngcontent-%COMP%]{font-size:12px;margin-bottom:5px;display:block;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2[_ngcontent-%COMP%]{font-size:15px;display:inline-block;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2.inline-text[_ngcontent-%COMP%]{margin-left:3px}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%]{overflow:hidden;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;font-weight:300;margin-bottom:30px;font-size:20px;color:#a4a4a4;display:inline-block;position:relative;padding:0 25px;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:before{display:inline-block;content:"";height:1px;width:100%;background-color:#ebebeb;left:100%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:after{display:inline-block;content:"";height:1px;width:100%;background-color:#ebebeb;right:100%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%]{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:-5px;margin-left:-5px;margin-bottom:20px}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{max-width:100%;-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;padding-left:5px;padding-right:5px;margin-bottom:10px}@media only screen and (max-width: 575px){.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}}@media only screen and (max-width: 350px){.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;font-size:14px;height:45px;color:#fff;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{border-radius:2px 0 0 2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:45px;height:45px}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-facebook[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#4867aa}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-facebook[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#5676bb}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-twitter[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#3cf}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-twitter[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#3dc5f3}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-google[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#db4437}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-google[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#e75042}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding-left:5px;margin-right:30px;margin-bottom:5px}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-left:20px;color:#a4a4a4;margin-bottom:0;font-size:12px;position:relative}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:"";position:absolute;width:16px;height:16px;top:4px;left:0;margin-left:-5px;border:1px solid;border-color:#dcdcdc;border-radius:3px;background-color:#fff;-webkit-transition:border .15s ease-in-out,color .15s ease-in-out;-o-transition:border .15s ease-in-out,color .15s ease-in-out;transition:border .15s ease-in-out,color .15s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{position:absolute;margin-left:-20px;padding-left:3px;font-size:10px;color:#555}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{font-family:"Font Awesome 5 Free";content:"\\f00c";font-weight:900;color:#fff;left:15px;top:4px}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before{background-color:#6b79fd;border-color:#6b79fd}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%]{text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-resend-wrap[_ngcontent-%COMP%]{margin-bottom:10px;display:inline-flex;flex-wrap:wrap;justify-content:center;font-size:18px;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]{margin-left:3px;box-shadow:none;border:0;background-color:transparent;cursor:pointer;padding:0;text-decoration:underline;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]:focus{outline:none}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .text-or[_ngcontent-%COMP%]{margin-left:3px;color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .gui-form-width[_ngcontent-%COMP%]{display:block}']});let i=o;return i})();var Mt=(()=>{let o=class o{constructor(){this.images=[{imageSrc:"./assets/images/carousel-auth/orange-with-variant.png",imageAlt:"nature1"},{imageSrc:"./assets/images/carousel-auth/silver-modern-with-variant.png",imageAlt:"nature1"}],this.isActive=!1}register(){}};o.\u0275fac=function(s){return new(s||o)},o.\u0275cmp=g({type:o,selectors:[["bgui-register"]],standalone:!0,features:[u],decls:43,vars:7,consts:[[1,"fxt-template-animation","fxt-template-layout20","imagedefont","m-125","d-flex","justify-content-center","align-items-center"],[1,"container-fluid"],[1,"row","fxt-bg-color","fxt-templateshadow-01"],[1,"row","mt-5"],[1,"col"],[1,"col-4"],[1,"card","shadow"],[1,"card-body"],["href","#",1,"fxt-logo"],["src","/assets/images/logo/logo-text-beasy.svg","height","70","alt","Logo"],[1,"mb-3"],[1,"text-dark","text-muted"],["for","exampleInputName",1,"form-label"],["type","text","name","name",1,"form-control",3,"ngModel","ngModelChange"],["for","exampleInputLastName",1,"form-label"],["type","text","name","lastName",1,"form-control",3,"ngModel","ngModelChange"],["for","exampleInputEmail1",1,"form-label"],["type","email","name","email",1,"form-control",3,"ngModel","ngModelChange"],["for","exampleInputPassword1",1,"form-label"],["type","password","name","password",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-info",3,"click"],[1,"row"],[1,"col-md-8"],["href","auth/login-standard-user",2,"text-decoration","none"],[1,"text-danger"]],template:function(s,n){s&1&&(t(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),f(4,"div",4),t(5,"div",5)(6,"div",6)(7,"div",7)(8,"form")(9,"a",8),f(10,"img",9),e(),t(11,"div",10)(12,"h4",11),a(13,"Creer un compte"),e()(),t(14,"div",10)(15,"label",12),a(16,"Nom"),e(),t(17,"input",13),p("ngModelChange",function(d){return n.name=d}),e()(),t(18,"div",10)(19,"label",14),a(20,"Prenoms"),e(),t(21,"input",15),p("ngModelChange",function(d){return n.lastName=d}),e()(),t(22,"div",10)(23,"label",16),a(24,"Email"),e(),t(25,"input",17),p("ngModelChange",function(d){return n.email=d}),e()(),t(26,"div",10)(27,"label",18),a(28,"Password"),e(),t(29,"input",19),p("ngModelChange",function(d){return n.password=d}),e()(),t(30,"div",10)(31,"label",18),a(32,"Confirmer mot de passe"),e(),t(33,"input",19),p("ngModelChange",function(d){return n.cfPassword=d}),e()(),t(34,"button",20),p("click",function(){return n.register()}),a(35," S'enregistrer "),e(),t(36,"div",21)(37,"div",22)(38,"a",23),a(39,"J'ai deja un compte ? "),t(40,"span",24),a(41,"Se Connecter"),e()()()()()()()(),f(42,"div",4),e()()()()),s&2&&(m(2),T("mat-elevation-z1",!n.isActive),m(15),c("ngModel",n.name),m(4),c("ngModel",n.lastName),m(4),c("ngModel",n.email),m(4),c("ngModel",n.password),m(4),c("ngModel",n.cfPassword))},dependencies:[x,E,k,w,h,b,P,F,_,C,S,v,y,O]});let i=o;return i})();var Ct=(()=>{let o=class o{forgotPassword(){throw new Error("Method not implemented.")}};o.\u0275fac=function(s){return new(s||o)},o.\u0275cmp=g({type:o,selectors:[["bgui-forgot-password"]],standalone:!0,features:[u],decls:22,vars:1,consts:[[1,"container-fluid"],[1,"row","mt-5"],[1,"col"],[1,"col-4"],[1,"card","shadow"],[1,"card-body"],[1,"mb-3"],[1,"text-dark","text-muted"],["for","exampleInputEmail1",1,"form-label"],["type","email","name","email","placeholder","Veuillez entrer votre Adresse mail",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-info",3,"click"],[1,"",2,"display","block"],[1,"col-md-8"],["href","auth/login-standard-user",2,"text-decoration","none"],[1,"text-danger"]],template:function(s,n){s&1&&(t(0,"div",0)(1,"div",1),f(2,"div",2),t(3,"div",3)(4,"div",4)(5,"div",5)(6,"form")(7,"div",6)(8,"h4",7),a(9," R\xE9initialiser votre mot de passe "),e()(),t(10,"div",6)(11,"label",8),a(12,"Email"),e(),t(13,"input",9),p("ngModelChange",function(d){return n.email=d}),e()(),t(14,"button",10),p("click",function(){return n.forgotPassword()}),a(15," Envoy\xE9 lien "),e(),t(16,"div",11)(17,"div",12)(18,"a",13)(19,"span",14),a(20,"Se Connecter"),e()()()()()()()(),f(21,"div",2),e()()),s&2&&(m(13),c("ngModel",n.email))},dependencies:[x,E,k,w,h,b,P,F,_,C,S,v,y,O]});let i=o;return i})();var ke=[{path:"",component:gt,children:[{path:"",redirectTo:"login-standard-user",pathMatch:"full"},{path:"login-standard-user",component:xt},{path:"login-admin",component:pt},{path:"register",component:Mt},{path:"forgot-password",component:Ct},{path:"create_users",component:ft}]}];export{ke as authRoutes};