
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: style-states.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Elementor\Modules\AtomicWidgets\Styles;

class Style_States {
	const HOVER = 'hover';
	const ACTIVE = 'active';
	const FOCUS = 'focus';
	const FOCUS_VISIBLE = 'focus-visible';
	const CHECKED = 'checked';

	const SELECTED = 'e--selected';

	private static function get_pseudo_states(): array {
		return [
			self::HOVER,
			self::ACTIVE,
			self::FOCUS,
			self::FOCUS_VISIBLE,
			self::CHECKED,
		];
	}

	private static function get_class_states(): array {
		return [
			self::SELECTED,
		];
	}

	private static function get_additional_states_map(): array {
		return [
			self::HOVER =&gt; [ self::FOCUS_VISIBLE ],
		];
	}

	public static function get_selector_with_state( string $base_selector, string $state ): string {
		$additional_states = self::get_additional_states( $state );
		$all_states = [ $state, ...$additional_states ];

		foreach ( $all_states as $current_state ) {
			$selector_strings[] = $base_selector . self::get_state_selector( $current_state );
		}

		return implode( ',', $selector_strings );
	}

	public static function get_additional_states( string $state ): array {
		return self::get_additional_states_map()[ $state ] ?? [];
	}

	public static function get_state_selector( string $state ): string {
		if ( self::is_class_state( $state ) ) {
			return '.' . $state;
		}

		if ( self::is_pseudo_state( $state ) ) {
			return ':' . $state;
		}

		return $state;
	}


	public static function get_valid_states(): array {
		return [
			...array_filter( self::get_pseudo_states(), function ( $state ) {
				return ! in_array( $state, self::get_additional_states_map()[ $state ] ?? [], true );
			} ),
			...self::get_class_states(),
			null,
		];
	}

	public static function is_pseudo_state( string $state ): bool {
		return in_array( $state, self::get_pseudo_states(), true );
	}

	public static function is_class_state( string $state ): bool {
		return in_array( $state, self::get_class_states(), true );
	}

	public static function is_valid_state( $state ): bool {
		if ( null === $state ) {
			return true;
		}

		return is_string( $state ) &amp;&amp; in_array( $state, self::get_valid_states(), true );
	}

	public static function get_class_states_map(): array {
		return [
			'selected' =&gt; [
				'name' =&gt; 'selected',
				'value' =&gt; self::SELECTED,
			],
		];
	}

	public static function get_pseudo_states_map(): array {
		return [
			'checked' =&gt; [
				'name' =&gt; 'checked',
				'value' =&gt; self::CHECKED,
			],
		];
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//authentica.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://authentica.com/post-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap1.xml</loc>
		<lastmod>2026-08-26T08:04:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap2.xml</loc>
		<lastmod>2026-08-26T07:16:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/seoul-courses-sitemap.xml</loc>
		<lastmod>2026-07-13T10:19:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/barcelona-courses-sitemap.xml</loc>
		<lastmod>2026-07-24T07:14:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/florence-courses-sitemap.xml</loc>
		<lastmod>2026-07-21T10:27:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/programs_filters-sitemap.xml</loc>
		<lastmod>2026-08-25T10:16:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/category-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/news-sitemap.xml</loc>
		<lastmod>2026-08-25T11:26:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/video-sitemap.xml</loc>
		<lastmod>2026-08-21T13:20:02+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/local-sitemap.xml</loc>
		<lastmod>2026-07-21T08:21:27+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->