<commit_before><template>
	<div class="vk-auth">
		<a :href="uri"
			>
			Auth to VK
		</a>
	</div>
</template>

<script>
	export default {
		name: 'VkAuth',

		data() {
			return {
				baseUrl: 'https://oauth.vk.com/authorize',
				apiId: 6248210,
				display: 'page',
				redirectUri: 'https://beraliv.github.io/vue-vk-friend-graph',
				scope: 'friends',
				responseType: 'token',
				version: '5.52'
			};
		},

		computed: {
			uri() {
				const clientId = `client_id=${this.apiId}`;
				const display = `display=${this.display}`;
				const redirect = `redirect_uri=${this.redirectUri}`;
				const scope = `scope=${this.scope}`;
				const responseType = `response_type=${this.responseType}`;
				const version = `v=${this.version}`;

				const params = [clientId, display, redirect, scope, responseType, version];

				return `${this.baseUrl}?${params.join('&')}`;
			}
		}
	}
</script><commit_msg>[vue-vk-friend-graph@0.1.1] go back to the first type of app in VK<commit_after><template>
	<div class="vk-auth">
		<a :href="uri"
			>
			Auth to VK
		</a>
	</div>
</template>

<script>
	export default {
		name: 'VkAuth',

		data() {
			return {
				baseUrl: 'https://oauth.vk.com/authorize',
				apiId: 6240559,
				display: 'page',
				redirectUri: 'https://beraliv.github.io/vue-vk-friend-graph',
				scope: 'friends',
				responseType: 'token',
				version: '5.52'
			};
		},

		computed: {
			uri() {
				const clientId = `client_id=${this.apiId}`;
				const display = `display=${this.display}`;
				const redirect = `redirect_uri=${this.redirectUri}`;
				const scope = `scope=${this.scope}`;
				const responseType = `response_type=${this.responseType}`;
				const version = `v=${this.version}`;

				const params = [clientId, display, redirect, scope, responseType, version];

				return `${this.baseUrl}?${params.join('&')}`;
			}
		}
	}
</script>
{'fraction_non_alphanumeric': 0.19022031166039763, 'fraction_numerical': 0.012358946802794197, 'mean_word_length': 3.310185185185185, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 4, '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': '7193699', 'n_tokens_mistral': 822, 'n_tokens_neox': 677, 'n_words': 135}