<commit_before>import { Injectable } from '@angular/core';

@Injectable()
export class DejaSidenavService {

    public opened: boolean;
    public mode: 'over' | 'side' = 'side';
    public hidden = false;

    constructor() { }

    public open(): void {
        this.opened = true;
    }

    public close(): void {
        this.opened = false;
    }

    public toggle(): void {<commit_msg>quiet(SideNavService): Add license<commit_after>/*
 *  @license
 *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.
 *
 *  Use of this source code is governed by an Apache-2.0 license that can be
 *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE
 */
import { Injectable } from '@angular/core';

@Injectable()
export class DejaSidenavService {

    public opened: boolean;
    public mode: 'over' | 'side' = 'side';
    public hidden = false;

    constructor() { }

    public open(): void {
        this.opened = true;
    }

    public close(): void {
        this.opened = false;
    }

    public toggle(): void {
{'fraction_non_alphanumeric': 0.12256267409470752, 'fraction_numerical': 0.0018570102135561746, 'mean_word_length': 2.8226950354609928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6527597', 'n_tokens_mistral': 337, 'n_tokens_neox': 324, 'n_words': 99}