1import{L as r,ad as a,ah as n,aw as t,aq as i,an as d,N as c,O as l,R as u,a9 as h}from"./entry.AWzPAgp7.js";const g={name:"Logout",data(){return{secondsLeft:5,loggedInWithSwissPass:!1,logoutError:!1}},head(){return{title:"User - Logout"}},computed:{...a({__:"config/__"}),message(){if(this.logoutError)return this.__("user.logout.error");let e=this.__("You have been logged out. You will be redirected in %seconds% seconds.");return e=e.replace("%seconds%",this.secondsLeft),e}},async mounted(){this.$bus.$on("logoutFinished",this.startRedirectCountdown),this.$bus.$on("logoutError",this.showError),this.loggedInWithSwissPass=await n.getUser(),this.$bus?.$emit(t.LOGOUT_USER_WITHOUT_REDIRECT,!1),this.$nextTick(()=>{this.$digitalDataLayer.pushPage({},!1,"",document.referrer)}),this.coloredHeader()},methods:{...i({coloredHeader:"navigation/coloredHeader"}),showError(){this.logoutError=!0},startRedirectCountdown(){const e=this,s=async function(){e.secondsLeft>0&&e.secondsLeft--,e.secondsLeft<1&&(clearInterval(e.intervalId),e.$bus?.$emit(t.REDIRECT_AFTER_LOGOUT,e.loggedInWithSwissPass))};e.intervalId=d(s,1e3)}}},_={class:"container",style:{"margin-top":"10rem","margin-bottom":"3rem"}};function f(e,s,m,p,E,o){return c(),l("div",_,[u("h2",null,h(o.message),1)])}const w=r(g,[["render",f],["__scopeId","data-v-d73e2da3"]]);export{w 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.