<commit_before>package com.taig.tmpltr.engine.bootstrap

import com.taig.tmpltr._
import com.taig.tmpltr.engine.html

import play.api.templates.Html

object	button
extends	property.button
{
	class	a( attributes: Attributes )( content: Html )
	extends	markup.a[a]( attributes )( content )
	{
		def this( href: Option[String], target: Option[a.target], style: Option[a.style], size: Option[a.size], disabled: Boolean, attributes: Attributes )( content: Html ) =
		{
			this(
				attributes ++ Attributes(
					"href" -> href,
					"target" -> target,
					"class" -> Seq[Option[_]](
						"btn",
						style,
						size,
						if( disabled ) { "disabled" } else { None } ) )
			)( content )
		}

		protected def copy = new a( _: Attributes )( content )
	}

	object	a
	extends	html.property.a
	with	property.button
	{
		def apply( href: Option[String] = None, target: Option[target] = None, style: style = a.style.default, size: size = a.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): a =
		{
			new a( href, target, style, size, disabled, attributes )( content )
		}
	}
	
	class	button( attributes: Attributes )( content: Html )
	extends	markup.button[button]( attributes )( content )
	{
		def this( `type`: Option[button.`type`], style: Option[button.style], size: Option[button.size], disabled: Boolean, attributes: Attributes )( content: Html ) =
		{
			this(
				attributes ++ Attributes(
					"type" -> `type`,
					"class" -> Seq[Option[_]]( "btn", style, size ) ) ++
				( if( disabled ) Attributes( "disabled" -> "disabled" ) else Attributes.empty )
			)
		}

		protected def copy = new button( _: Attributes )( content )
	}
	
	object	button
	extends	property.button
	{
		def apply( `type`: Option[`type`] = None, style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
		{
			new button( `type`, style, size, disabled, attributes )( content )
		}

		object reset
		{
			def apply( style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
			{
				button( `type`.reset, style, size, disabled, attributes )( content )
			}
		}

		object submit
		{
			def apply( style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
			{
				button( `type`.submit, style, size, disabled, attributes )( content )
			}
		}
	}

	class	input( attributes: Attributes )
	extends	markup.input[input]( attributes )
	{
		def this( `type`: Option[input.`type`], value: Option[String], style: Option[input.style], size: Option[input.size], disabled: Boolean, attributes: Attributes ) =
		{
			this(
				attributes ++ Attributes(
					"type" -> `type`,
					"value" -> value,
					"class" -> Seq[Option[_]]( "btn", style, size ) ) ++
				( if( disabled ) Attributes( "disabled" -> "disabled" ) else Attributes.empty )
			)
		}

		protected def copy = new input( _: Attributes )
	}

	object	input
	extends	property.button
	{
		def apply( `type`: Option[`type`] = None, value: Option[String] = None, style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
		{
			new input( `type`, value, style, size, disabled, attributes )
		}

		object button
		{
			def apply( value: Option[String] = None, style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.button, value, style, size, disabled, attributes )
			}
		}

		object reset
		{
			def apply( value: Option[String] = None, style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.reset, value, style, size, disabled, attributes )
			}
		}

		object submit
		{
			def apply( value: Option[String] = None, style: style = style.default, size: size = size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.submit, value, style, size, disabled, attributes )
			}
		}
	}

	class	close( attributes: Attributes )
	extends	markup.button[close](
	{
		attributes ++ Attributes( "class" -> "close", "aria-hidden" -> "true" )
	} )( Html( "&times;" ) )
	{
		protected def copy = new close( _: Attributes )
	}
	
	object close
	{
		def apply( attributes: Attributes = Attributes.empty ) = new close( attributes )
	}
}<commit_msg>Fixed compilation errors due to illegal references.<commit_after>package com.taig.tmpltr.engine.bootstrap

import com.taig.tmpltr._
import com.taig.tmpltr.engine.html

import play.api.templates.Html

object	button
extends	property.button
{
	class	a( attributes: Attributes )( content: Html )
	extends	markup.a[a]( attributes )( content )
	{
		def this( href: Option[String], target: Option[a.target], style: Option[a.style], size: Option[a.size], disabled: Boolean, attributes: Attributes )( content: Html ) =
		{
			this(
				attributes ++ Attributes(
					"href" -> href,
					"target" -> target,
					"class" -> Seq[Option[_]](
						"btn",
						style,
						size,
						if( disabled ) { "disabled" } else { None } ) )
			)( content )
		}

		protected def copy = new a( _: Attributes )( content )
	}

	object	a
	extends	html.property.a
	with	property.button
	{
		def apply( href: Option[String] = None, target: Option[target] = None, style: style = a.style.default, size: size = a.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): a =
		{
			new a( href, target, style, size, disabled, attributes )( content )
		}
	}
	
	class	button( attributes: Attributes )( content: Html )
	extends	markup.button[button]( attributes )( content )
	{
		def this( `type`: Option[button.`type`], style: Option[button.style], size: Option[button.size], disabled: Boolean, attributes: Attributes )( content: Html ) =
		{
			this(
				attributes ++ Attributes(
					"type" -> `type`,
					"class" -> Seq[Option[_]]( "btn", style, size ) ) ++
				( if( disabled ) Attributes( "disabled" -> "disabled" ) else Attributes.empty )
			)( content )
		}

		protected def copy = new button( _: Attributes )( content )
	}
	
	object	button
	extends	property.button
	{
		def apply( `type`: Option[`type`] = None, style: style = button.style.default, size: size = button.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
		{
			new button( `type`, style, size, disabled, attributes )( content )
		}

		object reset
		{
			def apply( style: style = button.style.default, size: size = button.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
			{
				button( `type`.reset, style, size, disabled, attributes )( content )
			}
		}

		object submit
		{
			def apply( style: style = button.style.default, size: size = button.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty )( content: Html ): button =
			{
				button( `type`.submit, style, size, disabled, attributes )( content )
			}
		}
	}

	class	input( attributes: Attributes )
	extends	markup.input[input]( attributes )
	{
		def this( `type`: Option[input.`type`], value: Option[String], style: Option[input.style], size: Option[input.size], disabled: Boolean, attributes: Attributes ) =
		{
			this(
				attributes ++ Attributes(
					"type" -> `type`,
					"value" -> value,
					"class" -> Seq[Option[_]]( "btn", style, size ) ) ++
				( if( disabled ) Attributes( "disabled" -> "disabled" ) else Attributes.empty )
			)
		}

		protected def copy = new input( _: Attributes )
	}

	object	input
	extends	property.button
	{
		def apply( `type`: Option[`type`] = None, value: Option[String] = None, style: style = input.style.default, size: size = input.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
		{
			new input( `type`, value, style, size, disabled, attributes )
		}

		object button
		{
			def apply( value: Option[String] = None, style: style = input.style.default, size: size = input.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.button, value, style, size, disabled, attributes )
			}
		}

		object reset
		{
			def apply( value: Option[String] = None, style: style = input.style.default, size: size = input.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.reset, value, style, size, disabled, attributes )
			}
		}

		object submit
		{
			def apply( value: Option[String] = None, style: style = input.style.default, size: size = input.size.default, disabled: Boolean = false, attributes: Attributes = Attributes.empty ): input =
			{
				input( `type`.submit, value, style, size, disabled, attributes )
			}
		}
	}

	class	close( attributes: Attributes )
	extends	markup.button[close](
	{
		attributes ++ Attributes( "class" -> "close", "aria-hidden" -> "true" )
	} )( Html( "&times;" ) )
	{
		protected def copy = new close( _: Attributes )
	}
	
	object close
	{
		def apply( attributes: Attributes = Attributes.empty ) = new close( attributes )
	}
}
{'fraction_non_alphanumeric': 0.14443383211291522, 'fraction_numerical': 0.0, 'mean_word_length': 3.5792031098153547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '6607081', 'n_tokens_mistral': 3357, 'n_tokens_neox': 2973, 'n_words': 853}