<commit_before>import { Component, Input } from '@angular/core'

@Component({
 selector: 'accordion-box',
  templateUrl: 'accordion-box.html'
})

export class AccordionBox {
	@Input() accordionTitle;
	@Input() scrollToTop: string;
	
	private title;
	private expanded:boolean = false;

	constructor() { }
	
	ngOnInit(){
	this.title = this.accordionTitle;
	}
	
	onClick(event){
	this.expanded = !this.expanded;
	if(this.scrollToTop !== "false" && this.expanded === true){
  		var target = event.target.parentElement; 
  		setTimeout(function(){
  			target.scrollIntoView(true);
  		} , 100);
  	}
  	
  }

}<commit_msg>Changes for US 7.5 & 7.6, DEF 212, 216, 260<commit_after>import { Component, Input } from '@angular/core'

@Component({
 selector: 'accordion-box',
  templateUrl: 'accordion-box.html'
})

export class AccordionBox {
	@Input() accordionTitle;
	@Input() scrollToTop: string;
	
	private title;
	private expanded:boolean = false;

	constructor() { }
	
	ngOnInit(){
	this.title = this.accordionTitle;
	}
	
	onClick(event){
	this.expanded = !this.expanded;
	if(this.scrollToTop !== "false" && this.expanded === true){
  		var target = event.target.parentElement; 
  		setTimeout(function(){
  			target.scrollIntoView(true);
  		} , 100);
  	}
  	
  }
  
  	expand(bool : boolean) {
		this.expanded = bool;
	}

}
{'fraction_non_alphanumeric': 0.1510574018126888, 'fraction_numerical': 0.014350453172205438, 'mean_word_length': 3.835766423357664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5972701', 'n_tokens_mistral': 515, 'n_tokens_neox': 471, 'n_words': 92}