Location: PHPKode > projects > BotDetect CAPTCHA > BotDetect-PHP-CAPTCHA-Component-vAlpha1-Build201202051720/WebApp/BotDetectFeaturesDemo/BotDetect/CaptchaClass.php
<?php
declare(encoding='UTF-8'); abstract class Enum { } final class SoundFormat extends Enum { private function __construct() {} public static $Names; const Unknown = 0; const WavPcm16bit8kHzMono = 1; const WavPcm8bit8kHzMono = 2; public static function GetName($_Owhbkjkr37ty85j6op9tu1m906) { if (!is_int($_Owhbkjkr37ty85j6op9tu1m906)) { throw new Exception("\125\156\153\156\157\x77\156\40\x65\x6e\x75\x6d\145\x72\141\x74\x65\144\40\166\x61\x6c\165\145\x3a\40".$_Owhbkjkr37ty85j6op9tu1m906); } if (array_key_exists($_Owhbkjkr37ty85j6op9tu1m906, SoundFormat::$Names)) { return SoundFormat::$Names[$_Owhbkjkr37ty85j6op9tu1m906]; } else { throw new Exception("\125\x6e\153\156\x6f\x77\x6e\40\x65\156\x75\155\145\162\141\164\145\x64\40\x76\141\x6c\165\x65\72\x20".$_Owhbkjkr37ty85j6op9tu1m906); } } public static function GetValue($_O12ap499dd2cdn60xpcun8kc6m) { if (!StringHelper::HasValue($_O12ap499dd2cdn60xpcun8kc6m)) { throw new Exception("\125\x6e\153\156\x6f\x77\x6e\x20\145\156\x75\155\145\x72\141\x74\145\144\40\156\141\x6d\x65\x3a\40".$_O12ap499dd2cdn60xpcun8kc6m); } $_lpt0001p8bj2oiu19e10f = CollectionHelper::StringArraySearch($_O12ap499dd2cdn60xpcun8kc6m, SoundFormat::$Names); if (false !== $_lpt0001p8bj2oiu19e10f) { return $_lpt0001p8bj2oiu19e10f; } else { throw new Exception("\125\x6e\153\156\x6f\167\x6e\40\145\156\165\155\x65\x72\141\164\x65\144\40\156\x61\x6d\x65\72\40".$_O12ap499dd2cdn60xpcun8kc6m); } } public static function TryGetName($_1pbhc0a3ldnw3l3hf5moeh3ait) { if (!is_int($_1pbhc0a3ldnw3l3hf5moeh3ait)) { return; } if (array_key_exists($_1pbhc0a3ldnw3l3hf5moeh3ait, SoundFormat::$Names)) { return SoundFormat::$Names[$_1pbhc0a3ldnw3l3hf5moeh3ait]; } else { return; } } public static function TryGetValue($_l7hbpymkt6uzfztlto29rb31en) { if (!StringHelper::HasValue($_l7hbpymkt6uzfztlto29rb31en)) { return; } $_lj3vytqm3gyqe18z = CollectionHelper::StringArraySearch($_l7hbpymkt6uzfztlto29rb31en, SoundFormat::$Names); if (false !== $_lj3vytqm3gyqe18z) { return $_lj3vytqm3gyqe18z; } else { return; } } } SoundFormat::$Names = array( SoundFormat::WavPcm16bit8kHzMono => "\127\x61\166\x50\143\155\61\x36\142\x69\x74\70\x6b\110\172\115\157\x6e\x6f", SoundFormat::WavPcm8bit8kHzMono => "\x57\x61\166\120\x63\155\x38\x62\151\x74\70\x6b\110\172\x4d\157\x6e\157" ); final class SoundFormatFamily { private function __construct() {} const WavPcm = 0; public static function Get($_01zxba2s2oifc5jo) { $_0wklvasc26hndwkiig3kx1d8h3; switch ($_01zxba2s2oifc5jo) { case 1 : $_0wklvasc26hndwkiig3kx1d8h3 = SoundFormatFamily::WavPcm; break; case 2 : $_0wklvasc26hndwkiig3kx1d8h3 = SoundFormatFamily::WavPcm; break; default: throw new Exception("\x55\x6e\153\156\x6f\167\x6e\40\x53\x6f\165\x6e\144\x46\157\x72\x6d\141\x74\40".$_01zxba2s2oifc5jo); } return $_0wklvasc26hndwkiig3kx1d8h3; } } interface IAudio { } class Audio { public static function GetAudio($_129gtv9y7vkwfx7e31r9h, $_Oc4qlkkzvymvkekh) { $_1r4a11hwqhmfc4qq6ocgj = null; switch ($_Oc4qlkkzvymvkekh) { case 1 : case 2 : $_1r4a11hwqhmfc4qq6ocgj = new PcmSound($_129gtv9y7vkwfx7e31r9h, $_Oc4qlkkzvymvkekh); break; default: throw new Exception("\125\156\x6b\x6e\x6f\x77\156\40\x53\157\x75\156\x64\x46\157\x72\155\141\x74\x3a\x20{$_Oc4qlkkzvymvkekh}"); } return $_1r4a11hwqhmfc4qq6ocgj; } protected $m_SoundFormat; public function get_SoundFormat() { return $this->m_SoundFormat; } public function __get($_08v2bw1nvent9hkafc4xh9r1cw) { if (method_exists($this, ($_i1fbvnjjsvar9wzs = "\x67\x65\164\137".$_08v2bw1nvent9hkafc4xh9r1cw))) { return $this->$_i1fbvnjjsvar9wzs(); } else return; } public function __isset($_1dpx23gp9nhm8hdr) { if (method_exists($this, ($_Imtolohe8rlo0kff = "\x69\x73\x73\145\164\x5f".$_1dpx23gp9nhm8hdr))) { return $this->$_Imtolohe8rlo0kff(); } else return; } public function __set($_oqd5j31lz3espijuze6rsdek65, $_ljlisaps8n8fcsuh5cdhq) { if (method_exists($this, ($_1dajfgamk2dsv3807gh5e = "\163\x65\x74\x5f".$_oqd5j31lz3espijuze6rsdek65))) { $this->$_1dajfgamk2dsv3807gh5e($_ljlisaps8n8fcsuh5cdhq); } } public function __unset($_orne0r95v4wa89zk) { if (method_exists($this, ($_0yqpvzhhy09jz2fjlstca = "\x75\156\x73\x65\164\137".$_orne0r95v4wa89zk))) { $this->$_0yqpvzhhy09jz2fjlstca(); } } } class PcmSound extends Audio implements IAudio { public function __construct() { } public function __destruct() { } } final class CollectionHelper { private function __construct() {} public static function ArraySubtract($_Orkf78ntgwlf2siob57if, $_ifntwm8ei0uul3m1) { $_oewguplzn4bj13d346d0l8c9kv = array(); if (!is_array($_Orkf78ntgwlf2siob57if) || !is_array($_ifntwm8ei0uul3m1)) { throw new Exception("\x54\x68\x69\x73\x20\146\165\x6e\x63\x74\x69\x6f\x6e\40\157\x6e\x6c\171\x20\167\x6f\162\x6b\163\40\157\x6e\40\x61\162\x72\x61\171\163\41\x20".$_Orkf78ntgwlf2siob57if."\x7c".$_ifntwm8ei0uul3m1); } foreach ($_Orkf78ntgwlf2siob57if as $_li7zsxoone3pqxntqf4rlnfku5 => $_1b2tv1mtfr4jqyee) { if (!in_array($_1b2tv1mtfr4jqyee, $_ifntwm8ei0uul3m1)) { $_oewguplzn4bj13d346d0l8c9kv[] = $_1b2tv1mtfr4jqyee; } } return $_oewguplzn4bj13d346d0l8c9kv; } public static function StringArraySearch($_Og1ranm8805zvc6x, $_Ic4a3b4rc5c4iml0npqvy87i6f) { foreach($_Ic4a3b4rc5c4iml0npqvy87i6f as $_l26gj1m0g3n5hsaq => $_19pd7js5vr7hqrsxg6owzeb3kn) { if (StringHelper::HasValue($_19pd7js5vr7hqrsxg6owzeb3kn)) { if (0 === strcasecmp($_Og1ranm8805zvc6x, $_19pd7js5vr7hqrsxg6owzeb3kn)) return $_l26gj1m0g3n5hsaq; } else if (is_array($_19pd7js5vr7hqrsxg6owzeb3kn)) { foreach ($_19pd7js5vr7hqrsxg6owzeb3kn as $_o2jtbxiobpfniplhfcgpwjkkpv => $_1bmtg960n3w6hm6264qvn) { if (0 === strcasecmp($_Og1ranm8805zvc6x, $_1bmtg960n3w6hm6264qvn)) return $_l26gj1m0g3n5hsaq; } } } return false; } } final class CryptoHelper { private function __construct() {} public static function GenerateGuid() { return strtolower(md5(uniqid(mt_rand(), true))); } } final class SHA1 { private function __construct() {} public static function Hash($_ojefhzmkqlquezxv15xe1hwmsl) { return hash("\163\x68\141\61", $_ojefhzmkqlquezxv15xe1hwmsl, true); } public static function HashBase64($_l2uuhpj3ztnt2z50lee7mut4ib) { return base64_encode(self::Hash($_l2uuhpj3ztnt2z50lee7mut4ib)); } } final class SHA256 { private function __construct() {} public static function Hash($_iecowpbd9bfwjgkr) { return hash("\163\150\x61\62\65\x36", $_iecowpbd9bfwjgkr, true); } public static function HashBase64($_la82c9mkxm1gt8mhtaa7hyy0sc) { return base64_encode(self::Hash($_la82c9mkxm1gt8mhtaa7hyy0sc)); } } interface IGraphics { public function GetImage($_il7di6uf78mp686s64vgh); public function GetWidth(); public function GetHeight(); public function GetSurface(); public function Fill(Color $_it12wuptizd6h2ux); } class GDGraphics implements IGraphics { public function __construct($_o947rpa20a3ycdpy, $_i17o1h5z9xbb1jm2) { $this->_1atdo8p3jrpxx9xfxi54h = imagecreatetruecolor($_o947rpa20a3ycdpy, $_i17o1h5z9xbb1jm2); if (function_exists("\x69\155\x61\x67\x65\141\x6e\x74\x69\x61\x6c\x69\x61\163")) { imageantialias($this->_1atdo8p3jrpxx9xfxi54h, true); } $this->_oorwxhd6hvsp2awk2lp18hrjxq = imagesx($this->_1atdo8p3jrpxx9xfxi54h); $this->_lzlu4hh3gt0utoo3 = imagesy($this->_1atdo8p3jrpxx9xfxi54h); $this->_osur17327gql8mayh5xzrnn64b = Rectangle::FromPointAndSize( Point::At(0, 0), $this->GetWidth(), $this->GetHeight() ); } public function __destruct() { imagedestroy($this->_1atdo8p3jrpxx9xfxi54h); } private $_1atdo8p3jrpxx9xfxi54h; public function GetGDImage() { return $this->_1atdo8p3jrpxx9xfxi54h; } private $_oorwxhd6hvsp2awk2lp18hrjxq; public function GetWidth() { return (int) $this->_oorwxhd6hvsp2awk2lp18hrjxq; } private $_lzlu4hh3gt0utoo3; public function GetHeight() { return (int) $this->_lzlu4hh3gt0utoo3; } public function GetSurface() { return ($this->_oorwxhd6hvsp2awk2lp18hrjxq * $this->_lzlu4hh3gt0utoo3); } private $_osur17327gql8mayh5xzrnn64b; public function GetBounds() { return $this->_osur17327gql8mayh5xzrnn64b; } public function GetScalingFactor() { return log($this->GetSurface(), 2.0); } public function CloneContent() { ob_start(); imagegd2($this->_1atdo8p3jrpxx9xfxi54h); return imagecreatefromstring(ob_get_clean()); } public function GetRawContent() { ob_start(); imagewbmp($this->_1atdo8p3jrpxx9xfxi54h); return ob_get_clean(); } public function GetImage($_iw36jwh5wfhrycjkzt17l) { ob_start(); switch ($_iw36jwh5wfhrycjkzt17l) { case 1 : imagejpeg($this->_1atdo8p3jrpxx9xfxi54h); break; case 2 : imagegif($this->_1atdo8p3jrpxx9xfxi54h); break; case 3 : imagepng($this->_1atdo8p3jrpxx9xfxi54h); break; default: throw new Exception("\x55\x6e\153\x6e\157\167\x20\x69\x6d\141\147\145\40\x66\157\x72\x6d\141\164\72\x20{$_iw36jwh5wfhrycjkzt17l}\x2e"); break; } $_O2ryj9qzp7hlqcups2zj8fd92j = ob_get_contents(); ob_end_clean(); return $_O2ryj9qzp7hlqcups2zj8fd92j; } public function Fill(Color $_oovi74pzfhpnxa8hf3bdrlc1nd){ $_0lkaleyy5sanpddvxu678xk1fj = imagecolorallocate($this->_1atdo8p3jrpxx9xfxi54h, $_oovi74pzfhpnxa8hf3bdrlc1nd->get_R(), $_oovi74pzfhpnxa8hf3bdrlc1nd->get_G(), $_oovi74pzfhpnxa8hf3bdrlc1nd->get_B()); imagefilledrectangle($this->_1atdo8p3jrpxx9xfxi54h, 0, 0, $this->_oorwxhd6hvsp2awk2lp18hrjxq, $this->_lzlu4hh3gt0utoo3, $_0lkaleyy5sanpddvxu678xk1fj); } } final class ImageFormat extends Enum { private function __construct() {} public static $Names; const Jpeg = 1; const Gif = 2; const Png = 3; public static function GetName($_ig5i40rile3bywgh3r76h) { if (!is_int($_ig5i40rile3bywgh3r76h)) { throw new Exception("\x55\x6e\x6b\x6e\157\x77\156\40\145\156\165\155\x65\x72\141\164\x65\144\x20\x76\141\x6c\165\145\x3a\40".$_ig5i40rile3bywgh3r76h); } if (array_key_exists($_ig5i40rile3bywgh3r76h, ImageFormat::$Names)) { return ImageFormat::$Names[$_ig5i40rile3bywgh3r76h]; } else { throw new Exception("\125\156\x6b\x6e\157\x77\x6e\40\x65\156\165\155\145\162\x61\x74\145\x64\40\166\x61\x6c\x75\145\x3a\x20".$_ig5i40rile3bywgh3r76h); } } public static function GetValue($_0n4lvsf2ovsvmf4kbyukby25xx) { if (!StringHelper::HasValue($_0n4lvsf2ovsvmf4kbyukby25xx)) { throw new Exception("\x55\156\x6b\x6e\x6f\167\x6e\x20\145\x6e\x75\x6d\x65\162\x61\x74\x65\x64\x20\x6e\141\155\x65\72\x20".$_0n4lvsf2ovsvmf4kbyukby25xx); } $_ly424z6snpze4vzm = CollectionHelper::StringArraySearch($_0n4lvsf2ovsvmf4kbyukby25xx, ImageFormat::$Names); if (false !== $_ly424z6snpze4vzm) { return $_ly424z6snpze4vzm; } else { throw new Exception("\x55\x6e\153\156\x6f\167\156\40\x65\x6e\165\x6d\x65\x72\141\164\x65\144\40\156\141\155\x65\72\x20".$_0n4lvsf2ovsvmf4kbyukby25xx); } } public static function TryGetName($_i4cyw9irgrje3foti010pkz4g2) { if (!is_int($_i4cyw9irgrje3foti010pkz4g2)) { return; } if (array_key_exists($_i4cyw9irgrje3foti010pkz4g2, ImageFormat::$Names)) { return ImageFormat::$Names[$_i4cyw9irgrje3foti010pkz4g2]; } else { return; } } public static function TryGetValue($_Oayuq3g3rv0k92pejuowg5ghdu) { if (!StringHelper::HasValue($_Oayuq3g3rv0k92pejuowg5ghdu)) { return; } $_l9zjkjjsb2catzshnwz1jve3m1 = CollectionHelper::StringArraySearch($_Oayuq3g3rv0k92pejuowg5ghdu, ImageFormat::$Names); if (false !== $_l9zjkjjsb2catzshnwz1jve3m1) { return $_l9zjkjjsb2catzshnwz1jve3m1; } else { return; } } } ImageFormat::$Names = array( ImageFormat::Jpeg => array("\112\x70\x65\147", "\x4a\160\x67"), ImageFormat::Gif => array("\107\151\x66"), ImageFormat::Png => array("\120\156\x67") ); final class HtmlColor extends Enum { private function __construct() {} public static $Names; const AliceBlue = "\43\106\x30\106\70\106\x46"; const AntiqueWhite = "\43\x46\101\x45\102\104\x37"; const Aqua = "\43\60\60\106\x46\106\106"; const Aquamarine = "\x23\67\x46\x46\x46\104\x34"; const Azure = "\43\106\x30\x46\106\106\x46"; const Beige = "\x23\106\65\x46\65\x44\103"; const Bisque = "\43\x46\x46\105\64\103\64"; const Black = "\43\60\x30\60\60\x30\60"; const BlanchedAlmond = "\x23\x46\106\105\102\x43\104"; const Blue = "\43\x30\x30\60\60\106\x46"; const BlueViolet = "\x23\x38\x41\62\102\105\x32"; const Brown = "\43\x41\x35\x32\x41\62\101"; const BurlyWood = "\43\104\105\102\x38\x38\x37"; const CadetBlue = "\43\65\x46\x39\x45\x41\60"; const Chartreuse = "\43\x37\x46\x46\106\60\x30"; const Chocolate = "\x23\x44\62\x36\71\61\x45"; const Coral = "\43\x46\x46\x37\x46\x35\x30"; const CornflowerBlue = "\x23\x36\64\71\65\105\x44"; const Cornsilk = "\43\106\x46\106\x38\x44\x43"; const Crimson = "\43\x44\103\x31\64\63\x43"; const Cyan = "\x23\x30\60\106\106\x46\x46"; const DarkBlue = "\x23\60\x30\60\60\70\102"; const DarkCyan = "\43\x30\60\70\x42\x38\x42"; const DarkGoldenRod = "\x23\102\70\70\66\x30\102"; const DarkGray = "\x23\101\71\x41\71\101\71"; const DarkGrey = "\43\x41\x39\x41\x39\101\71"; const DarkGreen = "\x23\x30\60\x36\64\60\60"; const DarkKhaki = "\43\102\x44\x42\x37\66\x42"; const DarkMagenta = "\43\x38\x42\60\60\x38\102"; const DarkOliveGreen = "\x23\65\x35\66\102\62\x46"; const Darkorange = "\x23\106\x46\70\x43\x30\x30"; const DarkOrchid = "\43\71\71\x33\62\x43\x43"; const DarkRed = "\43\70\x42\x30\60\x30\60"; const DarkSalmon = "\x23\105\x39\71\x36\67\x41"; const DarkSeaGreen = "\x23\x38\x46\102\x43\70\x46"; const DarkSlateBlue = "\43\x34\x38\63\104\x38\102"; const DarkSlateGray = "\43\x32\x46\64\106\x34\106"; const DarkSlateGrey = "\43\x32\x46\x34\106\64\106"; const DarkTurquoise = "\43\60\x30\103\105\104\61"; const DarkViolet = "\x23\x39\x34\60\60\x44\63"; const DeepPink = "\43\x46\106\61\x34\x39\x33"; const DeepSkyBlue = "\43\x30\60\102\x46\106\106"; const DimGray = "\x23\66\x39\x36\x39\x36\71"; const DimGrey = "\x23\x36\71\66\x39\x36\x39"; const DodgerBlue = "\x23\61\105\71\60\106\x46"; const FireBrick = "\43\102\62\x32\x32\62\62"; const FloralWhite = "\x23\x46\x46\106\101\x46\x30"; const ForestGreen = "\x23\62\62\70\102\x32\x32"; const Fuchsia = "\43\106\106\60\x30\x46\x46"; const Gainsboro = "\x23\104\103\x44\103\104\103"; const GhostWhite = "\x23\106\x38\x46\70\x46\106"; const Gold = "\43\106\x46\x44\x37\60\x30"; const GoldenRod = "\x23\x44\101\101\x35\x32\x30"; const Gray = "\43\70\x30\70\x30\70\60"; const Grey = "\43\70\60\70\60\x38\60"; const Green = "\x23\60\60\70\x30\x30\60"; const GreenYellow = "\x23\x41\104\106\106\x32\x46"; const HoneyDew = "\43\x46\x30\106\106\x46\60"; const HotPink = "\43\106\x46\66\x39\102\64"; const IndianRed = "\43\x43\104\65\103\x35\x43"; const Indigo = "\43\64\102\60\60\x38\x32"; const Ivory = "\43\x46\106\x46\106\106\60"; const Khaki = "\x23\x46\x30\105\66\x38\103"; const Lavender = "\x23\105\66\x45\66\x46\x41"; const LavenderBlush = "\43\106\x46\x46\x30\x46\x35"; const LawnGreen = "\x23\x37\103\x46\x43\x30\60"; const LemonChiffon = "\43\x46\106\x46\x41\x43\104"; const LightBlue = "\43\101\x44\x44\x38\x45\66"; const LightCoral = "\43\106\x30\70\x30\70\x30"; const LightCyan = "\x23\x45\x30\106\x46\106\106"; const LightGoldenRodYellow = "\43\x46\x41\x46\x41\104\x32"; const LightGray = "\43\104\63\104\63\x44\63"; const LightGrey = "\x23\x44\63\104\63\x44\63"; const LightGreen = "\43\71\60\105\105\71\60"; const LightPink = "\43\x46\106\102\66\x43\x31"; const LightSalmon = "\x23\106\x46\x41\x30\x37\x41"; const LightSeaGreen = "\x23\62\x30\102\x32\x41\x41"; const LightSkyBlue = "\x23\70\x37\103\105\x46\101"; const LightSlateGray = "\43\x37\67\70\x38\71\71"; const LightSlateGrey = "\x23\x37\67\70\x38\71\x39"; const LightSteelBlue = "\x23\x42\60\x43\x34\104\x45"; const LightYellow = "\43\106\106\106\106\x45\x30"; const Lime = "\43\60\60\106\x46\x30\60"; const LimeGreen = "\x23\x33\62\x43\104\63\x32"; const Linen = "\43\106\x41\106\60\x45\66"; const Magenta = "\x23\x46\106\60\60\106\106"; const Maroon = "\x23\x38\60\x30\60\x30\60"; const MediumAquaMarine = "\x23\66\66\x43\x44\101\101"; const MediumBlue = "\43\60\60\60\60\x43\x44"; const MediumOrchid = "\x23\102\101\x35\x35\104\x33"; const MediumPurple = "\x23\x39\x33\67\60\x44\x38"; const MediumSeaGreen = "\x23\63\103\102\63\67\61"; const MediumSlateBlue = "\x23\x37\102\66\70\x45\105"; const MediumSpringGreen = "\x23\60\x30\106\x41\x39\x41"; const MediumTurquoise = "\x23\64\x38\104\x31\103\103"; const MediumVioletRed = "\43\103\67\x31\x35\70\x35"; const MidnightBlue = "\x23\61\71\x31\x39\x37\x30"; const MintCream = "\x23\x46\65\106\x46\x46\101"; const MistyRose = "\x23\106\106\x45\x34\x45\61"; const Moccasin = "\x23\x46\106\x45\x34\102\x35"; const NavajoWhite = "\43\106\106\x44\105\x41\x44"; const Navy = "\x23\x30\60\60\x30\x38\60"; const OldLace = "\43\x46\x44\x46\65\x45\66"; const Olive = "\x23\x38\60\70\x30\x30\60"; const OliveDrab = "\43\x36\x42\70\x45\62\x33"; const Orange = "\43\106\106\101\x35\60\60"; const OrangeRed = "\43\106\x46\x34\65\x30\x30"; const Orchid = "\43\x44\101\67\x30\x44\x36"; const PaleGoldenRod = "\x23\105\105\x45\70\x41\x41"; const PaleGreen = "\43\71\x38\106\102\71\70"; const PaleTurquoise = "\43\101\106\105\x45\x45\x45"; const PaleVioletRed = "\43\104\70\67\60\71\x33"; const PapayaWhip = "\43\106\x46\105\106\x44\x35"; const PeachPuff = "\43\106\106\x44\101\x42\x39"; const Peru = "\x23\103\x44\x38\x35\x33\x46"; const Pink = "\43\106\x46\x43\x30\x43\x42"; const Plum = "\43\104\104\101\x30\104\x44"; const PowderBlue = "\x23\x42\x30\x45\60\105\66"; const Purple = "\x23\x38\60\60\x30\x38\x30"; const Red = "\x23\x46\x46\x30\60\x30\60"; const RosyBrown = "\43\x42\103\70\x46\x38\x46"; const RoyalBlue = "\43\64\61\x36\x39\105\x31"; const SaddleBrown = "\43\70\102\x34\x35\61\x33"; const Salmon = "\x23\x46\101\x38\x30\x37\62"; const SandyBrown = "\x23\106\x34\101\64\x36\60"; const SeaGreen = "\x23\62\105\70\x42\65\x37"; const SeaShell = "\43\106\106\x46\65\x45\105"; const Sienna = "\43\x41\60\65\x32\x32\104"; const Silver = "\x23\103\x30\103\x30\x43\60"; const SkyBlue = "\43\70\67\x43\105\x45\x42"; const SlateBlue = "\43\x36\x41\x35\x41\x43\x44"; const SlateGray = "\x23\67\x30\x38\x30\71\60"; const SlateGrey = "\x23\x37\60\70\x30\71\x30"; const Snow = "\x23\x46\x46\x46\x41\106\101"; const SpringGreen = "\x23\60\x30\106\x46\x37\x46"; const SteelBlue = "\43\64\x36\x38\62\x42\x34"; const Tan = "\x23\104\62\x42\64\x38\x43"; const Teal = "\x23\x30\60\70\x30\x38\60"; const Thistle = "\43\104\x38\x42\x46\104\x38"; const Tomato = "\x23\106\106\x36\63\64\67"; const Turquoise = "\x23\x34\x30\x45\x30\104\x30"; const Violet = "\43\x45\105\70\62\x45\x45"; const Wheat = "\x23\106\x35\x44\x45\102\63"; const White = "\x23\x46\106\x46\x46\x46\x46"; const WhiteSmoke = "\x23\x46\x35\106\x35\x46\65"; const Yellow = "\x23\x46\106\106\106\x30\60"; const YellowGreen = "\43\x39\x41\x43\104\x33\x32"; public static function GetName($_Io1a9za1l5v19cfr) { if (!is_int($_Io1a9za1l5v19cfr)) { throw new Exception("\x55\156\153\156\157\167\x6e\x20\145\x6e\165\155\145\162\141\x74\x65\x64\40\x76\x61\154\165\145\x3a\40".$_Io1a9za1l5v19cfr); } if (array_key_exists($_Io1a9za1l5v19cfr, HtmlColor::$Names)) { return HtmlColor::$Names[$_Io1a9za1l5v19cfr]; } else { throw new Exception("\x55\156\153\x6e\157\167\156\40\145\x6e\x75\155\x65\162\x61\164\145\x64\x20\x76\x61\154\165\145\72\x20".$_Io1a9za1l5v19cfr); } } public static function GetValue($_O3z0004cqxc8z77qc20wf95b5j) { if (!StringHelper::HasValue($_O3z0004cqxc8z77qc20wf95b5j)) { throw new Exception("\125\x6e\153\156\157\167\156\40\145\x6e\165\155\145\162\141\x74\145\144\x20\x6e\x61\x6d\145\x3a\x20".$_O3z0004cqxc8z77qc20wf95b5j); } $_oepv032zubrcfno7acidx1b75o = CollectionHelper::StringArraySearch($_O3z0004cqxc8z77qc20wf95b5j, HtmlColor::$Names); if (false !== $_oepv032zubrcfno7acidx1b75o) { return $_oepv032zubrcfno7acidx1b75o; } else { throw new Exception("\125\156\153\156\157\167\156\x20\145\x6e\x75\x6d\145\162\x61\x74\145\x64\x20\156\141\155\x65\x3a\40".$_O3z0004cqxc8z77qc20wf95b5j); } } public static function TryGetName($_0a2sh8q5xkei146g259mfssd9d) { if (!is_int($_0a2sh8q5xkei146g259mfssd9d)) { return; } if (array_key_exists($_0a2sh8q5xkei146g259mfssd9d, HtmlColor::$Names)) { return HtmlColor::$Names[$_0a2sh8q5xkei146g259mfssd9d]; } else { return; } } public static function TryGetValue($_O5ycbo65hn2i6r3lj6lfnwxboo) { if (!StringHelper::HasValue($_O5ycbo65hn2i6r3lj6lfnwxboo)) { return; } $_0el26ytb3iil91ttducv9 = CollectionHelper::StringArraySearch($_O5ycbo65hn2i6r3lj6lfnwxboo, HtmlColor::$Names); if (false !== $_0el26ytb3iil91ttducv9) { return $_0el26ytb3iil91ttducv9; } else { return; } } } HtmlColor::$Names = array( HtmlColor::AliceBlue => "\101\x6c\151\143\x65\x42\x6c\x75\x65", HtmlColor::AntiqueWhite => "\x41\x6e\x74\x69\x71\x75\x65\x57\x68\x69\164\x65", HtmlColor::Aqua => "\x41\x71\x75\141", HtmlColor::Aquamarine => "\101\161\165\x61\155\141\x72\151\x6e\x65", HtmlColor::Azure => "\101\x7a\x75\x72\145", HtmlColor::Beige => "\x42\145\151\147\x65", HtmlColor::Bisque => "\x42\x69\163\161\x75\x65", HtmlColor::Black => "\102\154\141\x63\153", HtmlColor::BlanchedAlmond => "\102\x6c\141\x6e\143\x68\145\144\x41\x6c\x6d\x6f\x6e\144", HtmlColor::Blue => "\x42\x6c\165\145", HtmlColor::BlueViolet => "\102\154\165\145\126\151\x6f\x6c\x65\x74", HtmlColor::Brown => "\x42\162\x6f\167\x6e", HtmlColor::BurlyWood => "\x42\x75\x72\154\x79\x57\157\x6f\x64", HtmlColor::CadetBlue => "\103\x61\144\145\x74\102\154\165\x65", HtmlColor::Chartreuse => "\103\150\141\162\x74\162\145\x75\x73\x65", HtmlColor::Chocolate => "\x43\x68\157\143\x6f\x6c\x61\164\145", HtmlColor::Coral => "\103\157\x72\141\x6c", HtmlColor::CornflowerBlue => "\x43\x6f\162\156\146\x6c\x6f\167\x65\162\102\x6c\x75\145", HtmlColor::Cornsilk => "\103\157\162\x6e\163\151\154\153", HtmlColor::Crimson => "\103\x72\x69\x6d\x73\x6f\156", HtmlColor::Cyan => "\x43\x79\x61\x6e", HtmlColor::DarkBlue => "\104\141\162\x6b\102\154\165\145", HtmlColor::DarkCyan => "\104\x61\162\153\x43\171\141\156", HtmlColor::DarkGoldenRod => "\x44\x61\162\153\107\x6f\x6c\144\145\156\x52\157\x64", HtmlColor::DarkGray => "\104\141\x72\x6b\107\x72\141\x79", HtmlColor::DarkGrey => "\x44\x61\x72\153\107\162\145\x79", HtmlColor::DarkGreen => "\x44\141\162\153\x47\x72\x65\145\x6e", HtmlColor::DarkKhaki => "\104\141\162\153\x4b\150\141\153\x69", HtmlColor::DarkMagenta => "\104\141\162\153\x4d\141\147\145\x6e\164\x61", HtmlColor::DarkOliveGreen => "\x44\x61\x72\153\x4f\154\151\x76\145\x47\162\145\x65\156", HtmlColor::Darkorange => "\104\141\x72\153\157\x72\x61\x6e\147\145", HtmlColor::DarkOrchid => "\x44\x61\x72\153\117\162\143\x68\151\144", HtmlColor::DarkRed => "\104\141\x72\x6b\122\145\x64", HtmlColor::DarkSalmon => "\104\141\162\153\x53\141\154\x6d\157\x6e", HtmlColor::DarkSeaGreen => "\104\141\162\x6b\123\x65\141\107\x72\x65\145\x6e", HtmlColor::DarkSlateBlue => "\x44\x61\x72\x6b\123\x6c\141\x74\x65\102\154\165\x65", HtmlColor::DarkSlateGray => "\x44\141\162\153\123\x6c\141\164\x65\107\x72\x61\x79", HtmlColor::DarkSlateGrey => "\x44\141\x72\153\x53\x6c\141\164\x65\107\x72\145\171", HtmlColor::DarkTurquoise => "\104\141\162\153\x54\x75\x72\161\x75\157\151\163\145", HtmlColor::DarkViolet => "\x44\x61\x72\153\x56\151\x6f\154\x65\164", HtmlColor::DeepPink => "\x44\x65\x65\160\120\x69\x6e\153", HtmlColor::DeepSkyBlue => "\104\x65\x65\x70\x53\153\x79\x42\154\165\x65", HtmlColor::DimGray => "\x44\151\x6d\x47\162\x61\x79", HtmlColor::DimGrey => "\x44\151\x6d\107\x72\x65\x79", HtmlColor::DodgerBlue => "\104\x6f\144\x67\x65\162\x42\154\x75\145", HtmlColor::FireBrick => "\106\151\x72\145\102\162\x69\143\x6b", HtmlColor::FloralWhite => "\106\x6c\x6f\162\x61\154\x57\150\151\x74\145", HtmlColor::ForestGreen => "\x46\x6f\x72\145\x73\164\107\162\x65\145\x6e", HtmlColor::Fuchsia => "\x46\165\x63\150\x73\x69\x61", HtmlColor::Gainsboro => "\x47\141\151\x6e\x73\142\x6f\162\x6f", HtmlColor::GhostWhite => "\x47\150\157\163\x74\127\x68\x69\164\x65", HtmlColor::Gold => "\107\x6f\154\144", HtmlColor::GoldenRod => "\107\x6f\x6c\x64\x65\156\x52\x6f\x64", HtmlColor::Gray => "\107\162\141\x79", HtmlColor::Grey => "\x47\x72\x65\171", HtmlColor::Green => "\107\x72\x65\145\156", HtmlColor::GreenYellow => "\x47\x72\145\145\x6e\x59\x65\x6c\x6c\x6f\167", HtmlColor::HoneyDew => "\x48\x6f\x6e\145\171\104\x65\x77", HtmlColor::HotPink => "\110\x6f\x74\x50\151\x6e\153", HtmlColor::IndianRed => "\111\156\x64\151\x61\156\x52\x65\x64", HtmlColor::Indigo => "\111\x6e\x64\x69\147\157", HtmlColor::Ivory => "\x49\166\157\162\171", HtmlColor::Khaki => "\x4b\x68\x61\153\151", HtmlColor::Lavender => "\x4c\141\x76\145\x6e\x64\x65\x72", HtmlColor::LavenderBlush => "\x4c\x61\x76\x65\156\x64\145\x72\x42\x6c\165\x73\150", HtmlColor::LawnGreen => "\114\141\x77\156\107\x72\145\145\156", HtmlColor::LemonChiffon => "\x4c\145\155\x6f\x6e\x43\150\x69\x66\146\157\156", HtmlColor::LightBlue => "\114\x69\x67\150\164\102\x6c\x75\x65", HtmlColor::LightCoral => "\114\x69\147\150\x74\x43\x6f\x72\x61\154", HtmlColor::LightCyan => "\x4c\151\x67\150\x74\103\171\141\156", HtmlColor::LightGoldenRodYellow => "\x4c\151\x67\x68\164\107\157\x6c\144\145\x6e\x52\157\144\x59\x65\x6c\154\157\167", HtmlColor::LightGray => "\x4c\x69\147\x68\x74\107\x72\x61\x79", HtmlColor::LightGrey => "\x4c\x69\147\150\164\107\x72\x65\171", HtmlColor::LightGreen => "\x4c\151\147\x68\x74\x47\162\x65\145\156", HtmlColor::LightPink => "\x4c\151\x67\150\x74\x50\151\156\153", HtmlColor::LightSalmon => "\114\x69\147\150\164\123\141\x6c\155\157\x6e", HtmlColor::LightSeaGreen => "\114\x69\x67\x68\164\x53\145\141\x47\162\145\145\156", HtmlColor::LightSkyBlue => "\x4c\151\147\150\x74\x53\x6b\171\102\154\x75\145", HtmlColor::LightSlateGray => "\x4c\151\147\x68\x74\x53\154\141\164\145\x47\x72\141\x79", HtmlColor::LightSlateGrey => "\114\151\147\150\x74\123\154\141\164\145\107\x72\145\x79", HtmlColor::LightSteelBlue => "\x4c\x69\x67\x68\x74\123\164\x65\145\154\x42\x6c\x75\145", HtmlColor::LightYellow => "\114\x69\147\x68\164\x59\x65\x6c\154\x6f\x77", HtmlColor::Lime => "\x4c\151\155\x65", HtmlColor::LimeGreen => "\114\x69\155\x65\107\x72\x65\145\x6e", HtmlColor::Linen => "\114\151\x6e\145\x6e", HtmlColor::Magenta => "\115\x61\x67\x65\x6e\164\x61", HtmlColor::Maroon => "\x4d\x61\x72\157\157\x6e", HtmlColor::MediumAquaMarine => "\115\145\144\x69\165\x6d\x41\161\x75\141\115\141\x72\151\x6e\145", HtmlColor::MediumBlue => "\x4d\x65\144\x69\165\x6d\x42\x6c\x75\145", HtmlColor::MediumOrchid => "\x4d\x65\144\151\x75\155\117\162\x63\x68\x69\144", HtmlColor::MediumPurple => "\x4d\x65\x64\151\x75\155\120\165\162\160\154\145", HtmlColor::MediumSeaGreen => "\115\x65\x64\151\165\x6d\123\x65\x61\107\x72\x65\x65\156", HtmlColor::MediumSlateBlue => "\115\x65\144\151\165\x6d\x53\x6c\141\164\145\x42\x6c\x75\x65", HtmlColor::MediumSpringGreen => "\x4d\x65\144\151\x75\x6d\123\160\x72\151\x6e\x67\x47\x72\x65\x65\x6e", HtmlColor::MediumTurquoise => "\x4d\145\144\151\x75\x6d\124\x75\162\x71\x75\157\x69\x73\145", HtmlColor::MediumVioletRed => "\115\x65\x64\x69\x75\155\126\151\x6f\x6c\x65\x74\122\x65\144", HtmlColor::MidnightBlue => "\x4d\x69\x64\156\x69\x67\x68\164\x42\154\x75\x65", HtmlColor::MintCream => "\x4d\151\156\x74\x43\x72\x65\x61\x6d", HtmlColor::MistyRose => "\115\151\x73\164\x79\122\157\163\x65", HtmlColor::Moccasin => "\115\x6f\x63\143\x61\163\151\156", HtmlColor::NavajoWhite => "\116\141\166\x61\x6a\157\127\150\151\164\145", HtmlColor::Navy => "\116\141\x76\171", HtmlColor::OldLace => "\117\154\x64\114\141\x63\x65", HtmlColor::Olive => "\117\x6c\151\x76\145", HtmlColor::OliveDrab => "\117\x6c\151\166\145\104\x72\x61\142", HtmlColor::Orange => "\117\x72\141\x6e\x67\x65", HtmlColor::OrangeRed => "\x4f\162\141\x6e\x67\x65\x52\x65\x64", HtmlColor::Orchid => "\117\162\143\x68\151\144", HtmlColor::PaleGoldenRod => "\120\x61\154\145\107\x6f\154\144\145\x6e\122\x6f\x64", HtmlColor::PaleGreen => "\120\x61\154\x65\x47\x72\145\x65\156", HtmlColor::PaleTurquoise => "\120\x61\154\145\124\x75\x72\161\x75\x6f\x69\x73\145", HtmlColor::PaleVioletRed => "\120\141\154\x65\x56\151\157\x6c\145\x74\122\x65\x64", HtmlColor::PapayaWhip => "\x50\x61\160\141\x79\x61\127\150\x69\160", HtmlColor::PeachPuff => "\120\145\141\143\150\x50\x75\x66\146", HtmlColor::Peru => "\x50\x65\162\165", HtmlColor::Pink => "\x50\x69\x6e\153", HtmlColor::Plum => "\x50\x6c\165\x6d", HtmlColor::PowderBlue => "\120\157\167\x64\145\x72\102\x6c\x75\x65", HtmlColor::Purple => "\120\165\x72\x70\x6c\145", HtmlColor::Red => "\x52\145\x64", HtmlColor::RosyBrown => "\x52\157\x73\171\102\x72\x6f\167\x6e", HtmlColor::RoyalBlue => "\122\x6f\x79\x61\154\x42\154\x75\145", HtmlColor::SaddleBrown => "\x53\x61\144\144\x6c\x65\102\162\157\167\x6e", HtmlColor::Salmon => "\x53\141\x6c\155\157\156", HtmlColor::SandyBrown => "\x53\141\x6e\144\x79\x42\x72\157\x77\x6e", HtmlColor::SeaGreen => "\x53\x65\x61\107\162\145\145\156", HtmlColor::SeaShell => "\123\x65\x61\123\x68\x65\154\x6c", HtmlColor::Sienna => "\x53\x69\x65\x6e\156\141", HtmlColor::Silver => "\123\x69\x6c\x76\x65\162", HtmlColor::SkyBlue => "\123\153\x79\x42\154\165\145", HtmlColor::SlateBlue => "\123\154\x61\x74\145\x42\154\165\145", HtmlColor::SlateGray => "\x53\154\141\164\145\x47\x72\141\171", HtmlColor::SlateGrey => "\123\154\141\164\x65\x47\162\145\171", HtmlColor::Snow => "\123\x6e\x6f\167", HtmlColor::SpringGreen => "\123\160\162\151\x6e\x67\x47\x72\145\x65\x6e", HtmlColor::SteelBlue => "\123\164\145\x65\154\x42\x6c\x75\145", HtmlColor::Tan => "\x54\x61\x6e", HtmlColor::Teal => "\x54\x65\141\x6c", HtmlColor::Thistle => "\124\150\151\163\x74\x6c\145", HtmlColor::Tomato => "\x54\x6f\155\141\x74\157", HtmlColor::Turquoise => "\x54\165\x72\161\x75\x6f\151\163\145", HtmlColor::Violet => "\126\x69\x6f\154\x65\164", HtmlColor::Wheat => "\127\x68\145\x61\x74", HtmlColor::White => "\127\150\151\164\145", HtmlColor::WhiteSmoke => "\127\x68\x69\164\145\x53\155\x6f\x6b\x65", HtmlColor::Yellow => "\x59\145\x6c\x6c\157\167", HtmlColor::YellowGreen => "\131\145\x6c\154\x6f\167\x47\162\x65\x65\156", ); class Color { public function __construct($_0ijzr5kuglm4spax, $_i6do12jlsa1nd7gq6l4emny1in, $_1z5byxbq3kdooxr0) { $this->_0norvxlg7mllylfkwnx5qkprgm = new RandomRange($_0ijzr5kuglm4spax); $this->_oeekypi7y92bj09bzai9y = new RandomRange($_i6do12jlsa1nd7gq6l4emny1in); $this->_iz2e0k8jqtljkwfn2fnyk = new RandomRange($_1z5byxbq3kdooxr0); } const DefaultColorValue = 0; public static function IsValidColorValue($_Iq73bq7jdjbqqbw0sqm9a) { return (0 <= $_Iq73bq7jdjbqqbw0sqm9a || 255 >= $_Iq73bq7jdjbqqbw0sqm9a); } public static function IsValidColorRange(RandomRange $_0askh0n9gea75n3t) { return (0 <= $_0askh0n9gea75n3t->Min || 255 >= $_0askh0n9gea75n3t->Max); } private $_0norvxlg7mllylfkwnx5qkprgm; public function get_RedRange() { return $this->_0norvxlg7mllylfkwnx5qkprgm; } public function set_RedRange(RandomRange $_Ixtze6koq73kchpyp0le2o4m0f) { if (!self::IsValidColorRange($_Ixtze6koq73kchpyp0le2o4m0f)) { throw new Exception("\x43\157\x6c\157\162\40\x76\141\x6c\x75\145\40\x6d\x75\163\x74\40\142\x65\x20\x62\x65\164\x77\145\x65\x6e\40\60\x20\x61\x6e\144\40\62\x35\x35\x3a\x20\x3c{$_Ixtze6koq73kchpyp0le2o4m0f->Min}\x2c\40{$_Ixtze6koq73kchpyp0le2o4m0f->Max}\x3e"); } $this->_0norvxlg7mllylfkwnx5qkprgm = $_Ixtze6koq73kchpyp0le2o4m0f; } public function get_R() { if ($this->HasValue()) { return $this->_0norvxlg7mllylfkwnx5qkprgm->Next; } return self::DefaultColorValue; } public function set_R($_iu535thgd6qehcb7nc39y) { $this->RedRange = new RandomRange($_iu535thgd6qehcb7nc39y); } private $_oeekypi7y92bj09bzai9y; public function get_GreenRange() { return $this->_oeekypi7y92bj09bzai9y; } public function set_GreenRange(RandomRange $_og94ja7lpiamkolc2si73brozb) { if (!self::IsValidColorRange($_og94ja7lpiamkolc2si73brozb)) { throw new Exception("\103\x6f\154\157\162\x20\166\x61\x6c\165\x65\x20\155\165\x73\164\40\142\x65\40\x62\x65\164\x77\145\145\x6e\x20\x30\40\141\x6e\144\40\x32\x35\65\x3a\40\x3c{$_og94ja7lpiamkolc2si73brozb->Min}\x2c\x20{$_og94ja7lpiamkolc2si73brozb->Max}\76"); } $this->_oeekypi7y92bj09bzai9y = $_og94ja7lpiamkolc2si73brozb; } public function get_G() { if ($this->HasValue()) { return $this->_oeekypi7y92bj09bzai9y->Next; } return self::DefaultColorValue; } public function set_G($_0fb20bavmwuva3xdwpxk497tuc) { $this->GreenRange = new RandomRange($_0fb20bavmwuva3xdwpxk497tuc); } private $_iz2e0k8jqtljkwfn2fnyk; public function get_BlueRange() { return $this->_iz2e0k8jqtljkwfn2fnyk; } public function set_BlueRange(RandomRange $_1386lxepz5wb4shmucc2nj6x5e) { if (!self::IsValidColorRange($_1386lxepz5wb4shmucc2nj6x5e)) { throw new Exception("\103\x6f\154\x6f\162\x20\166\x61\x6c\165\145\40\155\165\x73\164\40\x62\x65\40\x62\145\x74\167\x65\145\156\x20\x30\x20\x61\156\144\x20\x32\65\65\x3a\x20\74{$_1386lxepz5wb4shmucc2nj6x5e->Min}\x2c\x20{$_1386lxepz5wb4shmucc2nj6x5e->Max}\x3e"); } $this->_iz2e0k8jqtljkwfn2fnyk = $_1386lxepz5wb4shmucc2nj6x5e; } public function get_B() { if ($this->HasValue()) { return $this->_iz2e0k8jqtljkwfn2fnyk->Next; } return self::DefaultColorValue; } public function set_B($_lya4e7wnvrgs0e78lhbz8) { $this->BlueRange = new RandomRange($_lya4e7wnvrgs0e78lhbz8); } public function HasValue() { return (isset($this->_0norvxlg7mllylfkwnx5qkprgm) || isset($this->_oeekypi7y92bj09bzai9y) || isset($this->_iz2e0k8jqtljkwfn2fnyk)); } public function get_IsRandomized() { return ($this->_0norvxlg7mllylfkwnx5qkprgm->get_IsRandomized() || $this->_oeekypi7y92bj09bzai9y->get_IsRandomized() || $this->_iz2e0k8jqtljkwfn2fnyk->get_IsRandomized()); } public function Freeze() { $this->_iz2e0k8jqtljkwfn2fnyk->Freeze(); $this->_oeekypi7y92bj09bzai9y->Freeze(); $this->_0norvxlg7mllylfkwnx5qkprgm->Freeze(); } public function get_Frozen() { $this->Freeze(); return $this; } public static function FromHtmlColor($_Ozy1k1tr1hgofo48zc2y4gb324){ if (StringHelper::StartsWith($_Ozy1k1tr1hgofo48zc2y4gb324, "\x23")) { return self::FromHexString($_Ozy1k1tr1hgofo48zc2y4gb324); } else { return self::FromName($_Ozy1k1tr1hgofo48zc2y4gb324); } } public static function FromName($_Olyaturqsichlmtb) { $_lihh20k54ybg2l2nrgi2k216dp = HtmlColor::GetValue(StringHelper::Normalize($_Olyaturqsichlmtb)); return self::FromHexString($_lihh20k54ybg2l2nrgi2k216dp); } public static function FromHexString($_1mcp5k946dd7j4j0) { $_0rvbt1awipd8tmbkahsw1 = preg_replace("\57\133\x5e\60\55\x39\101\x2d\106\141\x2d\x66\x5d\57", '', $_1mcp5k946dd7j4j0); $_ij7piz9l7ugj9czle996i = strlen($_0rvbt1awipd8tmbkahsw1); if (3 != $_ij7piz9l7ugj9czle996i && 6 != $_ij7piz9l7ugj9czle996i) { throw new Exception("\x49\x6e\x76\x61\x6c\x69\x64\40\x68\x65\170\x20\x73\164\162\151\156\x67\x20\x6c\145\x6e\147\164\150\72\x20{$_1mcp5k946dd7j4j0}\x2e"); } if (3 == $_ij7piz9l7ugj9czle996i) { $_iuwtkj37g0qlrkgt = 1; $_O7ckp61u3j487abu4iqs6 = str_repeat(substr($_0rvbt1awipd8tmbkahsw1, 0, $_iuwtkj37g0qlrkgt), 2); $_Oq4hkl6ijekm0lkajfsrc = str_repeat(substr($_0rvbt1awipd8tmbkahsw1, $_iuwtkj37g0qlrkgt, $_iuwtkj37g0qlrkgt), 2); $_ogd04qsmbxeiewgijh9hc = str_repeat(substr($_0rvbt1awipd8tmbkahsw1, 2 * $_iuwtkj37g0qlrkgt, $_iuwtkj37g0qlrkgt), 2); } else if (6 == $_ij7piz9l7ugj9czle996i) { $_iuwtkj37g0qlrkgt = 2; $_O7ckp61u3j487abu4iqs6 = substr($_0rvbt1awipd8tmbkahsw1, 0, $_iuwtkj37g0qlrkgt); $_Oq4hkl6ijekm0lkajfsrc = substr($_0rvbt1awipd8tmbkahsw1, $_iuwtkj37g0qlrkgt, $_iuwtkj37g0qlrkgt); $_ogd04qsmbxeiewgijh9hc = substr($_0rvbt1awipd8tmbkahsw1, 2 * $_iuwtkj37g0qlrkgt, $_iuwtkj37g0qlrkgt); } $_okchysmbfeguuvfp1ro9yq0pgq = hexdec($_O7ckp61u3j487abu4iqs6); $_Oimy1wm60h3ljajfbh6lyzto2c = hexdec($_Oq4hkl6ijekm0lkajfsrc); $_0b5kki62jfyk8jvy = hexdec($_ogd04qsmbxeiewgijh9hc); return new Color($_okchysmbfeguuvfp1ro9yq0pgq, $_Oimy1wm60h3ljajfbh6lyzto2c, $_0b5kki62jfyk8jvy); } public function ToHexString() { $_Ima850bn77axyzqoinubu = dechex($this->R); $_Ima850bn77axyzqoinubu = str_pad($_Ima850bn77axyzqoinubu, 2, "\60", STR_PAD_LEFT); $_Oal12n166lh8astm = dechex($this->G); $_Oal12n166lh8astm = str_pad($_Oal12n166lh8astm, 2, "\x30", STR_PAD_LEFT); $_iy9o1pyk24fuh61l = dechex($this->B); $_iy9o1pyk24fuh61l = str_pad($_iy9o1pyk24fuh61l, 2, "\x30", STR_PAD_LEFT); return strtoupper("\43{$_Ima850bn77axyzqoinubu}{$_Oal12n166lh8astm}{$_iy9o1pyk24fuh61l}"); } public static function Between(Color $_04opz8xnc1dinkyirbsav, Color $_o3v8vcwtjt42d5gs6puzhfajfe) { $_14j0716oe0d8zc2z = new Color(0, 0, 0); $_14j0716oe0d8zc2z->RedRange = new RandomRange($_04opz8xnc1dinkyirbsav->R, $_o3v8vcwtjt42d5gs6puzhfajfe->R); $_14j0716oe0d8zc2z->GreenRange = new RandomRange($_04opz8xnc1dinkyirbsav->G, $_o3v8vcwtjt42d5gs6puzhfajfe->G); $_14j0716oe0d8zc2z->BlueRange = new RandomRange($_04opz8xnc1dinkyirbsav->B, $_o3v8vcwtjt42d5gs6puzhfajfe->B); return $_14j0716oe0d8zc2z; } public static function Rgb($_l1bryww2ri2xbqt5r92295g5b6, $_0kxp4023c3if6nb4dhtw4, $_oppczotxru3ieg0snlj3dj493c) { return new Color($_l1bryww2ri2xbqt5r92295g5b6, $_0kxp4023c3if6nb4dhtw4, $_oppczotxru3ieg0snlj3dj493c); } public static function BetweenRgb($_o3iuoiel8yszpny4lo1rx, $_lhpght1iten5u6ga, $_0iyuupasvs1ppahm) { return new Color($_o3iuoiel8yszpny4lo1rx, $_lhpght1iten5u6ga, $_0iyuupasvs1ppahm); } public function AndRgb($_o2uw9bu6ytlpnjl3eljqf75ct1, $_okgokm52fsbf62a2g4pxt, $_1ml3wdhgiwvjbl5qxz119) { return self::Between($this, new Color($_o2uw9bu6ytlpnjl3eljqf75ct1, $_okgokm52fsbf62a2g4pxt, $_1ml3wdhgiwvjbl5qxz119)); } public static function Randomized(Color $_i7mc69qlc4bxoxy110lpxj249h, $_0woypefw6maaqulz) { $_Ohe01sn8rsy8t2wv = new Color(0, 0, 0); $_0k5yxrhkhurp7knhgeg7vixz5l = $_0woypefw6maaqulz / 2; $_Ia388n3e8mh7sg4a = $_i7mc69qlc4bxoxy110lpxj249h->R - $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_Ia388n3e8mh7sg4a < 0) { $_Ia388n3e8mh7sg4a = 0; } $_ib8ivl5esqe9prjvoail7 = $_i7mc69qlc4bxoxy110lpxj249h->R + $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_ib8ivl5esqe9prjvoail7 > 255) { $_ib8ivl5esqe9prjvoail7 = 255; } $_Ohe01sn8rsy8t2wv->RedRange = new RandomRange($_Ia388n3e8mh7sg4a, $_ib8ivl5esqe9prjvoail7); $_ltr11otnxhcx1rf5 = $_i7mc69qlc4bxoxy110lpxj249h->G - $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_ltr11otnxhcx1rf5 < 0) { $_ltr11otnxhcx1rf5 = 0; } $_1t7l58jpmnw3f3a2 = $_i7mc69qlc4bxoxy110lpxj249h->G + $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_1t7l58jpmnw3f3a2 > 255) { $_1t7l58jpmnw3f3a2 = 255; } $_Ohe01sn8rsy8t2wv->GreenRange = new RandomRange($_ltr11otnxhcx1rf5, $_1t7l58jpmnw3f3a2); $_Icco1k5ptlnk6dux = $_i7mc69qlc4bxoxy110lpxj249h->B - $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_Icco1k5ptlnk6dux < 0) { $_Icco1k5ptlnk6dux = 0; } $_Isyafaswvbg6xafd = $_i7mc69qlc4bxoxy110lpxj249h->B + $_0k5yxrhkhurp7knhgeg7vixz5l; if ($_Isyafaswvbg6xafd > 255) { $_Isyafaswvbg6xafd = 255; } $_Ohe01sn8rsy8t2wv->BlueRange = new RandomRange($_Icco1k5ptlnk6dux, $_Isyafaswvbg6xafd); return $_Ohe01sn8rsy8t2wv; } public static function RandomizedR(Color $_ihdszqg4mxx84evr9yyg0, $_igiuqevcbs093hpz) { $_Ofctwla23nfn6pi0f8h8nhae8s = new Color(0, $_ihdszqg4mxx84evr9yyg0->G, $_ihdszqg4mxx84evr9yyg0->B); $_o792c65vl4m9kow2 = $_igiuqevcbs093hpz / 2; $_Oipgtoqkuedf9dl1 = $_ihdszqg4mxx84evr9yyg0->R - $_o792c65vl4m9kow2; if ($_Oipgtoqkuedf9dl1 < 0) { $_Oipgtoqkuedf9dl1 = 0; } $_197ai6b0jn0zpiehk5nxd1n4fb = $_ihdszqg4mxx84evr9yyg0->R + $_o792c65vl4m9kow2; if ($_197ai6b0jn0zpiehk5nxd1n4fb > 255) { $_197ai6b0jn0zpiehk5nxd1n4fb = 255; } $_Ofctwla23nfn6pi0f8h8nhae8s->RedRange = new RandomRange($_Oipgtoqkuedf9dl1, $_197ai6b0jn0zpiehk5nxd1n4fb); return $_Ofctwla23nfn6pi0f8h8nhae8s; } public static function RandomizedG(Color $_Oxcty7kzxf462v4u, $_08b6s7a0eljkrmzqkss5p) { $_lg53rdwgjqhzya62 = new Color($_Oxcty7kzxf462v4u->R, 0, $_Oxcty7kzxf462v4u->B); $_0hnyo8qk5rrllux0gy3kgd2ulq = $_08b6s7a0eljkrmzqkss5p / 2; $_itsfc9shw6vthdpf = $_Oxcty7kzxf462v4u->G - $_0hnyo8qk5rrllux0gy3kgd2ulq; if ($_itsfc9shw6vthdpf < 0) { $_itsfc9shw6vthdpf = 0; } $_ipf7udtsqlrqzssj = $_Oxcty7kzxf462v4u->G + $_0hnyo8qk5rrllux0gy3kgd2ulq; if ($_ipf7udtsqlrqzssj > 255) { $_ipf7udtsqlrqzssj = 255; } $_lg53rdwgjqhzya62->GreenRange = new RandomRange($_itsfc9shw6vthdpf, $_ipf7udtsqlrqzssj); return $_lg53rdwgjqhzya62; } public static function RandomizedB(Color $_ibp3mcpzk2qqwzwtq2ich, $_i3ngerkw3ptkpskd) { $_oz8tjxgnutkdzvl8stlsakbdef = new Color($_ibp3mcpzk2qqwzwtq2ich->R, $_ibp3mcpzk2qqwzwtq2ich->G, 0); $_i6tm9r7tw3i6g62ojvrg7 = $_i3ngerkw3ptkpskd / 2; $_oocnkgjrro3nq0mjzhvitg002c = $_ibp3mcpzk2qqwzwtq2ich->B - $_i6tm9r7tw3i6g62ojvrg7; if ($_oocnkgjrro3nq0mjzhvitg002c < 0) { $_oocnkgjrro3nq0mjzhvitg002c = 0; } $_1htsxdfug4vf5mhxlhwd2suxug = $_ibp3mcpzk2qqwzwtq2ich->B + $_i6tm9r7tw3i6g62ojvrg7; if ($_1htsxdfug4vf5mhxlhwd2suxug > 255) { $_1htsxdfug4vf5mhxlhwd2suxug = 255; } $_oz8tjxgnutkdzvl8stlsakbdef->BlueRange = new RandomRange($_oocnkgjrro3nq0mjzhvitg002c, $_1htsxdfug4vf5mhxlhwd2suxug); return $_oz8tjxgnutkdzvl8stlsakbdef; } public function get_Complement() { $_i48l2dnv7cb3mnb2hjxqmgmxp4 = new Color(0, 0, 0); $_i48l2dnv7cb3mnb2hjxqmgmxp4->RedRange = new RandomRange(255 - $this->RedRange->Max, 255 - $this->RedRange->Min); $_i48l2dnv7cb3mnb2hjxqmgmxp4->GreenRange = new RandomRange(255 - $this->GreenRange->Max, 255 - $this->GreenRange->Min); $_i48l2dnv7cb3mnb2hjxqmgmxp4->BlueRange = new RandomRange(255 - $this->BlueRange->Max, 255 - $this->BlueRange->Min); return $_i48l2dnv7cb3mnb2hjxqmgmxp4; } public function ColorDistanceTo(Color $_oa2hjmilkxw5vabp) { $_owo4pyvm3ctl57lcoghfleidt8 = sqrt(pow(($this->get_R() - $_oa2hjmilkxw5vabp->get_R()), 2) + pow(($this->get_G() - $_oa2hjmilkxw5vabp->get_G()), 2) + pow(($this->get_B() - $_oa2hjmilkxw5vabp->get_B()), 2)); return $_owo4pyvm3ctl57lcoghfleidt8; } public function get_MostContrastingColor() { $_Idq82finxbzd25d6b1bdo = 0; if ($this->R < 127) { $_Idq82finxbzd25d6b1bdo = 255; } $_0we0na50bky325tcw0uydul0kp = 0; if ($this->G < 127) { $_0we0na50bky325tcw0uydul0kp = 255; } $_1p8aed92r6kn95j4 = 0; if ($this->B < 127) { $_1p8aed92r6kn95j4 = 255; } return Color::Rgb($_Idq82finxbzd25d6b1bdo, $_0we0na50bky325tcw0uydul0kp, $_1p8aed92r6kn95j4); } public static function Median() { $_l33rksuwky7zxz50 = func_num_args(); $_1gdjgv4njidgpvaewuz0l8vyjv = func_get_args(); $_O3bqm7q0x1lw73o7bh5av55zbi = 0; $_0i3xaaj8juywtu1ae9e9zhdzde = 0; $_I905piv62nhljlmc = 0; $_0lk05szzdsd9xolu = 0; foreach ($_1gdjgv4njidgpvaewuz0l8vyjv as $_18qzxaiqvk9csobglsk2tukn9w) { if ($_18qzxaiqvk9csobglsk2tukn9w instanceof Color) { $_0lk05szzdsd9xolu++; $_O3bqm7q0x1lw73o7bh5av55zbi += $_18qzxaiqvk9csobglsk2tukn9w->R; $_0i3xaaj8juywtu1ae9e9zhdzde += $_18qzxaiqvk9csobglsk2tukn9w->G; $_I905piv62nhljlmc += $_18qzxaiqvk9csobglsk2tukn9w->B; } } if (0 == $_0lk05szzdsd9xolu) { throw new Exception("\x43\157\x6c\157\162\x3a\72\x4d\145\x64\151\x61\x6e\50\x29\x20\162\145\x71\165\x69\x72\x65\163\x20\141\164\40\x6c\x65\141\x73\x74\x20\61\40\160\x61\x72\141\x6d\145\x74\145\162\40\x6f\146\x20\x74\x79\x70\x65\40\x43\157\154\x6f\162\41"); } return Color::Rgb($_O3bqm7q0x1lw73o7bh5av55zbi / $_0lk05szzdsd9xolu, $_0i3xaaj8juywtu1ae9e9zhdzde / $_0lk05szzdsd9xolu, $_I905piv62nhljlmc / $_0lk05szzdsd9xolu); } public static function Darkened(Color $_Oe8wx39ax1e7v4i8xc9lx, $_oiuc84gj469bqrous2xlb) { if (0 > $_oiuc84gj469bqrous2xlb || 99 < $_oiuc84gj469bqrous2xlb) { throw new Exception("\104\141\162\153\x65\x6e\x69\156\147\40\157\x6e\x6c\x79\40\155\x61\x6b\x65\x73\x20\163\x65\x6e\163\x65\x20\167\x69\164\150\x20\144\145\163\151\162\x65\x64\40\154\165\x6d\151\x6e\x6f\x73\x69\164\x79\40\142\x65\164\167\x65\x65\156\x20\60\x20\141\x6e\144\x20\x39\71\x20\x70\145\162\x63\145\156\164\40\x69\x6e\160\165\164\72\40{$_oiuc84gj469bqrous2xlb}"); } $_1kcdl2psne99li0g = $_Oe8wx39ax1e7v4i8xc9lx->Luminosity; $_O8wnnqzk5fvwz8dft5n6qcpuzz = $_1kcdl2psne99li0g * $_oiuc84gj469bqrous2xlb / 100.00; return Color::Hsl($_Oe8wx39ax1e7v4i8xc9lx->Hue, $_Oe8wx39ax1e7v4i8xc9lx->Saturation, $_O8wnnqzk5fvwz8dft5n6qcpuzz); } public static function Lightened(Color $_1g1jy6xfog6cvh47, $_iwdqohwgcgwuc0qc) { if (100 > $_iwdqohwgcgwuc0qc) { throw new Exception("\114\151\x67\x68\164\145\156\151\156\x67\40\x6f\x6e\x6c\171\x20\x6d\x61\x6b\x65\163\40\163\145\156\x73\x65\40\x77\x69\164\150\40\x64\145\x73\x69\162\145\144\x20\x6c\165\x6d\x69\x6e\157\x73\x69\x74\x79\40\x6d\x6f\162\x65\x20\x74\x68\x61\x6e\x20\61\60\x30\x20\x70\x65\x72\143\145\x6e\x74\40\x69\156\160\x75\x74\72\40{$_iwdqohwgcgwuc0qc}"); } $_obll86zz9c640sosjy417 = $_1g1jy6xfog6cvh47->Luminosity; $_iyc11e4x43j5tpek = $_obll86zz9c640sosjy417 * $_iwdqohwgcgwuc0qc / 100.00; if (0.1 > $_iyc11e4x43j5tpek) { $_iyc11e4x43j5tpek = 0.25; } if ($_iyc11e4x43j5tpek > 1.0) { $_iyc11e4x43j5tpek = 1.0; } return Color::Hsl($_1g1jy6xfog6cvh47->Hue, $_1g1jy6xfog6cvh47->Saturation, $_iyc11e4x43j5tpek); } public static function SaturationAdjusted(Color $_leo54yv384r2wofr, $_Oxvbpys5equfx3jn7x8bd) { $_Ovof7nampsxpce5anbka8 = $_leo54yv384r2wofr->Saturation; $_0vwla5emtpbr3kzke3c1k = $_Ovof7nampsxpce5anbka8 * $_Oxvbpys5equfx3jn7x8bd / 100.00; if ($_0vwla5emtpbr3kzke3c1k > 1.0) { $_0vwla5emtpbr3kzke3c1k = 1.0; } return Color::Hsl($_leo54yv384r2wofr->Hue, $_0vwla5emtpbr3kzke3c1k, $_leo54yv384r2wofr->Luminosity); } public function get_Hue() { if (($this->R == $this->G) && ($this->G == $this->B)) { return 0; } $_osrg1t4sjjg6togjwpfnkofkdx = $this->R / 255.00; $_Ofvrqaq3dkqbpnutr1pui = $this->G / 255.00; $_lj7xpq62wh5ykm69muwzydimmr = $this->B / 255.00; $_On0bsft5y1bpew627uvnef1voe = $_osrg1t4sjjg6togjwpfnkofkdx; if ($_Ofvrqaq3dkqbpnutr1pui > $_On0bsft5y1bpew627uvnef1voe) { $_On0bsft5y1bpew627uvnef1voe = $_Ofvrqaq3dkqbpnutr1pui; } if ($_lj7xpq62wh5ykm69muwzydimmr > $_On0bsft5y1bpew627uvnef1voe) { $_On0bsft5y1bpew627uvnef1voe = $_lj7xpq62wh5ykm69muwzydimmr; } $_ir97fowpt4rhzsue = $_osrg1t4sjjg6togjwpfnkofkdx; if ($_Ofvrqaq3dkqbpnutr1pui < $_ir97fowpt4rhzsue) { $_ir97fowpt4rhzsue = $_Ofvrqaq3dkqbpnutr1pui; } if ($_lj7xpq62wh5ykm69muwzydimmr < $_ir97fowpt4rhzsue) { $_ir97fowpt4rhzsue = $_lj7xpq62wh5ykm69muwzydimmr; } $_leo0cp3dlb5dl1l4gsj9a = $_On0bsft5y1bpew627uvnef1voe - $_ir97fowpt4rhzsue; $_0i6o9ucnl2yymb1v = 0; if ($_osrg1t4sjjg6togjwpfnkofkdx == $_On0bsft5y1bpew627uvnef1voe) { $_0i6o9ucnl2yymb1v = ($_Ofvrqaq3dkqbpnutr1pui - $_lj7xpq62wh5ykm69muwzydimmr) / $_leo0cp3dlb5dl1l4gsj9a; } else { if ($_Ofvrqaq3dkqbpnutr1pui == $_On0bsft5y1bpew627uvnef1voe) { $_0i6o9ucnl2yymb1v = 2 + (($_lj7xpq62wh5ykm69muwzydimmr - $_osrg1t4sjjg6togjwpfnkofkdx) / $_leo0cp3dlb5dl1l4gsj9a); } else { if ($_lj7xpq62wh5ykm69muwzydimmr == $_On0bsft5y1bpew627uvnef1voe) { $_0i6o9ucnl2yymb1v = 4 + (($_osrg1t4sjjg6togjwpfnkofkdx - $_Ofvrqaq3dkqbpnutr1pui) / $_leo0cp3dlb5dl1l4gsj9a); } } } $_0i6o9ucnl2yymb1v = $_0i6o9ucnl2yymb1v * 60; if ($_0i6o9ucnl2yymb1v < 0) { $_0i6o9ucnl2yymb1v = $_0i6o9ucnl2yymb1v + 360; } return $_0i6o9ucnl2yymb1v; } public function get_Saturation() { $_0wjnutachsbct7os = $this->R / 255.00; $_Oanqket2fwro5o3dtxdszp3u8b = $this->G / 255.00; $_iapv3eu3ezsgovc6 = $this->B / 255.00; $_o7v4r96ebrlxytgap532uxd9do = $_0wjnutachsbct7os; if ($_Oanqket2fwro5o3dtxdszp3u8b > $_o7v4r96ebrlxytgap532uxd9do) { $_o7v4r96ebrlxytgap532uxd9do = $_Oanqket2fwro5o3dtxdszp3u8b; } if ($_iapv3eu3ezsgovc6 > $_o7v4r96ebrlxytgap532uxd9do) { $_o7v4r96ebrlxytgap532uxd9do = $_iapv3eu3ezsgovc6; } $_o32ma2rp96zu4kz7lhnkb = $_0wjnutachsbct7os; if ($_Oanqket2fwro5o3dtxdszp3u8b < $_o32ma2rp96zu4kz7lhnkb) { $_o32ma2rp96zu4kz7lhnkb = $_Oanqket2fwro5o3dtxdszp3u8b; } if ($_iapv3eu3ezsgovc6 < $_o32ma2rp96zu4kz7lhnkb) { $_o32ma2rp96zu4kz7lhnkb = $_iapv3eu3ezsgovc6; } $_O141tik9g51ug4e5cqitqukpa4 = 0; if ($_o7v4r96ebrlxytgap532uxd9do != $_o32ma2rp96zu4kz7lhnkb) { $_Ic1onw2thvjqsn1xo5h3o60qus = $_o7v4r96ebrlxytgap532uxd9do - $_o32ma2rp96zu4kz7lhnkb; $_Ojl8r5eiu64ydrj2 = ($_o7v4r96ebrlxytgap532uxd9do + $_o32ma2rp96zu4kz7lhnkb) / 2; if ($_Ojl8r5eiu64ydrj2 <= 0.50) { $_O141tik9g51ug4e5cqitqukpa4 = $_Ic1onw2thvjqsn1xo5h3o60qus / (2 * $_Ojl8r5eiu64ydrj2); } else { $_O141tik9g51ug4e5cqitqukpa4 = $_Ic1onw2thvjqsn1xo5h3o60qus / (2 - (2 * $_Ojl8r5eiu64ydrj2)); } } return $_O141tik9g51ug4e5cqitqukpa4; } public function get_Luminosity() { $_0zksc66js9av7bqq = $this->R / 255.00; $_i2u51yinv5ic4hur = $this->G / 255.00; $_iy6fnm3dsbknxo6edcwjk = $this->B / 255.00; $_143i3fv4ax5sc891hir1g = $_0zksc66js9av7bqq; if ($_i2u51yinv5ic4hur > $_143i3fv4ax5sc891hir1g) { $_143i3fv4ax5sc891hir1g = $_i2u51yinv5ic4hur; } if ($_iy6fnm3dsbknxo6edcwjk > $_143i3fv4ax5sc891hir1g) { $_143i3fv4ax5sc891hir1g = $_iy6fnm3dsbknxo6edcwjk; } $_1yi352b82a7cv2l9am22g = $_0zksc66js9av7bqq; if ($_i2u51yinv5ic4hur < $_1yi352b82a7cv2l9am22g) { $_1yi352b82a7cv2l9am22g = $_i2u51yinv5ic4hur; } if ($_iy6fnm3dsbknxo6edcwjk < $_1yi352b82a7cv2l9am22g) { $_1yi352b82a7cv2l9am22g = $_iy6fnm3dsbknxo6edcwjk; } return ($_143i3fv4ax5sc891hir1g + $_1yi352b82a7cv2l9am22g) / 2; } public static function Hsl($_i5urisrwh58klig642lakpl841, $_isfii8hq98h7hox8pd2nf5odm5, $_Il8n8wmj1vtdug2y) { $_opqslbtl1zojtb621izb5ab3ph = $_Il8n8wmj1vtdug2y; $_i3tebml0p4nsfawcaohy8 = $_Il8n8wmj1vtdug2y; $_o41qlr3p4cxespd560u59 = $_Il8n8wmj1vtdug2y; $_ixea6xb22mv56xp9svfblc5khi = ($_Il8n8wmj1vtdug2y <= 0.5) ? ($_Il8n8wmj1vtdug2y * (1.0 + $_isfii8hq98h7hox8pd2nf5odm5)) : ($_Il8n8wmj1vtdug2y + $_isfii8hq98h7hox8pd2nf5odm5 - $_Il8n8wmj1vtdug2y * $_isfii8hq98h7hox8pd2nf5odm5); if ($_ixea6xb22mv56xp9svfblc5khi > 0) { $_Oi768639t97je1co2fr0i = 2 * $_Il8n8wmj1vtdug2y - $_ixea6xb22mv56xp9svfblc5khi; $_Iqqvsni5i6rv5wgg7kkcfqgshk = ($_ixea6xb22mv56xp9svfblc5khi - $_Oi768639t97je1co2fr0i) / $_ixea6xb22mv56xp9svfblc5khi; $_i5urisrwh58klig642lakpl841 /= 60.00; $_O1oulc2357jxkzg4 = (int)$_i5urisrwh58klig642lakpl841; $_onc8ztgn9to3zzqkq2f8l = $_i5urisrwh58klig642lakpl841 - $_O1oulc2357jxkzg4; $_Iznfqy1gqbaovxje = $_ixea6xb22mv56xp9svfblc5khi * $_Iqqvsni5i6rv5wgg7kkcfqgshk * $_onc8ztgn9to3zzqkq2f8l; $_0jwpsqkp7my7vwwo = $_Oi768639t97je1co2fr0i + $_Iznfqy1gqbaovxje; $_1u3rv6aysrplw8hi = $_ixea6xb22mv56xp9svfblc5khi - $_Iznfqy1gqbaovxje; switch ($_O1oulc2357jxkzg4) { case 0: $_opqslbtl1zojtb621izb5ab3ph = $_ixea6xb22mv56xp9svfblc5khi; $_i3tebml0p4nsfawcaohy8 = $_0jwpsqkp7my7vwwo; $_o41qlr3p4cxespd560u59 = $_Oi768639t97je1co2fr0i; break; case 1: $_opqslbtl1zojtb621izb5ab3ph = $_1u3rv6aysrplw8hi; $_i3tebml0p4nsfawcaohy8 = $_ixea6xb22mv56xp9svfblc5khi; $_o41qlr3p4cxespd560u59 = $_Oi768639t97je1co2fr0i; break; case 2: $_opqslbtl1zojtb621izb5ab3ph = $_Oi768639t97je1co2fr0i; $_i3tebml0p4nsfawcaohy8 = $_ixea6xb22mv56xp9svfblc5khi; $_o41qlr3p4cxespd560u59 = $_0jwpsqkp7my7vwwo; break; case 3: $_opqslbtl1zojtb621izb5ab3ph = $_Oi768639t97je1co2fr0i; $_i3tebml0p4nsfawcaohy8 = $_1u3rv6aysrplw8hi; $_o41qlr3p4cxespd560u59 = $_ixea6xb22mv56xp9svfblc5khi; break; case 4: $_opqslbtl1zojtb621izb5ab3ph = $_0jwpsqkp7my7vwwo; $_i3tebml0p4nsfawcaohy8 = $_Oi768639t97je1co2fr0i; $_o41qlr3p4cxespd560u59 = $_ixea6xb22mv56xp9svfblc5khi; break; case 5: $_opqslbtl1zojtb621izb5ab3ph = $_ixea6xb22mv56xp9svfblc5khi; $_i3tebml0p4nsfawcaohy8 = $_Oi768639t97je1co2fr0i; $_o41qlr3p4cxespd560u59 = $_1u3rv6aysrplw8hi; break; } } return Color::Rgb((int)round($_opqslbtl1zojtb621izb5ab3ph * 255), (int)round($_i3tebml0p4nsfawcaohy8 * 255), (int)round($_o41qlr3p4cxespd560u59 * 255)); } public function __get($_oiff0yq1406mdkll3sx50tkige) { if (method_exists($this, ($_07lvu9eoz8iwo5xmic21l = "\147\145\x74\x5f".$_oiff0yq1406mdkll3sx50tkige))) { return $this->$_07lvu9eoz8iwo5xmic21l(); } else return; } public function __isset($_okhfxzdppkc38pkswj5b4) { if (method_exists($this, ($_I2npvl7kn6a879wjjkykk5u4of = "\x69\x73\x73\x65\164\x5f".$_okhfxzdppkc38pkswj5b4))) { return $this->$_I2npvl7kn6a879wjjkykk5u4of(); } else return; } public function __set($_ots5ofl8pphh7zpm30r51m6hs2, $_llrhmu4i4dzv4uwzdmf1us2p7z) { if (method_exists($this, ($_i4hx1aow75abph8ns7p1bqlffb = "\x73\x65\164\137".$_ots5ofl8pphh7zpm30r51m6hs2))) { $this->$_i4hx1aow75abph8ns7p1bqlffb($_llrhmu4i4dzv4uwzdmf1us2p7z); } } public function __unset($_I4wa99z076wndciq) { if (method_exists($this, ($_I5wvpcgpq4hrga8u = "\165\x6e\x73\145\164\137".$_I4wa99z076wndciq))) { $this->$_I5wvpcgpq4hrga8u(); } } } class Rotation { public function __construct() { } const DefaultRotationAngle = 0; private $_I6d8d1517owvo3gq163c7fw35h; public function get_AngleRange() { return $this->_I6d8d1517owvo3gq163c7fw35h; } public function set_AngleRange(RandomRange $_Ijnxzcelpb5efdwb) { if (-360 >= $_Ijnxzcelpb5efdwb->Min || 360 <= $_Ijnxzcelpb5efdwb->Max) { throw new Exception("\x53\x68\x61\x70\x65\x20\x72\x6f\164\141\164\x69\x6f\x6e\40\x61\156\x67\x6c\145\40\155\x75\163\164\40\142\145\40\x62\145\164\x77\145\145\x6e\40\x2d\x33\x35\71\x20\x61\x6e\x64\40\x33\x35\71\x3a\x20\x3c{$_Ijnxzcelpb5efdwb->Min}\54\40{$_Ijnxzcelpb5efdwb->Max}\76"); } $this->_I6d8d1517owvo3gq163c7fw35h = $_Ijnxzcelpb5efdwb; } public function get_Angle() { if ($this->HasValue()) { return $this->_I6d8d1517owvo3gq163c7fw35h->Next; } return self::DefaultRotationAngle; } public function set_Angle($_0bxnukptflcedxhm) { if (self::DefaultRotationAngle == $_0bxnukptflcedxhm) { unset($this->_I6d8d1517owvo3gq163c7fw35h); } else { $this->AngleRange = new RandomRange($_0bxnukptflcedxhm); } } public function HasValue() { return (isset($this->_I6d8d1517owvo3gq163c7fw35h)); } public function __get($_0mitqk4yup5ojmyc9bilx5fuug) { if (method_exists($this, ($_o70vlaacqh52qawzb03i3 = "\147\145\x74\137".$_0mitqk4yup5ojmyc9bilx5fuug))) { return $this->$_o70vlaacqh52qawzb03i3(); } else return; } public function __isset($_0gxgq7xwc20iuvcg15xijeenib) { if (method_exists($this, ($_ixrkbfretzbz0l2u = "\x69\x73\163\145\164\x5f".$_0gxgq7xwc20iuvcg15xijeenib))) { return $this->$_ixrkbfretzbz0l2u(); } else return; } public function __set($_ol2zldh8k9se988e, $_0y0ty9k5oe458hzxu5hfofk2xe) { if (method_exists($this, ($_ldrcbzw75kqmoqsel0vek = "\x73\x65\x74\x5f".$_ol2zldh8k9se988e))) { $this->$_ldrcbzw75kqmoqsel0vek($_0y0ty9k5oe458hzxu5hfofk2xe); } } public function __unset($_13jeit94w0p7juw26j2av) { if (method_exists($this, ($_Ov1e37rk6jaerew4 = "\165\x6e\163\145\x74\x5f".$_13jeit94w0p7juw26j2av))) { $this->$_Ov1e37rk6jaerew4(); } } } class Scaling { public function __construct() { } const DefaultScalingPercentage = 100; private $_Oe5jvkdwou3f2c0zuttx9; public function get_xScalingPercentageRange() { return $this->_Oe5jvkdwou3f2c0zuttx9; } public function set_xScalingPercentageRange(RandomRange $_I3xfkz1zj4ghcypv548wb) { if (0 >= $_I3xfkz1zj4ghcypv548wb->Min || 200 <= $_I3xfkz1zj4ghcypv548wb->Max) { throw new Exception("\123\150\x61\x70\145\x20\163\143\141\154\151\156\x67\40\x70\x65\162\143\145\156\164\141\147\145\40\155\x75\x73\164\x20\x62\145\40\142\145\x74\x77\x65\145\156\x20\x31\x20\x61\x6e\x64\40\x31\71\x39\x3a\40\74{$_I3xfkz1zj4ghcypv548wb->Min}\x2c\40{$_I3xfkz1zj4ghcypv548wb->Max}\76"); } $this->_Oe5jvkdwou3f2c0zuttx9 = $_I3xfkz1zj4ghcypv548wb; } public function get_xScalingPercentage() { if ($this->HasValue()) { return $this->_Oe5jvkdwou3f2c0zuttx9->Next; } return self::DefaultScalingPercentage; } public function set_xScalingPercentage($_ih7wn3j6lgj2x5repprp7mqepp) { if (self::DefaultScalingPercentage == $_ih7wn3j6lgj2x5repprp7mqepp) { unset($this->_Oe5jvkdwou3f2c0zuttx9); } else { $this->xScalingPercentageRange = new RandomRange($_ih7wn3j6lgj2x5repprp7mqepp); } } public function get_xScalingFactor() { return $this->xScalingPercentage / 100.00; } private $_os40wsfh8y1aggqpjqdbaafvmn; public function get_yScalingPercentageRange() { return $this->_os40wsfh8y1aggqpjqdbaafvmn; } public function set_yScalingPercentageRange(RandomRange $_Igkoh62a24uiubgg) { if (0 >= $_Igkoh62a24uiubgg->Min || 200 <= $_Igkoh62a24uiubgg->Max) { throw new Exception("\123\x68\x61\x70\145\x20\163\143\141\x6c\x69\x6e\147\x20\x70\145\x72\143\145\156\164\141\147\x65\40\155\165\x73\x74\x20\142\145\x20\x62\145\164\167\145\145\156\40\61\40\141\x6e\144\40\61\71\x39\72\40\74{$_Igkoh62a24uiubgg->Min}\x2c\40{$_Igkoh62a24uiubgg->Max}\76"); } $this->_os40wsfh8y1aggqpjqdbaafvmn = $_Igkoh62a24uiubgg; } public function get_yScalingPercentage() { if ($this->HasValue()) { return $this->_os40wsfh8y1aggqpjqdbaafvmn->Next; } return self::DefaultScalingPercentage; } public function set_yScalingPercentage($_i5x1enwka57cm53pnr3y8xl49v) { if (self::DefaultScalingPercentage == $_i5x1enwka57cm53pnr3y8xl49v) { unset($this->_os40wsfh8y1aggqpjqdbaafvmn); } else { $this->yScalingPercentageRange = new RandomRange($_i5x1enwka57cm53pnr3y8xl49v); } } public function get_yScalingFactor() { return $this->yScalingPercentage / 100.00; } public function HasValue() { return (isset($this->_Oe5jvkdwou3f2c0zuttx9) || isset($this->_os40wsfh8y1aggqpjqdbaafvmn)); } public function __get($_l4pl7p4s327zjl22yg07ushmm5) { if (method_exists($this, ($_iuowbci3ignzsr8w1tf9s = "\147\145\x74\x5f".$_l4pl7p4s327zjl22yg07ushmm5))) { return $this->$_iuowbci3ignzsr8w1tf9s(); } else return; } public function __isset($_0ajuj4aayiuxu2xy1jxce) { if (method_exists($this, ($_18p2i36lanhrp0m7hijw74vsuu = "\151\x73\163\x65\164\x5f".$_0ajuj4aayiuxu2xy1jxce))) { return $this->$_18p2i36lanhrp0m7hijw74vsuu(); } else return; } public function __set($_I9i38ew9gfkm1xln, $_O16k5grw8ajwlj6p) { if (method_exists($this, ($_1j1i2zpbinuyxmihuahz2 = "\x73\x65\164\x5f".$_I9i38ew9gfkm1xln))) { $this->$_1j1i2zpbinuyxmihuahz2($_O16k5grw8ajwlj6p); } } public function __unset($_I6ahn1hsla3jnxc9bu54d) { if (method_exists($this, ($_08rkyzshdspfzr91 = "\x75\156\x73\x65\164\137".$_I6ahn1hsla3jnxc9bu54d))) { $this->$_08rkyzshdspfzr91(); } } } class Translation { public function __construct() { } const DefaultTranslationOffset = 0; private $_ltrs6ze784se9tyyvr2el; public function get_xOffsetRange() { return $this->_ltrs6ze784se9tyyvr2el; } public function set_xOffsetRange(RandomRange $_Izrq5ntp2p8ull7p) { if (-500 >= $_Izrq5ntp2p8ull7p->Min || 500 <= $_Izrq5ntp2p8ull7p->Max) { throw new Exception("\123\150\141\160\145\40\x74\162\x61\x6e\x73\154\141\164\151\157\156\x20\157\x66\x66\x73\145\164\40\x6d\165\x73\164\40\142\x65\x20\142\x65\x74\167\145\x65\x6e\x20\x2d\x34\x39\x39\x20\141\x6e\x64\x20\64\71\71\72\40\x3c{$_Izrq5ntp2p8ull7p->Min}\54\40{$_Izrq5ntp2p8ull7p->Max}\x3e"); } $this->_ltrs6ze784se9tyyvr2el = $_Izrq5ntp2p8ull7p; } public function get_xOffset() { if (isset($this->_ltrs6ze784se9tyyvr2el)) { return $this->_ltrs6ze784se9tyyvr2el->Next; } return self::DefaultTranslationOffset; } public function set_xOffset($_ohgtozgga62zvhdqedsmk) { if (self::DefaultTranslationOffset == $_ohgtozgga62zvhdqedsmk) { unset($this->_ltrs6ze784se9tyyvr2el); } else { $this->xOffsetRange = new RandomRange($_ohgtozgga62zvhdqedsmk); } } public function get_xOffsetRelative($_Oakzy6cuqy4ym8xecfmae) { return (int) ($_Oakzy6cuqy4ym8xecfmae * $this->xOffset / 100.00); } private $_l5yin7mw47zeske9ga8a7; public function get_yOffsetRange() { return $this->_l5yin7mw47zeske9ga8a7; } public function set_yOffsetRange(RandomRange $_11cul08tihughwlwlqsw9) { if (-500 >= $_11cul08tihughwlwlqsw9->Min || 500 <= $_11cul08tihughwlwlqsw9->Max) { throw new Exception("\123\x68\x61\160\x65\x20\x74\162\141\x6e\x73\154\x61\x74\x69\157\x6e\x20\x6f\x66\x66\x73\x65\164\40\155\165\x73\x74\x20\x62\x65\x20\x62\145\x74\x77\x65\x65\156\40\55\x34\71\71\x20\x61\156\144\x20\64\71\71\72\x20\x3c{$_11cul08tihughwlwlqsw9->Min}\54\40{$_11cul08tihughwlwlqsw9->Max}\76"); } $this->_l5yin7mw47zeske9ga8a7 = $_11cul08tihughwlwlqsw9; } public function get_yOffset() { if (isset($this->_l5yin7mw47zeske9ga8a7)) { return $this->_l5yin7mw47zeske9ga8a7->Next; } return self::DefaultTranslationOffset; } public function set_yOffset($_i246uby1wg2ym4s6sg1r3) { if (self::DefaultTranslationOffset == $_i246uby1wg2ym4s6sg1r3) { unset($this->_l5yin7mw47zeske9ga8a7); } else { $this->yOffsetRange = new RandomRange($_i246uby1wg2ym4s6sg1r3); } } public function get_yOffsetRelative($_obfyrzfrcjau0666hngza) { return (int) ($_obfyrzfrcjau0666hngza * $this->yOffset / 100.00); } public function HasValue() { return (isset($this->_ltrs6ze784se9tyyvr2el) || isset($this->_l5yin7mw47zeske9ga8a7)); } public function __get($_i53rjnbxa7jns3nmm5aoq) { if (method_exists($this, ($_Oeb2uihf4spwrxb0vxnuy = "\x67\x65\164\137".$_i53rjnbxa7jns3nmm5aoq))) { return $this->$_Oeb2uihf4spwrxb0vxnuy(); } else return; } public function __isset($_Iig0e1y58mduv55r) { if (method_exists($this, ($_Ix89yp355n76bxu7 = "\x69\163\163\145\164\x5f".$_Iig0e1y58mduv55r))) { return $this->$_Ix89yp355n76bxu7(); } else return; } public function __set($_0usaigx1v3u811qeobeps, $_lral09noe9jsfh0ou3jwgt8cos) { if (method_exists($this, ($_0bif0qjic4oxui07 = "\163\x65\164\x5f".$_0usaigx1v3u811qeobeps))) { $this->$_0bif0qjic4oxui07($_lral09noe9jsfh0ou3jwgt8cos); } } public function __unset($_0qzp23m6skn8xxtq) { if (method_exists($this, ($_Obwx1zaqdoe65kokt1sdnt0q4j = "\x75\x6e\x73\x65\164\x5f".$_0qzp23m6skn8xxtq))) { $this->$_Obwx1zaqdoe65kokt1sdnt0q4j(); } } } class Warp { public function __construct() { } const DefaultWarpPercentage = 0; private $_Oq3oeutjt6sxdznmv9sl8; public function get_WarpPercentageRange() { return $this->_Oq3oeutjt6sxdznmv9sl8; } public function set_WarpPercentageRange(RandomRange $_itp8g7xdtt86mfr3msi802h90j) { if (0 >= $_itp8g7xdtt86mfr3msi802h90j->Min || 100 <= $_itp8g7xdtt86mfr3msi802h90j->Max) { throw new Exception("\123\150\141\x70\145\x20\167\x61\162\x70\x20\x70\145\162\143\x65\156\164\141\x67\x65\x20\x6d\x75\x73\164\x20\x62\145\40\142\145\x74\x77\x65\x65\x6e\40\x31\40\141\x6e\x64\40\x39\x39\x3a\x20\74{$_itp8g7xdtt86mfr3msi802h90j->Min}\54\x20{$_itp8g7xdtt86mfr3msi802h90j->Max}\76"); } $this->_Oq3oeutjt6sxdznmv9sl8 = $_itp8g7xdtt86mfr3msi802h90j; } public function get_WarpPercentage() { if ($this->HasValue()) { return $this->_Oq3oeutjt6sxdznmv9sl8->Next; } return self::DefaultWarpPercentage; } public function set_WarpPercentage($_okw1w9xdp2qd6a8aq6vkkpcaxo) { if (self::DefaultWarpPercentage == $_okw1w9xdp2qd6a8aq6vkkpcaxo) { unset($this->_Oq3oeutjt6sxdznmv9sl8); } else { $this->WarpPercentageRange = new RandomRange($_okw1w9xdp2qd6a8aq6vkkpcaxo); } } public function get_WarpFactor() { return $this->WarpPercentage / 100.00; } public function HasValue() { return (isset($this->_Oq3oeutjt6sxdznmv9sl8)); } public function __get($_Ih2cuvbu3v5kqeam) { if (method_exists($this, ($_I3y6ha4nyqz4a9y06soxpksvki = "\147\145\164\137".$_Ih2cuvbu3v5kqeam))) { return $this->$_I3y6ha4nyqz4a9y06soxpksvki(); } else return; } public function __isset($_0ck4is946uwewrhoopbdfgdlcy) { if (method_exists($this, ($_iv4ndf1fndth4v8g87c7n = "\151\163\x73\x65\164\x5f".$_0ck4is946uwewrhoopbdfgdlcy))) { return $this->$_iv4ndf1fndth4v8g87c7n(); } else return; } public function __set($_ihwk2prhr3inkvuc8da5o, $_i7jgga110dvtxh7pio1it) { if (method_exists($this, ($_oo2u9gnamjzyajqf = "\163\145\x74\x5f".$_ihwk2prhr3inkvuc8da5o))) { $this->$_oo2u9gnamjzyajqf($_i7jgga110dvtxh7pio1it); } } public function __unset($_0qknl7uv5bhkg3s0xv2g1sn8d8) { if (method_exists($this, ($_i67t68yaiz6k9q1eji4nrgb0fl = "\165\x6e\163\145\164\x5f".$_0qknl7uv5bhkg3s0xv2g1sn8d8))) { $this->$_i67t68yaiz6k9q1eji4nrgb0fl(); } } } class Transform { public function __construct() { $this->_1cyt93ubtmlxobp4 = new Rotation(); $this->_Oh26j4gwaki1skx5 = new Scaling(); $this->_lzmxchon2iv6itui = new Translation(); $this->_O3fiqh6z99brstr0nyyp3s043p = new Warp(); } private $_1cyt93ubtmlxobp4; public function get_Rotation() { return $this->_1cyt93ubtmlxobp4; } public function set_Rotation(Rotation $_Oud1cmnex4y50os7) { $this->_1cyt93ubtmlxobp4 = $_Oud1cmnex4y50os7; } private $_Oh26j4gwaki1skx5; public function get_Scaling() { return $this->_Oh26j4gwaki1skx5; } public function set_Scaling(Scaling $_0bjr2zsur71t7cyh77cte) { $this->_Oh26j4gwaki1skx5 = $_0bjr2zsur71t7cyh77cte; } private $_lzmxchon2iv6itui; public function get_Translation() { return $this->_lzmxchon2iv6itui; } public function set_Translation(Translation $_istenk81he8rvyatlp2eyxvoap) { $this->_lzmxchon2iv6itui = $_istenk81he8rvyatlp2eyxvoap; } private $_O3fiqh6z99brstr0nyyp3s043p; public function get_Warp() { return $this->_O3fiqh6z99brstr0nyyp3s043p; } public function set_Warp(Warp $_1dgla7hfmo4cryv5) { $this->_O3fiqh6z99brstr0nyyp3s043p = $_1dgla7hfmo4cryv5; } public static function Identity() { return new Transform(); } public function __get($_lkbgnu2wdp88cd2fx1qdg) { if (method_exists($this, ($_Ow73cnxw1956zcvgnxwtf = "\x67\145\164\x5f".$_lkbgnu2wdp88cd2fx1qdg))) { return $this->$_Ow73cnxw1956zcvgnxwtf(); } else return; } public function __isset($_I47d1uftg8d3o4vxoihnq) { if (method_exists($this, ($_o5u4thbbmj9554hg34aca = "\151\163\163\145\x74\137".$_I47d1uftg8d3o4vxoihnq))) { return $this->$_o5u4thbbmj9554hg34aca(); } else return; } public function __set($_lmtqd5yebp6jbh7c, $_0n4rk7td7ahtrswp) { if (method_exists($this, ($_l7rha2jdel1lcv5ii33dn = "\163\145\164\137".$_lmtqd5yebp6jbh7c))) { $this->$_l7rha2jdel1lcv5ii33dn($_0n4rk7td7ahtrswp); } } public function __unset($_0u4ylveictgcfvc8) { if (method_exists($this, ($_1m514let1vl4d19xz7fzkqic3x = "\x75\156\163\x65\x74\x5f".$_0u4ylveictgcfvc8))) { $this->$_1m514let1vl4d19xz7fzkqic3x(); } } } class LineElement { function __construct(Color $_19q2k9bnk4tmir3qxvdlrw0m6t, $_02qixc6yqmejdyzs = self::Continuous, $_I3lzm4zhw0hkgoz615e6hxuhq1 = self::Continuous) { $this->_ovozjlnrasuqzov8 = $_19q2k9bnk4tmir3qxvdlrw0m6t; if (self::Continuous != $_02qixc6yqmejdyzs) { if (self::Continuous == $_I3lzm4zhw0hkgoz615e6hxuhq1) { $this->Length = $_02qixc6yqmejdyzs; } else { $this->LengthRange = new RandomRange($_02qixc6yqmejdyzs, $_I3lzm4zhw0hkgoz615e6hxuhq1); } } } const Continuous = 0; private $_ovozjlnrasuqzov8; public function get_Color() { return $this->_ovozjlnrasuqzov8; } public function set_Color(Color $_lr97h35n3gsdy8n2ufo8ffnir2) { $this->_ovozjlnrasuqzov8 = $_lr97h35n3gsdy8n2ufo8ffnir2; } private $_0zc248vzgpaeb0i0yfd9a; public function get_LengthRange() { return $this->_0zc248vzgpaeb0i0yfd9a; } public function set_LengthRange(RandomRange $_oa2wzcyar2o7fhcih9vsu4n2v8) { if (0 >= $_oa2wzcyar2o7fhcih9vsu4n2v8->Min) { throw new Exception("\124\x68\x65\40\154\x65\156\x67\164\150\40\x6f\x66\40\141\40\154\x69\x6e\145\40\x73\x65\147\155\145\156\164\x20\150\141\163\x20\x74\157\40\x62\x65\x20\x61\40\x70\x6f\163\x69\164\151\166\145\40\151\x6e\x74\145\147\145\x72\40\76\x3d\x20\x31\x3a\x20\x3c{$_oa2wzcyar2o7fhcih9vsu4n2v8->Min}\54\40{$_oa2wzcyar2o7fhcih9vsu4n2v8->Max}\x3e"); } $this->_0zc248vzgpaeb0i0yfd9a = $_oa2wzcyar2o7fhcih9vsu4n2v8; } public function get_Length() { if ($this->HasValue()) { return $this->_0zc248vzgpaeb0i0yfd9a->Next; } return self::Continuous; } public function set_Length($_l7gr1yvr8n75zyze3mhba) { $this->LengthRange = new RandomRange($_l7gr1yvr8n75zyze3mhba); } public function __get($_i7u5k35uw6mkb5n92athnqbyls) { if (method_exists($this, ($_i4vzjjrmfh4mpae7edxet = "\147\x65\x74\137".$_i7u5k35uw6mkb5n92athnqbyls))) { return $this->$_i4vzjjrmfh4mpae7edxet(); } else return; } public function __isset($_Ik8pzt8qkyri3f9u) { if (method_exists($this, ($_irelsg3w67ixz4rz = "\151\x73\x73\x65\x74\x5f".$_Ik8pzt8qkyri3f9u))) { return $this->$_irelsg3w67ixz4rz(); } else return; } public function __set($_o7uan3yfxk5vjs1y, $_Onpuiplbyeris10ncjwf9) { if (method_exists($this, ($_i3ab388a4i0n8k1vlzj9a2g5us = "\x73\x65\x74\x5f".$_o7uan3yfxk5vjs1y))) { $this->$_i3ab388a4i0n8k1vlzj9a2g5us($_Onpuiplbyeris10ncjwf9); } } public function __unset($_lj8v8rddze89cpmublc275t5os) { if (method_exists($this, ($_Id4ehpdzlqlunxboi2ygu = "\x75\156\x73\145\x74\x5f".$_lj8v8rddze89cpmublc275t5os))) { $this->$_Id4ehpdzlqlunxboi2ygu(); } } } class LineLayer implements ArrayAccess { public function __construct($_l3owi8bix5ck6kuo = 0, $_O6k5np8hz57qrvupqpv4w = null) { $this->Thickness = $_l3owi8bix5ck6kuo; $_O3aqksur6hhlm5ch = array(); if (isset($_O6k5np8hz57qrvupqpv4w)) { $this->_iotroo1ybgxnrr10113w8[] = $_O6k5np8hz57qrvupqpv4w; } } private $_0uin2qi4uej66njw; public function get_ThicknessRange() { return $this->_0uin2qi4uej66njw; } public function set_ThicknessRange(RandomRange $_16t75bmvu93ro8vo) { if (0 >= $_16t75bmvu93ro8vo->Min) { throw new Exception("\x54\x68\x65\x20\164\150\x69\143\x6b\x6e\145\x73\163\x20\157\x66\40\141\40\x6c\x69\x6e\145\40\x6c\x61\x79\145\162\x20\150\141\163\x20\x74\157\40\x62\x65\40\x61\40\x70\157\x73\151\164\151\166\145\40\x69\156\x74\145\147\145\x72\40\x3e\75\x20\61\72\40\74{$_16t75bmvu93ro8vo->Min}\54\40{$_16t75bmvu93ro8vo->Max}\x3e"); } $this->_0uin2qi4uej66njw = $_16t75bmvu93ro8vo; } public function get_Thickness() { if (isset($this->_0uin2qi4uej66njw)) { return $this->_0uin2qi4uej66njw->Next; } return 0; } public function set_Thickness($_I6ph58ntrqsf3eg55h1xn) { $this->ThicknessRange = new RandomRange($_I6ph58ntrqsf3eg55h1xn); } private $_iotroo1ybgxnrr10113w8; public function offsetSet($_Idobe8yg5g8t095c, $_0z6lbmo5a1l4ilnztpe6x) { if (is_null($_Idobe8yg5g8t095c)) { $this->_iotroo1ybgxnrr10113w8[] = $_0z6lbmo5a1l4ilnztpe6x; } else { $this->_iotroo1ybgxnrr10113w8[$_Idobe8yg5g8t095c] = $_0z6lbmo5a1l4ilnztpe6x; } } public function offsetExists($_lylxo0awkgudrsmng5bbyer3zx) { return isset($this->_iotroo1ybgxnrr10113w8[$_lylxo0awkgudrsmng5bbyer3zx]); } public function offsetUnset($_Ik36kox4g0j1s6mv1oai2jcxfg) { unset($this->_iotroo1ybgxnrr10113w8[$_Ik36kox4g0j1s6mv1oai2jcxfg]); } public function offsetGet($_Irw396t5hp9a04hz8ay29xry3e) { return isset($this->_iotroo1ybgxnrr10113w8[$_Irw396t5hp9a04hz8ay29xry3e]) ? $this->_iotroo1ybgxnrr10113w8[$_Irw396t5hp9a04hz8ay29xry3e] : null; } public static function Solid($_iwgz0j6hdipph7koot7pd, Color $_Iqjhktzk1ldaybnqi5z06d3tcm) { return new LineLayer($_iwgz0j6hdipph7koot7pd, new LineElement($_Iqjhktzk1ldaybnqi5z06d3tcm)); } public static function Dashed($_ikrn8whale3xf3utin7mll2fkg, Color $_Iii7uqmufy5x1nuu5yezg, Color $_oyevr3t9m0fdtqe0, $_oga32d9jxb0etd7p7rjib7pvhf) { $_0r0vpk53vwtrvckhkls629990g = new LineLayer($_ikrn8whale3xf3utin7mll2fkg); $_0r0vpk53vwtrvckhkls629990g[] = new LineElement($_Iii7uqmufy5x1nuu5yezg, $_oga32d9jxb0etd7p7rjib7pvhf); $_0r0vpk53vwtrvckhkls629990g[] = new LineElement($_oyevr3t9m0fdtqe0, $_oga32d9jxb0etd7p7rjib7pvhf); return $_0r0vpk53vwtrvckhkls629990g; } public function __get($_1aailgtij59eythrxdu95swmbz) { if (method_exists($this, ($_Iy1pd4a17t84whem6j5eg = "\x67\x65\x74\137".$_1aailgtij59eythrxdu95swmbz))) { return $this->$_Iy1pd4a17t84whem6j5eg(); } else return; } public function __isset($_l653frri96cxdmsu) { if (method_exists($this, ($_0hmrjdgrzka4qeoe1ku4ed8za5 = "\x69\x73\x73\x65\164\137".$_l653frri96cxdmsu))) { return $this->$_0hmrjdgrzka4qeoe1ku4ed8za5(); } else return; } public function __set($_oe4k9nvs09et0jqqtbtqy, $_1ldnfyizx38pxctsdgtma) { if (method_exists($this, ($_0jijz95i21fm3bxw = "\163\x65\x74\137".$_oe4k9nvs09et0jqqtbtqy))) { $this->$_0jijz95i21fm3bxw($_1ldnfyizx38pxctsdgtma); } } public function __unset($_06ymt4cf551mh4uvn8mwkv3o36) { if (method_exists($this, ($_o8jiroj5s0g8o94osj3p8td51u = "\x75\156\163\x65\164\137".$_06ymt4cf551mh4uvn8mwkv3o36))) { $this->$_o8jiroj5s0g8o94osj3p8td51u(); } } } class LineStyle implements ArrayAccess { public function __construct(LineLayer $_0wv1cltbp5gb2mr2 = null) { $this->_I6b4b2d8h8pdo183udret7hjhr = array(); if (isset($_0wv1cltbp5gb2mr2)) { $this->_I6b4b2d8h8pdo183udret7hjhr[] = $_0wv1cltbp5gb2mr2; } } private $_I6b4b2d8h8pdo183udret7hjhr; public function offsetSet($_1mgi9fu2s8gpmqde2ts06eax55, $_Ilztfbzcnfneodcym3c3t) { if (is_null($_1mgi9fu2s8gpmqde2ts06eax55)) { $this->_I6b4b2d8h8pdo183udret7hjhr[] = $_Ilztfbzcnfneodcym3c3t; } else { $this->_I6b4b2d8h8pdo183udret7hjhr[$_1mgi9fu2s8gpmqde2ts06eax55] = $_Ilztfbzcnfneodcym3c3t; } } public function offsetExists($_Ospwexp98sb7tdeqf2r5y) { return isset($this->_I6b4b2d8h8pdo183udret7hjhr[$_Ospwexp98sb7tdeqf2r5y]); } public function offsetUnset($_of21xymqxa9d22hek4svg41y6b) { unset($this->_I6b4b2d8h8pdo183udret7hjhr[$_of21xymqxa9d22hek4svg41y6b]); } public function offsetGet($_0dwdg1u9n6l2ljrwf2e57) { return isset($this->_I6b4b2d8h8pdo183udret7hjhr[$_0dwdg1u9n6l2ljrwf2e57]) ? $this->_I6b4b2d8h8pdo183udret7hjhr[$_0dwdg1u9n6l2ljrwf2e57] : null; } public function get_LayerCount() { return count($this->_I6b4b2d8h8pdo183udret7hjhr); } public function get_Thickness() { $_0fqe5k76bsop3riymuahxsawvh = 0; foreach ($this->_I6b4b2d8h8pdo183udret7hjhr as $_02nn7e8msnqbs21g => $_itgvyzedy2jog0g9b2dzqpkjjn) { $_0fqe5k76bsop3riymuahxsawvh += $_itgvyzedy2jog0g9b2dzqpkjjn->Thickness; } return $_0fqe5k76bsop3riymuahxsawvh; } public static function Single(LineLayer $_ijxs81lz3eg7b2ui4mi26) { return new LineStyle($_ijxs81lz3eg7b2ui4mi26); } public static function Double(LineLayer $_o9j9pwpzw66g5nkt, LineLayer $_Iko2yj876d5atj5mdhlmigkdsj) { $_lxnxmfr9mlrxi3g0qtssy = new LineStyle(); $_lxnxmfr9mlrxi3g0qtssy[] = $_o9j9pwpzw66g5nkt; $_lxnxmfr9mlrxi3g0qtssy[] = $_Iko2yj876d5atj5mdhlmigkdsj; return $_lxnxmfr9mlrxi3g0qtssy; } public static function Triple(LineLayer $_1ljq4t8f9uz93eiyie410, LineLayer $_Ipkvretxkltn3m2o, LineLayer $_Ishbbihrey2mhkggckqvf4z2j2) { $_Itg9no9b49byhtmn = new LineStyle(); $_Itg9no9b49byhtmn[] = $_1ljq4t8f9uz93eiyie410; $_Itg9no9b49byhtmn[] = $_Ipkvretxkltn3m2o; $_Itg9no9b49byhtmn[] = $_Ishbbihrey2mhkggckqvf4z2j2; return $_Itg9no9b49byhtmn; } public static function HasValue($_invcodz2ha7ej0q8wvchdmu87k) { if (is_null($_invcodz2ha7ej0q8wvchdmu87k)) { return false; } if (0 == $_invcodz2ha7ej0q8wvchdmu87k->LayerCount) { return false; } if (0 == $_invcodz2ha7ej0q8wvchdmu87k[0]->Thickness) { return false; } if (is_null($_invcodz2ha7ej0q8wvchdmu87k[0][0])) { return false; } if (is_null($_invcodz2ha7ej0q8wvchdmu87k[0][0]->Color)) { return false; } return true; } public function __get($_l3q4pfoshgmgjl1y8qyyxv2ngf) { if (method_exists($this, ($_ly1k4ehse9dup9rx = "\147\145\x74\137".$_l3q4pfoshgmgjl1y8qyyxv2ngf))) { return $this->$_ly1k4ehse9dup9rx(); } else return; } public function __isset($_iyncvm2559z1fs1ultdh6) { if (method_exists($this, ($_oa73rrfuqfno2wgxbm2wj = "\151\163\163\145\x74\x5f".$_iyncvm2559z1fs1ultdh6))) { return $this->$_oa73rrfuqfno2wgxbm2wj(); } else return; } public function __set($_ii06vd3ow7m93vak7le9h5su5t, $_13pneh5wr73ja1eepemooveebf) { if (method_exists($this, ($_ivrw3fto6x8qa36d1amu7sj5ia = "\x73\x65\164\x5f".$_ii06vd3ow7m93vak7le9h5su5t))) { $this->$_ivrw3fto6x8qa36d1amu7sj5ia($_13pneh5wr73ja1eepemooveebf); } } public function __unset($_Iuxzmsblrp9isbdpcvcc6) { if (method_exists($this, ($_Oi7sylgvg87t1hcg3ay2r = "\x75\156\163\x65\x74\137".$_Iuxzmsblrp9isbdpcvcc6))) { $this->$_Oi7sylgvg87t1hcg3ay2r(); } } } final class FontCase extends Enum { private function __construct() {} public static $Names; const Uppercase = 0; const Lowercase = 1; const Random = 2; public static function GetName($_ouzt9581fdvikqzb) { if (!is_int($_ouzt9581fdvikqzb)) { throw new Exception("\125\156\153\156\x6f\167\156\40\x65\156\165\155\x65\162\141\x74\x65\144\40\166\x61\154\165\x65\x3a\40".$_ouzt9581fdvikqzb); } if (array_key_exists($_ouzt9581fdvikqzb, FontCase::$Names)) { return FontCase::$Names[$_ouzt9581fdvikqzb]; } else { throw new Exception("\125\x6e\153\x6e\157\x77\156\x20\145\x6e\165\155\x65\x72\141\x74\x65\x64\x20\166\141\x6c\x75\x65\x3a\40".$_ouzt9581fdvikqzb); } } public static function GetValue($_0kzcs1h9g67aautpitjv6) { if (!StringHelper::HasValue($_0kzcs1h9g67aautpitjv6)) { throw new Exception("\125\156\153\x6e\157\167\x6e\40\x65\x6e\165\155\145\x72\x61\164\x65\144\x20\156\x61\155\145\x3a\40".$_0kzcs1h9g67aautpitjv6); } $_i41ycoc9tuhdnsqq = CollectionHelper::StringArraySearch($_0kzcs1h9g67aautpitjv6, FontCase::$Names); if (false !== $_i41ycoc9tuhdnsqq) { return $_i41ycoc9tuhdnsqq; } else { throw new Exception("\125\156\x6b\156\157\167\156\x20\x65\156\165\x6d\145\x72\141\x74\145\x64\x20\x6e\141\x6d\145\72\x20".$_0kzcs1h9g67aautpitjv6); } } public static function TryGetName($_iatsbq3xzmfxkyjxovpsbiyf0z) { if (!is_int($_iatsbq3xzmfxkyjxovpsbiyf0z)) { return; } if (array_key_exists($_iatsbq3xzmfxkyjxovpsbiyf0z, FontCase::$Names)) { return FontCase::$Names[$_iatsbq3xzmfxkyjxovpsbiyf0z]; } else { return; } } public static function TryGetValue($_oqhgumbxfcc19qpz) { if (!StringHelper::HasValue($_oqhgumbxfcc19qpz)) { return; } $_Iiw19diwe9unxxb6b97hhizgq3 = CollectionHelper::StringArraySearch($_oqhgumbxfcc19qpz, FontCase::$Names); if (false !== $_Iiw19diwe9unxxb6b97hhizgq3) { return $_Iiw19diwe9unxxb6b97hhizgq3; } else { return; } } } FontCase::$Names = array( FontCase::Uppercase => "\125\x70\x70\x65\162\143\x61\163\145", FontCase::Lowercase => "\114\157\x77\145\162\143\x61\163\x65", FontCase::Random => "\x52\141\156\x64\157\155" ); final class FontWeight extends Enum { private function __construct() {} public static $Names; const Normal = 0; const Bold = 1; const Random = 2; public static function GetName($_Ijicn6egoeow6l4zkkp4x) { if (!is_int($_Ijicn6egoeow6l4zkkp4x)) { throw new Exception("\125\156\153\156\157\167\x6e\40\145\x6e\x75\155\145\162\141\164\145\x64\x20\x76\x61\154\x75\x65\72\x20".$_Ijicn6egoeow6l4zkkp4x); } if (array_key_exists($_Ijicn6egoeow6l4zkkp4x, FontWeight::$Names)) { return FontWeight::$Names[$_Ijicn6egoeow6l4zkkp4x]; } else { throw new Exception("\125\x6e\153\156\x6f\x77\x6e\x20\145\156\x75\x6d\x65\162\141\x74\x65\144\40\166\x61\154\x75\145\72\x20".$_Ijicn6egoeow6l4zkkp4x); } } public static function GetValue($_lual8yvckyx8e4hx) { if (!StringHelper::HasValue($_lual8yvckyx8e4hx)) { throw new Exception("\125\156\x6b\156\x6f\x77\x6e\40\145\156\165\155\145\x72\141\164\145\144\x20\x6e\141\x6d\x65\72\40".$_lual8yvckyx8e4hx); } $_i90iqyxwzllcy7mdbd5ay = CollectionHelper::StringArraySearch($_lual8yvckyx8e4hx, FontWeight::$Names); if (false !== $_i90iqyxwzllcy7mdbd5ay) { return $_i90iqyxwzllcy7mdbd5ay; } else { throw new Exception("\x55\156\x6b\x6e\x6f\167\x6e\x20\x65\156\165\155\x65\162\x61\164\145\144\40\x6e\x61\155\x65\72\x20".$_lual8yvckyx8e4hx); } } public static function TryGetName($_Or7f6pji890qr3cr8yv39) { if (!is_int($_Or7f6pji890qr3cr8yv39)) { return; } if (array_key_exists($_Or7f6pji890qr3cr8yv39, FontWeight::$Names)) { return FontWeight::$Names[$_Or7f6pji890qr3cr8yv39]; } else { return; } } public static function TryGetValue($_la1wjezntfmremozn84tkozmd7) { if (!StringHelper::HasValue($_la1wjezntfmremozn84tkozmd7)) { return; } $_1kaeuoq40kendeaopuymn = CollectionHelper::StringArraySearch($_la1wjezntfmremozn84tkozmd7, FontWeight::$Names); if (false !== $_1kaeuoq40kendeaopuymn) { return $_1kaeuoq40kendeaopuymn; } else { return; } } } FontWeight::$Names = array( FontWeight::Normal => "\116\157\162\x6d\x61\154", FontWeight::Bold => "\102\157\x6c\144", FontWeight::Random => "\x52\141\x6e\x64\x6f\x6d" ); final class FontType extends Enum { private function __construct() {} public static $Names; const Serif = 0; const Sans = 1; const Mono = 2; public static function GetName($_0qdhojo59qlm38vu7e7ns) { if (!is_int($_0qdhojo59qlm38vu7e7ns)) { throw new Exception("\125\156\x6b\x6e\x6f\x77\156\x20\x65\156\x75\x6d\145\x72\141\164\145\144\x20\166\141\154\x75\145\x3a\x20".$_0qdhojo59qlm38vu7e7ns); } if (array_key_exists($_0qdhojo59qlm38vu7e7ns, FontType::$Names)) { return FontType::$Names[$_0qdhojo59qlm38vu7e7ns]; } else { throw new Exception("\125\x6e\153\x6e\x6f\x77\156\x20\145\156\x75\x6d\145\x72\141\164\145\144\x20\166\141\154\x75\x65\x3a\x20".$_0qdhojo59qlm38vu7e7ns); } } public static function GetValue($_Oo4mzkxxrb9468h4xloyf) { if (!StringHelper::HasValue($_Oo4mzkxxrb9468h4xloyf)) { throw new Exception("\x55\156\153\x6e\x6f\167\156\40\x65\156\165\155\145\162\141\164\145\144\40\156\x61\x6d\x65\72\x20".$_Oo4mzkxxrb9468h4xloyf); } $_Idq9wxo9whboluy9k6tju = CollectionHelper::StringArraySearch($_Oo4mzkxxrb9468h4xloyf, FontType::$Names); if (false !== $_Idq9wxo9whboluy9k6tju) { return $_Idq9wxo9whboluy9k6tju; } else { throw new Exception("\125\x6e\153\156\x6f\167\156\x20\x65\x6e\x75\x6d\145\x72\x61\164\145\144\x20\156\141\x6d\145\72\x20".$_Oo4mzkxxrb9468h4xloyf); } } public static function TryGetName($_O6zn20t9gowy8w0pv6t93) { if (!is_int($_O6zn20t9gowy8w0pv6t93)) { return; } if (array_key_exists($_O6zn20t9gowy8w0pv6t93, FontType::$Names)) { return FontType::$Names[$_O6zn20t9gowy8w0pv6t93]; } else { return; } } public static function TryGetValue($_Ixzd45sn7qjj86zm2xhd6) { if (!StringHelper::HasValue($_Ixzd45sn7qjj86zm2xhd6)) { return; } $_16at4t6idpx8691s = CollectionHelper::StringArraySearch($_Ixzd45sn7qjj86zm2xhd6, FontType::$Names); if (false !== $_16at4t6idpx8691s) { return $_16at4t6idpx8691s; } else { return; } } } FontType::$Names = array( FontType::Serif => "\x53\145\x72\x69\146", FontType::Sans => "\x53\141\x6e\163", FontType::Mono => "\115\157\x6e\x6f" ); class Font { public function __construct() { } public static function From($_Iatdhw2fb6ca5zpy8v53e9dhox, $_l9v0qrq9mfxw6ajf, $_idcs1abe2chsuv0ok0sz8) { $_o8s7k3d6vurh9b4f = new Font(); $_o8s7k3d6vurh9b4f->FontType = $_Iatdhw2fb6ca5zpy8v53e9dhox; $_o8s7k3d6vurh9b4f->FontCase = $_idcs1abe2chsuv0ok0sz8; $_o8s7k3d6vurh9b4f->FontWeight = $_l9v0qrq9mfxw6ajf; return $_o8s7k3d6vurh9b4f; } private $_Ibylydp0wros02gxwv2uw6om54; public function get_FontType() { return $this->_Ibylydp0wros02gxwv2uw6om54; } public function set_FontType($_o8d3ipumlallnwox) { $this->_Ibylydp0wros02gxwv2uw6om54 = $_o8d3ipumlallnwox; } private $_liwisiyvnu1v6xxo6yg4s; public function get_FontWeight() { return $this->_liwisiyvnu1v6xxo6yg4s; } public function set_FontWeight($_izk8bficde5do8t1vqkx41al32) { $this->_liwisiyvnu1v6xxo6yg4s = $_izk8bficde5do8t1vqkx41al32; } private $_ot4upjk9lq5da9dg; public function get_FontCase() { return $this->_ot4upjk9lq5da9dg; } public function set_FontCase($_0msn9gmfo43wu4caymuk3985a2) { $this->_ot4upjk9lq5da9dg = $_0msn9gmfo43wu4caymuk3985a2; } public function __get($_1rfubj6vbrmq38swu3r9w3uzz5) { if (method_exists($this, ($_174fk0f4r4cmmvpcf1l7yteivp = "\147\x65\164\x5f".$_1rfubj6vbrmq38swu3r9w3uzz5))) { return $this->$_174fk0f4r4cmmvpcf1l7yteivp(); } else return; } public function __isset($_196erymicfnlfj5z2l1y0) { if (method_exists($this, ($_1q0a0hbaz5v7nys9 = "\151\x73\163\145\164\x5f".$_196erymicfnlfj5z2l1y0))) { return $this->$_1q0a0hbaz5v7nys9(); } else return; } public function __set($_Ipetc24enf8d378in3zew, $_ous6i5idm9mjsz8qq6y2z) { if (method_exists($this, ($_i4ocoq2hw1iw10mdnhb1t = "\163\x65\164\137".$_Ipetc24enf8d378in3zew))) { $this->$_i4ocoq2hw1iw10mdnhb1t($_ous6i5idm9mjsz8qq6y2z); } } public function __unset($_O6jab965s74djrthtfyub) { if (method_exists($this, ($_Oq67qaz568ttzriz = "\x75\156\x73\145\164\x5f".$_O6jab965s74djrthtfyub))) { $this->$_Oq67qaz568ttzriz(); } } } class FontCollection implements ArrayAccess { public function __construct() { $this->_Ixr8agsqacmzq8xsonyvzd9fch = array(); $this->_0sw2o2vkvkw8fqlyea206xrjro = 0 ; } private $_Ixr8agsqacmzq8xsonyvzd9fch; public function offsetSet($_Orvaacqslhgmxdhf95i93p70x5, $_llm65y56qgseiphz) { if (is_null($_Orvaacqslhgmxdhf95i93p70x5)) { $this->_Ixr8agsqacmzq8xsonyvzd9fch[] = $_llm65y56qgseiphz; } else { $this->_Ixr8agsqacmzq8xsonyvzd9fch[$_Orvaacqslhgmxdhf95i93p70x5] = $_llm65y56qgseiphz; } } public function offsetExists($_ljrz5dozjbkspmnzsi8mdffrpa) { return isset($this->_Ixr8agsqacmzq8xsonyvzd9fch[$_ljrz5dozjbkspmnzsi8mdffrpa]); } public function offsetUnset($_1rggmo4cx5guwlf7) { unset($this->_Ixr8agsqacmzq8xsonyvzd9fch[$_1rggmo4cx5guwlf7]); } public function offsetGet($_l9ar259ul8orgu8y) { return isset($this->_Ixr8agsqacmzq8xsonyvzd9fch[$_l9ar259ul8orgu8y]) ? $this->_Ixr8agsqacmzq8xsonyvzd9fch[$_l9ar259ul8orgu8y] : null; } private $_0sw2o2vkvkw8fqlyea206xrjro; public function get_RandomizationStyle() { return $this->_0sw2o2vkvkw8fqlyea206xrjro; } public function set_RandomizationStyle($_O4903fr9xtdlp10e5e4ybjqge5) { $this->_0sw2o2vkvkw8fqlyea206xrjro = $_O4903fr9xtdlp10e5e4ybjqge5; } public function get_Next() { if (is_null($this->_Ixr8agsqacmzq8xsonyvzd9fch) || 0 == count($this->_Ixr8agsqacmzq8xsonyvzd9fch)) { return null; } $_Igas26mvvux7xdrpalrl5 = RandomizationHelper::RandomFromValues($this->_Ixr8agsqacmzq8xsonyvzd9fch); if (1 == $this->_0sw2o2vkvkw8fqlyea206xrjro) { $this->_Ixr8agsqacmzq8xsonyvzd9fch = array(); $this->_Ixr8agsqacmzq8xsonyvzd9fch[] = $_Igas26mvvux7xdrpalrl5; } return $_Igas26mvvux7xdrpalrl5; } public function __get($_0pp8ghtvadvfh0m4z1x03) { if (method_exists($this, ($_0jtjbicvgmebl3trvjifw = "\147\x65\164\x5f".$_0pp8ghtvadvfh0m4z1x03))) { return $this->$_0jtjbicvgmebl3trvjifw(); } else return; } public function __isset($_Iqlp15iikxlurl08) { if (method_exists($this, ($_id6frosq0r2cy7mf7bqi1 = "\x69\163\x73\x65\x74\137".$_Iqlp15iikxlurl08))) { return $this->$_id6frosq0r2cy7mf7bqi1(); } else return; } public function __set($_I3hhdvftbdcnfru2, $_Iz03z174owbefixswpmwgdtbnk) { if (method_exists($this, ($_i84ij0dsqw6usm9swy0gzz2u68 = "\163\145\x74\137".$_I3hhdvftbdcnfru2))) { $this->$_i84ij0dsqw6usm9swy0gzz2u68($_Iz03z174owbefixswpmwgdtbnk); } } public function __unset($_i2dxac7h3jxb9o7o) { if (method_exists($this, ($_Ow9kiupfdfio76mxo4ld8bqg5i = "\x75\156\x73\145\164\137".$_i2dxac7h3jxb9o7o))) { $this->$_Ow9kiupfdfio76mxo4ld8bqg5i(); } } } abstract class AtomicShape { private $_ocy697chpfiq7pl1zb9rt; public function get_Outline() { return $this->_ocy697chpfiq7pl1zb9rt; } public function set_Outline($_0e92j1hcu6otkvt2frhiq) { $this->_ocy697chpfiq7pl1zb9rt = $_0e92j1hcu6otkvt2frhiq; } private $_1508ngo0etooq7p62pg1ovcgsk; public function get_FillColor() { return $this->_1508ngo0etooq7p62pg1ovcgsk; } public function set_FillColor($_I2fwboa2fm9d4uyx5jxgxdbtp3) { $this->_1508ngo0etooq7p62pg1ovcgsk = $_I2fwboa2fm9d4uyx5jxgxdbtp3; } private $_iyatfc5hz20xpywol7tvwo7i5b; public function get_Transform() { return $this->_iyatfc5hz20xpywol7tvwo7i5b; } public function set_Transform($_O1y339d5nnzlv12wf7tga) { $this->_iyatfc5hz20xpywol7tvwo7i5b = $_O1y339d5nnzlv12wf7tga; } public abstract function get_Surface(); protected $m_Graphics; public function Draw(GDGraphics $_la2br5mvfjnbnm6dq1yk1udtmx) { $this->m_Graphics = $_la2br5mvfjnbnm6dq1yk1udtmx; $_05nkos9gvsll9o25 = isset($this->_ocy697chpfiq7pl1zb9rt); $_lfibtlon2p9vhzs0 = isset($this->_1508ngo0etooq7p62pg1ovcgsk); if (!$_05nkos9gvsll9o25 && !$_lfibtlon2p9vhzs0) { return; } $this->PreProcess(); if ($_lfibtlon2p9vhzs0) { $this->DrawBody(); } if ($_05nkos9gvsll9o25) { $this->DrawOutline(); } $this->PostProcess(); } public abstract function PreProcess(); public abstract function DrawBody(); public abstract function DrawOutline(); public function PostProcess() { } public function __get($_1riic1saqo6bxnbrhu7fr) { if (method_exists($this, ($_oibial734gedxackcvqmxlalzg = "\147\x65\164\x5f".$_1riic1saqo6bxnbrhu7fr))) { return $this->$_oibial734gedxackcvqmxlalzg(); } else return; } public function __isset($_ob425v5p2htzxes2) { if (method_exists($this, ($_1qwqzxs4k8dee41vin2v3gxxeg = "\151\163\163\x65\164\x5f".$_ob425v5p2htzxes2))) { return $this->$_1qwqzxs4k8dee41vin2v3gxxeg(); } else return; } public function __set($_lezfpz2cwsseakam, $_lpzvr1yszo8ea509oh661fmeft) { if (method_exists($this, ($_ogrmpqa5vea89gbv2yhk2 = "\163\x65\x74\x5f".$_lezfpz2cwsseakam))) { $this->$_ogrmpqa5vea89gbv2yhk2($_lpzvr1yszo8ea509oh661fmeft); } } public function __unset($_itsh21v7st8vrodvwy82k) { if (method_exists($this, ($_Ohodhdrdd1cygvhvit2oknifn0 = "\x75\156\163\145\164\x5f".$_itsh21v7st8vrodvwy82k))) { $this->$_Ohodhdrdd1cygvhvit2oknifn0(); } } } abstract class ShapeCollection implements ArrayAccess { protected $m_Prototype; private $_1pz7dq43t185p8nnsgc12; public function get_Bounds() { return $this->_1pz7dq43t185p8nnsgc12; } public function set_Bounds(Rectangle $_izcd4xl8n28x3lne) { $this->_1pz7dq43t185p8nnsgc12 = $_izcd4xl8n28x3lne; } public function get_Surface() { $_laqvj6c8x58uu06r29nd7 = 0; foreach ($_l92ec7tgmga3pdj9 as $_Ifwt0q4dsiwya8kzgk915 => $_lxyioea6eoio1h0pzquyn) { $_laqvj6c8x58uu06r29nd7 += $_lxyioea6eoio1h0pzquyn->Surface; } return $_laqvj6c8x58uu06r29nd7; } public function Add(AtomicShape $_odsr62mnkgyf45u8o5pb5f7utj) { $this->_119ceq81w3yvf1xjnyoqtkjb9h[] = $_odsr62mnkgyf45u8o5pb5f7utj; } public function Draw(GDGraphics $_09uk9313b9c7v9b1) { $_Ihpxnhjpkmcnxk6e = $this->Bounds; if (is_null($_Ihpxnhjpkmcnxk6e)) { $_Ihpxnhjpkmcnxk6e = $_09uk9313b9c7v9b1->GetBounds(); } $this->DrawWithinBounds($_09uk9313b9c7v9b1, $_Ihpxnhjpkmcnxk6e); } public abstract function DrawWithinBounds(GDGraphics $_Oxs7413kxuo1btkrsd5ckedf7h, Rectangle $_1flvih57p164bswykgpy9hc9ae); public function DrawWithinClip(GDGraphics $_i4rdpji6tczzqduibfmse, ShapeCollection $_Imxxa4cpu0l1pxghd33er) { } private $_119ceq81w3yvf1xjnyoqtkjb9h; public function offsetSet($_Ilcch9yrx4ghk7ny48uip, $_Oy3e7pavere74gcg) { if (is_null($_Ilcch9yrx4ghk7ny48uip)) { $this->_119ceq81w3yvf1xjnyoqtkjb9h[] = $_Oy3e7pavere74gcg; } else { $this->_119ceq81w3yvf1xjnyoqtkjb9h[$_Ilcch9yrx4ghk7ny48uip] = $_Oy3e7pavere74gcg; } } public function offsetExists($_Iwb30j5iuf781hxbly8yy9vgyh) { return isset($this->_119ceq81w3yvf1xjnyoqtkjb9h[$_Iwb30j5iuf781hxbly8yy9vgyh]); } public function offsetUnset($_l6062v7a7b02w3encqgsdj4tfz) { unset($this->_119ceq81w3yvf1xjnyoqtkjb9h[$_l6062v7a7b02w3encqgsdj4tfz]); } public function offsetGet($_ix4kj1rjov7mmao0) { return isset($this->_119ceq81w3yvf1xjnyoqtkjb9h[$_ix4kj1rjov7mmao0]) ? $this->_119ceq81w3yvf1xjnyoqtkjb9h[$_ix4kj1rjov7mmao0] : null; } public function __get($_onllpasi8x1y6ngurs4b1w3nzb) { if (method_exists($this, ($_Opwowp75flvco1ypjte0e = "\x67\x65\164\x5f".$_onllpasi8x1y6ngurs4b1w3nzb))) { return $this->$_Opwowp75flvco1ypjte0e(); } else return; } public function __isset($_O40rvig684iff5c7orrjg) { if (method_exists($this, ($_1dtszmf0a4zc2ifkmv6y8 = "\x69\x73\x73\x65\x74\x5f".$_O40rvig684iff5c7orrjg))) { return $this->$_1dtszmf0a4zc2ifkmv6y8(); } else return; } public function __set($_O6m2mffbj75btta1q1nivlyp4o, $_llcpqwtatipolwmb) { if (method_exists($this, ($_0p76v1586l66ko0e = "\163\145\164\x5f".$_O6m2mffbj75btta1q1nivlyp4o))) { $this->$_0p76v1586l66ko0e($_llcpqwtatipolwmb); } } public function __unset($_13gl6xez0fnq11el14ods) { if (method_exists($this, ($_1j990vpi6cndabfxryrtm8rcko = "\x75\x6e\x73\145\164\137".$_13gl6xez0fnq11el14ods))) { $this->$_1j990vpi6cndabfxryrtm8rcko(); } } } abstract class RandomNoise extends ShapeCollection { const DefaultSurfacePercentage = 50; protected $m_surfacePercentageRange; public function get_SurfacePercentageRange() { return $this->m_surfacePercentageRange; } public function set_SurfacePercentageRange($_i245e9h1f1zwqrc55z7rq) { $this->m_surfacePercentageRange = $_i245e9h1f1zwqrc55z7rq; } public function get_SurfacePercentage() { if (null == $this->m_surfacePercentageRange) { return self::DefaultSurfacePercentage; } return $this->m_surfacePercentageRange->get_Next(); } public function set_SurfacePercentage($_Iy2rq08cq0m9l3m3ksx1w4bzif) { if (0 >= $_Iy2rq08cq0m9l3m3ksx1w4bzif || 1001 <= $_Iy2rq08cq0m9l3m3ksx1w4bzif) { throw new Exception("\123\165\x72\x66\141\x63\x65\120\145\162\x63\145\156\x74\x61\147\145\x20\x66\157\x72\40\x6e\x6f\151\x73\x65\x73\x20\155\x75\163\164\40\x62\145\x20\142\x65\x74\x77\145\145\156\40\61\40\141\156\144\x20\x31\x30\60\x30", $_Iy2rq08cq0m9l3m3ksx1w4bzif); } $this->m_surfacePercentageRange = new RandomRange($_Iy2rq08cq0m9l3m3ksx1w4bzif); } public function get_SurfaceFactor() { return ($this->get_SurfacePercentage() / 100.00); } public abstract function DrawSingleRandomShape(IGraphics $_ov45sd1elr5fahosugww0, Rectangle $_0h157mb2ffmoti26); public function DrawWithinBounds(GDGraphics $_1knp54prng1k2xao, Rectangle $_o1ee0ktzj5w7vpqh3jbml) { $_o5u1aq5dcmuz7tgc = (int) round($this->SurfaceFactor * $_o1ee0ktzj5w7vpqh3jbml->Surface); $_l1jvse4kd3i1w0y5h2dzh6wn2u = 0; while ($_l1jvse4kd3i1w0y5h2dzh6wn2u < $_o5u1aq5dcmuz7tgc) { $_l1jvse4kd3i1w0y5h2dzh6wn2u += $this->DrawSingleRandomShape($_1knp54prng1k2xao, $_o1ee0ktzj5w7vpqh3jbml); } } } class Point extends AtomicShape { public function __construct() { if (0 != func_num_args()) { throw new Exception("\x55\163\145\x20\163\x74\141\164\x69\143\40\x63\x6f\156\x73\164\x72\165\x63\x74\x69\157\156\40\150\x65\154\x70\145\162\163\40\141\x76\141\151\x6c\141\x62\154\x65\x20\x62\x65\x6c\157\x77\x20\151\156\163\x74\x65\141\144"); } } public static function At($_o5jglhaj61h3ujg6f0oc0nyk3d, $_1zpuyblzhkjbgxfw) { $_ostbxp5o401ar16mz6o2n = new Point(); $_ostbxp5o401ar16mz6o2n->X = $_o5jglhaj61h3ujg6f0oc0nyk3d; $_ostbxp5o401ar16mz6o2n->Y = $_1zpuyblzhkjbgxfw; return $_ostbxp5o401ar16mz6o2n; } public static function BetweenPoints($_Oegxj8ezsgoz6h6fudaiu, $_Ovhgsme5329pjpyzr7ba5) { $_inyu67rgrgvy2d7u18grx = new Point(); $_inyu67rgrgvy2d7u18grx->_okjzofru9fru8w7lzcluz = new RandomRange($_Oegxj8ezsgoz6h6fudaiu->X, $_Ovhgsme5329pjpyzr7ba5->X); $_inyu67rgrgvy2d7u18grx->_o5l5ovgc17cyi9bnaf8in = new RandomRange($_Oegxj8ezsgoz6h6fudaiu->Y, $_Ovhgsme5329pjpyzr7ba5->Y); return $_inyu67rgrgvy2d7u18grx; } public static function BetweenAt($_Ifqmhtxt8j6g274k1og11, $_Ofc9kfdd8bc5z4zcyd31v81mb8) { $_o1pyq18rnkt1ohws1d6al = new Point(); $_o1pyq18rnkt1ohws1d6al->X = $_Ifqmhtxt8j6g274k1og11; $_o1pyq18rnkt1ohws1d6al->Y = $_Ofc9kfdd8bc5z4zcyd31v81mb8; return $_o1pyq18rnkt1ohws1d6al; } public function AndAt($_i38alilpg0trmffrz7j88, $_Osy840truypx8174yyebv) { $_1dabtzmi97quvtb33d98z = new Point(); $_1dabtzmi97quvtb33d98z->xRange = new RandomRange($this->X, $_i38alilpg0trmffrz7j88); $_1dabtzmi97quvtb33d98z->yRange = new RandomRange($this->Y, $_Osy840truypx8174yyebv); return $_1dabtzmi97quvtb33d98z; } public static function Within(Rectangle $_Onlg0iiihapmhdcqk3je8) { $_Oy5r2lf16tj74ehr = new Point(); $_Iy01js55gh1ye8u4ekc261546d = $_Onlg0iiihapmhdcqk3je8->TopLeft->xRange->Min; $_0jenqkbgkmt2a90f = $_Onlg0iiihapmhdcqk3je8->BottomRight->xRange->Max; $_Oy5r2lf16tj74ehr->xRange = new RandomRange($_Iy01js55gh1ye8u4ekc261546d, $_0jenqkbgkmt2a90f); $_O35kiiak019ziqi8lf47hgwgt6 = $_Onlg0iiihapmhdcqk3je8->TopLeft->yRange->Min; $_05o5urp6y0pv7uxa6lyo0eo205 = $_Onlg0iiihapmhdcqk3je8->BottomRight->yRange->Max; $_Oy5r2lf16tj74ehr->yRange = new RandomRange($_O35kiiak019ziqi8lf47hgwgt6, $_05o5urp6y0pv7uxa6lyo0eo205); return $_Oy5r2lf16tj74ehr; } public function __clone() { $_1ynya75coa6w3hikg000iauplz = new Point(); $_1ynya75coa6w3hikg000iauplz->xRange = $this->xRange; $_1ynya75coa6w3hikg000iauplz->yRange = $this->yRange; return $_1ynya75coa6w3hikg000iauplz; } private $_okjzofru9fru8w7lzcluz; public function get_xRange() { return $this->_okjzofru9fru8w7lzcluz; } public function set_xRange(RandomRange $_O2s6v1s2niqbpklsrmbkmbynub) { $this->_okjzofru9fru8w7lzcluz = $_O2s6v1s2niqbpklsrmbkmbynub; } public function get_X() { if (is_null($this->_okjzofru9fru8w7lzcluz)) { return 0; } return $this->_okjzofru9fru8w7lzcluz->Next; } public function set_X($_1jfdyqhtnsg2dx7m8vfc9d0c71) { $this->_okjzofru9fru8w7lzcluz = new RandomRange($_1jfdyqhtnsg2dx7m8vfc9d0c71); } private $_o5l5ovgc17cyi9bnaf8in; public function get_yRange() { return $this->_o5l5ovgc17cyi9bnaf8in; } public function set_yRange(RandomRange $_121qshx002hk24arxu5579mxml) { $this->_o5l5ovgc17cyi9bnaf8in = $_121qshx002hk24arxu5579mxml; } public function get_Y() { if (is_null($this->_o5l5ovgc17cyi9bnaf8in)) { return 0; } return $this->_o5l5ovgc17cyi9bnaf8in->Next; } public function set_Y($_Iuqc15mki1oehrs6) { $this->_o5l5ovgc17cyi9bnaf8in = new RandomRange($_Iuqc15mki1oehrs6); } public function get_IsRandomized() { return ($this->_okjzofru9fru8w7lzcluz->get_IsRandomized() || $this->_o5l5ovgc17cyi9bnaf8in->get_IsRandomized()); } public function DistanceTo(Point $_Ixc555mrqwedbdpvzzh9nqjm6o) { $_I3ofg7621n03xs8ljwesm = $this->X; $_omga7u5k3bxj4min46ee7 = $_Ixc555mrqwedbdpvzzh9nqjm6o->X; $_iebqkwd7gdsi9m6r = $_omga7u5k3bxj4min46ee7 - $_I3ofg7621n03xs8ljwesm; $_or67ndb1np06850frqu6tdwfxh = $this->Y; $_lcph2sgsi3pu9ua823cbtaygac = $_Ixc555mrqwedbdpvzzh9nqjm6o->Y; $_11mvqec4jd3l4364 = $_lcph2sgsi3pu9ua823cbtaygac - $_or67ndb1np06850frqu6tdwfxh; return sqrt($_iebqkwd7gdsi9m6r * $_iebqkwd7gdsi9m6r + $_11mvqec4jd3l4364 * $_11mvqec4jd3l4364); } public function Freeze() { $this->_okjzofru9fru8w7lzcluz->Freeze(); $this->_o5l5ovgc17cyi9bnaf8in->Freeze(); } public function get_Frozen() { $this->Freeze(); return $this; } public function get_Surface() { return 1; } public function PreProcess() { } public function DrawBody() { $_1d58w7s0tkrjew9wlz4xp = $this->m_Graphics->GetGDImage(); $_0dyjhlir8btvoq3ur7i45 = imagecolorallocate($_1d58w7s0tkrjew9wlz4xp, $this->FillColor->R, $this->FillColor->G, $this->FillColor->B); imageellipse($_1d58w7s0tkrjew9wlz4xp, $this->X, $this->Y, 1, 1, $_0dyjhlir8btvoq3ur7i45); } public function DrawOutline() { } } class Line extends AtomicShape { public function __construct() { $this->Transform = Transform::Identity(); if (0 != func_num_args()) { throw new Exception("\125\x73\145\x20\x73\x74\x61\164\x69\143\x20\x63\x6f\156\163\164\162\165\143\164\x69\157\x6e\x20\x68\x65\x6c\x70\x65\x72\163\40\141\x76\141\151\154\141\142\154\145\40\142\145\154\x6f\x77\40\x69\x6e\163\164\145\141\x64"); } } public static function Between(Point $_118csvp5a36f257psfqy5d6ive, Point $_objf36usc5jsfy32504z1, $_Otjksssgqoya8d5c = null) { $_1y2ujpgmvw1ceyplqvsyo = new Line(); $_1y2ujpgmvw1ceyplqvsyo->Point1 = $_118csvp5a36f257psfqy5d6ive; $_1y2ujpgmvw1ceyplqvsyo->Point2 = $_objf36usc5jsfy32504z1; if (!is_null($_Otjksssgqoya8d5c)) { $_1y2ujpgmvw1ceyplqvsyo->Outline = $_Otjksssgqoya8d5c; } return $_1y2ujpgmvw1ceyplqvsyo; } private $_il6jicrdb46l4u4xpa4qfkoal5; public function get_Point1() { return $this->_il6jicrdb46l4u4xpa4qfkoal5; } public function set_Point1(Point $_I9dcqqbov2xmvo52294gpn3h36) { $this->_il6jicrdb46l4u4xpa4qfkoal5 = $_I9dcqqbov2xmvo52294gpn3h36; } private $_oj791egdd3ykin64; public function get_Point2() { return $this->_oj791egdd3ykin64; } public function set_Point2(Point $_ovq3v0ev7qqgeyiqwuvu0t3xcc) { $this->_oj791egdd3ykin64 = $_ovq3v0ev7qqgeyiqwuvu0t3xcc; } public function get_Surface() { if (is_null($this->Outline)) { throw new Exception("\117\165\164\154\x69\x6e\x65\40\x6e\x75\x6c\154\54\x20\x6e\157\40\163\165\162\146\x61\143\145\x20\x63\x61\x6c\143\165\x6c\141\x74\151\x6f\x6e\x20\160\x6f\x73\x73\x69\x62\x6c\x65\56"); } $_lxv3d3sy3ocempi4 = $this->Point1->DistanceTo($this->Point2); return (int) round($_lxv3d3sy3ocempi4 * $this->Outline->Thickness); } private $_1plepiip8wlvp870xq73e, $y1, $x2, $y2; public function PreProcess() { $_0okoif9yh21j2iftvjpeag33f1 = $this->get_Point1(); $_0cnblvlfdjzer2jy = $_0okoif9yh21j2iftvjpeag33f1->get_X(); $_142erxhaisvm3g5d = $_0okoif9yh21j2iftvjpeag33f1->get_Y(); $_Ox9utt8w2nw46ks1 = $this->get_Point2(); $_oluwz4gpqms3fnbf8lsf4mem32 = $_Ox9utt8w2nw46ks1->get_X(); $_08vesrn6e7drzja6gy30fhh2mi = $_Ox9utt8w2nw46ks1->get_Y(); $_ls5y2rn99lfb96o2 = $this->get_Transform(); $_Oywot220xf09lhhfsxf40rxsc6 = $_ls5y2rn99lfb96o2->get_Translation(); $_0cnblvlfdjzer2jy += $_Oywot220xf09lhhfsxf40rxsc6->get_xOffset(); $_142erxhaisvm3g5d += $_Oywot220xf09lhhfsxf40rxsc6->get_yOffset(); $_oluwz4gpqms3fnbf8lsf4mem32 += $_Oywot220xf09lhhfsxf40rxsc6->get_xOffset(); $_08vesrn6e7drzja6gy30fhh2mi += $_Oywot220xf09lhhfsxf40rxsc6->get_yOffset(); $_oluwz4gpqms3fnbf8lsf4mem32 *= $_ls5y2rn99lfb96o2->get_Scaling()->get_xScalingFactor(); $_08vesrn6e7drzja6gy30fhh2mi *= $_ls5y2rn99lfb96o2->get_Scaling()->get_yScalingFactor(); $_o5zx3ecp0vpzd79i = $_ls5y2rn99lfb96o2->get_Rotation()->get_Angle(); $_0uef96sb5np9mfef = self::RotateLine($_0cnblvlfdjzer2jy, $_142erxhaisvm3g5d, $_oluwz4gpqms3fnbf8lsf4mem32, $_08vesrn6e7drzja6gy30fhh2mi, $_o5zx3ecp0vpzd79i); $this->_1plepiip8wlvp870xq73e = $_0uef96sb5np9mfef[0]; $this->y1 = $_0uef96sb5np9mfef[1]; $this->x2 = $_0uef96sb5np9mfef[2]; $this->y2 = $_0uef96sb5np9mfef[3]; } public static function RotateLine($_os2kjycg1wcdukul, $_lqf7l3u652gdge86, $_o20vyk8rg8ak7gpgoe5xj, $_lqv53n308gktn1xlrpmfa, $_0qegviro1mlml6kbn8h7tom1i4) { $_Or91e3qo3jiyr3pg = deg2rad($_0qegviro1mlml6kbn8h7tom1i4); $_0usia5bgybfy9sqtzcms3egig3 = $_o20vyk8rg8ak7gpgoe5xj * cos($_Or91e3qo3jiyr3pg) - $_lqv53n308gktn1xlrpmfa * sin($_Or91e3qo3jiyr3pg); $_Iyn9mozdw8zl7rqgk0w6r = $_o20vyk8rg8ak7gpgoe5xj * sin($_Or91e3qo3jiyr3pg) + $_lqv53n308gktn1xlrpmfa * cos($_Or91e3qo3jiyr3pg); $_ojhbt5k1932q6m26smljanhno4 = ($_o20vyk8rg8ak7gpgoe5xj - $_os2kjycg1wcdukul) / 2; $_l10sth7pd55avbycm1uwoj3rra = ($_lqv53n308gktn1xlrpmfa - $_lqf7l3u652gdge86) / 2; $_Ofghvodrwaqr6tz3 = ($_0usia5bgybfy9sqtzcms3egig3 - $_os2kjycg1wcdukul) / 2; $_0kjhx2pddnsctdif = ($_Iyn9mozdw8zl7rqgk0w6r - $_lqf7l3u652gdge86) / 2; $_l6otxua4wc2896kj = $_Ofghvodrwaqr6tz3 - $_ojhbt5k1932q6m26smljanhno4; $_l89gcbahguir3qf4blfdc = -($_0kjhx2pddnsctdif - $_l10sth7pd55avbycm1uwoj3rra); $_1iso1uxz6vablhnj55spy = $_os2kjycg1wcdukul + $_l6otxua4wc2896kj; $_Iatpt5k5el0gfsaf9kbff = $_lqf7l3u652gdge86 + $_l89gcbahguir3qf4blfdc; $_lld1bbunigcn5d0m = $_0usia5bgybfy9sqtzcms3egig3 + $_l6otxua4wc2896kj; $_Opewm97bl7iigfw95szg7 = $_Iyn9mozdw8zl7rqgk0w6r + $_l89gcbahguir3qf4blfdc; return array($_1iso1uxz6vablhnj55spy, $_Iatpt5k5el0gfsaf9kbff, $_lld1bbunigcn5d0m, $_Opewm97bl7iigfw95szg7); } public function DrawBody() { } public static function DrawLine($_l97qezy258rgkkfxh3kdpqckjx, $_ok9xthab4faiqs30, $_Iig8xjr6mxljzgmsegfgym7lt5, $_o2leo791xzyc9was, $_Ioy1rr87ondrtudv, $_ihqqm5s453f1eyaa, $_1uxnax36a6jhvw9v7gzq4ocy3x) { } public function DrawOutline() { $_0i8xatnt5ncsumrb = $this->m_Graphics->GetGDImage(); $_0unlhyvntdcnolsgrgha4 = $this->_1plepiip8wlvp870xq73e; $_On2bhhubz65cimn51hrjr = $this->y1; $_I7o39zk83lqi6bv21nu1h = $this->x2; $_ok9aoygoeyas68p1 = $this->y2; $_1298iwh860idyy2d914uq = 0; $_1fe923e58mf4cnns = $_I7o39zk83lqi6bv21nu1h - $_0unlhyvntdcnolsgrgha4; $_l40uv2o8tlbb9s0ykmajdtdixh = $_ok9aoygoeyas68p1 - $_On2bhhubz65cimn51hrjr; $_15581nno7gbtq4cg = -1; $_I9dex4sb7dlbkoh3509vu = 1; if (0 == $_1fe923e58mf4cnns) { $_I9dex4sb7dlbkoh3509vu = 0; } else if (0 == $_l40uv2o8tlbb9s0ykmajdtdixh) { $_15581nno7gbtq4cg = 0; } else { $_1298iwh860idyy2d914uq = atan2($_1fe923e58mf4cnns, $_l40uv2o8tlbb9s0ykmajdtdixh); $_15581nno7gbtq4cg *= cos($_1298iwh860idyy2d914uq); $_I9dex4sb7dlbkoh3509vu *= sin($_1298iwh860idyy2d914uq); } $_Orv01aixn2djhhzdx8n9x8ls45 = $this->Outline->LayerCount; for ($_On8zsafimz5qypbdotsj2 = 0; $_On8zsafimz5qypbdotsj2 < $_Orv01aixn2djhhzdx8n9x8ls45; $_On8zsafimz5qypbdotsj2++) { $_1yo6eswru4lc9nqsqye7j = $this->Outline[$_On8zsafimz5qypbdotsj2]; $_1mccbla4w25txt2b = $_1yo6eswru4lc9nqsqye7j[0]->Color; $_lvl6twrxmzei86w21hhxqk2hnz = imagecolorallocate($_0i8xatnt5ncsumrb, $_1mccbla4w25txt2b->R, $_1mccbla4w25txt2b->G, $_1mccbla4w25txt2b->B); $_o6uxtszi4shlewa65c82yp3zau = $_1yo6eswru4lc9nqsqye7j->Thickness; $_l6c31jpzbhkh99yn7r444 = $_15581nno7gbtq4cg * $_o6uxtszi4shlewa65c82yp3zau; $_otbt6nkaf9zplozg = $_I9dex4sb7dlbkoh3509vu * $_o6uxtszi4shlewa65c82yp3zau; if ($_o6uxtszi4shlewa65c82yp3zau > 1) { $_1ahorz1hn2pmstow = 2 * $_o6uxtszi4shlewa65c82yp3zau + 1; for ($_Ozrjcqgy5msg8dsfmkh4agafjz = 0; $_Ozrjcqgy5msg8dsfmkh4agafjz < $_1ahorz1hn2pmstow; $_Ozrjcqgy5msg8dsfmkh4agafjz++) { imageline($_0i8xatnt5ncsumrb, $_0unlhyvntdcnolsgrgha4 + $_Ozrjcqgy5msg8dsfmkh4agafjz * ($_15581nno7gbtq4cg / 3.0), $_On2bhhubz65cimn51hrjr + $_Ozrjcqgy5msg8dsfmkh4agafjz * ($_I9dex4sb7dlbkoh3509vu / 3.0), $_I7o39zk83lqi6bv21nu1h + $_Ozrjcqgy5msg8dsfmkh4agafjz * ($_15581nno7gbtq4cg / 3.0), $_ok9aoygoeyas68p1 + $_Ozrjcqgy5msg8dsfmkh4agafjz * ($_I9dex4sb7dlbkoh3509vu / 3.0), $_lvl6twrxmzei86w21hhxqk2hnz); } } else { imageline($_0i8xatnt5ncsumrb, $_0unlhyvntdcnolsgrgha4, $_On2bhhubz65cimn51hrjr, $_I7o39zk83lqi6bv21nu1h, $_ok9aoygoeyas68p1, $_lvl6twrxmzei86w21hhxqk2hnz); } $_0unlhyvntdcnolsgrgha4 += $_l6c31jpzbhkh99yn7r444; $_On2bhhubz65cimn51hrjr += $_otbt6nkaf9zplozg; $_I7o39zk83lqi6bv21nu1h += $_l6c31jpzbhkh99yn7r444; $_ok9aoygoeyas68p1 += $_otbt6nkaf9zplozg; } } } class Rectangle extends AtomicShape { public function __construct() { $this->Transform = Transform::Identity(); if (0 != func_num_args()) { throw new Exception("\125\163\x65\x20\163\x74\141\x74\x69\143\x20\143\157\x6e\x73\164\x72\x75\x63\164\151\157\x6e\x20\x68\x65\154\x70\145\162\163\40\x61\166\x61\x69\154\x61\142\x6c\145\40\x62\x65\x6c\157\x77\x20\x69\156\163\164\x65\x61\x64"); } } public static function FromPointAndSize(Point $_okexfh7hn3o8w59y, $_oiu6odtnvn71hpxczcmj9jjdp3, $_o779yg88lthaitzblmgfx) { $_0n21e71pnbvzo8g9 = new Rectangle(); $_lftimt9r5yvoiy2bnxtvu = $_okexfh7hn3o8w59y->X; $_18n7zvz0zfapmetq = $_okexfh7hn3o8w59y->Y; $_1ud5qp42nw9jf1v1 = $_lftimt9r5yvoiy2bnxtvu + $_oiu6odtnvn71hpxczcmj9jjdp3; $_iwqwpjwnmipk2jtz = $_18n7zvz0zfapmetq + $_o779yg88lthaitzblmgfx; $_0n21e71pnbvzo8g9->_ot2r79gn1ewulqzywrmkq = Point::At($_lftimt9r5yvoiy2bnxtvu, $_18n7zvz0zfapmetq); $_0n21e71pnbvzo8g9->_04piifuqupomu4v9 = Point::At($_1ud5qp42nw9jf1v1, $_iwqwpjwnmipk2jtz); $_0n21e71pnbvzo8g9->_08ki8licu8qws03o = Point::At($_1ud5qp42nw9jf1v1, $_18n7zvz0zfapmetq); $_0n21e71pnbvzo8g9->_o2m9pb5x4v45wtndn0eas = Point::At($_lftimt9r5yvoiy2bnxtvu, $_iwqwpjwnmipk2jtz); return $_0n21e71pnbvzo8g9; } public static function BetweenPoints(Point $_02ch3bd92bbkw37nck5ipffkxs, Point $_0v4kod4msdksk2bt9oiy2) { $_li8yitrijxyrkaprul0a2 = new Rectangle(); $_li8yitrijxyrkaprul0a2->_ot2r79gn1ewulqzywrmkq = $_02ch3bd92bbkw37nck5ipffkxs->Frozen; $_li8yitrijxyrkaprul0a2->_04piifuqupomu4v9 = $_0v4kod4msdksk2bt9oiy2->Frozen; $_li8yitrijxyrkaprul0a2->_08ki8licu8qws03o = Point::At($_li8yitrijxyrkaprul0a2->_04piifuqupomu4v9->X, $_li8yitrijxyrkaprul0a2->_ot2r79gn1ewulqzywrmkq->Y); $_li8yitrijxyrkaprul0a2->_o2m9pb5x4v45wtndn0eas = Point::At($_li8yitrijxyrkaprul0a2->_ot2r79gn1ewulqzywrmkq->X, $_li8yitrijxyrkaprul0a2->_04piifuqupomu4v9->Y); return $_li8yitrijxyrkaprul0a2; } public static function BetweenRectangles(Rectangle $_13faa3f1lqw4fdrh, Rectangle $_ob1nwhhgwa147kp7dy6i8jmnir) { $_immvyjr637i43xio = new Rectangle(); $_immvyjr637i43xio->_ot2r79gn1ewulqzywrmkq = Point::BetweenPoints($_13faa3f1lqw4fdrh->TopLeft, $_ob1nwhhgwa147kp7dy6i8jmnir->TopLeft)->Frozen; $_immvyjr637i43xio->_04piifuqupomu4v9 = Point::BetweenPoints($_ob1nwhhgwa147kp7dy6i8jmnir->BottomRight, $_13faa3f1lqw4fdrh->BottomRight)->Frozen; $_immvyjr637i43xio->_08ki8licu8qws03o = Point::At($_immvyjr637i43xio->_04piifuqupomu4v9->X, $_immvyjr637i43xio->_ot2r79gn1ewulqzywrmkq->Y); $_immvyjr637i43xio->_o2m9pb5x4v45wtndn0eas = Point::At($_immvyjr637i43xio->_ot2r79gn1ewulqzywrmkq->X, $_immvyjr637i43xio->_04piifuqupomu4v9->Y); return $_immvyjr637i43xio; } public static function ScaledDown(Rectangle $_oy3sd0sm8c9l50td4opza, $_Oe1tsj9b74mzqv77v6qfs) { if (0.0 > $_Oe1tsj9b74mzqv77v6qfs || $_Oe1tsj9b74mzqv77v6qfs >= 1.0) { throw new Exception("\x43\x61\x6e\x20\157\156\154\171\x20\143\162\145\141\164\145\x20\x73\155\x61\x6c\x6c\145\162\40\x72\x65\143\x74\141\156\147\154\145\163\x20\x77\x69\x74\150\x20\x74\x68\x69\163\40\x6d\x65\164\x68\157\x64\x2c\40\164\x68\145\40\x72\x61\x74\151\x6f\x20\x6d\x75\x73\164\x20\142\145\x20\x62\145\164\x77\145\145\x6e\x20\x30\40\141\156\x64\x20\x31\40\x28{$_Oe1tsj9b74mzqv77v6qfs}\x20\147\151\x76\145\156\51"); } $_11h3h250gzvs12nbnp69528gv7 = $_oy3sd0sm8c9l50td4opza->Width; $_izx6r3sovg7gp3zo7upfqgdvwt = $_oy3sd0sm8c9l50td4opza->Height; $_17z9m6g8j0bam581pt6osl6yq7 = (int)round($_11h3h250gzvs12nbnp69528gv7 * $_Oe1tsj9b74mzqv77v6qfs); $_04yd5lmc4u4m00qy5qrt7 = (int)round($_izx6r3sovg7gp3zo7upfqgdvwt * $_Oe1tsj9b74mzqv77v6qfs); $_Ofk7t9biy2omrajl = $_oy3sd0sm8c9l50td4opza->TopLeft->X; $_o9mcf2ydh6harzai = $_Ofk7t9biy2omrajl + ($_11h3h250gzvs12nbnp69528gv7 - $_17z9m6g8j0bam581pt6osl6yq7); $_oxgdhqxuk4se0bsj = RandomizationHelper::RandomFromRange($_Ofk7t9biy2omrajl, $_o9mcf2ydh6harzai); $_ofbif27gohti912w28pabkdzz3 = $_oy3sd0sm8c9l50td4opza->TopLeft->Y; $_o5p4ru3wz826l2ooy76m3 = $_ofbif27gohti912w28pabkdzz3 + ($_izx6r3sovg7gp3zo7upfqgdvwt - $_04yd5lmc4u4m00qy5qrt7); $_Onwgczwt71r80wb6iuhzh = RandomizationHelper::RandomFromRange($_ofbif27gohti912w28pabkdzz3, $_o5p4ru3wz826l2ooy76m3); $_idkzszx86pgzfq1yu24nzu3ljd = new Rectangle(); $_idkzszx86pgzfq1yu24nzu3ljd->_ot2r79gn1ewulqzywrmkq = Point::At($_oxgdhqxuk4se0bsj, $_Onwgczwt71r80wb6iuhzh); $_idkzszx86pgzfq1yu24nzu3ljd->_04piifuqupomu4v9 = Point::At($_oxgdhqxuk4se0bsj + $_17z9m6g8j0bam581pt6osl6yq7, $_Onwgczwt71r80wb6iuhzh + $_04yd5lmc4u4m00qy5qrt7); $_idkzszx86pgzfq1yu24nzu3ljd->_08ki8licu8qws03o = Point::At($_oxgdhqxuk4se0bsj + $_17z9m6g8j0bam581pt6osl6yq7, $_Onwgczwt71r80wb6iuhzh); $_idkzszx86pgzfq1yu24nzu3ljd->_o2m9pb5x4v45wtndn0eas = Point::At($_oxgdhqxuk4se0bsj, $_Onwgczwt71r80wb6iuhzh + $_04yd5lmc4u4m00qy5qrt7); return $_idkzszx86pgzfq1yu24nzu3ljd; } private $_ot2r79gn1ewulqzywrmkq; public function get_TopLeft() { return $this->_ot2r79gn1ewulqzywrmkq; } private $_08ki8licu8qws03o; public function get_TopRight() { return $this->_08ki8licu8qws03o; } private $_o2m9pb5x4v45wtndn0eas; public function get_BottomLeft() { return $this->_o2m9pb5x4v45wtndn0eas; } private $_04piifuqupomu4v9; public function get_BottomRight() { return $this->_04piifuqupomu4v9; } public function get_Width() { return ($this->get_BottomRight()->get_X() - $this->get_TopLeft()->get_X()); } public function get_Height() { return ($this->get_BottomRight()->get_Y() - $this->get_TopLeft()->get_Y()); } public function get_Center() { return Point::At(($this->get_TopLeft()->get_X() + $this->get_BottomRight()->get_X()) / 2, ($this->get_TopLeft()->get_Y() + $this->get_BottomRight()->get_Y()) / 2); } public function get_Surface() { $_ik77vbvau2o526ac = $this->get_Width(); $_o1jxb6x7k66ovyaledfwj = $this->get_Height(); $_1gh9aivga5d3hhrlehgnlq1oig = $_ik77vbvau2o526ac * $_o1jxb6x7k66ovyaledfwj; if (is_null($this->get_Outline())) { return $_1gh9aivga5d3hhrlehgnlq1oig; } $_o9qxwpupj2rv7lwwh2zmmwm0mc = 2 * ($_ik77vbvau2o526ac + $_o1jxb6x7k66ovyaledfwj); $_Ouhosxafwhfd3zw3adb8hfgb8j = $_o9qxwpupj2rv7lwwh2zmmwm0mc * $this->get_Outline()->get_Thickness(); return ($_1gh9aivga5d3hhrlehgnlq1oig + $_Ouhosxafwhfd3zw3adb8hfgb8j); } private $_0sq8gcif3eugsm164xph7, $y1, $x2, $y2, $points, $angle; public function PreProcess() { $_1qjj6mzs9yts4vy6f2q999kuuf = $this->_ot2r79gn1ewulqzywrmkq->X; $_ifdzeeps9gxv7jlz6uctn = $this->_ot2r79gn1ewulqzywrmkq->Y; $_ohztavue310itopg = $this->_04piifuqupomu4v9->X; $_0qy6g0l0tzojkpwui13l7 = $this->_04piifuqupomu4v9->Y; $_0etb70cxv4nrxps3 = $this->Transform->Translation->xOffset; $_1aus4afdmy5jik4zorywn6gx13 = $this->Transform->Translation->yOffset; $_1qjj6mzs9yts4vy6f2q999kuuf += $_0etb70cxv4nrxps3; $_ifdzeeps9gxv7jlz6uctn += $_1aus4afdmy5jik4zorywn6gx13; $_ohztavue310itopg += $_0etb70cxv4nrxps3; $_0qy6g0l0tzojkpwui13l7 += $_1aus4afdmy5jik4zorywn6gx13; $_ohztavue310itopg *= $this->Transform->Scaling->xScalingFactor; $_0qy6g0l0tzojkpwui13l7 *= $this->Transform->Scaling->yScalingFactor; $this->_0sq8gcif3eugsm164xph7 = $_1qjj6mzs9yts4vy6f2q999kuuf; $this->y1 = $_ifdzeeps9gxv7jlz6uctn; $this->x2 = $_ohztavue310itopg; $this->y2 = $_0qy6g0l0tzojkpwui13l7; $this->angle = $this->Transform->Rotation->Angle; $this->points = self::o8ly3($_1qjj6mzs9yts4vy6f2q999kuuf, $_ifdzeeps9gxv7jlz6uctn, $_ohztavue310itopg, $_0qy6g0l0tzojkpwui13l7, $this->angle); } private static function o8ly3($_0644ma4ossdf784qbhmjp, $_0qwzherhc67q0bokh8hm5, $_0bejej77m6qh8z6mwgscd, $_0evx721pr2fn8qd1c5sqyh01oi, $_iuj49ytkfrk3njtiy6948m25go) { $_Im0ustdj13s15jsblmrq2 = deg2rad($_iuj49ytkfrk3njtiy6948m25go); $_O1bu42k3xvmltdqxidoja = cos($_Im0ustdj13s15jsblmrq2); $_lzzw6chrpeigv33he1mu8 = sin($_Im0ustdj13s15jsblmrq2); $_0ti497xde5bemtpr1bsi3 = $_0644ma4ossdf784qbhmjp; $_l1opq8h0evd8kz8r4j61h = $_0qwzherhc67q0bokh8hm5; $_iwmwfrhmbzyvx8vmaq2hmogp7a = $_0bejej77m6qh8z6mwgscd - $_0644ma4ossdf784qbhmjp; $_05f82oyvykkwu5xznkbmhxzn5x = $_0evx721pr2fn8qd1c5sqyh01oi - $_0qwzherhc67q0bokh8hm5; $_I91oky1rybju7ix7qqcruzkmca = $_0644ma4ossdf784qbhmjp + ($_iwmwfrhmbzyvx8vmaq2hmogp7a * $_O1bu42k3xvmltdqxidoja - 0); $_O60cwr7sgxd652ja = $_0qwzherhc67q0bokh8hm5 + ($_iwmwfrhmbzyvx8vmaq2hmogp7a * $_lzzw6chrpeigv33he1mu8 + 0); $_Ouetn1jjpgxzezmhv5d4k = $_0644ma4ossdf784qbhmjp + ($_iwmwfrhmbzyvx8vmaq2hmogp7a * $_O1bu42k3xvmltdqxidoja - $_05f82oyvykkwu5xznkbmhxzn5x * $_lzzw6chrpeigv33he1mu8); $_Ormlz6zev88lb0x7ye9dcxka7a = $_0qwzherhc67q0bokh8hm5 + ($_iwmwfrhmbzyvx8vmaq2hmogp7a * $_lzzw6chrpeigv33he1mu8 + $_05f82oyvykkwu5xznkbmhxzn5x * $_O1bu42k3xvmltdqxidoja); $_o69hk08xyn5nutjg = $_0644ma4ossdf784qbhmjp + (0 - $_05f82oyvykkwu5xznkbmhxzn5x * $_lzzw6chrpeigv33he1mu8); $_I2vxa7zk3dbbj2iu = $_0qwzherhc67q0bokh8hm5 + (0 + $_05f82oyvykkwu5xznkbmhxzn5x * $_O1bu42k3xvmltdqxidoja); return array($_0ti497xde5bemtpr1bsi3, $_l1opq8h0evd8kz8r4j61h, $_I91oky1rybju7ix7qqcruzkmca, $_O60cwr7sgxd652ja, $_Ouetn1jjpgxzezmhv5d4k, $_Ormlz6zev88lb0x7ye9dcxka7a, $_o69hk08xyn5nutjg, $_I2vxa7zk3dbbj2iu); } public function DrawBody() { $_Injzy49ft4cmvslafsern = $this->m_Graphics->GetGDImage(); $_osbef5s7uh0vqc0q = imagecolorallocate($_Injzy49ft4cmvslafsern, $this->FillColor->R, $this->FillColor->G, $this->FillColor->B); imagefilledpolygon($_Injzy49ft4cmvslafsern, $this->points, 4, $_osbef5s7uh0vqc0q); } public function DrawOutline() { $_o2tx4stkqx73ne11lrx5g7e86v = $this->m_Graphics->GetGDImage(); $_isxaic4jipccf9avl02qe = sin(deg2rad($this->angle)); $_0o9ni6soaj5fqalr = cos(deg2rad($this->angle)); $_O6mo6wf1lmicc1wzqyikz = 1; $_16h0imydi1ma01ei = 1; $_O91bq0f9gr2qkkiovwbtu = 0; $_o6dxmuc03ynm8ei0g93c8ga8hm = 0; for ($_Ikfkpdio6tuj0qpcqxrkq = 0; $_Ikfkpdio6tuj0qpcqxrkq < $this->Outline->LayerCount; $_Ikfkpdio6tuj0qpcqxrkq++) { $_loowvub3sexvo5ef = $this->Outline[$_Ikfkpdio6tuj0qpcqxrkq]; $_lqmuh1c5botai6el = $_loowvub3sexvo5ef->Thickness; $_lihmyfmw6u9tl91y = $_loowvub3sexvo5ef[0]->Color; $_ok310llz7tbe4jt2w9n9h = imagecolorallocate($_o2tx4stkqx73ne11lrx5g7e86v, $_lihmyfmw6u9tl91y->R, $_lihmyfmw6u9tl91y->G, $_lihmyfmw6u9tl91y->B); for ($_ofnxzj32mwutpk91n8t8v = 0; $_ofnxzj32mwutpk91n8t8v < $_lqmuh1c5botai6el + 1; $_ofnxzj32mwutpk91n8t8v++) { $_1h21z4duc6ffqw486ronvbhum5 = $this->_0sq8gcif3eugsm164xph7 - $_O91bq0f9gr2qkkiovwbtu - ($_ofnxzj32mwutpk91n8t8v * $_O6mo6wf1lmicc1wzqyikz); $_lixqllqlk3xstjd4ej7ab = $this->y1 - $_o6dxmuc03ynm8ei0g93c8ga8hm - ($_ofnxzj32mwutpk91n8t8v * $_16h0imydi1ma01ei); $_odo8rudz1yqb6igwld5qv = $this->x2 + $_O91bq0f9gr2qkkiovwbtu + ($_ofnxzj32mwutpk91n8t8v * $_O6mo6wf1lmicc1wzqyikz); $_1ajqmea3wzf1nspmysay8nwa34 = $this->y2 + $_o6dxmuc03ynm8ei0g93c8ga8hm + ($_ofnxzj32mwutpk91n8t8v * $_16h0imydi1ma01ei); $_izr7sntsovx742qa = self::o8ly3($_1h21z4duc6ffqw486ronvbhum5, $_lixqllqlk3xstjd4ej7ab, $_odo8rudz1yqb6igwld5qv, $_1ajqmea3wzf1nspmysay8nwa34, $this->angle); imagepolygon($_o2tx4stkqx73ne11lrx5g7e86v, $_izr7sntsovx742qa, 4, $_ok310llz7tbe4jt2w9n9h); } $_O91bq0f9gr2qkkiovwbtu += ceil($_O6mo6wf1lmicc1wzqyikz * $_lqmuh1c5botai6el); $_o6dxmuc03ynm8ei0g93c8ga8hm += ceil($_16h0imydi1ma01ei * $_lqmuh1c5botai6el); } } } class Glyph extends AtomicShape { public function __construct() { $this->Transform = Transform::Identity(); if (0 != func_num_args()) { throw new Exception("\x55\163\145\x20\x73\164\x61\x74\x69\143\40\143\157\156\163\x74\162\x75\x63\x74\x69\x6f\156\x20\x68\x65\154\160\145\x72\163\x20\141\166\141\x69\154\x61\142\154\145\x20\x62\x65\x6c\x6f\167\x20\x69\156\x73\x74\x65\141\x64"); } } private $_Icwpu7l35022qgwb; public function get_Bounds() { return $this->_Icwpu7l35022qgwb; } public function set_Bounds(Rectangle $_0thcqbo9vkfcoa8zu0ou22o8q7) { $this->_Icwpu7l35022qgwb = $_0thcqbo9vkfcoa8zu0ou22o8q7; } private $_Iyqbclf0ikaokkn5wraq8z8ies; public function get_Font() { return $this->_Iyqbclf0ikaokkn5wraq8z8ies; } public function set_Font($_lem8wo46wqlgvcx3) { $this->_Iyqbclf0ikaokkn5wraq8z8ies = $_lem8wo46wqlgvcx3; } private $_Okg20lkx71792f91pduk5rsh4t; public function get_FontCase() { return $this->_Okg20lkx71792f91pduk5rsh4t; } public function set_FontCase($_Ocesk9m49dtngqczg5wbo2h3xc) { $this->_Okg20lkx71792f91pduk5rsh4t = $_Ocesk9m49dtngqczg5wbo2h3xc; } private $_1f5n9c8iypke7gjo; public function get_Character() { return $this->_1f5n9c8iypke7gjo; } public function set_Character($_lfq03yrffytwhop6) { $this->_1f5n9c8iypke7gjo = $_lfq03yrffytwhop6; } public function get_Surface() { return $this->_Icwpu7l35022qgwb->Surface / 4; } public static function calculateTextBox($_Ovz9pbd06182louwofw4vy6ija, $_onit02o4fo73lffdycpfe9dx5f, $_Omcjwtio0zi3f30k80clkzsrek, $_Ixvvjaog0ju6aqtouxj2k7r9c0) { $_1jdlxlua5554rw7e = imagettfbbox($_Ovz9pbd06182louwofw4vy6ija, $_onit02o4fo73lffdycpfe9dx5f, $_Omcjwtio0zi3f30k80clkzsrek, $_Ixvvjaog0ju6aqtouxj2k7r9c0); $_lxi1vm52xdwijadx = min(array($_1jdlxlua5554rw7e[0], $_1jdlxlua5554rw7e[2], $_1jdlxlua5554rw7e[4], $_1jdlxlua5554rw7e[6])); $_iz2cjjmwqo8qt7ov = max(array($_1jdlxlua5554rw7e[0], $_1jdlxlua5554rw7e[2], $_1jdlxlua5554rw7e[4], $_1jdlxlua5554rw7e[6])); $_07edcppuiascqd7u3j00nyd1bp = min(array($_1jdlxlua5554rw7e[1], $_1jdlxlua5554rw7e[3], $_1jdlxlua5554rw7e[5], $_1jdlxlua5554rw7e[7])); $_0a0znbqi0wqkfqlnzng5x = max(array($_1jdlxlua5554rw7e[1], $_1jdlxlua5554rw7e[3], $_1jdlxlua5554rw7e[5], $_1jdlxlua5554rw7e[7])); $_l5063v6jg4877rrtuty20 = 1.00; $_o62p63wclkxw875ru1uajtdl0x = 1.00; return array( "\x78" => -1 * abs($_lxi1vm52xdwijadx), "\x79" => abs($_07edcppuiascqd7u3j00nyd1bp), "\x77\151\x64\x74\150" => ($_iz2cjjmwqo8qt7ov - $_lxi1vm52xdwijadx) * $_l5063v6jg4877rrtuty20, "\150\145\151\147\x68\x74" => ($_0a0znbqi0wqkfqlnzng5x - $_07edcppuiascqd7u3j00nyd1bp) * $_o62p63wclkxw875ru1uajtdl0x, "\142\x6f\170" => $_1jdlxlua5554rw7e ); } public static function imagettfbbox_t($_omijyamlnszz4d5h, $_o4lf1y6g28ncsebn, $_ih7s57z0mbjzgkm7, $_0m8tv2kvu77412izqslci) { $_0v30rj6nxass3dxf = imagettfbbox($_omijyamlnszz4d5h, 0, $_ih7s57z0mbjzgkm7, $_0m8tv2kvu77412izqslci); if(0 == $_o4lf1y6g28ncsebn) { $_l24sdca9rp9wlgne = $_0v30rj6nxass3dxf[1] - $_0v30rj6nxass3dxf[7]; $_13xln4qm9ekz5f00blccg = $_0v30rj6nxass3dxf[2] - $_0v30rj6nxass3dxf[0]; $_Iocgoxxap7plg5zi = -1 - $_0v30rj6nxass3dxf[0]; $_Ifk8f8rjb3z7woqu = -1 - $_0v30rj6nxass3dxf[7]; } else { $_1sc5ca4kom3dcg0sgz0tp = deg2rad($_o4lf1y6g28ncsebn); $_Oxzww0jaqdylotf3jle9t = sin($_1sc5ca4kom3dcg0sgz0tp); $_oaahv5jn5dmuy8l9ryumj4suow = cos($_1sc5ca4kom3dcg0sgz0tp); if($_o4lf1y6g28ncsebn > 0) { $_Issh67ucn8n92lhfn5m5o = $_0v30rj6nxass3dxf[6] * $_oaahv5jn5dmuy8l9ryumj4suow + $_0v30rj6nxass3dxf[7] * $_Oxzww0jaqdylotf3jle9t; $_Iocgoxxap7plg5zi = -1 - $_Issh67ucn8n92lhfn5m5o; $_13xln4qm9ekz5f00blccg = $_0v30rj6nxass3dxf[2] * $_oaahv5jn5dmuy8l9ryumj4suow + $_0v30rj6nxass3dxf[3] * $_Oxzww0jaqdylotf3jle9t - $_Issh67ucn8n92lhfn5m5o; $_Issh67ucn8n92lhfn5m5o = $_0v30rj6nxass3dxf[5] * $_oaahv5jn5dmuy8l9ryumj4suow - $_0v30rj6nxass3dxf[4] * $_Oxzww0jaqdylotf3jle9t; $_Ifk8f8rjb3z7woqu = -1 - $_Issh67ucn8n92lhfn5m5o; $_l24sdca9rp9wlgne = $_0v30rj6nxass3dxf[1] * $_oaahv5jn5dmuy8l9ryumj4suow - $_0v30rj6nxass3dxf[0] * $_Oxzww0jaqdylotf3jle9t - $_Issh67ucn8n92lhfn5m5o; } else { $_Issh67ucn8n92lhfn5m5o = $_0v30rj6nxass3dxf[0] * $_oaahv5jn5dmuy8l9ryumj4suow + $_0v30rj6nxass3dxf[1] * $_Oxzww0jaqdylotf3jle9t; $_Iocgoxxap7plg5zi = -1 - $_Issh67ucn8n92lhfn5m5o; $_13xln4qm9ekz5f00blccg = $_0v30rj6nxass3dxf[4] * $_oaahv5jn5dmuy8l9ryumj4suow + $_0v30rj6nxass3dxf[5] * $_Oxzww0jaqdylotf3jle9t - $_Issh67ucn8n92lhfn5m5o; $_Issh67ucn8n92lhfn5m5o = $_0v30rj6nxass3dxf[7] * $_oaahv5jn5dmuy8l9ryumj4suow - $_0v30rj6nxass3dxf[6] * $_Oxzww0jaqdylotf3jle9t; $_Ifk8f8rjb3z7woqu = -1 - $_Issh67ucn8n92lhfn5m5o; $_l24sdca9rp9wlgne = $_0v30rj6nxass3dxf[3] * $_oaahv5jn5dmuy8l9ryumj4suow - $_0v30rj6nxass3dxf[2] * $_Oxzww0jaqdylotf3jle9t - $_Issh67ucn8n92lhfn5m5o; } } $_0v30rj6nxass3dxf["\x78"] = $_Iocgoxxap7plg5zi; $_0v30rj6nxass3dxf["\x79"] = $_Ifk8f8rjb3z7woqu; $_0v30rj6nxass3dxf["\x77\151\144\x74\x68"] = $_13xln4qm9ekz5f00blccg; $_0v30rj6nxass3dxf["\x68\x65\151\x67\x68\164"] = $_l24sdca9rp9wlgne; return $_0v30rj6nxass3dxf; } public function ReDraw(GDGraphics $_ll7ka98l5qtraxf9) { $this->m_Graphics = $_ll7ka98l5qtraxf9; $_Ijyqhj277et3aaw5 = LineStyle::HasValue($this->get_Outline()); $_1npmzsllenafiloh5e8c4ebtve = !is_null($this->get_FillColor()); if (!$_Ijyqhj277et3aaw5 && !$_1npmzsllenafiloh5e8c4ebtve) { return; } if ($_1npmzsllenafiloh5e8c4ebtve) { $this->DrawBody(); } if ($_Ijyqhj277et3aaw5) { $this->DrawOutline(); } } private $_1knxghg6wz3k95ksigki5, $y1, $x2, $y2, $alpha, $bounds_w, $bounds_h, $size, $base_x, $base_y, $transparent, $buffer, $gd_image; public $drawnWidth, $drawnHeight; public function PreProcess() { $_Ogikdx35pk3ccsfa8quub7op41 = $this->get_Bounds()->get_TopLeft(); $_I4td6yz9i4d78ojr = $_Ogikdx35pk3ccsfa8quub7op41->get_X(); $_If2t0l36lbf6h78m = $_Ogikdx35pk3ccsfa8quub7op41->get_Y(); $_itlohd84j04xn8pa4l5zopqk2e = $this->get_Bounds()->get_BottomRight(); $_Ipkeklq4dqyn74uvap76x = $_itlohd84j04xn8pa4l5zopqk2e->get_X(); $_I608lvi6ic2vyb4zek7u53x3ly = $_itlohd84j04xn8pa4l5zopqk2e->get_Y(); $_ibttwrj50fx8z7hgzsv91 = $this->get_Transform(); $_o4qytccmr16wdh213o2oy = $_ibttwrj50fx8z7hgzsv91->get_Translation(); $_1rp00amfsvnav2g91zuruze2l7 = $_Ipkeklq4dqyn74uvap76x - $_I4td6yz9i4d78ojr; $_0k10hz6ittjxelp93rzvm = $_I608lvi6ic2vyb4zek7u53x3ly - $_If2t0l36lbf6h78m; $_0lrrb2alliziuyxl = $_o4qytccmr16wdh213o2oy->get_xOffsetRelative($_1rp00amfsvnav2g91zuruze2l7); $_o7z64yjx9dgg9i8cd7i9t = $_o4qytccmr16wdh213o2oy->get_yOffsetRelative($_0k10hz6ittjxelp93rzvm); $_I4td6yz9i4d78ojr += $_0lrrb2alliziuyxl; $_If2t0l36lbf6h78m += $_o7z64yjx9dgg9i8cd7i9t; $_Ipkeklq4dqyn74uvap76x += $_0lrrb2alliziuyxl; $_I608lvi6ic2vyb4zek7u53x3ly += $_o7z64yjx9dgg9i8cd7i9t; $_lhbbrluggijonpyohispa = $_ibttwrj50fx8z7hgzsv91->get_Scaling(); $_Ojxgayuq4ibt84ulnht4jn1wvm = $_lhbbrluggijonpyohispa->get_xScalingFactor(); $_0v6n6zym9l91g9fs293r2ty9b3 = $_1rp00amfsvnav2g91zuruze2l7 * $_Ojxgayuq4ibt84ulnht4jn1wvm; $_02xeey54lcnjqsc9 = ($_0v6n6zym9l91g9fs293r2ty9b3 - $_1rp00amfsvnav2g91zuruze2l7) / 2; $_O8g1sk49dwmqvocwv1u3d22j77 = $_lhbbrluggijonpyohispa->get_yScalingFactor(); $_I4td6yz9i4d78ojr -= $_02xeey54lcnjqsc9; $_Ipkeklq4dqyn74uvap76x += $_02xeey54lcnjqsc9; $_0fc03fu5qwcvb3ru4v2zc8tryi = $_0k10hz6ittjxelp93rzvm * $_O8g1sk49dwmqvocwv1u3d22j77; $_1vy4bugpebcazzgjpwzyo = ($_0fc03fu5qwcvb3ru4v2zc8tryi - $_0k10hz6ittjxelp93rzvm) / 2; $_If2t0l36lbf6h78m -= $_1vy4bugpebcazzgjpwzyo; $_I608lvi6ic2vyb4zek7u53x3ly += $_1vy4bugpebcazzgjpwzyo; $_Ixgnnbgu1qiur43s = $_ibttwrj50fx8z7hgzsv91->get_Rotation()->get_Angle(); $_Or6wzjdponzssvk0mpytk = $_Ipkeklq4dqyn74uvap76x - $_I4td6yz9i4d78ojr; $_010wuhol64mrpl1tk002iourr4 = $_I608lvi6ic2vyb4zek7u53x3ly - $_If2t0l36lbf6h78m; $_lz6b8c6pbrisshd3 = $this->get_Outline(); $_I5e0t3sf7snk8n6eqtyqjdjrd6 = LineStyle::HasValue($_lz6b8c6pbrisshd3) ? $_lz6b8c6pbrisshd3->get_Thickness() : 0; $_0sc2vxymbhaacad6 = $_010wuhol64mrpl1tk002iourr4 * 1.05; $_0ays3dm74xr481br = 0; $_Ig09pl1htp4hxzm8 = 0; $_o5g56tkq4v3zt000 = 0; $_ob10df4rfp281tpt65abtreod3 = 0; do { $_0sc2vxymbhaacad6 = $_0sc2vxymbhaacad6 - 1.0; $_ow1p7ml0ihrlma6xbpn6q = self::imagettfbbox_t($_0sc2vxymbhaacad6, $_Ixgnnbgu1qiur43s, $this->_Iyqbclf0ikaokkn5wraq8z8ies, $this->_1f5n9c8iypke7gjo); $_0ays3dm74xr481br = $_ow1p7ml0ihrlma6xbpn6q["\167\151\144\164\150"] + 2 * $_I5e0t3sf7snk8n6eqtyqjdjrd6; $_Ig09pl1htp4hxzm8 = $_ow1p7ml0ihrlma6xbpn6q["\x68\145\x69\x67\150\164"] + 2 * $_I5e0t3sf7snk8n6eqtyqjdjrd6; $_o5g56tkq4v3zt000 = $_I4td6yz9i4d78ojr + $_ow1p7ml0ihrlma6xbpn6q["\x78"] + $_I5e0t3sf7snk8n6eqtyqjdjrd6; $_ob10df4rfp281tpt65abtreod3 = $_If2t0l36lbf6h78m + $_ow1p7ml0ihrlma6xbpn6q["\171"] + $_I5e0t3sf7snk8n6eqtyqjdjrd6; } while ($_Ig09pl1htp4hxzm8 > $_010wuhol64mrpl1tk002iourr4); $this->_1knxghg6wz3k95ksigki5 = $_I4td6yz9i4d78ojr; $this->y1 = $_If2t0l36lbf6h78m; $this->x2 = $_Ipkeklq4dqyn74uvap76x; $this->y2 = $_I608lvi6ic2vyb4zek7u53x3ly; $this->alpha = $_Ixgnnbgu1qiur43s; $this->size = $_0sc2vxymbhaacad6 + 1; $this->bounds_w = $_Or6wzjdponzssvk0mpytk; $this->bounds_h = $_010wuhol64mrpl1tk002iourr4; $this->drawnWidth = $_0ays3dm74xr481br / $_Ojxgayuq4ibt84ulnht4jn1wvm; $this->drawnHeight = $_Ig09pl1htp4hxzm8 / $_O8g1sk49dwmqvocwv1u3d22j77; $this->base_x = $_o5g56tkq4v3zt000 + $_I5e0t3sf7snk8n6eqtyqjdjrd6; $this->base_y = $_ob10df4rfp281tpt65abtreod3 + $_I5e0t3sf7snk8n6eqtyqjdjrd6; $this->fillColor = $this->get_FillColor(); switch ($this->FontCase) { case 0 : $this->_1f5n9c8iypke7gjo = StringHelper::Uppercase($this->_1f5n9c8iypke7gjo); break; case 1 : $this->_1f5n9c8iypke7gjo = StringHelper::Lowercase($this->_1f5n9c8iypke7gjo); break; default: $_Ouzmrv8o5ayxka65zaotx57uib = RandomizationHelper::RandomFromRange(0, 100) % 2; if (0 == $_Ouzmrv8o5ayxka65zaotx57uib) { $this->_1f5n9c8iypke7gjo = StringHelper::Uppercase($this->_1f5n9c8iypke7gjo); } else { $this->_1f5n9c8iypke7gjo = StringHelper::Lowercase($this->_1f5n9c8iypke7gjo); } break; } } public function DrawBody() { $_Ojrqjictjefj39y7ey8q419ujl = $this->m_Graphics->GetGDImage(); $_1iwjpowpzfq8dswbzujlc = imagecolorallocatealpha($_Ojrqjictjefj39y7ey8q419ujl, $this->fillColor->get_R(), $this->fillColor->get_G(), $this->fillColor->get_B(), 0); imagettftext($_Ojrqjictjefj39y7ey8q419ujl, $this->size, $this->alpha, $this->base_x, $this->base_y, $_1iwjpowpzfq8dswbzujlc, $this->_Iyqbclf0ikaokkn5wraq8z8ies, $this->_1f5n9c8iypke7gjo); } public function DrawOutline() { $_Igp1k33z9bcq9oieqlttnbejtp = $this->Outline->Thickness; $_0ges7qym8vkbno577kbif = $this->Outline->LayerCount; $_ly3slu3at564cc5ymbyqffmh56 = $this->m_Graphics->GetGDImage(); $_O8zyrzrrdl1ycpjl = imagecolorallocatealpha($_ly3slu3at564cc5ymbyqffmh56, $this->fillColor->get_R(), $this->fillColor->get_G(), $this->fillColor->get_B(), 0); for ($_oq18boj86coprkn1585xgvnmoh = $_0ges7qym8vkbno577kbif; $_oq18boj86coprkn1585xgvnmoh > 0; $_oq18boj86coprkn1585xgvnmoh--) { $_09v2ikqxdc2etsu4q2f275wpje = $this->Outline[$_oq18boj86coprkn1585xgvnmoh - 1]; if (is_null($_09v2ikqxdc2etsu4q2f275wpje)) { break; } $_09s4ypqgilui17q3hsevg = $_09v2ikqxdc2etsu4q2f275wpje[0]->get_Color(); $_oykxsf22mcu3ge7l = imagecolorallocatealpha($_ly3slu3at564cc5ymbyqffmh56, $_09s4ypqgilui17q3hsevg->get_R(), $_09s4ypqgilui17q3hsevg->get_G(), $_09s4ypqgilui17q3hsevg->get_B(), 0); $_I58ap8zyjo7ipo3yllbog = $_09v2ikqxdc2etsu4q2f275wpje->get_Thickness(); $this->qpfzz($_ly3slu3at564cc5ymbyqffmh56, $this->size + 4 * $_Igp1k33z9bcq9oieqlttnbejtp, $this->alpha, $this->base_x - 2 * $_Igp1k33z9bcq9oieqlttnbejtp, $this->base_y + 2 * $_Igp1k33z9bcq9oieqlttnbejtp, $_O8zyrzrrdl1ycpjl, $_oykxsf22mcu3ge7l, $this->_Iyqbclf0ikaokkn5wraq8z8ies, $this->_1f5n9c8iypke7gjo, $_I58ap8zyjo7ipo3yllbog); $_Igp1k33z9bcq9oieqlttnbejtp -= $_I58ap8zyjo7ipo3yllbog; } } public function PostProcess() { } private function qpfzz(&$_oxt6j771jcsbh66fpxtiv3h4nj, $_i59iagxho0v7k9p6cn4q1xid8v, $_0lvgyh8beiaptviu6w9lzfsvl3, $_lap4xcohu5rggks6, $_o7zxebr7xbe3526f8kclk, &$_oxi3ik48bdl2ji0o860dd, &$_Ow0y9w1ct4gcquo4v9ecu, $_ler6fhrx95ywix1f, $_lumgtm9s2v5fxqkw3datq, $_l9680mo21v6umtzmxsmwl2uji2) { $_oepfsmg1iwi6t1b9 = abs($_l9680mo21v6umtzmxsmwl2uji2); for ($_1qy6xy4zkef7gko9n1x2jbosdy = $_lap4xcohu5rggks6 - $_oepfsmg1iwi6t1b9; $_1qy6xy4zkef7gko9n1x2jbosdy <= $_lap4xcohu5rggks6 + $_oepfsmg1iwi6t1b9; $_1qy6xy4zkef7gko9n1x2jbosdy += $_l9680mo21v6umtzmxsmwl2uji2) { for ($_Ovfarcg01r0iemwp = $_o7zxebr7xbe3526f8kclk - $_oepfsmg1iwi6t1b9; $_Ovfarcg01r0iemwp <= $_o7zxebr7xbe3526f8kclk + $_oepfsmg1iwi6t1b9; $_Ovfarcg01r0iemwp += $_l9680mo21v6umtzmxsmwl2uji2) { $_1g3bpcbv5raf1k3w = imagettftext($_oxt6j771jcsbh66fpxtiv3h4nj, $_i59iagxho0v7k9p6cn4q1xid8v, $_0lvgyh8beiaptviu6w9lzfsvl3, $_1qy6xy4zkef7gko9n1x2jbosdy, $_Ovfarcg01r0iemwp, $_Ow0y9w1ct4gcquo4v9ecu, $_ler6fhrx95ywix1f, $_lumgtm9s2v5fxqkw3datq); } } $_0pbewlxr41w5x4u0ptl7t = imagettftext($_oxt6j771jcsbh66fpxtiv3h4nj, $_i59iagxho0v7k9p6cn4q1xid8v, $_0lvgyh8beiaptviu6w9lzfsvl3, $_lap4xcohu5rggks6, $_o7zxebr7xbe3526f8kclk, $_oxi3ik48bdl2ji0o860dd, $_ler6fhrx95ywix1f, $_lumgtm9s2v5fxqkw3datq); } } class Circle extends AtomicShape { public function __construct() { $this->m_Transform = Transform::Identity(); if (0 != func_num_args()) { throw new Exception("\x55\x73\145\x20\163\164\141\164\151\x63\x20\x63\x6f\x6e\163\164\162\x75\x63\164\151\x6f\x6e\x20\150\x65\154\160\x65\162\x73\x20\141\166\x61\x69\x6c\x61\x62\154\145\x20\142\145\154\x6f\167\x20\x69\x6e\x73\164\x65\141\x64"); } } public static function FromCenterAndRadius(Point $_of2pivqv2od3q6kl, $_Oix0vcv09zyypofjhm69c) { $_0b4azlg52fhwotc2 = new Circle(); $_0b4azlg52fhwotc2->Center = $_of2pivqv2od3q6kl; $_0b4azlg52fhwotc2->Radius = $_Oix0vcv09zyypofjhm69c; return $_0b4azlg52fhwotc2; } public static function FromCenterAndRadiusRange(Point $_Oc6qeufr758cx986z76wc, $_oqmcv0d6tng1ai6wxp3okpwuf7, $_oc09f37if6tk7uuvajib9) { $_osafsvaqbg78vthzkm38g = new Circle(); $_osafsvaqbg78vthzkm38g->Center = $_Oc6qeufr758cx986z76wc; $_osafsvaqbg78vthzkm38g->RadiusRange = new RandomRange($_oqmcv0d6tng1ai6wxp3okpwuf7, $_oc09f37if6tk7uuvajib9); return $_osafsvaqbg78vthzkm38g; } private $_09wd3aphe0ci4r1sm9yp6; public function get_RadiusRange() { return $this->_09wd3aphe0ci4r1sm9yp6; } public function set_RadiusRange(RandomRange $_12sp86xou3f78b483fj4ndr0rd) { $this->_09wd3aphe0ci4r1sm9yp6 = $_12sp86xou3f78b483fj4ndr0rd; } public function get_Radius() { if (is_null($this->_09wd3aphe0ci4r1sm9yp6)) { return 0; } return $this->_09wd3aphe0ci4r1sm9yp6->Next; } public function set_Radius($_0xjk9tlv66tw6brk4r7jp) { if ($_0xjk9tlv66tw6brk4r7jp <= 0) { throw new Exception("\124\x68\x65\x20\162\x61\144\151\x75\x73\40\157\x66\x20\141\x20\x63\x69\162\143\x6c\145\x20\x68\141\x73\x20\164\x6f\40\x62\x65\40\x61\40\160\157\x73\x69\x74\x69\166\x65\40\151\x6e\x74\145\x67\145\x72".$_0xjk9tlv66tw6brk4r7jp); } $this->_09wd3aphe0ci4r1sm9yp6 = new RandomRange($_0xjk9tlv66tw6brk4r7jp); } private $_l9qaz3adlhh3vke13kv4ppm1ts; public function get_Center() { return $this->_l9qaz3adlhh3vke13kv4ppm1ts; } public function set_Center($_1nxd8lkqzyq1y8f4) { $this->_l9qaz3adlhh3vke13kv4ppm1ts = $_1nxd8lkqzyq1y8f4; } public function __clone() { $_lqs7b2zh1npcudl6 = new Circle(); $_lqs7b2zh1npcudl6->_l9qaz3adlhh3vke13kv4ppm1ts = $this->_l9qaz3adlhh3vke13kv4ppm1ts; $_lqs7b2zh1npcudl6->Radius = $this->Radius; return $_lqs7b2zh1npcudl6; } public function get_Surface() { $_o6rsu1jjcykldx2cucsnwzoc6l = $this->Radius; if(LineStyle::HasValue($this->Outline)) { $_o6rsu1jjcykldx2cucsnwzoc6l += $this->Outline->Thickness; } $_O8e97wvyw7ita27xdhcy5hfux5 = pow($_o6rsu1jjcykldx2cucsnwzoc6l, 2) * pi(); return (int) round($_O8e97wvyw7ita27xdhcy5hfux5); } public static function MaxRadius(Point $_0tt4fwetd1qqgg74hxggwici3g, Rectangle $_i5f8bz9eso3ux9jf) { $_16cmgacqzj4ousgd = $_0tt4fwetd1qqgg74hxggwici3g->DistanceTo($_i5f8bz9eso3ux9jf->get_TopLeft()); $_lfw770e5vxxznw2vtu4vipuu4d = $_0tt4fwetd1qqgg74hxggwici3g->DistanceTo($_i5f8bz9eso3ux9jf->get_BottomLeft()); $_Ifx40spwro89n240 = $_0tt4fwetd1qqgg74hxggwici3g->DistanceTo($_i5f8bz9eso3ux9jf->get_TopRight()); $_lgapcs2pes4f8dhb5e00w = $_0tt4fwetd1qqgg74hxggwici3g->DistanceTo($_i5f8bz9eso3ux9jf->get_BottomRight()); return (int) ceil(max(max($_16cmgacqzj4ousgd, $_lfw770e5vxxznw2vtu4vipuu4d), max($_Ifx40spwro89n240, $_lgapcs2pes4f8dhb5e00w))); } private $_omlrctv14fdzxn88ac5mp, $center_x, $center_y; public function PreProcess() { $this->_omlrctv14fdzxn88ac5mp = $this->get_Radius(); $this->center_x = $this->get_Center()->get_X(); $this->center_y = $this->get_Center()->get_Y(); } public function DrawBody() { $_Oh1gjkkfshugqpaw8f9pjskdvc = $this->m_Graphics->GetGDImage(); $_1ut9dmjirfnfyan9869j5 = imagecolorallocate($_Oh1gjkkfshugqpaw8f9pjskdvc, $this->FillColor->R, $this->FillColor->G, $this->FillColor->B); imagefilledellipse($_Oh1gjkkfshugqpaw8f9pjskdvc, $this->center_x, $this->center_y, 2 * $this->_omlrctv14fdzxn88ac5mp, 2 * $this->_omlrctv14fdzxn88ac5mp, $_1ut9dmjirfnfyan9869j5); } public function DrawOutline() { $_lydbgdqiwgaswj4araew4fpooj = $this->m_Graphics->GetGDImage(); $_ofblh4hx9c7p5u5ewiuyqicxrq = $this->_omlrctv14fdzxn88ac5mp; $_1beudv7nb583ouh4 = $this->center_x; $_lgntegv9wll83mx6cb081ady19 = $this->center_y; $_ijrf097jcl5fn2obty6td = $this->get_Outline(); $_lsl8bh9kv73gh4btn0327mm2sx = $_ijrf097jcl5fn2obty6td->get_LayerCount(); for ($_1q1a3qje57h25o0yv21rz = $_lsl8bh9kv73gh4btn0327mm2sx; $_1q1a3qje57h25o0yv21rz > 0; $_1q1a3qje57h25o0yv21rz--) { $_iqnk8orl7sstkv5m = $_ijrf097jcl5fn2obty6td[$_1q1a3qje57h25o0yv21rz - 1]; if (is_null($_iqnk8orl7sstkv5m)) { break; } $_l3i3pwjsjd990us1axwpr = $_iqnk8orl7sstkv5m[0]->get_Color(); $_lnkx3rruvteutdzm = imagecolorallocate($_lydbgdqiwgaswj4araew4fpooj, $_l3i3pwjsjd990us1axwpr->get_R(), $_l3i3pwjsjd990us1axwpr->get_G(), $_l3i3pwjsjd990us1axwpr->get_B()); $_ok3rugly0htp90n61gd01 = $_iqnk8orl7sstkv5m->get_Thickness(); for ($_0t8op9ykv5d4dknz = 0; $_0t8op9ykv5d4dknz < $_ok3rugly0htp90n61gd01; $_0t8op9ykv5d4dknz += 1) { $_Iaipyatffcxllx4dyohvf = $_ofblh4hx9c7p5u5ewiuyqicxrq + $_0t8op9ykv5d4dknz; imageellipse($_lydbgdqiwgaswj4araew4fpooj, $_1beudv7nb583ouh4, $_lgntegv9wll83mx6cb081ady19, 2 * $_Iaipyatffcxllx4dyohvf, 2 * $_Iaipyatffcxllx4dyohvf, $_lnkx3rruvteutdzm); } } } } class Bezier extends AtomicShape { public function __construct() { $this->Transform = Transform::Identity(); if (0 != func_num_args()) { throw new Exception("\125\163\145\x20\163\x74\141\164\151\x63\40\x63\x6f\x6e\x73\x74\162\x75\x63\x74\x69\x6f\x6e\x20\150\x65\154\160\145\162\x73\x20\x61\166\141\151\154\x61\142\154\x65\40\142\145\154\157\167\40\151\156\163\x74\x65\141\x64"); } } public static function Within(Rectangle $_ilvxus62hlt6hs2a, LineStyle $_Od3sazmhli8clmk32jg9e = null) { $_11yfs8u25q7f1t7v = new Bezier(); $_11yfs8u25q7f1t7v->Bounds = $_ilvxus62hlt6hs2a; if (!is_null($_Od3sazmhli8clmk32jg9e)) { $_11yfs8u25q7f1t7v->Outline = $_Od3sazmhli8clmk32jg9e; } return $_11yfs8u25q7f1t7v; } private $_lj4rx6oefuobl6sy73lhf; public function get_Bounds() { return $this->_lj4rx6oefuobl6sy73lhf; } public function set_Bounds(Rectangle $_0bhk2m7v7tfyqiqw) { $this->_lj4rx6oefuobl6sy73lhf = $_0bhk2m7v7tfyqiqw; } public function get_Surface() { if (is_null($this->Outline)) { throw new Exception("\x4f\x75\164\154\x69\x6e\x65\x20\x6e\x75\154\x6c\x2c\x20\x6e\x6f\x20\163\165\162\146\141\143\x65\x20\143\x61\x6c\x63\165\154\x61\x74\x69\x6f\156\x20\160\x6f\x73\163\151\x62\154\x65\56"); } $_i8ibm611pk1wwa3iqnrpn = $this->Bounds->TopLeft->DistanceTo($this->Bounds->BottomRight); return $_i8ibm611pk1wwa3iqnrpn * $this->Outline->Thickness; } private $_oz4n5iqq1z2wocubldijd, $y1, $x2, $y2, $x3, $y3, $x4, $y4; public function PreProcess() { $_Ovqrywqpr6ta4qkm = $this->_lj4rx6oefuobl6sy73lhf->get_TopLeft()->get_X(); $_iz8k5qhc4z9uvgaj = $_Ovqrywqpr6ta4qkm + $this->_lj4rx6oefuobl6sy73lhf->get_Width(); $_ojc44pxfugwd9cl6 = $this->_lj4rx6oefuobl6sy73lhf->get_TopLeft()->get_Y(); $_il2757wrbibrgf3y = $_ojc44pxfugwd9cl6 + $this->_lj4rx6oefuobl6sy73lhf->get_Height(); $this->_oz4n5iqq1z2wocubldijd = RandomizationHelper::RandomFromRange($_Ovqrywqpr6ta4qkm, $_iz8k5qhc4z9uvgaj); $this->y1 = RandomizationHelper::RandomFromRange($_ojc44pxfugwd9cl6, $_il2757wrbibrgf3y); $this->x2 = RandomizationHelper::RandomFromRange($_Ovqrywqpr6ta4qkm, $_iz8k5qhc4z9uvgaj); $this->y2 = RandomizationHelper::RandomFromRange($_ojc44pxfugwd9cl6, $_il2757wrbibrgf3y); $this->x3 = RandomizationHelper::RandomFromRange($_Ovqrywqpr6ta4qkm, $_iz8k5qhc4z9uvgaj); $this->y3 = RandomizationHelper::RandomFromRange($_ojc44pxfugwd9cl6, $_il2757wrbibrgf3y); $this->x4 = RandomizationHelper::RandomFromRange($_Ovqrywqpr6ta4qkm, $_iz8k5qhc4z9uvgaj); $this->y4 = RandomizationHelper::RandomFromRange($_ojc44pxfugwd9cl6, $_il2757wrbibrgf3y); } public function DrawBody() { } public function DrawOutline() { $this->lfibv( $this->_oz4n5iqq1z2wocubldijd, $this->y1, $this->x2, $this->y2, $this->x3, $this->y3, $this->x4, $this->y4 ); } private $_O2oinc5ynkfneoj5ecj2o = 0; private function lfibv($_I5226avz23yn6ef03qvuf, $_lqvd6q5j4b69c7u2tjtx2pwlt3, $_O6u0ress3dk1j36hkrxjzm50jf, $_Op8gde3n244tojy7, $_I77qjdrjpad38gt4, $_Onkr71suecan7pqf7d7o73mwp3, $_0xiuhjkq9b6ku57mmiamf, $_Im43aw4vtozw250ghvvhx) { $_1bz97hd2w2r8va27 = ($_I5226avz23yn6ef03qvuf + $_O6u0ress3dk1j36hkrxjzm50jf) / 2.0; $_ou4t6a6n1289hd9vls23ojawtr = ($_lqvd6q5j4b69c7u2tjtx2pwlt3 + $_Op8gde3n244tojy7) / 2.0; $_oxdp29pdem4e85d3 = ($_O6u0ress3dk1j36hkrxjzm50jf + $_I77qjdrjpad38gt4) / 2.0; $_0r5d6l53v8iaz74zyrhkv = ($_Op8gde3n244tojy7 + $_Onkr71suecan7pqf7d7o73mwp3) / 2.0; $_oly773x2dykn3qni = ($_I77qjdrjpad38gt4 + $_0xiuhjkq9b6ku57mmiamf) / 2.0; $_o83kd4mcqntuiqzi = ($_Onkr71suecan7pqf7d7o73mwp3 + $_Im43aw4vtozw250ghvvhx) / 2.0; $_1p7h38vazbwtkm55yb5re3hkp7 = ($_1bz97hd2w2r8va27 + $_oxdp29pdem4e85d3) / 2.0; $_izwcdd18oxe5wszqq2tpr = ($_ou4t6a6n1289hd9vls23ojawtr + $_0r5d6l53v8iaz74zyrhkv) / 2.0; $_06uxnxdesg2qawx1 = ($_oxdp29pdem4e85d3 + $_oly773x2dykn3qni) / 2.0; $_1dwtk994y323q8vwl9rfn = ($_0r5d6l53v8iaz74zyrhkv + $_o83kd4mcqntuiqzi) / 2.0; $_il0e6zdit2z3e6meefxjkxpejd = ($_1p7h38vazbwtkm55yb5re3hkp7 + $_06uxnxdesg2qawx1) / 2.0; $_Odkonwp7jyukkbvp = ($_izwcdd18oxe5wszqq2tpr + $_1dwtk994y323q8vwl9rfn) / 2.0; $_Odu88w3fndvzpm6lfnollumr7k = $_0xiuhjkq9b6ku57mmiamf - $_I5226avz23yn6ef03qvuf; $_07m8hs25qattmrmva8vvk8uqu4 = $_Im43aw4vtozw250ghvvhx - $_lqvd6q5j4b69c7u2tjtx2pwlt3; $_Ov1da1idgk5apchq = abs((($_O6u0ress3dk1j36hkrxjzm50jf - $_0xiuhjkq9b6ku57mmiamf) * $_07m8hs25qattmrmva8vvk8uqu4 - ($_Op8gde3n244tojy7 - $_Im43aw4vtozw250ghvvhx) * $_Odu88w3fndvzpm6lfnollumr7k)); $_llosj21vyyzx5oj88txrb = abs((($_I77qjdrjpad38gt4 - $_0xiuhjkq9b6ku57mmiamf) * $_07m8hs25qattmrmva8vvk8uqu4 - ($_Onkr71suecan7pqf7d7o73mwp3 - $_Im43aw4vtozw250ghvvhx) * $_Odu88w3fndvzpm6lfnollumr7k)); if(($_Ov1da1idgk5apchq + $_llosj21vyyzx5oj88txrb) * ($_Ov1da1idgk5apchq + $_llosj21vyyzx5oj88txrb) < 0.25 * ($_Odu88w3fndvzpm6lfnollumr7k * $_Odu88w3fndvzpm6lfnollumr7k + $_07m8hs25qattmrmva8vvk8uqu4 * $_07m8hs25qattmrmva8vvk8uqu4)) { $_Ivz9cwqn6kevlfz4 = Line::Between(Point::At($_I5226avz23yn6ef03qvuf, $_lqvd6q5j4b69c7u2tjtx2pwlt3), Point::At($_0xiuhjkq9b6ku57mmiamf, $_Im43aw4vtozw250ghvvhx), $this->Outline); $_Ivz9cwqn6kevlfz4->Draw($this->m_Graphics); } else { if ($this->_O2oinc5ynkfneoj5ecj2o < 16) { $this->_O2oinc5ynkfneoj5ecj2o++; $this->lfibv($_I5226avz23yn6ef03qvuf, $_lqvd6q5j4b69c7u2tjtx2pwlt3, $_1bz97hd2w2r8va27, $_ou4t6a6n1289hd9vls23ojawtr, $_1p7h38vazbwtkm55yb5re3hkp7, $_izwcdd18oxe5wszqq2tpr, $_il0e6zdit2z3e6meefxjkxpejd, $_Odkonwp7jyukkbvp); $this->lfibv($_il0e6zdit2z3e6meefxjkxpejd, $_Odkonwp7jyukkbvp, $_06uxnxdesg2qawx1, $_1dwtk994y323q8vwl9rfn, $_oly773x2dykn3qni, $_o83kd4mcqntuiqzi, $_0xiuhjkq9b6ku57mmiamf, $_Im43aw4vtozw250ghvvhx); } else { } } } } class Text extends ShapeCollection { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Glyph(); } return $this->m_Prototype; } protected $m_Text; public function get_TextToRender() { return $this->m_Text; } public function set_TextToRender($_0urgzrhoctv82p6423cy9rqkkt) { $this->m_Text = $_0urgzrhoctv82p6423cy9rqkkt; } protected $m_Fonts; public function get_Fonts() { return $this->m_Fonts; } public function set_Fonts($_Iaje94by8y1e52ja7to5v2ujc6) { $this->m_Fonts = $_Iaje94by8y1e52ja7to5v2ujc6; } protected $m_Charset; public function get_Charset() { return $this->m_Charset; } public function set_Charset($_ie9t3lc42qxr7z5uo9abe) { $this->m_Charset = $_ie9t3lc42qxr7z5uo9abe; } protected $m_Transform; public function get_Transform() { return $this->m_Transform; } public function set_Transform(Transform $_1d7f5db9hwubkbhi) { $this->m_Transform = $_1d7f5db9hwubkbhi; } protected $m_IsRtl; public function get_IsRtl() { return $this->m_IsRtl; } public function set_IsRtl($_I4sac1upk9bxcbneeyb3w4a62j) { $this->m_IsRtl = $_I4sac1upk9bxcbneeyb3w4a62j; } public static function DefaultTextBounds(GDGraphics $_lvwdb19pbm1kctm33shnq) { $_Idniwoipekx8zxstis27was2tf = $_lvwdb19pbm1kctm33shnq->GetWidth() / 7; $_iw9rmk3un43p79ngfar0emyi2a = $_lvwdb19pbm1kctm33shnq->GetHeight() / 6; $_lqse7jp1kxl9dz38ngl3h = Point::BetweenPoints( Point::At(1, 1), Point::At($_Idniwoipekx8zxstis27was2tf, $_iw9rmk3un43p79ngfar0emyi2a) )->get_Frozen(); $_1e96i07sojmyutzrj1xat463z1 = Point::BetweenPoints( Point::At($_lvwdb19pbm1kctm33shnq->GetWidth() - $_Idniwoipekx8zxstis27was2tf, $_lvwdb19pbm1kctm33shnq->GetHeight() - $_iw9rmk3un43p79ngfar0emyi2a), Point::At($_lvwdb19pbm1kctm33shnq->GetWidth() - 1, $_lvwdb19pbm1kctm33shnq->GetHeight() - 1) )->get_Frozen(); return Rectangle::BetweenPoints($_lqse7jp1kxl9dz38ngl3h, $_1e96i07sojmyutzrj1xat463z1); } public function Draw(GDGraphics $_o2lzsdo358e1dsl4bmo2dcbj7o) { $_Oloiy2594dcfzi1op3t5apultr = $this->Bounds; if (is_null($_Oloiy2594dcfzi1op3t5apultr)) { $_Oloiy2594dcfzi1op3t5apultr = Text::DefaultTextBounds(); } $this->DrawWithinBounds($_o2lzsdo358e1dsl4bmo2dcbj7o, $_Oloiy2594dcfzi1op3t5apultr); } public function DrawWithinBounds(GDGraphics $_Ix7ixzw4gi2zgn2lytipqyt5wp, Rectangle $_izbb8ejru4kaqko2) { if ($this->m_IsRtl) { $this->DrawRtl($_Ix7ixzw4gi2zgn2lytipqyt5wp, $_izbb8ejru4kaqko2); } else { $this->DrawLtr($_Ix7ixzw4gi2zgn2lytipqyt5wp, $_izbb8ejru4kaqko2); } } protected function DrawRtl(GDGraphics $_iwiferq92hug3uprznnvw, Rectangle $_Oy913iurbwuk5pc8) { } protected function DrawLtr(GDGraphics $_Ikv7vi7wx5pfasvh, Rectangle $_I3tilc13ye7glqbvw1fcl) { $_Iiz7fpy8hghb2j8tvzqz7naipn = LineStyle::HasValue($this->Prototype->Outline) ? $this->Prototype->Outline->Thickness : 0; $_oz8d9libhseulsqwic24ffgu73 = $_Ikv7vi7wx5pfasvh->GetWidth(); $_Oi5wf1d952vdcpp8ov1n6rodcl = $_Ikv7vi7wx5pfasvh->GetHeight(); $_O3gd92758udqqqkgmcr6ka1bcu = $_I3tilc13ye7glqbvw1fcl->Width; $_1vc8tuq2apxx7tfx = $_I3tilc13ye7glqbvw1fcl->Height + 2 * $_Iiz7fpy8hghb2j8tvzqz7naipn; $_iduo9sq2js0qgr1oabo9kdetlb = StringHelper::Length($this->m_Text); $_0equ0jfm652aaayb = $_O3gd92758udqqqkgmcr6ka1bcu * 2 / $_iduo9sq2js0qgr1oabo9kdetlb; $_0stnpz5kg1x2bx2w = $_1vc8tuq2apxx7tfx * 2; $_l7whfs5xdvwfxjwrqz8yovo8km = 2 * $_Iiz7fpy8hghb2j8tvzqz7naipn + $_1vc8tuq2apxx7tfx / 5; $_oy8drh9lgbavui595tlz6b7s1n = 2 * $_Iiz7fpy8hghb2j8tvzqz7naipn + $_1vc8tuq2apxx7tfx / 6; $_1sj3ppixqiph1eoh75vs8vbxis = 3 * $_O3gd92758udqqqkgmcr6ka1bcu + $_l7whfs5xdvwfxjwrqz8yovo8km; $_ixx8l7o7cs5qdo6g = 3 * $_1vc8tuq2apxx7tfx + $_oy8drh9lgbavui595tlz6b7s1n; $_l2q72d3htbz8rhj0 = new GDGraphics($_1sj3ppixqiph1eoh75vs8vbxis, $_ixx8l7o7cs5qdo6g); $_1t32iuhuymnerh2lh9cblpvjic = $_l2q72d3htbz8rhj0->GetGDImage(); $_1zy2tqe6pknes0e8 = imagecolorallocatealpha($_1t32iuhuymnerh2lh9cblpvjic, 0, 0, 0, 127); imagefill($_1t32iuhuymnerh2lh9cblpvjic, 0, 0, $_1zy2tqe6pknes0e8); $_lqzzmjy5sbd55mrq = $_I3tilc13ye7glqbvw1fcl->TopLeft->X; $_1nercyqflfh36dha7kypl = $_I3tilc13ye7glqbvw1fcl->TopLeft->Y - $_Iiz7fpy8hghb2j8tvzqz7naipn; $_l8j4b0k8j0eb4n0wgfdzxxvfvv = 0; $_lhc62a96pmp3wc34 = 0; $_1pt671advg4cnqsr = 0; $_0jn6mijazmjt435a = 0; for ($_18txv9bmzigq5f6d = 0; $_18txv9bmzigq5f6d < $_iduo9sq2js0qgr1oabo9kdetlb; $_18txv9bmzigq5f6d++) { $_I9ro9s2n17tsu6wh2dj7l7n986 = new Glyph(); $_I9ro9s2n17tsu6wh2dj7l7n986->Outline = $this->Prototype->Outline; $_I9ro9s2n17tsu6wh2dj7l7n986->FillColor = $this->Prototype->FillColor; $_I9ro9s2n17tsu6wh2dj7l7n986->Transform = $this->Transform; $_I9ro9s2n17tsu6wh2dj7l7n986->Character = StringHelper::Substring($this->m_Text, $_18txv9bmzigq5f6d, 1); $_oydys6jypf4p99emw124clvk83 = $this->m_Fonts->Next; $_I9ro9s2n17tsu6wh2dj7l7n986->Font = FontHelper::GetFontFilename( $_oydys6jypf4p99emw124clvk83->FontType, $_oydys6jypf4p99emw124clvk83->FontWeight, $this->Charset ); $_I9ro9s2n17tsu6wh2dj7l7n986->FontCase = $_oydys6jypf4p99emw124clvk83->FontCase; $_11s7fozef9xa4u3vqu8ghx5tc0 = $_lqzzmjy5sbd55mrq + $_1pt671advg4cnqsr + 1; if (0 == $_18txv9bmzigq5f6d) { $_11s7fozef9xa4u3vqu8ghx5tc0 += 2 * $_Iiz7fpy8hghb2j8tvzqz7naipn; } $_1v4w2knab1ahgjr4dphfh = $_1nercyqflfh36dha7kypl + $_oy8drh9lgbavui595tlz6b7s1n; $_I9ro9s2n17tsu6wh2dj7l7n986->Bounds = Rectangle::FromPointAndSize( Point::At($_11s7fozef9xa4u3vqu8ghx5tc0, $_1v4w2knab1ahgjr4dphfh), $_0equ0jfm652aaayb, $_0stnpz5kg1x2bx2w ); $_I9ro9s2n17tsu6wh2dj7l7n986->Draw($_l2q72d3htbz8rhj0); $_l8j4b0k8j0eb4n0wgfdzxxvfvv = ($_I9ro9s2n17tsu6wh2dj7l7n986->drawnWidth); $_lhc62a96pmp3wc34 = $_I9ro9s2n17tsu6wh2dj7l7n986->drawnHeight; $_1pt671advg4cnqsr += $_l8j4b0k8j0eb4n0wgfdzxxvfvv; if ($_0jn6mijazmjt435a < $_lhc62a96pmp3wc34) { $_0jn6mijazmjt435a = $_lhc62a96pmp3wc34; } $this[$_18txv9bmzigq5f6d] = $_I9ro9s2n17tsu6wh2dj7l7n986; } $_iwva65czjxl1je3t = new GDGraphics($_oz8d9libhseulsqwic24ffgu73, $_Oi5wf1d952vdcpp8ov1n6rodcl); $_19p6p7tnf35qhayr = $_iwva65czjxl1je3t->GetGDImage(); $_1zy2tqe6pknes0e8 = imagecolorallocatealpha($_19p6p7tnf35qhayr, 0, 0, 0, 127); imagefill($_19p6p7tnf35qhayr, 0, 0, $_1zy2tqe6pknes0e8); imagealphablending($_19p6p7tnf35qhayr, false); imagesavealpha($_19p6p7tnf35qhayr, true); imagecopyresampled($_19p6p7tnf35qhayr, $_1t32iuhuymnerh2lh9cblpvjic, $_lqzzmjy5sbd55mrq, $_1nercyqflfh36dha7kypl, $_lqzzmjy5sbd55mrq, $_1nercyqflfh36dha7kypl, $_O3gd92758udqqqkgmcr6ka1bcu, $_1vc8tuq2apxx7tfx, $_1pt671advg4cnqsr + 2 * $_l7whfs5xdvwfxjwrqz8yovo8km, $_0jn6mijazmjt435a + 2 * $_l7whfs5xdvwfxjwrqz8yovo8km); imagecopy($_Ikv7vi7wx5pfasvh->GetGDImage(), $_19p6p7tnf35qhayr, 0, 0, 0, 0, $_oz8d9libhseulsqwic24ffgu73, $_Oi5wf1d952vdcpp8ov1n6rodcl); } public function DrawHalo(GDGraphics $_ltpacsrz9nuw4yaxtx3htkqmb7, $_Iknrq1dqjkqb3q91orekrqn76a) { $_igg3ocb27n144htqgm3pzx0v9r = $this->Bounds; if (is_null($_igg3ocb27n144htqgm3pzx0v9r)) { $_igg3ocb27n144htqgm3pzx0v9r = Text::DefaultTextBounds(); } $this->m_Fonts->RandomizationStyle = 1 ; $_lqi8wwc8mtspzn4p = null; if (LineStyle::HasValue($this->Prototype->Outline)) { $_lqi8wwc8mtspzn4p = $this->Prototype->Outline; } $_0k7ekjn0v10h60npjhvbv = $_ltpacsrz9nuw4yaxtx3htkqmb7->GetWidth(); $_ii1rrrou6ci9nwcfxcea7 = $_ltpacsrz9nuw4yaxtx3htkqmb7->GetHeight(); $this->Prototype->Outline = LineStyle::Double( LineLayer::Solid($_ii1rrrou6ci9nwcfxcea7 / 10, $this->Prototype->FillColor), LineLayer::Solid($_ii1rrrou6ci9nwcfxcea7 / 12, $this->Prototype->FillColor) ); $_iz0iiwm12puqf7p2xmomy = $_igg3ocb27n144htqgm3pzx0v9r; $_Ihvupu2pod1hym67le8bu = $_igg3ocb27n144htqgm3pzx0v9r->TopLeft->X; $_o3kousvh42fw91d6 = $_igg3ocb27n144htqgm3pzx0v9r->TopLeft->Y; $_18s44agvwhnvriyrsy9dr2vfy3 = $_igg3ocb27n144htqgm3pzx0v9r->BottomRight->X; $_Ofaym4kso2l5fbxe1susle2eys = $_igg3ocb27n144htqgm3pzx0v9r->BottomRight->Y; $this->DrawWithinBounds($_ltpacsrz9nuw4yaxtx3htkqmb7, Rectangle::BetweenPoints(Point::At($_Ihvupu2pod1hym67le8bu - $_0k7ekjn0v10h60npjhvbv / 20, $_o3kousvh42fw91d6), Point::At($_18s44agvwhnvriyrsy9dr2vfy3 + $_0k7ekjn0v10h60npjhvbv / 15, $_Ofaym4kso2l5fbxe1susle2eys - $_ii1rrrou6ci9nwcfxcea7 / 10))); $_laq14iv990za1m739xyhp = new Halo(); $_laq14iv990za1m739xyhp->Apply($_ltpacsrz9nuw4yaxtx3htkqmb7); $this->Prototype->FillColor = $_Iknrq1dqjkqb3q91orekrqn76a; $this->Prototype->Outline = $_lqi8wwc8mtspzn4p; $this->DrawWithinBounds($_ltpacsrz9nuw4yaxtx3htkqmb7, $_igg3ocb27n144htqgm3pzx0v9r); } public function DrawTransparent(GDGraphics $_16z7fsf9c16ump3yb3gc2jae0v, $_06zcisqv22y2c07n, $_lwxledimbscytwwfro6me = 100, $_Oonoejt0zwv4dgny = 100) { $_1n2n14ynqad5234p4bwwmgpd9u = $this->Bounds; if (is_null($_1n2n14ynqad5234p4bwwmgpd9u)) { $_1n2n14ynqad5234p4bwwmgpd9u = Text::DefaultTextBounds(); } $_071iq8c6p73tvtdt = $_16z7fsf9c16ump3yb3gc2jae0v->GetWidth(); $_0yt6o04tq29ebhpjshhnu = $_16z7fsf9c16ump3yb3gc2jae0v->GetHeight(); $_0rwhedvcq1egw1izr44im = $_16z7fsf9c16ump3yb3gc2jae0v->GetGDImage(); $_Orlfrr6uzp58fqh82t4z5 = new GDGraphics($_071iq8c6p73tvtdt, $_0yt6o04tq29ebhpjshhnu); $_liq94324lrn87ppxil3ryyhvmp = $_Orlfrr6uzp58fqh82t4z5->GetGDImage(); $_Orlfrr6uzp58fqh82t4z5->Fill($_06zcisqv22y2c07n); $this->Prototype->FillColor->Freeze(); $this->DrawWithinBounds($_Orlfrr6uzp58fqh82t4z5, $_1n2n14ynqad5234p4bwwmgpd9u); $_izlpwm8fw6yh8xzxbe03ektzdq = imagecolorallocatealpha($_liq94324lrn87ppxil3ryyhvmp, $this->Prototype->FillColor->R, $this->Prototype->FillColor->G, $this->Prototype->FillColor->B, 0); imagealphablending($_liq94324lrn87ppxil3ryyhvmp, false); imagesavealpha($_liq94324lrn87ppxil3ryyhvmp, true); imagecolortransparent($_liq94324lrn87ppxil3ryyhvmp, $_izlpwm8fw6yh8xzxbe03ektzdq); imagecopymerge($_0rwhedvcq1egw1izr44im, $_liq94324lrn87ppxil3ryyhvmp, 0, 0, 0, 0, $_071iq8c6p73tvtdt, $_0yt6o04tq29ebhpjshhnu, $_lwxledimbscytwwfro6me); imagecopymerge($_liq94324lrn87ppxil3ryyhvmp, $_0rwhedvcq1egw1izr44im, 0, 0, 0, 0, $_071iq8c6p73tvtdt, $_0yt6o04tq29ebhpjshhnu, $_Oonoejt0zwv4dgny); } public function DrawInvertCombine(GDGraphics $_ihbm2vjtj5p4h1212q7gb, $_07hqofmwrwz8daaw, Color $_ok5h43da5jcsqggkz25z3y4byv, Color $_0w5k74biwp9jqv0k) { $_Ipfvkjfcm6rrh98i = $_ihbm2vjtj5p4h1212q7gb->GetWidth(); $_iduanweoxapi4ixc = $_ihbm2vjtj5p4h1212q7gb->GetHeight(); $_I7o1aw3p7h5vfk9yoh1xvasch8 = $_ihbm2vjtj5p4h1212q7gb->GetGDImage(); $this->m_Fonts->RandomizationStyle = 1 ; $_Iacqtb6i8guai5wgcv3vj = new GDGraphics($_Ipfvkjfcm6rrh98i, $_iduanweoxapi4ixc); $_Iacqtb6i8guai5wgcv3vj->Fill($_0w5k74biwp9jqv0k); $this->Prototype->FillColor = $_ok5h43da5jcsqggkz25z3y4byv; $this->Prototype->Outline = LineStyle::Single( LineLayer::Solid($_ihbm2vjtj5p4h1212q7gb->GetHeight() / 20, $_ok5h43da5jcsqggkz25z3y4byv) ); $this->Draw($_Iacqtb6i8guai5wgcv3vj); $_lqm8p15clftf9t4fh5kow = $_Iacqtb6i8guai5wgcv3vj->GetGDImage(); $_Owp1wxo4h6bcxbcf = new GDGraphics($_Ipfvkjfcm6rrh98i, $_iduanweoxapi4ixc); $_Owp1wxo4h6bcxbcf->Fill($_ok5h43da5jcsqggkz25z3y4byv); $this->Prototype->FillColor = $_0w5k74biwp9jqv0k; $this->Prototype->Outline = LineStyle::Single( LineLayer::Solid($_ihbm2vjtj5p4h1212q7gb->GetHeight() / 20, $_0w5k74biwp9jqv0k) ); $this->Draw($_Owp1wxo4h6bcxbcf); $_1uswf2joty6w8gs1 = $_Owp1wxo4h6bcxbcf->GetGDImage(); $_li83u5wk49seou7r7qrzk = $_ok5h43da5jcsqggkz25z3y4byv->MostContrastingColor; $_lmbhugq6su595a1mg732j = $_0w5k74biwp9jqv0k->MostContrastingColor; $_O2vx2vemh3w9yicr54kk0 = Color::Median($_li83u5wk49seou7r7qrzk, $_lmbhugq6su595a1mg732j); $_ibmm79fdgzuup1i0h7nv1xel2n = imagecolorallocate($_lqm8p15clftf9t4fh5kow, $_O2vx2vemh3w9yicr54kk0->R, $_O2vx2vemh3w9yicr54kk0->G, $_O2vx2vemh3w9yicr54kk0->B); imagecolortransparent($_lqm8p15clftf9t4fh5kow, $_ibmm79fdgzuup1i0h7nv1xel2n); if (is_array($_07hqofmwrwz8daaw)) { foreach($_07hqofmwrwz8daaw as $_Oxx71uswv4gkw6ab1yv1n84h7l) { $this->yxcdj($_Oxx71uswv4gkw6ab1yv1n84h7l, $_O2vx2vemh3w9yicr54kk0, $_Iacqtb6i8guai5wgcv3vj); } } else { $this->yxcdj($_07hqofmwrwz8daaw, $_O2vx2vemh3w9yicr54kk0, $_Iacqtb6i8guai5wgcv3vj); } imagecopymerge($_1uswf2joty6w8gs1, $_lqm8p15clftf9t4fh5kow, 0, 0, 0, 0, $_Ipfvkjfcm6rrh98i, $_iduanweoxapi4ixc, 100); imagecopymerge($_lqm8p15clftf9t4fh5kow, $_1uswf2joty6w8gs1, 0, 0, 0, 0, $_Ipfvkjfcm6rrh98i, $_iduanweoxapi4ixc, 100); imagecopymerge($_I7o1aw3p7h5vfk9yoh1xvasch8, $_lqm8p15clftf9t4fh5kow, 0, 0, 0, 0, $_Ipfvkjfcm6rrh98i, $_iduanweoxapi4ixc, 100); } private static function v03xt($_osqwnsugkzlppkrau6tjc) { $_13uwhyh6shstlf17 = get_class($_osqwnsugkzlppkrau6tjc); if (("\122\141\156\144\x6f\155\114\x69\x6e\145\163" == $_13uwhyh6shstlf17 || "\123\x70\157\x6b\x65\114\x69\x6e\145\163" == $_13uwhyh6shstlf17)) { return true; } else { return false; } } private function yxcdj($_l227v0v1x4i58jnk, $_O50gl31mrmk74riyg5p1u, $_i8tv8udmxs1r1i21qpbp1) { if (self::v03xt($_l227v0v1x4i58jnk ) && function_exists("\151\x6d\x61\x67\x65\x61\156\164\151\141\154\151\x61\163")) { imageantialias($_i8tv8udmxs1r1i21qpbp1->GetGDImage(), false); } if($_l227v0v1x4i58jnk instanceof ShapeCollection) { $_l227v0v1x4i58jnk->Prototype->FillColor = $_O50gl31mrmk74riyg5p1u; if (LineStyle::HasValue($_l227v0v1x4i58jnk->Prototype->Outline)) { for ($_Ivpniknp5msosj2oollmnu3vsb = 0; $_Ivpniknp5msosj2oollmnu3vsb < $_l227v0v1x4i58jnk->Prototype->Outline->LayerCount; $_Ivpniknp5msosj2oollmnu3vsb++) { $_l227v0v1x4i58jnk->Prototype->Outline[$_Ivpniknp5msosj2oollmnu3vsb][0]->Color = $_O50gl31mrmk74riyg5p1u; } } if (method_exists($_l227v0v1x4i58jnk, "\x44\x72\141\x77\106\x61\163\x74")) { $_l227v0v1x4i58jnk->DrawFast($_i8tv8udmxs1r1i21qpbp1, $_l227v0v1x4i58jnk->Bounds); } else { $_l227v0v1x4i58jnk->Draw($_i8tv8udmxs1r1i21qpbp1, $_l227v0v1x4i58jnk->Bounds); } } else if ($_l227v0v1x4i58jnk instanceof AtomicShape) { $_l227v0v1x4i58jnk->FillColor = $_O50gl31mrmk74riyg5p1u; if (LineStyle::HasValue($_l227v0v1x4i58jnk->Outline)) { for ($_Ivpniknp5msosj2oollmnu3vsb = 0; $_Ivpniknp5msosj2oollmnu3vsb < $_l227v0v1x4i58jnk->Outline->LayerCount; $_Ivpniknp5msosj2oollmnu3vsb++) { $_l227v0v1x4i58jnk->Outline[$_Ivpniknp5msosj2oollmnu3vsb][0]->Color = $_O50gl31mrmk74riyg5p1u; } } $_l227v0v1x4i58jnk->Draw($_i8tv8udmxs1r1i21qpbp1); } else { throw new Exception("\160\x5f\115\x61\163\153\x53\150\141\160\145\x20\155\165\x73\x74\x20\142\x65\x20\x65\x69\164\150\145\162\x20\x61\x6e\x20\141\164\x6f\x6d\x69\143\40\163\150\x61\160\x65\x20\x6f\x72\x20\141\40\x73\150\x61\x70\145\40\143\157\154\x6c\145\x63\164\151\x6f\x6e\56"); } } public function DrawCrossShadow(GDGraphics $_Ohyxkchi14jjchxvq2876vm90l, Color $_Imv10c6kqujk2dmw2269h, Color $_Iarudlb6sonqtd6bk9yfm7uyw8, Color $_I63nevewh735ap74xx7b8) { $_is5s3rlkp70oavxm = $_Ohyxkchi14jjchxvq2876vm90l->GetWidth(); $_ojmali33naaqzw4q = $_Ohyxkchi14jjchxvq2876vm90l->GetHeight(); $_Io7jkj9gvqeaxgad = $_Ohyxkchi14jjchxvq2876vm90l->GetGDImage(); $_017zhywhatblmnhbxs25cs9wcm = $this; $_i2ughzya406ctz95wawhbjv5l2 = new GDGraphics($_is5s3rlkp70oavxm, $_ojmali33naaqzw4q); $_i2ughzya406ctz95wawhbjv5l2->Fill($_I63nevewh735ap74xx7b8); $this->Prototype->FillColor = $_Imv10c6kqujk2dmw2269h; $this->Prototype->Outline = LineStyle::Single( LineLayer::Solid($_Ohyxkchi14jjchxvq2876vm90l->GetHeight() / 20, $_Imv10c6kqujk2dmw2269h) ); $_oaoreq2kpwcrolcfa70nt = Rectangle::FromPointAndSize( Point::At($this->Bounds->TopLeft->X + 5, $this->Bounds->TopLeft->Y + 5), $this->Bounds->Width, $this->Bounds->Height ); $this->Draw($_i2ughzya406ctz95wawhbjv5l2, $_oaoreq2kpwcrolcfa70nt); if (is_array($_017zhywhatblmnhbxs25cs9wcm)) { foreach($_017zhywhatblmnhbxs25cs9wcm as $_l58xg99je676h5ggqksd8emasm) { $this->yxcdj($_l58xg99je676h5ggqksd8emasm, $_Iarudlb6sonqtd6bk9yfm7uyw8, $_i2ughzya406ctz95wawhbjv5l2); } } else { $this->yxcdj($_017zhywhatblmnhbxs25cs9wcm, $_Iarudlb6sonqtd6bk9yfm7uyw8, $_i2ughzya406ctz95wawhbjv5l2); } $_o3lmbst518qt9qeb = $_i2ughzya406ctz95wawhbjv5l2->GetGDImage(); $_Im2zmnqr4gy4g951uwmgt7igd8 = new GDGraphics($_is5s3rlkp70oavxm, $_ojmali33naaqzw4q); $_Im2zmnqr4gy4g951uwmgt7igd8->Fill($_I63nevewh735ap74xx7b8); $this->Prototype->FillColor = $_Iarudlb6sonqtd6bk9yfm7uyw8; $this->Prototype->Outline = LineStyle::Single( LineLayer::Solid($_Ohyxkchi14jjchxvq2876vm90l->GetHeight() / 20, $_Iarudlb6sonqtd6bk9yfm7uyw8) ); $this->Draw($_Im2zmnqr4gy4g951uwmgt7igd8); if (is_array($_017zhywhatblmnhbxs25cs9wcm)) { foreach($_017zhywhatblmnhbxs25cs9wcm as $_l58xg99je676h5ggqksd8emasm) { $this->yxcdj($_l58xg99je676h5ggqksd8emasm, $_Imv10c6kqujk2dmw2269h, $_Im2zmnqr4gy4g951uwmgt7igd8); } } else { $this->yxcdj($_017zhywhatblmnhbxs25cs9wcm, $_Imv10c6kqujk2dmw2269h, $_Im2zmnqr4gy4g951uwmgt7igd8); } $_0nxitpsfu66hxvqp = $_Im2zmnqr4gy4g951uwmgt7igd8->GetGDImage(); $_Ii3m18ua9bs6304f = new GDGraphics($_is5s3rlkp70oavxm, $_ojmali33naaqzw4q); $_i26e86ae43zzyvw6 = $_Ii3m18ua9bs6304f->GetGDImage(); $_l2qei89qbiyf732txfm6g4eont = imagecolorallocatealpha($_i26e86ae43zzyvw6, $_I63nevewh735ap74xx7b8->R, $_I63nevewh735ap74xx7b8->G, $_I63nevewh735ap74xx7b8->B, 127); imagefill($_i26e86ae43zzyvw6, 0, 0, $_l2qei89qbiyf732txfm6g4eont); $_1155rrzlqanu7ovmd51d15qx5h = imagecolorallocatealpha($_o3lmbst518qt9qeb, $_Iarudlb6sonqtd6bk9yfm7uyw8->R, $_Iarudlb6sonqtd6bk9yfm7uyw8->G, $_Iarudlb6sonqtd6bk9yfm7uyw8->B, 127); imagecolortransparent($_o3lmbst518qt9qeb, $_1155rrzlqanu7ovmd51d15qx5h); $_Ize2cf8gjlu51nh7 = imagecolorallocatealpha($_0nxitpsfu66hxvqp, $_Imv10c6kqujk2dmw2269h->R, $_Imv10c6kqujk2dmw2269h->G, $_Imv10c6kqujk2dmw2269h->B, 127); imagecolortransparent($_0nxitpsfu66hxvqp, $_Ize2cf8gjlu51nh7); imagecolortransparent($_i26e86ae43zzyvw6, $_l2qei89qbiyf732txfm6g4eont); imagecopymerge($_i26e86ae43zzyvw6, $_o3lmbst518qt9qeb, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); imagecopymerge($_o3lmbst518qt9qeb, $_i26e86ae43zzyvw6, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); $_Ii3m18ua9bs6304f = new GDGraphics($_is5s3rlkp70oavxm, $_ojmali33naaqzw4q); $_i26e86ae43zzyvw6 = $_Ii3m18ua9bs6304f->GetGDImage(); imagefill($_i26e86ae43zzyvw6, 0, 0, $_l2qei89qbiyf732txfm6g4eont); imagecopymerge($_i26e86ae43zzyvw6, $_0nxitpsfu66hxvqp, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); imagecopymerge($_0nxitpsfu66hxvqp, $_i26e86ae43zzyvw6, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); imagecopymerge($_Io7jkj9gvqeaxgad, $_o3lmbst518qt9qeb, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); imagecopymerge($_Io7jkj9gvqeaxgad, $_0nxitpsfu66hxvqp, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q, 100); imagecopy($_Io7jkj9gvqeaxgad, $_0nxitpsfu66hxvqp, 0, 0, 0, 0, $_is5s3rlkp70oavxm, $_ojmali33naaqzw4q); } } class RandomDots extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Point(); } return $this->m_Prototype; } public function DrawFast(IGraphics $_1imzwigg3oq484fa) { $_iruk6jzdbfb3p677gb76cop0fz = $this->Bounds; if (is_null($_iruk6jzdbfb3p677gb76cop0fz)) { $_iruk6jzdbfb3p677gb76cop0fz = $_1imzwigg3oq484fa->GetBounds(); } $_1vers2xufaoknvddjo053u4xes = $_iruk6jzdbfb3p677gb76cop0fz->get_TopLeft()->get_X(); $_lordt9ky2md8a44d1uapg = $_1vers2xufaoknvddjo053u4xes + $_iruk6jzdbfb3p677gb76cop0fz->get_Width(); $_o4x8ma87zwclexzbaezvq1wxs8 = $_iruk6jzdbfb3p677gb76cop0fz->get_TopLeft()->get_Y(); $_I8skxbr5c4fnzq2rr8l8xwidxj = $_o4x8ma87zwclexzbaezvq1wxs8 + $_iruk6jzdbfb3p677gb76cop0fz->get_Height(); $_1wc3mv2p6lf77dsz2vtcxxnus3 = $_1imzwigg3oq484fa->GetGDImage(); $_isoyjisvt3vjpesxb0ypkhlpah = $this->get_Prototype()->get_FillColor(); $_o5n275dlc752ss838rz39 = imagecolorallocate($_1wc3mv2p6lf77dsz2vtcxxnus3, $_isoyjisvt3vjpesxb0ypkhlpah->get_R(), $_isoyjisvt3vjpesxb0ypkhlpah->get_G(), $_isoyjisvt3vjpesxb0ypkhlpah->get_B()); $_oxz9nu449189wk64 = (int) round($this->get_SurfaceFactor() * $_iruk6jzdbfb3p677gb76cop0fz->get_Surface()); $_oxz9nu449189wk64 /= 2; $_lr2y0yqocx1drbquw93q4cvcru = 0; while ($_lr2y0yqocx1drbquw93q4cvcru < $_oxz9nu449189wk64) { $_i1930bob7hk9j2lkwuk37n67z8 = RandomizationHelper::RandomFromRange($_1vers2xufaoknvddjo053u4xes, $_lordt9ky2md8a44d1uapg); $_I9e5tsq2qz3864yo19p98g28w6 = RandomizationHelper::RandomFromRange($_o4x8ma87zwclexzbaezvq1wxs8, $_I8skxbr5c4fnzq2rr8l8xwidxj); imageellipse($_1wc3mv2p6lf77dsz2vtcxxnus3, $_i1930bob7hk9j2lkwuk37n67z8, $_I9e5tsq2qz3864yo19p98g28w6, 1, 1, $_o5n275dlc752ss838rz39); $_lr2y0yqocx1drbquw93q4cvcru += 1; } } public function DrawSingleRandomShape(IGraphics $_1r21lofgzt9z57v642rsbtmg45, Rectangle $_1zjdxd8fax1iozva) { $_lyuh0swztyveafyyu8c2v = Point::Within($_1zjdxd8fax1iozva); $_lyuh0swztyveafyyu8c2v->set_FillColor($this->Prototype->FillColor); $_lyuh0swztyveafyyu8c2v->Draw($_1r21lofgzt9z57v642rsbtmg45); $this->Add($_lyuh0swztyveafyyu8c2v); return $_lyuh0swztyveafyyu8c2v->Surface; } } class RandomCircles extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Circle(); } return $this->m_Prototype; } public function DrawFast(IGraphics $_174riz91973flhs5neckdqdjhx) { $_I40q5oyhbnpqjt8f = $this->get_Bounds(); if (is_null($_I40q5oyhbnpqjt8f)) { $_I40q5oyhbnpqjt8f = $_174riz91973flhs5neckdqdjhx->GetBounds(); } $_O5jvs952qcug11engqoh6 = $_I40q5oyhbnpqjt8f->get_TopLeft(); $_o38srpinpbdlbj2wb5dqp = $_O5jvs952qcug11engqoh6->get_X(); $_ob3nadzx85jjwuak = $_O5jvs952qcug11engqoh6->get_Y(); $_Opzaqvcjpavxyq6ue701ivwaqt = $_o38srpinpbdlbj2wb5dqp + $_I40q5oyhbnpqjt8f->get_Width(); $_osud5gwwrgqgoeh6uqnsu = $_ob3nadzx85jjwuak + $_I40q5oyhbnpqjt8f->get_Height(); $_Ojfin6le4xdsw2g8 = $_174riz91973flhs5neckdqdjhx->GetGDImage(); $_1wwdrmrylte8r0xarvtw6 = $this->get_Prototype()->get_FillColor(); $_o61ejehuti9uu2g8218btvzydy = imagecolorallocate($_Ojfin6le4xdsw2g8, $_1wwdrmrylte8r0xarvtw6->R, $_1wwdrmrylte8r0xarvtw6->G, $_1wwdrmrylte8r0xarvtw6->B); $_ohgm15ade9n4euxs = $_1wwdrmrylte8r0xarvtw6->get_IsRandomized(); $_1v14xkc5mtc2mo1nbimjsu8zmd = $this->get_Prototype()->get_Outline(); $_O20kz3eek6gz5brjqfjhk = (LineStyle::HasValue($_1v14xkc5mtc2mo1nbimjsu8zmd)); if ($_O20kz3eek6gz5brjqfjhk) { $_1nkz789nljsz2qcefv187ej137 = $_1v14xkc5mtc2mo1nbimjsu8zmd->get_LayerCount(); $_0l8blb30amwkllu2 = $_1v14xkc5mtc2mo1nbimjsu8zmd->get_Thickness(); $_I6ti9vqubhye985yeqlsawog4f = false; for ($_lxswho82xnp8ot2cpr526 = 0; $_lxswho82xnp8ot2cpr526 < $_1nkz789nljsz2qcefv187ej137; $_lxswho82xnp8ot2cpr526++) { $_07td7x26cow3kg9gc6kncuf2vx = $_1v14xkc5mtc2mo1nbimjsu8zmd[$_lxswho82xnp8ot2cpr526]; $_I6ti9vqubhye985yeqlsawog4f = $_07td7x26cow3kg9gc6kncuf2vx[0]->get_Color()->get_IsRandomized(); if ($_I6ti9vqubhye985yeqlsawog4f) { break; } } if (!$_I6ti9vqubhye985yeqlsawog4f) { $_1y3lei4ls43fwf4t = array(); for ($_lxswho82xnp8ot2cpr526 = 0; $_lxswho82xnp8ot2cpr526 < $_1nkz789nljsz2qcefv187ej137; $_lxswho82xnp8ot2cpr526++) { $_07td7x26cow3kg9gc6kncuf2vx = $_1v14xkc5mtc2mo1nbimjsu8zmd[$_lxswho82xnp8ot2cpr526]; $_1y3lei4ls43fwf4t[$_lxswho82xnp8ot2cpr526] = array(); $_1y3lei4ls43fwf4t[$_lxswho82xnp8ot2cpr526][0] = $_07td7x26cow3kg9gc6kncuf2vx->get_Thickness(); $_i35dt184yubn9sqbodx1z = $_07td7x26cow3kg9gc6kncuf2vx[0]->get_Color(); $_1u81791ay4otpnawpgh18f1d0s = imagecolorallocate($_Ojfin6le4xdsw2g8, $_i35dt184yubn9sqbodx1z->get_R(), $_i35dt184yubn9sqbodx1z->get_G(), $_i35dt184yubn9sqbodx1z->get_B()); $_1y3lei4ls43fwf4t[$_lxswho82xnp8ot2cpr526][1] = $_1u81791ay4otpnawpgh18f1d0s; } } } $_0oh02k9tpfqr0ir3s3cq8 = $this->get_Prototype()->get_Radius(); $_Ipnu4yf70ynzghrj = $this->get_Prototype()->get_RadiusRange()->get_IsRandomized(); $_1mxbqqosli6mlx9bwplv4chtj7 = $this->get_SurfaceFactor() * $_I40q5oyhbnpqjt8f->get_Surface(); $_o7v52poqm9rfub1p1a0d3zd1gi = 0; while($_o7v52poqm9rfub1p1a0d3zd1gi < $_1mxbqqosli6mlx9bwplv4chtj7) { $_olmgyjjxtxmtvj1p = RandomizationHelper::RandomFromRange($_o38srpinpbdlbj2wb5dqp, $_Opzaqvcjpavxyq6ue701ivwaqt); $_o4bvq8ctvbyfa390 = RandomizationHelper::RandomFromRange($_ob3nadzx85jjwuak, $_osud5gwwrgqgoeh6uqnsu); if ($_Ipnu4yf70ynzghrj) { $_0oh02k9tpfqr0ir3s3cq8 = $this->get_Prototype()->get_Radius(); } if ($_ohgm15ade9n4euxs) { $_1wwdrmrylte8r0xarvtw6 = $this->get_Prototype()->get_FillColor(); $_o61ejehuti9uu2g8218btvzydy = imagecolorallocate($_Ojfin6le4xdsw2g8, $_1wwdrmrylte8r0xarvtw6->R, $_1wwdrmrylte8r0xarvtw6->G, $_1wwdrmrylte8r0xarvtw6->B); } if ($_O20kz3eek6gz5brjqfjhk) { $_lvbgrbpbhdo410nzgiv4l = 0; for ($_lxswho82xnp8ot2cpr526 = 0; $_lxswho82xnp8ot2cpr526 < $_1nkz789nljsz2qcefv187ej137; $_lxswho82xnp8ot2cpr526++) { $_07td7x26cow3kg9gc6kncuf2vx = $_1v14xkc5mtc2mo1nbimjsu8zmd[$_lxswho82xnp8ot2cpr526]; if ($_I6ti9vqubhye985yeqlsawog4f) { $_i35dt184yubn9sqbodx1z = $_07td7x26cow3kg9gc6kncuf2vx[0]->get_Color(); $_i21uqd54wq7t1jaaohskkub28z = imagecolorallocate($_Ojfin6le4xdsw2g8, $_i35dt184yubn9sqbodx1z->get_R(), $_i35dt184yubn9sqbodx1z->get_G(), $_i35dt184yubn9sqbodx1z->get_B()); $_okc4sv2vq8bx8vukmvrg9 = $_07td7x26cow3kg9gc6kncuf2vx->get_Thickness(); } else { $_i21uqd54wq7t1jaaohskkub28z = $_1y3lei4ls43fwf4t[$_lxswho82xnp8ot2cpr526][1]; $_okc4sv2vq8bx8vukmvrg9 = $_1y3lei4ls43fwf4t[$_lxswho82xnp8ot2cpr526][0]; } for ($_Ootns8u3akhv8tze = 0; $_Ootns8u3akhv8tze < $_okc4sv2vq8bx8vukmvrg9; $_Ootns8u3akhv8tze += 1) { $_Ova09ma3co7se6ax = $_0oh02k9tpfqr0ir3s3cq8 + $_lvbgrbpbhdo410nzgiv4l + $_Ootns8u3akhv8tze + 1; imageellipse($_Ojfin6le4xdsw2g8, $_olmgyjjxtxmtvj1p, $_o4bvq8ctvbyfa390, 2 * $_Ova09ma3co7se6ax, 2 * $_Ova09ma3co7se6ax, $_i21uqd54wq7t1jaaohskkub28z); } $_lvbgrbpbhdo410nzgiv4l += $_okc4sv2vq8bx8vukmvrg9; } } imagefilledellipse($_Ojfin6le4xdsw2g8, $_olmgyjjxtxmtvj1p, $_o4bvq8ctvbyfa390, 2 * $_0oh02k9tpfqr0ir3s3cq8, 2 * $_0oh02k9tpfqr0ir3s3cq8, $_o61ejehuti9uu2g8218btvzydy); $_Ifteio1m9fxkuy5j3jhlg = $_0oh02k9tpfqr0ir3s3cq8; if ($_O20kz3eek6gz5brjqfjhk) { $_Ifteio1m9fxkuy5j3jhlg += $_0l8blb30amwkllu2; } $_o7v52poqm9rfub1p1a0d3zd1gi += $_Ifteio1m9fxkuy5j3jhlg * $_Ifteio1m9fxkuy5j3jhlg * M_PI; } } public function DrawSingleRandomShape(IGraphics $_o5pfa8vwz011cvveqnlef, Rectangle $_izrdi1wvouoabqyct8g7e) { $_o58xu0q8dlu3e44wbizys = Point::Within($_izrdi1wvouoabqyct8g7e); $_oabduj346rmjjtljiqca5blzhy = Circle::FromCenterAndRadius($_o58xu0q8dlu3e44wbizys, $this->Prototype->Radius); if (!is_null($this->Prototype->FillColor)) { $_oabduj346rmjjtljiqca5blzhy->FillColor = $this->Prototype->FillColor; } if (LineStyle::HasValue($this->Prototype->Outline)) { $_oabduj346rmjjtljiqca5blzhy->Outline = $this->Prototype->Outline; } $_oabduj346rmjjtljiqca5blzhy->Transform = $this->Prototype->Transform; $_oabduj346rmjjtljiqca5blzhy->Draw($_o5pfa8vwz011cvveqnlef); $this->Add($_oabduj346rmjjtljiqca5blzhy); return $_oabduj346rmjjtljiqca5blzhy->Surface; } } class RandomLines extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Line(); } return $this->m_Prototype; } public function DrawSingleRandomShape(IGraphics $_Olv9xphdnyksdvge, Rectangle $_ilfyo8g2oiaxkz90bk9wsd8ahe) { $_0qtkj7jafoa8armnbbjynnd2h4 = Point::Within($_ilfyo8g2oiaxkz90bk9wsd8ahe); $_O6m9cikyi4bxj8mf = Point::Within($_ilfyo8g2oiaxkz90bk9wsd8ahe); $_on2xlgih8lpbocwhe1wud10gdp = Line::Between($_0qtkj7jafoa8armnbbjynnd2h4->Frozen, $_O6m9cikyi4bxj8mf->Frozen, $this->m_Prototype->Outline); $_on2xlgih8lpbocwhe1wud10gdp->Transform = $this->Prototype->Transform; $_on2xlgih8lpbocwhe1wud10gdp->Draw($_Olv9xphdnyksdvge); $this->Add($_on2xlgih8lpbocwhe1wud10gdp); return $_on2xlgih8lpbocwhe1wud10gdp->Surface; } public function DrawFast(GDGraphics $_ig35ygzrqlx9wi3sm866p, $_ofv6mab34raq3qng = null) { $_O91atsjnfpiw2se8khpvhmovbp = $_ofv6mab34raq3qng; if (is_null($_O91atsjnfpiw2se8khpvhmovbp)) { $_O91atsjnfpiw2se8khpvhmovbp = $_ig35ygzrqlx9wi3sm866p->GetBounds(); } $_Iedz01usc101n6tysyjxw = $_ig35ygzrqlx9wi3sm866p->GetGDImage(); $_o35abxabw8nqrjh7qzot2pciyu = $_O91atsjnfpiw2se8khpvhmovbp->get_TopLeft()->get_X(); $_iy4hb933ya7jpauvgl2jw6rmkp = $_O91atsjnfpiw2se8khpvhmovbp->get_TopLeft()->get_Y(); $_0gwrxkvvb0guu5qnev1qh = $_O91atsjnfpiw2se8khpvhmovbp->get_BottomRight()->get_X(); $_Osmq7u2n7s2lhjgjfvt6a = $_O91atsjnfpiw2se8khpvhmovbp->get_BottomRight()->get_Y(); $_iho4x7dherut5agu = $this->get_Prototype()->get_Outline(); $_0ra05jzxgwxvy9bciec13 = $_iho4x7dherut5agu->get_LayerCount(); $_1qy5dfqconx9fr06inij2 = false; for ($_oufe0bbggdun7q68 = 0; $_oufe0bbggdun7q68 < $_0ra05jzxgwxvy9bciec13; $_oufe0bbggdun7q68++) { $_iw7dg7rmj5wvid4fo03h0 = $_iho4x7dherut5agu[$_oufe0bbggdun7q68]; $_1qy5dfqconx9fr06inij2 = $_iw7dg7rmj5wvid4fo03h0[0]->get_Color()->get_IsRandomized(); if ($_1qy5dfqconx9fr06inij2) { break; } } if (!$_1qy5dfqconx9fr06inij2) { $_ig5cy6zpyyr8i26cdws50fzk32 = array(); for ($_oufe0bbggdun7q68 = 0; $_oufe0bbggdun7q68 < $_0ra05jzxgwxvy9bciec13; $_oufe0bbggdun7q68++) { $_iw7dg7rmj5wvid4fo03h0 = $_iho4x7dherut5agu[$_oufe0bbggdun7q68]; $_ig5cy6zpyyr8i26cdws50fzk32[$_oufe0bbggdun7q68] = array(); $_ig5cy6zpyyr8i26cdws50fzk32[$_oufe0bbggdun7q68][0] = $_iw7dg7rmj5wvid4fo03h0->get_Thickness(); $_0xkh12ovn7tx1ak2j0h8f = $_iw7dg7rmj5wvid4fo03h0[0]->get_Color(); $_Ir1x68xzp0ebbil66kqci1bpsa = imagecolorallocate($_Iedz01usc101n6tysyjxw, $_0xkh12ovn7tx1ak2j0h8f->get_R(), $_0xkh12ovn7tx1ak2j0h8f->get_G(), $_0xkh12ovn7tx1ak2j0h8f->get_B()); $_ig5cy6zpyyr8i26cdws50fzk32[$_oufe0bbggdun7q68][1] = $_Ir1x68xzp0ebbil66kqci1bpsa; } } $_Ij2qeiru1lhcv4bg = $this->get_SurfaceFactor() * $_O91atsjnfpiw2se8khpvhmovbp->get_Surface(); $_iidbt0bbb73k6pa08bcvwpjkj9 = 0; $_ivmw1hgo98c5ss6l = $this->get_Prototype()->get_Outline()->get_Thickness(); while ($_iidbt0bbb73k6pa08bcvwpjkj9 < $_Ij2qeiru1lhcv4bg) { $_lsghd8qd4z31cbm4su89i = RandomizationHelper::RandomFromRange($_o35abxabw8nqrjh7qzot2pciyu, $_0gwrxkvvb0guu5qnev1qh); $_ov027dttv81hst2ek0wxu = RandomizationHelper::RandomFromRange($_iy4hb933ya7jpauvgl2jw6rmkp, $_Osmq7u2n7s2lhjgjfvt6a); $_I38rycx8fyf9sc7msjwpxxas8f = RandomizationHelper::RandomFromRange($_o35abxabw8nqrjh7qzot2pciyu, $_0gwrxkvvb0guu5qnev1qh); $_0otiaj7zm4kpuga2j1gfikwhjp = RandomizationHelper::RandomFromRange($_iy4hb933ya7jpauvgl2jw6rmkp, $_Osmq7u2n7s2lhjgjfvt6a); $_O9dwxwojuopwdyzbi0l0ctn5c3 = 0; $_0yqs7lkiwp5yj0hhiil9a = $_I38rycx8fyf9sc7msjwpxxas8f - $_lsghd8qd4z31cbm4su89i; $_1nt946xtk9bfl0jh = $_0otiaj7zm4kpuga2j1gfikwhjp - $_ov027dttv81hst2ek0wxu; $_1bjiej1ynrvwbzrc40c6o = -1; $_odvcg11e2m6j1025181qx = 1; if (0 == $_0yqs7lkiwp5yj0hhiil9a) { $_odvcg11e2m6j1025181qx = 0; } else if (0 == $_1nt946xtk9bfl0jh) { $_1bjiej1ynrvwbzrc40c6o = 0; } else { $_O9dwxwojuopwdyzbi0l0ctn5c3 = atan2($_0yqs7lkiwp5yj0hhiil9a, $_1nt946xtk9bfl0jh); $_1bjiej1ynrvwbzrc40c6o *= cos($_O9dwxwojuopwdyzbi0l0ctn5c3); $_odvcg11e2m6j1025181qx *= sin($_O9dwxwojuopwdyzbi0l0ctn5c3); } $_0zxexzynmh6sta95u8ku7yw366 = 0; for ($_oufe0bbggdun7q68 = 0; $_oufe0bbggdun7q68 < $_0ra05jzxgwxvy9bciec13; $_oufe0bbggdun7q68++) { $_iw7dg7rmj5wvid4fo03h0 = $_iho4x7dherut5agu[$_oufe0bbggdun7q68]; if ($_1qy5dfqconx9fr06inij2) { $_0xkh12ovn7tx1ak2j0h8f = $_iw7dg7rmj5wvid4fo03h0[0]->get_Color(); $_Ir1x68xzp0ebbil66kqci1bpsa = imagecolorallocate($_Iedz01usc101n6tysyjxw, $_0xkh12ovn7tx1ak2j0h8f->get_R(), $_0xkh12ovn7tx1ak2j0h8f->get_G(), $_0xkh12ovn7tx1ak2j0h8f->get_B()); $_O8bh15vy7dojumru3tax5 = $_iw7dg7rmj5wvid4fo03h0->get_Thickness(); } else { $_Ir1x68xzp0ebbil66kqci1bpsa = $_ig5cy6zpyyr8i26cdws50fzk32[$_oufe0bbggdun7q68][1]; $_O8bh15vy7dojumru3tax5 = $_ig5cy6zpyyr8i26cdws50fzk32[$_oufe0bbggdun7q68][0]; } $_Oeulr4sqiexdc3hs1fjc5 = $_1bjiej1ynrvwbzrc40c6o * $_O8bh15vy7dojumru3tax5; $_Imdeo3t7ixpmhzswddipu = $_odvcg11e2m6j1025181qx * $_O8bh15vy7dojumru3tax5; if ($_O8bh15vy7dojumru3tax5 == 1) { imageline($_Iedz01usc101n6tysyjxw, $_lsghd8qd4z31cbm4su89i, $_ov027dttv81hst2ek0wxu, $_I38rycx8fyf9sc7msjwpxxas8f, $_0otiaj7zm4kpuga2j1gfikwhjp, $_Ir1x68xzp0ebbil66kqci1bpsa); } else { $_iac7a1x1n0ekpljxwf2i6 = 2 * $_O8bh15vy7dojumru3tax5 + 1; for ($_ifcnc4fngh25hxw0uqmlcjerwg = 0; $_ifcnc4fngh25hxw0uqmlcjerwg < $_iac7a1x1n0ekpljxwf2i6; $_ifcnc4fngh25hxw0uqmlcjerwg++) { imageline($_Iedz01usc101n6tysyjxw, $_lsghd8qd4z31cbm4su89i + $_ifcnc4fngh25hxw0uqmlcjerwg * ($_1bjiej1ynrvwbzrc40c6o / 2.0), $_ov027dttv81hst2ek0wxu + $_ifcnc4fngh25hxw0uqmlcjerwg * ($_odvcg11e2m6j1025181qx / 2.0), $_I38rycx8fyf9sc7msjwpxxas8f + $_ifcnc4fngh25hxw0uqmlcjerwg * ($_1bjiej1ynrvwbzrc40c6o / 2.0), $_0otiaj7zm4kpuga2j1gfikwhjp + $_ifcnc4fngh25hxw0uqmlcjerwg * ($_odvcg11e2m6j1025181qx / 2.0), $_Ir1x68xzp0ebbil66kqci1bpsa); } } $_lsghd8qd4z31cbm4su89i += $_Oeulr4sqiexdc3hs1fjc5; $_ov027dttv81hst2ek0wxu += $_Imdeo3t7ixpmhzswddipu; $_I38rycx8fyf9sc7msjwpxxas8f += $_Oeulr4sqiexdc3hs1fjc5; $_0otiaj7zm4kpuga2j1gfikwhjp += $_Imdeo3t7ixpmhzswddipu; } $_iidbt0bbb73k6pa08bcvwpjkj9 += $_ivmw1hgo98c5ss6l * sqrt($_0yqs7lkiwp5yj0hhiil9a * $_0yqs7lkiwp5yj0hhiil9a + $_1nt946xtk9bfl0jh * $_1nt946xtk9bfl0jh); } } } class RandomGlyphs extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Glyph(); } return $this->m_Prototype; } protected $m_Charset; public function get_Charset() { return $this->m_Charset; } public function set_Charset($_oi4r36njy1s2vxkh) { $this->m_Charset = $_oi4r36njy1s2vxkh; } protected $m_SourceString; public function get_SourceString() { return $this->m_SourceString; } public function set_SourceString($_0z6gzf3alsf11ldut86en) { $this->SourceString = $_0z6gzf3alsf11ldut86en; } protected $m_Fonts; public function get_Fonts() { return $this->m_Fonts; } public function set_Fonts($_1ptl4812r8fgxyb54h8ggjyff4) { $this->m_Fonts = $_1ptl4812r8fgxyb54h8ggjyff4; } public function DrawSingleRandomShape(IGraphics $_Ojj6u5sxw3k3im50zukov, Rectangle $_Owgf3fhvt85zvyiyevd19taqrc) { $_1mqsjbd2aygwqtdw6vgcr = new Glyph(); $_Ituyqedwhvz9abvn = Point::Within($_Owgf3fhvt85zvyiyevd19taqrc); $_Ituyqedwhvz9abvn->X -= $_Owgf3fhvt85zvyiyevd19taqrc->Height / 10; $_Ituyqedwhvz9abvn->Y -= $_Owgf3fhvt85zvyiyevd19taqrc->Height / 4; $_1mqsjbd2aygwqtdw6vgcr->Bounds = Rectangle::FromPointAndSize($_Ituyqedwhvz9abvn, $_Owgf3fhvt85zvyiyevd19taqrc->Height, $_Owgf3fhvt85zvyiyevd19taqrc->Height / 2); $_1mqsjbd2aygwqtdw6vgcr->FillColor = $this->Prototype->FillColor; $_1mqsjbd2aygwqtdw6vgcr->Outline = $this->Prototype->Outline; $_1mqsjbd2aygwqtdw6vgcr->Transform = $this->Prototype->Transform; $_ow4l0vxvx26mixoi11jpbz3xgw = RandomizationHelper::RandomFromRange(0, StringHelper::Length($this->SourceString)); $_1mqsjbd2aygwqtdw6vgcr->Character = StringHelper::Substring($this->SourceString, $_ow4l0vxvx26mixoi11jpbz3xgw, 1); $_o5lfee5ao6mxtu8h = $this->m_Fonts->Next; $_1mqsjbd2aygwqtdw6vgcr->Font = FontHelper::GetFontFilename( $_o5lfee5ao6mxtu8h->FontType, $_o5lfee5ao6mxtu8h->FontWeight, $this->Charset ); $_1mqsjbd2aygwqtdw6vgcr->FontCase = $_o5lfee5ao6mxtu8h->FontCase; $_1mqsjbd2aygwqtdw6vgcr->Draw($_Ojj6u5sxw3k3im50zukov); $this->Add($_1mqsjbd2aygwqtdw6vgcr); return $_1mqsjbd2aygwqtdw6vgcr->Surface; } public function DrawFast(GDGraphics $_07xdo0bwyqufvkzr4ltl0, $_0yekd2ll9tpvtcbn3tqwa = null) { $this->Draw($_07xdo0bwyqufvkzr4ltl0, $_0yekd2ll9tpvtcbn3tqwa); } } class RandomBeziers extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Bezier(); } return $this->m_Prototype; } const DefaultScalingPercentage = 50; private $_iu7kloyni6eroaaa; public function get_ScalingPercentageRange() { return $this->_iu7kloyni6eroaaa; } public function set_ScalingPercentageRange(RandomRange $_093ge38t19y4venh) { if (0 >= $_093ge38t19y4venh->Min || 100 <= $_093ge38t19y4venh->Max) { throw new Exception("\x53\x68\x61\x70\x65\40\144\x6f\167\156\163\x63\141\154\x69\156\147\x20\160\x65\162\143\145\156\x74\x61\x67\145\40\x6d\x75\163\164\x20\142\x65\x20\142\145\x74\167\x65\x65\x6e\x20\x31\x20\x61\156\144\x20\71\71\x3a\x20\74{$_093ge38t19y4venh->Min}\54\40{$_093ge38t19y4venh->Max}\76"); } $this->_iu7kloyni6eroaaa = $_093ge38t19y4venh; } public function get_ScalingPercentage() { if (!is_null($this->_iu7kloyni6eroaaa)) { return $this->_iu7kloyni6eroaaa->Next; } return self::DefaultScalingPercentage; } public function set_ScalingPercentage($_Olp4owdk5i5r3ybe) { if (self::DefaultScalingPercentage == $_Olp4owdk5i5r3ybe) { unset($this->_iu7kloyni6eroaaa); } else { $this->ScalingPercentageRange = new RandomRange($_Olp4owdk5i5r3ybe); } } public function get_ScalingFactor() { return $this->ScalingPercentage / 100.00 * 1.50; } public function get_SurfaceFactor() { return ($this->get_SurfacePercentage() / 100.00) / 2; } public function DrawSingleRandomShape(IGraphics $_I7tr6vd0nunhngx7cya54, Rectangle $_lx6uz2f6eq01p8x9) { $_ii7rk2h9yj3ysobu = Rectangle::ScaledDown($_lx6uz2f6eq01p8x9, $this->ScalingFactor); $_ls5x7ps0uqmptm7q = Bezier::Within($_ii7rk2h9yj3ysobu, $this->Prototype->Outline); $_ls5x7ps0uqmptm7q->Transform = $this->Prototype->Transform; $_ls5x7ps0uqmptm7q->Draw($_I7tr6vd0nunhngx7cya54); $this->Add($_ls5x7ps0uqmptm7q); return $_ls5x7ps0uqmptm7q->Surface; } public function DrawFast(GDGraphics $_ilg4bft8jiv9rzb4cn0jyoo3ye, $_l5uftgm6154w9e39 = null) { $this->Draw($_ilg4bft8jiv9rzb4cn0jyoo3ye, $_l5uftgm6154w9e39); } } class RandomRectangles extends RandomNoise { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Rectangle(); } return $this->m_Prototype; } const DefaultScalingPercentage = 50; private $_Olmas36yv9yf8ntghkd7e; public function get_ScalingPercentageRange() { return $this->_Olmas36yv9yf8ntghkd7e; } public function set_ScalingPercentageRange(RandomRange $_1u2i4o5ubgn1pe9j14d9fnq8su) { if (0 >= $_1u2i4o5ubgn1pe9j14d9fnq8su->Min || 100 <= $_1u2i4o5ubgn1pe9j14d9fnq8su->Max) { throw new Exception("\x53\150\141\160\x65\40\x64\x6f\167\156\x73\143\141\x6c\x69\156\x67\x20\160\145\162\x63\145\156\164\141\x67\145\40\155\165\x73\164\40\x62\145\40\142\x65\x74\x77\x65\x65\156\x20\61\40\141\156\x64\40\x39\71\x3a\x20\x3c{$_1u2i4o5ubgn1pe9j14d9fnq8su->Min}\x2c\x20{$_1u2i4o5ubgn1pe9j14d9fnq8su->Max}\76"); } $this->_Olmas36yv9yf8ntghkd7e = $_1u2i4o5ubgn1pe9j14d9fnq8su; } public function get_ScalingPercentage() { if (!is_null($this->_Olmas36yv9yf8ntghkd7e)) { return $this->_Olmas36yv9yf8ntghkd7e->Next; } return self::DefaultScalingPercentage; } public function set_ScalingPercentage($_0vachd8mh7kng4py314xr) { if (self::DefaultScalingPercentage == $_0vachd8mh7kng4py314xr) { unset($this->_Olmas36yv9yf8ntghkd7e); } else { $this->ScalingPercentageRange = new RandomRange($_0vachd8mh7kng4py314xr); } } public function get_ScalingFactor() { return $this->ScalingPercentage / 100.00; } public function DrawSingleRandomShape(IGraphics $_0y8uuzn6psury4ja, Rectangle $_o4f4su983ihjygrrt3gwt) { $_om80l41u7dgc8pfi = Rectangle::ScaledDown($_o4f4su983ihjygrrt3gwt, $this->ScalingFactor); $_om80l41u7dgc8pfi->FillColor = $this->Prototype->FillColor; $_om80l41u7dgc8pfi->Outline = $this->Prototype->Outline; $_om80l41u7dgc8pfi->Transform = $this->Prototype->Transform; $_Ot9wgw4dnyvt8weh = RandomizationHelper::RandomFromRange(0, 100) % 2; if (0 == $_Ot9wgw4dnyvt8weh) { $_om80l41u7dgc8pfi->Transform->Rotation->Angle = 0; } else { $_om80l41u7dgc8pfi->Transform->Rotation->Angle = 90; } $_om80l41u7dgc8pfi->Draw($_0y8uuzn6psury4ja); $this->Add($_om80l41u7dgc8pfi); return $_om80l41u7dgc8pfi->Surface; } public function DrawFast(GDGraphics $_im4olq4k4z4de3z9m5aclg778d, $_iomucn9cnbaxre4f = null) { $_Oeop7als5lhoe7xu = $this->get_Bounds(); if (is_null($_Oeop7als5lhoe7xu)) { $_Oeop7als5lhoe7xu = $_im4olq4k4z4de3z9m5aclg778d->GetBounds(); } $_onylalc663a7ec1a = $_Oeop7als5lhoe7xu->get_TopLeft(); $_onsjaj44xeho27ic = $_onylalc663a7ec1a->get_X(); $_ixs2z8v3upah0hnj66ea1 = $_onylalc663a7ec1a->get_Y(); $_lj1wantxf7a1qisjiclqs = $_onsjaj44xeho27ic + $_Oeop7als5lhoe7xu->get_Width(); $_o5v4dpvbuh19r4amtfw3oenepi = $_ixs2z8v3upah0hnj66ea1 + $_Oeop7als5lhoe7xu->get_Height(); $_Iuve1xqscji3wpky = $_im4olq4k4z4de3z9m5aclg778d->GetGDImage(); $_lu3rhf7u9n2mbabd = $this->get_Prototype()->get_FillColor(); $_I6tq1i1yhonuficl32k86ibmpj = imagecolorallocate($_Iuve1xqscji3wpky, $_lu3rhf7u9n2mbabd->R, $_lu3rhf7u9n2mbabd->G, $_lu3rhf7u9n2mbabd->B); $_i5v9rs4n04wjrg1622ajuk0cct = $_lu3rhf7u9n2mbabd->get_IsRandomized(); $_lvtdgo81a4iespzp = $this->get_ScalingFactor(); $_ov27b39zzhlbeh5f = $_lvtdgo81a4iespzp * ($_lj1wantxf7a1qisjiclqs - $_onsjaj44xeho27ic); $_1uev1nhm5qhlpuda = $_lvtdgo81a4iespzp * ($_o5v4dpvbuh19r4amtfw3oenepi - $_ixs2z8v3upah0hnj66ea1); $_oft11z4sdu7cqec66jvo9us979 = $this->get_SurfaceFactor() * $_Oeop7als5lhoe7xu->get_Surface(); $_07j2woxcis3t2xqo = 0; while($_07j2woxcis3t2xqo < $_oft11z4sdu7cqec66jvo9us979) { $_oilm6guu98fgv1h0 = RandomizationHelper::RandomFromRange($_onsjaj44xeho27ic, $_lj1wantxf7a1qisjiclqs); $_I8pa0socng6yt4fg = RandomizationHelper::RandomFromRange($_ixs2z8v3upah0hnj66ea1, $_o5v4dpvbuh19r4amtfw3oenepi); $_lk9haagnqqrzac8b3n7xm = RandomizationHelper::RandomFromRange(0, 100) % 2; if (0 == $_lk9haagnqqrzac8b3n7xm) { $_of3urz2p3fvyzwqp4kxpl = $_oilm6guu98fgv1h0 + $_ov27b39zzhlbeh5f; $_iszvfyqpiypld865 = $_I8pa0socng6yt4fg + $_1uev1nhm5qhlpuda; } else { $_of3urz2p3fvyzwqp4kxpl = $_oilm6guu98fgv1h0 + $_1uev1nhm5qhlpuda; $_iszvfyqpiypld865 = $_I8pa0socng6yt4fg + $_ov27b39zzhlbeh5f; } if ($_i5v9rs4n04wjrg1622ajuk0cct) { $_lu3rhf7u9n2mbabd = $this->get_Prototype()->get_FillColor(); $_I6tq1i1yhonuficl32k86ibmpj = imagecolorallocate($_Iuve1xqscji3wpky, $_lu3rhf7u9n2mbabd->R, $_lu3rhf7u9n2mbabd->G, $_lu3rhf7u9n2mbabd->B); } imagefilledrectangle($_Iuve1xqscji3wpky, $_oilm6guu98fgv1h0, $_I8pa0socng6yt4fg, $_of3urz2p3fvyzwqp4kxpl, $_iszvfyqpiypld865, $_I6tq1i1yhonuficl32k86ibmpj); $_07j2woxcis3t2xqo += $_ov27b39zzhlbeh5f * $_1uev1nhm5qhlpuda; } } } class HorizontalLines extends ShapeCollection { public function __construct() { } public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Line(); } return $this->m_Prototype; } const DefaultSpacing = 5; private $_ic1zhg1fc9hiuhjdlr29k; public function get_SpacingRange() { return $this->_ic1zhg1fc9hiuhjdlr29k; } public function set_SpacingRange($_Iw3i3rv062c2w1m9r8mgwk329f) { $this->_ic1zhg1fc9hiuhjdlr29k = $_Iw3i3rv062c2w1m9r8mgwk329f; } public function get_Spacing() { if (is_null($this->_ic1zhg1fc9hiuhjdlr29k)) { return self::DefaultSpacing; } return $this->_ic1zhg1fc9hiuhjdlr29k->Next; } public function set_Spacing($_lz2nbaohdo6zp5ndjjy1afipag) { if (0 >= $_lz2nbaohdo6zp5ndjjy1afipag) { throw new DrawingException("\123\150\141\x70\145\x20\163\160\x61\x63\x69\x6e\147\40\155\x75\x73\x74\40\142\145\40\x61\x20\160\157\x73\x69\164\x69\166\x65\40\156\165\x6d\x62\145\162", $_lz2nbaohdo6zp5ndjjy1afipag); } $this->_ic1zhg1fc9hiuhjdlr29k = new RandomRange($_lz2nbaohdo6zp5ndjjy1afipag); } public function DrawWithinBounds(GDGraphics $_i5pos6h6h4u4lux8, Rectangle $_ie5b24l36peha6cpv1ptm) { $this->DrawFast($_i5pos6h6h4u4lux8, $_ie5b24l36peha6cpv1ptm); } public function DrawFast(GDGraphics $_l7n4y8avy5bw3ibnhv4jws08pa, Rectangle $_1i1c6u3dw6d1dg4pno7hn) { $_1v45vnvrw9pizutogyhf9 = $_l7n4y8avy5bw3ibnhv4jws08pa->GetGDImage(); $_oco49mphiadmoipylhriqzab4d = $_1i1c6u3dw6d1dg4pno7hn->get_Height(); $_opi96yvj6qb4q2lhjj2cf = $_1i1c6u3dw6d1dg4pno7hn->get_TopLeft()->get_X(); $_Owvxeey6xsi5fbpr = $_1i1c6u3dw6d1dg4pno7hn->get_BottomRight()->get_X(); $_1bt708y26nxyn8pinousi = RandomizationHelper::RandomFromRange(0, $this->get_SpacingRange()->get_Min()); $_1mwmyur6xhewftlm = $this->_ic1zhg1fc9hiuhjdlr29k->get_IsRandomized(); $_l7ognnpmp8un4t6q = $this->get_Spacing(); $_okkkpsxqos0kbwz1 = $this->get_Prototype()->get_Outline(); $_lr0rshre5kyni2c48rwb9 = $_okkkpsxqos0kbwz1->get_LayerCount(); $_Ozke1g3stox64yn2 = false; for ($_l1sav15z2qautsatpi32z3qty6 = 0; $_l1sav15z2qautsatpi32z3qty6 < $_lr0rshre5kyni2c48rwb9; $_l1sav15z2qautsatpi32z3qty6++) { $_Oravcw1kf51r04ie6re3s1p414 = $_okkkpsxqos0kbwz1[$_l1sav15z2qautsatpi32z3qty6]; $_Ozke1g3stox64yn2 = $_Oravcw1kf51r04ie6re3s1p414[0]->get_Color()->get_IsRandomized(); if ($_Ozke1g3stox64yn2) { break; } } if (!$_Ozke1g3stox64yn2) { $_l8icis7uuueg42cb20rp9 = array(); for ($_l1sav15z2qautsatpi32z3qty6 = 0; $_l1sav15z2qautsatpi32z3qty6 < $_lr0rshre5kyni2c48rwb9; $_l1sav15z2qautsatpi32z3qty6++) { $_Oravcw1kf51r04ie6re3s1p414 = $_okkkpsxqos0kbwz1[$_l1sav15z2qautsatpi32z3qty6]; $_l8icis7uuueg42cb20rp9[$_l1sav15z2qautsatpi32z3qty6] = array(); $_l8icis7uuueg42cb20rp9[$_l1sav15z2qautsatpi32z3qty6][0] = $_Oravcw1kf51r04ie6re3s1p414->get_Thickness(); $_O9exu7vrn9h9or2mgmbj312ai5 = $_Oravcw1kf51r04ie6re3s1p414[0]->get_Color(); $_l5hfaohegodd8fzbzpe6s = imagecolorallocate($_1v45vnvrw9pizutogyhf9, $_O9exu7vrn9h9or2mgmbj312ai5->get_R(), $_O9exu7vrn9h9or2mgmbj312ai5->get_G(), $_O9exu7vrn9h9or2mgmbj312ai5->get_B()); $_l8icis7uuueg42cb20rp9[$_l1sav15z2qautsatpi32z3qty6][1] = $_l5hfaohegodd8fzbzpe6s; } } $_ig3pwntjo0k155ju9ymd7b4qh7 = false; $_ipnp48c9zepkmnaz = $this->get_Prototype()->get_Transform()->get_Rotation(); if (!is_null($_ipnp48c9zepkmnaz->get_AngleRange())) { $_ig3pwntjo0k155ju9ymd7b4qh7 = true; } while ($_1bt708y26nxyn8pinousi < $_oco49mphiadmoipylhriqzab4d) { $_17gxgwixx5i2dhu1xqyi0cbwqj = $_opi96yvj6qb4q2lhjj2cf; $_0wq1qjtwgl9an96pui5c2 = $_1bt708y26nxyn8pinousi; $_iwpzeqpc85ydsw30lz9wo9sz0h = $_Owvxeey6xsi5fbpr; $_imfslofv0qiftra3 = $_1bt708y26nxyn8pinousi; if ($_ig3pwntjo0k155ju9ymd7b4qh7) { $_i899luunna3q5tua1qyq7b4kme = $_ipnp48c9zepkmnaz->get_Angle(); $_030yfblt8hxb85lc4i4ko78iuo = Line::RotateLine($_17gxgwixx5i2dhu1xqyi0cbwqj, $_0wq1qjtwgl9an96pui5c2, $_iwpzeqpc85ydsw30lz9wo9sz0h, $_imfslofv0qiftra3, $_i899luunna3q5tua1qyq7b4kme); $_17gxgwixx5i2dhu1xqyi0cbwqj = $_030yfblt8hxb85lc4i4ko78iuo[0]; $_0wq1qjtwgl9an96pui5c2 = $_030yfblt8hxb85lc4i4ko78iuo[1]; $_iwpzeqpc85ydsw30lz9wo9sz0h = $_030yfblt8hxb85lc4i4ko78iuo[2]; $_imfslofv0qiftra3 = $_030yfblt8hxb85lc4i4ko78iuo[3]; } $_omkpiaqelpiqwy8e2w5pa = 0; $_1lwv6l34a71scwon = $_iwpzeqpc85ydsw30lz9wo9sz0h - $_17gxgwixx5i2dhu1xqyi0cbwqj; $_1ghxt08u3m42yg9033n34mw58f = $_imfslofv0qiftra3 - $_0wq1qjtwgl9an96pui5c2; $_0rdy6y2zskytk0qdkjmy2 = -1; $_iue8d5ozkrjt5atg9xrdpbohyz = 1; if (0 == $_1lwv6l34a71scwon) { $_iue8d5ozkrjt5atg9xrdpbohyz = 0; } else if (0 == $_1ghxt08u3m42yg9033n34mw58f) { $_0rdy6y2zskytk0qdkjmy2 = 0; } else { $_omkpiaqelpiqwy8e2w5pa = atan2($_1lwv6l34a71scwon, $_1ghxt08u3m42yg9033n34mw58f); $_0rdy6y2zskytk0qdkjmy2 *= cos($_omkpiaqelpiqwy8e2w5pa); $_iue8d5ozkrjt5atg9xrdpbohyz *= sin($_omkpiaqelpiqwy8e2w5pa); } $_0onj5bb4zavf4spp = 0; for ($_l1sav15z2qautsatpi32z3qty6 = 0; $_l1sav15z2qautsatpi32z3qty6 < $_lr0rshre5kyni2c48rwb9; $_l1sav15z2qautsatpi32z3qty6++) { $_Oravcw1kf51r04ie6re3s1p414 = $_okkkpsxqos0kbwz1[$_l1sav15z2qautsatpi32z3qty6]; if ($_Ozke1g3stox64yn2) { $_O9exu7vrn9h9or2mgmbj312ai5 = $_Oravcw1kf51r04ie6re3s1p414[0]->get_Color(); $_l5hfaohegodd8fzbzpe6s = imagecolorallocate($_1v45vnvrw9pizutogyhf9, $_O9exu7vrn9h9or2mgmbj312ai5->get_R(), $_O9exu7vrn9h9or2mgmbj312ai5->get_G(), $_O9exu7vrn9h9or2mgmbj312ai5->get_B()); $_o94i826ru4t2ogot4v7vtbgf9l = $_Oravcw1kf51r04ie6re3s1p414->get_Thickness(); } else { $_l5hfaohegodd8fzbzpe6s = $_l8icis7uuueg42cb20rp9[$_l1sav15z2qautsatpi32z3qty6][1]; $_o94i826ru4t2ogot4v7vtbgf9l = $_l8icis7uuueg42cb20rp9[$_l1sav15z2qautsatpi32z3qty6][0]; } $_oedwwoad544qgr25 = $_0rdy6y2zskytk0qdkjmy2 * $_o94i826ru4t2ogot4v7vtbgf9l; $_Onbeal5holdy0kbl = $_iue8d5ozkrjt5atg9xrdpbohyz * $_o94i826ru4t2ogot4v7vtbgf9l; if ($_o94i826ru4t2ogot4v7vtbgf9l == 1) { imageline($_1v45vnvrw9pizutogyhf9, $_17gxgwixx5i2dhu1xqyi0cbwqj, $_0wq1qjtwgl9an96pui5c2, $_iwpzeqpc85ydsw30lz9wo9sz0h, $_imfslofv0qiftra3, $_l5hfaohegodd8fzbzpe6s); } else { $_I5g333xbdfwaj7cs1qpvj = 2 * $_o94i826ru4t2ogot4v7vtbgf9l + 1; for ($_Isb57enstemhfrzfcsyk4 = 0; $_Isb57enstemhfrzfcsyk4 < $_I5g333xbdfwaj7cs1qpvj; $_Isb57enstemhfrzfcsyk4++) { imageline($_1v45vnvrw9pizutogyhf9, $_17gxgwixx5i2dhu1xqyi0cbwqj + $_Isb57enstemhfrzfcsyk4 * ($_0rdy6y2zskytk0qdkjmy2 / 2.0), $_0wq1qjtwgl9an96pui5c2 + $_Isb57enstemhfrzfcsyk4 * ($_iue8d5ozkrjt5atg9xrdpbohyz / 2.0), $_iwpzeqpc85ydsw30lz9wo9sz0h + $_Isb57enstemhfrzfcsyk4 * ($_0rdy6y2zskytk0qdkjmy2 / 2.0), $_imfslofv0qiftra3 + $_Isb57enstemhfrzfcsyk4 * ($_iue8d5ozkrjt5atg9xrdpbohyz / 2.0), $_l5hfaohegodd8fzbzpe6s); } } $_17gxgwixx5i2dhu1xqyi0cbwqj += $_oedwwoad544qgr25; $_0wq1qjtwgl9an96pui5c2 += $_Onbeal5holdy0kbl; $_iwpzeqpc85ydsw30lz9wo9sz0h += $_oedwwoad544qgr25; $_imfslofv0qiftra3 += $_Onbeal5holdy0kbl; } if ($_1mwmyur6xhewftlm) { $_l7ognnpmp8un4t6q = $this->get_Spacing(); } $_1bt708y26nxyn8pinousi += $_l7ognnpmp8un4t6q; } } } class VerticalLines extends ShapeCollection { public function __construct() { } public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Line(); } return $this->m_Prototype; } const DefaultSpacing = 5; private $_077fxv35ppyi5bx5; public function get_SpacingRange() { return $this->_077fxv35ppyi5bx5; } public function set_SpacingRange($_ir7icmohglx3rig2mg54n) { $this->_077fxv35ppyi5bx5 = $_ir7icmohglx3rig2mg54n; } public function get_Spacing() { if (is_null($this->_077fxv35ppyi5bx5)) { return self::DefaultSpacing; } return $this->_077fxv35ppyi5bx5->Next; } public function set_Spacing($_oui65zklzpwtogjzlf2vgatq15) { if (0 >= $_oui65zklzpwtogjzlf2vgatq15) { throw new DrawingException("\123\x68\x61\x70\x65\40\x73\160\x61\x63\x69\156\147\x20\155\x75\x73\x74\x20\142\145\x20\141\40\160\157\163\151\x74\151\166\x65\x20\156\165\x6d\x62\x65\162", $_oui65zklzpwtogjzlf2vgatq15); } $this->_077fxv35ppyi5bx5 = new RandomRange($_oui65zklzpwtogjzlf2vgatq15); } public function DrawWithinBounds(GDGraphics $_l57cbj1r0fmspwnaq6wyi6kr2e, Rectangle $_ilp8ywjksng65dnda0wf8i2pjd) { $this->DrawFast($_l57cbj1r0fmspwnaq6wyi6kr2e, $_ilp8ywjksng65dnda0wf8i2pjd); } public function DrawFast(GDGraphics $_lhsswmhryrp8jtj9mdm9qu1pt3, Rectangle $_iiyfe4e256zha5q7) { $_1i850gdc3z2kgmwk1z3s6sr1o1 = $_lhsswmhryrp8jtj9mdm9qu1pt3->GetGDImage(); $_08rde7zvtc84u1xgicc9tldtd5 = $_iiyfe4e256zha5q7->get_Width(); $_i4dnvgfgkq4ndixsqjhm4 = $_iiyfe4e256zha5q7->get_TopLeft()->get_Y(); $_Ogmtgsq3uqoonf23 = $_iiyfe4e256zha5q7->get_BottomRight()->get_Y(); $_O8apxsq2df7me6vx7whj9 = RandomizationHelper::RandomFromRange(0, $this->get_SpacingRange()->get_Min()); $_ofa5lklx2nnlh1i2vvzq4 = $this->_077fxv35ppyi5bx5->get_IsRandomized(); $_O5dyw999kpomcnl5 = $this->get_Spacing(); $_1n9nrdctvd73ququqpu8jk3vvn = $this->get_Prototype()->get_Outline(); $_1jpkqg29oryb3c3ci07c1 = $_1n9nrdctvd73ququqpu8jk3vvn->get_LayerCount(); $_irottc14ts2kfy7vt0ishl90el = false; for ($_Ok68chlsfqakkalq = 0; $_Ok68chlsfqakkalq < $_1jpkqg29oryb3c3ci07c1; $_Ok68chlsfqakkalq++) { $_okj678oycucp782r5snpw = $_1n9nrdctvd73ququqpu8jk3vvn[$_Ok68chlsfqakkalq]; $_irottc14ts2kfy7vt0ishl90el = $_okj678oycucp782r5snpw[0]->get_Color()->get_IsRandomized(); if ($_irottc14ts2kfy7vt0ishl90el) { break; } } if (!$_irottc14ts2kfy7vt0ishl90el) { $_ipwn7rqambl4nagp45bqm = array(); for ($_Ok68chlsfqakkalq = 0; $_Ok68chlsfqakkalq < $_1jpkqg29oryb3c3ci07c1; $_Ok68chlsfqakkalq++) { $_okj678oycucp782r5snpw = $_1n9nrdctvd73ququqpu8jk3vvn[$_Ok68chlsfqakkalq]; $_ipwn7rqambl4nagp45bqm[$_Ok68chlsfqakkalq] = array(); $_ipwn7rqambl4nagp45bqm[$_Ok68chlsfqakkalq][0] = $_okj678oycucp782r5snpw->get_Thickness(); $_O2an7da7dpjrz1lg = $_okj678oycucp782r5snpw[0]->get_Color(); $_o7ep4l6peb9ilx5k4toqo = imagecolorallocate($_1i850gdc3z2kgmwk1z3s6sr1o1, $_O2an7da7dpjrz1lg->get_R(), $_O2an7da7dpjrz1lg->get_G(), $_O2an7da7dpjrz1lg->get_B()); $_ipwn7rqambl4nagp45bqm[$_Ok68chlsfqakkalq][1] = $_o7ep4l6peb9ilx5k4toqo; } } $_1rw5h0b363arhlt2 = false; $_02hrjygdm2yjcmndw4o30 = $this->get_Prototype()->get_Transform()->get_Rotation(); if (!is_null($_02hrjygdm2yjcmndw4o30->get_AngleRange())) { $_1rw5h0b363arhlt2 = true; } while ($_O8apxsq2df7me6vx7whj9 < $_08rde7zvtc84u1xgicc9tldtd5) { $_Orgcwi1chrpkvq41jm4xz = $_O8apxsq2df7me6vx7whj9; $_159mv2ydnsmdx85i = $_i4dnvgfgkq4ndixsqjhm4; $_l6ja563pi4ynjzpeflexgrckg8 = $_O8apxsq2df7me6vx7whj9; $_o5bi97w3y8rngrxtpqb8u = $_Ogmtgsq3uqoonf23; if ($_1rw5h0b363arhlt2) { $_Izkrpu7on7qwbfxzita3323ecl = $_02hrjygdm2yjcmndw4o30->get_Angle(); $_os7h1edekap78rhyusy4v = Line::RotateLine($_Orgcwi1chrpkvq41jm4xz, $_159mv2ydnsmdx85i, $_l6ja563pi4ynjzpeflexgrckg8, $_o5bi97w3y8rngrxtpqb8u, $_Izkrpu7on7qwbfxzita3323ecl); $_Orgcwi1chrpkvq41jm4xz = $_os7h1edekap78rhyusy4v[0]; $_159mv2ydnsmdx85i = $_os7h1edekap78rhyusy4v[1]; $_l6ja563pi4ynjzpeflexgrckg8 = $_os7h1edekap78rhyusy4v[2]; $_o5bi97w3y8rngrxtpqb8u = $_os7h1edekap78rhyusy4v[3]; } $_1e4amlj8iit9m4fonbh7bn5jmk = 0; $_lp8u1xu8fd8f62lzz847v = $_l6ja563pi4ynjzpeflexgrckg8 - $_Orgcwi1chrpkvq41jm4xz; $_136azff4thgqpa3545eeq = $_o5bi97w3y8rngrxtpqb8u - $_159mv2ydnsmdx85i; $_ijv5q2y1vhe9gh6qlzyxp = -1; $_Oxn0gavc3jywgegf = 1; if (0 == $_lp8u1xu8fd8f62lzz847v) { $_Oxn0gavc3jywgegf = 0; } else if (0 == $_136azff4thgqpa3545eeq) { $_ijv5q2y1vhe9gh6qlzyxp = 0; } else { $_1e4amlj8iit9m4fonbh7bn5jmk = atan2($_lp8u1xu8fd8f62lzz847v, $_136azff4thgqpa3545eeq); $_ijv5q2y1vhe9gh6qlzyxp *= cos($_1e4amlj8iit9m4fonbh7bn5jmk); $_Oxn0gavc3jywgegf *= sin($_1e4amlj8iit9m4fonbh7bn5jmk); } $_I6sqp4sexnm495fn = 0; for ($_Ok68chlsfqakkalq = 0; $_Ok68chlsfqakkalq < $_1jpkqg29oryb3c3ci07c1; $_Ok68chlsfqakkalq++) { $_okj678oycucp782r5snpw = $_1n9nrdctvd73ququqpu8jk3vvn[$_Ok68chlsfqakkalq]; if ($_irottc14ts2kfy7vt0ishl90el) { $_O2an7da7dpjrz1lg = $_okj678oycucp782r5snpw[0]->get_Color(); $_o7ep4l6peb9ilx5k4toqo = imagecolorallocate($_1i850gdc3z2kgmwk1z3s6sr1o1, $_O2an7da7dpjrz1lg->get_R(), $_O2an7da7dpjrz1lg->get_G(), $_O2an7da7dpjrz1lg->get_B()); $_Ix33vwag2ckboxpvunrezydwpe = $_okj678oycucp782r5snpw->get_Thickness(); } else { $_o7ep4l6peb9ilx5k4toqo = $_ipwn7rqambl4nagp45bqm[$_Ok68chlsfqakkalq][1]; $_Ix33vwag2ckboxpvunrezydwpe = $_ipwn7rqambl4nagp45bqm[$_Ok68chlsfqakkalq][0]; } $_im1d922ej3vdchhzjocbaq1djq = $_ijv5q2y1vhe9gh6qlzyxp * $_Ix33vwag2ckboxpvunrezydwpe; $_lcu67j93msdtbou2 = $_Oxn0gavc3jywgegf * $_Ix33vwag2ckboxpvunrezydwpe; if ($_Ix33vwag2ckboxpvunrezydwpe == 1) { imageline($_1i850gdc3z2kgmwk1z3s6sr1o1, $_Orgcwi1chrpkvq41jm4xz, $_159mv2ydnsmdx85i, $_l6ja563pi4ynjzpeflexgrckg8, $_o5bi97w3y8rngrxtpqb8u, $_o7ep4l6peb9ilx5k4toqo); } else { $_odzrfitygnou8hey11x9ifgae3 = 2 * $_Ix33vwag2ckboxpvunrezydwpe + 1; for ($_0kuw6akejtw11mgk2zzsx9co8x = 0; $_0kuw6akejtw11mgk2zzsx9co8x < $_odzrfitygnou8hey11x9ifgae3; $_0kuw6akejtw11mgk2zzsx9co8x++) { imageline($_1i850gdc3z2kgmwk1z3s6sr1o1, $_Orgcwi1chrpkvq41jm4xz + $_0kuw6akejtw11mgk2zzsx9co8x * ($_ijv5q2y1vhe9gh6qlzyxp / 2.0), $_159mv2ydnsmdx85i + $_0kuw6akejtw11mgk2zzsx9co8x * ($_Oxn0gavc3jywgegf / 2.0), $_l6ja563pi4ynjzpeflexgrckg8 + $_0kuw6akejtw11mgk2zzsx9co8x * ($_ijv5q2y1vhe9gh6qlzyxp / 2.0), $_o5bi97w3y8rngrxtpqb8u + $_0kuw6akejtw11mgk2zzsx9co8x * ($_Oxn0gavc3jywgegf / 2.0), $_o7ep4l6peb9ilx5k4toqo); } } $_Orgcwi1chrpkvq41jm4xz += $_im1d922ej3vdchhzjocbaq1djq; $_159mv2ydnsmdx85i += $_lcu67j93msdtbou2; $_l6ja563pi4ynjzpeflexgrckg8 += $_im1d922ej3vdchhzjocbaq1djq; $_o5bi97w3y8rngrxtpqb8u += $_lcu67j93msdtbou2; } if ($_ofa5lklx2nnlh1i2vvzq4) { $_O5dyw999kpomcnl5 = $this->get_Spacing(); } $_O8apxsq2df7me6vx7whj9 += $_O5dyw999kpomcnl5; } } } class SpokeLines extends ShapeCollection { public function __construct() { } public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Line(); } return $this->m_Prototype; } private $_O4256nrwagacekj1; public function get_Center() { return $this->_O4256nrwagacekj1; } public function set_Center(Point $_l4obfrcpkbarp6as9mujk) { $this->_O4256nrwagacekj1 = $_l4obfrcpkbarp6as9mujk; } const DefaultAngleDelta = 10; private $_laeyfeagmaz65fuz; public function get_AngleDeltaRange() { return $this->_laeyfeagmaz65fuz; } public function set_AngleDeltaRange($_0budwbeckc0fw1e0xbb3w) { $this->_laeyfeagmaz65fuz = $_0budwbeckc0fw1e0xbb3w; } public function get_AngleDelta() { if (is_null($this->_laeyfeagmaz65fuz)) { return self::DefaultAngleDelta; } return $this->_laeyfeagmaz65fuz->get_Next(); } public function set_AngleDelta($_1qmn0lcs9fe3fhgcjtoei) { if (0 >= $_1qmn0lcs9fe3fhgcjtoei) { throw new DrawingException("\x53\x70\157\x6b\x65\x4c\151\x6e\x65\163\x20\101\x6e\x67\154\145\x44\x65\x6c\164\141\40\155\165\x73\164\40\x62\x65\x20\141\40\160\x6f\163\151\164\x69\x76\x65\x20\156\165\x6d\142\x65\162", $_1qmn0lcs9fe3fhgcjtoei); } $this->_laeyfeagmaz65fuz = new RandomRange($_1qmn0lcs9fe3fhgcjtoei); } public function DrawWithinBounds(GDGraphics $_Odpactlpt9alump3ildxo, Rectangle $_Otc3sg3zicxt4xlb649na) { $this->DrawFast($_Odpactlpt9alump3ildxo, $_Otc3sg3zicxt4xlb649na); } public function DrawFast(GDGraphics $_lb17rb74h8er045depvmundmcj, Rectangle $_ll02j2i7q71roi8xbjs03 = null) { if (null == $_ll02j2i7q71roi8xbjs03) { $_ll02j2i7q71roi8xbjs03 = $_lb17rb74h8er045depvmundmcj->GetBounds(); } $_il53hv9e1u4pnrjs = $_lb17rb74h8er045depvmundmcj->GetGDImage(); $_Ibnpnf9nl3fbupioko1mm = $_ll02j2i7q71roi8xbjs03->get_Width(); $_0hzr4krp56ga0kp3a6cy2 = $_ll02j2i7q71roi8xbjs03->get_Height(); $_0uny8s30ls73fg30t55m1 = $this->get_Center(); if (is_null($_0uny8s30ls73fg30t55m1)) { $_0uny8s30ls73fg30t55m1 = Point::At(RandomizationHelper::RandomFromRange(0, $_Ibnpnf9nl3fbupioko1mm), RandomizationHelper::RandomFromRange(0, $_0hzr4krp56ga0kp3a6cy2)); } $_0k9krhbng1wb67073eofipai41 = $_0uny8s30ls73fg30t55m1->get_X(); $_imy7nri2pp8umo0w = $_0uny8s30ls73fg30t55m1->get_Y(); $_like6mu3p2n8xk7krdzry = (!is_null($this->_laeyfeagmaz65fuz) && $this->_laeyfeagmaz65fuz->get_IsRandomized()); $_0od65rxt3t1yt8gqcqryf = $this->get_AngleDelta(); $_o6yo0qlgcik59r6r = $this->get_Prototype()->get_Outline(); $_l6lh3rwmrhxb1lsrb0xgdjguee = $_o6yo0qlgcik59r6r->get_LayerCount(); $_oh57giollu8k6d66 = false; for ($_o28it7ruen8yxq5dl1ecs2c28a = 0; $_o28it7ruen8yxq5dl1ecs2c28a < $_l6lh3rwmrhxb1lsrb0xgdjguee; $_o28it7ruen8yxq5dl1ecs2c28a++) { $_ltjmiec0x4ck7d2gyvufo = $_o6yo0qlgcik59r6r[$_o28it7ruen8yxq5dl1ecs2c28a]; $_oh57giollu8k6d66 = $_ltjmiec0x4ck7d2gyvufo[0]->get_Color()->get_IsRandomized(); if ($_oh57giollu8k6d66) { break; } } if (!$_oh57giollu8k6d66) { $_oug34l313he2xn3tuld7k = array(); for ($_o28it7ruen8yxq5dl1ecs2c28a = 0; $_o28it7ruen8yxq5dl1ecs2c28a < $_l6lh3rwmrhxb1lsrb0xgdjguee; $_o28it7ruen8yxq5dl1ecs2c28a++) { $_ltjmiec0x4ck7d2gyvufo = $_o6yo0qlgcik59r6r[$_o28it7ruen8yxq5dl1ecs2c28a]; $_oug34l313he2xn3tuld7k[$_o28it7ruen8yxq5dl1ecs2c28a] = array(); $_oug34l313he2xn3tuld7k[$_o28it7ruen8yxq5dl1ecs2c28a][0] = $_ltjmiec0x4ck7d2gyvufo->get_Thickness(); $_ln8tdkc5aanth3ru7kplozpp9c = $_ltjmiec0x4ck7d2gyvufo[0]->get_Color(); $_1z6ixyh7hhse1a378b021 = imagecolorallocate($_il53hv9e1u4pnrjs, $_ln8tdkc5aanth3ru7kplozpp9c->get_R(), $_ln8tdkc5aanth3ru7kplozpp9c->get_G(), $_ln8tdkc5aanth3ru7kplozpp9c->get_B()); $_oug34l313he2xn3tuld7k[$_o28it7ruen8yxq5dl1ecs2c28a][1] = $_1z6ixyh7hhse1a378b021; } } $_o3b9szn88ozw7azhif6hqubuu3 = Circle::MaxRadius(Point::At($_0k9krhbng1wb67073eofipai41, $_imy7nri2pp8umo0w), $_ll02j2i7q71roi8xbjs03); for ($_0qr5uyf5d34c425biuxgy = 0; $_0qr5uyf5d34c425biuxgy <= 360; $_0qr5uyf5d34c425biuxgy += $_0od65rxt3t1yt8gqcqryf) { $_o69jhb98f6qioy7yvtwn9 = $_0qr5uyf5d34c425biuxgy * M_PI / 180; $_ie01xz1dcrz34cwk = $_0k9krhbng1wb67073eofipai41; $_Onk2wnoc5696rhh5joioz38rkv = $_imy7nri2pp8umo0w; $_1dbbddsrqhnonwimfg8lk = $_0k9krhbng1wb67073eofipai41 + cos($_o69jhb98f6qioy7yvtwn9) * $_o3b9szn88ozw7azhif6hqubuu3; $_1rkvy1ourl0eb8qebgwd3qac5d = $_imy7nri2pp8umo0w + sin($_o69jhb98f6qioy7yvtwn9) * $_o3b9szn88ozw7azhif6hqubuu3; $_Ilpwk5mczjd40scj9nakuqfyce = 0; $_O135dlohzc8sh9mu70n142ago4 = $_1dbbddsrqhnonwimfg8lk - $_ie01xz1dcrz34cwk; $_om6cfwkiz8fg7tcray7wd = $_1rkvy1ourl0eb8qebgwd3qac5d - $_Onk2wnoc5696rhh5joioz38rkv; $_187ioncdgh5abcyn = -1; $_0dfkoufny03o7tb7 = 1; if (0 == $_O135dlohzc8sh9mu70n142ago4) { $_0dfkoufny03o7tb7 = 0; } else if (0 == $_om6cfwkiz8fg7tcray7wd) { $_187ioncdgh5abcyn = 0; } else { $_Ilpwk5mczjd40scj9nakuqfyce = atan2($_O135dlohzc8sh9mu70n142ago4, $_om6cfwkiz8fg7tcray7wd); $_187ioncdgh5abcyn *= cos($_Ilpwk5mczjd40scj9nakuqfyce); $_0dfkoufny03o7tb7 *= sin($_Ilpwk5mczjd40scj9nakuqfyce); } $_O2xehfd1sju3fqqy4djzytulzz = 0; for ($_o28it7ruen8yxq5dl1ecs2c28a = 0; $_o28it7ruen8yxq5dl1ecs2c28a < $_l6lh3rwmrhxb1lsrb0xgdjguee; $_o28it7ruen8yxq5dl1ecs2c28a++) { $_ltjmiec0x4ck7d2gyvufo = $_o6yo0qlgcik59r6r[$_o28it7ruen8yxq5dl1ecs2c28a]; if ($_oh57giollu8k6d66) { $_ln8tdkc5aanth3ru7kplozpp9c = $_ltjmiec0x4ck7d2gyvufo[0]->get_Color(); $_1z6ixyh7hhse1a378b021 = imagecolorallocate($_il53hv9e1u4pnrjs, $_ln8tdkc5aanth3ru7kplozpp9c->get_R(), $_ln8tdkc5aanth3ru7kplozpp9c->get_G(), $_ln8tdkc5aanth3ru7kplozpp9c->get_B()); $_1qzpqqyi6vii1dari09hd = $_ltjmiec0x4ck7d2gyvufo->get_Thickness(); } else { $_1z6ixyh7hhse1a378b021 = $_oug34l313he2xn3tuld7k[$_o28it7ruen8yxq5dl1ecs2c28a][1]; $_1qzpqqyi6vii1dari09hd = $_oug34l313he2xn3tuld7k[$_o28it7ruen8yxq5dl1ecs2c28a][0]; } $_1xbk744a0iesnvxm = $_187ioncdgh5abcyn * $_1qzpqqyi6vii1dari09hd; $_lv6nlzepsjokwlbs5z6wm = $_0dfkoufny03o7tb7 * $_1qzpqqyi6vii1dari09hd; if ($_1qzpqqyi6vii1dari09hd == 1) { imageline($_il53hv9e1u4pnrjs, $_ie01xz1dcrz34cwk, $_Onk2wnoc5696rhh5joioz38rkv, $_1dbbddsrqhnonwimfg8lk, $_1rkvy1ourl0eb8qebgwd3qac5d, $_1z6ixyh7hhse1a378b021); } else { $_o8ipvmrayd8ziradfam01 = 2 * $_1qzpqqyi6vii1dari09hd + 1; for ($_Iwdwmzdv7lqmvhid = 0; $_Iwdwmzdv7lqmvhid < $_o8ipvmrayd8ziradfam01; $_Iwdwmzdv7lqmvhid++) { imageline($_il53hv9e1u4pnrjs, $_ie01xz1dcrz34cwk + $_Iwdwmzdv7lqmvhid * ($_187ioncdgh5abcyn / 2.0), $_Onk2wnoc5696rhh5joioz38rkv + $_Iwdwmzdv7lqmvhid * ($_0dfkoufny03o7tb7 / 2.0), $_1dbbddsrqhnonwimfg8lk + $_Iwdwmzdv7lqmvhid * ($_187ioncdgh5abcyn / 2.0), $_1rkvy1ourl0eb8qebgwd3qac5d + $_Iwdwmzdv7lqmvhid * ($_0dfkoufny03o7tb7 / 2.0), $_1z6ixyh7hhse1a378b021); } } $_ie01xz1dcrz34cwk += $_1xbk744a0iesnvxm; $_Onk2wnoc5696rhh5joioz38rkv += $_lv6nlzepsjokwlbs5z6wm; $_1dbbddsrqhnonwimfg8lk += $_1xbk744a0iesnvxm; $_1rkvy1ourl0eb8qebgwd3qac5d += $_lv6nlzepsjokwlbs5z6wm; } if ($_like6mu3p2n8xk7krdzry) { $_0od65rxt3t1yt8gqcqryf = $this->get_AngleDelta(); } } } } class ChessBoard extends ShapeCollection { public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Rectangle(); } return $this->m_Prototype; } private $_iy720958linwnj4d5uslz; public function get_TileSizeRange() { return $this->_iy720958linwnj4d5uslz; } public function set_TileSizeRange(RandomRange $_Obrh3t5kw5m45vin) { $this->_iy720958linwnj4d5uslz = $_Obrh3t5kw5m45vin; } public function get_TileSize() { if (!isset($this->_iy720958linwnj4d5uslz)) { return 0; } return $this->_iy720958linwnj4d5uslz->Next; } public function set_TileSize($_1i0h6y7jemtwtq9joui4pa1rfd) { $this->_iy720958linwnj4d5uslz = new RandomRange($_1i0h6y7jemtwtq9joui4pa1rfd); } const DefaultScalingPercentage = 100; private $_0i3k6rke9lc78serri2mv; public function get_xScalingPercentageRange() { return $this->_0i3k6rke9lc78serri2mv; } public function set_xScalingPercentageRange(RandomRange $_0pkxrye8vadypx89klosi) { if (0 >= $_0pkxrye8vadypx89klosi->Min || 200 <= $_0pkxrye8vadypx89klosi->Max) { throw new Exception("\123\x68\x61\160\145\x20\163\143\141\154\x69\156\x67\x20\x70\145\162\x63\145\x6e\164\x61\x67\145\x20\155\165\x73\164\x20\x62\x65\40\x62\x65\x74\167\x65\x65\156\x20\61\40\x61\x6e\x64\x20\61\x39\71\x3a\40\x3c{$_0pkxrye8vadypx89klosi->Min}\54\40{$_0pkxrye8vadypx89klosi->Max}\76"); } $this->_0i3k6rke9lc78serri2mv = $_0pkxrye8vadypx89klosi; } public function get_xScalingPercentage() { if (isset($this->_0i3k6rke9lc78serri2mv)) { return $this->_0i3k6rke9lc78serri2mv->Next; } return self::DefaultScalingPercentage; } public function set_xScalingPercentage($_i1yco0zcae3dpx8w7epkg) { if (self::DefaultScalingPercentage == $_i1yco0zcae3dpx8w7epkg) { unset($this->_0i3k6rke9lc78serri2mv); } else { $this->xScalingPercentageRange = new RandomRange($_i1yco0zcae3dpx8w7epkg); } } public function get_xScalingFactor() { return $this->xScalingPercentage / 100.00; } public function DrawFast(GDGraphics $_oghyh36xq65lcvt6egw17, $_Ibnp70e586k92nn3 = null) { if (is_null($this->Prototype->FillColor)) { return; } $_1koli0a1ezibuzx8 = $_oghyh36xq65lcvt6egw17->GetGDImage(); $_Iq082v3ocdvh7mzwpzsnq = $this->get_Prototype()->get_FillColor(); $_o3keaqry7b2q38r7 = imagecolorallocate($_1koli0a1ezibuzx8, $_Iq082v3ocdvh7mzwpzsnq->get_R(), $_Iq082v3ocdvh7mzwpzsnq->get_G(), $_Iq082v3ocdvh7mzwpzsnq->get_B()); if (is_null($_Ibnp70e586k92nn3)) { $_Ibnp70e586k92nn3 = $_oghyh36xq65lcvt6egw17->GetBounds(); } $_l4v4d835izad2kmi = RandomizationHelper::RandomFromRange(0, 100) % 2; $_O2i8xmb9gr3dtotd = $_Ibnp70e586k92nn3->Width; $_i46yiybr081902az = $_Ibnp70e586k92nn3->Height; $_1oo9awm1253lc4nkgojn3 = $this->TileSize; $_ogtivufjg189jtoyi6po0 = (int) round($_i46yiybr081902az / $_1oo9awm1253lc4nkgojn3); $_06p2exd6cdbyfkesfpxhe = (int) round(100 * $_O2i8xmb9gr3dtotd / $_1oo9awm1253lc4nkgojn3 / $this->xScalingPercentage); $_lmfdievknz1pnoix9d0is = $_O2i8xmb9gr3dtotd / $_06p2exd6cdbyfkesfpxhe; $_1zc3hvb94yoj176d = $_i46yiybr081902az / $_ogtivufjg189jtoyi6po0; for ($_i6vfyhw5uba9gxdyeuy08 = 0; $_i6vfyhw5uba9gxdyeuy08 < $_ogtivufjg189jtoyi6po0; $_i6vfyhw5uba9gxdyeuy08++) { for ($_Iy0tnak568a5piar5lz9tg0tg8 = 0; $_Iy0tnak568a5piar5lz9tg0tg8 < $_06p2exd6cdbyfkesfpxhe; $_Iy0tnak568a5piar5lz9tg0tg8++) { if (($_i6vfyhw5uba9gxdyeuy08 + $_Iy0tnak568a5piar5lz9tg0tg8) % 2 == $_l4v4d835izad2kmi) { imagefilledrectangle($_1koli0a1ezibuzx8, $_Iy0tnak568a5piar5lz9tg0tg8 * $_lmfdievknz1pnoix9d0is, $_i6vfyhw5uba9gxdyeuy08 * $_1zc3hvb94yoj176d, ($_Iy0tnak568a5piar5lz9tg0tg8 + 1) * $_lmfdievknz1pnoix9d0is, ($_i6vfyhw5uba9gxdyeuy08 + 1) * $_1zc3hvb94yoj176d, $_o3keaqry7b2q38r7); } } } } public function DrawWithinBounds(GDGraphics $_itlfsy2wnmxyik8uac9j2, Rectangle $_luv1bq1l1p33kqdwxld6r) { $_0tvgc0puyye4xmby = RandomizationHelper::RandomFromRange(0, 100) % 2; $_1co1pel3hhdshtr2orvnfi7k7v = $_luv1bq1l1p33kqdwxld6r->Width; $_ir2dr6bmlkmba4mx = $_luv1bq1l1p33kqdwxld6r->Height; $_Oygjg79umsog9x6nfcnt6 = $this->TileSize; $_1bbx5073saeyigme = (int) round($_ir2dr6bmlkmba4mx / $_Oygjg79umsog9x6nfcnt6); $_023wd39m3tk16aadrptmjsw12r = (int) round(100 * $_1co1pel3hhdshtr2orvnfi7k7v / $_Oygjg79umsog9x6nfcnt6 / $this->xScalingPercentage); $_1e922ku3ypnnq6nyfjimm = $_1co1pel3hhdshtr2orvnfi7k7v / $_023wd39m3tk16aadrptmjsw12r; $_Ohrlub4chg53b4sg = $_ir2dr6bmlkmba4mx / $_1bbx5073saeyigme; for ($_Oldogofbclhds8yia8wtj = 0; $_Oldogofbclhds8yia8wtj < $_1bbx5073saeyigme; $_Oldogofbclhds8yia8wtj++) { for ($_Os5f3e4o21odcghonfpfcvvz82 = 0; $_Os5f3e4o21odcghonfpfcvvz82 < $_023wd39m3tk16aadrptmjsw12r; $_Os5f3e4o21odcghonfpfcvvz82++) { $_Ijqnttuy8qnweceqs5m1mjnzcv = Point::At($_Os5f3e4o21odcghonfpfcvvz82 * $_1e922ku3ypnnq6nyfjimm, $_Oldogofbclhds8yia8wtj * $_Ohrlub4chg53b4sg); $_I67t6eutlna7qqdlbnd6pq0ifs = Rectangle::FromPointAndSize($_Ijqnttuy8qnweceqs5m1mjnzcv, $_1e922ku3ypnnq6nyfjimm, $_Ohrlub4chg53b4sg); $_Oybkfxgmxbqn3431wk4ti[]= $_I67t6eutlna7qqdlbnd6pq0ifs; if (($_Oldogofbclhds8yia8wtj + $_Os5f3e4o21odcghonfpfcvvz82) % 2 == $_0tvgc0puyye4xmby) { if (!is_null($this->Prototype->FillColor)) { $_I67t6eutlna7qqdlbnd6pq0ifs->FillColor = $this->Prototype->FillColor; $_I67t6eutlna7qqdlbnd6pq0ifs->Draw($_itlfsy2wnmxyik8uac9j2); } } } } } } class ConcentricCircles extends ShapeCollection { public function __construct() { } const DefaultSpacing = 5; private $_Oc3ad3j2th9xty6fdsk3tubakq; public function get_SpacingRange() { return $this->_Oc3ad3j2th9xty6fdsk3tubakq; } public function set_SpacingRange($_l1xaf8gfr2qpd54m4vtbpxdax7) { $this->_Oc3ad3j2th9xty6fdsk3tubakq = $_l1xaf8gfr2qpd54m4vtbpxdax7; } public function get_Spacing() { if (is_null($this->_Oc3ad3j2th9xty6fdsk3tubakq)) { return $this->DefaultSpacing; } return $this->_Oc3ad3j2th9xty6fdsk3tubakq->Next; } public function set_Spacing($_Ob1oqgst9e9bhrgj) { if (0 >= $_Ob1oqgst9e9bhrgj) { throw new Exception("\123\150\x61\x70\145\x20\x73\x70\x61\143\151\x6e\x67\40\x6d\165\x73\164\x20\142\145\40\141\40\160\157\x73\151\164\151\x76\145\40\x6e\165\155\x62\x65\162" . $_Ob1oqgst9e9bhrgj); } $this->_Oc3ad3j2th9xty6fdsk3tubakq = new RandomRange($_Ob1oqgst9e9bhrgj); } public function get_Prototype() { if (is_null($this->m_Prototype)) { $this->m_Prototype = new Circle(); } return $this->m_Prototype; } public function DrawWithinBounds(GDGraphics $_odee29sbho3okufr, Rectangle $_ii2hb7u6qf38kfat6uuipgnjru) { $this->DrawFast($_odee29sbho3okufr, $_ii2hb7u6qf38kfat6uuipgnjru); } public function DrawFast(GDGraphics $_la1pltvl52elze3tm091x7rmtp, Rectangle $_1y4wyo5zg5n6746oy5uin6qfaa) { $_ojjn0016h756r57q5x8miau4iw = $_la1pltvl52elze3tm091x7rmtp->GetGDImage(); $_1uuoyzaxvn9qbqzr = $_1y4wyo5zg5n6746oy5uin6qfaa->get_TopLeft()->get_X(); $_o44lk75bpi8v7muh9uqnpn14le = $_1y4wyo5zg5n6746oy5uin6qfaa->get_TopLeft()->get_Y(); $_l5uth5x3cu3cyd0ibc2bz7bbup = $_1y4wyo5zg5n6746oy5uin6qfaa->get_BottomRight()->get_X(); $_179dxy6caau1g1qq = $_1y4wyo5zg5n6746oy5uin6qfaa->get_BottomRight()->get_Y(); $_lzs0fgv3skjgl4aj8clh6a2vz6 = $this->get_Prototype()->get_Center(); if (is_null($_lzs0fgv3skjgl4aj8clh6a2vz6)) { $_lzs0fgv3skjgl4aj8clh6a2vz6 = Point::At( RandomizationHelper::RandomFromRange($_1uuoyzaxvn9qbqzr, $_l5uth5x3cu3cyd0ibc2bz7bbup), RandomizationHelper::RandomFromRange($_o44lk75bpi8v7muh9uqnpn14le, $_179dxy6caau1g1qq) ); } $_1nwjr9obkxaf9oyfvwljxcu6di = $_lzs0fgv3skjgl4aj8clh6a2vz6->get_IsRandomized(); $_Ihr6uu28tys76qv1p3i0tbx68f = $_lzs0fgv3skjgl4aj8clh6a2vz6->get_X(); $_Ibownui38xrtol04 = $_lzs0fgv3skjgl4aj8clh6a2vz6->get_Y(); $_ot9otqz89fcpggviagh8l = $this->_Oc3ad3j2th9xty6fdsk3tubakq->get_IsRandomized(); $_086duuj3c2sz1ifi = $this->get_Spacing() + 1; $_Olpzssfenq3143cr = $this->get_Prototype()->get_Outline(); $_Impjcw6vj2d5d811qq5kxspzlm = $_Olpzssfenq3143cr->get_LayerCount(); $_o74m7c1bfcfa01i4 = false; for ($_Of6brb4unqk6f0dm = 0; $_Of6brb4unqk6f0dm < $_Impjcw6vj2d5d811qq5kxspzlm; $_Of6brb4unqk6f0dm++) { $_ixbiqphjvawggs0fmm6rslwigg = $_Olpzssfenq3143cr[$_Of6brb4unqk6f0dm]; $_o74m7c1bfcfa01i4 = $_ixbiqphjvawggs0fmm6rslwigg[0]->get_Color()->get_IsRandomized(); if ($_o74m7c1bfcfa01i4) { break; } } if (!$_o74m7c1bfcfa01i4) { $_odqw159dfbcpblik = array(); for ($_Of6brb4unqk6f0dm = 0; $_Of6brb4unqk6f0dm < $_Impjcw6vj2d5d811qq5kxspzlm; $_Of6brb4unqk6f0dm++) { $_ixbiqphjvawggs0fmm6rslwigg = $_Olpzssfenq3143cr[$_Of6brb4unqk6f0dm]; $_odqw159dfbcpblik[$_Of6brb4unqk6f0dm] = array(); $_odqw159dfbcpblik[$_Of6brb4unqk6f0dm][0] = $_ixbiqphjvawggs0fmm6rslwigg->get_Thickness(); $_02wogrxljzpurmo91kaqoza5if = $_ixbiqphjvawggs0fmm6rslwigg[0]->get_Color(); $_I9n2darc47agi52y = imagecolorallocate($_ojjn0016h756r57q5x8miau4iw, $_02wogrxljzpurmo91kaqoza5if->get_R(), $_02wogrxljzpurmo91kaqoza5if->get_G(), $_02wogrxljzpurmo91kaqoza5if->get_B()); $_odqw159dfbcpblik[$_Of6brb4unqk6f0dm][1] = $_I9n2darc47agi52y; } } $_0wnadjtpiohb0tps = Circle::MaxRadius(Point::At($_Ihr6uu28tys76qv1p3i0tbx68f, $_Ibownui38xrtol04), $_1y4wyo5zg5n6746oy5uin6qfaa); $_Izq1jzak96nqkea0 = 1; while ($_Izq1jzak96nqkea0 < $_0wnadjtpiohb0tps) { if ($_1nwjr9obkxaf9oyfvwljxcu6di) { $_Ihr6uu28tys76qv1p3i0tbx68f = $_lzs0fgv3skjgl4aj8clh6a2vz6->get_X(); $_Ibownui38xrtol04 = $_lzs0fgv3skjgl4aj8clh6a2vz6->get_Y(); } $_0m936ahkfej549yn = 0; for ($_Of6brb4unqk6f0dm = 0; $_Of6brb4unqk6f0dm < $_Impjcw6vj2d5d811qq5kxspzlm; $_Of6brb4unqk6f0dm++) { $_ixbiqphjvawggs0fmm6rslwigg = $_Olpzssfenq3143cr[$_Of6brb4unqk6f0dm]; if ($_o74m7c1bfcfa01i4) { $_02wogrxljzpurmo91kaqoza5if = $_ixbiqphjvawggs0fmm6rslwigg[0]->get_Color(); $_I9n2darc47agi52y = imagecolorallocate($_ojjn0016h756r57q5x8miau4iw, $_02wogrxljzpurmo91kaqoza5if->get_R(), $_02wogrxljzpurmo91kaqoza5if->get_G(), $_02wogrxljzpurmo91kaqoza5if->get_B()); $_isvxwg9mq615fb74j9zn1 = $_ixbiqphjvawggs0fmm6rslwigg->get_Thickness(); } else { $_I9n2darc47agi52y = $_odqw159dfbcpblik[$_Of6brb4unqk6f0dm][1]; $_isvxwg9mq615fb74j9zn1 = $_odqw159dfbcpblik[$_Of6brb4unqk6f0dm][0]; } for ($_1w4iaqvhj0vyitrn8c9dq = 0; $_1w4iaqvhj0vyitrn8c9dq < $_isvxwg9mq615fb74j9zn1; $_1w4iaqvhj0vyitrn8c9dq++) { $_0k0eb5c78vzsdeo62z078 = $_Izq1jzak96nqkea0 + $_0m936ahkfej549yn + $_1w4iaqvhj0vyitrn8c9dq; imageellipse($_ojjn0016h756r57q5x8miau4iw, $_Ihr6uu28tys76qv1p3i0tbx68f, $_Ibownui38xrtol04, 2 * $_0k0eb5c78vzsdeo62z078, 2 * $_0k0eb5c78vzsdeo62z078, $_I9n2darc47agi52y); } $_0m936ahkfej549yn += $_isvxwg9mq615fb74j9zn1; } if ($_ot9otqz89fcpggviagh8l) { $_086duuj3c2sz1ifi = $this->get_Spacing() + 1; } $_Izq1jzak96nqkea0 += $_086duuj3c2sz1ifi; } } } abstract class Effect { protected $m_LevelRange; public function get_LevelRange() { return $this->m_LevelRange; } public function set_LevelRange($_0a76qa3ga7wpk2lf20hkk) { $this->m_LevelRange = $_0a76qa3ga7wpk2lf20hkk; } public function get_Level() { if (null == $this->m_LevelRange) { return $this->DefaultLevel; } return $this->m_LevelRange->Next; } public function set_Level($_iswpnn3c43bd56r72nkke) { if (1 > $_iswpnn3c43bd56r72nkke || 10 < $_iswpnn3c43bd56r72nkke) { throw new Exception("\104\151\163\x74\157\162\164\151\157\156\40\x6c\145\166\145\154\x20\155\165\x73\164\40\142\x65\x20\x62\x65\164\167\145\145\x6e\x20\61\x20\141\156\x64\40\x31\x30", $_iswpnn3c43bd56r72nkke); } $this->m_LevelRange = new RandomRange($_iswpnn3c43bd56r72nkke); } public abstract function ApplyWithinBounds(GDGraphics $_Ol3072bb0ryzukxf, Rectangle $_Oj2cf7kgiij9hhnqb6188goe4y); public function Apply(GDGraphics $_Iuxzr256a8g6c8nx74ohhjypqf) { $this->ApplyWithinBounds($_Iuxzr256a8g6c8nx74ohhjypqf, $_Iuxzr256a8g6c8nx74ohhjypqf->GetBounds()); } public function __get($_04e2zwi360nj5okv) { if (method_exists($this, ($_0v3slwvph622pxzo = "\147\x65\164\137".$_04e2zwi360nj5okv))) { return $this->$_0v3slwvph622pxzo(); } else return; } public function __isset($_Ipmzrlgnoc62y5paoix2k) { if (method_exists($this, ($_1lyu8ok0daintaqn37tevosajv = "\151\163\163\x65\164\137".$_Ipmzrlgnoc62y5paoix2k))) { return $this->$_1lyu8ok0daintaqn37tevosajv(); } else return; } public function __set($_lcmvpf5hzwuy00ji, $_o3clyz2d6tm272cx) { if (method_exists($this, ($_Oaj18s85a1214iuo21dad79aio = "\163\145\x74\137".$_lcmvpf5hzwuy00ji))) { $this->$_Oaj18s85a1214iuo21dad79aio($_o3clyz2d6tm272cx); } } public function __unset($_ib2zm7wuvnjjca2s5ugbvbmdcy) { if (method_exists($this, ($_obqz5ibd6l1roqmh = "\165\156\163\145\x74\x5f".$_ib2zm7wuvnjjca2s5ugbvbmdcy))) { $this->$_obqz5ibd6l1roqmh(); } } } class Fuzz extends Effect { private $_O9ypdw6mw887n5ko85543 = true; public function get_Horizontal() { return $this->_O9ypdw6mw887n5ko85543; } public function set_Horizontal($_0udjaagpnj5crwx1) { $this->_O9ypdw6mw887n5ko85543 = $_0udjaagpnj5crwx1; } private $_iwcxywyjgj61rcs2i3qrl6ufgw = true; public function get_Vertical() { return $this->_iwcxywyjgj61rcs2i3qrl6ufgw; } public function set_Vertical($_l61ilnja3c8w9k2o) { $this->_iwcxywyjgj61rcs2i3qrl6ufgw = $_l61ilnja3c8w9k2o; } public function ApplyWithinBounds(GDGraphics $_lqv0rmjrq9gfrjghbcmsv, Rectangle $_Iqj2k8fak58zt56p4e3g7) { $_12ycirrwktu653y1hhinw = $this->get_Level(); $_1udlt01zu35xjiiep8dyh = $_Iqj2k8fak58zt56p4e3g7->get_Width(); $_0t7tqptsdggdnnjibamzhchs7e = $_Iqj2k8fak58zt56p4e3g7->get_Height(); $_l1guv5edhn888cjg = $_lqv0rmjrq9gfrjghbcmsv->GetGDImage(); $_ltaev94e9an3fdo59ywpzcxq0c = $this->get_Horizontal(); $_Igomazs4mnz6xw40t4gvxu4lya = $this->get_Vertical(); $_olyt0xc63csucke9 = imagecreatetruecolor($_1udlt01zu35xjiiep8dyh, $_0t7tqptsdggdnnjibamzhchs7e); imagecopy($_olyt0xc63csucke9, $_l1guv5edhn888cjg, 0, 0, 0, 0, $_1udlt01zu35xjiiep8dyh, $_0t7tqptsdggdnnjibamzhchs7e); for ($_1y0smyx5z7akbj0q41t8tg4wu0 = 0; $_1y0smyx5z7akbj0q41t8tg4wu0 < $_0t7tqptsdggdnnjibamzhchs7e; $_1y0smyx5z7akbj0q41t8tg4wu0++) { for ($_ivntntxubja9x9hlbopmomgvz6 = 0; $_ivntntxubja9x9hlbopmomgvz6 < $_1udlt01zu35xjiiep8dyh; $_ivntntxubja9x9hlbopmomgvz6++) { $_i446grozwzmjhuafvwslmws5f0 = false; $_0jycmfg029uctzo4kszo0ed9qt = $_ivntntxubja9x9hlbopmomgvz6; if ($_ltaev94e9an3fdo59ywpzcxq0c) { $_0tz368a6o1pdsno0 = (mt_rand(0, 10) / 10.0) - 0.5; $_0jycmfg029uctzo4kszo0ed9qt = $_ivntntxubja9x9hlbopmomgvz6 + $_0tz368a6o1pdsno0 * $_12ycirrwktu653y1hhinw; if ($_0jycmfg029uctzo4kszo0ed9qt <= 0 || $_0jycmfg029uctzo4kszo0ed9qt >= $_1udlt01zu35xjiiep8dyh) { $_i446grozwzmjhuafvwslmws5f0 = true; $_0jycmfg029uctzo4kszo0ed9qt = 1; } } $_I5l9tar2oicv6wcqdzdmn = $_1y0smyx5z7akbj0q41t8tg4wu0; if ($_Igomazs4mnz6xw40t4gvxu4lya) { $_16nrlbn33jsls3ur4fp7h = (mt_rand(0, 10) / 10.0) - 0.5; $_I5l9tar2oicv6wcqdzdmn = $_1y0smyx5z7akbj0q41t8tg4wu0 + $_16nrlbn33jsls3ur4fp7h * $_12ycirrwktu653y1hhinw; if ($_I5l9tar2oicv6wcqdzdmn <= 0 || $_I5l9tar2oicv6wcqdzdmn >= $_0t7tqptsdggdnnjibamzhchs7e) { $_i446grozwzmjhuafvwslmws5f0 = true; $_I5l9tar2oicv6wcqdzdmn = 1; } } if (!$_i446grozwzmjhuafvwslmws5f0) { imagecopy($_l1guv5edhn888cjg, $_olyt0xc63csucke9, $_0jycmfg029uctzo4kszo0ed9qt, $_I5l9tar2oicv6wcqdzdmn, $_ivntntxubja9x9hlbopmomgvz6, $_1y0smyx5z7akbj0q41t8tg4wu0, 1, 1); } } } imagedestroy($_olyt0xc63csucke9); } } class Wave extends Effect { private $_0eos42hwxjr7839kzgp7wxbqih = true; public function get_Horizontal() { return $this->_0eos42hwxjr7839kzgp7wxbqih; } public function set_Horizontal($_Iks42j6hpu1z79b1) { $this->_0eos42hwxjr7839kzgp7wxbqih = $_Iks42j6hpu1z79b1; } private $_Ooz5nx594fjlpfr9rys63vyap3 = true; public function get_Vertical() { return $this->_Ooz5nx594fjlpfr9rys63vyap3; } public function set_Vertical($_O4pdtw75d14pbvrxt2v07) { $this->_Ooz5nx594fjlpfr9rys63vyap3 = $_O4pdtw75d14pbvrxt2v07; } protected $m_AmplitudeRange; const DefaultAmplitude = 32; public function get_AmplitudeRange() { return $this->m_AmplitudeRange; } public function set_AmplitudeRange($_ibqfww8xewax7sz2nttmx) { $this->m_AmplitudeRange = $_ibqfww8xewax7sz2nttmx; } public function get_Amplitude() { if (is_null($this->m_AmplitudeRange)) { return self::DefaultAmplitude; } return $this->m_AmplitudeRange->Next; } public function set_Amplitude($_0yxmc7em1363d3ix) { if (0 > $_0yxmc7em1363d3ix) { throw new Exception("\123\151\x6e\145\40\141\155\160\154\x69\164\165\x64\145\40\155\x75\163\164\40\142\145\x20\x61\40\x70\x6f\163\x69\164\x69\x76\x65\40\156\165\155\142\145\x72", $_0yxmc7em1363d3ix); } $this->m_AmplitudeRange = new RandomRange($_0yxmc7em1363d3ix); } private $_0za8m6gerg8b2qdk2m2u8; public function get_OverflowColor() { return $this->_0za8m6gerg8b2qdk2m2u8; } public function set_OverflowColor(Color $_ol7ulazr31pzsgtp) { $this->_0za8m6gerg8b2qdk2m2u8 = $_ol7ulazr31pzsgtp; } public function ApplyWithinBounds(GDGraphics $_I9mfafok82kldebm165js, Rectangle $_oy29g3rl8e1h1k9qel2lf) { $_Opf8zpxrvnw1nc1t = $this->Level; $_0oxg8xtz253snu7s8smxnlcbct = (double)$this->Amplitude; $_Imutsu59t7opg72m = $_oy29g3rl8e1h1k9qel2lf->Width; $_ifgnu2snvhz6269b = $_oy29g3rl8e1h1k9qel2lf->Height; $_Io68lfr95l0kb7o0vrtkutlw4t = $_I9mfafok82kldebm165js->GetGDImage(); $_ltfvetdb3twp0zyccmoagd2kcc = $this->Horizontal; $_05kc5kg29b4w2dxtqo7ny3lym5 = $this->Vertical; $_oz11b4nr0mprjm8lu8sce = (!is_null($this->OverflowColor)); if ($_oz11b4nr0mprjm8lu8sce) { $_0n8smobm0sgrijtugsqkf = imagecolorallocate($_Io68lfr95l0kb7o0vrtkutlw4t, $this->OverflowColor->R, $this->OverflowColor->G, $this->OverflowColor->B); } $_0vvw9m2xoib3gpk5 = imagecreatetruecolor($_Imutsu59t7opg72m, $_ifgnu2snvhz6269b); imagecopy($_0vvw9m2xoib3gpk5, $_Io68lfr95l0kb7o0vrtkutlw4t, 0, 0, 0, 0, $_Imutsu59t7opg72m, $_ifgnu2snvhz6269b); for ($_0mlvil2q6bmh12jbhlkka = 0; $_0mlvil2q6bmh12jbhlkka < $_ifgnu2snvhz6269b; $_0mlvil2q6bmh12jbhlkka++) { for ($_Ob0ql39dio7kh999gqqu1nef38 = 0; $_Ob0ql39dio7kh999gqqu1nef38 < $_Imutsu59t7opg72m; $_Ob0ql39dio7kh999gqqu1nef38++) { $_Iyrhhav4f916qqm0ytt09 = false; $_oovaq8s4caxf2hyyb5uzv3yq86 = $_Ob0ql39dio7kh999gqqu1nef38; if ($_ltfvetdb3twp0zyccmoagd2kcc) { $_oovaq8s4caxf2hyyb5uzv3yq86 = round($_Ob0ql39dio7kh999gqqu1nef38 + ($_Opf8zpxrvnw1nc1t * sin(M_PI * $_0mlvil2q6bmh12jbhlkka / $_0oxg8xtz253snu7s8smxnlcbct))); if ($_oovaq8s4caxf2hyyb5uzv3yq86 <= 0 || $_oovaq8s4caxf2hyyb5uzv3yq86 >= $_Imutsu59t7opg72m) { $_Iyrhhav4f916qqm0ytt09 = true; $_oovaq8s4caxf2hyyb5uzv3yq86 = 1; } } $_iso7bjz7ts9q266v = $_0mlvil2q6bmh12jbhlkka; if ($_05kc5kg29b4w2dxtqo7ny3lym5) { $_iso7bjz7ts9q266v = round($_0mlvil2q6bmh12jbhlkka + ($_Opf8zpxrvnw1nc1t * cos(M_PI * $_Ob0ql39dio7kh999gqqu1nef38 / $_0oxg8xtz253snu7s8smxnlcbct))); if ($_iso7bjz7ts9q266v <= 0 || $_iso7bjz7ts9q266v >= $_ifgnu2snvhz6269b) { $_Iyrhhav4f916qqm0ytt09 = true; $_iso7bjz7ts9q266v = 1; } } if ($_Ob0ql39dio7kh999gqqu1nef38 == $_oovaq8s4caxf2hyyb5uzv3yq86 && $_0mlvil2q6bmh12jbhlkka == $_iso7bjz7ts9q266v) { continue; } if ($_Iyrhhav4f916qqm0ytt09 && $_oz11b4nr0mprjm8lu8sce) { imagesetpixel($_Io68lfr95l0kb7o0vrtkutlw4t, $_Ob0ql39dio7kh999gqqu1nef38, $_0mlvil2q6bmh12jbhlkka, $_0n8smobm0sgrijtugsqkf); } else { imagecopy($_Io68lfr95l0kb7o0vrtkutlw4t, $_0vvw9m2xoib3gpk5, $_oovaq8s4caxf2hyyb5uzv3yq86, $_iso7bjz7ts9q266v, $_Ob0ql39dio7kh999gqqu1nef38, $_0mlvil2q6bmh12jbhlkka, 1, 1); } } } imagedestroy($_0vvw9m2xoib3gpk5); $_l5xpb2uczib2z1l3g09err4l04 = array( array(1, 2, 1), array(2, 16, 2), array(1, 2, 1) ); imageconvolution($_Io68lfr95l0kb7o0vrtkutlw4t, $_l5xpb2uczib2z1l3g09err4l04, 27, 0); } } class Perspective extends Effect { public function ApplyWithinBounds(GDGraphics $_Omoc02g8splmwsz03redp, Rectangle $_1oxv6lifz13v647f2qpqt) { $_0jq5ipr7cxk9isdygwpn1 = $_1oxv6lifz13v647f2qpqt->Width; $_Ioquomugd5831h1p3k4vv = $_1oxv6lifz13v647f2qpqt->Height; $_lrbhnzgiednrg7oubhkc0 = $_Omoc02g8splmwsz03redp->GetGDImage(); $_if7iarad9dkk64u6 = 0; $_l2ooh9mi1552620zpszww5jjbb = 0; $_o7xwbw6jjmdo6gat = $_0jq5ipr7cxk9isdygwpn1; $_irb2vz10bbebyscw = $_Ioquomugd5831h1p3k4vv; $_ieolgy6iwwavhfqf = 0; $_0yvpbews39yot832deb56c84x5 = $_Ioquomugd5831h1p3k4vv; $_1bs1dd4r481rf7hr4284s22w8e = $_0jq5ipr7cxk9isdygwpn1; $_O1jirmbzqsu53crp = 0; $_0md3o0g1gbd976tffb29bhrjjj = 0; $_ogfjtrhlhnvqa1wdhqm77dxlzx = 0; $_lih5wrtf5xgviraq = $_0jq5ipr7cxk9isdygwpn1; $_0zrsmmvnt80wfk35chv77 = $_Ioquomugd5831h1p3k4vv; $_iextb23uorxfjcocvvep6 = 0; $_o8iwm3egokfy1hhf = $_Ioquomugd5831h1p3k4vv; $_Oy5q7v97n7ovt1d1x1uf7p9m6c = $_0jq5ipr7cxk9isdygwpn1; $_Ojgohoph64fw6fl8 = 0; $_1e3gwyhxl0sg2g3z = mt_rand(0,1); if(0 == $_1e3gwyhxl0sg2g3z) { $_Oy5q7v97n7ovt1d1x1uf7p9m6c = mt_rand(0.75 * $_0jq5ipr7cxk9isdygwpn1, 0.95 * $_0jq5ipr7cxk9isdygwpn1); } else { $_iextb23uorxfjcocvvep6 = mt_rand(0.05 * $_0jq5ipr7cxk9isdygwpn1, 0.25 * $_0jq5ipr7cxk9isdygwpn1); } $_I2rbjiwkttpf6t3lu13jwlmhvm = ($_1bs1dd4r481rf7hr4284s22w8e - $_if7iarad9dkk64u6) / ($_Oy5q7v97n7ovt1d1x1uf7p9m6c - $_0md3o0g1gbd976tffb29bhrjjj); $_0yth3mkybbp7b2y8 = ($_o7xwbw6jjmdo6gat - $_ieolgy6iwwavhfqf) / ($_lih5wrtf5xgviraq - $_iextb23uorxfjcocvvep6); $_Oobzvuln0x5igerwy2zo7 = ($_1bs1dd4r481rf7hr4284s22w8e - $_if7iarad9dkk64u6) - ($_Oy5q7v97n7ovt1d1x1uf7p9m6c - $_0md3o0g1gbd976tffb29bhrjjj); $_0iuh7gvxftt5vnvesztwq8z7se = ($_o7xwbw6jjmdo6gat - $_ieolgy6iwwavhfqf) - ($_lih5wrtf5xgviraq - $_iextb23uorxfjcocvvep6); $_ljqew4jmcpraocwxnnfnw32l0x = $_Omoc02g8splmwsz03redp->CloneContent(); $_079hfbydoajbsubthmhurg9hqv = imagecolorat($_ljqew4jmcpraocwxnnfnw32l0x, 1, $_Ioquomugd5831h1p3k4vv - 1); $_ozieqvh8k2bc2jyxhdxwov3f2o = ($_079hfbydoajbsubthmhurg9hqv >> 16) & 0xFF; $_1geaco2bocpjsmhz = ($_079hfbydoajbsubthmhurg9hqv >> 8) & 0xFF; $_076tpfpeb6z4h7n03awnb = $_079hfbydoajbsubthmhurg9hqv & 0xFF; $_lwmfxrpt1ny3980qwwl8o = imagecolorallocate($_lrbhnzgiednrg7oubhkc0, $_ozieqvh8k2bc2jyxhdxwov3f2o, $_1geaco2bocpjsmhz, $_076tpfpeb6z4h7n03awnb); if(0 == $_1e3gwyhxl0sg2g3z) { imagefilledrectangle($_lrbhnzgiednrg7oubhkc0, 0, 0, $_0jq5ipr7cxk9isdygwpn1, $_Ioquomugd5831h1p3k4vv, $_lwmfxrpt1ny3980qwwl8o); } else { imagefilledrectangle($_lrbhnzgiednrg7oubhkc0, 0, 0, $_0jq5ipr7cxk9isdygwpn1, $_Ioquomugd5831h1p3k4vv, $_lwmfxrpt1ny3980qwwl8o); } for ($_lxdb7790xvs90uh0m01vm8b0pp = 0; $_lxdb7790xvs90uh0m01vm8b0pp < $_Ioquomugd5831h1p3k4vv; $_lxdb7790xvs90uh0m01vm8b0pp++) { $_1bqwcaz3wxpmpefmt9j9j69ooq = ($_lxdb7790xvs90uh0m01vm8b0pp / ($_Ioquomugd5831h1p3k4vv * 1.00)) * $_0yth3mkybbp7b2y8 + (($_Ioquomugd5831h1p3k4vv - $_lxdb7790xvs90uh0m01vm8b0pp) / ($_Ioquomugd5831h1p3k4vv * 1.00)) * $_I2rbjiwkttpf6t3lu13jwlmhvm; $_ox7f49iou6owmgjr = (($_lxdb7790xvs90uh0m01vm8b0pp / ($_Ioquomugd5831h1p3k4vv * 1.00)) * $_0iuh7gvxftt5vnvesztwq8z7se + (($_Ioquomugd5831h1p3k4vv - $_lxdb7790xvs90uh0m01vm8b0pp) / ($_Ioquomugd5831h1p3k4vv * 1.00)) * $_Oobzvuln0x5igerwy2zo7) / 2; for ($_I3grb51qxfp90di6 = $_0jq5ipr7cxk9isdygwpn1; $_I3grb51qxfp90di6 > 0; $_I3grb51qxfp90di6--) { $_1t1l8e95eh6xb111 = round($_I3grb51qxfp90di6 * $_1bqwcaz3wxpmpefmt9j9j69ooq); $_iurpzay4fd8x5bj8 = $_lxdb7790xvs90uh0m01vm8b0pp; if ($_1t1l8e95eh6xb111 <= 0 || $_1t1l8e95eh6xb111 >= $_0jq5ipr7cxk9isdygwpn1) continue; imagecopy($_lrbhnzgiednrg7oubhkc0, $_ljqew4jmcpraocwxnnfnw32l0x, $_I3grb51qxfp90di6 + $_ox7f49iou6owmgjr, $_lxdb7790xvs90uh0m01vm8b0pp, $_1t1l8e95eh6xb111, $_iurpzay4fd8x5bj8, 1, 1); } } } } class Halo extends Effect { public function ApplyWithinBounds(GDGraphics $_lg7wciu4c58jxuot, Rectangle $_1yr4gw57uzrsawgx7dt12on44k) { $_0u34tohbt6tepu2daomvdwqcn3 = $_1yr4gw57uzrsawgx7dt12on44k->Width; $_on2krkeb670gsjlahah7i = $_1yr4gw57uzrsawgx7dt12on44k->Height; $_0h4v7080f2wb3bz2a6wzhqw023 = $_lg7wciu4c58jxuot->GetGDImage(); $_Ow4zkh19xaxelf3xp6cn8 = 0.40; $_l228a7er6h5txdw0j732v = $_Ow4zkh19xaxelf3xp6cn8 * $_0u34tohbt6tepu2daomvdwqcn3; $_0trbwmqo1sjctr18umff5qd4vq = $_Ow4zkh19xaxelf3xp6cn8 * $_on2krkeb670gsjlahah7i; $_14mtszlaejou7o69 = imagecreatetruecolor($_l228a7er6h5txdw0j732v, $_0trbwmqo1sjctr18umff5qd4vq); if (function_exists("\151\155\141\x67\x65\141\x6e\164\151\141\x6c\151\141\x73")) { imageantialias($_14mtszlaejou7o69, true); } imagecopyresampled($_14mtszlaejou7o69, $_0h4v7080f2wb3bz2a6wzhqw023, 0, 0, 0, 0, $_l228a7er6h5txdw0j732v, $_0trbwmqo1sjctr18umff5qd4vq, $_0u34tohbt6tepu2daomvdwqcn3, $_on2krkeb670gsjlahah7i); imagecopyresampled($_0h4v7080f2wb3bz2a6wzhqw023, $_14mtszlaejou7o69, 0, 0, 0, 0, $_0u34tohbt6tepu2daomvdwqcn3, $_on2krkeb670gsjlahah7i, $_l228a7er6h5txdw0j732v, $_0trbwmqo1sjctr18umff5qd4vq); imagedestroy($_14mtszlaejou7o69); $_1rqvw3c3m0d8lmzl = array( array(1, 2, 1), array(2, 12, 2), array(1, 2, 1) ); imageconvolution($_0h4v7080f2wb3bz2a6wzhqw023, $_1rqvw3c3m0d8lmzl, 24, 0); } } final class RandomizationHelper { private function __construct() {} public static function RandomFromRange($_l867i5oun0vk7r86gyfklwnu55, $_otuhaef02quzvl03) { return mt_rand($_l867i5oun0vk7r86gyfklwnu55, $_otuhaef02quzvl03-1); } public static function RandomFromValues($_iom6h5zf34rr8fmyrs94p) { if (!is_array($_iom6h5zf34rr8fmyrs94p)) { return; } $_129cm4tnszqban5bd35r23jfca = self::RandomFromRange(0, count($_iom6h5zf34rr8fmyrs94p)); return $_iom6h5zf34rr8fmyrs94p[$_129cm4tnszqban5bd35r23jfca]; } } class RandomRange { public function __construct($_i5dijp4ksfdw1hu2z9z90o5sq4, $_1ez99sp9a96iuoqf = null) { if (isset($_1ez99sp9a96iuoqf)) { if ($_1ez99sp9a96iuoqf < $_i5dijp4ksfdw1hu2z9z90o5sq4) { throw new Exception("\x4d\x69\156\x69\x6d\x75\x6d\x20\x76\x61\x6c\x75\x65\40\150\141\x73\x20\x74\157\40\x62\145\x20\x73\x6d\141\154\154\x65\x72\40\x74\150\x61\x6e\x20\164\150\145\x20\155\x61\170\151\x6d\165\155\x2e\40\x4d\151\x6e\72\40{$_i5dijp4ksfdw1hu2z9z90o5sq4}\54\40\x4d\141\x78\72\40{$_1ez99sp9a96iuoqf}\x2e"); } $this->_1n4px6jw7nhmz7ifhoj5cs9cfk = floor($_i5dijp4ksfdw1hu2z9z90o5sq4); $this->_1l36hll9zx083ghqtc7l3 = floor($_1ez99sp9a96iuoqf); } else { $this->_1n4px6jw7nhmz7ifhoj5cs9cfk = floor($_i5dijp4ksfdw1hu2z9z90o5sq4); $this->_1l36hll9zx083ghqtc7l3 = floor($_i5dijp4ksfdw1hu2z9z90o5sq4); } } private $_1n4px6jw7nhmz7ifhoj5cs9cfk; public function get_Min(){ return $this->_1n4px6jw7nhmz7ifhoj5cs9cfk; } private $_1l36hll9zx083ghqtc7l3; public function get_Max(){ return $this->_1l36hll9zx083ghqtc7l3; } public function get_IsRandomized() { return ($this->_1n4px6jw7nhmz7ifhoj5cs9cfk < $this->_1l36hll9zx083ghqtc7l3); } public function get_Next() { if (!$this->IsRandomized) { return $this->_1l36hll9zx083ghqtc7l3; } return RandomizationHelper::RandomFromRange($this->_1n4px6jw7nhmz7ifhoj5cs9cfk, $this->_1l36hll9zx083ghqtc7l3); } public function Freeze() { $_ielh882c38vy1r28 = $this->Next; $this->_1n4px6jw7nhmz7ifhoj5cs9cfk = $_ielh882c38vy1r28; $this->_1l36hll9zx083ghqtc7l3 = $_ielh882c38vy1r28; } public function get_Frozen() { $this->Freeze(); return $this->Next; } public function __get($_ldbw5ws9kkdlfwpgd6hne) { if (method_exists($this, ($_Ief5teo8st2ibmh172ypt5hmg5 = "\147\x65\164\x5f".$_ldbw5ws9kkdlfwpgd6hne))) { return $this->$_Ief5teo8st2ibmh172ypt5hmg5(); } else return; } public function __isset($_lkbm4o6je6o7llyi) { if (method_exists($this, ($_ov2jeb4ntbgk278z4g6fz = "\x69\163\x73\x65\164\x5f".$_lkbm4o6je6o7llyi))) { return $this->$_ov2jeb4ntbgk278z4g6fz(); } else return; } public function __set($_Ot3l0decj8xf29af, $_Owdxzu1dg8sh07wi) { if (method_exists($this, ($_0e3mcezrazeegn9e = "\x73\145\164\137".$_Ot3l0decj8xf29af))) { $this->$_0e3mcezrazeegn9e($_Owdxzu1dg8sh07wi); } } public function __unset($_Ol55bdzzh8ee6sjfdebno) { if (method_exists($this, ($_Obzkicnfykisjj3xl9t2w = "\x75\x6e\x73\x65\x74\137".$_Ol55bdzzh8ee6sjfdebno))) { $this->$_Obzkicnfykisjj3xl9t2w(); } } } final class RandomizationStyle extends Enum { private function __construct() {} public static $Names; const AlwaysRandomize = 0; const RandomizeOnce = 1; public static function GetName($_ohz9qeyd5nnffanff9m2x) { if (!is_int($_ohz9qeyd5nnffanff9m2x)) { throw new Exception("\125\156\x6b\x6e\x6f\167\156\x20\145\x6e\165\155\145\162\x61\164\x65\144\x20\166\x61\x6c\165\x65\x3a\x20".$_ohz9qeyd5nnffanff9m2x); } if (array_key_exists($_ohz9qeyd5nnffanff9m2x, RandomizationStyle::$Names)) { return RandomizationStyle::$Names[$_ohz9qeyd5nnffanff9m2x]; } else { throw new Exception("\x55\x6e\x6b\156\157\x77\156\x20\145\x6e\x75\x6d\145\162\141\164\x65\144\40\x76\x61\154\x75\x65\72\x20".$_ohz9qeyd5nnffanff9m2x); } } public static function GetValue($_0h4u9nvqg6zb7cnhqcwkd) { if (!StringHelper::HasValue($_0h4u9nvqg6zb7cnhqcwkd)) { throw new Exception("\x55\156\153\x6e\x6f\167\156\x20\145\156\165\155\145\x72\x61\x74\145\144\40\156\x61\155\x65\x3a\x20".$_0h4u9nvqg6zb7cnhqcwkd); } $_oornaspd3bbc9k59njh4i = CollectionHelper::StringArraySearch($_0h4u9nvqg6zb7cnhqcwkd, RandomizationStyle::$Names); if (false !== $_oornaspd3bbc9k59njh4i) { return $_oornaspd3bbc9k59njh4i; } else { throw new Exception("\x55\156\x6b\156\157\167\x6e\x20\x65\156\165\155\x65\x72\141\164\145\x64\40\x6e\141\x6d\145\72\x20".$_0h4u9nvqg6zb7cnhqcwkd); } } public static function TryGetName($_ih6roag03ud2iy6i3h9ft) { if (!is_int($_ih6roag03ud2iy6i3h9ft)) { return; } if (array_key_exists($_ih6roag03ud2iy6i3h9ft, RandomizationStyle::$Names)) { return RandomizationStyle::$Names[$_ih6roag03ud2iy6i3h9ft]; } else { return; } } public static function TryGetValue($_1v43keuezq5u9co1t9zkmcsm2a) { if (!StringHelper::HasValue($_1v43keuezq5u9co1t9zkmcsm2a)) { return; } $_1679bqa8mchnlbwlhz7m3 = CollectionHelper::StringArraySearch($_1v43keuezq5u9co1t9zkmcsm2a, RandomizationStyle::$Names); if (false !== $_1679bqa8mchnlbwlhz7m3) { return $_1679bqa8mchnlbwlhz7m3; } else { return; } } } RandomizationStyle::$Names = array( RandomizationStyle::AlwaysRandomize > "\101\x6c\160\x68\x61\x6e\x75\155\x65\x72\151\x63", RandomizationStyle::RandomizeOnce > "\x41\x6c\160\x68\141", ); final class StringHelper { private function __construct() {} const Encoding = 'UTF-8'; public static function HasValue($_Ixmdm0ztj7yw3f20) { if (!isset($_Ixmdm0ztj7yw3f20)) { return false; } if (!is_string($_Ixmdm0ztj7yw3f20)) { return false; } if (0 == mb_strlen($_Ixmdm0ztj7yw3f20, self::Encoding)) { return false; } if (0 == mb_strlen(trim($_Ixmdm0ztj7yw3f20), self::Encoding)) { return false; } return true; } public static function Uppercase($_ow6kekc8354fd5bb2x43r) { return mb_strtoupper($_ow6kekc8354fd5bb2x43r, self::Encoding); } public static function Lowercase($_o13iai11rf8s91auat2w2vk2u8) { return mb_strtolower($_o13iai11rf8s91auat2w2vk2u8, self::Encoding); } public static function Contains($_lx1ernpfoqz1k4wzwdgo2, $_ow98ldjxhfbyup2yf4butxakmj) { return (false !== mb_strrpos($_lx1ernpfoqz1k4wzwdgo2, $_ow98ldjxhfbyup2yf4butxakmj, 0, self::Encoding)); } public static function Length($_ljzjb59ryfxrylp5qge7hwh6qg) { return mb_strlen($_ljzjb59ryfxrylp5qge7hwh6qg, self::Encoding); } public static function Substring($_0mt130lgb6f2b17o, $_134fb51sga9i1k38, $_Obt55559w1hpry7v = null) { return mb_substr($_0mt130lgb6f2b17o, $_134fb51sga9i1k38, $_Obt55559w1hpry7v, self::Encoding); } public static function SplitIntoChars($_iuuy8nqan9qn4yvl) { return preg_split("\57\x2f\165", $_iuuy8nqan9qn4yvl, -1, PREG_SPLIT_NO_EMPTY); } public static function Normalize($_obf3rnka2l3n7spv5wsj1aohzp) { return preg_replace("\57\W\57\x69", '', mb_strtolower($_obf3rnka2l3n7spv5wsj1aohzp, self::Encoding)); } public static function Asciify($_Onzdn7yxca5e05e4) { return pregi_replace("\x2f\133\136\x\x30\61\55\x\x37\105\135\x2f\x69", "\77", $_Onzdn7yxca5e05e4); } public static function IsCsv($_1ifm2877dr1r9yw7) { return (StringHelper::HasValue($_1ifm2877dr1r9yw7) && StringHelper::Contains($_1ifm2877dr1r9yw7, "\x2c", 0, self::Encoding)); } public static function ParseCsv($_la48ltct7mzsufbgm096ywsxdd) { if (!is_string($_la48ltct7mzsufbgm096ywsxdd) || 0 == mb_strlen($_la48ltct7mzsufbgm096ywsxdd, self::Encoding)) { return; } $_I220f880pnwch92h = explode("\x2c", $_la48ltct7mzsufbgm096ywsxdd); foreach ($_I220f880pnwch92h as $_l3x97p8gktrpkkaijxzzi => $_I5s81jsmdz0hwq7lyv2nnzkfoa) { $_I220f880pnwch92h[$_l3x97p8gktrpkkaijxzzi] = trim($_I5s81jsmdz0hwq7lyv2nnzkfoa); } return $_I220f880pnwch92h; } public static function GetCodePoints($_onsxdxukz7i8ayjw) { $_1ep7fs1v8enmfdje = self::ParseCsv($_onsxdxukz7i8ayjw); if (null == $_1ep7fs1v8enmfdje) { return; } $_i871bng03bdex4ce5xmnk = array(); foreach ($_1ep7fs1v8enmfdje as $_0jp6bkhg13rfawoe5yiyi => $_17yykmrmsvys9fmz90h7ojbu89) { $_Irs5jan9o1s156ax = mb_convert_encoding($_17yykmrmsvys9fmz90h7ojbu89, 'UTF-8', 'HTML-ENTITIES'); $_i871bng03bdex4ce5xmnk[] = self::Uppercase($_Irs5jan9o1s156ax); } return $_i871bng03bdex4ce5xmnk; } public static function StringArrayUppercase($_1yukiqvoyaru1vltwiqkdxwpiy) { $_Ierg13h9kxxatmhr = array(); foreach($_1yukiqvoyaru1vltwiqkdxwpiy as $_1z7vnu5ucn7bohlc => $_Ilhjs4kubbbnijdop5ax8cdjdk) { if (is_string($_Ilhjs4kubbbnijdop5ax8cdjdk)) { $_Ierg13h9kxxatmhr[$_1z7vnu5ucn7bohlc] = self::Uppercase($_Ilhjs4kubbbnijdop5ax8cdjdk); } } return $_Ierg13h9kxxatmhr; } public static function StartsWith($_Ochn0hjx6173lmxuiyl7m, $_04wksnv5wevvdovq92kp3) { return ('' === mb_stristr($_Ochn0hjx6173lmxuiyl7m, $_04wksnv5wevvdovq92kp3, true, self::Encoding)); } public static function ToNormalForm($_I8erxhdrqra3s6n4jmep4) { if (!class_exists("\116\x6f\162\155\x61\x6c\151\172\x65\x72", false)) { return $_I8erxhdrqra3s6n4jmep4; } return Normalizer::normalize($_I8erxhdrqra3s6n4jmep4, Normalizer::FORM_C); } } final class TimeHelper { private function __construct() {} public static function Timestamp() { return strftime("\x25\131\45\155\x25\144\45\x48\45\115\x25\123"); } public static function FormattedDate($_iglzs6luo3yzjb2f1ui18) { return strftime("\45\x59\57\45\x6d\57\45\144\40\45\110\x3a\x25\x4d\72\45\123", $_iglzs6luo3yzjb2f1ui18); } public static function Now() { return self::FormattedDate(time()); } } final class ServerHelper { private function __construct() {} public static function ScriptName() { $_lk3rrzlxogvbfg6j = $_SERVER["\123\103\x52\x49\x50\x54\137\116\101\115\x45"]; $_18i08wv694q5qnyg = mb_strrpos($_lk3rrzlxogvbfg6j, "\57"); if ($_18i08wv694q5qnyg !== false) { $_lk3rrzlxogvbfg6j = mb_substr($_lk3rrzlxogvbfg6j, $_18i08wv694q5qnyg + 1); } $_18i08wv694q5qnyg = mb_strrpos($_lk3rrzlxogvbfg6j, "\x2e"); if ($_18i08wv694q5qnyg !== false) { $_lk3rrzlxogvbfg6j = mb_substr($_lk3rrzlxogvbfg6j, 0, $_18i08wv694q5qnyg); } return $_lk3rrzlxogvbfg6j; } public static function AppName() { $_ixgzx4988tcoq3ptqidzm = $_SERVER["\x53\x43\x52\111\x50\124\x5f\116\x41\x4d\105"]; $_ilcrzojioipaokhicfar04xt73 = $_ixgzx4988tcoq3ptqidzm; $_Ops08ibzazox16lgbk9ua = mb_strrpos($_ixgzx4988tcoq3ptqidzm, "\57"); if ($_Ops08ibzazox16lgbk9ua !== false) { $_ilcrzojioipaokhicfar04xt73 = mb_substr($_ilcrzojioipaokhicfar04xt73, 0, $_Ops08ibzazox16lgbk9ua); $_Ops08ibzazox16lgbk9ua = mb_strrpos($_ilcrzojioipaokhicfar04xt73, "\57"); if ($_Ops08ibzazox16lgbk9ua !== false) { $_ilcrzojioipaokhicfar04xt73 = mb_substr($_ilcrzojioipaokhicfar04xt73, $_Ops08ibzazox16lgbk9ua + 1); } } else { $_ilcrzojioipaokhicfar04xt73 = "\x72\x6f\157\164"; } return $_ilcrzojioipaokhicfar04xt73; } } final class HttpHelper { private function __construct() {} public static function BadRequest($_1bpiydmcske25lxejtjs5) { while (ob_get_length()) { ob_end_clean(); } ob_start(); header("\103\157\156\164\145\x6e\x74\x2d\164\x79\x70\x65\x3a\x20\x74\x65\170\164\x2f\160\x6c\141\x69\156"); header("\110\124\124\x50\57\61\x2e\x31\40\x34\x30\60\40\102\x61\144\40\122\x65\161\x75\145\163\164"); echo ($_1bpiydmcske25lxejtjs5); ob_end_flush(); exit; } } final class BaseCharset extends Enum { private function __construct() {} const CharsetCodeLength = 4; public static $m_CharsetCodes; public static $Names; const Unknown = 0x0000; const Arabic = 0x0627; const Bopomofo = 0x3105; const Cyrillic = 0x0410; const Devanagari = 0x0905; const Greek = 0x03B1; const Hangul = 0x1100; const HanSimplified = 0x91D1; const HanTraditional = 0x4E00; const Hebrew = 0x05D0; const Hiragana = 0x3042; const Katakana = 0x30A2; const Latin = 0x0041; public static function GetName($_lorzl91svu4pno8q8us2i) { if (!is_int($_lorzl91svu4pno8q8us2i)) { throw new Exception("\125\156\153\156\157\167\x6e\x20\145\x6e\x75\x6d\145\162\x61\164\145\x64\x20\166\x61\x6c\x75\145\72\40".$_lorzl91svu4pno8q8us2i); } if (array_key_exists($_lorzl91svu4pno8q8us2i, BaseCharset::$Names)) { return BaseCharset::$Names[$_lorzl91svu4pno8q8us2i]; } else { throw new Exception("\125\x6e\153\x6e\x6f\167\156\40\145\156\165\155\x65\162\x61\164\x65\x64\40\x76\x61\154\x75\145\x3a\40".$_lorzl91svu4pno8q8us2i); } } public static function GetValue($_Iycex5dbz4xlytx6) { if (!StringHelper::HasValue($_Iycex5dbz4xlytx6)) { throw new Exception("\x55\x6e\153\x6e\x6f\x77\156\x20\145\x6e\x75\155\x65\x72\141\x74\145\x64\x20\x6e\x61\x6d\145\72\x20".$_Iycex5dbz4xlytx6); } $_ocszgx7uf0h7wzwp1sys8 = CollectionHelper::StringArraySearch($_Iycex5dbz4xlytx6, BaseCharset::$Names); if (false !== $_ocszgx7uf0h7wzwp1sys8) { return $_ocszgx7uf0h7wzwp1sys8; } else { throw new Exception("\x55\x6e\x6b\x6e\157\167\156\40\x65\x6e\x75\x6d\x65\x72\141\164\x65\x64\x20\156\x61\x6d\x65\x3a\x20".$_Iycex5dbz4xlytx6); } } public static function TryGetName($_Oy3ppdgkw6jyqf7o) { if (!is_int($_Oy3ppdgkw6jyqf7o)) { return; } if (array_key_exists($_Oy3ppdgkw6jyqf7o, BaseCharset::$Names)) { return BaseCharset::$Names[$_Oy3ppdgkw6jyqf7o]; } else { return; } } public static function TryGetValue($_125f295pr7th2u3arhja3t02lo) { if (!StringHelper::HasValue($_125f295pr7th2u3arhja3t02lo)) { return; } $_Ihi1ebo4qk3avmro = CollectionHelper::StringArraySearch($_125f295pr7th2u3arhja3t02lo, BaseCharset::$Names); if (false !== $_Ihi1ebo4qk3avmro) { return $_Ihi1ebo4qk3avmro; } else { return; } } public static function GetCharsetCode($_1122ig2wj9z3oxquzca37) { if (!is_int($_1122ig2wj9z3oxquzca37)) { throw new Exception("\x55\156\x6b\156\157\x77\x6e\40\x62\x61\163\x65\40\143\x68\141\x72\163\x65\x74\x20\166\141\154\x75\145\72\40".$_1122ig2wj9z3oxquzca37); } if (array_key_exists($_1122ig2wj9z3oxquzca37, self::$m_CharsetCodes)) { return self::$m_CharsetCodes[$_1122ig2wj9z3oxquzca37]; } else { throw new Exception("\125\156\153\156\x6f\167\x6e\40\142\141\x73\x65\40\x63\150\141\x72\163\x65\164\40\x76\141\154\x75\145\x3a\x20".$_1122ig2wj9z3oxquzca37); } } public static function GetCharset($_0vj0vdhpgjfgkme78q0x4zbb9g) { if (!StringHelper::HasValue($_0vj0vdhpgjfgkme78q0x4zbb9g) || self::CharsetCodeLength != strlen($_0vj0vdhpgjfgkme78q0x4zbb9g)) { throw new Exception("\x55\x6e\153\156\157\167\156\x20\143\150\x61\162\163\x65\x74\40\143\157\144\145\x3a\x20".$_0vj0vdhpgjfgkme78q0x4zbb9g); } $_otk50o2lvc1b9gws95sgd = CollectionHelper::StringArraySearch($_0vj0vdhpgjfgkme78q0x4zbb9g, self::$m_CharsetCodes); if (false !== $_otk50o2lvc1b9gws95sgd) { return $_otk50o2lvc1b9gws95sgd; } else { return BaseCharset::Unknown; } } } BaseCharset::$m_CharsetCodes = array( BaseCharset::Unknown => '', BaseCharset::Arabic => "\x41\162\x61\x62", BaseCharset::Bopomofo => "\x42\157\x70\x6f", BaseCharset::Cyrillic => "\103\x79\162\x6c", BaseCharset::Devanagari => "\104\x65\x76\x61", BaseCharset::Greek => "\x47\x72\x65\x6b", BaseCharset::Hangul => "\x48\x61\156\x67", BaseCharset::HanSimplified => "\x48\141\x6e\x73", BaseCharset::HanTraditional => "\110\141\x6e\164", BaseCharset::Hebrew => "\110\x65\142\x72", BaseCharset::Hiragana => "\110\x69\x72\141", BaseCharset::Katakana => "\x4b\141\x6e\x61", BaseCharset::Latin => "\114\x61\164\156" ); BaseCharset::$Names = array( BaseCharset::Unknown => "\x55\156\x6b\x6e\157\x77\x6e", BaseCharset::Arabic => "\101\x72\141\x62\151\143", BaseCharset::Bopomofo => "\x42\x6f\160\157\155\157\146\x6f", BaseCharset::Cyrillic => "\x43\x79\162\151\154\154\x69\x63", BaseCharset::Devanagari => "\104\145\x76\x61\156\141\x67\x61\x72\x69", BaseCharset::Greek => "\107\162\145\145\x6b", BaseCharset::Hangul => "\110\x61\x6e\x67\165\154", BaseCharset::HanSimplified => "\x48\x61\156\123\x69\155\160\154\151\x66\x69\145\144", BaseCharset::HanTraditional => "\x48\141\156\124\162\141\144\x69\164\x69\157\x6e\x61\x6c", BaseCharset::Hebrew => "\110\x65\x62\x72\145\x77", BaseCharset::Hiragana => "\x48\x69\162\141\x67\x61\156\x61", BaseCharset::Katakana => "\x4b\x61\164\x61\x6b\141\x6e\141", BaseCharset::Latin => "\x4c\141\x74\151\x6e" ); final class BaseLanguage extends Enum { private function __construct() {} const SubLanguageCodeLength = 3; public static $m_LanguageCodes; public static $Names; const Unknown = 0; const Basque = 1069; const Belarusian = 1059; const Bosnian = 5146; const Bulgarian = 1026; const Cantonese = 5124; const Catalan = 1027; const Croatian = 1050; const Czech = 1029; const Danish = 1030; const Dutch = 1043; const English = 1033; const Faroese = 1080; const Finnish = 1035; const French = 1036; const German = 1031; const Greek = 1032; const Greenlandic = 1135; const Hebrew = 1037; const Hindi = 1081; const Hungarian = 1038; const Icelandic = 1039; const Italian = 1040; const Japanese = 1041; const Korean = 1042; const Lithuanian = 1063; const Luxembourgish = 1134; const Macedonian = 1071; const Malay = 1086; const Maltese = 1082; const Mandarin = 2052; const Polish = 1045; const Portuguese = 2070; const Romanian = 1048; const Romansh = 1047; const Russian = 1049; const Serbian = 3098; const Slovak = 1051; const Slovenian = 1060; const Spanish = 3082; const Swedish = 1053; const Turkish = 1055; const Ukrainian = 1058; const Vietnamese = 1066; public static function GetName($_ig47fg6cs3hrwc0y) { if (!is_int($_ig47fg6cs3hrwc0y)) { throw new Exception("\125\x6e\x6b\156\157\x77\156\x20\145\156\165\155\145\162\141\x74\x65\144\40\x76\x61\154\165\145\72\40".$_ig47fg6cs3hrwc0y); } if (array_key_exists($_ig47fg6cs3hrwc0y, BaseLanguage::$Names)) { return BaseLanguage::$Names[$_ig47fg6cs3hrwc0y]; } else { throw new Exception("\x55\156\x6b\156\x6f\167\x6e\40\x65\156\x75\155\145\162\141\164\x65\x64\x20\166\141\x6c\x75\x65\72\x20".$_ig47fg6cs3hrwc0y); } } public static function GetValue($_l8ln03zfmvtxyafp9rqjkhktj2) { if (!StringHelper::HasValue($_l8ln03zfmvtxyafp9rqjkhktj2)) { throw new Exception("\125\x6e\x6b\x6e\x6f\x77\156\x20\x65\156\x75\155\145\162\x61\164\x65\144\x20\156\x61\x6d\145\x3a\40".$_l8ln03zfmvtxyafp9rqjkhktj2); } $_i6onr6xci8nrpzrk = CollectionHelper::StringArraySearch($_l8ln03zfmvtxyafp9rqjkhktj2, BaseLanguage::$Names); if (false !== $_i6onr6xci8nrpzrk) { return $_i6onr6xci8nrpzrk; } else { throw new Exception("\x55\x6e\x6b\156\x6f\167\156\40\x65\x6e\165\x6d\x65\162\141\164\x65\x64\x20\x6e\x61\155\x65\x3a\x20".$_l8ln03zfmvtxyafp9rqjkhktj2); } } public static function TryGetName($_011333eqifi9rbq2zq0zg) { if (!is_int($_011333eqifi9rbq2zq0zg)) { return; } if (array_key_exists($_011333eqifi9rbq2zq0zg, BaseLanguage::$Names)) { return BaseLanguage::$Names[$_011333eqifi9rbq2zq0zg]; } else { return; } } public static function TryGetValue($_llyhjojb4188no6lem5pf) { if (!StringHelper::HasValue($_llyhjojb4188no6lem5pf)) { return; } $_oizqgfr7bdtgedeklqnfc2n8x5 = CollectionHelper::StringArraySearch($_llyhjojb4188no6lem5pf, BaseLanguage::$Names); if (false !== $_oizqgfr7bdtgedeklqnfc2n8x5) { return $_oizqgfr7bdtgedeklqnfc2n8x5; } else { return; } } public static function GetLanguageCode($_ow04tyi88lji8jc1) { if (!is_int($_ow04tyi88lji8jc1)) { throw new Exception("\125\156\x6b\x6e\x6f\167\x6e\40\x62\141\163\x65\x20\154\141\156\147\165\x61\147\x65\x20\166\141\x6c\x75\145\72\40".$_ow04tyi88lji8jc1); } if (array_key_exists($_ow04tyi88lji8jc1, self::$m_LanguageCodes)) { return self::$m_LanguageCodes[$_ow04tyi88lji8jc1][0]; } else { throw new Exception("\125\x6e\x6b\x6e\157\x77\156\40\x62\x61\x73\145\40\x6c\141\156\147\165\141\x67\x65\x20\166\141\x6c\165\x65\72\40".$_ow04tyi88lji8jc1); } } public static function GetLanguage($_Orzi9fat82wc7g8xq8ay5v16gt) { if (!StringHelper::HasValue($_Orzi9fat82wc7g8xq8ay5v16gt)) { throw new Exception("\x55\156\x6b\156\x6f\x77\x6e\x20\x6c\x61\156\x67\x75\x61\147\x65\x20\143\x6f\x64\145\x3a\x20".$_Orzi9fat82wc7g8xq8ay5v16gt); } $_Ob2kjlqj89nf4e9el1dgv = CollectionHelper::StringArraySearch($_Orzi9fat82wc7g8xq8ay5v16gt, self::$m_LanguageCodes); if (false !== $_Ob2kjlqj89nf4e9el1dgv) { return $_Ob2kjlqj89nf4e9el1dgv; } else { return BaseLanguage::Unknown; } } } BaseLanguage::$m_LanguageCodes = array( BaseLanguage::Unknown => array(''), BaseLanguage::Basque => array("\x65\x75", "\x65\x75\163", "\x62\141\x71"), BaseLanguage::Belarusian => array("\x62\145", "\x62\x65\154"), BaseLanguage::Bosnian => array("\x62\x73", "\x62\157\163"), BaseLanguage::Bulgarian => array("\142\147", "\x62\165\154"), BaseLanguage::Cantonese => array("\171\165\x65"), BaseLanguage::Catalan => array("\x63\141", "\143\141\164"), BaseLanguage::Croatian => array("\x68\x72", "\150\x72\166"), BaseLanguage::Czech => array("\x63\x73", "\143\145\163", "\x63\x7a\145"), BaseLanguage::Danish => array("\144\x61", "\144\141\x6e"), BaseLanguage::Dutch => array("\x6e\x6c", "\156\x6c\x64", "\x64\x75\x74"), BaseLanguage::English => array("\x65\156", "\x65\x6e\147"), BaseLanguage::Faroese => array("\146\157", "\x66\141\x6f"), BaseLanguage::Finnish => array("\146\151", "\146\x69\156"), BaseLanguage::French => array("\x66\x72", "\146\162\x61", "\x66\x72\x65"), BaseLanguage::German => array("\144\x65", "\144\x65\165", "\147\145\162"), BaseLanguage::Greek => array("\145\154", "\x65\x6c\154", "\x67\162\145"), BaseLanguage::Greenlandic => array("\x6b\154", "\x6b\141\x6c"), BaseLanguage::Hebrew => array("\150\x65", "\x68\x65\x62"), BaseLanguage::Hindi => array("\150\151", "\x68\x69\156"), BaseLanguage::Hungarian => array("\150\x75", "\150\165\x6e"), BaseLanguage::Icelandic => array("\151\x73", "\151\x73\154", "\151\x63\x65"), BaseLanguage::Italian => array("\151\164", "\x69\x74\141"), BaseLanguage::Japanese => array("\152\160", "\152\160\x6e"), BaseLanguage::Korean => array("\x6b\157", "\x6b\157\162"), BaseLanguage::Lithuanian => array("\154\164", "\x6c\x69\164"), BaseLanguage::Luxembourgish => array("\154\x62", "\x6c\x74\x7a"), BaseLanguage::Macedonian => array("\x6d\153", "\155\153\144", "\x6d\x61\143"), BaseLanguage::Malay => array("\172\154\x6d"), BaseLanguage::Maltese => array("\x6d\164", "\155\154\164"), BaseLanguage::Mandarin => array("\x63\155\x6e"), BaseLanguage::Polish => array("\160\x6c", "\x70\157\x6c"), BaseLanguage::Portuguese => array("\160\x74", "\160\x6f\x72"), BaseLanguage::Romanian => array("\162\x6f", "\162\x6f\x6e", "\162\x75\155"), BaseLanguage::Romansh => array("\162\155", "\x72\157\x68"), BaseLanguage::Russian => array("\162\x75", "\162\x75\163"), BaseLanguage::Serbian => array("\x73\x72", "\163\x72\160"), BaseLanguage::Slovak => array("\163\x6b", "\x73\154\x6b", "\x73\x6c\157"), BaseLanguage::Slovenian => array("\x73\154", "\x73\x6c\166"), BaseLanguage::Spanish => array("\x65\x73", "\x73\x70\x61"), BaseLanguage::Swedish => array("\163\x76", "\163\x77\x65"), BaseLanguage::Turkish => array("\164\162", "\x74\165\162"), BaseLanguage::Ukrainian => array("\165\x6b", "\x75\153\x72"), BaseLanguage::Vietnamese => array("\166\x69", "\166\151\145") ); BaseLanguage::$Names = array( BaseLanguage::Unknown => "\x55\156\x6b\x6e\157\x77\x6e", BaseLanguage::Basque => "\102\x61\x73\x71\x75\x65", BaseLanguage::Belarusian => "\102\145\x6c\x61\162\x75\x73\x69\141\156", BaseLanguage::Bosnian => "\x42\x6f\163\156\151\141\156", BaseLanguage::Bulgarian => "\x42\165\x6c\147\x61\x72\151\x61\x6e", BaseLanguage::Cantonese => "\103\141\x6e\164\157\156\145\x73\145", BaseLanguage::Catalan => "\103\x61\x74\141\154\x61\x6e", BaseLanguage::Croatian => "\x43\162\157\x61\x74\151\141\156", BaseLanguage::Czech => "\103\172\x65\143\150", BaseLanguage::Danish => "\x44\x61\156\151\x73\150", BaseLanguage::Dutch => "\104\x75\x74\x63\x68", BaseLanguage::English => "\105\x6e\x67\x6c\151\163\150", BaseLanguage::Faroese => "\106\141\162\x6f\145\163\145", BaseLanguage::Finnish => "\x46\x69\156\156\x69\163\x68", BaseLanguage::French => "\106\162\x65\156\x63\150", BaseLanguage::German => "\x47\145\x72\x6d\x61\x6e", BaseLanguage::Greek => "\x47\x72\145\x65\x6b", BaseLanguage::Greenlandic => "\107\x72\x65\145\x6e\154\x61\x6e\144\151\143", BaseLanguage::Hebrew => "\x48\x65\142\x72\x65\167", BaseLanguage::Hindi => "\x48\151\156\x64\x69", BaseLanguage::Hungarian => "\110\165\x6e\x67\141\162\151\141\156", BaseLanguage::Icelandic => "\111\143\x65\154\x61\156\144\x69\143", BaseLanguage::Italian => "\x49\x74\141\154\x69\x61\x6e", BaseLanguage::Japanese => "\x4a\141\x70\x61\156\x65\163\x65", BaseLanguage::Korean => "\x4b\157\x72\145\x61\x6e", BaseLanguage::Lithuanian => "\114\x69\x74\150\165\x61\156\x69\x61\156", BaseLanguage::Luxembourgish => "\114\x75\170\145\x6d\x62\x6f\x75\x72\x67\151\163\x68", BaseLanguage::Macedonian => "\x4d\141\143\145\x64\x6f\156\151\x61\156", BaseLanguage::Malay => "\115\141\x6c\141\171", BaseLanguage::Maltese => "\x4d\x61\x6c\164\x65\163\145", BaseLanguage::Mandarin => "\x4d\x61\156\x64\x61\162\151\156", BaseLanguage::Polish => "\x50\157\x6c\151\x73\150", BaseLanguage::Portuguese => "\x50\x6f\x72\164\x75\x67\x75\x65\163\x65", BaseLanguage::Romanian => "\122\x6f\x6d\141\156\151\141\x6e", BaseLanguage::Romansh => "\122\x6f\x6d\x61\x6e\x73\150", BaseLanguage::Russian => "\x52\x75\163\163\151\x61\x6e", BaseLanguage::Serbian => "\x53\145\162\x62\x69\x61\156", BaseLanguage::Slovak => "\123\x6c\157\x76\x61\x6b", BaseLanguage::Slovenian => "\x53\x6c\157\166\145\156\151\141\156", BaseLanguage::Spanish => "\x53\x70\x61\x6e\151\x73\x68", BaseLanguage::Swedish => "\123\x77\x65\144\151\163\150", BaseLanguage::Turkish => "\124\165\162\153\151\163\150", BaseLanguage::Ukrainian => "\125\153\x72\141\151\x6e\x69\141\156", BaseLanguage::Vietnamese => "\126\x69\x65\x74\156\x61\x6d\x65\x73\145" ); final class Country extends Enum { private function __construct() {} const CountryCodeLength = 2; public static $m_CountryCodes; public static $Names; const Unknown = 0; const Albania = 8; const Algeria = 12; const Argentina = 32; const Australia = 36; const Austria = 40; const Bahrain = 48; const Belarus = 112; const Belgium = 56; const Belize = 84; const BiH = 70; const Bolivia = 68; const Brazil = 76; const Bulgaria = 100; const Canada = 124; const Chile = 152; const Colombia = 170; const CostaRica = 188; const Croatia = 191; const CzechRepublic = 203; const Denmark = 208; const DominicanRepublic = 214; const Ecuador = 218; const Egypt = 818; const ElSalvador = 222; const Estonia = 233; const FaroeIslands = 234; const Finland = 246; const France = 250; const Germany = 276; const Greece = 300; const Greenland = 304; const Guatemala = 320; const Honduras = 340; const HongKong = 344; const Hungary = 348; const Iceland = 352; const India = 356; const Iraq = 368; const Ireland = 372; const Israel = 376; const Italy = 380; const Jamaica = 388; const Japan = 392; const Jordan = 400; const Korea = 410; const Kuwait = 414; const Latvia = 428; const Lebanon = 422; const Libya = 434; const Liechtenstein = 438; const Lithuania = 440; const Luxembourg = 442; const Macao = 446; const Macedonia = 807; const Malaysia = 458; const Malta = 470; const Mexico = 484; const Monaco = 492; const Morocco = 504; const Netherlands = 528; const NewZealand = 554; const Nicaragua = 558; const Norway = 578; const Oman = 512; const Panama = 591; const Paraguay = 600; const Peru = 604; const Philippines = 608; const Poland = 616; const Portugal = 620; const PRC = 156; const PuertoRico = 630; const Qatar = 634; const Romania = 642; const Russia = 643; const SaudiArabia = 682; const Serbia = 688; const Singapore = 702; const Slovakia = 703; const Slovenia = 705; const SouthAfrica = 710; const Spain = 724; const Sweden = 752; const Switzerland = 756; const Syria = 760; const Taiwan = 158; const TrinidadTobago = 780; const Tunisia = 788; const Turkey = 792; const UAE = 784; const Ukraine = 804; const UK = 826; const USA = 840; const Uruguay = 858; const Venezuela = 862; const Vietnam = 704; const Yemen = 887; const Zimbabwe = 716; public static function GetName($_ovvb1hl2x89lp2dw) { if (!is_int($_ovvb1hl2x89lp2dw)) { throw new Exception("\x55\x6e\153\156\157\167\x6e\40\145\x6e\165\x6d\x65\162\141\x74\145\144\40\166\141\154\x75\x65\x3a\x20".$_ovvb1hl2x89lp2dw); } if (array_key_exists($_ovvb1hl2x89lp2dw, Country::$Names)) { return Country::$Names[$_ovvb1hl2x89lp2dw]; } else { throw new Exception("\125\x6e\x6b\x6e\157\167\156\40\x65\x6e\x75\155\145\162\141\x74\x65\144\x20\166\x61\x6c\165\145\x3a\x20".$_ovvb1hl2x89lp2dw); } } public static function GetValue($_i551ojg9hhlmut8h) { if (!StringHelper::HasValue($_i551ojg9hhlmut8h)) { throw new Exception("\125\156\153\x6e\x6f\x77\x6e\x20\145\156\165\155\x65\162\x61\164\145\144\x20\x6e\141\155\x65\x3a\40".$_i551ojg9hhlmut8h); } $_ihzydbj0svubrs3nxnd1auhegu = CollectionHelper::StringArraySearch($_i551ojg9hhlmut8h, Country::$Names); if (false !== $_ihzydbj0svubrs3nxnd1auhegu) { return $_ihzydbj0svubrs3nxnd1auhegu; } else { throw new Exception("\125\x6e\153\156\x6f\167\156\40\145\156\x75\x6d\145\162\141\x74\x65\x64\x20\156\141\x6d\145\x3a\40".$_i551ojg9hhlmut8h); } } public static function TryGetName($_0thv0k7lr01slbwd) { if (!is_int($_0thv0k7lr01slbwd)) { return; } if (array_key_exists($_0thv0k7lr01slbwd, Country::$Names)) { return Country::$Names[$_0thv0k7lr01slbwd]; } else { return; } } public static function TryGetValue($_14aw80fmsknhbqebwj63l) { if (!StringHelper::HasValue($_14aw80fmsknhbqebwj63l)) { return; } $_lf74edsu5f2rolul = CollectionHelper::StringArraySearch($_14aw80fmsknhbqebwj63l, Country::$Names); if (false !== $_lf74edsu5f2rolul) { return $_lf74edsu5f2rolul; } else { return; } } public static function GetCountryCode($_04m3q2p2m6v95ta2) { if (!is_int($_04m3q2p2m6v95ta2)) { throw new Exception("\x55\156\x6b\156\157\167\x6e\x20\143\x6f\165\156\164\x72\171\x20\x76\x61\154\165\x65\x3a\x20".$_04m3q2p2m6v95ta2); } if (array_key_exists($_04m3q2p2m6v95ta2, self::$m_CountryCodes)) { return self::$m_CountryCodes[$_04m3q2p2m6v95ta2]; } else { throw new Exception("\125\156\x6b\156\x6f\167\x6e\40\x63\157\x75\x6e\x74\162\x79\x20\x76\141\154\165\145\x3a\40".$_04m3q2p2m6v95ta2); } } public static function GetCountry($_oyp4cm3bp1y8pawd9tf28dlkt9) { if (!StringHelper::HasValue($_oyp4cm3bp1y8pawd9tf28dlkt9) || self::CountryCodeLength != strlen($_oyp4cm3bp1y8pawd9tf28dlkt9)) { throw new Exception("\125\x6e\x6b\x6e\157\x77\156\x20\143\157\165\x6e\164\162\x79\x20\x63\157\x64\145\x3a\40".$_oyp4cm3bp1y8pawd9tf28dlkt9); } $_iy8ia2sfinsyxgre = CollectionHelper::StringArraySearch($_oyp4cm3bp1y8pawd9tf28dlkt9, self::$m_CountryCodes); if (false !== $_iy8ia2sfinsyxgre) { return $_iy8ia2sfinsyxgre; } else { return Country::Unknown; } } } Country::$m_CountryCodes = array( Country::Unknown => '', Country::Albania => "\x41\114", Country::Algeria => "\x44\132", Country::Argentina => "\x41\x52", Country::Australia => "\x41\x55", Country::Austria => "\x41\124", Country::Bahrain => "\x42\110", Country::Belarus => "\x42\131", Country::Belgium => "\102\x45", Country::Belize => "\102\132", Country::BiH => "\102\x41", Country::Bolivia => "\x42\x4f", Country::Brazil => "\102\122", Country::Bulgaria => "\102\107", Country::Canada => "\x43\x41", Country::Chile => "\103\x4c", Country::Colombia => "\x43\117", Country::CostaRica => "\103\122", Country::Croatia => "\x48\122", Country::CzechRepublic => "\x43\x5a", Country::Denmark => "\x44\x4b", Country::DominicanRepublic => "\104\x4f", Country::Ecuador => "\105\x43", Country::Egypt => "\x45\x47", Country::ElSalvador => "\123\126", Country::Estonia => "\x45\105", Country::FaroeIslands => "\x46\x4f", Country::Finland => "\106\111", Country::France => "\x46\x52", Country::Germany => "\104\x45", Country::Greece => "\107\122", Country::Greenland => "\107\114", Country::Guatemala => "\107\x54", Country::Honduras => "\110\x4e", Country::HongKong => "\110\113", Country::Hungary => "\110\x55", Country::Iceland => "\x49\x53", Country::India => "\x49\x4e", Country::Iraq => "\111\121", Country::Ireland => "\111\x45", Country::Israel => "\111\114", Country::Italy => "\x49\124", Country::Jamaica => "\x4a\115", Country::Japan => "\112\120", Country::Jordan => "\112\117", Country::Korea => "\113\122", Country::Kuwait => "\x4b\x57", Country::Latvia => "\x4c\126", Country::Lebanon => "\114\102", Country::Libya => "\114\131", Country::Liechtenstein => "\x4c\x49", Country::Lithuania => "\x4c\124", Country::Luxembourg => "\x4c\x55", Country::Macao => "\115\x4f", Country::Macedonia => "\115\x4b", Country::Malaysia => "\x4d\131", Country::Malta => "\115\x54", Country::Mexico => "\115\130", Country::Monaco => "\x4d\x43", Country::Morocco => "\115\101", Country::Netherlands => "\x4e\x4c", Country::NewZealand => "\116\x5a", Country::Nicaragua => "\116\111", Country::Norway => "\x4e\x4f", Country::Oman => "\x4f\x4d", Country::Panama => "\x50\101", Country::Paraguay => "\120\x59", Country::Peru => "\120\x45", Country::Philippines => "\x50\x48", Country::Poland => "\120\114", Country::Portugal => "\120\x54", Country::PRC => "\x43\x4e", Country::PuertoRico => "\120\x52", Country::Qatar => "\x51\101", Country::Romania => "\x52\117", Country::Russia => "\122\125", Country::SaudiArabia => "\x53\101", Country::Serbia => "\x52\x53", Country::Singapore => "\123\x47", Country::Slovakia => "\x53\113", Country::Slovenia => "\x53\111", Country::SouthAfrica => "\132\101", Country::Spain => "\105\123", Country::Sweden => "\x53\105", Country::Switzerland => "\103\110", Country::Syria => "\x53\x59", Country::Taiwan => "\124\x57", Country::TrinidadTobago => "\x54\x54", Country::Tunisia => "\x54\116", Country::Turkey => "\124\122", Country::UAE => "\x41\x45", Country::Ukraine => "\x55\101", Country::UK => "\x47\x42", Country::USA => "\x55\123", Country::Uruguay => "\x55\131", Country::Venezuela => "\x56\105", Country::Vietnam => "\126\x4e", Country::Yemen => "\131\105", Country::Zimbabwe => "\132\x57" ); Country::$Names = array( Country::Unknown => "\125\x6e\x6b\x6e\x6f\167\x6e", Country::Albania => "\101\154\x62\x61\x6e\x69\141", Country::Algeria => "\101\x6c\147\x65\x72\x69\141", Country::Argentina => "\x41\x72\x67\145\156\164\151\156\141", Country::Australia => "\101\165\x73\164\162\141\x6c\151\x61", Country::Austria => "\x41\x75\163\x74\162\x69\141", Country::Bahrain => "\102\141\x68\162\x61\151\x6e", Country::Belarus => "\x42\145\154\141\x72\x75\163", Country::Belgium => "\102\x65\x6c\147\151\165\155", Country::Belize => "\102\145\x6c\151\x7a\145", Country::BiH => "\x42\151\110", Country::Bolivia => "\102\x6f\154\151\166\x69\x61", Country::Brazil => "\102\162\x61\x7a\x69\154", Country::Bulgaria => "\x42\165\154\147\141\x72\x69\x61", Country::Canada => "\103\x61\156\141\x64\x61", Country::Chile => "\x43\x68\x69\154\x65", Country::Colombia => "\x43\x6f\154\x6f\155\x62\x69\x61", Country::CostaRica => "\103\157\x73\164\x61\122\x69\x63\x61", Country::Croatia => "\103\x72\157\141\164\x69\x61", Country::CzechRepublic => "\x43\172\145\143\150\x52\145\x70\165\x62\x6c\151\143", Country::Denmark => "\x44\145\156\x6d\x61\162\153", Country::DominicanRepublic => "\104\x6f\x6d\x69\x6e\x69\143\x61\x6e\x52\x65\160\165\x62\x6c\151\143", Country::Ecuador => "\105\143\x75\x61\144\157\x72", Country::Egypt => "\105\x67\171\160\164", Country::ElSalvador => "\105\x6c\x53\x61\154\166\x61\144\x6f\x72", Country::Estonia => "\x45\163\164\x6f\x6e\151\x61", Country::FaroeIslands => "\x46\x61\162\157\145\x49\x73\154\141\156\144\x73", Country::Finland => "\106\151\x6e\x6c\x61\x6e\144", Country::France => "\x46\162\141\x6e\x63\145", Country::Germany => "\107\145\x72\155\141\x6e\171", Country::Greece => "\107\x72\145\x65\x63\145", Country::Greenland => "\107\x72\x65\x65\x6e\x6c\x61\156\144", Country::Guatemala => "\107\165\x61\164\145\x6d\141\154\141", Country::Honduras => "\x48\157\156\144\165\x72\141\163", Country::HongKong => "\x48\x6f\x6e\x67\113\157\156\x67", Country::Hungary => "\110\165\156\x67\x61\162\x79", Country::Iceland => "\111\x63\x65\x6c\x61\x6e\x64", Country::India => "\111\x6e\x64\151\141", Country::Iraq => "\x49\x72\141\x71", Country::Ireland => "\111\x72\x65\x6c\141\156\144", Country::Israel => "\111\163\x72\141\145\x6c", Country::Italy => "\x49\x74\141\x6c\x79", Country::Jamaica => "\112\141\155\141\151\143\141", Country::Japan => "\x4a\x61\160\x61\156", Country::Jordan => "\112\157\x72\144\x61\x6e", Country::Korea => "\x4b\x6f\x72\145\x61", Country::Kuwait => "\x4b\x75\167\x61\x69\x74", Country::Latvia => "\x4c\141\164\166\x69\x61", Country::Lebanon => "\x4c\145\x62\x61\x6e\157\x6e", Country::Libya => "\114\151\x62\171\x61", Country::Liechtenstein => "\x4c\x69\145\143\x68\164\145\x6e\163\164\145\x69\x6e", Country::Lithuania => "\x4c\151\164\x68\x75\x61\156\151\141", Country::Luxembourg => "\114\x75\170\145\155\x62\x6f\165\x72\147", Country::Macao => "\115\141\x63\x61\157", Country::Macedonia => "\x4d\x61\x63\x65\x64\x6f\x6e\x69\141", Country::Malaysia => "\115\141\x6c\141\x79\x73\151\141", Country::Malta => "\115\141\154\164\x61", Country::Mexico => "\x4d\145\x78\151\x63\x6f", Country::Monaco => "\115\157\156\x61\143\157", Country::Morocco => "\115\x6f\162\x6f\143\143\157", Country::Netherlands => "\x4e\x65\164\150\145\162\154\141\156\144\163", Country::NewZealand => "\x4e\x65\167\x5a\145\x61\x6c\141\x6e\144", Country::Nicaragua => "\116\x69\143\x61\x72\141\x67\165\x61", Country::Norway => "\x4e\x6f\162\167\x61\x79", Country::Oman => "\117\155\x61\156", Country::Panama => "\x50\141\x6e\141\x6d\x61", Country::Paraguay => "\x50\141\x72\141\147\165\x61\x79", Country::Peru => "\x50\x65\x72\165", Country::Philippines => "\120\150\x69\154\x69\160\160\151\x6e\145\163", Country::Poland => "\120\x6f\x6c\141\156\144", Country::Portugal => "\120\157\x72\x74\x75\147\141\x6c", Country::PRC => "\x50\x52\x43", Country::PuertoRico => "\x50\165\x65\x72\164\157\122\151\143\x6f", Country::Qatar => "\121\141\x74\x61\162", Country::Romania => "\122\x6f\155\x61\156\x69\141", Country::Russia => "\122\165\163\163\151\141", Country::SaudiArabia => "\123\141\165\144\x69\x41\x72\141\x62\x69\141", Country::Serbia => "\123\145\x72\142\x69\141", Country::Singapore => "\123\151\x6e\147\x61\160\x6f\x72\145", Country::Slovakia => "\x53\154\x6f\x76\x61\153\151\141", Country::Slovenia => "\x53\x6c\x6f\166\145\x6e\x69\141", Country::SouthAfrica => "\123\x6f\x75\164\150\101\x66\162\x69\x63\x61", Country::Spain => "\123\x70\141\151\x6e", Country::Sweden => "\123\167\x65\144\x65\x6e", Country::Switzerland => "\x53\167\151\x74\172\145\x72\x6c\x61\156\x64", Country::Syria => "\x53\x79\162\151\141", Country::Taiwan => "\124\141\151\167\141\x6e", Country::TrinidadTobago => "\x54\x72\151\x6e\x69\x64\141\144\124\157\142\x61\x67\x6f", Country::Tunisia => "\124\165\156\151\x73\151\141", Country::Turkey => "\124\x75\x72\153\145\171", Country::UAE => "\125\x41\105", Country::Ukraine => "\125\153\x72\x61\x69\x6e\x65", Country::UK => "\125\113", Country::USA => "\x55\x53\x41", Country::Uruguay => "\125\x72\165\x67\x75\x61\171", Country::Venezuela => "\126\145\156\145\x7a\165\145\154\141", Country::Vietnam => "\x56\151\145\x74\x6e\141\155", Country::Yemen => "\131\x65\155\145\156", Country::Zimbabwe => "\132\151\155\142\x61\142\167\145" ); final class Macrolanguage extends Enum { private function __construct() {} public static $m_MacrolanguageCodes; public static $Names; const None = 0; const Albanian = 1; const Arabic = 2; const Chinese = 3; const Estonian = 4; const Latvian = 5; const Malay = 6; const Norwegian = 7; const SerboCroatian = 8; public static function GetName($_la5bmaf6oelko43x) { if (!is_int($_la5bmaf6oelko43x)) { throw new Exception("\x55\156\x6b\x6e\x6f\167\x6e\x20\x65\156\x75\155\145\x72\x61\x74\145\x64\x20\x76\x61\154\x75\x65\72\40".$_la5bmaf6oelko43x); } if (array_key_exists($_la5bmaf6oelko43x, Macrolanguage::$Names)) { return Macrolanguage::$Names[$_la5bmaf6oelko43x]; } else { throw new Exception("\125\x6e\x6b\x6e\157\x77\156\40\145\x6e\x75\155\x65\162\x61\164\x65\x64\40\166\x61\154\165\145\72\x20".$_la5bmaf6oelko43x); } } public static function GetValue($_i4xsg1db2s23oj4asfmv5) { if (!StringHelper::HasValue($_i4xsg1db2s23oj4asfmv5)) { throw new Exception("\125\156\153\156\157\167\x6e\40\x65\156\165\x6d\145\x72\141\164\x65\x64\40\x6e\141\155\145\x3a\40".$_i4xsg1db2s23oj4asfmv5); } $_If953jsvy07jjj3k3h5hitc3s1 = CollectionHelper::StringArraySearch($_i4xsg1db2s23oj4asfmv5, Macrolanguage::$Names); if (false !== $_If953jsvy07jjj3k3h5hitc3s1) { return $_If953jsvy07jjj3k3h5hitc3s1; } else { throw new Exception("\125\156\153\x6e\157\x77\x6e\x20\x65\x6e\165\x6d\x65\x72\x61\x74\x65\144\40\x6e\x61\x6d\x65\x3a\40".$_i4xsg1db2s23oj4asfmv5); } } public static function TryGetName($_lnn3866din8vb40r5tlfsgtckw) { if (!is_int($_lnn3866din8vb40r5tlfsgtckw)) { return; } if (array_key_exists($_lnn3866din8vb40r5tlfsgtckw, Macrolanguage::$Names)) { return Macrolanguage::$Names[$_lnn3866din8vb40r5tlfsgtckw]; } else { return; } } public static function TryGetValue($_O9izkvt3zrjzzgsg) { if (!StringHelper::HasValue($_O9izkvt3zrjzzgsg)) { return; } $_oiy68z446bvplh1w4m5x598w6i = CollectionHelper::StringArraySearch($_O9izkvt3zrjzzgsg, Macrolanguage::$Names); if (false !== $_oiy68z446bvplh1w4m5x598w6i) { return $_oiy68z446bvplh1w4m5x598w6i; } else { return; } } public static function GetMacrolanguageCode($_lhpsc89uqcgen030qq6hh) { if (!is_int($_lhpsc89uqcgen030qq6hh)) { throw new Exception("\125\156\x6b\x6e\157\167\x6e\40\155\141\x63\162\x6f\154\x61\x6e\147\x75\x61\147\x65\40\166\x61\154\x75\145\72\x20".$_lhpsc89uqcgen030qq6hh); } if (array_key_exists($_lhpsc89uqcgen030qq6hh, self::$m_MacrolanguageCodes)) { return self::$m_MacrolanguageCodes[$_lhpsc89uqcgen030qq6hh][0]; } else { throw new Exception("\125\156\x6b\x6e\157\167\156\x20\x6d\x61\143\162\x6f\154\141\156\147\165\141\x67\145\40\x76\x61\x6c\x75\x65\72\x20".$_lhpsc89uqcgen030qq6hh); } } public static function GetMacrolanguage($_lh33rhbleb5yygs6wweqx) { if (!StringHelper::HasValue($_lh33rhbleb5yygs6wweqx)) { throw new Exception("\x55\x6e\153\x6e\x6f\x77\x6e\40\x6d\x61\143\162\157\154\141\156\x67\x75\x61\147\x65\40\x63\157\144\145\x3a\40".$_lh33rhbleb5yygs6wweqx); } $_0ke6ko26xkpfs4pq = CollectionHelper::StringArraySearch($_lh33rhbleb5yygs6wweqx, self::$m_MacrolanguageCodes); if (false !== $_0ke6ko26xkpfs4pq) { return $_0ke6ko26xkpfs4pq; } else { return Macrolanguage::None; } } } Macrolanguage::$m_MacrolanguageCodes = array( Macrolanguage::None => array(''), Macrolanguage::Albanian => array("\x73\x71", "\163\161\x69"), Macrolanguage::Arabic => array("\141\162", "\141\162\141"), Macrolanguage::Chinese => array("\x7a\x68", "\x7a\x68\157"), Macrolanguage::Estonian => array("\145\164", "\x65\x73\164"), Macrolanguage::Latvian => array("\x6c\x76", "\154\141\166"), Macrolanguage::Malay => array("\155\163", "\x6d\x73\141", "\x6d\141\171"), Macrolanguage::Norwegian => array("\x6e\157", "\x6e\157\162"), Macrolanguage::SerboCroatian => array("\x73\x68", "\x68\x62\x73") ); Macrolanguage::$Names = array( Macrolanguage::None => "\x4e\157\156\x65", Macrolanguage::Albanian => "\101\x6c\142\x61\156\x69\141\156", Macrolanguage::Arabic => "\101\x72\x61\142\151\x63", Macrolanguage::Chinese => "\x43\x68\151\156\145\x73\x65", Macrolanguage::Estonian => "\105\163\164\x6f\156\x69\x61\x6e", Macrolanguage::Latvian => "\x4c\141\x74\166\151\141\156", Macrolanguage::Malay => "\115\141\154\141\171", Macrolanguage::Norwegian => "\116\x6f\162\167\145\x67\151\141\x6e", Macrolanguage::SerboCroatian => "\123\145\162\142\157\103\x72\157\x61\x74\x69\x61\x6e" ); class Localization { public function __construct($_i2cu1f5pjdo9rr0bbt6l037b02, $_ixfk0zhr4bycpci7, $_lpffssubscckonjw, $_I62pwrs9olvkggwshmqm3wqcq3, $_1vribfc5wx2j5oe5, $_Iuoh8xlrdszjl6amqpea6, $_0ivm6x438j5opio6, $_oopvqdielf185otq, $_0dhy6eg5pov1kei55v35u7vy4k) { $this->Macrolanguage = $_i2cu1f5pjdo9rr0bbt6l037b02; $this->Language = $_ixfk0zhr4bycpci7; $this->Charset = $_lpffssubscckonjw; $this->Country = $_I62pwrs9olvkggwshmqm3wqcq3; $this->CharsetDiff = StringHelper::GetCodePoints($_1vribfc5wx2j5oe5); $this->HelpLink = $_Iuoh8xlrdszjl6amqpea6; $this->HelpTooltip = $_0ivm6x438j5opio6; $this->ReloadTooltip = $_oopvqdielf185otq; $this->SoundTooltip = $_0dhy6eg5pov1kei55v35u7vy4k; $this->jrvss(); $this->sg187(); $this->axadn(); } private function sg187() { $_I3ke3w25e9znz9xtqnzk1 = ''; if (0 !== $this->Macrolanguage) { $_I3ke3w25e9znz9xtqnzk1 .= Macrolanguage::GetMacrolanguageCode($this->Macrolanguage); } if (0 !== $this->Macrolanguage && 0 !== $this->Language) { $_I3ke3w25e9znz9xtqnzk1 .= "\x2d"; } if (0 !== $this->Language) { $_I3ke3w25e9znz9xtqnzk1 .= BaseLanguage::GetLanguageCode($this->Language); } $_11c82giy6pk9dt24pnrkn = BaseCharset::GetCharsetCode($this->Charset); $_1k2s5bmqg3ppdkbhehm5iwew1b = Country::GetCountryCode($this->Country); if (0 === $this->Country) { $this->_Octtdjpujb88z3fu6h9ed3fbt4 = "{$_I3ke3w25e9znz9xtqnzk1}\55{$_11c82giy6pk9dt24pnrkn}"; } else { $this->_Octtdjpujb88z3fu6h9ed3fbt4 = "{$_I3ke3w25e9znz9xtqnzk1}\55{$_11c82giy6pk9dt24pnrkn}\55{$_1k2s5bmqg3ppdkbhehm5iwew1b}"; } } private function jrvss() { $this->IsRtl = false; if (0x0627 === $this->Charset || 0x05D0 === $this->Charset) { $this->IsRtl = true; } } private function axadn() { $_ol23ruynuvnauwdcs1jl4t8mfv = "\125\156\x6b\156\x6f\x77\x6e"; if (0 !== $this->Language) { $_ol23ruynuvnauwdcs1jl4t8mfv = BaseLanguage::GetName($this->Language); } else if (0 !== $this->Macrolanguage) { $_ol23ruynuvnauwdcs1jl4t8mfv = Macrolanguage::GetName($this->Macrolanguage); } if (0 === $this->Country) { $this->PronunciationFilename = "\x50\x72\x6f\156\x75\156\x63\x69\x61\x74\x69\x6f\156\137{$_ol23ruynuvnauwdcs1jl4t8mfv}\56\x62\144\163\x70"; } else { $_otib4jyz57pm6ed2y3a087opmz = Country::GetCountryCode($this->Country); $this->PronunciationFilename = "\120\x72\x6f\156\x75\156\x63\x69\141\x74\x69\157\x6e\137{$_ol23ruynuvnauwdcs1jl4t8mfv}\137{$_otib4jyz57pm6ed2y3a087opmz}\x2e\x62\x64\x73\x70"; } } public function __toString() { return $this->_Octtdjpujb88z3fu6h9ed3fbt4; } public $Macrolanguage; public $Language; public $Charset; public $Country; public $CharsetDiff; public $HelpLink; public $HelpTooltip; public $ReloadTooltip; public $SoundTooltip; public $IsRtl; public $PronunciationFilename; private $_Octtdjpujb88z3fu6h9ed3fbt4; } final class SupportedLocales { private function __construct() {} public static $Mapping; public static function FindBestMatch($_Ia76v98qth9lnqfq2hhv6, $_lnpr6qsiy07quze6fexpkflapz, $_lm276po0fp53nqvy5f8uq, $_0vxmwuclr5x7eo3kyyza6yhdza) { $_I3r66zv21rzopat4ffkfztvpro = self::FindMatchingRows( $_Ia76v98qth9lnqfq2hhv6, $_lnpr6qsiy07quze6fexpkflapz, $_lm276po0fp53nqvy5f8uq, $_0vxmwuclr5x7eo3kyyza6yhdza); if (!is_array($_I3r66zv21rzopat4ffkfztvpro) || 0 == count($_I3r66zv21rzopat4ffkfztvpro)) { throw new Exception("\111\x6e\166\141\x6c\x69\x64\40\x6f\x72\40\x75\156\153\x6e\157\x77\156\x20\154\x6f\x63\141\154\x65\40\144\x65\146\x69\156\151\164\151\157\156\x3a\40". $_Ia76v98qth9lnqfq2hhv6."\x7c".$_lnpr6qsiy07quze6fexpkflapz."\x7c".$_lm276po0fp53nqvy5f8uq."\174".$_0vxmwuclr5x7eo3kyyza6yhdza); } return $_I3r66zv21rzopat4ffkfztvpro[0]; } public static function FindMatchingRows($_ilddzlgp2su1e0f59gdlt, $_14ek1auyfyuryaisrb30bazyub, $_O80joips9nbjuab4n023g, $_1w0cr6enm6fpz26i) { $_o1v7jiybec5jbkvs = array(); if (0 === $_ilddzlgp2su1e0f59gdlt && 0 === $_14ek1auyfyuryaisrb30bazyub && 0 === $_1w0cr6enm6fpz26i) { return $_o1v7jiybec5jbkvs; } $_Oin1fy6islfkbertuajk1j0xf1 = count(self::$Mapping); for ($_Ijm12jy6882sw63u = 0; $_Ijm12jy6882sw63u < $_Oin1fy6islfkbertuajk1j0xf1; $_Ijm12jy6882sw63u++) { $_Ilwl2kugvcpm2gv8 = self::$Mapping[$_Ijm12jy6882sw63u]; if (0 !== $_ilddzlgp2su1e0f59gdlt) { if ($_ilddzlgp2su1e0f59gdlt !== $_Ilwl2kugvcpm2gv8->Macrolanguage) { continue; } } if (0 != $_14ek1auyfyuryaisrb30bazyub) { if ($_14ek1auyfyuryaisrb30bazyub !== $_Ilwl2kugvcpm2gv8->Language) { continue; } } if (0x0000 != $_O80joips9nbjuab4n023g) { if ($_O80joips9nbjuab4n023g !== $_Ilwl2kugvcpm2gv8->Charset) { continue; } } if (0 !== $_1w0cr6enm6fpz26i) { if (0 !== $_Ilwl2kugvcpm2gv8->Country && $_1w0cr6enm6fpz26i !== $_Ilwl2kugvcpm2gv8->Country) { continue; } } $_o1v7jiybec5jbkvs[] = $_Ilwl2kugvcpm2gv8; } if (0 != count($_o1v7jiybec5jbkvs) && 0 !== $_1w0cr6enm6fpz26i) { $_1nszcias785obmam = array(); $_Iw7uwn63iaaqll93yw127 = count($_o1v7jiybec5jbkvs); for ($_Ijm12jy6882sw63u = 0; $_Ijm12jy6882sw63u < $_Iw7uwn63iaaqll93yw127; $_Ijm12jy6882sw63u++) { if ($_1w0cr6enm6fpz26i === $_o1v7jiybec5jbkvs[$_Ijm12jy6882sw63u]->Country) { $_1nszcias785obmam[] = $_o1v7jiybec5jbkvs[$_Ijm12jy6882sw63u]; } } if (0 != count($_1nszcias785obmam)) { return $_1nszcias785obmam; } } return $_o1v7jiybec5jbkvs; } } SupportedLocales::$Mapping = array( new Localization(Macrolanguage::Albanian, BaseLanguage::Unknown, BaseCharset::Latin, Country::Albania, "\127", "\150\164\x74\x70\x3a\x2f\x2f\163\161\x2e\x63\x61\x70\164\143\150\141\x2e\142\x69\x7a\x2f\143\141\x70\x74\143\150\141\56\x68\164\x6d\x6c", "\x43\x41\120\124\x43\x48\x41", "\103\x68\x61\156\147\145\x20\164\x68\145\x20\x43\101\x50\x54\x43\x48\101\40\143\x6f\x64\145", "\123\160\145\141\153\x20\164\x68\x65\40\x43\101\120\124\x43\x48\101\40\143\x6f\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Unknown, '', "\150\x74\x74\x70\x3a\57\x2f\141\162\x2e\x63\141\x70\x74\x63\x68\x61\x2e\x62\x69\x7a\x2f\143\141\x70\164\143\150\x61\56\x68\x74\155\154", "\x43\101\x50\x54\103\110\101", "\x43\x68\141\x6e\x67\x65\x20\x74\x68\145\x20\103\x41\120\124\x43\110\x41\40\143\x6f\144\145", "\123\x70\x65\x61\x6b\x20\164\x68\145\x20\x43\x41\120\124\x43\110\101\40\x63\x6f\144\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Algeria, '', "\150\x74\x74\x70\x3a\57\x2f\141\x72\56\x63\x61\x70\x74\143\x68\x61\56\142\151\x7a\57\143\x61\160\x74\143\150\x61\x2e\x68\164\155\x6c", "\x43\x41\x50\x54\103\110\x41", "\x43\x68\141\156\147\x65\x20\164\150\145\40\x43\101\120\124\103\x48\x41\40\x63\157\144\145", "\123\160\x65\x61\153\40\x74\x68\145\x20\103\x41\120\x54\x43\110\101\40\143\157\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Bahrain, '', "\150\x74\164\160\x3a\x2f\x2f\x61\162\x2e\x63\141\x70\x74\143\x68\x61\x2e\x62\151\172\57\143\x61\x70\x74\x63\x68\141\56\150\x74\155\x6c", "\x43\101\120\x54\103\x48\101", "\x43\150\x61\x6e\147\145\40\x74\150\145\40\x43\101\120\124\x43\x48\101\40\143\x6f\x64\145", "\123\x70\x65\141\x6b\40\x74\x68\145\x20\x43\101\x50\124\x43\x48\x41\40\143\x6f\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Egypt, '', "\x68\x74\164\160\x3a\57\x2f\141\162\x2e\143\x61\160\x74\143\150\141\56\142\x69\x7a\57\x63\x61\x70\x74\143\150\141\56\150\164\x6d\154", "\103\101\x50\124\103\x48\101", "\x43\x68\141\156\147\145\x20\x74\150\145\x20\103\x41\120\124\x43\110\101\x20\x63\157\x64\145", "\123\x70\145\141\x6b\40\164\x68\145\40\x43\101\120\x54\x43\x48\101\x20\x63\157\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Iraq, '', "\150\164\164\160\x3a\x2f\x2f\x61\x72\56\x63\x61\160\164\143\150\x61\x2e\x62\151\x7a\57\143\141\x70\164\x63\x68\141\56\x68\164\155\154", "\103\101\120\x54\103\x48\x41", "\x43\x68\141\156\x67\x65\x20\164\x68\x65\40\x43\101\120\124\x43\x48\x41\x20\x63\x6f\144\x65", "\123\x70\145\x61\x6b\x20\x74\x68\x65\x20\103\x41\120\x54\103\110\101\x20\143\x6f\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Jordan, '', "\150\x74\164\160\x3a\57\x2f\x61\162\56\143\141\160\x74\x63\150\141\x2e\x62\x69\x7a\57\x63\x61\x70\164\x63\150\x61\56\x68\x74\155\x6c", "\103\101\120\124\x43\110\101", "\103\x68\141\x6e\x67\145\x20\x74\x68\x65\x20\x43\101\x50\x54\103\x48\101\x20\x63\157\144\x65", "\x53\160\x65\x61\153\x20\x74\150\x65\40\103\x41\120\124\103\110\101\x20\x63\157\x64\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Kuwait, '', "\x68\x74\164\x70\72\57\57\141\x72\56\143\x61\160\x74\143\150\141\x2e\x62\151\172\57\143\141\x70\164\143\x68\141\x2e\x68\164\x6d\x6c", "\x43\x41\x50\x54\103\x48\101", "\103\150\x61\156\x67\145\40\164\x68\x65\40\103\x41\120\x54\x43\x48\101\40\x63\157\x64\145", "\123\x70\x65\141\x6b\40\164\x68\145\40\x43\x41\x50\x54\103\110\x41\40\x63\157\144\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Lebanon, '', "\150\164\x74\x70\x3a\x2f\x2f\x61\x72\56\143\x61\160\164\143\x68\x61\56\x62\151\172\x2f\143\141\160\164\x63\150\141\56\x68\x74\x6d\154", "\x43\101\x50\124\103\x48\x41", "\x43\150\x61\x6e\147\x65\x20\164\150\145\x20\103\x41\x50\124\103\110\x41\40\x63\157\x64\x65", "\x53\160\x65\141\153\x20\164\x68\x65\40\x43\x41\120\x54\103\110\x41\40\x63\157\144\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Libya, '', "\x68\164\x74\160\x3a\57\57\x61\x72\56\x63\x61\160\164\x63\150\x61\x2e\x62\151\x7a\57\x63\x61\x70\x74\143\150\x61\x2e\x68\164\x6d\x6c", "\x43\x41\x50\x54\x43\110\101", "\103\x68\141\x6e\147\x65\x20\x74\150\145\x20\103\101\120\x54\x43\x48\101\x20\143\x6f\x64\145", "\x53\x70\x65\x61\153\40\164\x68\145\40\x43\101\x50\124\103\x48\101\x20\x63\x6f\x64\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Morocco, '', "\150\x74\164\x70\x3a\x2f\57\141\162\56\143\x61\x70\x74\143\x68\x61\x2e\x62\x69\172\x2f\x63\x61\x70\164\x63\x68\141\56\x68\x74\x6d\x6c", "\x43\x41\120\x54\103\110\x41", "\x43\x68\x61\x6e\147\145\40\164\150\x65\x20\103\101\x50\x54\x43\110\101\x20\143\157\x64\x65", "\123\x70\x65\141\153\x20\164\x68\145\x20\103\101\x50\x54\103\x48\x41\x20\143\157\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Oman, '', "\150\x74\164\x70\x3a\57\x2f\x61\x72\56\143\141\x70\x74\x63\150\141\56\142\x69\x7a\57\x63\x61\x70\x74\x63\x68\141\56\150\x74\x6d\154", "\x43\101\x50\x54\103\x48\101", "\x43\x68\141\x6e\147\x65\40\x74\x68\x65\40\103\x41\x50\x54\x43\110\101\40\143\x6f\x64\145", "\123\x70\x65\x61\153\40\x74\x68\x65\x20\103\x41\120\x54\103\x48\101\x20\x63\x6f\x64\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Qatar, '', "\150\x74\164\x70\x3a\57\57\141\162\x2e\143\141\160\164\x63\x68\x61\x2e\x62\151\x7a\57\x63\141\160\164\143\150\x61\x2e\x68\164\155\154", "\x43\101\x50\124\x43\x48\x41", "\103\150\x61\x6e\x67\x65\40\x74\150\x65\40\x43\101\x50\x54\103\110\x41\40\x63\157\x64\145", "\x53\160\145\141\153\40\x74\150\x65\x20\103\101\120\x54\103\110\x41\40\x63\157\x64\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::SaudiArabia, '', "\150\164\x74\160\72\x2f\x2f\x61\162\x2e\x63\x61\x70\164\x63\x68\141\x2e\x62\x69\172\x2f\143\x61\160\x74\143\x68\x61\x2e\x68\x74\155\x6c", "\103\101\x50\x54\x43\x48\101", "\x43\150\x61\x6e\147\x65\x20\164\150\x65\40\x43\101\x50\124\x43\x48\x41\x20\x63\157\x64\x65", "\123\160\145\141\153\40\x74\x68\x65\x20\x43\x41\120\124\103\x48\x41\x20\x63\157\144\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Syria, '', "\x68\x74\164\x70\x3a\57\57\x61\162\56\143\x61\160\x74\143\150\x61\56\142\x69\172\57\x63\x61\x70\164\x63\x68\141\56\x68\164\155\154", "\103\101\120\x54\x43\x48\101", "\103\150\x61\156\x67\x65\40\164\x68\x65\40\103\101\120\124\x43\110\x41\40\143\x6f\144\145", "\x53\160\145\141\x6b\x20\x74\x68\145\40\x43\101\120\x54\103\x48\101\40\143\157\x64\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Tunisia, '', "\x68\164\x74\x70\x3a\57\57\141\x72\56\143\x61\160\164\143\150\141\x2e\142\x69\x7a\x2f\x63\x61\160\164\x63\150\x61\x2e\150\x74\155\154", "\x43\101\x50\124\103\x48\101", "\103\x68\x61\x6e\x67\x65\40\x74\150\x65\x20\103\x41\120\124\103\110\x41\40\x63\157\x64\x65", "\x53\160\x65\x61\153\40\164\x68\145\40\x43\x41\x50\x54\103\x48\101\x20\143\157\x64\x65"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::UAE, '', "\150\x74\x74\160\72\x2f\x2f\x61\x72\56\143\141\160\164\143\x68\141\x2e\142\151\x7a\57\143\141\x70\x74\143\x68\141\x2e\x68\164\155\x6c", "\x43\x41\120\124\103\x48\101", "\x43\x68\x61\x6e\147\x65\40\x74\150\145\40\x43\101\120\x54\103\x48\x41\40\x63\x6f\x64\x65", "\123\x70\145\141\x6b\40\x74\x68\x65\40\103\x41\x50\x54\103\x48\x41\x20\x63\x6f\144\145"), new Localization(Macrolanguage::Arabic, BaseLanguage::Unknown, BaseCharset::Arabic, Country::Yemen, '', "\150\164\x74\x70\72\57\57\141\162\x2e\x63\141\x70\x74\143\x68\x61\56\x62\151\x7a\x2f\x63\x61\160\x74\x63\150\x61\x2e\x68\x74\155\154", "\103\101\x50\124\x43\x48\101", "\103\150\141\156\x67\145\x20\x74\x68\145\x20\x43\101\120\x54\103\110\101\x20\x63\157\144\x65", "\123\160\x65\141\153\40\x74\x68\145\40\103\101\x50\x54\103\110\x41\40\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Basque, BaseCharset::Latin, Country::Unknown, "\103\x2c\x51\x2c\x56\x2c\127\54\131", "\150\x74\164\x70\72\57\x2f\145\165\x2e\143\x61\160\x74\143\x68\x61\56\x62\151\172\57\143\x61\160\164\143\150\141\x2e\150\164\x6d\x6c", "\x43\x41\120\x54\103\x48\101", "\x43\x68\141\x6e\x67\x65\40\164\150\145\40\103\101\120\124\x43\x48\x41\40\143\x6f\x64\145", "\x53\x70\145\x61\x6b\40\164\x68\x65\x20\x43\x41\x50\x54\103\x48\101\x20\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Belarusian, BaseCharset::Cyrillic, Country::Belarus, "\xd0\257", "\150\164\164\160\72\57\57\x62\x65\x2e\x63\x61\x70\x74\x63\x68\141\56\142\151\172\x2f\143\141\x70\x74\x63\150\141\x2e\x68\x74\155\x6c", "\103\x41\120\124\103\x48\x41", "\103\x68\x61\x6e\147\145\40\164\x68\145\x20\103\101\120\x54\103\110\101\x20\143\157\x64\x65", "\123\160\x65\141\x6b\40\164\x68\145\x20\103\x41\120\124\103\x48\101\x20\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Bulgarian, BaseCharset::Cyrillic, Country::Bulgaria, "\xd0\257", "\150\164\x74\160\x3a\57\x2f\142\x67\56\143\x61\x70\164\x63\x68\x61\x2e\x62\x69\172\57\x63\x61\160\x74\143\150\x61\56\x68\164\155\x6c", "\103\101\x50\124\x43\110\x41", "\103\150\141\156\x67\145\40\164\150\x65\40\103\x41\x50\x54\103\x48\101\x20\x63\157\144\145", "\123\160\x65\x61\153\40\x74\x68\145\x20\x43\x41\x50\x54\103\110\101\x20\x63\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Catalan, BaseCharset::Latin, Country::Spain, '', "\x68\164\x74\160\x3a\x2f\x2f\x63\x61\56\x63\x61\x70\164\x63\150\141\56\142\x69\x7a\57\143\141\x70\x74\143\150\141\56\150\164\x6d\x6c", "\103\101\x50\124\x43\110\x41", "\103\x68\141\156\147\x65\40\x74\x68\x65\x20\x43\x41\x50\124\103\110\x41\x20\x63\157\x64\x65", "\123\160\145\x61\153\x20\x74\150\x65\x20\103\101\x50\124\103\x48\101\40\143\x6f\144\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Mandarin, BaseCharset::HanSimplified, Country::PRC, '', "\150\164\x74\160\72\x2f\x2f\143\155\x6e\x2e\143\x61\x70\x74\143\150\x61\56\142\x69\172\57\143\x61\x70\164\143\x68\141\56\150\164\x6d\x6c", "\x43\x41\120\124\103\x48\101", "\103\x68\x61\156\x67\145\40\x74\x68\145\40\103\x41\120\x54\103\110\101\x20\143\x6f\x64\145", "\123\x70\145\x61\153\x20\164\x68\x65\40\x43\x41\x50\124\103\110\101\x20\143\x6f\x64\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Mandarin, BaseCharset::HanSimplified, Country::Singapore, '', "\x68\164\164\x70\72\x2f\x2f\x63\x6d\x6e\x2e\x63\x61\x70\x74\143\x68\x61\x2e\142\x69\x7a\x2f\x63\141\160\164\x63\x68\141\x2e\150\164\x6d\x6c", "\103\x41\x50\x54\x43\x48\x41", "\103\150\x61\x6e\147\x65\x20\x74\150\x65\x20\x43\x41\120\124\103\x48\101\40\x63\x6f\x64\x65", "\123\160\x65\141\153\x20\164\x68\x65\x20\103\101\x50\x54\103\x48\x41\x20\x63\157\x64\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Mandarin, BaseCharset::HanTraditional, Country::Taiwan, '', "\x68\x74\x74\x70\x3a\57\57\143\x6d\156\55\150\x61\156\x74\56\143\141\x70\x74\143\x68\x61\x2e\x62\x69\x7a\57\x63\x61\160\x74\x63\x68\x61\56\150\164\155\x6c", "\x43\x41\120\124\x43\x48\101", "\x43\150\141\156\x67\x65\x20\164\150\x65\x20\x43\101\120\x54\103\x48\101\x20\x63\157\144\x65", "\x53\160\x65\141\153\40\164\x68\145\x20\x43\x41\x50\124\x43\x48\x41\40\x63\157\144\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Mandarin, BaseCharset::HanTraditional, Country::HongKong, '', "\x68\x74\164\160\x3a\x2f\x2f\x63\155\156\55\150\141\156\x74\56\x63\141\160\x74\x63\150\x61\x2e\142\151\172\57\143\x61\x70\x74\x63\150\x61\x2e\150\164\155\x6c", "\x43\101\120\124\x43\x48\101", "\x43\x68\141\156\x67\x65\x20\x74\150\x65\x20\x43\x41\120\x54\103\110\x41\x20\x63\x6f\144\145", "\x53\x70\x65\141\x6b\40\x74\x68\145\x20\x43\101\x50\x54\x43\110\x41\x20\143\157\144\145"), new Localization(Macrolanguage::Chinese, BaseLanguage::Mandarin, BaseCharset::Bopomofo, Country::Taiwan, '', "\x68\x74\164\x70\72\57\x2f\143\x6d\156\55\142\157\160\x6f\x2e\143\141\160\164\x63\x68\141\56\142\151\172\57\x63\141\x70\164\143\x68\x61\x2e\150\164\x6d\x6c", "\103\101\x50\x54\x43\x48\x41", "\x43\x68\141\x6e\x67\145\40\164\x68\x65\x20\x43\101\x50\124\103\x48\x41\40\143\x6f\144\145", "\x53\x70\145\141\x6b\40\164\x68\x65\40\x43\101\x50\x54\x43\x48\101\40\143\x6f\x64\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Cantonese, BaseCharset::HanSimplified, Country::PRC, '', "\150\164\164\160\x3a\57\57\171\165\145\x2e\x63\141\160\x74\143\150\141\x2e\142\x69\x7a\57\x63\x61\160\x74\x63\150\x61\56\150\x74\155\x6c", "\103\x41\120\x54\x43\x48\101", "\103\150\141\x6e\147\145\40\x74\x68\145\40\x43\101\120\x54\x43\110\x41\x20\143\157\144\x65", "\x53\160\x65\x61\153\x20\164\150\x65\40\103\x41\x50\x54\103\110\x41\x20\143\157\144\145"), new Localization(Macrolanguage::Chinese, BaseLanguage::Cantonese, BaseCharset::HanTraditional, Country::HongKong, '', "\x68\x74\164\x70\72\57\x2f\x79\x75\x65\x2d\x68\141\x6e\x74\56\x63\141\x70\x74\x63\x68\141\56\x62\x69\x7a\57\143\141\160\164\x63\150\x61\x2e\x68\164\x6d\x6c", "\103\101\x50\x54\103\110\x41", "\x43\150\x61\x6e\x67\x65\40\164\150\x65\x20\103\101\x50\x54\x43\x48\101\x20\143\x6f\144\145", "\x53\x70\x65\x61\x6b\x20\164\x68\x65\x20\103\101\x50\x54\x43\110\101\x20\143\157\144\x65"), new Localization(Macrolanguage::Chinese, BaseLanguage::Cantonese, BaseCharset::HanTraditional, Country::Macao, '', "\x68\x74\164\160\72\57\x2f\x79\x75\x65\x2d\x68\141\156\x74\x2e\x63\x61\x70\164\143\150\141\56\142\151\172\x2f\x63\141\160\x74\143\150\x61\x2e\150\x74\155\x6c", "\103\101\120\x54\x43\x48\101", "\x43\150\x61\156\147\x65\x20\164\x68\x65\40\x43\x41\120\124\x43\110\x41\x20\143\157\x64\x65", "\x53\160\145\141\x6b\40\164\x68\x65\x20\103\101\120\124\x43\110\101\x20\x63\157\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Czech, BaseCharset::Latin, Country::CzechRepublic, "\121\54\x57", "\150\164\164\160\x3a\57\57\143\163\x2e\x63\x61\160\164\143\150\x61\56\x62\x69\172\57\x63\141\160\x74\143\x68\x61\56\150\164\x6d\154", "\x43\101\120\x54\103\x48\101", "\x43\x68\141\x6e\x67\145\x20\164\x68\145\x20\x43\x41\120\124\x43\110\x41\40\x63\x6f\x64\x65", "\x53\160\x65\141\153\40\164\150\145\x20\x43\x41\x50\x54\x43\110\x41\x20\143\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Danish, BaseCharset::Latin, Country::Denmark, "\x43\x2c\121\54\x57\54\x58\54\132", "\x68\x74\x74\x70\x3a\x2f\x2f\x64\x61\56\143\141\160\164\x63\x68\141\56\x62\x69\x7a\57\x63\x61\160\x74\x63\x68\x61\56\x68\x74\x6d\x6c", "\103\101\x50\124\x43\110\101", "\103\150\x61\x6e\147\x65\x20\x74\x68\x65\x20\x43\101\120\124\x43\x48\101\40\143\157\144\145", "\x53\160\x65\x61\153\40\x74\150\x65\40\103\x41\x50\x54\103\110\x41\40\x63\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Dutch, BaseCharset::Latin, Country::Netherlands, '', "\x68\x74\x74\x70\x3a\57\x2f\x6e\x6c\56\x63\141\x70\x74\143\150\x61\56\x62\151\x7a\57\143\141\x70\164\x63\150\141\x2e\150\x74\155\x6c", "\103\x41\120\x54\x43\x48\101", "\x43\x68\x61\156\147\x65\40\x74\150\x65\x20\x43\x41\120\x54\103\x48\101\x20\x63\x6f\x64\x65", "\x53\160\145\x61\x6b\40\164\150\x65\40\103\101\120\124\x43\x48\x41\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Dutch, BaseCharset::Latin, Country::Belgium, '', "\x68\164\164\160\72\57\57\156\154\x2e\143\x61\160\164\143\x68\141\x2e\x62\x69\172\57\143\x61\160\164\x63\x68\141\56\150\164\x6d\x6c", "\103\101\x50\124\x43\110\101", "\103\x68\x61\x6e\x67\145\x20\x74\x68\145\x20\x43\x41\x50\x54\x43\110\101\40\143\157\144\145", "\x53\160\x65\141\153\x20\x74\x68\145\x20\103\101\x50\x54\x43\x48\x41\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::USA, '', "\150\x74\x74\x70\x3a\57\57\143\x61\x70\164\x63\x68\x61\56\142\x69\172\57\143\x61\160\x74\143\150\141\56\x68\x74\x6d\x6c", "\103\x41\x50\x54\103\x48\101", "\103\x68\141\156\147\x65\x20\x74\150\145\x20\103\x41\120\x54\103\x48\x41\40\143\157\144\x65", "\123\160\145\141\153\40\164\150\145\x20\x43\x41\120\124\103\110\101\x20\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Australia, '', "\150\164\164\x70\x3a\x2f\57\x63\x61\x70\x74\143\x68\141\56\x62\151\x7a\57\143\141\160\164\143\150\x61\x2e\x68\164\x6d\154", "\x43\101\120\124\x43\x48\x41", "\x43\x68\x61\x6e\x67\x65\40\x74\x68\145\x20\x43\101\x50\x54\x43\x48\x41\x20\x63\x6f\x64\145", "\x53\160\145\141\153\40\x74\x68\x65\x20\x43\101\x50\124\103\110\101\x20\143\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Belize, '', "\150\164\164\x70\x3a\x2f\x2f\x63\141\x70\164\143\x68\141\x2e\x62\151\172\x2f\143\141\x70\x74\143\x68\141\56\x68\164\155\154", "\103\101\120\x54\x43\110\x41", "\x43\x68\141\156\x67\x65\40\x74\150\145\x20\103\101\x50\x54\103\x48\x41\40\143\x6f\144\x65", "\x53\160\145\141\153\x20\164\x68\145\x20\x43\101\x50\124\x43\x48\101\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Canada, '', "\x68\164\164\160\72\x2f\57\143\x61\160\164\x63\x68\x61\56\142\151\172\x2f\x63\x61\x70\x74\x63\150\141\56\150\x74\155\154", "\x43\x41\120\124\103\110\101", "\x43\150\x61\156\x67\145\40\x74\x68\145\x20\x43\101\120\124\x43\110\x41\40\143\157\x64\x65", "\x53\x70\145\x61\153\40\164\150\145\40\103\101\120\124\x43\110\x41\x20\x63\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::India, '', "\x68\x74\164\160\72\57\57\x63\141\160\x74\143\x68\141\x2e\142\x69\172\x2f\x63\x61\160\164\x63\x68\141\56\x68\x74\x6d\154", "\103\101\120\x54\103\x48\x41", "\103\150\141\x6e\x67\x65\40\x74\150\x65\x20\103\x41\x50\x54\x43\x48\x41\x20\x63\157\x64\145", "\123\160\145\141\153\40\x74\150\x65\x20\103\101\x50\124\x43\x48\101\x20\143\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Ireland, '', "\x68\164\164\x70\x3a\x2f\57\x63\x61\x70\x74\x63\x68\x61\x2e\142\x69\172\x2f\x63\141\x70\x74\x63\150\141\56\x68\x74\155\x6c", "\x43\101\120\124\x43\110\101", "\103\150\141\156\x67\x65\40\x74\x68\145\x20\103\101\120\x54\x43\110\x41\40\143\157\x64\x65", "\123\x70\145\x61\x6b\x20\164\x68\145\x20\103\101\120\124\x43\110\101\x20\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Jamaica, '', "\x68\164\164\x70\72\x2f\57\143\141\x70\164\143\x68\x61\x2e\x62\x69\x7a\57\143\x61\160\x74\143\x68\x61\x2e\x68\x74\x6d\154", "\x43\101\x50\x54\103\x48\x41", "\x43\x68\x61\x6e\x67\145\x20\x74\150\x65\x20\x43\x41\120\x54\103\x48\x41\40\143\x6f\144\145", "\x53\160\x65\x61\153\x20\x74\150\145\x20\x43\101\x50\124\x43\110\101\40\x63\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Malaysia, '', "\x68\x74\164\x70\72\57\57\143\141\x70\164\143\150\141\x2e\x62\x69\x7a\57\143\141\160\164\143\x68\x61\56\150\164\x6d\x6c", "\x43\101\120\124\103\110\101", "\x43\150\x61\x6e\x67\x65\x20\164\x68\145\40\103\x41\x50\124\103\110\101\40\143\157\144\145", "\x53\160\145\x61\x6b\x20\164\x68\x65\x20\103\101\120\x54\103\x48\101\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::NewZealand, '', "\150\164\164\160\x3a\x2f\x2f\x63\141\x70\x74\x63\x68\141\x2e\x62\151\172\x2f\x63\x61\160\164\x63\x68\x61\x2e\x68\x74\x6d\x6c", "\103\101\x50\x54\103\110\x41", "\103\x68\x61\156\147\145\40\164\150\145\x20\x43\101\120\x54\103\x48\101\40\x63\x6f\x64\x65", "\123\160\x65\x61\x6b\40\164\150\x65\x20\x43\x41\120\124\x43\110\x41\x20\143\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Philippines, '', "\x68\x74\164\x70\x3a\x2f\x2f\x63\x61\x70\x74\x63\150\x61\56\142\151\172\57\143\141\160\164\x63\x68\141\x2e\x68\x74\155\154", "\103\101\x50\124\103\x48\101", "\103\x68\x61\156\x67\145\40\164\x68\145\40\103\x41\x50\124\103\110\x41\40\x63\157\x64\x65", "\123\160\x65\x61\153\40\164\150\145\40\x43\x41\120\124\x43\110\101\x20\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Singapore, '', "\150\164\164\160\72\57\x2f\143\x61\x70\164\143\150\x61\x2e\142\151\172\57\143\x61\x70\164\x63\150\141\56\150\x74\155\x6c", "\x43\101\120\124\103\110\x41", "\103\150\x61\156\x67\145\40\x74\150\x65\40\103\101\x50\x54\x43\110\x41\x20\x63\157\144\145", "\123\x70\145\x61\153\x20\x74\150\x65\40\x43\101\x50\124\x43\110\101\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::SouthAfrica, '', "\150\164\x74\160\x3a\x2f\57\x63\141\x70\164\x63\x68\x61\56\142\151\x7a\x2f\x63\x61\x70\x74\143\x68\x61\x2e\150\x74\x6d\x6c", "\x43\101\120\124\x43\110\101", "\x43\150\x61\156\x67\145\x20\164\x68\x65\x20\x43\101\x50\124\x43\110\x41\x20\143\x6f\144\145", "\123\x70\145\x61\x6b\x20\x74\150\x65\40\x43\x41\120\124\x43\110\x41\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::TrinidadTobago, '', "\150\x74\x74\x70\x3a\x2f\x2f\x63\141\x70\x74\143\x68\x61\56\142\x69\172\57\143\141\x70\164\x63\150\141\56\x68\x74\155\x6c", "\x43\x41\120\x54\x43\x48\101", "\103\150\141\156\x67\145\40\164\x68\145\40\x43\101\x50\x54\x43\110\101\40\143\157\x64\145", "\123\x70\x65\x61\x6b\40\164\150\145\40\103\101\x50\x54\103\x48\101\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::UK, '', "\x68\164\164\160\72\x2f\x2f\x63\x61\x70\x74\143\150\141\x2e\x62\151\x7a\x2f\x63\x61\160\164\143\x68\141\56\x68\164\x6d\154", "\x43\x41\x50\124\x43\x48\101", "\103\x68\x61\x6e\147\145\40\164\x68\145\40\x43\101\120\124\x43\x48\x41\40\x63\x6f\144\x65", "\x53\160\x65\141\153\x20\164\150\145\40\x43\101\x50\x54\103\110\x41\x20\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::English, BaseCharset::Latin, Country::Zimbabwe, '', "\x68\164\164\x70\x3a\x2f\x2f\x63\141\x70\164\143\150\141\x2e\x62\x69\x7a\x2f\143\141\160\164\143\150\141\x2e\x68\164\x6d\x6c", "\x43\x41\120\x54\103\110\x41", "\103\150\x61\156\x67\145\40\x74\x68\145\40\103\101\x50\x54\103\x48\101\40\x63\x6f\144\x65", "\x53\160\145\x61\x6b\40\164\150\x65\x20\x43\101\x50\124\103\110\x41\40\143\x6f\x64\145"), new Localization(Macrolanguage::Estonian, BaseLanguage::Unknown, BaseCharset::Latin, Country::Estonia, "\x43\x2c\121\54\127\x2c\130\x2c\131", "\150\x74\164\x70\72\57\57\x65\164\x2e\x63\x61\x70\x74\143\150\141\56\x62\151\x7a\x2f\x63\141\x70\164\143\x68\141\x2e\150\164\x6d\x6c", "\103\101\120\124\103\x48\101", "\103\150\141\x6e\147\145\x20\164\x68\145\40\103\x41\x50\124\103\110\101\x20\143\157\144\x65", "\123\x70\x65\x61\x6b\40\164\150\145\x20\x43\x41\x50\124\x43\x48\x41\40\143\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Faroese, BaseCharset::Latin, Country::FaroeIslands, "\x43\x2c\x51\x2c\127\54\130\54\132", "\150\164\x74\x70\72\57\57\146\157\56\143\141\160\x74\x63\x68\141\x2e\x62\x69\x7a\57\143\x61\160\x74\143\x68\141\56\x68\x74\155\154", "\x43\x41\120\x54\103\x48\101", "\103\150\x61\156\147\145\x20\164\150\x65\40\103\x41\x50\124\x43\x48\x41\x20\x63\157\x64\x65", "\123\160\145\x61\x6b\x20\164\150\x65\40\x43\101\x50\124\103\110\x41\40\x63\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Finnish, BaseCharset::Latin, Country::Finland, "\127", "\x68\164\164\x70\x3a\57\57\x66\x69\56\143\141\160\x74\x63\x68\x61\x2e\142\151\172\x2f\x63\141\160\164\x63\150\x61\56\150\164\155\154", "\103\x41\x50\x54\103\x48\x41", "\x43\150\141\x6e\x67\145\40\164\x68\145\x20\x43\x41\120\124\103\110\101\x20\143\x6f\x64\x65", "\x53\160\145\x61\x6b\40\164\150\x65\40\103\x41\x50\x54\x43\110\x41\x20\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::France, '', "\150\164\164\160\72\57\x2f\x66\162\x2e\x63\141\x70\164\143\150\141\56\x62\151\x7a\57\x63\x61\x70\164\x63\x68\x61\56\x68\164\x6d\x6c", "\103\x41\120\124\103\110\101", "\103\x68\141\x6e\147\x65\40\164\x68\x65\40\103\101\x50\124\103\110\x41\40\143\x6f\x64\x65", "\123\x70\x65\x61\153\40\164\x68\x65\40\103\101\x50\124\103\110\101\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::Belgium, '', "\150\164\x74\160\x3a\57\x2f\146\162\56\143\x61\160\164\143\150\141\x2e\x62\x69\172\x2f\x63\141\x70\x74\143\150\x61\x2e\150\x74\155\x6c", "\x43\101\x50\124\103\x48\x41", "\x43\x68\141\x6e\147\145\40\164\150\x65\40\103\x41\x50\x54\103\x48\x41\40\x63\x6f\x64\x65", "\123\160\x65\x61\153\x20\164\x68\145\x20\103\x41\x50\124\103\x48\x41\x20\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::Canada, '', "\x68\x74\164\x70\72\57\57\146\162\x2e\143\x61\160\x74\x63\x68\141\56\x62\151\x7a\x2f\143\x61\x70\164\143\150\x61\x2e\150\x74\x6d\x6c", "\x43\101\x50\x54\x43\x48\101", "\103\150\x61\156\x67\145\x20\x74\x68\x65\40\103\101\120\x54\x43\x48\101\40\x63\x6f\x64\x65", "\123\160\145\141\153\40\x74\x68\145\40\103\101\x50\x54\103\110\101\40\143\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::Luxembourg, '', "\x68\x74\164\160\72\57\57\146\162\56\143\x61\x70\164\143\x68\x61\56\x62\151\x7a\57\x63\141\160\164\x63\x68\x61\56\x68\x74\x6d\x6c", "\x43\x41\x50\124\103\110\x41", "\103\x68\141\x6e\147\145\x20\x74\150\x65\x20\x43\x41\x50\124\103\x48\x41\x20\x63\x6f\144\145", "\x53\160\145\141\x6b\x20\164\x68\145\40\103\101\120\x54\x43\110\x41\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::Monaco, '', "\150\x74\164\x70\x3a\x2f\57\x66\x72\56\143\141\x70\164\143\150\141\56\x62\151\172\x2f\x63\141\160\164\x63\x68\x61\x2e\x68\x74\x6d\x6c", "\x43\x41\120\x54\103\110\x41", "\103\x68\141\x6e\x67\145\40\164\x68\145\40\103\101\120\x54\103\x48\x41\40\x63\x6f\144\145", "\123\160\145\141\153\x20\x74\x68\145\40\x43\101\x50\x54\103\x48\x41\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::French, BaseCharset::Latin, Country::Switzerland, '', "\x68\x74\x74\160\x3a\x2f\x2f\146\x72\x2e\x63\x61\160\164\x63\x68\x61\x2e\x62\x69\172\57\x63\141\160\x74\x63\150\x61\x2e\x68\x74\x6d\x6c", "\103\101\x50\124\103\110\101", "\103\x68\x61\156\x67\145\40\164\150\x65\40\103\101\x50\x54\103\x48\101\40\x63\157\144\x65", "\x53\x70\145\141\153\x20\164\150\x65\x20\103\101\120\124\x43\110\101\x20\x63\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::German, BaseCharset::Latin, Country::Germany, '', "\150\164\164\160\x3a\x2f\57\x64\145\x2e\x63\141\160\164\143\150\x61\x2e\142\151\x7a\57\143\141\160\x74\x63\x68\141\56\x68\164\155\x6c", "\103\x41\120\124\x43\110\101", "\103\x68\141\156\x67\x65\40\164\150\x65\x20\x43\x41\120\124\x43\110\101\40\143\x6f\x64\145", "\123\x70\145\x61\x6b\40\x74\150\x65\40\103\x41\120\x54\103\x48\101\x20\143\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::German, BaseCharset::Latin, Country::Austria, '', "\x68\x74\x74\x70\72\x2f\x2f\x64\145\x2e\x63\x61\160\x74\143\150\x61\x2e\x62\x69\172\x2f\143\x61\160\x74\143\x68\141\56\x68\x74\x6d\x6c", "\x43\101\x50\x54\103\x48\x41", "\103\x68\141\x6e\x67\145\x20\x74\150\x65\40\x43\x41\120\124\x43\110\x41\x20\x63\x6f\x64\145", "\x53\x70\x65\x61\153\40\x74\150\145\40\x43\101\120\x54\103\x48\x41\x20\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::German, BaseCharset::Latin, Country::Liechtenstein, '', "\150\x74\x74\160\72\57\57\x64\x65\56\x63\141\160\164\x63\150\141\x2e\x62\151\x7a\57\143\141\x70\x74\x63\x68\141\56\150\x74\155\x6c", "\103\101\120\124\103\110\x41", "\103\150\x61\x6e\147\x65\x20\164\x68\145\x20\x43\x41\x50\124\103\x48\101\40\143\157\144\x65", "\123\160\x65\x61\153\x20\x74\150\x65\40\x43\101\x50\124\x43\x48\x41\x20\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::German, BaseCharset::Latin, Country::Luxembourg, '', "\150\164\x74\x70\72\57\x2f\x64\145\x2e\x63\x61\160\164\143\150\141\56\142\x69\172\57\143\x61\160\x74\143\150\x61\x2e\x68\164\155\154", "\x43\x41\120\124\103\110\101", "\x43\150\x61\x6e\x67\145\x20\x74\150\145\40\103\101\120\124\x43\x48\101\x20\143\157\144\145", "\123\x70\145\x61\x6b\x20\x74\x68\x65\40\x43\101\x50\124\x43\x48\x41\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::German, BaseCharset::Latin, Country::Switzerland, '', "\x68\164\x74\x70\x3a\57\x2f\144\x65\x2e\x63\x61\x70\x74\x63\150\141\x2e\142\151\x7a\57\143\141\x70\164\x63\150\x61\56\150\x74\155\x6c", "\103\101\x50\x54\x43\110\x41", "\x43\x68\x61\156\147\145\40\164\150\145\40\103\101\x50\124\x43\x48\101\x20\143\x6f\144\x65", "\123\160\145\x61\x6b\40\x74\x68\145\40\103\x41\120\x54\103\x48\x41\40\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Greek, BaseCharset::Greek, Country::Greece, '', "\150\164\164\x70\72\57\x2f\145\x6c\56\143\141\x70\x74\x63\150\x61\x2e\x62\x69\x7a\x2f\143\141\x70\x74\143\150\141\x2e\150\164\x6d\x6c", "\103\x41\120\x54\x43\x48\101", "\x43\x68\141\156\x67\145\40\x74\x68\x65\x20\103\x41\x50\124\103\x48\101\40\x63\157\144\x65", "\x53\x70\x65\141\153\40\x74\x68\145\x20\x43\x41\x50\x54\103\110\x41\40\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Greenlandic, BaseCharset::Latin, Country::Greenland, "\x42\x2c\x43\54\x44\x2c\x57\x2c\130\54\x59\54\132", "\x68\x74\x74\160\72\x2f\57\x6b\154\x2e\x63\141\x70\164\x63\x68\x61\56\142\151\172\57\x63\x61\160\x74\x63\150\x61\x2e\x68\x74\x6d\x6c", "\103\x41\120\x54\x43\x48\101", "\103\150\141\156\x67\x65\x20\x74\150\x65\40\x43\x41\x50\x54\103\x48\x41\x20\x63\157\x64\145", "\x53\160\x65\x61\x6b\40\164\x68\145\40\103\101\120\124\x43\x48\101\x20\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Hebrew, BaseCharset::Hebrew, Country::Israel, '', "\150\164\164\160\x3a\57\57\150\x65\x2e\x63\x61\160\164\x63\x68\x61\x2e\142\x69\172\x2f\143\x61\x70\164\143\x68\141\x2e\150\164\155\x6c", "\x43\101\120\124\x43\110\x41", "\103\x68\x61\156\147\x65\x20\164\150\145\40\103\101\x50\124\103\110\x41\40\143\157\144\x65", "\x53\x70\145\x61\153\x20\x74\x68\145\40\103\101\x50\124\103\x48\x41\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Hungarian, BaseCharset::Latin, Country::Hungary, "\x51\54\127\x2c\x58\54\x59", "\150\x74\x74\x70\x3a\x2f\57\150\x75\56\x63\141\x70\x74\x63\x68\141\56\142\151\x7a\57\143\141\x70\164\x63\x68\141\x2e\150\164\x6d\154", "\103\101\x50\x54\103\110\x41", "\103\x68\x61\x6e\x67\x65\40\x74\x68\145\40\103\101\x50\124\103\x48\101\x20\x63\x6f\x64\x65", "\123\x70\x65\141\x6b\x20\164\x68\x65\40\103\101\x50\124\x43\110\x41\x20\x63\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Icelandic, BaseCharset::Latin, Country::Iceland, "\x43\x2c\x51\54\127\54\x5a", "\x68\164\164\x70\72\x2f\x2f\151\x73\56\x63\141\160\164\x63\150\x61\x2e\x62\151\x7a\57\x63\x61\160\164\x63\x68\x61\x2e\150\164\x6d\x6c", "\103\101\120\124\103\x48\x41", "\103\150\x61\156\x67\x65\40\164\x68\x65\40\x43\x41\x50\x54\x43\x48\101\x20\143\157\x64\145", "\x53\x70\145\141\x6b\40\164\150\145\x20\103\101\120\x54\x43\x48\101\40\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Hindi, BaseCharset::Devanagari, Country::India, '', "\150\x74\x74\160\x3a\57\57\150\x69\x2e\x63\x61\160\164\143\150\141\x2e\142\151\172\x2f\x63\x61\x70\x74\x63\150\141\56\150\x74\x6d\154", "\x43\101\120\124\x43\x48\x41", "\x43\x68\x61\156\147\x65\x20\x74\x68\x65\x20\x43\101\x50\x54\x43\110\x41\x20\x63\x6f\144\x65", "\123\x70\145\141\153\x20\x74\150\x65\x20\103\x41\120\124\x43\x48\x41\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Italian, BaseCharset::Latin, Country::Italy, "\112\54\x4b\54\127\54\x58\54\x59", "\x68\164\164\x70\72\57\x2f\151\164\56\143\x61\160\x74\x63\x68\x61\56\x62\151\x7a\x2f\x63\x61\160\164\143\x68\x61\x2e\150\x74\155\154", "\103\x41\x50\x54\x43\x48\x41", "\103\150\141\156\x67\x65\x20\x74\150\145\x20\x43\x41\120\x54\103\110\101\40\143\x6f\x64\145", "\x53\x70\x65\141\x6b\40\x74\150\x65\x20\x43\101\x50\124\x43\110\x41\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Italian, BaseCharset::Latin, Country::Switzerland, "\x4a\x2c\113\54\127\x2c\130\x2c\131", "\x68\x74\164\160\x3a\57\x2f\151\x74\56\x63\141\160\164\143\150\x61\56\x62\x69\x7a\x2f\143\x61\x70\164\x63\x68\141\56\150\164\x6d\154", "\103\x41\x50\x54\103\x48\x41", "\103\x68\x61\156\147\x65\x20\x74\150\x65\x20\103\x41\120\124\x43\110\x41\x20\x63\157\x64\145", "\123\160\x65\141\153\x20\x74\150\x65\40\103\x41\120\124\x43\110\x41\x20\143\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Japanese, BaseCharset::Katakana, Country::Japan, '', "\150\x74\x74\x70\x3a\x2f\57\152\x70\x2e\x63\141\x70\x74\x63\x68\141\x2e\142\x69\172\57\x63\x61\160\x74\143\150\x61\x2e\x68\x74\x6d\154", "\x43\101\120\124\103\110\x41", "\103\x68\x61\x6e\x67\145\x20\x74\150\145\40\x43\101\120\124\103\x48\101\40\x63\x6f\144\x65", "\123\160\x65\141\x6b\x20\x74\150\x65\40\103\x41\x50\x54\x43\x48\x41\x20\x63\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Japanese, BaseCharset::Hiragana, Country::Japan, '', "\x68\164\x74\160\72\57\57\152\160\56\143\x61\160\164\x63\x68\141\x2e\x62\151\x7a\x2f\x63\141\x70\164\x63\150\141\x2e\x68\164\155\154", "\103\x41\x50\124\103\x48\x41", "\x43\150\141\156\147\145\40\x74\x68\x65\40\103\101\120\x54\x43\110\x41\40\143\x6f\144\x65", "\x53\160\x65\141\x6b\x20\x74\x68\145\40\x43\x41\120\124\x43\110\101\40\143\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Korean, BaseCharset::Hangul, Country::Korea, '', "\150\x74\x74\x70\72\57\57\x6b\x6f\56\143\x61\160\x74\x63\150\x61\x2e\142\151\172\57\x63\141\160\x74\143\x68\141\56\150\164\x6d\x6c", "\x43\101\120\124\x43\110\101", "\103\x68\x61\x6e\x67\145\40\x74\x68\145\x20\103\x41\120\x54\103\x48\x41\x20\143\x6f\x64\145", "\x53\x70\x65\141\153\40\x74\150\145\x20\x43\101\120\124\103\x48\x41\x20\143\157\x64\x65"), new Localization(Macrolanguage::Latvian, BaseLanguage::Unknown, BaseCharset::Latin, Country::Latvia, "\x51\x2c\x57\x2c\130\x2c\x59", "\150\x74\164\160\x3a\x2f\x2f\x6c\x79\56\143\141\160\x74\143\150\141\56\x62\151\172\57\x63\x61\160\164\x63\x68\141\56\150\164\x6d\x6c", "\x43\x41\120\x54\x43\110\x41", "\x43\150\141\x6e\147\x65\40\x74\150\x65\x20\103\x41\x50\x54\103\110\101\x20\143\157\x64\x65", "\x53\x70\145\141\153\x20\164\150\145\x20\x43\x41\x50\x54\103\110\101\x20\143\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Lithuanian, BaseCharset::Latin, Country::Lithuania, "\121\54\x57\x2c\130", "\x68\x74\164\x70\x3a\57\x2f\x6c\x74\x2e\x63\141\160\164\143\150\x61\x2e\x62\151\x7a\x2f\x63\x61\160\164\143\x68\x61\x2e\x68\x74\155\154", "\x43\x41\120\x54\x43\110\x41", "\x43\150\141\x6e\x67\x65\40\164\150\x65\x20\103\101\120\x54\103\110\x41\x20\x63\157\x64\x65", "\x53\160\x65\141\x6b\x20\x74\x68\x65\40\x43\x41\x50\124\x43\110\101\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Luxembourgish, BaseCharset::Latin, Country::Luxembourg, '', "\150\164\x74\160\72\57\x2f\x6c\x62\56\x63\141\x70\x74\x63\x68\x61\56\142\151\x7a\x2f\x63\x61\x70\164\143\150\x61\56\150\164\155\x6c", "\x43\x41\x50\x54\x43\x48\101", "\x43\x68\141\x6e\147\145\x20\x74\x68\x65\x20\x43\x41\120\x54\x43\x48\101\40\x63\x6f\144\145", "\123\x70\145\x61\153\40\x74\x68\x65\x20\x43\101\120\124\103\x48\101\40\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Macedonian, BaseCharset::Cyrillic, Country::Macedonia, "\xd0\257", "\x68\164\x74\160\72\x2f\57\x6d\153\56\x63\x61\160\x74\x63\x68\x61\x2e\x62\x69\x7a\x2f\143\141\x70\x74\x63\x68\x61\56\150\x74\x6d\154", "\103\101\x50\x54\103\x48\x41", "\x43\150\x61\x6e\147\145\x20\164\x68\145\x20\103\x41\120\124\103\x48\101\40\x63\157\144\145", "\x53\x70\x65\x61\x6b\x20\164\x68\x65\40\103\101\120\124\103\110\x41\40\x63\157\144\145"), new Localization(Macrolanguage::Malay, BaseLanguage::Unknown, BaseCharset::Latin, Country::Malaysia, '', "\x68\x74\164\160\x3a\x2f\57\155\x73\56\143\x61\160\164\x63\150\x61\56\142\151\x7a\x2f\143\x61\160\164\x63\150\141\56\150\164\155\154", "\103\x41\120\124\x43\110\x41", "\x43\150\141\x6e\x67\145\x20\x74\x68\x65\x20\103\x41\120\124\x43\110\101\x20\x63\157\144\145", "\123\160\x65\141\x6b\x20\x74\150\145\40\103\x41\x50\124\x43\110\x41\x20\143\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Maltese, BaseCharset::Latin, Country::Malta, "\103\x2c\131", "\150\164\164\x70\72\x2f\57\x6d\164\56\x63\x61\160\164\x63\x68\x61\x2e\142\x69\x7a\x2f\x63\141\x70\164\143\x68\141\56\150\x74\x6d\154", "\103\101\120\124\103\x48\x41", "\103\150\141\x6e\x67\x65\x20\164\x68\x65\40\103\101\120\124\103\x48\101\x20\x63\x6f\x64\145", "\123\x70\145\141\153\40\x74\150\145\x20\x43\101\x50\124\x43\x48\x41\40\x63\157\144\x65"), new Localization(Macrolanguage::Norwegian, BaseLanguage::Unknown, BaseCharset::Latin, Country::Norway, "\x43\54\x51\x2c\x57\54\130\54\132", "\x68\164\x74\160\x3a\57\x2f\156\x6f\x2e\143\141\x70\x74\x63\150\141\56\x62\x69\x7a\57\x63\x61\160\164\x63\x68\x61\56\x68\x74\x6d\154", "\103\x41\x50\124\x43\110\x41", "\103\150\x61\156\x67\145\x20\164\150\x65\40\103\x41\120\x54\x43\110\101\40\x63\157\144\145", "\x53\x70\145\x61\153\x20\164\150\145\x20\x43\101\x50\x54\x43\110\101\40\143\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Polish, BaseCharset::Latin, Country::Poland, "\x51\x2c\126\54\130", "\150\164\164\160\x3a\57\x2f\160\154\x2e\143\141\x70\164\x63\x68\x61\56\142\x69\172\57\143\x61\x70\164\143\150\x61\56\x68\164\x6d\x6c", "\103\101\x50\x54\103\110\101", "\103\150\x61\x6e\147\x65\x20\x74\x68\x65\40\x43\101\x50\124\x43\x48\101\x20\143\x6f\x64\145", "\123\x70\145\x61\x6b\40\164\150\145\x20\x43\101\120\x54\x43\110\x41\40\143\157\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Portuguese, BaseCharset::Latin, Country::Portugal, '', "\x68\164\164\x70\x3a\57\57\160\164\56\143\x61\x70\164\143\150\141\x2e\x62\x69\172\57\143\x61\x70\x74\x63\x68\141\56\150\x74\x6d\154", "\103\x41\x50\124\103\x48\101", "\x43\x68\x61\x6e\147\x65\40\x74\150\x65\40\x43\x41\120\124\x43\110\101\40\x63\157\144\145", "\x53\x70\x65\141\153\40\164\x68\x65\x20\103\101\x50\x54\103\110\101\x20\x63\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Portuguese, BaseCharset::Latin, Country::Brazil, '', "\150\164\164\160\x3a\57\x2f\x70\x74\x2e\143\x61\160\164\x63\x68\141\x2e\x62\151\172\x2f\143\x61\160\164\143\x68\x61\56\150\164\x6d\154", "\x43\x41\x50\124\103\110\x41", "\x43\x68\x61\156\147\x65\40\164\150\145\40\x43\x41\120\124\103\110\x41\40\143\x6f\x64\x65", "\x53\x70\145\141\x6b\40\x74\150\x65\x20\x43\101\x50\x54\x43\x48\x41\x20\x63\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Romanian, BaseCharset::Latin, Country::Romania, "\121\x2c\127\x2c\x59", "\150\164\164\160\x3a\57\57\x72\x6f\x2e\x63\141\160\x74\143\150\141\56\142\151\x7a\57\x63\141\x70\164\x63\x68\141\56\x68\x74\155\x6c", "\x43\x41\x50\x54\x43\110\x41", "\x43\150\141\x6e\x67\145\40\164\150\x65\x20\x43\101\x50\124\103\110\101\x20\143\157\144\145", "\123\x70\x65\x61\153\x20\x74\150\x65\40\x43\101\120\x54\x43\x48\101\40\143\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Romansh, BaseCharset::Latin, Country::Switzerland, "\x4b\54\127\54\131", "\150\x74\164\160\x3a\57\x2f\x72\155\x2e\x63\141\x70\x74\x63\150\141\56\x62\x69\x7a\x2f\x63\141\x70\164\x63\x68\141\56\x68\164\155\154", "\103\101\x50\124\x43\x48\x41", "\103\x68\141\156\x67\x65\x20\164\x68\145\40\103\101\120\124\x43\x48\101\40\x63\157\x64\145", "\123\160\x65\141\x6b\40\164\x68\145\x20\x43\x41\x50\x54\103\110\101\40\x63\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Russian, BaseCharset::Cyrillic, Country::Russia, '', "\150\164\164\x70\x3a\57\57\x72\x75\x2e\143\x61\x70\164\143\150\141\56\142\x69\x7a\57\x63\x61\x70\164\x63\x68\x61\x2e\x68\164\155\x6c", "\x43\x41\x50\124\x43\x48\101", "\103\150\x61\156\147\x65\40\x74\150\x65\x20\103\x41\x50\124\103\110\x41\40\143\x6f\144\x65", "\x53\160\x65\x61\x6b\x20\x74\150\145\x20\x43\101\120\x54\103\110\x41\40\143\x6f\x64\145"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Bosnian, BaseCharset::Latin, Country::BiH, "\x51\54\x57\x2c\130\54\x59", "\x68\164\164\x70\x3a\x2f\x2f\142\x73\x2e\x63\x61\160\x74\143\x68\x61\56\142\x69\x7a\57\143\141\160\x74\x63\150\x61\x2e\x68\164\155\x6c", "\103\101\120\124\103\110\101", "\120\162\157\155\152\x65\x6e\x69\x20\103\101\x50\124\103\x48\101\x20\x6b\157\x64", "\x49\172\147\x6f\x76\x6f\162\x69\40\x43\101\120\124\x43\x48\x41\40\x6b\157\144"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Bosnian, BaseCharset::Cyrillic, Country::BiH, "\xd0\257", "\150\164\164\160\72\57\x2f\x62\163\x2d\x63\x79\162\154\56\x63\x61\160\164\x63\150\x61\x2e\142\x69\x7a\57\143\141\x70\164\x63\x68\x61\56\150\x74\155\x6c", "\x43\101\x50\124\103\110\101", "\xd0\237\160\x6f\155\152\x65\xd0\275\320\xbf\40\103\x41\x50\124\x43\110\x41\x20\153\x6f\320\xb4", "\111\xd0\267\320\263\157\320\xb2\x6f\x70\320\277\x20\x43\101\120\124\x43\110\x41\x20\x6b\157\320\xb4"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Croatian, BaseCharset::Latin, Country::Croatia, "\121\54\x57\54\130\x2c\131", "\x68\164\164\x70\72\x2f\57\150\x72\x2e\x63\x61\160\164\143\150\141\56\142\151\x7a\x2f\x63\x61\160\x74\143\150\x61\56\x68\x74\155\x6c", "\103\101\120\124\103\x48\x41", "\x50\x72\157\155\151\x6a\145\x6e\151\40\103\101\120\124\103\x48\101\x20\153\x6f\x64", "\x49\172\x67\157\166\157\162\x69\40\x43\101\x50\124\x43\110\x41\40\153\x6f\144"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Croatian, BaseCharset::Latin, Country::BiH, "\x51\x2c\127\x2c\x58\x2c\131", "\150\x74\x74\x70\x3a\x2f\x2f\x68\x72\56\143\x61\x70\x74\x63\x68\141\56\x62\151\x7a\x2f\x63\x61\x70\x74\x63\x68\141\56\x68\x74\x6d\x6c", "\x43\x41\120\124\103\110\x41", "\x50\x72\x6f\x6d\151\152\145\156\x69\x20\103\101\x50\x54\103\x48\101\x20\153\157\144", "\111\172\147\157\166\x6f\x72\151\x20\x43\x41\120\124\103\x48\x41\40\153\x6f\x64"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Serbian, BaseCharset::Cyrillic, Country::Serbia, "\xd0\257", "\x68\x74\x74\160\72\57\x2f\x73\x72\56\x63\141\160\x74\x63\150\x61\x2e\x62\151\x7a\x2f\x63\141\x70\x74\x63\150\x61\56\x68\x74\x6d\154", "\103\x41\120\124\x43\110\101", "\320\x9f\160\157\x6d\145\320\xbd\320\xbf\x20\x43\101\x50\x54\103\110\101\x20\x6b\157\xd0\xb4", "\x49\xd0\xb7\320\263\x6f\xd0\262\157\x70\xd0\277\x20\x43\101\120\x54\x43\x48\x41\x20\x6b\x6f\xd0\xb4"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Serbian, BaseCharset::Cyrillic, Country::BiH, "\320\xaf", "\x68\x74\164\x70\72\x2f\57\x73\162\x2e\x63\141\x70\164\x63\x68\141\56\x62\x69\172\57\143\141\x70\x74\143\150\x61\56\150\164\x6d\x6c", "\103\x41\120\124\x43\x48\x41", "\xd0\x9f\x70\157\155\x65\320\xbd\320\277\x20\103\x41\x50\124\x43\x48\101\x20\153\157\320\xb4", "\x49\xd0\267\xd0\xb3\157\320\262\157\160\320\277\40\103\101\120\124\x43\110\x41\x20\153\157\xd0\xb4"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Serbian, BaseCharset::Latin, Country::Serbia, "\121\54\x57\x2c\130\x2c\131", "\150\x74\x74\160\x3a\57\x2f\x73\x72\x2d\154\141\x74\x6e\56\143\x61\x70\x74\143\150\141\56\142\151\x7a\x2f\143\x61\160\164\x63\150\x61\x2e\150\164\x6d\154", "\x43\101\120\x54\x43\x48\101", "\x50\x72\157\x6d\145\156\151\40\x43\x41\x50\124\x43\x48\101\40\153\157\x64", "\111\x7a\x67\157\x76\x6f\x72\151\x20\x43\101\120\x54\103\110\101\40\153\x6f\144"), new Localization(Macrolanguage::SerboCroatian, BaseLanguage::Serbian, BaseCharset::Latin, Country::BiH, "\x51\54\127\x2c\130\54\x59", "\x68\x74\x74\x70\72\x2f\57\x73\162\x2d\x6c\x61\x74\156\56\x63\x61\160\x74\x63\x68\x61\56\x62\x69\x7a\57\143\141\160\164\143\x68\141\56\x68\164\x6d\154", "\x43\x41\120\124\x43\x48\101", "\x50\162\x6f\155\145\x6e\x69\x20\x43\x41\120\124\x43\x48\x41\x20\x6b\157\144", "\x49\172\147\157\166\157\x72\151\40\103\x41\120\x54\x43\x48\101\40\x6b\157\144"), new Localization(Macrolanguage::None, BaseLanguage::Slovak, BaseCharset::Latin, Country::Slovakia, "\121\x2c\x57\x2c\x58", "\x68\x74\x74\160\72\57\57\163\x6b\x2e\x63\141\160\164\x63\x68\141\x2e\x62\x69\x7a\57\x63\141\x70\164\x63\x68\x61\56\150\x74\155\x6c", "\x43\101\120\x54\103\x48\x41", "\103\150\141\156\147\145\40\164\150\145\x20\103\x41\x50\x54\x43\110\x41\x20\x63\157\144\145", "\123\160\145\x61\x6b\x20\164\150\145\40\x43\101\120\124\103\x48\x41\x20\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Slovenian, BaseCharset::Latin, Country::Slovenia, "\x51\x2c\x57\54\130\54\131", "\x68\x74\164\160\72\57\x2f\163\154\56\x63\141\160\164\x63\150\141\56\142\151\172\57\x63\141\160\164\143\x68\141\x2e\150\164\155\154", "\103\101\120\x54\103\x48\101", "\x43\150\x61\156\x67\x65\x20\x74\x68\x65\40\103\x41\120\124\103\110\101\x20\143\157\144\x65", "\x53\160\145\x61\x6b\x20\164\x68\x65\x20\103\101\120\x54\103\110\x41\x20\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Spain, '', "\150\x74\x74\x70\72\57\57\145\x73\x2e\143\141\x70\164\143\x68\x61\x2e\142\151\x7a\x2f\143\141\160\164\x63\x68\x61\56\x68\x74\155\x6c", "\103\101\x50\124\103\110\101", "\103\150\x61\156\147\x65\40\164\150\x65\x20\103\101\x50\124\103\x48\101\40\143\157\144\145", "\123\x70\145\141\x6b\40\x74\150\x65\x20\103\x41\x50\124\x43\110\x41\40\x63\157\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Argentina, "\x42\54\x56", "\x68\x74\164\160\x3a\x2f\57\145\x73\x2e\143\141\160\x74\143\x68\x61\x2e\x62\151\172\57\x63\141\160\x74\x63\150\141\56\150\164\155\154", "\x43\101\x50\x54\103\x48\101", "\103\150\141\x6e\x67\145\40\164\150\x65\40\x43\x41\x50\x54\x43\110\101\40\143\x6f\144\145", "\123\160\145\141\x6b\40\x74\x68\145\40\103\x41\120\x54\103\110\x41\40\x63\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Bolivia, "\102\x2c\x56", "\150\164\x74\x70\x3a\57\57\145\163\x2e\x63\x61\160\x74\143\150\141\56\x62\x69\172\57\143\141\x70\x74\143\150\141\x2e\x68\164\x6d\154", "\x43\x41\120\x54\x43\110\x41", "\x43\150\141\156\x67\145\40\x74\150\145\40\x43\x41\x50\x54\103\x48\x41\x20\x63\x6f\x64\x65", "\x53\x70\x65\141\153\40\164\150\145\x20\103\x41\x50\x54\x43\x48\x41\x20\x63\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Chile, "\x42\54\126", "\x68\164\x74\160\x3a\x2f\57\x65\163\x2e\143\141\160\164\x63\x68\x61\56\x62\151\x7a\x2f\x63\x61\x70\164\x63\150\141\56\150\164\x6d\x6c", "\x43\101\x50\124\103\x48\x41", "\103\x68\x61\x6e\147\145\x20\164\x68\x65\40\103\101\x50\x54\103\x48\x41\x20\x63\x6f\x64\145", "\123\160\145\x61\153\x20\x74\x68\x65\40\103\101\120\124\103\x48\101\40\x63\157\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Colombia, "\x42\54\126", "\x68\x74\164\x70\72\57\57\145\163\x2e\x63\x61\x70\164\x63\150\x61\56\x62\x69\172\57\143\141\x70\164\x63\x68\x61\56\x68\x74\x6d\x6c", "\103\x41\x50\x54\103\x48\101", "\103\x68\141\156\x67\x65\x20\x74\x68\x65\x20\x43\101\x50\124\103\x48\x41\x20\x63\157\x64\x65", "\x53\160\145\141\153\40\x74\150\x65\x20\x43\101\120\124\103\x48\x41\x20\143\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::CostaRica, "\x42\x2c\x56", "\x68\164\164\160\72\x2f\x2f\145\x73\x2e\x63\141\x70\x74\143\x68\x61\56\142\x69\172\57\x63\141\x70\x74\x63\x68\x61\x2e\x68\x74\155\x6c", "\x43\x41\120\x54\103\110\101", "\103\150\141\x6e\147\145\40\x74\150\145\40\x43\x41\120\x54\103\110\x41\40\x63\157\144\145", "\123\160\x65\141\x6b\x20\x74\150\145\x20\x43\x41\x50\x54\103\x48\101\x20\x63\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::DominicanRepublic, "\102\54\126", "\x68\x74\x74\x70\x3a\x2f\57\145\x73\x2e\x63\141\x70\164\x63\x68\x61\56\142\151\172\57\x63\x61\x70\x74\143\150\x61\56\x68\164\155\154", "\103\101\120\x54\103\110\x41", "\x43\150\141\x6e\147\x65\40\x74\150\145\x20\x43\x41\x50\124\103\x48\x41\40\x63\157\x64\x65", "\123\x70\145\x61\153\40\164\x68\145\40\x43\x41\120\x54\x43\110\101\40\143\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Ecuador, "\102\54\126", "\x68\x74\x74\x70\x3a\x2f\57\145\163\56\x63\x61\160\164\143\150\141\x2e\x62\151\x7a\x2f\143\141\x70\164\143\x68\141\x2e\150\x74\x6d\154", "\103\x41\120\x54\103\x48\101", "\x43\x68\x61\x6e\147\x65\x20\164\150\x65\x20\103\x41\120\x54\x43\x48\101\40\x63\x6f\x64\145", "\123\x70\x65\x61\153\40\164\150\x65\40\x43\x41\x50\x54\x43\110\x41\40\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::ElSalvador, "\x42\x2c\126", "\x68\x74\164\x70\72\57\57\x65\x73\56\143\x61\160\x74\143\x68\x61\56\x62\151\x7a\57\143\x61\x70\164\143\150\x61\x2e\150\164\155\x6c", "\103\x41\120\x54\103\110\x41", "\x43\x68\141\x6e\147\145\40\164\150\x65\x20\x43\101\120\x54\103\110\x41\40\143\x6f\x64\x65", "\123\x70\x65\141\x6b\40\x74\x68\x65\x20\x43\x41\x50\x54\103\110\101\40\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Guatemala, "\x42\54\x56", "\x68\x74\164\x70\72\x2f\x2f\145\x73\x2e\143\141\x70\x74\x63\x68\x61\x2e\x62\x69\x7a\x2f\x63\141\160\x74\x63\x68\141\56\x68\x74\x6d\x6c", "\103\101\x50\124\103\110\101", "\x43\x68\x61\x6e\147\145\40\x74\150\145\x20\x43\x41\x50\124\x43\x48\x41\40\143\x6f\144\145", "\x53\160\145\141\x6b\x20\x74\x68\x65\x20\103\101\x50\124\x43\x48\101\40\143\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Honduras, "\102\x2c\x56", "\150\x74\164\160\x3a\x2f\x2f\145\163\56\x63\141\160\164\143\x68\141\56\x62\x69\x7a\57\x63\x61\160\x74\x63\x68\x61\56\150\x74\x6d\154", "\103\x41\x50\x54\103\110\101", "\x43\150\141\x6e\x67\145\40\164\x68\x65\40\x43\101\120\124\x43\x48\x41\40\x63\x6f\x64\145", "\123\160\x65\x61\153\40\164\x68\x65\40\103\101\x50\124\103\x48\101\40\x63\x6f\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Mexico, "\x42\54\126", "\x68\x74\x74\x70\72\57\57\145\163\x2e\143\141\160\164\x63\x68\x61\x2e\x62\x69\172\57\x63\141\x70\x74\143\150\x61\x2e\150\x74\x6d\x6c", "\x43\x41\120\124\103\x48\x41", "\103\150\x61\x6e\147\145\x20\164\150\x65\x20\x43\101\x50\124\x43\x48\x41\x20\143\157\x64\x65", "\x53\x70\145\141\153\40\164\x68\145\40\103\101\120\124\103\x48\101\40\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Nicaragua, "\x42\54\126", "\150\x74\x74\x70\72\x2f\x2f\145\163\56\x63\141\160\164\143\x68\x61\56\x62\151\172\x2f\143\141\160\164\x63\150\141\x2e\150\164\x6d\x6c", "\x43\101\120\124\103\110\x41", "\103\x68\x61\x6e\147\145\40\164\150\x65\x20\x43\101\120\124\x43\110\x41\x20\x63\x6f\144\145", "\123\160\x65\x61\x6b\40\x74\x68\x65\x20\103\x41\x50\x54\103\x48\101\40\143\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Panama, "\102\54\126", "\x68\164\164\x70\72\x2f\x2f\x65\x73\56\x63\x61\x70\x74\143\150\141\x2e\x62\x69\172\57\143\x61\160\164\x63\150\141\x2e\150\164\x6d\x6c", "\x43\x41\x50\x54\x43\110\101", "\103\x68\x61\x6e\x67\145\x20\x74\x68\x65\x20\103\101\120\124\x43\x48\x41\x20\x63\157\144\x65", "\x53\x70\x65\141\153\x20\164\x68\145\x20\103\x41\120\124\x43\110\x41\x20\x63\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Paraguay, "\102\x2c\x56", "\x68\x74\x74\160\72\57\57\x65\163\x2e\x63\141\160\x74\143\150\141\56\142\x69\172\x2f\143\x61\x70\164\x63\x68\141\x2e\x68\164\x6d\x6c", "\103\x41\120\x54\x43\110\x41", "\103\150\141\156\147\145\x20\164\150\x65\x20\x43\x41\120\x54\103\110\x41\40\x63\157\x64\x65", "\123\160\x65\141\x6b\40\x74\x68\145\40\x43\101\x50\124\x43\110\101\40\x63\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Peru, "\x42\54\x56", "\150\164\x74\160\72\57\x2f\x65\163\56\143\x61\160\164\143\150\141\x2e\142\x69\x7a\x2f\143\x61\x70\x74\143\150\x61\56\150\164\x6d\154", "\103\101\x50\124\x43\110\101", "\103\x68\141\x6e\x67\x65\40\164\x68\145\40\x43\x41\120\124\x43\x48\x41\40\x63\x6f\144\145", "\x53\160\145\141\153\40\164\150\x65\x20\x43\x41\120\124\103\110\x41\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::PuertoRico, "\102\x2c\x56", "\150\164\164\x70\x3a\x2f\57\145\x73\56\x63\x61\x70\x74\143\x68\141\56\x62\x69\x7a\x2f\143\x61\x70\x74\143\150\x61\56\x68\x74\x6d\x6c", "\103\101\120\x54\x43\x48\x41", "\x43\x68\141\x6e\147\x65\40\164\150\x65\x20\103\101\x50\x54\x43\110\101\x20\x63\x6f\x64\x65", "\123\160\x65\x61\153\40\x74\150\145\40\x43\101\120\x54\x43\x48\101\40\x63\157\x64\x65"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::USA, "\102\54\x56", "\x68\164\164\160\72\57\57\x65\x73\x2e\143\x61\x70\164\x63\x68\x61\x2e\142\x69\172\x2f\143\x61\x70\164\x63\150\141\x2e\x68\x74\155\x6c", "\x43\101\120\124\103\x48\101", "\x43\x68\x61\x6e\147\145\40\164\150\x65\40\x43\x41\120\x54\x43\x48\x41\40\x63\157\144\145", "\x53\160\145\x61\x6b\x20\x74\x68\145\x20\x43\101\120\x54\103\110\x41\40\143\157\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Uruguay, "\102\x2c\x56", "\150\164\x74\160\x3a\x2f\x2f\x65\163\x2e\143\141\160\164\143\x68\x61\56\x62\x69\172\57\x63\141\160\164\143\150\x61\56\x68\164\155\x6c", "\x43\101\x50\124\103\110\x41", "\x43\x68\x61\x6e\147\x65\x20\164\150\145\x20\103\101\120\124\103\110\101\40\143\157\144\x65", "\x53\x70\x65\x61\153\x20\x74\150\x65\x20\103\x41\120\124\x43\110\x41\x20\143\x6f\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Spanish, BaseCharset::Latin, Country::Venezuela, "\x42\54\126", "\150\x74\x74\160\72\x2f\x2f\x65\163\56\143\x61\x70\x74\x63\x68\x61\x2e\x62\151\172\57\x63\x61\x70\164\143\150\x61\56\x68\x74\155\154", "\x43\101\120\124\x43\110\101", "\x43\x68\141\156\147\145\x20\164\x68\x65\x20\x43\101\120\124\103\110\101\40\x63\x6f\144\x65", "\x53\160\x65\141\153\x20\x74\x68\x65\40\x43\x41\120\x54\x43\110\x41\40\143\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Swedish, BaseCharset::Latin, Country::Sweden, '', "\150\x74\x74\x70\x3a\x2f\57\x73\x76\x2e\x63\x61\160\164\143\150\141\56\x62\151\172\57\x63\x61\x70\x74\143\150\141\56\x68\x74\155\x6c", "\x43\101\x50\124\103\x48\101", "\103\150\x61\x6e\x67\145\40\x74\150\x65\40\x43\101\x50\124\x43\110\x41\40\143\x6f\x64\x65", "\123\160\145\141\153\x20\164\150\x65\x20\103\x41\x50\124\103\110\101\40\143\x6f\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Swedish, BaseCharset::Latin, Country::Finland, '', "\x68\164\164\x70\72\x2f\57\x73\166\56\x63\141\x70\164\143\150\x61\x2e\x62\x69\x7a\x2f\x63\x61\x70\x74\x63\x68\141\56\x68\164\x6d\154", "\x43\101\x50\x54\x43\x48\101", "\103\x68\141\156\x67\x65\40\164\150\145\40\x43\101\120\124\x43\110\101\40\143\157\x64\145", "\123\x70\x65\x61\153\40\164\150\145\x20\x43\x41\120\124\103\110\101\x20\x63\x6f\144\145"), new Localization(Macrolanguage::None, BaseLanguage::Turkish, BaseCharset::Latin, Country::Turkey, "\x51\x2c\127\x2c\130", "\150\164\164\x70\72\x2f\57\164\x72\56\143\x61\x70\x74\143\x68\x61\x2e\142\x69\172\57\143\x61\x70\164\x63\150\x61\x2e\150\164\155\154", "\x43\x41\x50\x54\103\110\x41", "\103\150\141\156\x67\x65\x20\164\150\x65\x20\x43\x41\120\124\x43\110\101\40\x63\157\144\145", "\123\160\x65\x61\153\x20\164\150\145\40\103\101\120\124\x43\x48\101\x20\x63\157\x64\145"), new Localization(Macrolanguage::None, BaseLanguage::Ukrainian, BaseCharset::Cyrillic, Country::Ukraine, '', "\150\x74\x74\x70\72\x2f\57\x75\x6b\56\143\x61\x70\164\143\x68\141\56\x62\x69\172\x2f\x63\x61\x70\164\x63\150\x61\56\150\164\x6d\154", "\103\x41\120\x54\x43\x48\x41", "\x43\150\x61\x6e\x67\145\x20\x74\150\x65\40\x43\x41\x50\124\103\110\x41\x20\143\x6f\144\x65", "\123\x70\x65\x61\x6b\x20\164\x68\x65\40\103\101\120\124\x43\x48\101\x20\x63\157\144\x65"), new Localization(Macrolanguage::None, BaseLanguage::Vietnamese, BaseCharset::Latin, Country::Vietnam, "\106\x2c\x4a\x2c\127\54\x5a", "\x68\164\164\160\72\57\57\166\151\56\x63\141\x70\164\x63\x68\141\56\x62\151\172\57\x63\x61\x70\x74\143\150\x61\x2e\150\x74\x6d\154", "\x43\x41\120\124\103\x48\101", "\103\150\141\156\147\145\x20\x74\150\x65\40\x43\101\x50\x54\103\x48\x41\x20\x63\157\144\x65", "\123\x70\145\141\x6b\40\164\150\145\40\x43\101\x50\x54\103\x48\101\40\143\157\x64\145") ); final class LocaleParser { private function __construct() {} public static function Parse($_1wl3cydxm9yosqzm) { $_I1st648dfed2fkvyrqths5cujy = self::g686g($_1wl3cydxm9yosqzm); $_0gu85cwtxvxx9ywojl75wjjspg = 0 ; $_oepg3mo6ae2vbqq8tr620i1g20 = 0 ; $_Ok03gilr10hy3rd4s2u6uymubw = 0x0000 ; $_I61gu1f74a1kgoye = 0 ; $_O60qvthawe5ghgo5kc51dnp3fw = explode("\x2d", $_I1st648dfed2fkvyrqths5cujy); $_Ot86uvvlz47qnavaz11o5 = $_O60qvthawe5ghgo5kc51dnp3fw[0]; $_0gu85cwtxvxx9ywojl75wjjspg = Macrolanguage::GetMacrolanguage($_Ot86uvvlz47qnavaz11o5); if (0 === $_0gu85cwtxvxx9ywojl75wjjspg) { $_oepg3mo6ae2vbqq8tr620i1g20 = BaseLanguage::GetLanguage($_Ot86uvvlz47qnavaz11o5); } for ($_ieq9iepsni1pbf5mk9d4q = 1; $_ieq9iepsni1pbf5mk9d4q < count($_O60qvthawe5ghgo5kc51dnp3fw); $_ieq9iepsni1pbf5mk9d4q++) { $_I2ku80xboa2pzm2oqnwv4 = $_O60qvthawe5ghgo5kc51dnp3fw[$_ieq9iepsni1pbf5mk9d4q]; $_Oky5emdjz87poztpolt6hrzper = strlen($_I2ku80xboa2pzm2oqnwv4); if (4 == $_Oky5emdjz87poztpolt6hrzper) { $_Ok03gilr10hy3rd4s2u6uymubw = BaseCharset::GetCharset($_I2ku80xboa2pzm2oqnwv4); } else if (3 == $_Oky5emdjz87poztpolt6hrzper) { $_oepg3mo6ae2vbqq8tr620i1g20 = BaseLanguage::GetLanguage($_I2ku80xboa2pzm2oqnwv4); } else if (2 == $_Oky5emdjz87poztpolt6hrzper) { $_I61gu1f74a1kgoye = Country::GetCountry($_I2ku80xboa2pzm2oqnwv4); } } $_1tsr0kk7bgssaf54ebiuwvzoaw = SupportedLocales::FindBestMatch( $_0gu85cwtxvxx9ywojl75wjjspg, $_oepg3mo6ae2vbqq8tr620i1g20, $_Ok03gilr10hy3rd4s2u6uymubw, $_I61gu1f74a1kgoye); return $_1tsr0kk7bgssaf54ebiuwvzoaw; } private static function g686g($_in1z3cl4dnsx3mxwyaqel) { if (!StringHelper::HasValue($_in1z3cl4dnsx3mxwyaqel)) { return "\145\156"; } $_Oxogb9uxbzkmh4waie8rppqw71 = preg_replace("\x2f\172\x68\x2d\x63\150\163\x2f\x75\x69", "\172\150\55\x68\141\x6e\x73", $_in1z3cl4dnsx3mxwyaqel); $_Oxogb9uxbzkmh4waie8rppqw71 = preg_replace("\x2f\x7a\150\x2d\143\x68\x74\57\x75\x69", "\x7a\150\x2d\150\141\x6e\164", $_Oxogb9uxbzkmh4waie8rppqw71); return $_Oxogb9uxbzkmh4waie8rppqw71; } } final class FontHelper { private function __construct() {} public static $FontFilenames; public static function GetFontFilename($_iv6rx1ui1wh4xzyzoxk68, $_17n85xes115rjzw7e68omzf2uh, $_i27na3p8g8da5bre4ndiks3oeu) { $_05wkw9tlhwi8qbzb4sinmn835q = self::$FontFilenames[$_i27na3p8g8da5bre4ndiks3oeu]; if (is_null($_05wkw9tlhwi8qbzb4sinmn835q) || 0 == count($_05wkw9tlhwi8qbzb4sinmn835q)) { throw new Exception("\x4e\x6f\x20\146\157\156\164\163\x20\x64\145\x63\x6c\x61\x72\145\x64\40\x66\157\162\x20\x62\x61\x73\145\x20\x63\x68\x61\162\x73\145\164\40\x76\141\x6c\x75\x65\72\x20".$_i27na3p8g8da5bre4ndiks3oeu); } $_Oz1flcnsp1wc5eieqg8sk = $_05wkw9tlhwi8qbzb4sinmn835q[$_iv6rx1ui1wh4xzyzoxk68]; if (is_null($_Oz1flcnsp1wc5eieqg8sk) || 0 == count($_Oz1flcnsp1wc5eieqg8sk)) { throw new Exception("\x4e\157\40\146\157\x6e\164\x73\40\x64\x65\x63\x6c\141\x72\x65\x64\40\x66\157\x72\x20\146\157\x6e\x74\x20\164\171\x70\x65\72\40".$_iv6rx1ui1wh4xzyzoxk68); } if (2 == $_17n85xes115rjzw7e68omzf2uh) { $_itxh1g11tpyt6pn8yovvn = RandomizationHelper::RandomFromRange(0, 2); $_17n85xes115rjzw7e68omzf2uh = $_itxh1g11tpyt6pn8yovvn; } $_O3fja5bnvcs6d8xwmkxebjofin = $_Oz1flcnsp1wc5eieqg8sk[$_17n85xes115rjzw7e68omzf2uh]; if (is_null($_O3fja5bnvcs6d8xwmkxebjofin) || 0 == count($_O3fja5bnvcs6d8xwmkxebjofin)) { throw new Exception("\116\157\40\146\x6f\x6e\x74\x73\40\x64\145\x63\154\x61\162\145\x64\x20\146\x6f\162\x20\146\x6f\156\x74\40\x77\x65\x69\147\x68\164\72\x20".$_17n85xes115rjzw7e68omzf2uh); } return CaptchaBase::GetFontsFolder() . "\57" . RandomizationHelper::RandomFromValues($_O3fja5bnvcs6d8xwmkxebjofin); } } FontHelper::$FontFilenames = array( BaseCharset::Arabic => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\117\x44\x4f\x2f\124\x4f\x44\117\x2e\x74\x74\146", ), FontWeight::Bold => array( "\x54\x4f\104\117\x2f\x54\117\x44\x4f\56\x74\164\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\117\x44\x4f\x2f\x54\x4f\104\x4f\56\x74\x74\146", ), FontWeight::Bold => array( "\124\x4f\104\x4f\x2f\124\117\104\117\x2e\164\164\146", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\x4f\57\124\x4f\x44\117\56\164\164\146", ), FontWeight::Bold => array( "\124\x4f\104\117\57\124\x4f\x44\117\56\164\x74\x66", ) ) ), BaseCharset::Bopomofo => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\117\104\117\57\x54\x4f\x44\x4f\56\x74\x74\146", ), FontWeight::Bold => array( "\x54\117\x44\117\x2f\124\117\104\x4f\x2e\x74\x74\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\x4f\x44\x4f\57\124\117\x44\117\56\164\164\x66", ), FontWeight::Bold => array( "\x54\x4f\x44\117\x2f\124\x4f\104\117\x2e\x74\164\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\117\57\x54\117\x44\x4f\56\164\x74\x66", ), FontWeight::Bold => array( "\124\117\104\117\x2f\x54\x4f\104\x4f\56\x74\x74\x66", ) ) ), BaseCharset::Cyrillic => array( FontType::Serif => array( FontWeight::Normal => array( "\124\x4f\104\117\x2f\x54\x4f\104\x4f\56\x74\164\146", ), FontWeight::Bold => array( "\x54\x4f\104\x4f\57\124\117\104\x4f\56\x74\164\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\117\104\117\57\x54\x4f\104\117\x2e\x74\x74\146", ), FontWeight::Bold => array( "\124\x4f\x44\117\x2f\x54\117\x44\x4f\x2e\164\x74\146", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\117\57\x54\117\104\x4f\x2e\164\x74\146", ), FontWeight::Bold => array( "\124\x4f\104\117\x2f\x54\x4f\x44\x4f\x2e\x74\164\x66", ) ) ), BaseCharset::Devanagari => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\117\104\117\57\124\x4f\104\117\x2e\x74\164\x66", ), FontWeight::Bold => array( "\124\117\104\x4f\x2f\124\x4f\x44\117\56\164\164\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\124\117\104\117\57\124\117\x44\x4f\x2e\x74\164\146", ), FontWeight::Bold => array( "\124\x4f\x44\x4f\57\124\x4f\104\x4f\x2e\164\x74\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\117\x2f\x54\117\x44\117\x2e\x74\164\x66", ), FontWeight::Bold => array( "\124\x4f\x44\117\57\124\x4f\104\117\x2e\x74\x74\146", ) ) ), BaseCharset::Greek => array( FontType::Serif => array( FontWeight::Normal => array( "\124\x4f\104\117\57\124\117\104\x4f\x2e\164\164\146", ), FontWeight::Bold => array( "\124\117\104\x4f\x2f\124\x4f\104\x4f\x2e\164\164\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\x4f\104\x4f\x2f\x54\x4f\104\x4f\56\164\x74\146", ), FontWeight::Bold => array( "\x54\117\x44\x4f\x2f\124\x4f\x44\117\56\164\x74\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\117\104\117\57\124\117\104\117\x2e\164\164\x66", ), FontWeight::Bold => array( "\x54\x4f\x44\x4f\x2f\124\x4f\104\x4f\56\164\164\x66", ) ) ), BaseCharset::Hangul => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\x4f\104\x4f\57\124\x4f\x44\117\56\x74\164\x66", ), FontWeight::Bold => array( "\124\x4f\104\117\x2f\x54\117\104\x4f\56\x74\164\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\124\117\x44\117\x2f\x54\x4f\x44\x4f\x2e\164\x74\146", ), FontWeight::Bold => array( "\124\x4f\x44\117\x2f\x54\117\x44\117\x2e\164\164\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\117\x44\117\x2f\124\117\104\117\56\164\164\146", ), FontWeight::Bold => array( "\x54\x4f\104\117\x2f\124\117\104\117\x2e\164\164\x66", ) ) ), BaseCharset::HanSimplified => array( FontType::Serif => array( FontWeight::Normal => array( "\124\117\x44\x4f\x2f\124\x4f\104\117\x2e\164\164\x66", ), FontWeight::Bold => array( "\124\117\x44\117\57\124\x4f\x44\x4f\x2e\164\164\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\124\x4f\104\x4f\x2f\x54\x4f\x44\117\x2e\x74\x74\x66", ), FontWeight::Bold => array( "\x54\x4f\104\x4f\x2f\124\117\x44\117\x2e\x74\164\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\117\57\124\117\x44\117\x2e\x74\x74\146", ), FontWeight::Bold => array( "\124\117\104\117\x2f\124\x4f\104\117\56\164\x74\146", ) ) ), BaseCharset::HanTraditional => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\x4f\104\x4f\57\x54\x4f\x44\x4f\x2e\x74\x74\x66", ), FontWeight::Bold => array( "\x54\117\104\117\x2f\124\x4f\104\117\56\x74\164\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\x4f\x44\117\57\124\117\x44\x4f\x2e\x74\164\x66", ), FontWeight::Bold => array( "\x54\117\104\117\57\124\x4f\104\117\56\164\x74\146", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\104\117\57\x54\x4f\104\x4f\56\164\164\x66", ), FontWeight::Bold => array( "\124\x4f\104\117\57\x54\x4f\104\117\56\x74\164\x66", ) ) ), BaseCharset::Hebrew => array( FontType::Serif => array( FontWeight::Normal => array( "\124\x4f\x44\117\x2f\124\x4f\x44\117\x2e\x74\164\146", ), FontWeight::Bold => array( "\x54\x4f\x44\117\57\124\117\104\117\x2e\164\x74\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x54\117\x44\117\57\124\117\x44\117\56\164\164\x66", ), FontWeight::Bold => array( "\124\x4f\x44\117\57\124\x4f\x44\117\x2e\x74\164\146", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x54\x4f\x44\117\57\x54\117\104\117\56\164\164\146", ), FontWeight::Bold => array( "\124\117\x44\117\57\124\x4f\x44\x4f\x2e\164\x74\146", ) ) ), BaseCharset::Hiragana => array( FontType::Serif => array( FontWeight::Normal => array( "\x54\117\x44\x4f\57\x54\117\x44\117\56\x74\164\146", ), FontWeight::Bold => array( "\124\117\x44\117\57\124\117\x44\x4f\56\164\x74\x66", ) ), FontType::Sans => array( FontWeight::Normal => array( "\124\117\104\x4f\x2f\x54\x4f\x44\x4f\56\164\164\146", ), FontWeight::Bold => array( "\124\117\104\117\x2f\124\x4f\x44\117\x2e\x74\164\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\124\117\104\x4f\x2f\x54\x4f\x44\x4f\x2e\164\164\x66", ), FontWeight::Bold => array( "\x54\x4f\104\x4f\x2f\x54\117\104\x4f\x2e\x74\164\146", ) ) ), BaseCharset::Katakana => array( FontType::Serif => array( FontWeight::Normal => array( "\124\x4f\x44\117\57\124\117\104\x4f\x2e\164\164\x66", ), FontWeight::Bold => array( "\x54\117\x44\x4f\x2f\x54\x4f\x44\x4f\56\164\x74\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\124\x4f\x44\x4f\x2f\124\117\104\x4f\56\164\x74\146", ), FontWeight::Bold => array( "\124\x4f\104\x4f\57\124\117\104\117\x2e\x74\164\146", ) ), FontType::Mono => array( FontWeight::Normal => array( "\124\x4f\x44\117\57\124\x4f\x44\117\x2e\164\x74\x66", ), FontWeight::Bold => array( "\124\117\x44\117\57\x54\x4f\104\117\x2e\x74\164\146", ) ) ), BaseCharset::Latin => array( FontType::Serif => array( FontWeight::Normal => array( "\114\151\x6e\x75\x78\114\151\142\x65\162\164\151\156\145\x2f\x4c\151\x6e\114\x69\142\x65\162\x74\x69\156\x65\137\x52\x2e\x74\x74\146", ), FontWeight::Bold => array( "\x4c\x69\156\165\170\114\x69\x62\x65\x72\x74\x69\156\x65\x2f\114\x69\x6e\114\151\x62\145\x72\x74\151\156\x65\137\122\102\56\164\164\146", ) ), FontType::Sans => array( FontWeight::Normal => array( "\x55\142\165\x6e\x74\x75\x2f\125\142\x75\x6e\164\165\x2d\x52\56\164\164\146", ), FontWeight::Bold => array( "\x55\142\x75\x6e\x74\165\57\125\x62\165\156\x74\x75\55\102\x2e\x74\164\x66", ) ), FontType::Mono => array( FontWeight::Normal => array( "\x44\x65\152\141\126\165\x2f\104\x65\x6a\x61\126\x75\x53\141\156\163\115\157\x6e\x6f\56\x74\x74\x66", ), FontWeight::Bold => array( "\x44\x65\x6a\141\126\x75\57\x44\x65\x6a\x61\x56\x75\123\x61\x6e\x73\115\157\156\157\x2d\x42\x6f\x6c\x64\x2e\x74\164\146", ) ) ) ); final class CodeStyle extends Enum { private function __construct() {} public static $Names; const Alphanumeric = 0; const Alpha = 1; const Numeric = 2; public static function GetName($_lwkcg0aje4oq1jag2qbkbaxm2c) { if (!is_int($_lwkcg0aje4oq1jag2qbkbaxm2c)) { throw new Exception("\125\x6e\153\156\x6f\x77\156\40\x65\156\x75\155\145\x72\141\x74\x65\144\40\x76\x61\154\x75\x65\72\40".$_lwkcg0aje4oq1jag2qbkbaxm2c); } if (array_key_exists($_lwkcg0aje4oq1jag2qbkbaxm2c, CodeStyle::$Names)) { return CodeStyle::$Names[$_lwkcg0aje4oq1jag2qbkbaxm2c]; } else { throw new Exception("\x55\x6e\x6b\x6e\157\x77\x6e\40\145\156\165\155\145\162\141\x74\145\x64\x20\166\x61\154\165\145\72\40".$_lwkcg0aje4oq1jag2qbkbaxm2c); } } public static function GetValue($_O2se3vje572tx76vwoth5gieh1) { if (!StringHelper::HasValue($_O2se3vje572tx76vwoth5gieh1)) { throw new Exception("\125\x6e\x6b\x6e\157\167\156\x20\145\156\x75\155\x65\162\141\164\145\x64\40\156\x61\x6d\145\x3a\40".$_O2se3vje572tx76vwoth5gieh1); } $_1a1sgg54rl1zd7bq = CollectionHelper::StringArraySearch($_O2se3vje572tx76vwoth5gieh1, CodeStyle::$Names); if (false !== $_1a1sgg54rl1zd7bq) { return $_1a1sgg54rl1zd7bq; } else { throw new Exception("\x55\x6e\153\x6e\157\167\156\x20\145\156\165\x6d\x65\x72\x61\x74\145\x64\x20\x6e\x61\155\145\72\40".$_O2se3vje572tx76vwoth5gieh1); } } public static function TryGetName($_Io56nxpd9h4exkugifgsn) { if (!is_int($_Io56nxpd9h4exkugifgsn)) { return; } if (array_key_exists($_Io56nxpd9h4exkugifgsn, CodeStyle::$Names)) { return CodeStyle::$Names[$_Io56nxpd9h4exkugifgsn]; } else { return; } } public static function TryGetValue($_16wf8zq935dxsovhk9p3kseqmv) { if (!StringHelper::HasValue($_16wf8zq935dxsovhk9p3kseqmv)) { return; } $_1b0z8eyuatth8v0s8t6symatu2 = CollectionHelper::StringArraySearch($_16wf8zq935dxsovhk9p3kseqmv, CodeStyle::$Names); if (false !== $_1b0z8eyuatth8v0s8t6symatu2) { return $_1b0z8eyuatth8v0s8t6symatu2; } else { return; } } } CodeStyle::$Names = array( CodeStyle::Alphanumeric => "\x41\154\x70\x68\141\x6e\165\x6d\x65\162\x69\143", CodeStyle::Alpha => "\x41\154\x70\150\141", CodeStyle::Numeric => "\x4e\x75\155\145\x72\151\143" ); interface ICodeGenerator { public function GenerateCode($_ligzw7sueaolvuv9, $_ihdbr8m7kt7uxait, $_lzuml42ao1030ccy); } final class CodeUsePurpose extends Enum { private function __construct() {} public static $Names; const ImageGeneration = 0; const SoundGeneration = 1; const Other = 2; public static function GetName($_17m8m4f0nt5w74v9ab0rh) { if (!is_int($_17m8m4f0nt5w74v9ab0rh)) { throw new Exception("\125\156\x6b\156\157\167\156\x20\145\x6e\x75\155\x65\x72\x61\x74\145\x64\x20\x76\141\x6c\x75\x65\x3a\x20".$_17m8m4f0nt5w74v9ab0rh); } if (array_key_exists($_17m8m4f0nt5w74v9ab0rh, CodeUsePurpose::$Names)) { return CodeUsePurpose::$Names[$_17m8m4f0nt5w74v9ab0rh]; } else { throw new Exception("\125\156\x6b\156\x6f\167\156\x20\x65\x6e\x75\x6d\145\x72\141\164\x65\x64\x20\166\141\x6c\x75\x65\x3a\40".$_17m8m4f0nt5w74v9ab0rh); } } public static function GetValue($_oesa83750bgmnjhi4f6vh) { if (!StringHelper::HasValue($_oesa83750bgmnjhi4f6vh)) { throw new Exception("\x55\x6e\x6b\x6e\157\x77\156\x20\x65\x6e\x75\x6d\x65\162\141\x74\145\x64\x20\x6e\x61\155\x65\x3a\x20".$_oesa83750bgmnjhi4f6vh); } $_lyl7w9nqj2d6r5qf = CollectionHelper::StringArraySearch($_oesa83750bgmnjhi4f6vh, CodeUsePurpose::$Names); if (false !== $_lyl7w9nqj2d6r5qf) { return $_lyl7w9nqj2d6r5qf; } else { throw new Exception("\125\156\x6b\x6e\157\x77\156\40\x65\x6e\x75\x6d\x65\162\x61\x74\x65\144\x20\156\x61\155\x65\x3a\x20".$_oesa83750bgmnjhi4f6vh); } } public static function TryGetName($_o5zbh7quiswzeczf) { if (!is_int($_o5zbh7quiswzeczf)) { return; } if (array_key_exists($_o5zbh7quiswzeczf, CodeUsePurpose::$Names)) { return CodeUsePurpose::$Names[$_o5zbh7quiswzeczf]; } else { return; } } public static function TryGetValue($_iy13mkdfxlg550vqil6vbp5yn4) { if (!StringHelper::HasValue($_iy13mkdfxlg550vqil6vbp5yn4)) { return; } $_1s9xuf8xmppmyice = CollectionHelper::StringArraySearch($_iy13mkdfxlg550vqil6vbp5yn4, CodeUsePurpose::$Names); if (false !== $_1s9xuf8xmppmyice) { return $_1s9xuf8xmppmyice; } else { return; } } } CodeUsePurpose::$Names = array( CodeUsePurpose::ImageGeneration => "\111\x6d\x61\x67\x65\x47\x65\x6e\145\162\141\x74\151\x6f\x6e", CodeUsePurpose::SoundGeneration => "\x53\x6f\x75\x6e\x64\107\x65\156\145\x72\x61\164\151\157\156", CodeUsePurpose::Other => "\117\164\x68\145\162" ); class Code { public function __construct($_Ixqstu6xhfijez1xqu3w06387m) { $this->_owq7chm0khdftymrr95hr = $_Ixqstu6xhfijez1xqu3w06387m; $this->_o4gny47qcunzersg = time(); $this->ClientSideValidations = array(); } private $_owq7chm0khdftymrr95hr; public function get_CaptchaCode() { return $this->_owq7chm0khdftymrr95hr; } private $_o4gny47qcunzersg; public function get_GenerationTime() { return $this->_o4gny47qcunzersg; } public function get_ElapsedSeconds() { $_1wnrz3me1rccvs9v9rrsg = time(); $_058jwhgfv0juy0k128ff1 = $_1wnrz3me1rccvs9v9rrsg - $this->_o4gny47qcunzersg; return $_058jwhgfv0juy0k128ff1; } private $_Is5i2a35w358zirg; public function RecordClientSideValidation() { $this->_Is5i2a35w358zirg[] = time(); } private $_oudoi4rjma8iasezkmbb0; public function get_IsUsedForImageGeneration() { return $this->_oudoi4rjma8iasezkmbb0; } private $_Osoan9arghn63z7lxla62wf4wt; public function get_IsUsedForSoundGeneration() { return $this->_Osoan9arghn63z7lxla62wf4wt; } public function RecordUse($_oi6u491cwpwpg4n2jnxj5) { switch ($_oi6u491cwpwpg4n2jnxj5) { case 0 : $this->_oudoi4rjma8iasezkmbb0 = true; break; case 1 : $this->_Osoan9arghn63z7lxla62wf4wt = true; break; case 2 : break; default: throw new Exception("\x55\x6e\x6b\156\157\x77\x6e\40\x43\x6f\x64\145\125\x73\145\120\x75\x72\x70\157\163\x65\40\x76\x61\x6c\x75\145\x3a\x20".serialize($_oi6u491cwpwpg4n2jnxj5)); break; } } public function CanBeUsedFor($_Iastox8j47d68xyj) { $_04t7drk2pjid8zddf1f5w = true; switch ($_Iastox8j47d68xyj) { case 0 : $_04t7drk2pjid8zddf1f5w = $this->IsUsedForImageGeneration; break; case 1 : $_04t7drk2pjid8zddf1f5w = false; break; case 2 : $_04t7drk2pjid8zddf1f5w = false; break; default: throw new Exception("\125\156\153\156\157\x77\x6e\x20\x43\x6f\144\x65\x55\163\x65\120\x75\162\x70\x6f\x73\145\x20\166\x61\154\165\145\72\40".serialize($_Iastox8j47d68xyj)); break; } return (!$_04t7drk2pjid8zddf1f5w); } public function HasExpired($_O18iehb8vaxbsxb1) { $_Ixsllo6evoiqfxsq = true; if (0 == $_O18iehb8vaxbsxb1){ $_Ixsllo6evoiqfxsq = false; } else if ($this->ElapsedSeconds < $_O18iehb8vaxbsxb1) { $_Ixsllo6evoiqfxsq = false; } return $_Ixsllo6evoiqfxsq; } public function IsEqual($_Okzqcx57j5gbl1pkdvkhc7bk58) { $_libf3hoa091on4qv = StringHelper::ToNormalForm($this->CaptchaCode); $_lqfozq4ervad9csxbjhus = StringHelper::ToNormalForm($_Okzqcx57j5gbl1pkdvkhc7bk58); return (1 == preg_match("\x2f\136{$_libf3hoa091on4qv}\x24\x2f\x75\x69", $_lqfozq4ervad9csxbjhus)); } public static function AreEqual(Code $_o6heotze90f9pqnsd83qu, Code $_ixq0s95wm3rorkjt8rxnl) { $_lj0bi6q5avrhgh9ypf55j = StringHelper::ToNormalForm($_o6heotze90f9pqnsd83qu->CaptchaCode); $_o854y9h47511lwn3 = StringHelper::ToNormalForm($_ixq0s95wm3rorkjt8rxnl->CaptchaCode); return (1 == preg_match("\x2f\x5e{$_lj0bi6q5avrhgh9ypf55j}\x24\57\165\151", $_o854y9h47511lwn3)); } public function __get($_18uqv9yd2vux8nl92wnnsswybv) { if (method_exists($this, ($_0dag5lgblafvdsx9z1b157tmj8 = "\147\145\164\x5f".$_18uqv9yd2vux8nl92wnnsswybv))) { return $this->$_0dag5lgblafvdsx9z1b157tmj8(); } else return; } public function __isset($_Iye4r9anyiqxqpj2cjmppofpe8) { if (method_exists($this, ($_01j2m9fe0fgqe77p = "\x69\163\163\145\164\x5f".$_Iye4r9anyiqxqpj2cjmppofpe8))) { return $this->$_01j2m9fe0fgqe77p(); } else return; } public function __set($_o94vsxwziht3o2yp3uuz52fv5s, $_l8mlia7h4zoj8m9i) { if (method_exists($this, ($_orxltvmn15luoiiu = "\x73\x65\164\x5f".$_o94vsxwziht3o2yp3uuz52fv5s))) { $this->$_orxltvmn15luoiiu($_l8mlia7h4zoj8m9i); } } public function __unset($_O6xjpo1i1anc4oacnc717xf93m) { if (method_exists($this, ($_lnzc1hu97v4c4vf7 = "\165\156\x73\145\164\x5f".$_O6xjpo1i1anc4oacnc717xf93m))) { $this->$_lnzc1hu97v4c4vf7(); } } } class CodeCollection { public function __construct() { $this->_Ics367mhi2blsebba2z3u = array(); } private $_Ics367mhi2blsebba2z3u; public function GetCode($_Isf7vxryhd8byl6o, $_Iymsrpbvuy4p6y7v7ms7yp23vv, $_lqpi1445ff8uj9am, $_1ol9qrxdoxf6thtwlvftf9zzd5, $_0s6wph8lewjhzhkzs5m5vq4vpq, $_0n3nqcvb9n4w0orx7xjnqwfmaj = 1200 , $_0hhlx1jxl8tbhzga9xi8v = CaptchaDefaults::BannedCharacterSequences){ $_l5e5ixcv6bw1ojtjmrc59 = null; if ($this->ew9ff($_Isf7vxryhd8byl6o)) { $_l5e5ixcv6bw1ojtjmrc59 = $this->tk7l0($_Isf7vxryhd8byl6o); if (!$_l5e5ixcv6bw1ojtjmrc59->CanBeUsedFor($_Iymsrpbvuy4p6y7v7ms7yp23vv)) { $_l5e5ixcv6bw1ojtjmrc59 = $_lqpi1445ff8uj9am->GenerateCode($_1ol9qrxdoxf6thtwlvftf9zzd5, $_0s6wph8lewjhzhkzs5m5vq4vpq, $_0hhlx1jxl8tbhzga9xi8v); } } else { $_l5e5ixcv6bw1ojtjmrc59 = $_lqpi1445ff8uj9am->GenerateCode($_1ol9qrxdoxf6thtwlvftf9zzd5, $_0s6wph8lewjhzhkzs5m5vq4vpq, $_0hhlx1jxl8tbhzga9xi8v); } $_l5e5ixcv6bw1ojtjmrc59->RecordUse($_Iymsrpbvuy4p6y7v7ms7yp23vv); $this->d7hhp($_l5e5ixcv6bw1ojtjmrc59, $_Isf7vxryhd8byl6o, $_0n3nqcvb9n4w0orx7xjnqwfmaj); return $_l5e5ixcv6bw1ojtjmrc59->CaptchaCode; } public function Validate($_1sigrqirt208h0h5vk250tsnz8, $_13ftscg92fmvrl7i, $_Itawye77bmcjyl8eebbr0el2wu, $_ldczmebslb9xlurpwmo905tr8b = 1200 ) { if (!StringHelper::HasValue($_13ftscg92fmvrl7i)) { return false; } if (!StringHelper::HasValue($_1sigrqirt208h0h5vk250tsnz8)) { $this->fcg61($_13ftscg92fmvrl7i, $_Itawye77bmcjyl8eebbr0el2wu, false, null); return false; } $_03691bfd54ejm1miqak5ufjazq = false; $_13qw9csv837eghg5 = null; if ($this->ew9ff($_13ftscg92fmvrl7i)) { $_13qw9csv837eghg5 = $this->tk7l0($_13ftscg92fmvrl7i); if(!$_13qw9csv837eghg5->HasExpired($_ldczmebslb9xlurpwmo905tr8b) && $_13qw9csv837eghg5->IsEqual($_1sigrqirt208h0h5vk250tsnz8)) { $_03691bfd54ejm1miqak5ufjazq = true; } $this->fcg61($_13ftscg92fmvrl7i, $_Itawye77bmcjyl8eebbr0el2wu, $_03691bfd54ejm1miqak5ufjazq, $_13qw9csv837eghg5); } return $_03691bfd54ejm1miqak5ufjazq; } private function fcg61($_1ocrqvva2344qk8pthgxp, $_oik0ktavve6b0cjp, $_oku853rfib26trqdx8de4w6pvo, $_on7pffw4cx0dwlkyphdab = null) { if ((2 != $_oik0ktavve6b0cjp) || (!$_oku853rfib26trqdx8de4w6pvo)) { $this->zv8kq($_1ocrqvva2344qk8pthgxp); } else { $_on7pffw4cx0dwlkyphdab->RecordClientSideValidation(); } } private function ew9ff($_Infjefv1wzyt1y0l) { return array_key_exists($_Infjefv1wzyt1y0l, $this->_Ics367mhi2blsebba2z3u); } private function tk7l0($_ifgbpsix4hohqrgb) { return $this->_Ics367mhi2blsebba2z3u[$_ifgbpsix4hohqrgb]; } private function d7hhp(Code $_Io12je3jt0ydu4b6j6d5f, $_ipnn00t78xh3wz1bxtjqi, $_17khy3fzj98b6tyqyx81l) { $this->_Ics367mhi2blsebba2z3u[$_ipnn00t78xh3wz1bxtjqi] = $_Io12je3jt0ydu4b6j6d5f; if (is_int($_17khy3fzj98b6tyqyx81l) && 0 < $_17khy3fzj98b6tyqyx81l) { foreach ($this->_Ics367mhi2blsebba2z3u as $_Ia4eeqetfj2oikytkq73y => $_I9vtz91r5oqtmzehhz66g70tqp) { if (isset($_I9vtz91r5oqtmzehhz66g70tqp) && $_I9vtz91r5oqtmzehhz66g70tqp->HasExpired($_17khy3fzj98b6tyqyx81l) ) { $this->zv8kq($_Ia4eeqetfj2oikytkq73y); } } } } private function zv8kq($_o68gaceo4h1195isfnwmynxo8m) { unset($this->_Ics367mhi2blsebba2z3u[$_o68gaceo4h1195isfnwmynxo8m]); } } class BannedCharacterSequences { private $_Idrlc7roj844u192; private $_Oh1ru0e0ymij5ybxhq2zng0r1f; const WhitespaceChars = "\57\W\57\x75\x69"; const ValidChars = "\x2f\136\x28\p\x7b\x4e\175\x7c\p\173\114\x7d\51\53\x24\x2f\x75\x69"; public function __construct($_im488t5qk6hargym7lqb6) { $this->_Idrlc7roj844u192 = array(); $this->_Oh1ru0e0ymij5ybxhq2zng0r1f = 0; if (!StringHelper::HasValue($_im488t5qk6hargym7lqb6)) { return; } $_ic935tkj8q229g8shry3lo5gtd = StringHelper::ParseCsv($_im488t5qk6hargym7lqb6); if (!is_array($_ic935tkj8q229g8shry3lo5gtd) || 0 == count($_ic935tkj8q229g8shry3lo5gtd)) { return; } $_ic935tkj8q229g8shry3lo5gtd = StringHelper::StringArrayUppercase($_ic935tkj8q229g8shry3lo5gtd); usort($_ic935tkj8q229g8shry3lo5gtd, "\x42\x61\x6e\156\145\x64\x43\150\141\x72\x61\143\164\x65\162\x53\x65\161\x75\145\x6e\x63\145\x73\72\x3a\103\157\x6d\160\141\162\x65\102\x61\x6e\156\x65\x64\123\145\x71\x75\x65\x6e\143\x65\163"); foreach ($_ic935tkj8q229g8shry3lo5gtd as $_1co8sby2u6fuhw1x => $_Ode740njq9yl793q) { $this->oht3u($_Ode740njq9yl793q); } } private function oht3u($_os8xbkl0eggvin3obfeo7rvigi) { $_Imeq8lottky43auw6r2n0 = preg_replace(self::WhitespaceChars, '', $_os8xbkl0eggvin3obfeo7rvigi); if (!self::mjh00($_Imeq8lottky43auw6r2n0)) { return; } if ($this->gvqxf($_Imeq8lottky43auw6r2n0)) { return; } if (!$this->bb2aa($_Imeq8lottky43auw6r2n0)) { $this->mp6yp($_Imeq8lottky43auw6r2n0); } } private static function mjh00($_ootasjdnjksdxoheea3hf) { if (!StringHelper::HasValue($_ootasjdnjksdxoheea3hf)) { return false; } $_Og85c9fs8dnnijwmybkhh = StringHelper::Length($_ootasjdnjksdxoheea3hf); if (0 == $_Og85c9fs8dnnijwmybkhh || 15 < $_Og85c9fs8dnnijwmybkhh) { return false; } return preg_match(self::ValidChars, $_ootasjdnjksdxoheea3hf); } private function gvqxf($_02wgu7wnes0kogr3) { $_191p0a1vcbxuarq9zww67 = StringHelper::Length($_02wgu7wnes0kogr3); return (array_key_exists($_191p0a1vcbxuarq9zww67, $this->_Idrlc7roj844u192) && in_array($_02wgu7wnes0kogr3, $this->_Idrlc7roj844u192[$_191p0a1vcbxuarq9zww67])); } private function bb2aa($_13zb7detaw7rre5i6suouak6ql) { $_16qz3woo0b8b0sepuwajs3o2fb = false; $_0blca5yc7mrepdssrwairqwkbn = StringHelper::Length($_13zb7detaw7rre5i6suouak6ql); for ($_Ohq1se4y0t2te8iq2fxqcspbhb = 1; $_Ohq1se4y0t2te8iq2fxqcspbhb < $_0blca5yc7mrepdssrwairqwkbn; $_Ohq1se4y0t2te8iq2fxqcspbhb++) { if (!array_key_exists($_Ohq1se4y0t2te8iq2fxqcspbhb, $this->_Idrlc7roj844u192)) { continue; } $_Odmh4nizrwh9d0id = $this->_Idrlc7roj844u192[$_Ohq1se4y0t2te8iq2fxqcspbhb]; foreach ($_Odmh4nizrwh9d0id as $_otrzzh3j0u9mgkf8 => $_l7yf8jdcnujyt7o3vgtwqfxeq3) { if (StringHelper::StartsWith($_13zb7detaw7rre5i6suouak6ql, $_l7yf8jdcnujyt7o3vgtwqfxeq3)) { $_16qz3woo0b8b0sepuwajs3o2fb = true; break; } } if ($_16qz3woo0b8b0sepuwajs3o2fb) { break; } } return $_16qz3woo0b8b0sepuwajs3o2fb; } private function mp6yp($_1qwfv026fa7zrkr1) { $_1dblwrpe01efspmu = StringHelper::Length($_1qwfv026fa7zrkr1); if (!array_key_exists($_1dblwrpe01efspmu, $this->_Idrlc7roj844u192)) { $this->_Idrlc7roj844u192[$_1dblwrpe01efspmu] = array(); } $this->_Idrlc7roj844u192[$_1dblwrpe01efspmu][] = $_1qwfv026fa7zrkr1; if ($_1dblwrpe01efspmu > $this->_Oh1ru0e0ymij5ybxhq2zng0r1f) { $this->_Oh1ru0e0ymij5ybxhq2zng0r1f = $_1dblwrpe01efspmu; } } private static function mr5ot($_irtgsf3tsbob9hl8, $_Is3t2zd5i27jq0x3j8oqdekuct) { $_isue9o6aahsi300u = StringHelper::Length($_irtgsf3tsbob9hl8); $_og4fxdkr8bizgyl1 = StringHelper::Length($_Is3t2zd5i27jq0x3j8oqdekuct); if ($_isue9o6aahsi300u !== $_og4fxdkr8bizgyl1) { return $_isue9o6aahsi300u - $_og4fxdkr8bizgyl1; } else { return strcasecmp($_irtgsf3tsbob9hl8, $_Is3t2zd5i27jq0x3j8oqdekuct); } } public function GetBannedSingleCharacters() { $_iefoapwpj7etxwc2ryyiy = array(); if (is_null($this->_Idrlc7roj844u192) || !array_key_exists(1, $this->_Idrlc7roj844u192)) { return $_iefoapwpj7etxwc2ryyiy; } $_0dmb3bykxl1duqac = $this->_Idrlc7roj844u192[1]; foreach ($_0dmb3bykxl1duqac as $_Ojrk7kd9kpq21kcdk6xyzl6jz8 => $_155l3kzko5k7wwubd78hh) { $_iefoapwpj7etxwc2ryyiy[] = $_155l3kzko5k7wwubd78hh; } return $_iefoapwpj7etxwc2ryyiy; } public function GetBannedCharacters($_0dre64tycp9fp1jw, $_062raaj0fiex53i2m50m35hegu) { if ($_0dre64tycp9fp1jw <= 1) { throw new Exception("\x54\150\151\163\40\x6f\x76\145\162\154\x6f\x61\x64\40\163\x68\157\165\154\144\x20\x6f\x6e\x6c\171\40\142\x65\x20\143\141\154\154\145\x64\x20\146\x6f\162\x20\154\x65\156\x67\164\x68\x73\40\157\x66\40\62\x20\157\162\40\155\x6f\162\145\72\x20". $_0dre64tycp9fp1jw.$_062raaj0fiex53i2m50m35hegu); } $_O4e5peiwoubpz4fc = array(); if (is_null($this->_Idrlc7roj844u192) || !array_key_exists($_0dre64tycp9fp1jw, $this->_Idrlc7roj844u192)) { return $_O4e5peiwoubpz4fc; } $_o84zs6ghp00s50e9 = $this->_Idrlc7roj844u192[$_0dre64tycp9fp1jw]; foreach ($_o84zs6ghp00s50e9 as $_0yuqgzdyddjkfrgowpezqzs55n => $_Okreub9bow871ycv) { if (StringHelper::StartsWith($_Okreub9bow871ycv, $_062raaj0fiex53i2m50m35hegu)) { $_O4e5peiwoubpz4fc[] = mb_substr($_Okreub9bow871ycv, $_0dre64tycp9fp1jw-1, 1, StringHelper::Encoding); } } return $_O4e5peiwoubpz4fc; } } class CharacterSet implements ICodeGenerator { public function __construct() { $_0d649tzfoswuatdh3kp24 = func_get_args(); $_Iz8v587cggayr8xzj4cjf2z2dl = func_num_args(); switch($_Iz8v587cggayr8xzj4cjf2z2dl) { case 2: $this->lzba6($_0d649tzfoswuatdh3kp24[0], $_0d649tzfoswuatdh3kp24[1]); break; case 3: $this->xt1ct($_0d649tzfoswuatdh3kp24[0], $_0d649tzfoswuatdh3kp24[1], $_0d649tzfoswuatdh3kp24[2]); break; case 4: $this->bak2f($_0d649tzfoswuatdh3kp24[0], $_0d649tzfoswuatdh3kp24[1], $_0d649tzfoswuatdh3kp24[2], $_0d649tzfoswuatdh3kp24[3]); break; } } private function bak2f($_lbbdhj2em32rumq846ypq, $_0ktnqh14ak5szzif, $_I7dn61bnc2fg2ep9, $_Idxx7au0udo8xpz3trh7ey4vzs) { if (!StringHelper::HasValue($_lbbdhj2em32rumq846ypq)) { throw new Exception("\111\156\166\x61\154\151\x64\x20\x63\x68\141\x72\x61\143\164\x65\162\40\163\145\164\40\156\141\155\145\x3a\40".$_lbbdhj2em32rumq846ypq); } $this->_o803f7731ajps6igsvwrme5ytf = $_lbbdhj2em32rumq846ypq; if (!is_array($_0ktnqh14ak5szzif) || 0 == count($_0ktnqh14ak5szzif) || !StringHelper::HasValue($_0ktnqh14ak5szzif[0])) { throw new Exception("\111\156\166\141\154\x69\x64\x20\143\x68\x61\x72\x61\x63\164\x65\x72\40\x73\145\x74\40\x61\154\x70\150\141\40\x63\x68\141\x72\x61\x63\x74\145\x72\163\x3a\x20".$_0ktnqh14ak5szzif); } $this->_0i14hna2kqjggzvo = $_0ktnqh14ak5szzif; if (!is_array($_I7dn61bnc2fg2ep9) || 0 == count($_I7dn61bnc2fg2ep9) || !StringHelper::HasValue($_I7dn61bnc2fg2ep9[0])) { throw new Exception("\x49\x6e\166\x61\x6c\x69\x64\40\143\x68\141\x72\141\143\x74\x65\162\x20\x73\145\x74\40\x4e\x75\155\145\162\151\143\40\143\150\x61\x72\141\x63\164\x65\162\163\72\40".$_I7dn61bnc2fg2ep9); } $this->_i8f42qklb321ijm2t362v = $_I7dn61bnc2fg2ep9; if (!is_array($_Idxx7au0udo8xpz3trh7ey4vzs) || 0 == count($_Idxx7au0udo8xpz3trh7ey4vzs) || !StringHelper::HasValue($_Idxx7au0udo8xpz3trh7ey4vzs[0])) { throw new Exception("\111\x6e\166\141\x6c\x69\x64\x20\143\x68\141\162\141\x63\164\x65\x72\40\x73\x65\164\40\x41\x6c\160\x68\x61\x6e\165\x6d\145\x72\x69\143\x20\x63\x68\x61\x72\x61\143\x74\145\162\x73\x3a\x20".$_Idxx7au0udo8xpz3trh7ey4vzs); } $this->_O7zfhrkf6a9kgr7h = $_Idxx7au0udo8xpz3trh7ey4vzs; } private function xt1ct($_1t7cahtyo481wkxaktcq6, CharacterSet $_oe182h42iocn2a7j7g37nnqxjk, $_0d7hfbbgfbx655z2) { if (!StringHelper::HasValue($_1t7cahtyo481wkxaktcq6)) { throw new Exception("\111\156\x76\x61\x6c\151\x64\x20\x63\x68\x61\162\141\143\x74\145\162\x20\x73\x65\164\x20\156\x61\155\145\72\x20".$_1t7cahtyo481wkxaktcq6); } $this->_o803f7731ajps6igsvwrme5ytf = $_1t7cahtyo481wkxaktcq6; $_Inr908ydlavmhok77utotedxr6 = CollectionHelper::ArraySubtract($_oe182h42iocn2a7j7g37nnqxjk->_0i14hna2kqjggzvo, $_0d7hfbbgfbx655z2); if (!is_array($_Inr908ydlavmhok77utotedxr6) || 0 == count($_Inr908ydlavmhok77utotedxr6) || !StringHelper::HasValue($_Inr908ydlavmhok77utotedxr6[0])) { throw new Exception("\111\x6e\166\x61\154\x69\144\40\143\x68\141\162\x61\143\164\x65\162\x20\x73\145\164\x20\x61\154\x70\150\141\40\143\x68\141\x72\x61\x63\x74\x65\x72\163\x3a\40".$_Inr908ydlavmhok77utotedxr6."\x7c".$_0d7hfbbgfbx655z2); } $this->_0i14hna2kqjggzvo = $_Inr908ydlavmhok77utotedxr6; $_lcmn9rci2n0jayinjra8w = CollectionHelper::ArraySubtract($_oe182h42iocn2a7j7g37nnqxjk->_i8f42qklb321ijm2t362v, $_0d7hfbbgfbx655z2); if (!is_array($_lcmn9rci2n0jayinjra8w) || 0 == count($_lcmn9rci2n0jayinjra8w) || !StringHelper::HasValue($_lcmn9rci2n0jayinjra8w[0])) { throw new Exception("\x49\x6e\166\141\x6c\x69\x64\x20\143\150\x61\x72\141\x63\x74\x65\x72\x20\163\x65\164\x20\x6e\165\x6d\145\x72\x69\143\40\143\x68\141\x72\141\x63\164\x65\162\163\x3a\x20".$_lcmn9rci2n0jayinjra8w."\x7c".$_0d7hfbbgfbx655z2); } $this->_i8f42qklb321ijm2t362v = $_lcmn9rci2n0jayinjra8w; $_0mle6z8oed41cyalhff0n = CollectionHelper::ArraySubtract($_oe182h42iocn2a7j7g37nnqxjk->_O7zfhrkf6a9kgr7h, $_0d7hfbbgfbx655z2); if (!is_array($_0mle6z8oed41cyalhff0n) || 0 == count($_0mle6z8oed41cyalhff0n) || !StringHelper::HasValue($_0mle6z8oed41cyalhff0n[0])) { throw new Exception("\x49\156\166\x61\154\x69\x64\x20\143\x68\141\162\x61\143\x74\x65\162\x20\x73\x65\x74\x20\x61\x6c\160\150\141\156\x75\155\x65\162\x69\143\x20\x63\x68\x61\x72\141\143\164\x65\162\x73\72\40".$_0mle6z8oed41cyalhff0n."\x7c".$_0d7hfbbgfbx655z2); } $this->_O7zfhrkf6a9kgr7h = $_0mle6z8oed41cyalhff0n; } private function lzba6($_lqlcec3qeg6keiosop82x8hg37, $_Ih2dy0ckrq5l853d5n79m) { if (!StringHelper::HasValue($_lqlcec3qeg6keiosop82x8hg37)) { throw new Exception("\x49\156\x76\x61\x6c\x69\x64\x20\143\150\141\162\141\143\164\x65\162\40\x73\145\x74\40\156\141\155\145\72\x20".$_lqlcec3qeg6keiosop82x8hg37); } $this->_o803f7731ajps6igsvwrme5ytf = $_lqlcec3qeg6keiosop82x8hg37; $_0o5hm1wiqbhep94cdx3sx = StringHelper::GetCodePoints($_Ih2dy0ckrq5l853d5n79m); if (!is_array($_0o5hm1wiqbhep94cdx3sx) || 0 == count($_0o5hm1wiqbhep94cdx3sx) || !StringHelper::HasValue($_0o5hm1wiqbhep94cdx3sx[0])) { throw new Exception("\x49\156\x76\141\x6c\x69\x64\40\x63\165\163\164\157\155\40\143\150\x61\162\x61\x63\164\145\x72\40\x73\x65\x74\40\x63\150\x61\162\141\x63\164\x65\162\x73\72\40".$_0o5hm1wiqbhep94cdx3sx); } $this->_0i14hna2kqjggzvo = $_0o5hm1wiqbhep94cdx3sx; $this->_i8f42qklb321ijm2t362v = $_0o5hm1wiqbhep94cdx3sx; $this->_O7zfhrkf6a9kgr7h = $_0o5hm1wiqbhep94cdx3sx; } private $_o803f7731ajps6igsvwrme5ytf; private $_0i14hna2kqjggzvo; private $_i8f42qklb321ijm2t362v; private $_O7zfhrkf6a9kgr7h; public function GenerateCode($_ifwtkhkgiu62rwfwpe1zs4h0tj, $_1tvnq18jehzd61vv, $_lc890nrji1ti856t1ug0wccrec) { if (($_1tvnq18jehzd61vv > 15 ) || ($_1tvnq18jehzd61vv < 1 )) { $_1tvnq18jehzd61vv = 5 ; } $_0jpg32pt5hh2nm222t2w3zwhgy = ''; if (isset($_lc890nrji1ti856t1ug0wccrec)) { $_0jpg32pt5hh2nm222t2w3zwhgy = $this->rrrmy($_1tvnq18jehzd61vv, $_ifwtkhkgiu62rwfwpe1zs4h0tj, $_lc890nrji1ti856t1ug0wccrec); } else { $_0jpg32pt5hh2nm222t2w3zwhgy = $this->xctk8($_1tvnq18jehzd61vv, $_ifwtkhkgiu62rwfwpe1zs4h0tj); } return new Code($_0jpg32pt5hh2nm222t2w3zwhgy); } private function xctk8($_Io9537rlshy478wl, $_Oqb5mjcwpn4kyyzgc5296qy1zw) { $_07xp72klv8wb9lqixqlooxoslq = $this->ahk4y($_Oqb5mjcwpn4kyyzgc5296qy1zw); $_I90cn7bqt42s4r3gsdpdfqze9r = ''; for ($_lolcoghrz8cg1nmnfv0qt = 0; $_lolcoghrz8cg1nmnfv0qt < $_Io9537rlshy478wl; $_lolcoghrz8cg1nmnfv0qt++) { $_0y100qgb3gqa599rf6u01 = RandomizationHelper::RandomFromValues($_07xp72klv8wb9lqixqlooxoslq); $_0y100qgb3gqa599rf6u01 = mb_convert_encoding($_0y100qgb3gqa599rf6u01, StringHelper::Encoding, 'HTML-ENTITIES'); $_I90cn7bqt42s4r3gsdpdfqze9r .= $_0y100qgb3gqa599rf6u01; } return $_I90cn7bqt42s4r3gsdpdfqze9r; } private function rrrmy($_I3qzxpejb4mik9sc, $_01xrx4f2v7vw88qtt9rjddjfgy, BannedCharacterSequences $_0otd5689nsq9vg43unk55) { $_O9ap7n33ib3gaact = $this->ahk4y($_01xrx4f2v7vw88qtt9rjddjfgy); $_O9ap7n33ib3gaact = CollectionHelper::ArraySubtract( $_O9ap7n33ib3gaact, $_0otd5689nsq9vg43unk55->GetBannedSingleCharacters() ); $_i3658jdqd58yqutg = RandomizationHelper::RandomFromValues($_O9ap7n33ib3gaact); for ($_or7qwprhvqdj81ap3lvjg = 1; $_or7qwprhvqdj81ap3lvjg < $_I3qzxpejb4mik9sc; $_or7qwprhvqdj81ap3lvjg++) { $_O5hv90hk4362ypnnggmso18qey = array(); for ($_16aoo32xhnxt683ulsmw6 = $_or7qwprhvqdj81ap3lvjg; $_16aoo32xhnxt683ulsmw6 >= 1; $_16aoo32xhnxt683ulsmw6--) { $_Ivx1sqj3ct6oc7mex0ykismhyi = mb_substr($_i3658jdqd58yqutg, $_or7qwprhvqdj81ap3lvjg - $_16aoo32xhnxt683ulsmw6, $_16aoo32xhnxt683ulsmw6, StringHelper::Encoding); $_O5hv90hk4362ypnnggmso18qey += $_0otd5689nsq9vg43unk55->GetBannedCharacters($_16aoo32xhnxt683ulsmw6 + 1, $_Ivx1sqj3ct6oc7mex0ykismhyi); } $_l649081pfxmvt4cz = CollectionHelper::ArraySubtract($_O9ap7n33ib3gaact, $_O5hv90hk4362ypnnggmso18qey); if (0 == count($_l649081pfxmvt4cz)) { throw new Exception("\102\x61\x6e\156\x65\144\40\x53\x65\161\165\145\x6e\143\145\163\x20\x6c\151\x73\164\40\x69\163\40\164\157\x6f\x20\x72\145\x73\164\162\151\143\x74\151\166\145\54\40\156\157\x20\156\157\x6e\55\142\141\x6e\x6e\145\144\40\x63\x68\141\x72\141\x63\164\145\x72\x20\143\x68\157\x69\x63\x65\x73\72\x20".$_lpxaonh8b82bd53dttwaw); } $_iflctg9vhdjzlo5fq9nx42qv2w = RandomizationHelper::RandomFromValues($_l649081pfxmvt4cz); $_iflctg9vhdjzlo5fq9nx42qv2w = mb_convert_encoding($_iflctg9vhdjzlo5fq9nx42qv2w, StringHelper::Encoding, 'HTML-ENTITIES'); $_i3658jdqd58yqutg .= $_iflctg9vhdjzlo5fq9nx42qv2w; } return $_i3658jdqd58yqutg; } private function ahk4y($_Ovelub5jb5tq94kf) { $_O42o75ckebmkgots = array(); switch ($_Ovelub5jb5tq94kf) { case 1 : $_O42o75ckebmkgots = $this->_0i14hna2kqjggzvo; break; case 2 : $_O42o75ckebmkgots = $this->_i8f42qklb321ijm2t362v; break; case 0 : $_O42o75ckebmkgots = $this->_O7zfhrkf6a9kgr7h; break; default: throw new Exception("\x43\157\x64\x65\x53\x74\171\154\145\x20\x6e\x6f\164\40\151\155\x70\154\x65\155\145\156\164\145\x64\72\40".$_Ovelub5jb5tq94kf); } return $_O42o75ckebmkgots; } } final class ArabicCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\x42\104\x5f\x41\162\x61\x62\x69\x63\x43\150\141\x72\141\x63\164\x65\162\123\145\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } ArabicCharacterSet::$m_AlphaCodePoints = array( '&#x0628;', '&#x062A;', '&#x062B;', '&#x062C;', '&#x062D;', '&#x062E;', '&#x062F;', '&#x0630;', '&#x0631;', '&#x0632;', '&#x0633;', '&#x0634;', '&#x0635;', '&#x0636;', '&#x0637;', '&#x0638;', '&#x0639;', '&#x063A;', '&#x0641;', '&#x0642;', '&#x0643;', '&#x0644;', '&#x0645;', '&#x0646;', '&#x0647;', '&#x0648;', '&#x064A;' ); ArabicCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039' ); ArabicCharacterSet::$m_AlphanumericCodePoints = array( '&#x0628;', '&#x062A;', '&#x062B;', '&#x062C;', '&#x062D;', '&#x062E;', '&#x062F;', '&#x0630;', '&#x0631;', '&#x0632;', '&#x0633;', '&#x0634;', '&#x0635;', '&#x0636;', '&#x0637;', '&#x0638;', '&#x0639;', '&#x063A;', '&#x0641;', '&#x0642;', '&#x0643;', '&#x0644;', '&#x0645;', '&#x0646;', '&#x0647;', '&#x0648;', '&#x064A;', '&#x0030;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039' ); ArabicCharacterSet::$Instance = new ArabicCharacterSet(); final class BopomofoCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\x42\104\137\x42\x6f\160\x6f\x6d\157\146\157\103\x68\x61\162\141\x63\164\145\x72\123\x65\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } BopomofoCharacterSet::$m_AlphaCodePoints = array( '&#x3105;', '&#x3106;', '&#x3107;', '&#x3108;', '&#x3109;', '&#x310A;', '&#x310B;', '&#x310C;', '&#x310D;', '&#x310E;', '&#x310F;', '&#x3110;', '&#x3111;', '&#x3112;', '&#x3113;', '&#x3114;', '&#x3115;', '&#x3116;', '&#x3117;', '&#x3118;', '&#x3119;', '&#x311A;', '&#x311B;', '&#x311C;', '&#x311D;', '&#x311E;', '&#x3120;', '&#x3121;', '&#x3122;', '&#x3123;', '&#x3124;', '&#x3125;', '&#x3126;', '&#x3128;', '&#x3129;', ); BopomofoCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); BopomofoCharacterSet::$m_AlphanumericCodePoints = array( '&#x3105;', '&#x3106;', '&#x3107;', '&#x3108;', '&#x3109;', '&#x310A;', '&#x310B;', '&#x310C;', '&#x310D;', '&#x310E;', '&#x310F;', '&#x3110;', '&#x3111;', '&#x3112;', '&#x3113;', '&#x3114;', '&#x3115;', '&#x3116;', '&#x3117;', '&#x3118;', '&#x3119;', '&#x311A;', '&#x311B;', '&#x311C;', '&#x311D;', '&#x311E;', '&#x3120;', '&#x3121;', '&#x3122;', '&#x3123;', '&#x3124;', '&#x3125;', '&#x3126;', '&#x3128;', '&#x3129;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); BopomofoCharacterSet::$Instance = new BopomofoCharacterSet(); final class CyrillicCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\x42\104\x5f\103\x79\x72\151\154\x6c\x69\x63\x43\x68\x61\162\x61\x63\x74\x65\162\x53\x65\x74", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } CyrillicCharacterSet::$m_AlphaCodePoints = array( '&#x0410;', '&#x0411;', '&#x0412;', '&#x0413;', '&#x0414;', '&#x0415;', '&#x0416;', '&#x0417;', '&#x0418;', '&#x041A;', '&#x041B;', '&#x041C;', '&#x041D;', '&#x041E;', '&#x041F;', '&#x0420;', '&#x0421;', '&#x0422;', '&#x0423;', '&#x0424;', '&#x0425;', '&#x0426;', '&#x0427;', '&#x0428;', '&#x042F;', ); CyrillicCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); CyrillicCharacterSet::$m_AlphanumericCodePoints = array( '&#x0410;', '&#x0411;', '&#x0412;', '&#x0413;', '&#x0414;', '&#x0415;', '&#x0416;', '&#x0418;', '&#x041A;', '&#x041B;', '&#x041C;', '&#x041D;', '&#x041F;', '&#x0420;', '&#x0421;', '&#x0422;', '&#x0423;', '&#x0424;', '&#x0425;', '&#x0426;', '&#x0427;', '&#x0428;', '&#x042F;', '&#x0031;', '&#x0032;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); CyrillicCharacterSet::$Instance = new CyrillicCharacterSet(); final class DevanagariCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\x4c\x42\x44\137\x44\145\x76\x61\156\141\x67\x61\162\151\x43\150\141\x72\141\x63\x74\145\x72\x53\x65\x74", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } DevanagariCharacterSet::$m_AlphaCodePoints = array( '&#x0905;', '&#x0906;', '&#x0907;', '&#x0909;', '&#x090B;', '&#x090C;', '&#x090F;', '&#x0913;', '&#x0915;', '&#x0916;', '&#x0917;', '&#x0918;', '&#x0919;', '&#x091A;', '&#x091B;', '&#x091C;', '&#x091D;', '&#x091E;', '&#x091F;', '&#x0920;', '&#x0921;', '&#x0922;', '&#x0923;', '&#x0924;', '&#x0925;', '&#x0926;', '&#x0927;', '&#x0928;', '&#x0929;', '&#x092A;', '&#x092B;', '&#x092C;', '&#x092D;', '&#x092E;', '&#x092F;', '&#x0930;', '&#x0931;', '&#x0932;', '&#x0933;', ); DevanagariCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); DevanagariCharacterSet::$m_AlphanumericCodePoints = array( '&#x0905;', '&#x0906;', '&#x0907;', '&#x0909;', '&#x090B;', '&#x090C;', '&#x090F;', '&#x0913;', '&#x0914;', '&#x0915;', '&#x0916;', '&#x0917;', '&#x0918;', '&#x0919;', '&#x091A;', '&#x091B;', '&#x091C;', '&#x091D;', '&#x091E;', '&#x091F;', '&#x0920;', '&#x0921;', '&#x0922;', '&#x0923;', '&#x0924;', '&#x0925;', '&#x0926;', '&#x0927;', '&#x0928;', '&#x0929;', '&#x092A;', '&#x092B;', '&#x092C;', '&#x092D;', '&#x092E;', '&#x092F;', '&#x0930;', '&#x0931;', '&#x0932;', '&#x0933;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); DevanagariCharacterSet::$Instance = new DevanagariCharacterSet(); final class GreekCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\102\104\137\x47\162\145\x65\153\x43\150\x61\162\141\x63\164\x65\162\x53\x65\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } GreekCharacterSet::$m_AlphaCodePoints = array( '&#x03B1;', '&#x03B2;', '&#x03B3;', '&#x03B4;', '&#x03B5;', '&#x03B6;', '&#x03B7;', '&#x03B8;', '&#x03BA;', '&#x03BB;', '&#x03BC;', '&#x03BD;', '&#x03BE;', '&#x03BF;', '&#x03C0;', '&#x03C1;', '&#x03C3;', '&#x03C4;', '&#x03C5;', '&#x03C6;', '&#x03C7;', '&#x03C8;', '&#x03C9;', ); GreekCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); GreekCharacterSet::$m_AlphanumericCodePoints = array( '&#x03B1;', '&#x03B2;', '&#x03B3;', '&#x03B4;', '&#x03B5;', '&#x03B6;', '&#x03B7;', '&#x03B8;', '&#x03BA;', '&#x03BB;', '&#x03BC;', '&#x03BD;', '&#x03BE;', '&#x03C0;', '&#x03C1;', '&#x03C3;', '&#x03C4;', '&#x03C5;', '&#x03C6;', '&#x03C7;', '&#x03C8;', '&#x03C9;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); GreekCharacterSet::$Instance = new GreekCharacterSet(); final class HangulCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\x4c\102\104\x5f\110\141\x6e\x67\x75\x6c\x43\x68\141\162\141\143\x74\x65\x72\x53\x65\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } HangulCharacterSet::$m_AlphaCodePoints = array( '&#x1100;', '&#x1102;', '&#x1103;', '&#x1105;', '&#x1106;', '&#x1107;', '&#x1109;', '&#x110B;', '&#x110C;', '&#x110E;', '&#x110F;', '&#x1110;', '&#x1111;', '&#x1112;', '&#x1161;', '&#x1162;', '&#x1163;', '&#x1165;', '&#x1166;', '&#x1167;', '&#x1169;', '&#x116D;', '&#x116E;', '&#x1172;', ); HangulCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HangulCharacterSet::$m_AlphanumericCodePoints = array( '&#x1100;', '&#x1102;', '&#x1103;', '&#x1105;', '&#x1106;', '&#x1107;', '&#x1109;', '&#x110C;', '&#x110E;', '&#x110F;', '&#x1110;', '&#x1111;', '&#x1112;', '&#x1161;', '&#x1162;', '&#x1163;', '&#x1165;', '&#x1166;', '&#x1167;', '&#x1169;', '&#x116D;', '&#x116E;', '&#x1172;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HangulCharacterSet::$Instance = new HangulCharacterSet(); final class HanSimplifiedCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\x4c\x42\104\x5f\x48\141\x6e\123\x69\155\160\154\x69\146\x69\145\x64\103\150\x61\162\x61\143\x74\145\x72\x53\x65\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } HanSimplifiedCharacterSet::$m_AlphaCodePoints = array( '&#x91D1;', '&#x4EBA;', '&#x6708;', '&#x767D;', '&#x79BE;', '&#x8A00;', '&#x7ACB;', '&#x6C34;', '&#x706B;', '&#x4E4B;', '&#x5DE5;', '&#x6728;', '&#x5927;', '&#x571F;', '&#x738B;', '&#x76EE;', '&#x65E5;', '&#x53E3;', '&#x7530;', '&#x5C71;', '&#x53C8;', '&#x5973;', '&#x5B50;', '&#x5DF2;', ); HanSimplifiedCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HanSimplifiedCharacterSet::$m_AlphanumericCodePoints = array( '&#x91D1;', '&#x4EBA;', '&#x6708;', '&#x767D;', '&#x79BE;', '&#x8A00;', '&#x7ACB;', '&#x6C34;', '&#x706B;', '&#x4E4B;', '&#x5DE5;', '&#x6728;', '&#x5927;', '&#x571F;', '&#x738B;', '&#x76EE;', '&#x65E5;', '&#x53E3;', '&#x7530;', '&#x5C71;', '&#x53C8;', '&#x5973;', '&#x5B50;', '&#x5DF2;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HanSimplifiedCharacterSet::$Instance = new HanSimplifiedCharacterSet(); final class HanTraditionalCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\x4c\102\104\137\x48\141\156\124\x72\141\144\151\164\151\x6f\x6e\x61\x6c\x43\x68\141\x72\141\x63\x74\145\162\123\145\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } HanTraditionalCharacterSet::$m_AlphaCodePoints = array( '&#x4E2D;', '&#x4EBA;', '&#x5341;', '&#x535C;', '&#x53E3;', '&#x571F;', '&#x5927;', '&#x5973;', '&#x5C38;', '&#x5C71;', '&#x5EFF;', '&#x5F13;', '&#x5FC3;', '&#x6208;', '&#x624B;', '&#x65E5;', '&#x6708;', '&#x6728;', '&#x6C34;', '&#x706B;', '&#x7530;', '&#x7AF9;', '&#x91D1;', ); HanTraditionalCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HanTraditionalCharacterSet::$m_AlphanumericCodePoints = array( '&#x4E2D;', '&#x4EBA;', '&#x5341;', '&#x535C;', '&#x53E3;', '&#x571F;', '&#x5927;', '&#x5973;', '&#x5C38;', '&#x5C71;', '&#x5EFF;', '&#x5F13;', '&#x5FC3;', '&#x6208;', '&#x624B;', '&#x65E5;', '&#x6708;', '&#x6728;', '&#x6C34;', '&#x706B;', '&#x7530;', '&#x7AF9;', '&#x91D1;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HanTraditionalCharacterSet::$Instance = new HanTraditionalCharacterSet(); final class HebrewCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\102\104\137\110\x65\x62\x72\145\167\x43\150\141\162\x61\143\164\x65\162\x53\x65\x74", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } HebrewCharacterSet::$m_AlphaCodePoints = array( '&#x05D0;', '&#x05D1;', '&#x05D2;', '&#x05D3;', '&#x05D4;', '&#x05D6;', '&#x05D7;', '&#x05D8;', '&#x05DB;', '&#x05DC;', '&#x05DE;', '&#x05E0;', '&#x05E1;', '&#x05E2;', '&#x05E4;', '&#x05E6;', '&#x05E7;', '&#x05E8;', '&#x05E9;', '&#x05EA;', ); HebrewCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HebrewCharacterSet::$m_AlphanumericCodePoints = array( '&#x05D0;', '&#x05D1;', '&#x05D2;', '&#x05D3;', '&#x05D4;', '&#x05D6;', '&#x05D7;', '&#x05D8;', '&#x05DB;', '&#x05DC;', '&#x05DE;', '&#x05E0;', '&#x05E1;', '&#x05E2;', '&#x05E4;', '&#x05E6;', '&#x05E7;', '&#x05E8;', '&#x05E9;', '&#x05EA;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HebrewCharacterSet::$Instance = new HebrewCharacterSet(); final class HiraganaCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\102\x44\x5f\x48\x69\162\141\x67\x61\156\x61\x43\x68\x61\162\141\143\x74\x65\162\123\145\x74", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } HiraganaCharacterSet::$m_AlphaCodePoints = array( '&#x3042;', '&#x3044;', '&#x3046;', '&#x3048;', '&#x304A;', '&#x304B;', '&#x304D;', '&#x304F;', '&#x3051;', '&#x3053;', '&#x3055;', '&#x3057;', '&#x3059;', '&#x305B;', '&#x305D;', '&#x305F;', '&#x3061;', '&#x3064;', '&#x3066;', '&#x3068;', '&#x306A;', '&#x306B;', '&#x306C;', '&#x306D;', '&#x306E;', '&#x306F;', '&#x3072;', '&#x3075;', '&#x3078;', '&#x307B;', '&#x307E;', '&#x307F;', '&#x3080;', '&#x3081;', '&#x3082;', '&#x3084;', '&#x3086;', '&#x3088;', '&#x3089;', '&#x308A;', '&#x308B;', '&#x308C;', '&#x308D;', '&#x308F;', '&#x3093;', ); HiraganaCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HiraganaCharacterSet::$m_AlphanumericCodePoints = array( '&#x3042;', '&#x3044;', '&#x3046;', '&#x3048;', '&#x304A;', '&#x304B;', '&#x304D;', '&#x304F;', '&#x3051;', '&#x3053;', '&#x3055;', '&#x3057;', '&#x3059;', '&#x305B;', '&#x305D;', '&#x305F;', '&#x3061;', '&#x3064;', '&#x3066;', '&#x3068;', '&#x306A;', '&#x306B;', '&#x306C;', '&#x306D;', '&#x306E;', '&#x306F;', '&#x3072;', '&#x3075;', '&#x3078;', '&#x307B;', '&#x307E;', '&#x307F;', '&#x3080;', '&#x3081;', '&#x3082;', '&#x3084;', '&#x3086;', '&#x3088;', '&#x3089;', '&#x308A;', '&#x308B;', '&#x308C;', '&#x308D;', '&#x308F;', '&#x3093;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); HiraganaCharacterSet::$Instance = new HiraganaCharacterSet(); final class KatakanaCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\102\104\x5f\x4b\141\164\x61\153\x61\156\x61\103\150\x61\162\141\x63\x74\x65\x72\x53\145\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } KatakanaCharacterSet::$m_AlphaCodePoints = array( '&#x30A2;', '&#x30A4;', '&#x30A6;', '&#x30A8;', '&#x30AA;', '&#x30AB;', '&#x30AD;', '&#x30AF;', '&#x30B1;', '&#x30B3;', '&#x30B5;', '&#x30B7;', '&#x30B9;', '&#x30BB;', '&#x30BD;', '&#x30BF;', '&#x30C1;', '&#x30C4;', '&#x30C6;', '&#x30C8;', '&#x30CA;', '&#x30CB;', '&#x30CC;', '&#x30CD;', '&#x30CE;', '&#x30CF;', '&#x30D2;', '&#x30D5;', '&#x30D8;', '&#x30DB;', '&#x30DE;', '&#x30DF;', '&#x30E0;', '&#x30E1;', '&#x30E2;', '&#x30E4;', '&#x30E6;', '&#x30E8;', '&#x30E9;', '&#x30EA;', '&#x30EB;', '&#x30EC;', '&#x30ED;', '&#x30EF;', '&#x30F3;', ); KatakanaCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); KatakanaCharacterSet::$m_AlphanumericCodePoints = array( '&#x30A2;', '&#x30A4;', '&#x30A6;', '&#x30A8;', '&#x30AA;', '&#x30AB;', '&#x30AD;', '&#x30AF;', '&#x30B1;', '&#x30B3;', '&#x30B5;', '&#x30B7;', '&#x30B9;', '&#x30BB;', '&#x30BD;', '&#x30BF;', '&#x30C1;', '&#x30C4;', '&#x30C6;', '&#x30C8;', '&#x30CA;', '&#x30CB;', '&#x30CC;', '&#x30CD;', '&#x30CE;', '&#x30CF;', '&#x30D2;', '&#x30D5;', '&#x30D8;', '&#x30DB;', '&#x30DE;', '&#x30DF;', '&#x30E0;', '&#x30E1;', '&#x30E2;', '&#x30E4;', '&#x30E6;', '&#x30E8;', '&#x30E9;', '&#x30EA;', '&#x30EB;', '&#x30EC;', '&#x30ED;', '&#x30EF;', '&#x30F3;', '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); KatakanaCharacterSet::$Instance = new KatakanaCharacterSet(); final class LatinCharacterSet extends CharacterSet { public function __construct() { parent::__construct("\114\102\104\x5f\114\x61\x74\151\156\x43\150\141\162\x61\143\164\x65\x72\123\145\164", self::$m_AlphaCodePoints, self::$m_NumericCodePoints, self::$m_AlphanumericCodePoints); } public static $Instance; public static $m_AlphaCodePoints; public static $m_NumericCodePoints; public static $m_AlphanumericCodePoints; } LatinCharacterSet::$m_AlphaCodePoints = array( '&#x0041;', '&#x0042;', '&#x0043;', '&#x0044;', '&#x0045;', '&#x0048;', '&#x004A;', '&#x004B;', '&#x004D;', '&#x004E;', '&#x004F;', '&#x0050;', '&#x0052;', '&#x0053;', '&#x0054;', '&#x0055;', '&#x0056;', '&#x0057;', '&#x0058;', '&#x0059;', '&#x005A;', ); LatinCharacterSet::$m_NumericCodePoints = array( '&#x0030;', '&#x0031;', '&#x0032;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); LatinCharacterSet::$m_AlphanumericCodePoints = array( '&#x0041;', '&#x0042;', '&#x0043;', '&#x0044;', '&#x0045;', '&#x0048;', '&#x004A;', '&#x004B;', '&#x004D;', '&#x004E;', '&#x0050;', '&#x0052;', '&#x0053;', '&#x0054;', '&#x0055;', '&#x0056;', '&#x0057;', '&#x0058;', '&#x0059;', '&#x0033;', '&#x0034;', '&#x0035;', '&#x0036;', '&#x0038;', '&#x0039;', ); LatinCharacterSet::$Instance = new LatinCharacterSet(); final class CharacterSetFactory { private function __construct() {} public static function GetLocalized(Localization $_o8ecw2r4y8ulkfuh92u1c) { $_ira4ypjnxuyxbo2jui4vl = self::lgq8o($_o8ecw2r4y8ulkfuh92u1c->Charset); if (is_array($_o8ecw2r4y8ulkfuh92u1c->CharsetDiff)) { $_iu7hvejilj9si6au = "\x6c\157\143\141\154\151\x7a\x65\x64\x5f".BaseCharset::GetName($_o8ecw2r4y8ulkfuh92u1c->Charset)."\x2d".implode("\x2c", $_o8ecw2r4y8ulkfuh92u1c->CharsetDiff); $_ira4ypjnxuyxbo2jui4vl = new CharacterSet($_iu7hvejilj9si6au, $_ira4ypjnxuyxbo2jui4vl, $_o8ecw2r4y8ulkfuh92u1c->CharsetDiff); } return $_ira4ypjnxuyxbo2jui4vl; } private static function lgq8o($_otwgoonb0c3t8dw1) { $_iero925inote7qd3 = null; switch ($_otwgoonb0c3t8dw1) { case 0x0627 : $_iero925inote7qd3 = ArabicCharacterSet::$Instance; break; case 0x3105 : $_iero925inote7qd3 = BopomofoCharacterSet::$Instance; break; case 0x0410 : $_iero925inote7qd3 = CyrillicCharacterSet::$Instance; break; case 0x0905 : $_iero925inote7qd3 = DevanagariCharacterSet::$Instance; break; case 0x03B1 : $_iero925inote7qd3 = GreekCharacterSet::$Instance; break; case 0x1100 : $_iero925inote7qd3 = HangulCharacterSet::$Instance; break; case 0x91D1 : $_iero925inote7qd3 = HanSimplifiedCharacterSet::$Instance; break; case 0x4E00 : $_iero925inote7qd3 = HanTraditionalCharacterSet::$Instance; break; case 0x05D0 : $_iero925inote7qd3 = HebrewCharacterSet::$Instance; break; case 0x3042 : $_iero925inote7qd3 = HiraganaCharacterSet::$Instance; break; case 0x30A2 : $_iero925inote7qd3 = KatakanaCharacterSet::$Instance; break; case 0x0041 : $_iero925inote7qd3 = LatinCharacterSet::$Instance; break; } return $_iero925inote7qd3; } public static function GetCustom($_o9u57enoivm8k6ytv5s2hetcpd) { $_Ifgljq5i4yssaae1 = "\143\165\x73\164\x6f\x6d\137".$_o9u57enoivm8k6ytv5s2hetcpd; return new CharacterSet($_Ifgljq5i4yssaae1, $_o9u57enoivm8k6ytv5s2hetcpd); } } final Class ValidationAttemptOrigin extends Enum { private function __construct() {} public static $Names; const Unknown = 0; const Server = 1; const Client = 2; public static function GetName($_O4pwatq1svxod80l7odfb7f4ay) { if (!is_int($_O4pwatq1svxod80l7odfb7f4ay)) { throw new Exception("\x55\x6e\153\156\157\167\x6e\x20\145\x6e\x75\155\x65\x72\141\164\145\x64\x20\x76\x61\154\x75\145\x3a\x20".$_O4pwatq1svxod80l7odfb7f4ay); } if (array_key_exists($_O4pwatq1svxod80l7odfb7f4ay, ValidationAttemptOrigin::$Names)) { return ValidationAttemptOrigin::$Names[$_O4pwatq1svxod80l7odfb7f4ay]; } else { throw new Exception("\x55\x6e\x6b\x6e\157\x77\156\40\145\x6e\165\155\x65\x72\141\x74\x65\144\40\x76\x61\x6c\x75\x65\x3a\40".$_O4pwatq1svxod80l7odfb7f4ay); } } public static function GetValue($_ix09s258u75m9197) { if (!StringHelper::HasValue($_ix09s258u75m9197)) { throw new Exception("\x55\156\x6b\156\157\167\x6e\40\x65\x6e\165\x6d\145\x72\141\164\145\x64\x20\156\141\155\145\x3a\40".$_ix09s258u75m9197); } $_Izufx03kwhozq79i = CollectionHelper::StringArraySearch($_ix09s258u75m9197, ValidationAttemptOrigin::$Names); if (false !== $_Izufx03kwhozq79i) { return $_Izufx03kwhozq79i; } else { throw new Exception("\125\156\153\x6e\157\x77\x6e\40\x65\x6e\x75\155\x65\162\141\164\x65\x64\40\156\x61\155\145\x3a\40".$_ix09s258u75m9197); } } public static function TryGetName($_l8m3dpn9qzkji8s29yr2m) { if (!is_int($_l8m3dpn9qzkji8s29yr2m)) { return; } if (array_key_exists($_l8m3dpn9qzkji8s29yr2m, ValidationAttemptOrigin::$Names)) { return ValidationAttemptOrigin::$Names[$_l8m3dpn9qzkji8s29yr2m]; } else { return; } } public static function TryGetValue($_lxnk96hytd1zru6c) { if (!StringHelper::HasValue($_lxnk96hytd1zru6c)) { return; } $_l6dsnl9n2hm7sv9gi9pvxctott = CollectionHelper::StringArraySearch($_lxnk96hytd1zru6c, ValidationAttemptOrigin::$Names); if (false !== $_l6dsnl9n2hm7sv9gi9pvxctott) { return $_l6dsnl9n2hm7sv9gi9pvxctott; } else { return; } } } ValidationAttemptOrigin::$Names = array( ValidationAttemptOrigin::Unknown => "\125\156\153\156\x6f\167\x6e", ValidationAttemptOrigin::Server => "\x53\x65\162\x76\145\162", ValidationAttemptOrigin::Client => "\x43\x6c\151\x65\x6e\164" ); final class ImageStyle extends Enum { private function __construct() {} public static $Names; const Chess = 0; const Distortion = 1; const Jail = 2; const Negative = 3; const Snow = 4; const Split = 5; const Wave = 6; const WantedCircular = 7; const Stitch = 8; const Chess3D = 9; const Circles = 10; const Corrosion = 11; const Chipped = 12; const Flash = 13; const Mass = 14; const Rough = 15; const BlackOverlap = 16; const Overlap = 17; const Overlap2 = 18; const Halo = 19; const ThickThinLines = 20; const ThickThinLines2 = 21; const Sunrays = 22; const Sunrays2 = 23; const Darts = 24; const Fingerprints = 25; const CrossShadow = 26; const CrossShadow2 = 27; const Lego = 28; const Strippy = 29; const ThinWavyLetters = 30; const Chalkboard = 31; const WavyColorLetters = 32; const AncientMosaic = 33; const Vertigo = 34; const WavyChess = 35; const MeltingHeat = 36; const SunAndWarmAir = 37; const Graffiti = 38; const Graffiti2 = 39; const Cut = 40; const SpiderWeb = 41; const Collage = 42; const InBandages = 43; const Ghostly = 44; const PaintMess = 45; const CaughtInTheNet = 46; const CaughtInTheNet2 = 47; const Bullets = 48; const Bullets2 = 49; const Bubbles = 50; const Electric = 51; const MeltingHeat2 = 52; const Neon = 53; const Neon2 = 54; const Radar = 55; const Ripple = 56; const Ripple2 = 57; const SpiderWeb2 = 58; const Split2 = 59; public static function GetName($_Ivs8b667t34n4kbk71819) { if (!is_int($_Ivs8b667t34n4kbk71819)) { throw new Exception("\x55\156\x6b\156\x6f\x77\x6e\x20\x65\156\165\155\x65\x72\x61\164\x65\144\x20\166\x61\x6c\165\x65\72\x20".$_Ivs8b667t34n4kbk71819); } if (array_key_exists($_Ivs8b667t34n4kbk71819, ImageStyle::$Names)) { return ImageStyle::$Names[$_Ivs8b667t34n4kbk71819]; } else { throw new Exception("\125\156\x6b\x6e\x6f\x77\x6e\40\x65\x6e\165\x6d\145\162\x61\164\x65\144\x20\x76\141\154\165\x65\72\40".$_Ivs8b667t34n4kbk71819); } } public static function GetValue($_1z2x2teefk8pxm2myazy2) { if (!StringHelper::HasValue($_1z2x2teefk8pxm2myazy2)) { throw new Exception("\125\156\x6b\x6e\157\x77\x6e\x20\x65\156\x75\155\145\162\141\x74\145\x64\40\156\141\x6d\x65\72\40".$_1z2x2teefk8pxm2myazy2); } $_0pbowbg18j4qlvtf = CollectionHelper::StringArraySearch($_1z2x2teefk8pxm2myazy2, ImageStyle::$Names); if (false !== $_0pbowbg18j4qlvtf) { return $_0pbowbg18j4qlvtf; } else { throw new Exception("\125\x6e\153\x6e\157\167\156\40\145\x6e\165\155\x65\x72\141\x74\145\x64\40\x6e\x61\x6d\145\72\40".$_1z2x2teefk8pxm2myazy2); } } public static function TryGetName($_I2ic34n0wlsst7b6enn9wamv13) { if (!is_int($_I2ic34n0wlsst7b6enn9wamv13)) { return; } if (array_key_exists($_I2ic34n0wlsst7b6enn9wamv13, ImageStyle::$Names)) { return ImageStyle::$Names[$_I2ic34n0wlsst7b6enn9wamv13]; } else { return; } } public static function TryGetValue($_itpg9nqj1epie7wzimg61) { if (!StringHelper::HasValue($_itpg9nqj1epie7wzimg61)) { return; } $_1nv0eha1zoz71qzbre35q = CollectionHelper::StringArraySearch($_itpg9nqj1epie7wzimg61, ImageStyle::$Names); if (false !== $_1nv0eha1zoz71qzbre35q) { return $_1nv0eha1zoz71qzbre35q; } else { return; } } } ImageStyle::$Names = array( ImageStyle::Chess => "\103\150\145\163\163", ImageStyle::Distortion => "\104\x69\163\x74\x6f\x72\x74\151\157\156", ImageStyle::Jail => "\x4a\x61\x69\x6c", ImageStyle::Negative => "\116\x65\147\141\x74\x69\x76\145", ImageStyle::Snow => "\x53\x6e\157\167", ImageStyle::Split => "\x53\160\154\x69\x74", ImageStyle::Wave => "\127\141\x76\x65", ImageStyle::WantedCircular => "\x57\141\156\x74\145\144\103\151\162\143\x75\x6c\141\162", ImageStyle::Stitch => "\x53\x74\x69\x74\x63\150", ImageStyle::Chess3D => "\x43\x68\x65\x73\x73\x33\x44", ImageStyle::Circles => "\x43\x69\162\x63\154\x65\163", ImageStyle::Corrosion => "\x43\157\x72\x72\157\x73\151\x6f\x6e", ImageStyle::Chipped => "\103\x68\151\160\x70\145\x64", ImageStyle::Flash => "\x46\x6c\141\163\150", ImageStyle::Mass => "\115\141\x73\163", ImageStyle::Rough => "\122\157\165\x67\x68", ImageStyle::BlackOverlap => "\102\x6c\141\143\153\117\166\145\162\154\141\x70", ImageStyle::Overlap => "\x4f\166\145\162\x6c\141\160", ImageStyle::Overlap2 => "\117\x76\x65\162\154\x61\x70\x32", ImageStyle::Halo => "\110\141\x6c\157", ImageStyle::ThickThinLines => "\124\x68\151\x63\x6b\x54\150\x69\156\114\151\x6e\x65\163", ImageStyle::ThickThinLines2 => "\124\150\x69\x63\x6b\x54\x68\151\x6e\114\x69\x6e\x65\163\x32", ImageStyle::Sunrays => "\123\x75\x6e\162\141\x79\163", ImageStyle::Sunrays2 => "\x53\x75\x6e\x72\141\171\163\x32", ImageStyle::Darts => "\x44\x61\x72\x74\x73", ImageStyle::Fingerprints => "\x46\x69\156\147\x65\x72\x70\162\x69\156\x74\x73", ImageStyle::CrossShadow => "\x43\x72\157\x73\x73\123\x68\141\144\157\x77", ImageStyle::CrossShadow2 => "\103\x72\x6f\x73\x73\123\150\141\x64\157\167\62", ImageStyle::Lego => "\114\145\147\x6f", ImageStyle::Strippy => "\x53\x74\x72\151\x70\x70\171", ImageStyle::ThinWavyLetters => "\x54\150\151\156\127\x61\166\x79\x4c\x65\164\164\145\x72\x73", ImageStyle::Chalkboard => "\103\150\141\x6c\x6b\x62\x6f\x61\x72\144", ImageStyle::WavyColorLetters => "\127\141\x76\171\x43\157\x6c\157\x72\114\x65\164\164\145\x72\x73", ImageStyle::AncientMosaic => "\101\156\143\151\x65\x6e\x74\115\157\163\x61\x69\143", ImageStyle::Vertigo => "\126\145\x72\x74\151\x67\157", ImageStyle::WavyChess => "\127\141\x76\171\103\150\x65\x73\163", ImageStyle::MeltingHeat => "\115\x65\x6c\x74\x69\x6e\x67\110\x65\141\x74", ImageStyle::SunAndWarmAir => "\123\x75\x6e\x41\x6e\144\127\141\162\x6d\x41\151\162", ImageStyle::Graffiti => "\107\162\x61\x66\x66\x69\164\x69", ImageStyle::Graffiti2 => "\x47\162\x61\x66\146\x69\164\151\62", ImageStyle::Cut => "\103\x75\164", ImageStyle::SpiderWeb => "\123\x70\x69\x64\145\162\127\x65\x62", ImageStyle::Collage => "\103\157\x6c\154\141\x67\x65", ImageStyle::InBandages => "\x49\x6e\102\x61\x6e\144\141\147\x65\163", ImageStyle::Ghostly => "\107\150\157\163\x74\x6c\171", ImageStyle::PaintMess => "\120\x61\x69\156\x74\115\145\163\163", ImageStyle::CaughtInTheNet => "\x43\141\165\x67\x68\x74\111\156\x54\150\145\116\145\x74", ImageStyle::CaughtInTheNet2 => "\x43\x61\x75\x67\150\164\x49\x6e\x54\150\x65\116\145\x74\x32", ImageStyle::Bullets => "\x42\x75\x6c\154\145\x74\163", ImageStyle::Bullets2 => "\102\x75\154\154\145\164\x73\x32", ImageStyle::Bubbles => "\x42\165\142\x62\154\x65\x73", ImageStyle::Electric => "\x45\154\x65\143\164\162\151\143", ImageStyle::MeltingHeat2 => "\115\x65\154\164\x69\x6e\147\x48\x65\141\164\62", ImageStyle::Neon => "\x4e\145\x6f\156", ImageStyle::Neon2 => "\x4e\145\x6f\156\x32", ImageStyle::Radar => "\x52\141\x64\141\x72", ImageStyle::Ripple => "\x52\x69\x70\x70\x6c\x65", ImageStyle::Ripple2 => "\x52\151\160\160\154\145\62", ImageStyle::SpiderWeb2 => "\123\160\151\x64\x65\x72\x57\145\142\62", ImageStyle::Split2 => "\x53\x70\x6c\x69\x74\x32" ); interface IImageGenerator { public function GenerateImage($_lbfsqh712xaq78ry, $_ls7bg8wbv5o5hkf6, $_i63ddafqdfmw3kanove8ghxt4f, $_lmujs1ryyq0g9rsft1wt5kinpb, $_Ipfh233zdbrtg989, $_194dku6h7j3m0av7cyz14); } class ImageGenerator implements IImageGenerator { public function __construct() { $this->m_Colors = array(); $this->m_Fonts = new FontCollection(); $this->m_Transform = Transform::Identity(); } protected $m_Graphics; protected $m_Text; protected $m_Localization; protected $m_Colors; protected function get_TextColor() { if (array_key_exists("\x74\145\170\x74\x43\x6f\154\x6f\162", $this->m_Colors)) { return $this->m_Colors["\x74\x65\170\164\103\x6f\154\157\162"]; } } protected function set_TextColor(Color $_1h28qvxe46rzedyj63a3yrtr3s) { $this->m_Colors["\x74\x65\x78\164\x43\157\x6c\157\x72"] = $_1h28qvxe46rzedyj63a3yrtr3s; } protected function get_OutlineColor() { if (array_key_exists("\x6f\x75\164\154\x69\156\x65\103\x6f\154\157\x72", $this->m_Colors)) { return $this->m_Colors["\157\165\x74\x6c\x69\x6e\x65\x43\157\x6c\x6f\162"]; } } protected function set_OutlineColor(Color $_0sm2u4rn34xavifaeteqe) { $this->m_Colors["\x6f\x75\x74\154\151\x6e\145\103\157\x6c\157\162"] = $_0sm2u4rn34xavifaeteqe; } protected function get_BackColor() { if (array_key_exists("\142\141\143\153\103\157\x6c\x6f\x72", $this->m_Colors)) { return $this->m_Colors["\142\141\x63\x6b\103\x6f\154\157\x72"]; } } protected function set_BackColor(Color $_1twzdhm2r6ern0tj) { $this->m_Colors["\x62\141\x63\x6b\x43\157\x6c\x6f\x72"] = $_1twzdhm2r6ern0tj; } protected $m_CustomLightColor; protected $m_CustomDarkColor; protected $m_Fonts; protected $m_Transform; protected $m_TextRenderer; public function GenerateImage($_l4ssobx6n9gh83w4n9m2eyc8xg, $_inz5qhiggo9bwmbuoay8i3aarl, $_iqstfkjg384ht48bglyyup3u6a, $_08cv1ng7577msrjiss4o3xgjzp, $_0z4bhegbhd5zejusp4l1a, $_1mn291f52rxarne9) { $this->m_Text = $_l4ssobx6n9gh83w4n9m2eyc8xg; $this->m_Localization = $_inz5qhiggo9bwmbuoay8i3aarl; $this->m_CustomLightColor = $_0z4bhegbhd5zejusp4l1a; $this->m_CustomDarkColor = $_1mn291f52rxarne9; $this->m_Graphics = new GDGraphics($_iqstfkjg384ht48bglyyup3u6a, $_08cv1ng7577msrjiss4o3xgjzp); if ($this->m_Graphics->GetHeight() < 20 || $this->m_Graphics->GetWidth() < 20 ) { return $this->m_Graphics; } $this->Init(); $this->Draw(); return $this->m_Graphics; } protected function Init() { $this->InitColors(); $this->OverrideColors(); $this->InitText(); $this->CustomInit(); } protected function InitColors() { $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(0, 0, 0); unset($this->OutlineColor); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { if (!is_null($this->TextColor)) { $this->TextColor = $this->m_CustomDarkColor; } else { $this->OutlineColor = $this->m_CustomDarkColor; } } } protected function InitText() { $this->InitFonts(); $this->InitGlyphTransform(); $this->InitTextRenderer(); } protected function InitFonts() { $this->m_Fonts []= Font::From(0 , 0 , 0 ); $this->m_Fonts []= Font::From(1 , 0 , 0 ); $this->m_Fonts []= Font::From(2 , 0 , 0 ); $this->m_Fonts->RandomizationStyle = 0 ; } protected function InitGlyphTransform() { $this->m_Transform->Translation->xOffsetRange = new RandomRange(-7, 7); $this->m_Transform->Translation->yOffsetRange = new RandomRange(-7, 7); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-10, 10); $this->m_Transform->Warp->WarpPercentageRange = new RandomRange(5, 5); } protected function InitTextRenderer() { $_oyvx85s27xjfru403ddwt9efci = new Text(); $_oyvx85s27xjfru403ddwt9efci->IsRtl = $this->m_Localization->IsRtl; $_oyvx85s27xjfru403ddwt9efci->Prototype->FillColor = $this->TextColor; if (!is_null($this->OutlineColor)) { $_oyvx85s27xjfru403ddwt9efci->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->OutlineColor)); } $_oyvx85s27xjfru403ddwt9efci->TextToRender = $this->m_Text; $_oyvx85s27xjfru403ddwt9efci->Charset = $this->m_Localization->Charset; $_oyvx85s27xjfru403ddwt9efci->Fonts = $this->m_Fonts; $_oyvx85s27xjfru403ddwt9efci->Transform = $this->m_Transform; $_oyvx85s27xjfru403ddwt9efci->Bounds = Text::DefaultTextBounds($this->m_Graphics); $this->m_TextRenderer = $_oyvx85s27xjfru403ddwt9efci; } protected function CustomInit() { } protected function Draw() { $this->DrawBackground(); $this->DrawText(); $this->DrawEffects(); } protected function DrawBackground() { if (!is_null($this->BackColor)) { $this->m_Graphics->Fill($this->BackColor); } } protected function DrawText() { $this->m_TextRenderer->Draw($this->m_Graphics); } protected function DrawEffects() { } public function __get($_o3b5uro009w83jk3) { if (method_exists($this, ($_0rb8swr9flzr96ff = "\147\x65\164\x5f".$_o3b5uro009w83jk3))) { return $this->$_0rb8swr9flzr96ff(); } else return; } public function __isset($_o4sby1u7h0ea785m) { if (method_exists($this, ($_lir143u6v6eku2dey78gl = "\x69\163\163\x65\x74\137".$_o4sby1u7h0ea785m))) { return $this->$_lir143u6v6eku2dey78gl(); } else return; } public function __set($_ok1evd9xlmehlns1braej3vdsu, $_lbfns1f35o3h8h7egaz7um01si) { if (method_exists($this, ($_0p0vi4bdzyxo9xmygzaq7w08oe = "\163\145\164\x5f".$_ok1evd9xlmehlns1braej3vdsu))) { $this->$_0p0vi4bdzyxo9xmygzaq7w08oe($_lbfns1f35o3h8h7egaz7um01si); } } public function __unset($_id8mx0ecnb7yo9za) { if (method_exists($this, ($_1e1ok0amn0ydy735koj1d75cxh = "\x75\x6e\x73\145\164\137".$_id8mx0ecnb7yo9za))) { $this->$_1e1ok0amn0ydy735koj1d75cxh(); } } } class AncientMosaicImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(245, 245, 245); $this->TextColor = Color::Rgb(200, 200, 200); $this->OutlineColor = Color::Rgb(30, 30, 30); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; $this->OutlineColor = Color::Darkened($this->m_CustomDarkColor, 50); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $_1u4fgj4zx8sahwq0 = $this->m_Graphics->GetHeight() / 15; $this->m_TextRenderer->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->OutlineColor), LineLayer::Solid($_1u4fgj4zx8sahwq0, $this->TextColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_ll3yl88b33zdk5kq2bege = new RandomDots(); $_ll3yl88b33zdk5kq2bege->Bounds = $this->m_TextRenderer->Bounds; $_ll3yl88b33zdk5kq2bege->Prototype->FillColor = $this->OutlineColor; $_ll3yl88b33zdk5kq2bege->SurfacePercentage = 3; $_ll3yl88b33zdk5kq2bege->DrawFast($this->m_Graphics); $_1dfeyxj1u7pngca0nqe75is8l0 = new RandomCircles(); $_1dfeyxj1u7pngca0nqe75is8l0->Prototype->FillColor = $this->TextColor; $_1dfeyxj1u7pngca0nqe75is8l0->Prototype->Radius = 2; $_1dfeyxj1u7pngca0nqe75is8l0->SurfacePercentage = 16; $_1dfeyxj1u7pngca0nqe75is8l0->DrawFast($this->m_Graphics); } } class BlackOverlapImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->TextColor) ); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(115, 125); $_l1ppup11672q0ssjwpvl0bnosu = StringHelper::Length($this->m_Text); } } class BubblesImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::BetweenRgb(200, 200, 200)->AndRgb(250, 250, 250)->Frozen; $this->TextColor = Color::Rgb(0, 0, 0); } protected function DrawBackground() { parent::DrawBackground(); $_0hg2twbe6k3rd381bni4u699cd = new RandomCircles(); $_0hg2twbe6k3rd381bni4u699cd->Prototype->FillColor = $this->BackColor; $_0hg2twbe6k3rd381bni4u699cd->Bounds = $this->m_TextRenderer->Bounds; $_0hg2twbe6k3rd381bni4u699cd->Prototype->Outline = LineStyle::Single(LineLayer::Solid(3, $this->TextColor)); $_0hg2twbe6k3rd381bni4u699cd->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 6); $_0hg2twbe6k3rd381bni4u699cd->SurfacePercentage = 15; $_0hg2twbe6k3rd381bni4u699cd->DrawFast($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_oljrv0ntdxcjhsh7 = new RandomCircles(); $_oljrv0ntdxcjhsh7->Bounds = $this->m_TextRenderer->Bounds; $_oljrv0ntdxcjhsh7->Prototype->FillColor = $this->BackColor; $_oljrv0ntdxcjhsh7->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->TextColor)); $_oljrv0ntdxcjhsh7->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 8); $_oljrv0ntdxcjhsh7->SurfacePercentage = 8; $_oljrv0ntdxcjhsh7->DrawFast($this->m_Graphics); } } class BulletsImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(220, 220, 220); $this->TextColor = Color::Rgb(0, 0, 0); } protected function DrawEffects() { parent::DrawEffects(); $_ia9pjrzknn6otys0dn76c = new HorizontalLines(); $_ia9pjrzknn6otys0dn76c->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3, $this->m_Graphics->GetHeight() / 2); $_ia9pjrzknn6otys0dn76c->Prototype->Outline = LineStyle::Single(LineLayer::Solid(2, $this->TextColor)); $_ia9pjrzknn6otys0dn76c->DrawWithinBounds($this->m_Graphics, $this->m_Graphics->GetBounds()); $_1ilqz29yshd2tqgc2waktu78jt = new RandomCircles(); $_1ilqz29yshd2tqgc2waktu78jt->Bounds = $this->m_TextRenderer->Bounds; $_1ilqz29yshd2tqgc2waktu78jt->Prototype->FillColor = $this->BackColor; $_1ilqz29yshd2tqgc2waktu78jt->Prototype->Radius = $this->m_Graphics->GetHeight() / 15; $_1ilqz29yshd2tqgc2waktu78jt->SurfacePercentage = 4; $_1ilqz29yshd2tqgc2waktu78jt->DrawFast($this->m_Graphics); $_ockx9lfvnhgztcfo6e6qw4bldg = new RandomCircles(); $_ockx9lfvnhgztcfo6e6qw4bldg->Bounds = $this->m_TextRenderer->Bounds; $_ockx9lfvnhgztcfo6e6qw4bldg->Prototype->FillColor = $this->TextColor; $_ockx9lfvnhgztcfo6e6qw4bldg->Prototype->Radius = $this->m_Graphics->GetHeight() / 15; $_ockx9lfvnhgztcfo6e6qw4bldg->SurfacePercentage = 2; $_ockx9lfvnhgztcfo6e6qw4bldg->DrawFast($this->m_Graphics); } } class Bullets2ImageGenerator extends BulletsImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(25, 25, 25)->AndRgb(125, 125, 125); $this->BackColor = Color::BetweenRgb(155, 155, 155)->AndRgb(205, 205, 205)->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50)->Frozen; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100); } } } class CaughtInTheNetImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 50, 150); $this->TextColor = Color::Rgb(220, 220, 220); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_ojqy9xi42ef3ufdpsajt4 = new RandomLines(); $_ojqy9xi42ef3ufdpsajt4->Bounds = $this->m_TextRenderer->Bounds; $_ojqy9xi42ef3ufdpsajt4->Prototype->Outline = LineStyle::Single(LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 20), $this->TextColor)); $_ojqy9xi42ef3ufdpsajt4->SurfacePercentage = 1; $_ojqy9xi42ef3ufdpsajt4->Draw($this->m_Graphics); $_iy2e4fd2e0hri6apoea07 = new RandomLines(); $_iy2e4fd2e0hri6apoea07->Bounds = $this->m_TextRenderer->Bounds; $_iy2e4fd2e0hri6apoea07->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->TextColor)); $_iy2e4fd2e0hri6apoea07->SurfacePercentage = 3; $_iy2e4fd2e0hri6apoea07->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_o462sl7j2nf51fm2 = new RandomLines(); $_o462sl7j2nf51fm2->Bounds = $this->m_TextRenderer->Bounds; $_o462sl7j2nf51fm2->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->backColor)); $_o462sl7j2nf51fm2->SurfacePercentage = 4; $_o462sl7j2nf51fm2->Draw($this->m_Graphics); $_ioqrhpftkb242403 = new ConcentricCircles(); $_ioqrhpftkb242403->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->BackColor)); $_ioqrhpftkb242403->SpacingRange = new RandomRange(5, 8); $_ioqrhpftkb242403->Draw($this->m_Graphics); } } class CaughtInTheNet2ImageGenerator extends CaughtInTheNetImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(155, 155, 155)->AndRgb(255,255,255); $this->BackColor = Color::BetweenRgb(25, 25, 25)->AndRgb(75,75,75)->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = Color::Randomized($this->m_CustomLightColor, 100); } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = Color::Randomized($this->m_CustomDarkColor, 50)->Frozen; } } } class ChalkboardImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = $this->BackColor; $this->OutlineColor = Color::Rgb(255, 255, 255); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->OutlineColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; $this->TextColor = $this->BackColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->OutlineColor) ); } protected function DrawBackground() { parent::DrawBackground(); $_I2u5qi4cm3pexuts = new HorizontalLines(); $_I2u5qi4cm3pexuts->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->OutlineColor) ); $_I2u5qi4cm3pexuts->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3, $this->m_Graphics->GetHeight() / 2); $_I2u5qi4cm3pexuts->Draw($this->m_Graphics); $_op6n8vxxqdk31t8t = new VerticalLines(); $_op6n8vxxqdk31t8t->SpacingRange = new RandomRange($this->m_Graphics->GetHeight(), $this->m_Graphics->GetHeight() * 2); $_op6n8vxxqdk31t8t->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(2, $this->m_Graphics->GetHeight() / 20), $this->OutlineColor) ); $_op6n8vxxqdk31t8t->Draw($this->m_Graphics); $_l6d02kthwkwwbfhe = new RandomCircles(); $_l6d02kthwkwwbfhe->Prototype->FillColor = $this->BackColor; $_l6d02kthwkwwbfhe->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 15 + 1); $_l6d02kthwkwwbfhe->SurfacePercentage = 10; $_l6d02kthwkwwbfhe->DrawFast($this->m_Graphics); $_07ixkp6vgiopsjn5rz4ft = new RandomDots(); $_07ixkp6vgiopsjn5rz4ft->Prototype->FillColor = $this->OutlineColor; $_07ixkp6vgiopsjn5rz4ft->SurfacePercentage = 1; $_07ixkp6vgiopsjn5rz4ft->DrawFast($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_ocp4ep30n797bvf5tfm5bvrdup = new RandomCircles(); $_ocp4ep30n797bvf5tfm5bvrdup->Prototype->FillColor = $this->BackColor; $_ocp4ep30n797bvf5tfm5bvrdup->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 15 + 1); $_ocp4ep30n797bvf5tfm5bvrdup->SurfacePercentage = 4; $_ocp4ep30n797bvf5tfm5bvrdup->DrawFast($this->m_Graphics); $_1uwxhrf3lwy3m8eg = new Fuzz(); $_1uwxhrf3lwy3m8eg->Level = 1; $_1uwxhrf3lwy3m8eg->Horizontal = true; $_1uwxhrf3lwy3m8eg->Vertical = false; $_1uwxhrf3lwy3m8eg->Apply($this->m_Graphics); } } class ChessImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_Color1() { if (array_key_exists("\143\x6f\154\x6f\x72\61", $this->m_Colors)) { return $this->m_Colors["\x63\157\x6c\x6f\x72\61"]; } } protected function set_Color1(Color $_0zrqx2mkix3yv6bos5rk8r1f10) { $this->m_Colors["\x63\x6f\154\x6f\162\x31"] = $_0zrqx2mkix3yv6bos5rk8r1f10; } protected function get_Color2() { if (array_key_exists("\x63\x6f\x6c\x6f\162\62", $this->m_Colors)) { return $this->m_Colors["\143\157\x6c\157\162\62"]; } } protected function set_Color2(Color $_Ixzx14l1pyzjpuecr95d4) { $this->m_Colors["\x63\x6f\x6c\157\162\x32"] = $_Ixzx14l1pyzjpuecr95d4; } protected function InitColors() { $this->Color1 = Color::Rgb(255, 255, 255); $this->Color2 = Color::Rgb(0, 0, 0); unset($this->BackColor); unset($this->TextColor); unset($this->OutlineColor); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->Color1 = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->Color2 = $this->m_CustomDarkColor; } } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $_Op9jq8ytviq3000hpn9cytnexz = new ChessBoard(); $_Op9jq8ytviq3000hpn9cytnexz->TileSize = round($this->m_Graphics->GetHeight() / 2); $_Op9jq8ytviq3000hpn9cytnexz->xScalingPercentageRange = new RandomRange(139, 199); $this->m_TextRenderer->DrawInvertCombine($this->m_Graphics, $_Op9jq8ytviq3000hpn9cytnexz, $this->Color1, $this->Color2); } } class Chess3DImageGenerator extends ChessImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } public function DrawEffects() { parent::DrawEffects(); $_Iragjw8bq9j9xmz4a1l8l = new Perspective(); $_Iragjw8bq9j9xmz4a1l8l->Apply($this->m_Graphics); } } class ChippedImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->TextColor = Color::Rgb(50, 50, 60); $this->BackColor = Color::Rgb(200, 205, 210); } protected function DrawEffects() { $_01wdhigcw53ih035plss0 = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); $_01ktlpc0q24gnw426v2wsh1jr3 = Bezier::Within($this->m_TextRenderer->Bounds, $_01wdhigcw53ih035plss0); $_01ktlpc0q24gnw426v2wsh1jr3->Draw($this->m_Graphics); $_1ik45o8avmrlqn9qjjwyl = new RandomBeziers(); $_1ik45o8avmrlqn9qjjwyl->Bounds = $this->m_TextRenderer->Bounds; $_1ik45o8avmrlqn9qjjwyl->ScalingPercentage = 16; $_1ik45o8avmrlqn9qjjwyl->SurfacePercentage = 12; $_1ik45o8avmrlqn9qjjwyl->Prototype->Outline = $_01wdhigcw53ih035plss0; $_1ik45o8avmrlqn9qjjwyl->Draw($this->m_Graphics); $_0nsr3wzm64q8mzge = new RandomDots(); $_0nsr3wzm64q8mzge->Bounds = $this->m_TextRenderer->Bounds; $_0nsr3wzm64q8mzge->Prototype->FillColor = $this->BackColor; $_0nsr3wzm64q8mzge->SurfacePercentage = 8; $_0nsr3wzm64q8mzge->DrawFast($this->m_Graphics); } } class CirclesImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(0, 0, 0); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $_o80g2o4sfpmve1laejrehihc2t = new RandomCircles(); $_o80g2o4sfpmve1laejrehihc2t->Prototype->RadiusRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight() / 2); $_o80g2o4sfpmve1laejrehihc2t->SurfacePercentage = 50; $_o80g2o4sfpmve1laejrehihc2t->Bounds = $this->m_TextRenderer->Bounds; $this->m_TextRenderer->DrawInvertCombine($this->m_Graphics, $_o80g2o4sfpmve1laejrehihc2t, $this->TextColor, $this->BackColor); } } class CollageImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LineColor() { if (array_key_exists("\154\151\x6e\145\103\x6f\154\157\x72", $this->m_Colors)) { return $this->m_Colors["\x6c\151\156\x65\x43\x6f\x6c\x6f\162"]; } } protected function set_LineColor(Color $_iezf7rvgyj91i7tse1vz1z4bcu) { $this->m_Colors["\x6c\x69\156\145\x43\x6f\154\x6f\x72"] = $_iezf7rvgyj91i7tse1vz1z4bcu; } protected function InitColors() { $this->BackColor = Color::BetweenRgb(225, 225, 225)->AndRgb(255, 255, 255)->Frozen; $this->TextColor = Color::Rgb(0, 0, 0); $this->LineColor = Color::BetweenRgb(75, 75, 75)->AndRgb(245, 245, 245); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50)->Frozen; } if (!is_null($this->m_CustomDarkColor)) { $this->LineColor = Color::Randomized($this->m_CustomDarkColor, 120); $this->TextColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_oih6mjnl74m3ib3d = new RandomLines(); $_oih6mjnl74m3ib3d->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 8, $this->LineColor) ); $_oih6mjnl74m3ib3d->SurfacePercentage = 200; $_oih6mjnl74m3ib3d->Draw($this->m_Graphics); } protected function DrawText() { $this->m_TextRenderer->DrawTransparent($this->m_Graphics, $this->BackColor, 70); } } class CorrosionImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(192, 192, 192); $this->TextColor = Color::Rgb(165, 45, 0); } protected function DrawEffects() { parent::DrawEffects(); $_Og6er2xz7zr7zg20xqfddc1wug = $this->m_TextRenderer->Bounds; $_Oa4mnkfbze3wkpd9 = RandomizationHelper::RandomFromRange($_Og6er2xz7zr7zg20xqfddc1wug->Height / 15, $_Og6er2xz7zr7zg20xqfddc1wug->Height / 10); $_1zbjyv48g5psz43d = Line::Between( Point::BetweenAt($_Og6er2xz7zr7zg20xqfddc1wug->TopLeft->X, $_Og6er2xz7zr7zg20xqfddc1wug->TopLeft->Y)->AndAt($_Og6er2xz7zr7zg20xqfddc1wug->TopLeft->X + $_Og6er2xz7zr7zg20xqfddc1wug->Height, $_Og6er2xz7zr7zg20xqfddc1wug->TopLeft->Y + $_Og6er2xz7zr7zg20xqfddc1wug->Height), Point::BetweenAt($_Og6er2xz7zr7zg20xqfddc1wug->BottomRight->X - $_Og6er2xz7zr7zg20xqfddc1wug->Height, $_Og6er2xz7zr7zg20xqfddc1wug->BottomRight->Y - $_Og6er2xz7zr7zg20xqfddc1wug->Height)->AndAt($_Og6er2xz7zr7zg20xqfddc1wug->BottomRight->X, $_Og6er2xz7zr7zg20xqfddc1wug->BottomRight->Y), LineStyle::Single( LineLayer::Solid($_Oa4mnkfbze3wkpd9, $this->TextColor) ) ); $_1zbjyv48g5psz43d->Draw($this->m_Graphics); $_035dbjpj8947dqxzysrx0txhuo = new VerticalLines(); $_035dbjpj8947dqxzysrx0txhuo->Bounds = $this->m_TextRenderer->Bounds; $_035dbjpj8947dqxzysrx0txhuo->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 2, 2 * $this->m_Graphics->GetHeight() / 3); $_035dbjpj8947dqxzysrx0txhuo->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); $_035dbjpj8947dqxzysrx0txhuo->Draw($this->m_Graphics); $_Id43y7rinamooaib = new RandomCircles(); $_Id43y7rinamooaib->Bounds = $this->m_TextRenderer->Bounds; $_Id43y7rinamooaib->Prototype->FillColor = $this->TextColor; $_Id43y7rinamooaib->Prototype->Radius = max(1, $this->m_Graphics->GetHeight() / 20); $_Id43y7rinamooaib->SurfacePercentage = 1; $_Id43y7rinamooaib->DrawFast($this->m_Graphics); $_lfoubmi76i3m44637fj1zgozi0 = new RandomCircles(); $_lfoubmi76i3m44637fj1zgozi0->Bounds = $this->m_TextRenderer->Bounds; $_lfoubmi76i3m44637fj1zgozi0->Prototype->FillColor = $this->BackColor; $_lfoubmi76i3m44637fj1zgozi0->Prototype->Radius = max(1, $this->m_Graphics->GetHeight() / 20); $_lfoubmi76i3m44637fj1zgozi0->SurfacePercentage = 1; $_lfoubmi76i3m44637fj1zgozi0->DrawFast($this->m_Graphics); $_ikzp1z36z9y1lulg = new RandomBeziers(); $_ikzp1z36z9y1lulg->Bounds = $this->m_TextRenderer->Bounds; $_ikzp1z36z9y1lulg->ScalingPercentage = 30; $_ikzp1z36z9y1lulg->SurfacePercentage = 10; $_ikzp1z36z9y1lulg->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); $_ikzp1z36z9y1lulg->DrawFast($this->m_Graphics); } } class CrossShadowImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_ShadowColor() { if (array_key_exists("\x73\150\x61\144\157\x77\x43\x6f\x6c\157\162", $this->m_Colors)) { return $this->m_Colors["\163\150\x61\x64\x6f\167\x43\x6f\x6c\x6f\x72"]; } } protected function set_ShadowColor(Color $_14d82mqhku1u2ww9) { $this->m_Colors["\163\x68\x61\144\x6f\167\103\157\154\x6f\x72"] = $_14d82mqhku1u2ww9; } protected function InitColors() { $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(0, 0, 0); $this->ShadowColor = Color::Rgb(127, 127, 127); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; } if (!is_null($this->m_CustomLightColor) || !is_null($this->m_CustomDarkColor)) { $this->ShadowColor = Color::Median($this->BackColor, $this->TextColor); } } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Translation->xOffsetRange = new RandomRange(-10, 10); $this->m_Transform->Translation->yOffsetRange = new RandomRange(-10, 10); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $this->m_TextRenderer->DrawInvertCombine($this->m_Graphics, $this->m_TextRenderer, $this->TextColor, $this->BackColor); } } class CrossShadow2ImageGenerator extends CrossShadowImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::BetweenRgb(30, 30, 30)->AndRgb(100, 100, 100)->Frozen; $this->ShadowColor = $this->TextColor->Complement; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50)->Frozen; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100)->Frozen; } if (!is_null($this->m_CustomLightColor) || !is_null($this->m_CustomDarkColor)) { $this->ShadowColor = Color::Median($this->BackColor, $this->TextColor); } } } class CutImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->TextColor = Color::Rgb(0, 0, 0); $this->BackColor = Color::Rgb(220, 220, 220); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $_Iv4h6l4l21hwxsjx9ot7o = new RandomLines(); $_Iv4h6l4l21hwxsjx9ot7o->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); $_Iv4h6l4l21hwxsjx9ot7o->SurfacePercentage = 5; $_Iv4h6l4l21hwxsjx9ot7o->Bounds = $this->m_TextRenderer->Bounds; $this->m_TextRenderer->DrawInvertCombine($this->m_Graphics, $_Iv4h6l4l21hwxsjx9ot7o, $this->TextColor, $this->BackColor); } } class DartsImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(0, 0, 0)->AndRgb(80, 80, 80); $this->BackColor = $this->TextColor->Complement->Frozen; } protected function DrawBackground() { parent::DrawBackground(); $_04z8umuxd261fz3g = new ConcentricCircles(); $_04z8umuxd261fz3g->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->BackColor) ); $_04z8umuxd261fz3g->Prototype->Center = Point::Within($this->m_Graphics->GetBounds()); $_04z8umuxd261fz3g->Prototype->Center->Y += 2 * $this->m_Graphics->GetHeight(); $_04z8umuxd261fz3g->Spacing = $this->m_Graphics->GetHeight() / 3; $_04z8umuxd261fz3g->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_ou32pp2ctsutkyg2muf7c = new ConcentricCircles(); $_ou32pp2ctsutkyg2muf7c->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); $_ou32pp2ctsutkyg2muf7c->Spacing = 3; $_ou32pp2ctsutkyg2muf7c->Prototype->Center = $this->GetCenter(); $_ou32pp2ctsutkyg2muf7c->Draw($this->m_Graphics); } protected function GetCenter() { $_I6xcmhgmdxs8i4tlq653vtvkup = $this->m_Graphics->GetBounds()->TopLeft->X + $this->m_Graphics->GetWidth() / 3; $_ivl1zw4m3bh4v2s8uv14o = $this->m_Graphics->GetBounds()->BottomRight->X - $this->m_Graphics->GetWidth() / 3; $_lhuz3dj7ddq1kopd = $this->m_Graphics->GetBounds()->TopLeft->Y + $this->m_Graphics->GetHeight() / 3; $_ifznrhzh1mxuxz58 = $this->m_Graphics->GetBounds()->BottomRight->Y - $this->m_Graphics->GetHeight() / 3; return Point::BetweenAt($_I6xcmhgmdxs8i4tlq653vtvkup, $_lhuz3dj7ddq1kopd)->AndAt($_ivl1zw4m3bh4v2s8uv14o, $_ifznrhzh1mxuxz58)->Frozen; } } class DistortionImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function DrawEffects() { parent::DrawEffects(); $_lqdqxy9cmtqgybz8kx2jnupk5w = new RandomCircles(); $_lqdqxy9cmtqgybz8kx2jnupk5w->Prototype->FillColor = $this->TextColor; $_lqdqxy9cmtqgybz8kx2jnupk5w->Prototype->RadiusRange = new RandomRange(1, (int)round(0.2 * $this->m_Graphics->GetScalingFactor())); $_lqdqxy9cmtqgybz8kx2jnupk5w->SurfacePercentage = 5; $_lqdqxy9cmtqgybz8kx2jnupk5w->DrawFast($this->m_Graphics); $_Ihfzpysnr9vmtdrt = new Wave(); $_Ihfzpysnr9vmtdrt->Level = 3; $_Ihfzpysnr9vmtdrt->OverflowColor = $this->BackColor; $_Ihfzpysnr9vmtdrt->Apply($this->m_Graphics); } } class ElectricImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(175, 175, 175)->AndRgb(255, 255, 255)->Frozen; $this->BackColor = Color::Rgb(0, 0, 0); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); } protected function DrawBackground() { parent::DrawBackground(); $_1e204natrv0wypn61c7yc = new HorizontalLines(); $_1e204natrv0wypn61c7yc->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight() / 2); $_1e204natrv0wypn61c7yc->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->TextColor) ); $_1e204natrv0wypn61c7yc->Prototype->Transform->Rotation->Angle = RandomizationHelper::RandomFromRange(-5, 5); $_1e204natrv0wypn61c7yc->Draw($this->m_Graphics); $_07etjvoyptuafp22ocxzw171yb = new VerticalLines(); $_07etjvoyptuafp22ocxzw171yb->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight()); $_07etjvoyptuafp22ocxzw171yb->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->TextColor) ); $_07etjvoyptuafp22ocxzw171yb->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_lbdvr4c1h74jr56u1zonj = new Fuzz(); $_lbdvr4c1h74jr56u1zonj->Horizontal = false; $_lbdvr4c1h74jr56u1zonj->Vertical = true; $_lbdvr4c1h74jr56u1zonj->Level = 2; $_lbdvr4c1h74jr56u1zonj->Apply($this->m_Graphics); } } class FingerprintsImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::BetweenRgb(50, 50, 50)->AndRgb(150,150,150)->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100)->Frozen; } } protected function DrawEffects() { parent::DrawEffects(); $_1o9cq7axmzorslqfnney65oy4x = new RandomCircles(); $_1o9cq7axmzorslqfnney65oy4x->Prototype->FillColor = $this->TextColor; $_1o9cq7axmzorslqfnney65oy4x->Prototype->RadiusRange = new RandomRange(1, round(0.3 * $this->m_Graphics->GetScalingFactor())); $_1o9cq7axmzorslqfnney65oy4x->SurfacePercentage = 5; $_1o9cq7axmzorslqfnney65oy4x->DrawFast($this->m_Graphics); $_o6w29ho42tkrzj2w57fmx = new ConcentricCircles(); $_o6w29ho42tkrzj2w57fmx->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); $_o6w29ho42tkrzj2w57fmx->Spacing = 2; $_o6w29ho42tkrzj2w57fmx->Draw($this->m_Graphics); } } class FlashImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LineColor() { if (array_key_exists("\x6c\151\x6e\145\103\157\x6c\157\162", $this->m_Colors)) { return $this->m_Colors["\x6c\151\156\145\103\157\154\x6f\x72"]; } } protected function set_LineColor(Color $_1lhqhkvsscpy9n32) { $this->m_Colors["\154\x69\x6e\x65\x43\x6f\x6c\157\162"] = $_1lhqhkvsscpy9n32; } protected function InitColors() { $this->BackColor = Color::Rgb(255, 255, 220); $this->TextColor = Color::BetweenRgb(0, 0, 0)->AndRgb(150, 150, 150); $this->OutlineColor = $this->TextColor; $this->LineColor = Color::BetweenRgb(50, 50, 50)->AndRgb(200, 200, 200); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100); $this->LineColor = Color::Randomized(Color::SaturationAdjusted(Color::Lightened($this->m_CustomDarkColor, 150), 0.5), 100); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_03sdaestahl85abbjr9f0 = new HorizontalLines(); $_03sdaestahl85abbjr9f0->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight() / 2); $_03sdaestahl85abbjr9f0->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor) ); $_03sdaestahl85abbjr9f0->Prototype->Transform->Rotation->AngleRange = new RandomRange(-5, 5); $_03sdaestahl85abbjr9f0->Draw($this->m_Graphics); $_Isbrtll0bv3fd49p8ap3slrfbn = new VerticalLines(); $_Isbrtll0bv3fd49p8ap3slrfbn->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3 * 2, $this->m_Graphics->GetHeight()); $_Isbrtll0bv3fd49p8ap3slrfbn->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor) ); $_Isbrtll0bv3fd49p8ap3slrfbn->Prototype->Transform->Rotation->AngleRange = new RandomRange(-5, 5); $_Isbrtll0bv3fd49p8ap3slrfbn->Draw($this->m_Graphics); } } class GhostlyImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->TextColor = Color::BetweenRgb(200, 200, 200)->AndRgb(250, 250, 250)->Frozen; $this->BackColor = $this->TextColor->Complement; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected $m_GradientOutline; protected function InitTextRenderer() { parent::InitTextRenderer(); $this->InitGradientOutline(); $this->m_TextRenderer->Prototype->Outline = $this->m_GradientOutline; $this->m_TextRenderer->Prototype->FillColor = $this->BackColor; } protected function InitGradientOutline() { $this->m_GradientOutline = new LineStyle(); $_1c7cnq4jdatdz6kqvdk1g = floor($this->m_Graphics->GetHeight() / 5); for ($_1ej6akf769vdopbw = 0; $_1ej6akf769vdopbw < $_1c7cnq4jdatdz6kqvdk1g; $_1ej6akf769vdopbw++) { $_Oiuptbm98vs4sziq = $this->BackColor->R + (($this->TextColor->R - $this->BackColor->R) / $_1c7cnq4jdatdz6kqvdk1g) * ($_1c7cnq4jdatdz6kqvdk1g - $_1ej6akf769vdopbw); $_okhek08d1hzux5qo = $this->BackColor->G + (($this->TextColor->G - $this->BackColor->G) / $_1c7cnq4jdatdz6kqvdk1g) * ($_1c7cnq4jdatdz6kqvdk1g - $_1ej6akf769vdopbw); $_1fq7dwgpwbu9ifyenivmn5mwhn = $this->BackColor->B + (($this->TextColor->B - $this->BackColor->B) / $_1c7cnq4jdatdz6kqvdk1g) * ($_1c7cnq4jdatdz6kqvdk1g - $_1ej6akf769vdopbw); $this->m_GradientOutline[$_1ej6akf769vdopbw] = LineLayer::Solid(1, Color::Rgb($_Oiuptbm98vs4sziq, $_okhek08d1hzux5qo, $_1fq7dwgpwbu9ifyenivmn5mwhn)); } } protected function DrawBackground() { parent::DrawBackground(); $_1o3r6wkila8lzwru = new RandomCircles(); $_1o3r6wkila8lzwru->Prototype->FillColor = $this->BackColor; $_1o3r6wkila8lzwru->Prototype->Outline = $this->m_GradientOutline; $_1o3r6wkila8lzwru->Prototype->Radius = $this->m_Graphics->GetHeight() / 7; $_1o3r6wkila8lzwru->SurfacePercentage = 20; $_1o3r6wkila8lzwru->DrawFast($this->m_Graphics); } } class GraffitiImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected $m_Coin; protected function InitColors() { $this->m_Coin = RandomizationHelper::RandomFromRange(0, 3); switch ($this->m_Coin) { case 0: $this->TextColor = Color::BetweenRgb(80, 0, 0)->AndRgb(155, 0, 0)->Frozen; break; case 1: $this->TextColor = Color::BetweenRgb(0, 80, 0)->AndRgb(0, 155, 0)->Frozen; break; case 2: $this->TextColor = Color::BetweenRgb(0, 0, 80)->AndRgb(0, 0, 155)->Frozen; break; } $this->BackColor = Color::Rgb(255, 255, 255); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { switch ($this->m_Coin) { case 0: $this->TextColor = Color::RandomizedR($this->m_CustomDarkColor, 70)->Frozen; break; case 1: $this->TextColor = Color::RandomizedG($this->m_CustomDarkColor, 70)->Frozen; break; case 2: $this->TextColor = Color::RandomizedB($this->m_CustomDarkColor, 70)->Frozen; break; } } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 12, $this->BackColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentage = 105; $this->m_Transform->Translation->xOffset = $this->m_Graphics->GetWidth() / -(StringHelper::Length($this->m_Text) * 10); } protected function DrawBackground() { parent::DrawBackground(); $_ifwhwxjhpcu7lp65iurgxgkap4 = new RandomDots(); $_ifwhwxjhpcu7lp65iurgxgkap4->Prototype->FillColor = $this->TextColor; $_ifwhwxjhpcu7lp65iurgxgkap4->SurfacePercentage = 2; $_ifwhwxjhpcu7lp65iurgxgkap4->DrawFast($this->m_Graphics); } } class Graffiti2ImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected $m_Coin; protected function InitColors() { $this->m_Coin = RandomizationHelper::RandomFromRange(0, 3); switch ($this->m_Coin) { case 0: $this->OutlineColor = Color::BetweenRgb(80, 0, 0)->AndRgb(155, 0, 0); break; case 1: $this->OutlineColor = Color::BetweenRgb(0, 80, 0)->AndRgb(0, 155, 0); break; case 2: $this->OutlineColor = Color::BetweenRgb(0, 0, 80)->AndRgb(0, 0, 155); break; } $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = $this->BackColor; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { switch ($this->m_Coin) { case 0: $this->OutlineColor = Color::RandomizedR($this->m_CustomDarkColor, 70)->Frozen; break; case 1: $this->OutlineColor = Color::RandomizedG($this->m_CustomDarkColor, 70)->Frozen; break; case 2: $this->OutlineColor = Color::RandomizedB($this->m_CustomDarkColor, 70)->Frozen; break; } $this->TextColor = $this->BackColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->OutlineColor) ); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentage = 110; $this->m_Transform->Translation->xOffset = $this->m_Graphics->GetWidth() / -(StringHelper::Length($this->m_Text) * 10); } protected function DrawBackground() { parent::DrawBackground(); $_I5wfyvtgjl0b9nznlpridsssub = new RandomDots(); $_I5wfyvtgjl0b9nznlpridsssub->Prototype->FillColor = $this->OutlineColor; $_I5wfyvtgjl0b9nznlpridsssub->SurfacePercentage = 2; $_I5wfyvtgjl0b9nznlpridsssub->DrawFast($this->m_Graphics); } } class HaloImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = Color::Rgb(200, 210, 225); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $this->m_TextRenderer->DrawHalo($this->m_Graphics, $this->BackColor); } protected function DrawEffects() { $_lsgsxum29egd3wvdzdxxf6m3yb = new RandomDots(); $_lsgsxum29egd3wvdzdxxf6m3yb->m_Bounds = $this->m_TextRenderer->Bounds; $_lsgsxum29egd3wvdzdxxf6m3yb->Prototype->FillColor = $this->BackColor; $_lsgsxum29egd3wvdzdxxf6m3yb->SurfacePercentage = 1; $_lsgsxum29egd3wvdzdxxf6m3yb->DrawFast($this->m_Graphics); $_lpab83uyewcf3d2ypewhj = new RandomCircles(); $_lpab83uyewcf3d2ypewhj->Prototype->FillColor = $this->TextColor; $_lpab83uyewcf3d2ypewhj->Prototype->RadiusRange = new RandomRange(3, $this->m_Graphics->GetHeight() / 10 + 2); $_lpab83uyewcf3d2ypewhj->SurfacePercentage = 2; $_lpab83uyewcf3d2ypewhj->DrawFast($this->m_Graphics); } } class InBandagesImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(0, 0, 0)->AndRgb(100, 100, 100); $this->BackColor = $this->TextColor->Complement->Frozen; } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Double( LineLayer::Solid(max(2, $this->m_Graphics->GetHeight() / 20), $this->BackColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_06pehu73b7ew6igjwg83uxe2be = new HorizontalLines(); $_06pehu73b7ew6igjwg83uxe2be->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3, $this->m_Graphics->GetHeight() / 2); $_06pehu73b7ew6igjwg83uxe2be->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->BackColor), LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->TextColor) ); $_06pehu73b7ew6igjwg83uxe2be->Draw($this->m_Graphics); $_lbozbadwk60gn78n7y6cf = new RandomRectangles(); $_lbozbadwk60gn78n7y6cf->Prototype->FillColor = $this->BackColor; $_lbozbadwk60gn78n7y6cf->ScalingPercentage = 5; $_lbozbadwk60gn78n7y6cf->SurfacePercentage = 10; $_lbozbadwk60gn78n7y6cf->DrawFast($this->m_Graphics); } } class JailImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->OutlineColor = Color::Lightened($this->TextColor, 180); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; $this->OutlineColor = Color::Lightened($this->TextColor, 180); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->OutlineColor) ); } protected $m_Bars; protected function CustomInit() { $this->m_Bars = LineStyle::Double( LineLayer::Solid(max($this->m_Graphics->GetHeight() / 20, 1), $this->TextColor), LineLayer::Solid(max($this->m_Graphics->GetHeight() / 30, 1), $this->BackColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_Ibmcx0f333b45k52 = new Wave(); $_Ibmcx0f333b45k52->Level = 2; $_Ibmcx0f333b45k52->Apply($this->m_Graphics); $_lhrk2e6595s6l78v9wiptts94s = $this->m_Graphics->GetHeight(); $_04c5npvzuclfp5tg = new HorizontalLines(); $_04c5npvzuclfp5tg->SpacingRange = new RandomRange(3 * $_lhrk2e6595s6l78v9wiptts94s / 8 + 1, 4 * $_lhrk2e6595s6l78v9wiptts94s / 9 + 1); $_04c5npvzuclfp5tg->Prototype->Outline = $this->m_Bars; $_04c5npvzuclfp5tg->Draw($this->m_Graphics, $this->m_Graphics->GetBounds()); $_17beglng8lhlxdgwdngpy = new VerticalLines(); $_17beglng8lhlxdgwdngpy->SpacingRange = new RandomRange(3 * $_lhrk2e6595s6l78v9wiptts94s / 8 + 1, 4 * $_lhrk2e6595s6l78v9wiptts94s / 9 + 1); $_17beglng8lhlxdgwdngpy->Prototype->Outline = $this->m_Bars; $_17beglng8lhlxdgwdngpy->Draw($this->m_Graphics, $this->m_Graphics->GetBounds()); } } class LegoImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_BrickColor() { if (array_key_exists("\x62\x72\x69\x63\153\103\x6f\154\x6f\x72", $this->m_Colors)) { return $this->m_Colors["\x62\162\151\143\x6b\x43\x6f\x6c\x6f\162"]; } } protected function set_BrickColor(Color $_1shud3tejo49ixqc) { $this->m_Colors["\142\x72\151\143\x6b\x43\x6f\154\x6f\x72"] = $_1shud3tejo49ixqc; } protected function InitColors() { $this->TextColor = Color::Rgb(0, 0, 0); $this->BackColor = Color::Rgb(255, 255, 255); $this->BrickColor = Color::BetweenRgb(0, 0, 0)->AndRgb(230, 230, 230); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; $this->BrickColor = Color::Randomized($this->m_CustomDarkColor, 100); } } protected function DrawBackground() { parent::DrawBackground(); $_oqxrojsuvh9bi03cc3lzle75j8 = new RandomRectangles(); $_oqxrojsuvh9bi03cc3lzle75j8->Prototype->FillColor = $this->BrickColor; $_oqxrojsuvh9bi03cc3lzle75j8->Prototype->Transform->Rotation->AngleRange = new RandomRange(-20, 20); $_oqxrojsuvh9bi03cc3lzle75j8->ScalingPercentage = 15; $_oqxrojsuvh9bi03cc3lzle75j8->SurfacePercentage = 280; $_oqxrojsuvh9bi03cc3lzle75j8->DrawFast($this->m_Graphics); } protected function DrawText() { $this->m_TextRenderer->DrawTransparent($this->m_Graphics, $this->BackColor, 75); } } class MassImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LetterColor() { if (array_key_exists("\x6c\x65\x74\x74\145\x72\x43\x6f\x6c\157\x72", $this->m_Colors)) { return $this->m_Colors["\x6c\x65\164\x74\145\162\103\x6f\x6c\157\x72"]; } } protected function set_LetterColor(Color $_I45qwo7u0388tptk48vy2) { $this->m_Colors["\154\x65\164\164\x65\162\103\x6f\x6c\157\x72"] = $_I45qwo7u0388tptk48vy2; } protected function InitColors() { $this->BackColor = Color::Rgb(255, 255, 220); $this->TextColor = Color::BetweenRgb(0, 0, 0)->AndRgb(150, 150, 150); $this->LetterColor = Color::BetweenRgb(170, 170, 170)->AndRgb(250, 250, 250); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 75); $this->LetterColor = Color::Randomized(Color::SaturationAdjusted(Color::Lightened($this->m_CustomDarkColor, 150), 0.5), 75); } } protected $noiseGlyphs; protected function InitTextRenderer() { parent::InitTextRenderer(); $this->noiseGlyphs = new RandomGlyphs(); $this->noiseGlyphs->Fonts = $this->m_Fonts; $this->noiseGlyphs->Charset = $this->m_Localization->Charset; $this->noiseGlyphs->SourceString = $this->m_Text; $this->noiseGlyphs->Bounds = $this->m_TextRenderer->Bounds; $this->noiseGlyphs->Prototype->Transform = Transform::Identity(); $this->noiseGlyphs->Prototype->Transform->Rotation->AngleRange = new RandomRange(-30, 30); $this->noiseGlyphs->Prototype->Transform->Warp->WarpPercentageRange = new RandomRange(5, 20); } protected function DrawBackground() { parent::DrawBackground(); $this->noiseGlyphs->Prototype->FillColor = $this->TextColor; $this->noiseGlyphs->SurfacePercentage = 15; $this->noiseGlyphs->Draw($this->m_Graphics); $this->noiseGlyphs->Prototype->FillColor = $this->LetterColor; $this->noiseGlyphs->SurfacePercentage = 40; $this->noiseGlyphs->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $this->noiseGlyphs->Prototype->FillColor = $this->LetterColor; $this->noiseGlyphs->SurfacePercentage = 15; $this->noiseGlyphs->Draw($this->m_Graphics); } } class MeltingHeatImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(255, 100, 0)->AndRgb(255, 150, 0); $this->BackColor = Color::Rgb(0, 0, 0); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = Color::RandomizedR($this->m_CustomLightColor, 50); } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(97, 102); $this->m_Transform->Scaling->yScalingPercentageRange = new RandomRange(95, 105); $this->m_Transform->Rotation->AngleRange = new RandomRange(-3, 3); } protected function DrawText() { $this->m_TextRenderer->DrawHalo($this->m_Graphics, $this->BackColor); } protected function DrawEffects() { parent::DrawEffects(); $_1fhdqm6801d24pjethn8sbc7lu = new Wave(); $_1fhdqm6801d24pjethn8sbc7lu->Level = 2; $_1fhdqm6801d24pjethn8sbc7lu->OverflowColor = $this->BackColor; $_1fhdqm6801d24pjethn8sbc7lu->Apply($this->m_Graphics); } } class MeltingHeat2ImageGenerator extends MeltingHeatImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); } protected function DrawEffects() { $_16rk75gezre7z6skmxk00 = new RandomLines(); $_16rk75gezre7z6skmxk00->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); $_16rk75gezre7z6skmxk00->SurfacePercentage = 10; $_16rk75gezre7z6skmxk00->Bounds = $this->m_TextRenderer->Bounds; $_16rk75gezre7z6skmxk00->DrawFast($this->m_Graphics); $_0zjnqyiqv2gth8k9cszig = new Wave(); $_0zjnqyiqv2gth8k9cszig->Level = 2; $_0zjnqyiqv2gth8k9cszig->OverflowColor = $this->BackColor; $_0zjnqyiqv2gth8k9cszig->Apply($this->m_Graphics); } } class NegativeImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = Color::Rgb(255, 255, 255); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_i7ja3u7e7hysysca = new ConcentricCircles(); $_i7ja3u7e7hysysca->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->BackColor) ); $_i7ja3u7e7hysysca->Prototype->Center = Point::Within($this->m_Graphics->GetBounds()); $_i7ja3u7e7hysysca->Prototype->Center->Y += 2 * $this->m_Graphics->GetHeight(); $_i7ja3u7e7hysysca->Spacing = $this->m_Graphics->GetHeight() / 2; $_i7ja3u7e7hysysca->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_iffel19bu16igknw = new RandomDots(); $_iffel19bu16igknw->Prototype->FillColor = $this->TextColor; $_iffel19bu16igknw->SurfacePercentage = 3; $_iffel19bu16igknw->DrawFast($this->m_Graphics); $_Oafiji2eryg9q9thq58hoicnui = new RandomDots(); $_Oafiji2eryg9q9thq58hoicnui->Prototype->FillColor = $this->BackColor; $_Oafiji2eryg9q9thq58hoicnui->SurfacePercentage = 3; $_Oafiji2eryg9q9thq58hoicnui->DrawFast($this->m_Graphics); } } class NeonImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = Color::BetweenRgb(150, 155, 100)->AndRgb(255, 255, 255)->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->FillColor = $this->BackColor; $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); } protected function DrawBackground() { parent::DrawBackground(); $_1jxc0n7nxe2sih5fvbwqv = new RandomLines(); $_1jxc0n7nxe2sih5fvbwqv->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); $_1jxc0n7nxe2sih5fvbwqv->Prototype->Transform->Rotation->Angle = RandomizationHelper::RandomFromRange(-5, 5); $_1jxc0n7nxe2sih5fvbwqv->SurfacePercentage = 10; $_1jxc0n7nxe2sih5fvbwqv->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_Iwi7zp90n1zuxxd03dto1 = new Fuzz(); $_Iwi7zp90n1zuxxd03dto1->Horizontal = true; $_Iwi7zp90n1zuxxd03dto1->Vertical = false; $_Iwi7zp90n1zuxxd03dto1->Level = 1; $_Iwi7zp90n1zuxxd03dto1->Apply($this->m_Graphics); } } class Neon2ImageGenerator extends NeonImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Triple( LineLayer::Solid($this->m_Graphics->GetHeight() / 15 + 1, $this->TextColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->BackColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 15 + 1, $this->TextColor) ); } protected function DrawEffects() { $_ib1jxppqst6kaqzz = new Wave(); $_ib1jxppqst6kaqzz->OverflowColor = $this->BackColor; $_ib1jxppqst6kaqzz->Level = 2; $_ib1jxppqst6kaqzz->Apply($this->m_Graphics); } } class OverlapImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(255, 255, 255); $this->OutlineColor = Color::Rgb(0, 0, 0); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; $this->TextColor = $this->BackColor; } if (!is_null($this->m_CustomDarkColor)) { $this->OutlineColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->OutlineColor) ); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentage = 135; } } class Overlap2ImageGenerator extends OverlapImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentage = 120; } } class PaintMessImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::Rgb(200, 200, 50); $this->BackColor = Color::Rgb(120, 50, 30); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_Isovdsby0tq321qickntw = $this->m_TextRenderer->Bounds; $_o6o5lv5qpl0gbj3ewgq6a = RandomizationHelper::RandomFromRange(2, $_Isovdsby0tq321qickntw->Height / 12 + 1); $_Idu9nl6bi8215289c24rhspeov = Line::Between( Point::BetweenAt($_Isovdsby0tq321qickntw->TopLeft->X, $_Isovdsby0tq321qickntw->TopLeft->Y)->AndAt($_Isovdsby0tq321qickntw->TopLeft->X + $_Isovdsby0tq321qickntw->Height, $_Isovdsby0tq321qickntw->TopLeft->Y + $_Isovdsby0tq321qickntw->Height), Point::BetweenAt($_Isovdsby0tq321qickntw->BottomRight->X - $_Isovdsby0tq321qickntw->Height, $_Isovdsby0tq321qickntw->BottomRight->Y - $_Isovdsby0tq321qickntw->Height)->AndAt($_Isovdsby0tq321qickntw->BottomRight->X, $_Isovdsby0tq321qickntw->BottomRight->Y), LineStyle::Single(LineLayer::Solid($_o6o5lv5qpl0gbj3ewgq6a, $this->TextColor)) ); $_Idu9nl6bi8215289c24rhspeov->Draw($this->m_Graphics); $_ophxwpw97s7dtec341eg2zgun3 = new RandomCircles(); $_ophxwpw97s7dtec341eg2zgun3->Prototype->FillColor = $this->TextColor; $_ophxwpw97s7dtec341eg2zgun3->Prototype->RadiusRange = new RandomRange(2, $this->m_Graphics->GetHeight() / 12 + 1); $_ophxwpw97s7dtec341eg2zgun3->SurfacePercentage = 5; $_ophxwpw97s7dtec341eg2zgun3->DrawFast($this->m_Graphics); $_o6rovo6uajkusl0a95og8haklv = new Wave(); $_o6rovo6uajkusl0a95og8haklv->Level = 4; $_o6rovo6uajkusl0a95og8haklv->Apply($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_0hwax4x584zntynj2x021 = new RandomDots(); $_0hwax4x584zntynj2x021->Prototype->FillColor = $this->BackColor; $_0hwax4x584zntynj2x021->SurfacePercentage = 2; $_0hwax4x584zntynj2x021->DrawFast($this->m_Graphics); } } class RadarImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = $this->BackColor; $this->OutlineColor = Color::Rgb(170, 240, 45); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->OutlineColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; $this->TextColor = $this->BackColor; } } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentageRange = new RandomRange(92, 98); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 12, $this->OutlineColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_0jetyvcl8w3jp4ftlzv85fwnk9 = Point::Within($this->m_Graphics->GetBounds())->Frozen; $_0jetyvcl8w3jp4ftlzv85fwnk9->Y += 2 * $this->m_Graphics->GetHeight(); $_obnifdkw4csraj3eq4k9bznc52 = new ConcentricCircles(); $_obnifdkw4csraj3eq4k9bznc52->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->OutlineColor) ); $_obnifdkw4csraj3eq4k9bznc52->Spacing = 6; $_obnifdkw4csraj3eq4k9bznc52->Prototype->Center = $_0jetyvcl8w3jp4ftlzv85fwnk9; $_obnifdkw4csraj3eq4k9bznc52->Draw($this->m_Graphics); $_i8lpzhl9ss2vxfojya20tbkcui = new ConcentricCircles(); $_i8lpzhl9ss2vxfojya20tbkcui->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->OutlineColor) ); $_i8lpzhl9ss2vxfojya20tbkcui->Spacing = 48; $_i8lpzhl9ss2vxfojya20tbkcui->Prototype->Center = $_0jetyvcl8w3jp4ftlzv85fwnk9; $_i8lpzhl9ss2vxfojya20tbkcui->Draw($this->m_Graphics); $_i97llbba2wzbutb4fh8wx38icb = new SpokeLines(); $_i97llbba2wzbutb4fh8wx38icb->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->OutlineColor) ); $_i97llbba2wzbutb4fh8wx38icb->AngleDelta = RandomizationHelper::RandomFromRange(10, 15); $_i97llbba2wzbutb4fh8wx38icb->Center = $_0jetyvcl8w3jp4ftlzv85fwnk9; $_i97llbba2wzbutb4fh8wx38icb->Draw($this->m_Graphics); $_1slvp8prj1o712jflyueo = new Wave(); $_1slvp8prj1o712jflyueo->Level = 2; $_1slvp8prj1o712jflyueo->Apply($this->m_Graphics); } } class RippleImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected $m_Outline; protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(0, 0, 0)->AndRgb(60, 60, 60)->Frozen; $this->BackColor = $this->TextColor->Complement->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->InitGradientOutline(); $this->m_TextRenderer->Prototype->FillColor = $this->BackColor; $this->m_TextRenderer->Prototype->Transform->Scaling->xScalingPercentage = 90; } protected function InitGradientOutline() { $this->m_Outline = new LineStyle(); $_Izajw82re0cmc79g = 4; for ($_O9ldwkwvd5pn7z7ij2903 = 0; $_O9ldwkwvd5pn7z7ij2903 < $_Izajw82re0cmc79g; $_O9ldwkwvd5pn7z7ij2903++) { $_Ortkvlzsiqcyaxjggi2fyn87ra = $this->BackColor->R + (($this->TextColor->R - $this->BackColor->R) / $_Izajw82re0cmc79g) * ($_Izajw82re0cmc79g - $_O9ldwkwvd5pn7z7ij2903); $_Iapjwnyazl9b45jpostc6 = $this->BackColor->G + (($this->TextColor->G - $this->BackColor->G) / $_Izajw82re0cmc79g) * ($_Izajw82re0cmc79g - $_O9ldwkwvd5pn7z7ij2903); $_Ocx4p1rkiv3kqgp3tqvcz = $this->BackColor->B + (($this->TextColor->B - $this->BackColor->B) / $_Izajw82re0cmc79g) * ($_Izajw82re0cmc79g - $_O9ldwkwvd5pn7z7ij2903); $this->m_Outline[$_O9ldwkwvd5pn7z7ij2903] = LineLayer::Solid( $this->m_Graphics->GetHeight() / 20, Color::Rgb($_Ortkvlzsiqcyaxjggi2fyn87ra, $_Iapjwnyazl9b45jpostc6, $_Ocx4p1rkiv3kqgp3tqvcz) ); } } protected function DrawBackground() { parent::DrawBackground(); $_07h4l6ac0q090p5a = new HorizontalLines(); $_07h4l6ac0q090p5a->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 6, $this->m_Graphics->GetHeight() / 4); $_07h4l6ac0q090p5a->Prototype->Outline = $this->m_Outline; $_07h4l6ac0q090p5a->Draw($this->m_Graphics); $_lz6kme6q0oi9hwscuo1r1afg05 = new Wave(); $_lz6kme6q0oi9hwscuo1r1afg05->Level = RandomizationHelper::RandomFromRange(3, 6); $_lz6kme6q0oi9hwscuo1r1afg05->OverflowColor = $this->BackColor; $_lz6kme6q0oi9hwscuo1r1afg05->Apply($this->m_Graphics); } } class Ripple2ImageGenerator extends RippleImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(00, 100, 100)->AndRgb(200, 200, 200); $this->BackColor = Color::Rgb(0, 0, 0); } protected function InitGradientOutline() { $this->m_Outline = new LineStyle(); $_l58zkn5qdy2wz3wpy9o6n = 3; for ($_145z0qvug2y5vyjj = 0; $_145z0qvug2y5vyjj < $_l58zkn5qdy2wz3wpy9o6n; $_145z0qvug2y5vyjj++) { $this->m_Outline[$_145z0qvug2y5vyjj] = LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor); } } } class RoughImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(180, 180, 180); $this->OutlineColor = Color::Rgb(60, 60, 60); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; $this->OutlineColor = Color::Darkened($this->m_CustomDarkColor, 50); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->OutlineColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_ok1tz2utls0gdcpstnksdpe9ua = new RandomCircles(); $_ok1tz2utls0gdcpstnksdpe9ua->Bounds = $this->m_TextRenderer->Bounds; $_ok1tz2utls0gdcpstnksdpe9ua->Prototype->Radius = 2; $_ok1tz2utls0gdcpstnksdpe9ua->Prototype->FillColor = $this->TextColor; $_ok1tz2utls0gdcpstnksdpe9ua->SurfacePercentage = 6; $_ok1tz2utls0gdcpstnksdpe9ua->DrawFast($this->m_Graphics); $_Okw2otyqwship1g7 = new RandomCircles(); $_Okw2otyqwship1g7->Bounds = $this->m_TextRenderer->Bounds; $_Okw2otyqwship1g7->Prototype->Radius = 2; $_Okw2otyqwship1g7->Prototype->FillColor = $this->BackColor; $_Okw2otyqwship1g7->SurfacePercentage = 6; $_Okw2otyqwship1g7->DrawFast($this->m_Graphics); $_Io62kbtgln39fxf0q8uenu4w94 = new RandomBeziers(); $_Io62kbtgln39fxf0q8uenu4w94->Bounds = $this->m_TextRenderer->Bounds; $_Io62kbtgln39fxf0q8uenu4w94->ScalingPercentage = 8; $_Io62kbtgln39fxf0q8uenu4w94->SurfacePercentage = 5; $_Io62kbtgln39fxf0q8uenu4w94->Prototype->Outline = LineStyle::Single(LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor)); $_Io62kbtgln39fxf0q8uenu4w94->DrawFast($this->m_Graphics); $_l334vl7aa4kbazqv = new RandomBeziers(); $_l334vl7aa4kbazqv->Bounds = $this->m_TextRenderer->Bounds; $_l334vl7aa4kbazqv->ScalingPercentage = 8; $_l334vl7aa4kbazqv->SurfacePercentage = 5; $_l334vl7aa4kbazqv->Prototype->Outline = LineStyle::Single(LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->BackColor)); $_l334vl7aa4kbazqv->DrawFast($this->m_Graphics); } } class SnowImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_NoiseColor() { if (array_key_exists("\156\x6f\151\x73\145\x43\157\154\x6f\162", $this->m_Colors)) { return $this->m_Colors["\156\157\x69\163\x65\103\157\154\157\x72"]; } } protected function set_NoiseColor(Color $_It7blbdkpgjihzi2q4xcxw96gh) { $this->m_Colors["\156\157\x69\x73\x65\103\157\154\x6f\x72"] = $_It7blbdkpgjihzi2q4xcxw96gh; } protected function get_ForeColor() { if (array_key_exists("\146\x6f\x72\145\x43\157\x6c\x6f\162", $this->m_Colors)) { return $this->m_Colors["\146\157\162\145\x43\157\154\x6f\162"]; } } protected function set_ForeColor(Color $_i9amyb79a4giesbia4eo0qj010) { $this->m_Colors["\x66\157\x72\145\x43\157\154\x6f\x72"] = $_i9amyb79a4giesbia4eo0qj010; } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::Rgb(35, 38, 45); $this->BackColor = Color::Rgb(245, 248, 255); $this->ForeColor = Color::Rgb(200, 203, 210); $this->NoiseColor = Color::Rgb(100, 103, 110); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; $this->ForeColor = Color::Darkened($this->m_CustomLightColor, 85); } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; $this->NoiseColor = Color::Lightened($this->m_CustomDarkColor, 200); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->FillColor = $this->BackColor; $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); } protected function DrawBackground() { parent::DrawBackground(); $_15a2569zp1qdw7fb = new HorizontalLines(); $_15a2569zp1qdw7fb->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight() / 2 + 1); $_15a2569zp1qdw7fb->Prototype->Outline = LineStyle::Double( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->TextColor), LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->NoiseColor) ); $_15a2569zp1qdw7fb->Prototype->Transform = Transform::Identity(); $_15a2569zp1qdw7fb->Prototype->Transform->Rotation->AngleRange = new RandomRange(15, 35); $_15a2569zp1qdw7fb->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_ontbw7bdquq9cb6qh5c6q = new RandomDots(); $_ontbw7bdquq9cb6qh5c6q->Prototype->FillColor = $this->NoiseColor; $_ontbw7bdquq9cb6qh5c6q->SurfacePercentage = 2; $_ontbw7bdquq9cb6qh5c6q->DrawFast($this->m_Graphics); $_Ig7gz4zwtebopeh8 = new RandomCircles(); $_Ig7gz4zwtebopeh8->Bounds = $this->m_TextRenderer->Bounds; $_Ig7gz4zwtebopeh8->Prototype->FillColor = $this->NoiseColor; $_Ig7gz4zwtebopeh8->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 20 + 1); $_Ig7gz4zwtebopeh8->SurfacePercentage = 2; $_Ig7gz4zwtebopeh8->DrawFast($this->m_Graphics); $_iyi8c9p1o436ag5i = new RandomCircles(); $_iyi8c9p1o436ag5i->Bounds = $this->m_TextRenderer->Bounds; $_iyi8c9p1o436ag5i->Prototype->FillColor = $this->BackColor; $_iyi8c9p1o436ag5i->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 20 + 1); $_iyi8c9p1o436ag5i->SurfacePercentage = 10; $_iyi8c9p1o436ag5i->DrawFast($this->m_Graphics); } } class SpiderWebImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->TextColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_inep04lxyi98fe53j2ow5faz02 = Point::Within($this->m_Graphics->GetBounds())->Frozen; $_inep04lxyi98fe53j2ow5faz02->Y += 2 * $this->m_Graphics->GetHeight(); $_13bwxypyzin6ryyl3amycz9086 = new ConcentricCircles(); $_13bwxypyzin6ryyl3amycz9086->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); $_13bwxypyzin6ryyl3amycz9086->Spacing = 3; $_13bwxypyzin6ryyl3amycz9086->Prototype->Center = $_inep04lxyi98fe53j2ow5faz02; $_13bwxypyzin6ryyl3amycz9086->Draw($this->m_Graphics); $_1t1m7ib7w0vf40fh4f8n4w87j1 = new ConcentricCircles(); $_1t1m7ib7w0vf40fh4f8n4w87j1->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->TextColor) ); $_1t1m7ib7w0vf40fh4f8n4w87j1->Spacing = 12; $_1t1m7ib7w0vf40fh4f8n4w87j1->Prototype->Center = $_inep04lxyi98fe53j2ow5faz02; $_1t1m7ib7w0vf40fh4f8n4w87j1->Draw($this->m_Graphics); $_ovn13qnkdv7waor0w9lz0 = new ConcentricCircles(); $_ovn13qnkdv7waor0w9lz0->Prototype->Outline = LineStyle::Single( LineLayer::Solid(3, $this->TextColor) ); $_ovn13qnkdv7waor0w9lz0->Spacing = 48; $_ovn13qnkdv7waor0w9lz0->Prototype->Center = $_inep04lxyi98fe53j2ow5faz02; $_ovn13qnkdv7waor0w9lz0->Draw($this->m_Graphics); $_likzxpfeqsrxpsj3 = new SpokeLines(); $_likzxpfeqsrxpsj3->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); $_likzxpfeqsrxpsj3->AngleDelta = RandomizationHelper::RandomFromRange(6, 8); $_likzxpfeqsrxpsj3->Center = $_inep04lxyi98fe53j2ow5faz02; $_likzxpfeqsrxpsj3->Draw($this->m_Graphics); $_Opd8ckpw50i90jc55pbdcduw98 = new SpokeLines(); $_Opd8ckpw50i90jc55pbdcduw98->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->TextColor) ); $_Opd8ckpw50i90jc55pbdcduw98->AngleDelta = $_likzxpfeqsrxpsj3->AngleDelta * 3; $_Opd8ckpw50i90jc55pbdcduw98->Center = $_inep04lxyi98fe53j2ow5faz02; $_Opd8ckpw50i90jc55pbdcduw98->Draw($this->m_Graphics); } } class SpiderWeb2ImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Double( LineLayer::Solid(3, $this->BackColor), LineLayer::Solid(2, $this->TextColor) ); } protected function DrawBackground() { parent::DrawBackground(); $this->m_Graphics->Fill($this->TextColor); $_1kyg58gok5j5w5sq = Point::Within($this->m_Graphics->GetBounds())->Frozen; $_1kyg58gok5j5w5sq->Y += 2 * $this->m_Graphics->GetHeight(); $_Ohw3rl3o991bvt8ltm16xtpe1q = new ConcentricCircles(); $_Ohw3rl3o991bvt8ltm16xtpe1q->Prototype->Outline = LineStyle::Triple( LineLayer::Solid(2, $this->BackColor), LineLayer::Solid(2, $this->TextColor), LineLayer::Solid(2, $this->BackColor) ); $_Ohw3rl3o991bvt8ltm16xtpe1q->Spacing = 11; $_Ohw3rl3o991bvt8ltm16xtpe1q->Prototype->Center = $_1kyg58gok5j5w5sq; $_Ohw3rl3o991bvt8ltm16xtpe1q->Draw($this->m_Graphics); $_l4nar8raudol93w2 = new SpokeLines(); $_l4nar8raudol93w2->Prototype->Outline = LineStyle::Triple( LineLayer::Solid(2, $this->TextColor), LineLayer::Solid(2, $this->BackColor), LineLayer::Solid(2, $this->TextColor) ); $_l4nar8raudol93w2->AngleDelta = RandomizationHelper::RandomFromRange(8, 10); $_l4nar8raudol93w2->Center = $_1kyg58gok5j5w5sq; $_l4nar8raudol93w2->Draw($this->m_Graphics); } } class SplitImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LineColor() { if(isset($this->m_Colors["\x6c\151\x6e\x65\103\157\x6c\157\x72"])) { return $this->m_Colors["\154\151\156\x65\x43\157\x6c\157\x72"]; } } protected function set_LineColor($_1nji4efzuhqtg4rf) { $this->m_Colors["\x6c\151\156\x65\x43\x6f\x6c\157\x72"] = $_1nji4efzuhqtg4rf; } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(210, 210, 210); $this->TextColor = Color::Rgb(0, 0, 0); $this->LineColor = Color::Rgb(255, 255, 255); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; $this->LineColor = Color::Lightened($this->m_CustomLightColor, 133); } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_Igubo6fhdvfvpkom = new HorizontalLines(); $_Igubo6fhdvfvpkom->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4, $this->m_Graphics->GetHeight() / 3); $_Igubo6fhdvfvpkom->Prototype->Outline = LineStyle::Single(LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor)); $_Igubo6fhdvfvpkom->Draw($this->m_Graphics, $this->m_Graphics->GetBounds()); $_lxex52bei1dycaoua7f1iqz8zl = new VerticalLines(); $_lxex52bei1dycaoua7f1iqz8zl->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3, $this->m_Graphics->GetHeight() / 2); $_lxex52bei1dycaoua7f1iqz8zl->Prototype->Outline = LineStyle::Single(LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor)); $_lxex52bei1dycaoua7f1iqz8zl->Draw($this->m_Graphics, $this->m_Graphics->GetBounds()); } } class Split2ImageGenerator extends SplitImageGenerator { public function __construct() { parent::__construct(); } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Double( LineLayer::Solid(2, $this->BackColor), LineLayer::Solid(3, $this->TextColor) ); } } class StitchImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::Rgb(255, 255, 255); $this->OutlineColor = Color::Rgb(0, 0, 0); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; $this->TextColor = $this->BackColor; } if (!is_null($this->m_CustomDarkColor)) { $this->OutlineColor = $this->m_CustomDarkColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid(2, $this->OutlineColor) ); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->xScalingPercentage = 105; $this->m_Transform->Translation->xOffset = $this->m_Graphics->GetWidth() / -(StringHelper::Length($this->m_Text) * 10); } protected function DrawEffects() { parent::DrawEffects(); $_o2okg99guxxjxiofc081vvu886 = new HorizontalLines(); $_o2okg99guxxjxiofc081vvu886->Spacing = 3; $_o2okg99guxxjxiofc081vvu886->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->BackColor)); $_o2okg99guxxjxiofc081vvu886->Draw($this->m_Graphics); $_1zsiu7704jjfii43 = new VerticalLines(); $_1zsiu7704jjfii43->Spacing = 3; $_1zsiu7704jjfii43->Prototype->Outline = LineStyle::Single(LineLayer::Solid(1, $this->BackColor)); $_1zsiu7704jjfii43->Draw($this->m_Graphics); } } class StrippyImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LineColor() { if (array_key_exists("\x6c\x69\x6e\x65\103\x6f\x6c\x6f\162", $this->m_Colors)) { return $this->m_Colors["\154\x69\x6e\x65\x43\x6f\x6c\157\x72"]; } } protected function set_LineColor(Color $_1ccr04x6f3zituan) { $this->m_Colors["\154\x69\x6e\x65\x43\157\154\x6f\162"] = $_1ccr04x6f3zituan; } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::BetweenRgb(200, 200, 200)->AndRgb(255, 255, 255)->Frozen; $this->TextColor = Color::Rgb(0, 0, 0); $this->LineColor = Color::BetweenRgb(80, 80, 80)->AndRgb(200, 200, 200); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50)->Frozen; } if (!is_null($this->m_CustomDarkColor)) { $this->LineColor = Color::Randomized($this->m_CustomDarkColor, 120); $this->TextColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_Ivudm7awkw48v5yd = new HorizontalLines(); $_Ivudm7awkw48v5yd->Spacing = $this->m_Graphics->GetHeight() / 9; $_Ivudm7awkw48v5yd->Prototype->Outline = LineStyle::Single( LineLayer::Solid($_Ivudm7awkw48v5yd->Spacing, $this->LineColor) ); $_Ivudm7awkw48v5yd->Draw($this->m_Graphics); } protected function DrawText() { $this->m_TextRenderer->DrawTransparent($this->m_Graphics, $this->BackColor, 60); } } class SunAndWarmAirImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_ForeColor() { if (array_key_exists("\146\157\x72\145\x43\157\154\x6f\x72", $this->m_Colors)) { return $this->m_Colors["\146\157\x72\145\103\x6f\154\157\162"]; } } protected function set_ForeColor(Color $_Inojpbpmn2vm2rl49j9dk) { $this->m_Colors["\x66\x6f\162\x65\103\157\x6c\157\x72"] = $_Inojpbpmn2vm2rl49j9dk; } protected function InitColors() { parent::InitColors(); $this->ForeColor = Color::Rgb(210, 213, 220); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; $this->ForeColor = Color::Darkened($this->m_CustomLightColor, 85); } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; } } protected function DrawBackground() { parent::DrawBackground(); $_oah15m62pr3h2k78fnz6pq1c9p = LineStyle::Single(LineLayer::Solid( $this->m_Graphics->GetHeight() / 15, $this->TextColor) ); $_lopgfv2yrkfiseo4 = min($this->m_Graphics->GetHeight(), $this->m_Graphics->GetWidth() / 5); $_O7mjy56kk1ggob0gilc4z = Circle::FromCenterAndRadius( $this->m_Graphics->GetBounds()->Center, $_lopgfv2yrkfiseo4 * RandomizationHelper::RandomFromRange(6, 12) / 10 ); $_O7mjy56kk1ggob0gilc4z->Outline = $_oah15m62pr3h2k78fnz6pq1c9p; $_O7mjy56kk1ggob0gilc4z->FillColor = $this->ForeColor; $_O7mjy56kk1ggob0gilc4z->Draw($this->m_Graphics); $_i8yhd1i9i7pqia0yhds70rtwhv = Circle::FromCenterAndRadius( $this->m_Graphics->GetBounds()->TopRight, $_lopgfv2yrkfiseo4 * RandomizationHelper::RandomFromRange(6, 15) / 10 ); $_i8yhd1i9i7pqia0yhds70rtwhv->Outline = $_oah15m62pr3h2k78fnz6pq1c9p; $_i8yhd1i9i7pqia0yhds70rtwhv->FillColor = $this->ForeColor; $_i8yhd1i9i7pqia0yhds70rtwhv->Draw($this->m_Graphics); $_Ix7nusy063rmpr91 = Circle::FromCenterAndRadius( $this->m_Graphics->GetBounds()->BottomLeft, $_lopgfv2yrkfiseo4 * RandomizationHelper::RandomFromRange(6, 15) / 10 ); $_Ix7nusy063rmpr91->Outline = $_oah15m62pr3h2k78fnz6pq1c9p; $_Ix7nusy063rmpr91->FillColor = $this->ForeColor; $_Ix7nusy063rmpr91->Draw($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_Ohed1z4eduzn6x7b4rbhm9na6w = new ConcentricCircles(); $_Ohed1z4eduzn6x7b4rbhm9na6w->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->BackColor) ); $_Ohed1z4eduzn6x7b4rbhm9na6w->Spacing = 2; $_Ohed1z4eduzn6x7b4rbhm9na6w->Draw($this->m_Graphics); $_lovq2xn51wlr8l59 = new RandomDots(); $_lovq2xn51wlr8l59->Prototype->FillColor = $this->TextColor; $_lovq2xn51wlr8l59->SurfacePercentage = 2; $_lovq2xn51wlr8l59->DrawFast($this->m_Graphics); } } class SunraysImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->TextColor = Color::Rgb(50, 50, 50); $this->BackColor = $this->TextColor->Complement; } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform = Transform::Identity(); } protected function DrawText() { $_Osndoznfb7tny5518jl4q = $this->m_Graphics->GetBounds(); $_1gbbae5z4ymd2edsyx1vc = $this->m_Graphics->GetWidth(); $_Ofovgvmu13d1pxgr = $this->m_Graphics->GetHeight(); $_0xu6d41r5n3qj2ouamllpgq5kc = $_Osndoznfb7tny5518jl4q->TopLeft->X + $_1gbbae5z4ymd2edsyx1vc / 3; $_Oci29fnb2m6qlp4z5gnvpyslgy = $_Osndoznfb7tny5518jl4q->BottomRight->X - $_1gbbae5z4ymd2edsyx1vc / 3; $_1hdrvicqsfffd9i2 = $_Osndoznfb7tny5518jl4q->TopLeft->Y + $_Ofovgvmu13d1pxgr / 3; $_iv8i4jd9ye5fkddquih16 = $_Osndoznfb7tny5518jl4q->BottomRight->Y - $_Ofovgvmu13d1pxgr / 3; $_i6s74yytw71n6a2i = Point::BetweenAt($_0xu6d41r5n3qj2ouamllpgq5kc, $_1hdrvicqsfffd9i2)->AndAt($_Oci29fnb2m6qlp4z5gnvpyslgy, $_iv8i4jd9ye5fkddquih16)->Frozen; $_0japuqti6tenanuy = Circle::FromCenterAndRadius($_i6s74yytw71n6a2i, 4 * $_Ofovgvmu13d1pxgr / 3); $_ou9o3gvio1hpo1bv = new SpokeLines(); $_ou9o3gvio1hpo1bv->Center = $_0japuqti6tenanuy->Center; $_ou9o3gvio1hpo1bv->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); $this->m_TextRenderer->DrawInvertCombine($this->m_Graphics, array($_0japuqti6tenanuy, $_ou9o3gvio1hpo1bv), $this->TextColor, $this->BackColor); } } class Sunrays2ImageGenerator extends SunraysImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->TextColor = Color::BetweenRgb(25, 25, 25)->AndRgb(125, 125, 125)->Frozen; $this->BackColor = Color::BetweenRgb(180, 180, 180)->AndRgb(230, 230, 205)->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50); } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100)->Frozen; } } } class ThickThinLinesImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function get_LineColor() { if (array_key_exists("\154\x69\156\x65\x43\x6f\154\157\162", $this->m_Colors)) { return $this->m_Colors["\x6c\x69\156\145\103\157\x6c\x6f\x72"]; } } protected function set_LineColor(Color $_1fqct01txkuz3zum60ho9) { $this->m_Colors["\x6c\151\156\x65\x43\x6f\x6c\157\162"] = $_1fqct01txkuz3zum60ho9; } protected $m_Coin; protected function InitColors() { $this->m_Coin = RandomizationHelper::RandomFromRange(0, 3); switch ($this->m_Coin) { case 0: $this->TextColor = Color::BetweenRgb(50, 0, 0)->AndRgb(130, 0, 0); $this->LineColor = Color::BetweenRgb(80, 0, 0)->AndRgb(255, 0, 0); break; case 1: $this->TextColor = Color::BetweenRgb(0, 50, 0)->AndRgb(0, 130, 0); $this->LineColor = Color::BetweenRgb(0, 80, 0)->AndRgb(0, 255, 0); break; case 2: $this->TextColor = Color::BetweenRgb(0, 0, 50)->AndRgb(0, 0, 130); $this->LineColor = Color::BetweenRgb(0, 0, 80)->AndRgb(0, 0, 255); break; } $this->BackColor = Color::Rgb(255, 255, 255); $this->OutlineColor = $this->TextColor; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { switch ($this->m_Coin) { case 0: $this->TextColor = Color::RandomizedR($this->m_CustomDarkColor, 70); $this->LineColor = Color::RandomizedR($this->m_CustomDarkColor, 150); break; case 1: $this->TextColor = Color::RandomizedG($this->m_CustomDarkColor, 70); $this->LineColor = Color::RandomizedG($this->m_CustomDarkColor, 150); break; case 2: $this->TextColor = Color::RandomizedB($this->m_CustomDarkColor, 70); $this->LineColor = Color::RandomizedB($this->m_CustomDarkColor, 150); break; } $this->OutlineColor = $this->TextColor; } } protected function DrawBackground() { parent::DrawBackground(); $_I19n0su9102yc683buftl = new RandomLines(); $_I19n0su9102yc683buftl->Bounds = $this->m_TextRenderer->Bounds; $_I19n0su9102yc683buftl->Prototype->Outline = LineStyle::Triple( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor), LineLayer::Solid(1, $this->BackColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->LineColor) ); $_I19n0su9102yc683buftl->SurfacePercentage = 15; $_I19n0su9102yc683buftl->DrawFast($this->m_Graphics); } protected function DrawEffects() { parent::DrawEffects(); $_in96jrqmxi6p7d5d9o25qc74w1 = new HorizontalLines(); $_in96jrqmxi6p7d5d9o25qc74w1->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 4 + 1, $this->m_Graphics->GetHeight() / 3 + 1); $_in96jrqmxi6p7d5d9o25qc74w1->Prototype->Outline = LineStyle::Double( LineLayer::Solid(1, $this->LineColor), LineLayer::Solid(1, $this->LineColor) ); $_in96jrqmxi6p7d5d9o25qc74w1->Prototype->Transform = Transform::Identity(); $_in96jrqmxi6p7d5d9o25qc74w1->Prototype->Transform->Rotation->AngleRange = new RandomRange(-15, 15); $_in96jrqmxi6p7d5d9o25qc74w1->Draw($this->m_Graphics); $_ljajdrp6zxd4w6vn = new VerticalLines(); $_ljajdrp6zxd4w6vn->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 3 + 1, $this->m_Graphics->GetHeight() / 2 + 1); $_ljajdrp6zxd4w6vn->Prototype->Outline = LineStyle::Double( LineLayer::Solid(1, $this->LineColor), LineLayer::Solid(1, $this->LineColor) ); $_ljajdrp6zxd4w6vn->Prototype->Transform = Transform::Identity(); $_ljajdrp6zxd4w6vn->Prototype->Transform->Rotation->AngleRange = new RandomRange(-15, 15); $_ljajdrp6zxd4w6vn->Draw($this->m_Graphics); } } class ThickThinLines2ImageGenerator extends ThickThinLinesImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(255, 255, 255); $this->TextColor = Color::BetweenRgb(50, 50, 50)->AndRgb(180, 180, 180); $this->LineColor = Color::BetweenRgb(55, 55, 55)->AndRgb(255, 255, 255); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 70); $this->OutlineColor = $this->TextColor; $this->LineColor = Color::Randomized($this->m_CustomDarkColor, 150); } } } class ThinWavyLettersImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::Rgb(0, 0, 0); $this->TextColor = Color::Rgb(0, 0, 0); $this->OutlineColor = Color::Rgb(172, 255, 47); } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->OutlineColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; $this->TextColor = $this->BackColor; } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->OutlineColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_Oe6q0ab8x3klws2k9gwaq = new ConcentricCircles(); $_Oe6q0ab8x3klws2k9gwaq->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->OutlineColor) ); $_Oe6q0ab8x3klws2k9gwaq->Prototype->Center = Point::Within($this->m_Graphics->GetBounds()); $_Oe6q0ab8x3klws2k9gwaq->Prototype->Center->Y += 2 * $this->m_Graphics->GetHeight(); $_Oe6q0ab8x3klws2k9gwaq->Spacing = $this->m_Graphics->GetHeight() / 2; $_Oe6q0ab8x3klws2k9gwaq->Draw($this->m_Graphics); $_im8vj1ja816vhrb8 = new Wave(); $_im8vj1ja816vhrb8->Level = 2; $_im8vj1ja816vhrb8->OverflowColor = $this->BackColor; $_im8vj1ja816vhrb8->Apply($this->m_Graphics); } } class VertigoImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->BackColor = Color::BetweenRgb(175, 175, 175)->AndRgb(255, 255, 255)->Frozen; $this->TextColor = Color::BetweenRgb(35, 35, 35)->AndRgb(135, 135, 135); $this->OutlineColor = $this->TextColor; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50); } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = Color::Randomized($this->m_CustomDarkColor, 100); $this->OutlineColor = $this->TextColor; } } protected function DrawEffects() { parent::DrawEffects(); $_Oq18i3na29baov2fxpq1cym16g = new VerticalLines(); $_Oq18i3na29baov2fxpq1cym16g->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 2, $this->m_Graphics->GetHeight() * 3 / 2); $_Oq18i3na29baov2fxpq1cym16g->Prototype->Transform->Rotation->AngleRange = new RandomRange(-10, 10); $_Oq18i3na29baov2fxpq1cym16g->Prototype->Transform->Scaling->xScalingPercentageRange = new RandomRange(100, 120); $_Oq18i3na29baov2fxpq1cym16g->Prototype->Transform->Scaling->yScalingPercentageRange = new RandomRange(80, 100); $_Oq18i3na29baov2fxpq1cym16g->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->TextColor) ); $_Oq18i3na29baov2fxpq1cym16g->Draw($this->m_Graphics); $_l2wn9pwj8ydb24n9kmrwutia1p = new VerticalLines(); $_l2wn9pwj8ydb24n9kmrwutia1p->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 2, $this->m_Graphics->GetHeight() * 3 / 2); $_l2wn9pwj8ydb24n9kmrwutia1p->Prototype->Transform->Rotation->AngleRange = new RandomRange(-30, 30); $_l2wn9pwj8ydb24n9kmrwutia1p->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 20, $this->TextColor) ); $_l2wn9pwj8ydb24n9kmrwutia1p->Draw($this->m_Graphics); $_Owacii5w8e16huyk = new ConcentricCircles(); $_Owacii5w8e16huyk->Prototype->Outline = LineStyle::Single( LineLayer::Solid(max(1, $this->m_Graphics->GetHeight() / 30), $this->BackColor) ); $_Owacii5w8e16huyk->Prototype->Center = Point::Within($this->m_Graphics->GetBounds())->Frozen; $_Owacii5w8e16huyk->Prototype->Center->Y += $this->m_Graphics->GetHeight(); $_Owacii5w8e16huyk->Spacing = max(1, $this->m_Graphics->GetHeight() / 30) + 2; $_Owacii5w8e16huyk->Draw($this->m_Graphics); } } class WantedCircularImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { $this->TextColor = Color::Rgb(0, 0, 0); $this->BackColor = Color::Rgb(220, 220, 220); } protected function DrawEffects() { parent::DrawEffects(); $_I7d1ul2dz7y7xzd15uox981yqs = new RandomGlyphs(); $_I7d1ul2dz7y7xzd15uox981yqs->SourceString = "\44"; $_I7d1ul2dz7y7xzd15uox981yqs->Fonts = $this->m_Fonts; $_I7d1ul2dz7y7xzd15uox981yqs->Charset = $this->m_Localization->Charset; $_I7d1ul2dz7y7xzd15uox981yqs->Bounds = $this->m_TextRenderer->Bounds; $_I7d1ul2dz7y7xzd15uox981yqs->Prototype->Transform = Transform::Identity(); $_I7d1ul2dz7y7xzd15uox981yqs->Prototype->Transform->Rotation->AngleRange = new RandomRange(-5, 5); $_I7d1ul2dz7y7xzd15uox981yqs->Prototype->FillColor = $this->TextColor; $_I7d1ul2dz7y7xzd15uox981yqs->SurfacePercentage = 10; $_I7d1ul2dz7y7xzd15uox981yqs->Draw($this->m_Graphics); $_0xgdfl48rnk9d6t7fpjv0efsel = new RandomBeziers(); $_0xgdfl48rnk9d6t7fpjv0efsel->Bounds = $this->m_TextRenderer->Bounds; $_0xgdfl48rnk9d6t7fpjv0efsel->ScalingPercentage = 15; $_0xgdfl48rnk9d6t7fpjv0efsel->SurfacePercentage = 5; $_0xgdfl48rnk9d6t7fpjv0efsel->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); $_0xgdfl48rnk9d6t7fpjv0efsel->DrawFast($this->m_Graphics); $_0o6o46r8cv4ipgu7pojzv = new RandomDots(); $_0o6o46r8cv4ipgu7pojzv->Prototype->FillColor = $this->TextColor; $_0o6o46r8cv4ipgu7pojzv->SurfacePercentage = 3; $_0o6o46r8cv4ipgu7pojzv->DrawFast($this->m_Graphics); $_Oh4xjm8lj3mfsluptylks5kyqp = new RandomDots(); $_Oh4xjm8lj3mfsluptylks5kyqp->Prototype->FillColor = $this->BackColor; $_Oh4xjm8lj3mfsluptylks5kyqp->SurfacePercentage = 5; $_Oh4xjm8lj3mfsluptylks5kyqp->DrawFast($this->m_Graphics); } } class WaveImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitGlyphTransform() { parent::InitGlyphTransform(); $this->m_Transform->Scaling->yScalingPercentage = 110; $this->m_Transform->Translation->yOffset = $this->m_Graphics->GetHeight() / -20; } protected function DrawEffects() { parent::DrawEffects(); $_0l2naq49x9vggcnypq5do = RandomizationHelper::RandomFromRange(1, $this->m_Graphics->GetHeight() / 5); $_lcgvxkrr9z9zmtvwxhk92 = $this->m_Graphics->GetBounds(); $_lcgvxkrr9z9zmtvwxhk92->Outline = LineStyle::Single( LineLayer::Solid($_0l2naq49x9vggcnypq5do, $this->TextColor) ); $_lcgvxkrr9z9zmtvwxhk92->Draw($this->m_Graphics); $_036yyy89cqix1uqqry1mq = new HorizontalLines(); $_036yyy89cqix1uqqry1mq->SpacingRange = new RandomRange($this->m_Graphics->GetHeight() / 5, $this->m_Graphics->GetHeight() / 4); $_036yyy89cqix1uqqry1mq->Prototype->Outline = LineStyle::Single( LineLayer::Solid(1, $this->TextColor) ); $_036yyy89cqix1uqqry1mq->Draw($this->m_Graphics); $_1t20s45m4eem5u7e4buxa = new RandomDots(); $_1t20s45m4eem5u7e4buxa->Prototype->FillColor = $this->TextColor; $_1t20s45m4eem5u7e4buxa->SurfacePercentage = 3; $_1t20s45m4eem5u7e4buxa->DrawFast($this->m_Graphics); $_Ik3nivacrgec27gvbjn2m = new RandomCircles(); $_Ik3nivacrgec27gvbjn2m->Prototype->FillColor = $this->TextColor; $_Ik3nivacrgec27gvbjn2m->Prototype->RadiusRange = new RandomRange(1, $this->m_Graphics->GetHeight() / 12); $_Ik3nivacrgec27gvbjn2m->SurfacePercentage = 5; $_Ik3nivacrgec27gvbjn2m->DrawFast($this->m_Graphics); $_0roel368mnd3mc84 = new Wave(); $_0roel368mnd3mc84->Level = RandomizationHelper::RandomFromRange(2, 4); $_0roel368mnd3mc84->OverflowColor = $this->TextColor; $_0roel368mnd3mc84->Apply($this->m_Graphics); } } class WavyChessImageGenerator extends ChessImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } public function DrawEffects() { parent::DrawEffects(); $_l11890q0tx1duhae = new Wave(); $_l11890q0tx1duhae->LevelRange = new RandomRange(2, 4); $_l11890q0tx1duhae->Apply($this->m_Graphics); } } class WavyColorLettersImageGenerator extends ImageGenerator implements IImageGenerator { public function __construct() { parent::__construct(); } protected function InitColors() { parent::InitColors(); $this->OutlineColor = Color::BetweenRgb(0, 0, 0)->AndRgb(100, 100, 100); $this->BackColor = $this->OutlineColor->Complement; $this->TextColor = $this->BackColor->Frozen; } protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = Color::Randomized($this->m_CustomLightColor, 50)->Frozen; $this->TextColor = $this->BackColor; } if (!is_null($this->m_CustomDarkColor)) { $this->OutlineColor = Color::Randomized($this->m_CustomDarkColor, 100); } } protected function InitTextRenderer() { parent::InitTextRenderer(); $this->m_TextRenderer->Prototype->Outline = LineStyle::Single( LineLayer::Solid($this->m_Graphics->GetHeight() / 15, $this->OutlineColor) ); } protected function DrawEffects() { parent::DrawEffects(); $_ldc5obbc6jxtkkqgqhui6 = new ConcentricCircles(); $_ldc5obbc6jxtkkqgqhui6->Prototype->Outline = LineStyle::Double( LineLayer::Solid($this->m_Graphics->GetHeight() / 55 + 1, $this->OutlineColor), LineLayer::Solid($this->m_Graphics->GetHeight() / 55 + 1, $this->OutlineColor) ); $_ldc5obbc6jxtkkqgqhui6->Prototype->Center = Point::Within($this->m_Graphics->GetBounds()); $_ldc5obbc6jxtkkqgqhui6->Prototype->Center->Y += 2 * $this->m_Graphics->GetHeight(); $_ldc5obbc6jxtkkqgqhui6->Spacing = $this->m_Graphics->GetHeight() / 3; $_ldc5obbc6jxtkkqgqhui6->Draw($this->m_Graphics); $_isesnpl82kfncbsm = new Wave(); $_isesnpl82kfncbsm->Level = 3; $_isesnpl82kfncbsm->Apply($this->m_Graphics); } } final class ImageGeneratorFactory { private function __construct() {} public static function CreateGenerator($_0zr3phen2rbryoe3fh8khr5tn1) { $_1ad8zbyxsnl6a3x7qqpim = null; switch ($_0zr3phen2rbryoe3fh8khr5tn1) { case 50 : $_1ad8zbyxsnl6a3x7qqpim = new BubblesImageGenerator(); break; case 56 : $_1ad8zbyxsnl6a3x7qqpim = new RippleImageGenerator(); break; case 57 : $_1ad8zbyxsnl6a3x7qqpim = new Ripple2ImageGenerator(); break; case 51 : $_1ad8zbyxsnl6a3x7qqpim = new ElectricImageGenerator(); break; case 55 : $_1ad8zbyxsnl6a3x7qqpim = new RadarImageGenerator(); break; case 53 : $_1ad8zbyxsnl6a3x7qqpim = new NeonImageGenerator(); break; case 54 : $_1ad8zbyxsnl6a3x7qqpim = new Neon2ImageGenerator(); break; case 16 : $_1ad8zbyxsnl6a3x7qqpim = new BlackOverlapImageGenerator(); break; case 0 : $_1ad8zbyxsnl6a3x7qqpim = new ChessImageGenerator(); break; case 9 : $_1ad8zbyxsnl6a3x7qqpim = new Chess3DImageGenerator(); break; case 12 : $_1ad8zbyxsnl6a3x7qqpim = new ChippedImageGenerator(); break; case 10 : $_1ad8zbyxsnl6a3x7qqpim = new CirclesImageGenerator(); break; case 11 : $_1ad8zbyxsnl6a3x7qqpim = new CorrosionImageGenerator(); break; case 1 : $_1ad8zbyxsnl6a3x7qqpim = new DistortionImageGenerator(); break; case 13 : $_1ad8zbyxsnl6a3x7qqpim = new FlashImageGenerator(); break; case 2 : $_1ad8zbyxsnl6a3x7qqpim = new JailImageGenerator(); break; case 14 : $_1ad8zbyxsnl6a3x7qqpim = new MassImageGenerator(); break; case 3 : $_1ad8zbyxsnl6a3x7qqpim = new NegativeImageGenerator(); break; case 17 : $_1ad8zbyxsnl6a3x7qqpim = new OverlapImageGenerator(); break; case 18 : $_1ad8zbyxsnl6a3x7qqpim = new Overlap2ImageGenerator(); break; case 15 : $_1ad8zbyxsnl6a3x7qqpim = new RoughImageGenerator(); break; case 4 : $_1ad8zbyxsnl6a3x7qqpim = new SnowImageGenerator(); break; case 5 : $_1ad8zbyxsnl6a3x7qqpim = new SplitImageGenerator(); break; case 59 : $_1ad8zbyxsnl6a3x7qqpim = new Split2ImageGenerator(); break; case 8 : $_1ad8zbyxsnl6a3x7qqpim = new StitchImageGenerator(); break; case 7 : $_1ad8zbyxsnl6a3x7qqpim = new WantedCircularImageGenerator(); break; case 6 : $_1ad8zbyxsnl6a3x7qqpim = new WaveImageGenerator(); break; case 24 : $_1ad8zbyxsnl6a3x7qqpim = new DartsImageGenerator(); break; case 25 : $_1ad8zbyxsnl6a3x7qqpim = new FingerprintsImageGenerator(); break; case 28 : $_1ad8zbyxsnl6a3x7qqpim = new LegoImageGenerator(); break; case 29 : $_1ad8zbyxsnl6a3x7qqpim = new StrippyImageGenerator(); break; case 26 : $_1ad8zbyxsnl6a3x7qqpim = new CrossShadowImageGenerator(); break; case 27 : $_1ad8zbyxsnl6a3x7qqpim = new CrossShadow2ImageGenerator(); break; case 20 : $_1ad8zbyxsnl6a3x7qqpim = new ThickThinLinesImageGenerator(); break; case 21 : $_1ad8zbyxsnl6a3x7qqpim = new ThickThinLines2ImageGenerator(); break; case 22 : $_1ad8zbyxsnl6a3x7qqpim = new SunraysImageGenerator(); break; case 23 : $_1ad8zbyxsnl6a3x7qqpim = new Sunrays2ImageGenerator(); break; case 30 : $_1ad8zbyxsnl6a3x7qqpim = new ThinWavyLettersImageGenerator(); break; case 31 : $_1ad8zbyxsnl6a3x7qqpim = new ChalkboardImageGenerator(); break; case 32 : $_1ad8zbyxsnl6a3x7qqpim = new WavyColorLettersImageGenerator(); break; case 33 : $_1ad8zbyxsnl6a3x7qqpim = new AncientMosaicImageGenerator(); break; case 34 : $_1ad8zbyxsnl6a3x7qqpim = new VertigoImageGenerator(); break; case 35 : $_1ad8zbyxsnl6a3x7qqpim = new WavyChessImageGenerator(); break; case 36 : $_1ad8zbyxsnl6a3x7qqpim = new MeltingHeatImageGenerator(); break; case 52 : $_1ad8zbyxsnl6a3x7qqpim = new MeltingHeat2ImageGenerator(); break; case 37 : $_1ad8zbyxsnl6a3x7qqpim = new SunAndWarmAirImageGenerator(); break; case 38 : $_1ad8zbyxsnl6a3x7qqpim = new GraffitiImageGenerator(); break; case 39 : $_1ad8zbyxsnl6a3x7qqpim = new Graffiti2ImageGenerator(); break; case 19 : $_1ad8zbyxsnl6a3x7qqpim = new HaloImageGenerator(); break; case 48 : $_1ad8zbyxsnl6a3x7qqpim = new BulletsImageGenerator(); break; case 49 : $_1ad8zbyxsnl6a3x7qqpim = new Bullets2ImageGenerator(); break; case 46 : $_1ad8zbyxsnl6a3x7qqpim = new CaughtInTheNetImageGenerator(); break; case 47 : $_1ad8zbyxsnl6a3x7qqpim = new CaughtInTheNet2ImageGenerator(); break; case 40 : $_1ad8zbyxsnl6a3x7qqpim = new CutImageGenerator(); break; case 44 : $_1ad8zbyxsnl6a3x7qqpim = new GhostlyImageGenerator(); break; case 43 : $_1ad8zbyxsnl6a3x7qqpim = new InBandagesImageGenerator(); break; case 45 : $_1ad8zbyxsnl6a3x7qqpim = new PaintMessImageGenerator(); break; case 42 : $_1ad8zbyxsnl6a3x7qqpim = new CollageImageGenerator(); break; case 41 : $_1ad8zbyxsnl6a3x7qqpim = new SpiderWebImageGenerator(); break; case 58 : $_1ad8zbyxsnl6a3x7qqpim = new SpiderWeb2ImageGenerator(); break; default: throw new Exception("\x49\x6d\141\x67\145\40\x47\x65\x6e\x65\162\x61\x74\157\x72\40\156\157\164\40\x69\x6d\160\154\x65\x6d\145\156\x74\145\x64\41"); } return $_1ad8zbyxsnl6a3x7qqpim; } } final class ImageGeneratorFacade { private function __construct() {} public static function GenerateImage($_1qyidjs3mdb876awx435mn713n, $_oq89dbtg2dhhvxsb5o7rt, $_Ojgtfz4qhxjb5sgrpgakn, $_0cn0cew4igbybgja8d5bn, $_izra9vscoh7yi0aps5yawjwz24, $_o6rsb3qbo8mzfwua1sakg, $_0voxzfc033rbygrdgn0p2z84in, $_iov7dcjhc8ms1nxc) { $_ik3a1iqikb78povmx5j7t = ImageGeneratorFactory::CreateGenerator($_oq89dbtg2dhhvxsb5o7rt); $_oi033khi7l59l3in7wszx = $_ik3a1iqikb78povmx5j7t->GenerateImage($_1qyidjs3mdb876awx435mn713n, $_Ojgtfz4qhxjb5sgrpgakn, $_0cn0cew4igbybgja8d5bn, $_izra9vscoh7yi0aps5yawjwz24, $_0voxzfc033rbygrdgn0p2z84in, $_iov7dcjhc8ms1nxc); return $_oi033khi7l59l3in7wszx->GetImage($_o6rsb3qbo8mzfwua1sakg); } } final class SoundStyle extends Enum { private function __construct() {} public static $Names; const Dispatch = 0; const HiveMind = 1; const Industrial = 2; const Pulse = 3; const Radio = 4; const RedAlert = 5; const Robot = 6; const Scratched = 7; const Synth = 8; const Workshop = 9; public static function GetName($_0nox0rczdqz72uj8) { if (!is_int($_0nox0rczdqz72uj8)) { throw new Exception("\125\x6e\153\x6e\x6f\x77\156\x20\x65\x6e\x75\155\145\162\x61\x74\x65\144\x20\166\x61\154\x75\x65\x3a\x20".$_0nox0rczdqz72uj8); } if (array_key_exists($_0nox0rczdqz72uj8, SoundStyle::$Names)) { return SoundStyle::$Names[$_0nox0rczdqz72uj8]; } else { throw new Exception("\125\x6e\153\156\157\167\156\x20\x65\x6e\x75\155\145\162\141\x74\145\144\40\166\x61\154\x75\145\72\x20".$_0nox0rczdqz72uj8); } } public static function GetValue($_oq9jg03vrb11apyg6h50epav36) { if (!StringHelper::HasValue($_oq9jg03vrb11apyg6h50epav36)) { throw new Exception("\125\x6e\153\x6e\x6f\167\156\x20\x65\156\x75\155\145\x72\141\x74\145\x64\40\156\x61\155\x65\72\40".$_oq9jg03vrb11apyg6h50epav36); } $_Ip7re9gpo05x2mhn = CollectionHelper::StringArraySearch($_oq9jg03vrb11apyg6h50epav36, SoundStyle::$Names); if (false !== $_Ip7re9gpo05x2mhn) { return $_Ip7re9gpo05x2mhn; } else { throw new Exception("\x55\x6e\153\156\x6f\167\x6e\x20\145\x6e\x75\155\x65\162\141\164\145\144\x20\x6e\x61\x6d\x65\x3a\x20".$_oq9jg03vrb11apyg6h50epav36); } } public static function TryGetName($_O5r8j15mi3xjxyeena0yt) { if (!is_int($_O5r8j15mi3xjxyeena0yt)) { return; } if (array_key_exists($_O5r8j15mi3xjxyeena0yt, SoundStyle::$Names)) { return SoundStyle::$Names[$_O5r8j15mi3xjxyeena0yt]; } else { return; } } public static function TryGetValue($_Oqhm73mybdzfcdypic6kkiljup) { if (!StringHelper::HasValue($_Oqhm73mybdzfcdypic6kkiljup)) { return; } $_I8fz74jtcslvokvkoe0jgj19xg = CollectionHelper::StringArraySearch($_Oqhm73mybdzfcdypic6kkiljup, SoundStyle::$Names); if (false !== $_I8fz74jtcslvokvkoe0jgj19xg) { return $_I8fz74jtcslvokvkoe0jgj19xg; } else { return; } } } SoundStyle::$Names = array( SoundStyle::Dispatch => "\x44\x69\163\160\x61\164\143\150", SoundStyle::HiveMind => "\x48\151\x76\145\x4d\151\x6e\144", SoundStyle::Industrial => "\x49\156\x64\x75\163\x74\162\x69\x61\x6c", SoundStyle::Pulse => "\120\x75\x6c\163\145", SoundStyle::Radio => "\122\x61\x64\151\157", SoundStyle::RedAlert => "\122\145\144\101\154\x65\x72\x74", SoundStyle::Robot => "\x52\x6f\142\157\164", SoundStyle::Scratched => "\123\143\x72\141\x74\x63\150\145\x64", SoundStyle::Synth => "\123\171\x6e\164\150", SoundStyle::Workshop => "\127\x6f\162\153\163\150\x6f\x70" ); final class SoundGeneratorFacade { private function __construct() {} public static function GenerateSound($_Ivfzstewcp3j4eekb5f00, $_Ik642ytxm3wuzmbw3iujl, $_0be9e4o8qg853jfoy6ilvpok1h, $_0cpw9zl1u08fpx93foput) { return self::GetDemoSound($_0cpw9zl1u08fpx93foput); } public static function GetDemoSound($_Oyt3qr6p2wtn7myg) { return self::o11vy(CaptchaBase::GetSoundsFolder() . "\57\x64\x65\x6d\x6f\56\167\141\x76"); } private static function o11vy($_0f8rcu12kaly7ijntpyx3mj75q) { $_I54xmcnuqw93t0xi58jvp = null; $_1oordcx2kkm8my11 = is_file($_0f8rcu12kaly7ijntpyx3mj75q); if (!$_1oordcx2kkm8my11) { return; } $_ifjngq353oa91viw = filesize($_0f8rcu12kaly7ijntpyx3mj75q); $_1skwl0zscjb9q8lawgeym = pathinfo($_0f8rcu12kaly7ijntpyx3mj75q); $_iz0cztjl10saguh5 = strtolower($_1skwl0zscjb9q8lawgeym["\145\x78\x74\x65\156\163\x69\157\x6e"]); if ($_07d0rwz3bstdhr3hfkt1s = fopen($_0f8rcu12kaly7ijntpyx3mj75q, "\x72\142")) { while (($_I4c5vr2x64xk2hdviy5gb = fread($_07d0rwz3bstdhr3hfkt1s, 8192)) != '') { $_I54xmcnuqw93t0xi58jvp .= $_I4c5vr2x64xk2hdviy5gb; } fclose($_07d0rwz3bstdhr3hfkt1s); } return $_I54xmcnuqw93t0xi58jvp; } } class CaptchaBase { public function __construct($_Ogadaqtnl1hc1fx1x43rc) { $this->_Ifhgtwryzyl76ddmz4y4mtagg0 = StringHelper::Normalize($_Ogadaqtnl1hc1fx1x43rc); $this->_lhvbdc2fs50ubsy2jqcf0 = CryptoHelper::GenerateGuid(); $this->_Iyg9vqxpzdelosyz = new CodeCollection(); $this->_lvqo0ajglgpbvjd8lnnbislxbl = LocaleParser::Parse(CaptchaDefaults::Locale); $this->_lky1o6iqsnpw8pzdzcnmu3j4wa = 5 ; $this->_l7u37c9ac28xerv1qktok6pvii = CaptchaDefaults::CodeStyle; $this->_Ir8o3s4i29u8qd8yltu36 = CaptchaDefaults::CustomCharacterSet; $this->_I5bhquabrtjw0qhzqeujqy77xg = 1200 ; $this->_Og486vdzie4283ahumlzx91z28 = CaptchaDefaults::BannedSequences; $this->_iradp4t438j7zpurpqcm26j3w1 = CaptchaDefaults::ImageStyle; $this->_1p9147tjagm7lbggfxbd5 = CaptchaDefaults::ImageFormat; $this->_iopwqlzddtars5y6le32d = 250 ; $this->_1m8q659xmmvlyok5tub2x = 50 ; $this->_iqrx4h5iixwdx36t5er1e = CaptchaDefaults::CustomLightColor; $this->_0o2nxi46pi8m6i8q8meqb = CaptchaDefaults::CustomDarkColor; $this->_Ijiywclngj312ofk = CaptchaDefaults::SoundStyle; $this->_1ahnhu7w1ykpcgb8bie16os4wx = CaptchaDefaults::SoundFormat; $this->Locale = $GLOBALS["\114\x42\104\x5f\x43\x6f\156\x66\x69\x67\165\162\x61\x74\x69\157\156\137\114\x6f\x63\141\154\x65"]; $this->CodeLength = $GLOBALS["\114\x42\104\x5f\103\157\x6e\146\x69\147\x75\162\141\164\151\x6f\156\137\x43\x6f\144\145\x4c\x65\x6e\147\x74\x68"]; $this->CodeStyle = $GLOBALS["\114\102\x44\137\x43\157\156\146\151\147\165\162\141\164\x69\157\156\137\x43\x6f\144\145\123\164\x79\x6c\145"]; $this->CustomCharacterSet = $GLOBALS["\x4c\x42\104\x5f\103\157\156\x66\151\147\165\162\x61\164\151\x6f\156\137\103\x75\x73\164\x6f\155\x43\x68\x61\x72\163\x65\164"]; $this->CodeTimeout = $GLOBALS["\x4c\x42\104\x5f\103\x6f\x6e\x66\x69\147\x75\x72\141\x74\151\x6f\x6e\x5f\103\157\x64\145\124\x69\155\145\x6f\x75\164"]; $this->BannedSequences = $GLOBALS["\x4c\x42\104\137\103\157\156\x66\151\x67\x75\x72\x61\x74\x69\157\156\x5f\102\141\x6e\x6e\x65\144\123\145\161\x75\x65\156\x63\145\163"]; $this->ImageStyle = $GLOBALS["\114\x42\x44\x5f\103\157\x6e\146\x69\x67\x75\x72\x61\x74\x69\x6f\x6e\137\111\155\x61\x67\x65\x53\164\171\x6c\x65"]; $this->ImageFormat = $GLOBALS["\114\x42\x44\x5f\103\x6f\156\146\x69\x67\x75\x72\x61\x74\151\x6f\x6e\137\111\155\x61\147\x65\x46\x6f\162\x6d\141\164"]; $this->ImageWidth = $GLOBALS["\114\x42\x44\x5f\x43\x6f\x6e\x66\151\x67\165\162\141\164\x69\x6f\156\x5f\x49\155\x61\147\145\127\151\144\164\x68"]; $this->ImageHeight = $GLOBALS["\x4c\x42\104\137\103\157\156\146\x69\147\x75\162\x61\x74\151\157\156\x5f\111\155\141\147\145\110\x65\151\147\x68\x74"]; $this->CustomLightColor = $GLOBALS["\x4c\x42\x44\137\x43\x6f\156\146\x69\x67\165\162\141\x74\x69\157\x6e\x5f\103\x75\163\164\157\x6d\114\151\x67\x68\x74\103\157\x6c\157\x72"]; $this->CustomDarkColor = $GLOBALS["\x4c\x42\104\x5f\x43\157\156\x66\x69\x67\x75\162\x61\164\151\157\156\137\103\x75\x73\x74\x6f\155\104\141\x72\x6b\x43\x6f\x6c\x6f\x72"]; $this->SoundStyle = $GLOBALS["\x4c\102\x44\137\x43\157\x6e\x66\151\147\x75\162\141\164\x69\157\x6e\137\123\x6f\x75\x6e\x64\123\x74\x79\154\x65"]; $this->SoundFormat = $GLOBALS["\114\102\104\x5f\103\157\x6e\146\x69\147\x75\162\x61\x74\151\157\156\137\x53\157\x75\x6e\x64\106\157\x72\x6d\141\x74"]; } private $_Ifhgtwryzyl76ddmz4y4mtagg0; public function get_CaptchaId() { return $this->_Ifhgtwryzyl76ddmz4y4mtagg0; } public static function IsValidCaptchaId($_lsxg2t75dizpmfln) { return (bool) preg_match("\x2f\x5e\50\w\53\51\x24\x2f\165\x69", $_lsxg2t75dizpmfln); } private $_lhvbdc2fs50ubsy2jqcf0; public function get_InstanceId() { return $this->_lhvbdc2fs50ubsy2jqcf0; } public static function IsValidInstanceId($_Itb8cxmr6wkvokagaokvm92onb) { return (null != $_Itb8cxmr6wkvokagaokvm92onb && 32 == strlen($_Itb8cxmr6wkvokagaokvm92onb) && (bool) preg_match("\57\x5e\x28\133\141\55\x66\60\x2d\71\x5d\x2b\51\x24\x2f\165", $_Itb8cxmr6wkvokagaokvm92onb)); } private $_Iyg9vqxpzdelosyz; private function f4mpp() { return "\x4c\102\x44\x5f\x43\157\x64\145\x43\x6f\x6c\x6c\x65\x63\164\151\157\156\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_lvqo0ajglgpbvjd8lnnbislxbl; public function get_Locale() { return (string)$this->_lvqo0ajglgpbvjd8lnnbislxbl; } public function set_Locale($_Iqg9ivewyh2kgznh) { } public static function IsValidLocale($_1r2py09gdqt75ta4) { if (!StringHelper::HasValue($_1r2py09gdqt75ta4)) { return false; } return (0 != strlen($_1r2py09gdqt75ta4)); } private function eyx0c() { return "\x4c\x42\x44\137\114\x6f\143\141\x6c\145\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_lky1o6iqsnpw8pzdzcnmu3j4wa; public function get_CodeLength() { return $this->_lky1o6iqsnpw8pzdzcnmu3j4wa; } public function set_CodeLength($_0tvjxhu6i3zkj5402f53f) { if (self::IsValidCodeLength($_0tvjxhu6i3zkj5402f53f)) { $this->_lky1o6iqsnpw8pzdzcnmu3j4wa = $_0tvjxhu6i3zkj5402f53f; } else { $this->_lky1o6iqsnpw8pzdzcnmu3j4wa = 5 ; } } public static function IsValidCodeLength($_lhle5u8lcd4e7rcp) { return ($_lhle5u8lcd4e7rcp >= 1 && $_lhle5u8lcd4e7rcp <= 15 ); } private function wkaof() { return "\x4c\x42\x44\x5f\103\x6f\x64\x65\114\x65\156\147\164\x68\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_l7u37c9ac28xerv1qktok6pvii; public function get_CodeStyle() { return $this->_l7u37c9ac28xerv1qktok6pvii; } public function set_CodeStyle($_19cph2nnf96jw9c5h5zuajoqfe) { if (self::IsValidCodeStyle($_19cph2nnf96jw9c5h5zuajoqfe)) { $this->_l7u37c9ac28xerv1qktok6pvii = $_19cph2nnf96jw9c5h5zuajoqfe; } else { $this->_l7u37c9ac28xerv1qktok6pvii = CaptchaDefaults::CodeStyle; } } public static function IsValidCodeStyle($_lq18c5gybdqugs4h) { return ($_lq18c5gybdqugs4h >= CaptchaDefaults::MinCodeStyle && $_lq18c5gybdqugs4h <= CaptchaDefaults::MaxCodeStyle); } private function y06ht() { return "\x4c\x42\104\137\103\x6f\144\145\x53\x74\x79\x6c\x65\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_I5bhquabrtjw0qhzqeujqy77xg; public function get_CodeTimeout() { return $this->_I5bhquabrtjw0qhzqeujqy77xg; } public function set_CodeTimeout($_0dp3qpkzgv57wvo9etn4tfxygy) { if (self::IsValidCodeTimeout($_0dp3qpkzgv57wvo9etn4tfxygy)) { $this->_I5bhquabrtjw0qhzqeujqy77xg = $_0dp3qpkzgv57wvo9etn4tfxygy; } else { $this->_I5bhquabrtjw0qhzqeujqy77xg = 1200 ; } } public static function IsValidCodeTimeout($_0pnpt13u38ub5nwzn73v1) { return ($_0pnpt13u38ub5nwzn73v1 >= 10 && $_0pnpt13u38ub5nwzn73v1 <= 86400 ); } private $_Ir8o3s4i29u8qd8yltu36; public function get_CustomCharacterSet() { return $GLOBALS["\x4c\102\x44\x5f\x43\x6f\x6e\x66\151\147\x75\x72\141\x74\x69\157\156\137\103\x75\x73\x74\x6f\x6d\x43\150\x61\162\x73\x65\164"]; } public function set_CustomCharacterSet($_Isecj7jrba83zgkrkxxyh) { if (self::IsValidCustomCharacterSet($_Isecj7jrba83zgkrkxxyh)) { $this->_Ir8o3s4i29u8qd8yltu36 = CharacterSetFactory::GetCustom($_Isecj7jrba83zgkrkxxyh); } else { $this->_Ir8o3s4i29u8qd8yltu36 = CaptchaDefaults::CustomCharacterSet; } } public static function IsValidCustomCharacterSet($_Oiwesmt2w7fwfaawvfv3u) { return StringHelper::IsCsv($_Oiwesmt2w7fwfaawvfv3u); } private $_Og486vdzie4283ahumlzx91z28; public function get_BannedSequences() { return $GLOBALS["\114\x42\104\137\x43\x6f\x6e\146\151\x67\x75\162\141\164\x69\157\156\x5f\102\x61\156\x6e\x65\144\123\145\161\165\145\x6e\x63\x65\x73"]; } public function set_BannedSequences($_Id3754szaihk6sm6knmqb) { if (self::IsValidBannedSequences($_Id3754szaihk6sm6knmqb)) { $this->_Og486vdzie4283ahumlzx91z28 = new BannedCharacterSequences($_Id3754szaihk6sm6knmqb); } else { $this->_Og486vdzie4283ahumlzx91z28 = CaptchaDefaults::BannedSequences; } } public static function IsValidBannedSequences($_0bz875g4m6yuhxsu) { return StringHelper::IsCsv($_0bz875g4m6yuhxsu); } private $_iradp4t438j7zpurpqcm26j3w1; public function get_ImageStyle() { return $this->_iradp4t438j7zpurpqcm26j3w1; } public function set_ImageStyle($_oz5vb158picbqwd1) { if (self::IsValidImageStyle($_oz5vb158picbqwd1)) { $this->_iradp4t438j7zpurpqcm26j3w1 = $_oz5vb158picbqwd1; } else { $this->_iradp4t438j7zpurpqcm26j3w1 = CaptchaDefaults::ImageStyle; } } public static function IsValidImageStyle($_ltu1jwrinohtttz8) { return ($_ltu1jwrinohtttz8 >= CaptchaDefaults::MinImageStyle && $_ltu1jwrinohtttz8 <= CaptchaDefaults::MaxImageStyle); } private function sa7z2() { return "\x4c\102\x44\x5f\x49\155\x61\147\x65\x53\x74\171\154\145\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_1p9147tjagm7lbggfxbd5; public function get_ImageFormat() { return $this->_1p9147tjagm7lbggfxbd5; } public function set_ImageFormat($_01q2wx8s243nafbjd2sfo3n900) { if (self::IsValidImageFormat($_01q2wx8s243nafbjd2sfo3n900)) { $this->_1p9147tjagm7lbggfxbd5 = $_01q2wx8s243nafbjd2sfo3n900; } else { $this->_1p9147tjagm7lbggfxbd5 = CaptchaDefaults::ImageFormat; } } public static function IsValidImageFormat($_odw4z8truo6fl2ox) { return ($_odw4z8truo6fl2ox >= CaptchaDefaults::MinImageFormat && $_odw4z8truo6fl2ox <= CaptchaDefaults::MaxImageFormat); } private function kk9wu() { return "\114\x42\x44\137\111\155\x61\x67\145\106\157\x72\x6d\x61\x74\x5f{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_iopwqlzddtars5y6le32d; public function get_ImageWidth() { return $this->_iopwqlzddtars5y6le32d; } public function set_ImageWidth($_ow7fdozbzo393u692hoj62dpbm) { if (self::IsValidImageWidth($_ow7fdozbzo393u692hoj62dpbm)) { $this->_iopwqlzddtars5y6le32d = $_ow7fdozbzo393u692hoj62dpbm; } else { $this->_iopwqlzddtars5y6le32d = 250 ; } } public static function IsValidImageWidth($_Oa7ntneyskzgs8pdbbildrt0y6) { return ($_Oa7ntneyskzgs8pdbbildrt0y6 >= 20 && $_Oa7ntneyskzgs8pdbbildrt0y6 <= 500 ); } private function bjbza() { return "\x4c\102\104\137\x49\x6d\141\x67\145\127\x69\144\x74\x68\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_1m8q659xmmvlyok5tub2x; public function get_ImageHeight() { return $this->_1m8q659xmmvlyok5tub2x; } public function set_ImageHeight($_1joozo93tbj1hkuc) { if (self::IsValidImageHeight($_1joozo93tbj1hkuc)) { $this->_1m8q659xmmvlyok5tub2x = $_1joozo93tbj1hkuc; } else { $this->_1m8q659xmmvlyok5tub2x = 50 ; } } public static function IsValidImageHeight($_1tjho1oep944l3gytwfuurl5dg) { return ($_1tjho1oep944l3gytwfuurl5dg >= 20 && $_1tjho1oep944l3gytwfuurl5dg <= 200 ); } private function vtzi7() { return "\114\102\x44\x5f\111\x6d\x61\x67\145\110\x65\x69\x67\x68\x74\137{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_iqrx4h5iixwdx36t5er1e; public function get_CustomLightColor() { return $this->_iqrx4h5iixwdx36t5er1e; } public function set_CustomLightColor($_Oho9slp2gxjnj8yw) { if (is_string($_Oho9slp2gxjnj8yw)) { if (self::IsValidCustomLightColor($_Oho9slp2gxjnj8yw)) { $this->_iqrx4h5iixwdx36t5er1e = Color::FromHexString($_Oho9slp2gxjnj8yw); } else { $this->_iqrx4h5iixwdx36t5er1e = CaptchaDefaults::CustomLightColor; } } else { $this->_iqrx4h5iixwdx36t5er1e = $_Oho9slp2gxjnj8yw; } } public static function IsValidCustomLightColor($_lzn8tkui97un8jp1ibj2q466f0) { if (!StringHelper::HasValue($_lzn8tkui97un8jp1ibj2q466f0)) { return false; } return (bool) preg_match("\57\136\x23\x28\133\x61\55\146\101\55\106\x30\55\71\135\x7b\63\175\174\133\141\x2d\x66\101\55\x46\x30\55\71\x5d\x7b\x36\x7d\51\x24\x2f\x75", $_lzn8tkui97un8jp1ibj2q466f0); } private function mgrhk() { return "\x4c\x42\104\137\103\165\x73\164\157\x6d\114\151\147\x68\x74\103\157\154\157\x72\x5f{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_0o2nxi46pi8m6i8q8meqb; public function get_CustomDarkColor() { return $this->_0o2nxi46pi8m6i8q8meqb; } public function set_CustomDarkColor($_imxjig73dukdq032fjbkpfkh4m) { if (is_string($_imxjig73dukdq032fjbkpfkh4m)) { if (self::IsValidCustomDarkColor($_imxjig73dukdq032fjbkpfkh4m)) { $this->_0o2nxi46pi8m6i8q8meqb = Color::FromHexString($_imxjig73dukdq032fjbkpfkh4m); } else { $this->_0o2nxi46pi8m6i8q8meqb = CaptchaDefaults::CustomDarkColor; } } else { $this->_0o2nxi46pi8m6i8q8meqb = $_imxjig73dukdq032fjbkpfkh4m; } } public static function IsValidCustomDarkColor($_O8qpnf2f1fcs7v02) { if (!StringHelper::HasValue($_O8qpnf2f1fcs7v02)) { return false; } return (bool) preg_match("\x2f\136\43\50\x5b\141\55\x66\x41\55\106\60\x2d\71\x5d\x7b\63\175\174\133\x61\x2d\x66\101\x2d\x46\x30\55\71\135\x7b\x36\x7d\51\x24\57\165", $_O8qpnf2f1fcs7v02); } private function ci6rv() { return "\114\102\104\137\103\165\163\164\157\x6d\x44\141\x72\x6b\x43\157\x6c\157\162\x5f{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_Ijiywclngj312ofk; public function get_SoundStyle() { return $this->_Ijiywclngj312ofk; } public function set_SoundStyle($_Isoroa5929e7gm9yguz8x) { if (self::IsValidSoundStyle($_Isoroa5929e7gm9yguz8x)) { $this->_Ijiywclngj312ofk = $_Isoroa5929e7gm9yguz8x; } else { $this->_Ijiywclngj312ofk = CaptchaDefaults::SoundStyle; } } public static function IsValidSoundStyle($_o31a6esuu8cxfiu0cahsm) { return ($_o31a6esuu8cxfiu0cahsm >= CaptchaDefaults::MinSoundStyle && $_o31a6esuu8cxfiu0cahsm <= CaptchaDefaults::MaxSoundStyle); } private function mzozq() { return "\114\102\104\x5f\x53\157\165\156\x64\123\164\171\154\145\x5f{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } private $_1ahnhu7w1ykpcgb8bie16os4wx; public function get_SoundFormat() { return $this->_1ahnhu7w1ykpcgb8bie16os4wx; } public function set_SoundFormat($_0gau3j1r05o92bp9bmp1p) { if (self::IsValidSoundFormat($_0gau3j1r05o92bp9bmp1p)) { $this->_1ahnhu7w1ykpcgb8bie16os4wx = $_0gau3j1r05o92bp9bmp1p; } else { $this->_1ahnhu7w1ykpcgb8bie16os4wx = CaptchaDefaults::SoundFormat; } } public static function IsValidSoundFormat($_0okxo0reagdfx1ft8u8lt) { return ($_0okxo0reagdfx1ft8u8lt >= CaptchaDefaults::MinSoundFormat && $_0okxo0reagdfx1ft8u8lt <= CaptchaDefaults::MaxSoundFormat); } private function izknn() { return "\x4c\102\x44\x5f\x53\157\x75\156\144\106\157\162\x6d\x61\x74\x5f{$this->_Ifhgtwryzyl76ddmz4y4mtagg0}"; } public static function GetSoundsFolder() { $_l1svjf4uggwapsilmj8i7dc82u = $GLOBALS["\114\102\x44\137\103\157\x6e\x66\151\147\x75\x72\x61\x74\x69\157\156\x5f\123\157\165\156\x64\x73\x46\157\154\144\x65\x72"]; if (0 === strpos($_l1svjf4uggwapsilmj8i7dc82u, "\102\x6f\164\x44\x65\x74\145\x63\164\x2f")) { $_l1svjf4uggwapsilmj8i7dc82u = substr($_l1svjf4uggwapsilmj8i7dc82u, 10); } return $_l1svjf4uggwapsilmj8i7dc82u; } public static function GetFontsFolder() { $_08s4f9nohaa3uraxfz75q = $GLOBALS["\114\102\x44\137\103\157\x6e\x66\x69\x67\x75\162\141\x74\x69\x6f\x6e\x5f\106\x6f\156\164\x73\x46\x6f\154\x64\x65\x72"]; if (0 === strpos($_08s4f9nohaa3uraxfz75q, "\x42\x6f\164\x44\x65\x74\x65\x63\x74\x2f")) { $_08s4f9nohaa3uraxfz75q = substr($_08s4f9nohaa3uraxfz75q, 10); } return $_08s4f9nohaa3uraxfz75q; } public function get_ImageMimeType() { switch ($this->ImageFormat) { case 1 : return "\151\x6d\141\x67\x65\x2f\x6a\160\145\x67"; case 3 : return "\x69\155\141\147\145\x2f\160\156\x67"; case 2 : return "\151\x6d\141\x67\x65\57\147\x69\146"; default: throw new Exception("\125\x6e\x6b\156\157\167\156\40\x69\155\141\x67\145\x20\146\157\x72\x6d\141\164\72\40{$this->ImageFormat}"); } } public function get_SoundMimeType() { switch ($this->SoundFormat) { case 1 : return "\x61\x75\x64\151\157\x2f\170\x2d\x77\141\x76"; case 2 : return "\141\165\144\x69\157\57\x78\x2d\167\x61\166"; default: throw new Exception("\x55\156\x6b\x6e\x6f\167\x6e\x20\x73\157\x75\x6e\144\x20\146\157\x72\x6d\x61\164\72\40{$this->SoundFormat}"); } } public function GetCode($_ip5yzt4qdp9684p7, $_144ac6jbwcji0dwctopd5qdwod) { $_lsacz3j9j22c2j4fw9gugrg90v = $this->_Ir8o3s4i29u8qd8yltu36; if (!isset($_lsacz3j9j22c2j4fw9gugrg90v)) { $_lsacz3j9j22c2j4fw9gugrg90v = CharacterSetFactory::GetLocalized($this->_lvqo0ajglgpbvjd8lnnbislxbl); } $_Ixfqlkn2047xoofc69jrl = $this->_Iyg9vqxpzdelosyz->GetCode($_ip5yzt4qdp9684p7, $_144ac6jbwcji0dwctopd5qdwod, $_lsacz3j9j22c2j4fw9gugrg90v, $this->_l7u37c9ac28xerv1qktok6pvii, $this->_lky1o6iqsnpw8pzdzcnmu3j4wa, $this->_I5bhquabrtjw0qhzqeujqy77xg, $this->_Og486vdzie4283ahumlzx91z28); return $_Ixfqlkn2047xoofc69jrl; } public function GetImage($_0lry5ocadn4koms2) { $_oqknkbqig75xx9fhux0ex = $this->GetCode($_0lry5ocadn4koms2, 0 ); $_0v3tk953pcm2or37pn520jdi5e = ImageGeneratorFacade::GenerateImage($_oqknkbqig75xx9fhux0ex, $this->_iradp4t438j7zpurpqcm26j3w1, $this->_lvqo0ajglgpbvjd8lnnbislxbl, $this->_iopwqlzddtars5y6le32d, $this->_1m8q659xmmvlyok5tub2x, $this->_1p9147tjagm7lbggfxbd5, $this->_iqrx4h5iixwdx36t5er1e, $this->_0o2nxi46pi8m6i8q8meqb); return $_0v3tk953pcm2or37pn520jdi5e; } public function GetSound($_l9iosgash6dxzvy4ozl6c) { $_Ibuo9f8swn32vzz6 = $this->GetCode($_l9iosgash6dxzvy4ozl6c, 1 ); $_14349rl4cuajf8jitxsho = SoundGeneratorFacade::GenerateSound($_Ibuo9f8swn32vzz6, $this->_Ijiywclngj312ofk, $this->_lvqo0ajglgpbvjd8lnnbislxbl, $this->_1ahnhu7w1ykpcgb8bie16os4wx); return $_14349rl4cuajf8jitxsho; } public function Validate($_Ovysa6j091ad26ex, $_15yjk8jr78jr2040, $_1w3p2qvqdul3d1q6py34u) { $_ipag0qejdj0epxnhborsm = $this->_Iyg9vqxpzdelosyz->Validate($_Ovysa6j091ad26ex, $_15yjk8jr78jr2040, $_1w3p2qvqdul3d1q6py34u, $this->CodeTimeout); $this->rn9sm(); return $_ipag0qejdj0epxnhborsm; } private function rn9sm() { LBD_Persistence_Clear($this->f4mpp()); LBD_Persistence_Save($this->f4mpp(), $this->_Iyg9vqxpzdelosyz); } public function Save() { $this->rn9sm(); if ($this->Locale != (string) LocaleParser::Parse($GLOBALS["\x4c\x42\x44\137\x43\157\x6e\x66\x69\x67\165\162\x61\164\151\x6f\156\137\114\157\x63\x61\154\x65"])) { LBD_Persistence_Save($this->eyx0c(), $this->Locale); } else { LBD_Persistence_Clear($this->eyx0c()); } if ($this->CodeLength != $GLOBALS["\x4c\x42\104\137\x43\157\x6e\146\151\147\x75\x72\x61\x74\151\157\156\x5f\x43\x6f\144\x65\x4c\x65\x6e\147\x74\150"]) { LBD_Persistence_Save($this->wkaof(), $this->CodeLength); } else { LBD_Persistence_Clear($this->wkaof()); } if ($this->CodeStyle != $GLOBALS["\114\102\x44\x5f\103\157\156\x66\151\x67\x75\162\141\164\x69\157\x6e\137\x43\x6f\144\145\123\164\171\x6c\145"]) { LBD_Persistence_Save($this->y06ht(), $this->CodeStyle); } else { LBD_Persistence_Clear($this->y06ht()); } if ($this->ImageStyle != $GLOBALS["\x4c\x42\104\x5f\x43\x6f\156\146\151\x67\x75\x72\x61\x74\151\x6f\x6e\x5f\x49\x6d\x61\x67\145\x53\164\171\x6c\x65"]) { LBD_Persistence_Save($this->sa7z2(), $this->ImageStyle); } else { LBD_Persistence_Clear($this->sa7z2()); } if ($this->ImageFormat != $GLOBALS["\114\x42\104\137\x43\157\156\146\x69\147\x75\162\141\x74\x69\x6f\156\137\x49\155\x61\x67\x65\x46\157\162\155\x61\x74"]) { LBD_Persistence_Save($this->kk9wu(), $this->ImageFormat); } else { LBD_Persistence_Clear($this->kk9wu()); } if ($this->ImageWidth != $GLOBALS["\x4c\102\104\137\103\157\156\x66\x69\x67\165\162\x61\164\151\157\x6e\137\x49\x6d\141\x67\x65\127\x69\144\x74\150"]) { LBD_Persistence_Save($this->bjbza(), $this->ImageWidth); } else { LBD_Persistence_Clear($this->bjbza()); } if ($this->ImageHeight != $GLOBALS["\114\102\104\137\103\x6f\156\x66\151\x67\x75\x72\x61\x74\151\x6f\156\137\111\155\x61\147\x65\110\x65\x69\147\x68\x74"]) { LBD_Persistence_Save($this->vtzi7(), $this->ImageHeight); } else { LBD_Persistence_Clear($this->vtzi7()); } if ($this->CustomLightColor != $GLOBALS["\114\102\104\x5f\103\157\x6e\146\151\147\165\x72\x61\164\x69\x6f\156\137\x43\x75\163\164\157\155\114\151\x67\150\164\103\157\154\157\162"]) { LBD_Persistence_Save($this->mgrhk(), $this->CustomLightColor); } else { LBD_Persistence_Clear($this->mgrhk()); } if ($this->CustomDarkColor != $GLOBALS["\x4c\x42\x44\x5f\x43\157\156\146\151\x67\165\x72\141\164\151\157\156\x5f\103\x75\163\164\x6f\155\104\x61\162\153\x43\157\x6c\157\162"]) { LBD_Persistence_Save($this->ci6rv(), $this->CustomDarkColor); } else { LBD_Persistence_Clear($this->ci6rv()); } if ($this->SoundStyle != $GLOBALS["\114\x42\x44\137\x43\157\156\146\x69\x67\x75\x72\x61\x74\x69\157\x6e\x5f\123\x6f\165\156\144\x53\x74\x79\x6c\145"]) { LBD_Persistence_Save($this->mzozq(), $this->SoundStyle); } else { LBD_Persistence_Clear($this->mzozq()); } if ($this->SoundFormat != $GLOBALS["\x4c\x42\104\137\103\157\x6e\x66\151\147\165\162\141\164\151\x6f\156\x5f\x53\x6f\x75\156\x64\106\x6f\x72\155\141\x74"]) { LBD_Persistence_Save($this->izknn(), $this->SoundFormat); } else { LBD_Persistence_Clear($this->izknn()); } } public function Load() { $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->f4mpp()); if (!is_null($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->_Iyg9vqxpzdelosyz = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->eyx0c()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->Locale = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->wkaof()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->CodeLength = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->y06ht()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->CodeStyle = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->sa7z2()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->ImageStyle = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->kk9wu()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->ImageFormat = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->bjbza()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->ImageWidth = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->vtzi7()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->ImageHeight = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->mgrhk()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->CustomLightColor = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->ci6rv()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->CustomDarkColor = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->mzozq()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->SoundStyle = $_ollaizxr38wfwnrdzqxd8x1c02; } $_ollaizxr38wfwnrdzqxd8x1c02 = LBD_Persistence_Load($this->izknn()); if (isset($_ollaizxr38wfwnrdzqxd8x1c02)) { $this->SoundFormat = $_ollaizxr38wfwnrdzqxd8x1c02; } } public function __get($_1nbntfyq48kwopgiyvrp2zljcj) { if (method_exists($this, ($_l80lia86lz7c7np36op1z = "\147\145\x74\137".$_1nbntfyq48kwopgiyvrp2zljcj))) { return $this->$_l80lia86lz7c7np36op1z(); } else return; } public function __isset($_O5n5fk5imlblvrswu9s3zl3oze) { if (method_exists($this, ($_or0l46m4bj07dlpgfzbic = "\x69\163\163\145\x74\x5f".$_O5n5fk5imlblvrswu9s3zl3oze))) { return $this->$_or0l46m4bj07dlpgfzbic(); } else return; } public function __set($_lfhwy621yg3vncvn, $_lzjgwi3bz69x6571) { if (method_exists($this, ($_O251sd6sf2lwf64k = "\163\145\164\137".$_lfhwy621yg3vncvn))) { $this->$_O251sd6sf2lwf64k($_lzjgwi3bz69x6571); } } public function __unset($_ly62awl6uj0qcxwxavn4pwq066) { if (method_exists($this, ($_Oj7ll8h424di3w3l8ojnv = "\165\156\x73\x65\164\x5f".$_ly62awl6uj0qcxwxavn4pwq066))) { $this->$_Oj7ll8h424di3w3l8ojnv(); } } } final class CaptchaDefaults { private function __construct() {} const Locale = "\x65\156\55\125\x53"; const CodeLength = 5; const MinCodeLength = 1; const MaxCodeLength = 15; const CodeStyle = 0 ; const MinCodeStyle = 0 ; const MaxCodeStyle = 2 ; const CodeTimeout = 1200; const MinCodeTimeout = 10; const MaxCodeTimeout = 86400; const BannedSequences = null; const CustomCharacterSet = null; const ImageStyle = 31 ; const MinImageStyle = 0 ; const MaxImageStyle = 59 ; const ImageFormat = 1 ; const MinImageFormat = 1 ; const MaxImageFormat = 3 ; const ImageWidth = 250; const ImageHeight = 50; const MinImageWidth = 20; const MinImageHeight = 20; const MaxImageWidth = 500; const MaxImageHeight = 200; const CustomLightColor = null; const CustomDarkColor = null; const SoundStyle = 0 ; const MinSoundStyle = 0 ; const MaxSoundStyle = 9 ; const SoundFormat = 1 ; const MinSoundFormat = 0 ; const MaxSoundFormat = 2 ; } final class CaptchaRandomization { private function __construct() {} public static function GetRandomCodeLength($_o6nzj8wol5v3wt5rlcwv2 = 0, $_1vnxjo749woxexzw7uo6i = 0) { if ((p_max > 15 ) || ($_1vnxjo749woxexzw7uo6i < 1 )) { $_1vnxjo749woxexzw7uo6i = 15 ; } if (($_o6nzj8wol5v3wt5rlcwv2 < 1 ) || ($_o6nzj8wol5v3wt5rlcwv2 > $_1vnxjo749woxexzw7uo6i)) { $_o6nzj8wol5v3wt5rlcwv2 = 1 ; } return RandomizationHelper::RandomFromRange($_o6nzj8wol5v3wt5rlcwv2, $_1vnxjo749woxexzw7uo6i); } public static function GetRandomCodeStyle($_Iqewfny7t8tuvrwudw049 = null) { $_0i3or02l9kty49l2 = CaptchaDefaults::CodeStyle; if (!is_array($_Iqewfny7t8tuvrwudw049)) { $_Obzac44bc3548dnmgrtr7664eq = array_keys(CodeStyle::$Names); $_0i3or02l9kty49l2 = RandomizationHelper::RandomFromValues($_Obzac44bc3548dnmgrtr7664eq); } else if (1 == count($_Iqewfny7t8tuvrwudw049)) { $_0i3or02l9kty49l2 = $_Iqewfny7t8tuvrwudw049[0]; } else { $_0i3or02l9kty49l2 = RandomizationHelper::RandomFromValues($_Iqewfny7t8tuvrwudw049); } return $_0i3or02l9kty49l2; } public static function GetRandomImageStyle($_099znxywk38jjgc5by2n1qvks8 = null) { $_lok4r24c08zps75g = CaptchaDefaults::ImageStyle; if (!is_array($_099znxywk38jjgc5by2n1qvks8)) { $_1a0xcjjb067kgenawk99i = array( 33 , 16 , 50 , 48 , 49 , 46 , 47 , 31 , 0 , 12 , 10 , 42 , 11 , 26 , 27 , 40 , 24 , 1 , 51 , 25 , 13 , 38 , 39 , 19 , 43 , 2 , 28 , 14 , 36 , 3 , 53 , 54 , 17 , 18 , 45 , 55 , 56 , 57 , 15 , 4 , 41 , 58 , 5 , 59 , 8 , 29 , 37 , 22 , 23 , 20 , 21 , 30 , 34 , 7 , 6 , 32 , ); $_lok4r24c08zps75g = RandomizationHelper::RandomFromValues($_1a0xcjjb067kgenawk99i); } else if (1 == count($_099znxywk38jjgc5by2n1qvks8)) { $_lok4r24c08zps75g = $_099znxywk38jjgc5by2n1qvks8[0]; } else { $_lok4r24c08zps75g = RandomizationHelper::RandomFromValues($_099znxywk38jjgc5by2n1qvks8); } return $_lok4r24c08zps75g; } public static function GetRandomSoundStyle($_Iwd214l67hs3k8kpn299ut6d1h = null) { $_oqox7ca2wutgg3p1iuxya = CaptchaDefaults::SoundStyle; if (!is_array($_Iwd214l67hs3k8kpn299ut6d1h)) { $_Iiod2gjd986vwrvxtgeg9 = array_keys(SoundStyle::$Names); $_oqox7ca2wutgg3p1iuxya = RandomizationHelper::RandomFromValues($_Iiod2gjd986vwrvxtgeg9); } else if (1 == count($_Iwd214l67hs3k8kpn299ut6d1h)) { $_oqox7ca2wutgg3p1iuxya = $_Iwd214l67hs3k8kpn299ut6d1h[0]; } else { $_oqox7ca2wutgg3p1iuxya = RandomizationHelper::RandomFromValues($_Iwd214l67hs3k8kpn299ut6d1h); } return $_oqox7ca2wutgg3p1iuxya; } } final class CaptchaHttpCommand extends Enum { private function __construct() {} public static $Names; const GetImage = 0; const GetSound = 1; const GetValidationResult = 2; public static function GetName($_Owa61qultoypmh261tfbjgt8sa) { if (!is_int($_Owa61qultoypmh261tfbjgt8sa)) { throw new Exception("\x55\156\153\156\x6f\167\156\40\x65\156\165\155\x65\162\141\164\x65\x64\40\x76\141\x6c\165\x65\x3a\x20".$_Owa61qultoypmh261tfbjgt8sa); } if (array_key_exists($_Owa61qultoypmh261tfbjgt8sa, CaptchaHttpCommand::$Names)) { return CaptchaHttpCommand::$Names[$_Owa61qultoypmh261tfbjgt8sa]; } else { throw new Exception("\x55\156\x6b\x6e\157\x77\156\40\x65\156\165\155\145\162\141\x74\x65\144\x20\166\141\x6c\x75\x65\x3a\40".$_Owa61qultoypmh261tfbjgt8sa); } } public static function GetValue($_07sohv39ep46h2v3) { if (!StringHelper::HasValue($_07sohv39ep46h2v3)) { throw new Exception("\x55\x6e\153\x6e\157\x77\x6e\40\x65\156\165\155\x65\x72\x61\164\x65\x64\x20\x6e\141\x6d\145\72\40".$_07sohv39ep46h2v3); } $_lu0ou1fl0qfvpao6p3lmc71aqg = CollectionHelper::StringArraySearch($_07sohv39ep46h2v3, CaptchaHttpCommand::$Names); if (false !== $_lu0ou1fl0qfvpao6p3lmc71aqg) { return $_lu0ou1fl0qfvpao6p3lmc71aqg; } else { throw new Exception("\x55\x6e\153\156\x6f\x77\156\x20\x65\x6e\x75\155\x65\x72\141\164\x65\x64\40\156\x61\155\x65\x3a\40".$_07sohv39ep46h2v3); } } public static function TryGetName($_Ikhv09e0v74ftn46qcr61) { if (!is_int($_Ikhv09e0v74ftn46qcr61)) { return; } if (array_key_exists($_Ikhv09e0v74ftn46qcr61, CaptchaHttpCommand::$Names)) { return CaptchaHttpCommand::$Names[$_Ikhv09e0v74ftn46qcr61]; } else { return; } } public static function TryGetValue($_o876xjrl56zfqt2t8g3rx) { if (!StringHelper::HasValue($_o876xjrl56zfqt2t8g3rx)) { return; } $_1pmrhupz4c0o370xe0sx1 = CollectionHelper::StringArraySearch($_o876xjrl56zfqt2t8g3rx, CaptchaHttpCommand::$Names); if (false !== $_1pmrhupz4c0o370xe0sx1) { return $_1pmrhupz4c0o370xe0sx1; } else { return; } } public static function FromQuerystring($_o2qxqrhhxd2jkgwfoipuqu14u1) { return CaptchaHttpCommand::TryGetValue("\x47\x65\164".$_o2qxqrhhxd2jkgwfoipuqu14u1); } public static function GetQuerystring($_Izemdmbxtd5jy1wktiaak, $_Ofuzlive5bov7ro3bq3si, $_iti9trses7sxh5npy9scw) { $_oajyt66ibc3r3esj5njvf = substr(CaptchaHttpCommand::GetName($_Izemdmbxtd5jy1wktiaak), 3); $_leyzg3ui1p961rgzkyczyi4wth = strtolower(substr($_oajyt66ibc3r3esj5njvf, 0, 1)) . substr($_oajyt66ibc3r3esj5njvf, 1); return "\77\x67\145\x74\75" . $_leyzg3ui1p961rgzkyczyi4wth . "\46\143\75" . $_Ofuzlive5bov7ro3bq3si . "\46\164\75" . $_iti9trses7sxh5npy9scw; } } CaptchaHttpCommand::$Names = array( CaptchaHttpCommand::GetImage => "\x47\x65\x74\111\x6d\x61\147\x65", CaptchaHttpCommand::GetSound => "\x47\145\x74\123\x6f\x75\156\144", CaptchaHttpCommand::GetValidationResult => "\107\x65\164\x56\141\x6c\151\x64\x61\x74\x69\157\156\x52\x65\163\165\x6c\x74" ); require_once("\103\141\x70\164\x63\x68\141\x43\157\156\146\x69\x67\x2e\x70\x68\x70"); class Captcha { public function __construct($_i7ng0cwzqily1uv3) { $_iz35rt66gdy7cstatkfnk = StringHelper::Normalize($_i7ng0cwzqily1uv3); $this->_ibs9l9fkapwg8auw = new CaptchaBase($_iz35rt66gdy7cstatkfnk); $this->_1fqa4s280mnwmrbp = $GLOBALS["\114\102\104\x5f\103\x6f\x6e\x66\151\147\165\x72\x61\164\151\157\x6e\x5f\x48\145\154\160\114\151\156\153\105\x6e\141\x62\154\145\x64"]; $this->_iv38l1kg04snjnvg = "\150\164\x74\160\72\x2f\x2f\x63\141\160\164\143\x68\141\56\x62\x69\172\x2f\143\x61\160\164\143\x68\141\56\150\x74\x6d\x6c"; $this->_0um1t1cr158d3xez = "\103\101\x50\x54\103\110\x41"; $this->_iket75z46t346ib2f5a9nfnxjg = $GLOBALS["\x4c\102\104\x5f\x43\x6f\156\x66\151\x67\165\162\141\164\151\157\x6e\x5f\x53\157\165\x6e\x64\105\156\141\142\x6c\145\x64"]; $this->_Omjcnbqw6dd3p9carskzf = $GLOBALS["\114\102\104\x5f\103\x6f\x6e\146\x69\147\x75\x72\x61\164\151\x6f\156\x5f\123\x6f\x75\156\144\124\157\157\x6c\164\151\160"]; $this->_oni1c0at9hhrtljspgzuyviidy = $GLOBALS["\114\x42\x44\137\103\x6f\156\146\x69\x67\x75\162\141\164\151\x6f\156\x5f\123\157\x75\x6e\x64\111\x63\157\156\x55\x72\x6c"]; $this->_ln3zwo6nrgf3byjz = $GLOBALS["\x4c\102\104\x5f\103\157\156\146\x69\x67\x75\x72\x61\164\151\x6f\156\137\122\x65\154\157\x61\x64\105\156\141\142\x6c\145\x64"]; $this->_Ipyjo98resarnlke7yvlgq1ryl = $GLOBALS["\x4c\x42\104\x5f\103\x6f\156\146\x69\x67\165\x72\x61\x74\151\157\156\137\x52\x65\x6c\x6f\141\x64\x54\x6f\157\154\x74\x69\x70"]; $this->_i4eox1592895afms = $GLOBALS["\x4c\102\104\x5f\x43\157\156\x66\x69\x67\165\162\141\x74\151\x6f\x6e\x5f\122\x65\154\x6f\x61\144\111\x63\157\x6e\x55\162\x6c"]; $this->_ia6p9kimrjn4eb21ki6js = -1; $this->Load(); } private $_ibs9l9fkapwg8auw; private $_Ih7ccmm28d87ir4h3wdwz; public function get_UserInputId() { return $this->_Ih7ccmm28d87ir4h3wdwz; } public function set_UserInputId($_lpgkb8bmj1pkjoxgukm8tgz0vm) { $this->_Ih7ccmm28d87ir4h3wdwz = "$_lpgkb8bmj1pkjoxgukm8tgz0vm"; } private $_ia6p9kimrjn4eb21ki6js; public function get_TabIndex() { return $this->_ia6p9kimrjn4eb21ki6js; } public function set_TabIndex($_l44i061bewjeubs6inaax) { $this->_ia6p9kimrjn4eb21ki6js = (int)($_l44i061bewjeubs6inaax); } private $_1fqa4s280mnwmrbp; public function get_HelpLinkEnabled() { return $this->_1fqa4s280mnwmrbp; } public function set_HelpLinkEnabled($_1wuyirk963h6pvahlepu2apg42) { $this->_1fqa4s280mnwmrbp = (bool)$_1wuyirk963h6pvahlepu2apg42; } private $_iv38l1kg04snjnvg; public function get_HelpLinkUrl() { return $this->_iv38l1kg04snjnvg; } public function set_HelpLinkUrl($_laicg076memi3qsfzo1u4) { } private $_0um1t1cr158d3xez; public function get_HelpLinkTooltip() { return $this->_0um1t1cr158d3xez; } public function set_HelpLinkTooltip($_lifk00zugr5xds82) { $this->_0um1t1cr158d3xez = (string)$_lifk00zugr5xds82; } private $_iket75z46t346ib2f5a9nfnxjg; public function get_SoundEnabled() { return $this->_iket75z46t346ib2f5a9nfnxjg; } public function set_SoundEnabled($_1mtrjb2r4t1z1adeooc6xghwqp) { $this->_iket75z46t346ib2f5a9nfnxjg = (bool)$_1mtrjb2r4t1z1adeooc6xghwqp; } private $_Omjcnbqw6dd3p9carskzf; public function get_SoundTooltip() { return $this->_Omjcnbqw6dd3p9carskzf; } public function set_SoundTooltip($_o9gw1kuc0tqf3l7rd6x2cap12m) { $this->_Omjcnbqw6dd3p9carskzf = (string)$_o9gw1kuc0tqf3l7rd6x2cap12m; } private $_oni1c0at9hhrtljspgzuyviidy; public function get_SoundIconUrl() { return $this->_oni1c0at9hhrtljspgzuyviidy; } public function set_SoundIconUrl($_o2pxy8p6sb6xl29nedoi6) { $this->_oni1c0at9hhrtljspgzuyviidy = (string)$_o2pxy8p6sb6xl29nedoi6; } private $_ln3zwo6nrgf3byjz; public function get_ReloadEnabled() { return $this->_ln3zwo6nrgf3byjz; } public function set_ReloadEnabled($_I17jwfx3c94aqk4g) { $this->_ln3zwo6nrgf3byjz = (bool)$_I17jwfx3c94aqk4g; } private $_Ipyjo98resarnlke7yvlgq1ryl; public function get_ReloadTooltip() { return $this->_Ipyjo98resarnlke7yvlgq1ryl; } public function set_ReloadTooltip($_lo1ps4eyy5qqselyb5judot0m7) { $this->_Ipyjo98resarnlke7yvlgq1ryl = (string)$_lo1ps4eyy5qqselyb5judot0m7; } private $_i4eox1592895afms; public function get_ReloadIconUrl() { return $this->_i4eox1592895afms; } public function set_ReloadIconUrl($_own65bdl7ku40vzn) { $this->_i4eox1592895afms = (string) $_own65bdl7ku40vzn; } public function get_IsSolved() { return LBD_Persistence_Load("\x4c\102\x44\x5f\111\163\x53\157\154\166\x65\144\x5f" . $this->CaptchaId); } public function Reset() { LBD_Persistence_Clear("\114\102\104\x5f\x49\163\x53\x6f\x6c\x76\x65\x64\137" . $this->CaptchaId); } private $_02nop6m3p32ckc58n7kmjhxd81; private $_omree4wpuve1tw3v; protected function get_HiddenFieldId() { return "\114\102\x44\137\126\103\x49\x44\x5f{$this->CaptchaId}"; } protected function Load() { $this->_ibs9l9fkapwg8auw->Load(); } protected function Save() { $this->_ibs9l9fkapwg8auw->Save(); } public function Validate($_oz9xwkuy1zop4ycw = null, $_1oaz14m24vum1dmn = null) { if (!isset($_oz9xwkuy1zop4ycw) && array_key_exists($this->UserInputId, $_REQUEST)) { $_oz9xwkuy1zop4ycw = $_REQUEST[$this->UserInputId]; $_oz9xwkuy1zop4ycw = trim($_oz9xwkuy1zop4ycw); } if (!isset($_1oaz14m24vum1dmn) && array_key_exists($this->HiddenFieldId, $_REQUEST)) { $_1oaz14m24vum1dmn = $_REQUEST[$this->HiddenFieldId]; } if (!isset($_oz9xwkuy1zop4ycw) || !(isset($_1oaz14m24vum1dmn))) { return false; } $_Of3mueg7dwqj91xfydganxq4ce = $this->_ibs9l9fkapwg8auw->Validate($_oz9xwkuy1zop4ycw, $_1oaz14m24vum1dmn, 1 ); if ($_Of3mueg7dwqj91xfydganxq4ce) { LBD_Persistence_Save("\x4c\x42\104\x5f\x49\163\123\157\154\166\x65\144\x5f" . $this->CaptchaId, true); } else { LBD_Persistence_Clear("\x4c\102\104\x5f\111\x73\x53\x6f\154\x76\x65\144\x5f" . $this->CaptchaId); } return $_Of3mueg7dwqj91xfydganxq4ce; } public function AjaxValidate() { return false; } public function get_SoundFilename() { if (1 == $this->SoundFormat) { return "\x63\141\160\164\x63\x68\x61\137{$this->InstanceId}\56\x77\141\x76"; } else if (2 == $this->SoundFormat) { return "\143\x61\160\x74\143\x68\x61\x5f{$this->InstanceId}\x2e\x77\141\x76"; } } public static function IsFree() { return false; } public function get_TotalWidth() { return $this->ImageWidth + $this->get_IconsDivWidth() + 6; } public function get_TotalHeight() { return $this->ImageHeight; } public function get_IconWidth() { if (0 == strcmp($this->ReloadIconUrl, "\x42\x6f\x74\x44\145\x74\145\143\x74\x2f\122\145\x73\x6f\165\x72\x63\x65\x73\x2f\122\145\154\157\141\x64\x49\143\x6f\x6e\x2e\x67\151\x66")) { return 22; } else if (0 == strcmp($this->ReloadIconUrl, "\102\x6f\164\104\x65\x74\x65\143\164\x2f\122\x65\163\157\165\162\x63\145\163\x2f\123\155\141\154\x6c\x52\145\x6c\157\141\144\111\x63\x6f\x6e\56\x67\x69\146")) { return 17; } else { return 22; } } public function get_IconSpaing() { return 2; } public function get_IconsDivWidth() { if ($this->_02nop6m3p32ckc58n7kmjhxd81) { return 2 * $this->get_IconWidth() + 4 * $this->get_IconSpaing(); } else { return $this->get_IconWidth() + $this->get_IconSpaing(); } } public function get_CaptchaImageUrl() { $_0szsvyqeoeq7bsryeo0by = CaptchaHttpCommand::GetQuerystring(0 , $this->CaptchaId, $this->InstanceId); return htmlentities("\x42\x6f\x74\x44\x65\x74\145\143\x74\57\103\x61\x70\164\x63\150\141\x48\141\156\x64\154\x65\x72\x2e\160\150\x70{$_0szsvyqeoeq7bsryeo0by}"); } public function get_CaptchaSoundUrl() { $_Iqg8id66l5hn6b5dfjicm = CaptchaHttpCommand::GetQuerystring(1 , $this->CaptchaId, $this->InstanceId); return htmlentities("\102\x6f\164\104\145\164\145\x63\x74\57\103\x61\160\164\143\x68\141\110\141\156\144\154\145\x72\56\160\x68\160{$_Iqg8id66l5hn6b5dfjicm}"); } public function get_ImageClientId() { return "{$this->CaptchaId}\x5f\103\x61\x70\164\x63\150\141\111\155\x61\147\145"; } public function get_RenderIcons() { return ($this->_iket75z46t346ib2f5a9nfnxjg || $this->_ln3zwo6nrgf3byjz); } public function get_IsTabIndexSet() { $_Itv81koeer6mj2xnery4d19r86 = false; if (-1 != $this->TabIndex) { $_Itv81koeer6mj2xnery4d19r86 = true; } return $_Itv81koeer6mj2xnery4d19r86; } public function Html() { $this->Save(); if (0 == strcmp($GLOBALS["\x4c\x42\x44\137\x43\x6f\156\x66\x69\x67\x75\162\141\x74\151\157\156\137\123\157\x75\x6e\x64\111\143\x6f\x6e\125\162\154"], "\x42\157\164\x44\145\164\145\143\164\57\x52\x65\163\157\x75\162\143\x65\163\57\123\157\x75\156\144\111\x63\x6f\156\x2e\147\151\146") && 0 == strcmp($GLOBALS["\114\x42\104\x5f\103\157\x6e\146\151\x67\165\162\x61\164\x69\x6f\x6e\x5f\x52\145\x6c\157\x61\144\111\x63\x6f\x6e\125\162\154"], "\102\x6f\x74\x44\145\164\x65\143\x74\x2f\x52\x65\x73\157\x75\x72\143\x65\163\x2f\122\145\154\157\x61\144\111\x63\x6f\x6e\56\x67\x69\x66")) { if ($this->ImageHeight < 50) { $this->_omree4wpuve1tw3v = true; } else { $this->_omree4wpuve1tw3v = false; } if ($this->ImageHeight < 40) { $this->_02nop6m3p32ckc58n7kmjhxd81 = true; } else { $this->_02nop6m3p32ckc58n7kmjhxd81 = false; } if ($this->_omree4wpuve1tw3v) { $this->_i4eox1592895afms = "\102\x6f\164\x44\145\164\145\143\x74\x2f\x52\145\x73\x6f\x75\162\143\145\x73\57\123\155\x61\154\x6c\x52\x65\x6c\157\141\x64\111\143\157\x6e\x2e\x67\151\146"; $this->_oni1c0at9hhrtljspgzuyviidy = "\x42\157\164\x44\x65\164\145\x63\x74\57\122\145\x73\157\165\162\x63\x65\163\57\123\x6d\x61\154\154\123\157\x75\156\x64\111\x63\x6f\156\x2e\x67\151\x66"; } else { $this->_i4eox1592895afms = "\102\157\164\x44\145\164\x65\143\x74\57\x52\145\163\157\165\x72\x63\145\163\57\122\x65\154\x6f\141\144\111\x63\x6f\156\56\x67\151\x66"; $this->_oni1c0at9hhrtljspgzuyviidy = "\102\x6f\164\104\x65\164\145\x63\164\57\122\145\x73\157\165\x72\143\x65\163\57\123\157\165\156\144\111\x63\157\x6e\56\147\151\146"; } } $_I8dhg5okxkfgmgd35poik = $this->m_TabIndex; $_02b05a1kbrrexd72m2ftc = "\r\n\x3c\144\x69\166\40\143\x6c\141\163\163\75\"\114\102\x44\x5f\103\141\160\x74\x63\x68\141\x44\x69\166\"\40\151\x64\75\"{$this->CaptchaId}\x5f\x43\141\160\x74\143\150\x61\104\x69\x76\"\40\x73\164\x79\154\145\75\"\167\x69\144\x74\x68\x3a{$this->TotalWidth}\x70\x78\x3b\x20\150\x65\151\x67\x68\164\x3a{$this->TotalHeight}\x70\x78\73\"\76\r\n"; $_02b05a1kbrrexd72m2ftc .= "\x20\40\74\x64\x69\166\40\143\154\x61\163\x73\x3d\"\114\x42\x44\x5f\x43\141\160\x74\x63\x68\141\111\x6d\141\147\x65\104\151\x76\"\40\151\144\75\"{$this->CaptchaId}\137\103\x61\160\164\x63\150\x61\111\155\x61\147\145\104\x69\x76\"\40\x73\x74\171\154\x65\75\"\167\x69\144\x74\x68\72{$this->ImageWidth}\x70\x78\x20\41\x69\155\x70\157\162\x74\141\x6e\x74\x3b\x20\x68\x65\x69\x67\150\x74\x3a{$this->ImageHeight}\x70\x78\40\41\151\x6d\160\x6f\x72\164\141\156\x74\x3b\"\x3e\x3c\x21\x2d\55\r\n"; if ($this->IsTabIndexSet) { $_02b05a1kbrrexd72m2ftc .="\40\40\x20\55\x2d\76\74\141\40\164\x61\162\147\145\164\75\"\x5f\x62\x6c\x61\156\x6b\"\x20\150\162\145\x66\x3d\"{$this->HelpLinkUrl}\"\x20\164\151\x74\154\x65\x3d\"{$this->HelpLinkTooltip}\"\40\164\141\x62\151\x6e\x64\x65\170\75\"{$_I8dhg5okxkfgmgd35poik}\"\40\x6f\x6e\x63\154\x69\143\153\x3d\"{$this->CaptchaId}\56\x4f\156\110\145\x6c\x70\114\x69\156\x6b\x43\154\x69\143\153\x28\x29\73\40\162\x65\x74\x75\x72\156\x20{$this->CaptchaId}\x2e\x46\157\x6c\154\x6f\167\110\145\154\160\x4c\151\156\x6b\73\"\x3e\x3c\151\x6d\x67\x20\x63\154\141\163\163\75\"\x4c\102\104\137\x43\141\x70\164\x63\x68\141\x49\155\x61\147\x65\"\40\151\x64\75\"{$this->ImageClientId}\"\40\163\x72\143\75\"{$this->CaptchaImageUrl}\"\40\x61\x6c\x74\75\"{$this->HelpLinkTooltip}\"\40\57\76\x3c\x2f\x61\76\x3c\41\x2d\x2d\r\n"; $_I8dhg5okxkfgmgd35poik++; } else { $_02b05a1kbrrexd72m2ftc .="\x20\x20\x20\x2d\x2d\76\74\141\40\x74\141\x72\x67\145\164\75\"\x5f\x62\x6c\141\156\x6b\"\x20\150\162\145\146\x3d\"{$this->HelpLinkUrl}\"\x20\x74\x69\x74\x6c\145\x3d\"{$this->HelpLinkTooltip}\"\x20\x6f\156\x63\154\151\143\x6b\x3d\"{$this->CaptchaId}\56\x4f\x6e\x48\x65\154\160\114\151\156\153\103\154\151\x63\153\x28\x29\x3b\x20\x72\145\164\x75\162\156\x20{$this->CaptchaId}\x2e\106\x6f\154\154\x6f\167\110\x65\154\x70\x4c\151\x6e\x6b\73\"\76\74\151\x6d\x67\40\x63\154\141\163\x73\x3d\"\x4c\x42\x44\x5f\x43\x61\160\164\x63\x68\x61\x49\x6d\141\147\145\"\40\151\144\75\"{$this->ImageClientId}\"\40\163\162\x63\x3d\"{$this->CaptchaImageUrl}\"\40\141\x6c\164\x3d\"{$this->HelpLinkTooltip}\"\x20\x2f\76\74\57\x61\76\x3c\41\x2d\55\r\n"; } if ($this->RenderIcons) { $_02b05a1kbrrexd72m2ftc .= "\x20\x2d\x2d\x3e\x3c\57\x64\151\166\x3e\x3c\x21\55\x2d\r\n"; } else { $_02b05a1kbrrexd72m2ftc .= "\x20\55\x2d\x3e\74\57\144\x69\166\x3e\r\n"; } if ($this->RenderIcons) { $_02b05a1kbrrexd72m2ftc .= "\40\x2d\x2d\76\x3c\144\x69\x76\x20\143\x6c\141\163\x73\75\"\114\x42\104\137\x43\x61\160\164\143\x68\141\111\x63\x6f\x6e\163\104\151\x76\"\x20\x69\144\x3d\"{$this->CaptchaId}\137\x43\x61\160\x74\x63\150\x61\x49\143\x6f\x6e\163\x44\151\166\"\x20\163\164\171\154\x65\x3d\"\x77\x69\144\x74\150\x3a\x20{$this->IconsDivWidth}\160\x78\x20\41\x69\x6d\x70\157\162\x74\141\156\x74\73\"\76\74\41\x2d\55\r\n"; if ($this->ReloadEnabled) { if ($this->IsTabIndexSet) { $_02b05a1kbrrexd72m2ftc .= "\40\x20\x20\55\55\x3e\x3c\x61\x20\x63\x6c\x61\163\163\x3d\"\x4c\x42\x44\137\122\145\x6c\x6f\x61\x64\x4c\151\x6e\x6b\"\x20\x69\144\x3d\"{$this->CaptchaId}\137\x52\x65\154\157\x61\x64\x4c\x69\x6e\153\"\40\x68\162\x65\x66\75\"\43\"\40\164\141\142\151\156\144\x65\x78\75\"{$_I8dhg5okxkfgmgd35poik}\"\x20\157\156\143\154\x69\143\153\75\"{$this->CaptchaId}\x2e\x52\145\154\157\141\x64\x49\x6d\141\147\145\x28\51\73\x20\164\150\151\163\56\142\154\x75\x72\x28\x29\x3b\x20\x72\145\164\x75\162\156\x20\x66\x61\154\163\x65\x3b\"\40\164\151\x74\x6c\x65\75\"{$this->ReloadTooltip}\"\x3e\74\151\x6d\147\40\x63\154\141\163\x73\x3d\"\x4c\102\104\137\122\145\x6c\x6f\x61\144\111\x63\157\156\"\40\x69\144\75\"{$this->CaptchaId}\x5f\x52\145\154\157\141\x64\111\x63\157\x6e\"\x20\x73\162\x63\x3d\"{$this->ReloadIconUrl}\"\x20\x61\x6c\164\x3d\"{$this->ReloadTooltip}\"\x20\x2f\76\x3c\57\141\x3e\74\x21\x2d\x2d\r\n"; $_I8dhg5okxkfgmgd35poik++; } else { $_02b05a1kbrrexd72m2ftc .= "\40\40\x20\x2d\x2d\76\x3c\141\x20\143\154\141\x73\x73\x3d\"\114\102\x44\137\122\x65\x6c\157\141\x64\x4c\x69\x6e\153\"\x20\151\x64\75\"{$this->CaptchaId}\x5f\122\x65\x6c\x6f\x61\x64\114\x69\156\153\"\40\150\162\145\146\x3d\"\43\"\x20\x6f\156\x63\x6c\151\x63\153\x3d\"{$this->CaptchaId}\x2e\122\x65\154\157\x61\x64\x49\155\141\x67\x65\x28\x29\73\x20\x74\x68\151\x73\x2e\142\x6c\165\x72\x28\x29\73\40\162\145\164\x75\162\156\x20\146\x61\154\x73\x65\x3b\"\40\x74\x69\164\x6c\x65\x3d\"{$this->ReloadTooltip}\"\76\x3c\151\x6d\x67\40\x63\154\x61\163\163\75\"\x4c\102\x44\137\122\x65\154\157\x61\144\111\x63\x6f\x6e\"\x20\151\144\x3d\"{$this->CaptchaId}\x5f\122\x65\154\157\x61\144\111\x63\x6f\156\"\x20\163\x72\x63\x3d\"{$this->ReloadIconUrl}\"\x20\141\x6c\164\75\"{$this->ReloadTooltip}\"\40\x2f\76\74\57\141\76\74\x21\55\x2d\r\n"; } } if ($this->SoundEnabled) { if ($this->IsTabIndexSet) { $_02b05a1kbrrexd72m2ftc .= "\x20\40\x20\55\x2d\x3e\x3c\141\x20\x63\154\x61\x73\163\x3d\"\114\102\104\x5f\x53\157\165\x6e\x64\x4c\x69\156\x6b\"\x20\151\144\x3d\"{$this->CaptchaId}\137\x53\157\x75\x6e\144\x4c\x69\x6e\x6b\"\40\x68\162\x65\x66\75\"{$this->CaptchaSoundUrl}\"\40\164\x61\x62\x69\x6e\144\x65\170\75\"\173\x34\x7d\"\40\157\x6e\143\x6c\151\x63\153\75\"{$this->CaptchaId}\56\x50\x6c\141\171\x53\x6f\165\156\x64\50\x29\x3b\40\164\150\x69\163\56\142\154\165\x72\50\51\x3b\40\162\145\164\x75\x72\156\x20\146\x61\x6c\163\x65\73\"\40\164\x69\x74\154\145\x3d\"{$this->SoundTooltip}\"\x3e\74\x69\155\x67\x20\143\x6c\141\163\x73\x3d\"\x4c\102\104\137\x53\x6f\x75\156\144\x49\143\157\x6e\"\40\151\144\x3d\"{$this->CaptchaId}\137\123\157\165\x6e\144\x49\x63\x6f\156\"\x20\x73\x72\x63\75\"{$this->SoundIconUrl}\"\x20\141\x6c\164\x3d\"{$this->SoundTooltip}\"\x20\x2f\76\74\57\141\x3e\x3c\41\55\x2d\r\n"; } else { $_02b05a1kbrrexd72m2ftc .= "\40\x20\40\x2d\x2d\x3e\74\141\40\x63\154\x61\163\163\75\"\114\x42\x44\x5f\123\157\x75\x6e\144\114\x69\x6e\x6b\"\40\151\x64\75\"{$this->CaptchaId}\137\123\x6f\165\x6e\144\114\151\156\x6b\"\40\x68\x72\145\x66\x3d\"{$this->CaptchaSoundUrl}\"\40\x6f\156\143\x6c\x69\143\x6b\75\"{$this->CaptchaId}\56\x50\x6c\141\171\x53\x6f\x75\x6e\144\x28\51\x3b\40\164\150\151\163\x2e\142\x6c\x75\x72\x28\x29\x3b\x20\x72\145\x74\165\x72\156\40\x66\141\x6c\163\145\x3b\"\x20\x74\151\x74\x6c\x65\x3d\"{$this->SoundTooltip}\"\76\74\151\x6d\147\40\143\x6c\x61\x73\x73\x3d\"\x4c\102\104\x5f\x53\x6f\x75\156\144\111\x63\x6f\156\"\x20\x69\x64\x3d\"{$this->CaptchaId}\x5f\x53\157\x75\156\x64\x49\x63\x6f\156\"\x20\x73\x72\x63\75\"{$this->SoundIconUrl}\"\x20\x61\x6c\x74\x3d\"{$this->SoundTooltip}\"\40\x2f\76\x3c\57\x61\76\74\x21\x2d\x2d\r\n"; } } if ($this->SoundEnabled) { $_02b05a1kbrrexd72m2ftc .="\40\x20\x20\x2d\x2d\x3e\x3c\144\x69\x76\40\143\154\x61\x73\163\x3d\"\114\x42\x44\137\120\154\141\143\145\150\x6f\x6c\144\145\x72\"\40\x69\144\75\"{$this->CaptchaId}\137\x41\165\x64\151\157\x50\x6c\141\x63\145\150\x6f\x6c\144\x65\x72\"\76\x26\x6e\142\x73\x70\x3b\74\x2f\144\151\166\76\x3c\41\x2d\x2d\r\n"; } $_02b05a1kbrrexd72m2ftc .= "\40\55\x2d\x3e\x3c\57\x64\x69\x76\x3e\r\n"; } $_I6yvdn4bfkgxqb8yukx0uf172x = $GLOBALS["\114\x42\104\x5f\x43\157\156\x66\151\x67\165\x72\x61\x74\151\x6f\x6e\x5f\x41\x75\164\x6f\x46\x6f\x63\x75\163\x49\x6e\x70\165\x74"] ? "\164\x72\x75\145" : "\x66\x61\x6c\x73\145"; $_Omgifcvaon229y1sseqx58b35p = $GLOBALS["\x4c\x42\x44\137\103\157\x6e\x66\x69\x67\165\162\141\164\x69\157\x6e\137\101\165\x74\157\x43\154\145\141\162\111\x6e\x70\165\x74"] ? "\164\162\165\x65" : "\x66\x61\154\x73\145"; $_isz82pb2vzyval0qwya5aggkg7 = $GLOBALS["\x4c\102\x44\x5f\103\157\x6e\146\x69\x67\165\162\141\164\151\x6f\x6e\x5f\x41\x75\x74\x6f\x4c\157\167\x65\x72\x63\x61\x73\145\x49\x6e\160\x75\164"] ? "\x74\162\165\145" : "\146\x61\x6c\x73\x65"; $_O71pxhd8kg31qmfm = $GLOBALS["\114\x42\x44\x5f\x43\x6f\x6e\146\x69\x67\x75\x72\x61\164\151\x6f\156\x5f\101\165\164\x6f\x52\145\x6c\157\141\144\x45\170\x70\x69\162\145\x64\x43\x61\160\x74\x63\x68\x61\x73"] ? "\164\162\x75\x65" : "\146\141\x6c\x73\145"; $_ovlsms3z8u62thohghlpf6i5gi = $GLOBALS["\x4c\102\x44\x5f\103\x6f\x6e\x66\x69\147\x75\162\x61\164\151\157\156\x5f\101\x75\x74\x6f\122\145\x6c\157\x61\144\124\151\155\145\x6f\165\x74"] ? "\x74\x72\165\x65" : "\146\141\154\x73\x65"; $_02b05a1kbrrexd72m2ftc .= "\40\x20\x20\x20\x3c\163\143\162\151\160\164\x20\163\x72\143\x3d\"\x42\x6f\164\x44\145\x74\145\143\164\x2f\122\145\163\157\x75\162\x63\x65\163\57\x53\x63\x72\x69\x70\x74\163\x2e\152\163\"\40\x74\171\160\x65\75\"\164\x65\x78\164\x2f\x6a\141\x76\141\x73\143\x72\x69\160\164\"\x3e\x3c\57\x73\x63\162\151\x70\164\x3e\r\n"; $_02b05a1kbrrexd72m2ftc .= "\x20\40\40\x20\74\x73\143\162\151\160\164\x20\164\171\160\x65\75\"\164\x65\x78\164\57\152\141\x76\141\163\x63\162\151\160\x74\"\76\57\57\x3c\x21\x5b\103\104\101\124\x41\133\r\n"; $_02b05a1kbrrexd72m2ftc .= "\40\40\40\x20\40\x20\102\x6f\x74\x44\x65\x74\145\143\164\56\111\156\151\x74\x28\x27{$this->CaptchaId}\47\x2c\x20\x27{$this->UserInputId}\47\x2c\x20{$_I6yvdn4bfkgxqb8yukx0uf172x}\x2c\40{$_Omgifcvaon229y1sseqx58b35p}\x2c\40{$_isz82pb2vzyval0qwya5aggkg7}\x2c\40{$_O71pxhd8kg31qmfm}\x2c\40{$this->CodeTimeout}\54\x20{$_ovlsms3z8u62thohghlpf6i5gi}\x29\x3b\r\n"; $_02b05a1kbrrexd72m2ftc .="\x20\x20\x20\x20\57\x2f\135\x5d\x3e\x3c\57\163\x63\162\x69\x70\164\x3e\r\n"; $_02b05a1kbrrexd72m2ftc .= "\40\40\x3c\x69\156\x70\x75\x74\40\164\x79\160\145\75\"\150\x69\x64\x64\x65\156\"\40\x6e\x61\155\145\x3d\"{$this->HiddenFieldId}\"\x20\x69\x64\x3d\"{$this->HiddenFieldId}\"\40\166\141\x6c\x75\x65\x3d\"{$this->InstanceId}\"\40\x2f\x3e"; $_02b05a1kbrrexd72m2ftc .= "\r\n\x3c\57\x64\151\166\x3e\r\n"; return $_02b05a1kbrrexd72m2ftc; } public function __get($_Ojiaolyth0jmlf5ii17pu) { if (method_exists($this->_ibs9l9fkapwg8auw, ($_19und566mkv1nurt = "\x67\145\x74\x5f".$_Ojiaolyth0jmlf5ii17pu))) { return $this->_ibs9l9fkapwg8auw->$_19und566mkv1nurt(); } else if (method_exists($this, ($_19und566mkv1nurt = "\147\145\164\137".$_Ojiaolyth0jmlf5ii17pu))) { return $this->$_19und566mkv1nurt(); } else return; } public function __isset($_Ieinp7en2jafb6eo) { if (method_exists($this->_ibs9l9fkapwg8auw, ($_ih7jw355k87dp5m9ct0hj = "\x69\163\x73\x65\164\137".$_Ieinp7en2jafb6eo))) { return $this->_ibs9l9fkapwg8auw->$_ih7jw355k87dp5m9ct0hj(); } else if (method_exists($this, ($_ih7jw355k87dp5m9ct0hj = "\x69\163\x73\145\164\137".$_Ieinp7en2jafb6eo))) { return $this->$_ih7jw355k87dp5m9ct0hj(); } else return; } public function __set($_Ibkmqmmmjvd999gpu6rezsfry1, $_08xlytcalubktobeqmfsu) { if (method_exists($this->_ibs9l9fkapwg8auw, ($_owi4jt6aqog6atd8s9akh = "\x73\x65\164\137".$_Ibkmqmmmjvd999gpu6rezsfry1))) { $this->_ibs9l9fkapwg8auw->$_owi4jt6aqog6atd8s9akh($_08xlytcalubktobeqmfsu); } else if (method_exists($this, ($_owi4jt6aqog6atd8s9akh = "\x73\145\x74\x5f".$_Ibkmqmmmjvd999gpu6rezsfry1))) { $this->$_owi4jt6aqog6atd8s9akh($_08xlytcalubktobeqmfsu); } } public function __unset($_opa27l9cnbwuxybhj681uvicio) { if (method_exists($this->_ibs9l9fkapwg8auw, ($_Ory4m1kcf0eb12bpyxq86 = "\x75\x6e\x73\145\164\x5f".$_opa27l9cnbwuxybhj681uvicio))) { $this->_ibs9l9fkapwg8auw->$_Ory4m1kcf0eb12bpyxq86(); } else if (method_exists($this, ($_Ory4m1kcf0eb12bpyxq86 = "\165\156\x73\x65\x74\137".$_opa27l9cnbwuxybhj681uvicio))) { $this->$_Ory4m1kcf0eb12bpyxq86(); } } } ?>
Return current item: BotDetect CAPTCHA