"use strict";(self.webpackChunkuniplusshop=self.webpackChunkuniplusshop||[]).push([[321],{1321:(L,c,t)=>{t.r(c),t.d(c,{LogoutModule:()=>g,routes:()=>u});var l=t(2938),a=t(8393),h=t(1147),s=t(4650),r=t(9132);let m=(()=>{class o{constructor(e,i,p,f){this.sessionService=e,this.cartService=i,this.wishService=p,this.router=f}ngOnInit(){this.sessionService.user=void 0,this.cartService.logout(),this.wishService.logout(),this.router.navigate(["/"]).catch(e=>console.error(e))}}return o.\u0275fac=function(e){return new(e||o)(s.Y36(l.m),s.Y36(a.N),s.Y36(h.Q),s.Y36(r.F0))},o.\u0275cmp=s.Xpm({type:o,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0}),o})();var v=t(6895),d=t(1654);const u=[{path:"",component:m,pathMatch:"full"}];let g=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=s.oAB({type:o}),o.\u0275inj=s.cJS({imports:[v.ez,r.Bz.forChild(u),d.m]}),o})()}}]);