<commit_before><?php
//
// Copyright (c) 2020-2021 <NAME> <<EMAIL>>
// Created by <NAME> <<EMAIL>>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//

defined("XYO_CLOUD") or die("Access is denied");

$hasMessage=false;
if($this->isAlert()){
	$hasMessage=true;
};
if($this->isError()){
	$hasMessage=true;
	$msgLang = "error.unknown";
	$msg = $this->getError();
	if ($msg) {
		if (is_array($msg)) {
			reset($msg);
			$msgLang = key($msg);
		}else{
			$msgLang = $msg;
		};
	};
	if($msgLang=="element"){
		$hasMessage=false;
	};
};

?>
<div class="xui application -has-toolbar<?php if($hasMessage&&(!$this->useNotify)){echo " -has-message";}; ?>">
	<div class="xui app-toolbar <?php  if($this->isEmbedded){echo " -compact -wide";}; ?>" id="<?php echo $this->instanceV; ?>xui-app-toolbar">
	<?php if($this->isEmbedded){ ?>
		<style>
		.xui.application .xyo-app-application-info_embedded_icon {
			height:32px;
			padding: 6px;
			display: inline-block;
		}

		.xui.application .xyo-app-application-info_embedded_text {
			height:32px;<commit_msg>embedded<commit_after><?php
//
// Copyright (c) 2020-2021 <NAME> <<EMAIL>>
// Created by <NAME> <<EMAIL>>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//

defined("XYO_CLOUD") or die("Access is denied");

$hasMessage=false;
if($this->isAlert()){
	$hasMessage=true;
};
if($this->isError()){
	$hasMessage=true;
	$msgLang = "error.unknown";
	$msg = $this->getError();
	if ($msg) {
		if (is_array($msg)) {
			reset($msg);
			$msgLang = key($msg);
		}else{
			$msgLang = $msg;
		};
	};
	if($msgLang=="element"){
		$hasMessage=false;
	};
};

?>
<div class="xui application -has-toolbar<?php if($hasMessage&&(!$this->useNotify)){echo " -has-message";}; if($this->isEmbedded){echo " -embedded";}; ?>">
	<div class="xui app-toolbar <?php  if($this->isEmbedded){echo " -compact -wide";}; ?>" id="<?php echo $this->instanceV; ?>xui-app-toolbar">
	<?php if($this->isEmbedded){ ?>
		<style>
		.xui.application .xyo-app-application-info_embedded_icon {
			height:32px;
			padding: 6px;
			display: inline-block;
		}

		.xui.application .xyo-app-application-info_embedded_text {
			height:32px;
{'fraction_non_alphanumeric': 0.2295539033457249, 'fraction_numerical': 0.012081784386617101, 'mean_word_length': 4.436868686868687, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 48, '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': '7319232', 'n_tokens_mistral': 900, 'n_tokens_neox': 825, 'n_words': 141}