<commit_before>RocketChat.TabBar = new class
	$tabBar = {}
	$tabButtons = {}

	buttons = new ReactiveVar {}

	animating = false
	open = new ReactiveVar false
	template = new ReactiveVar ''
	data = new ReactiveVar {}

	setTemplate = (t, callback) ->
		return if animating is true
		template.set t
		if t
			openFlex(callback)

	getTemplate = ->
		return template.get()

	setData = (d) ->
		data.set d

	getData = ->
		return data.get()

	openFlex = (callback) ->
		return if animating is true
		toggleFlex 1, callback

	closeFlex = (callback) ->
		return if animating is true<commit_msg>Revert "Fix flex being opened on joining channel"<commit_after>RocketChat.TabBar = new class
	$tabBar = {}
	$tabButtons = {}

	buttons = new ReactiveVar {}

	animating = false
	open = new ReactiveVar false
	template = new ReactiveVar ''
	data = new ReactiveVar {}

	setTemplate = (t, callback) ->
		return if animating is true
		template.set t
		openFlex(callback)

	getTemplate = ->
		return template.get()

	setData = (d) ->
		data.set d

	getData = ->
		return data.get()

	openFlex = (callback) ->
		return if animating is true
		toggleFlex 1, callback

	closeFlex = (callback) ->
		return if animating is true
{'fraction_non_alphanumeric': 0.105, 'fraction_numerical': 0.0016666666666666668, 'mean_word_length': 3.335740072202166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '7239547', 'n_tokens_mistral': 434, 'n_tokens_neox': 391, 'n_words': 124}