1import {Controller} from '@hotwired/stimulus' 2import {CookieUtils} from 'sites/cookie_utils' 3import {Storage} from 'common/storage' 4 5export default class extends Controller { 6 static values = {current: Boolean} 7 signOut() { 8 if (this.currentValue) { 9 CookieUtils.removeTrackingCookie() 10 CookieUtils.removeSessionCookie() 11 Storage.clear() 12 } 13 window.location.reload(true) 14 } 15}
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.