Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace rokan\olualaraformbuilder; use App\Http\Controllers\Controller; use Illum..

Decoded Output download

<?php 
namespace rokan\olualaraformbuilder; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Str; use Illuminate\Validation\Rule; use rokan\olualaraformbuilder\Interfaces\ApiConsumeInterface; use rokan\olualaraformbuilder\Traits\CommonService; class SingleFormBuilderController extends Controller { use CommonService; public function buildSingleForm() { $dataTypes = $this->getAllDataType(); $htmlInputElements = $this->getAllHTMLInputElement(); $validationRules = $this->getValidationRules('', ''); return view("olualaraformbuilder::single-form", compact("dataTypes", "htmlInputElements", "validationRules")); } public static function getAllDataType($key = null, $exclude = null) { $dataTypes = array("numeric types" => array("tinyInteger" => 4, "smallInteger" => 6, "mediumInteger" => 9, "integer" => 11, "bigInteger" => 20, "float" => array(8, 2), "double" => array(8, 2), "decimal" => array(8, 2)), "date and time types" => array("date" => null, "time" => null, "dateTime" => null, "timestamp" => null, "year" => 4), "string types" => array("char" => 255, "string" => 255, "binary" => 255, "varbinary" => null, "tinyblob" => null, "blob" => null, "mediumblob" => null, "longblob" => null, "tinytext" => null, "text" => null, "mediumtext" => null, "longtext" => null, "enum" => null, "set" => null), "other types" => array("boolean" => null, "json" => null, "geometry" => null, "point" => null, "linestring" => null, "polygon" => null, "geometrycollection" => null, "bit" => 1, "serial" => null)); if ($key) { $value = null; foreach ($dataTypes as $category => $types) { if (isset($types[$key])) { $value = $types[$key]; break; } } return $value; } if ($exclude) { return array_diff_key($dataTypes, array_flip($exclude)); } return $dataTypes; } public static function getAllHTMLInputElement() { return $htmlInputComponents = array("Text" => "text", "Password" => "password", "Email" => "email", "Number" => "number", "Date" => "date", "Time" => "time", "File" => "file", "Multiple File" => "multiple_file", "Single Checkbox" => "checkbox", "Inline Checkbox" => "inline_checkbox", "Multiple Checkbox" => "multiple_checkbox", "Single Radio" => "radio", "Inline Radio" => "inline_radio", "Multiple Radio" => "multiple_radio", "Textarea" => "textarea", "Select" => "select", "Hidden" => "hidden", "Select2" => "select2", "Switches" => "switches"); } public static function getValidationRules($rule = null, $search_key = null) { $rules = array("required" => array("value" => "required", "desc" => "The field is required."), "required_if" => array("value" => "required_if:{another_field}:{value}", "desc" => "The field is required if another field is equal to a certain value."), "required_unless" => array("value" => "required_unless:{another_field}:{value}", "desc" => "The field is required unless another field is equal to a certain value."), "required_with" => array("value" => "required_with:{another_field}", "desc" => "The field is required if another field is present."), "required_without" => array("value" => "required_without:{another_field}", "desc" => "The field is required if another field is not present."), "same" => array("value" => "same:{another_field}", "desc" => "The field must be the same as another field."), "different" => array("value" => "different:{another_field}", "desc" => "The field must be different from another field."), "accepted_if" => array("value" => "accepted_if:{another_field}:{value}", "desc" => "The field must be accepted if another field is equal to a certain value."), "declined_if" => array("value" => "declined_if:{another_field}:{value}", "desc" => "The field must be declined if another field is equal to a certain value."), "missing_if" => array("value" => "missing_if:{another_field}:{value}", "desc" => "The field must be missing if another field is equal to a certain value."), "missing_unless" => array("value" => "missing_unless:{another_field}:{value}", "desc" => "The field must be missing unless another field is equal to a certain value."), "prohibited_if" => array("value" => "prohibited_if:{another_field}:{value}", "desc" => "The field must be prohibited if another field is equal to a certain value."), "prohibited_unless" => array("value" => "prohibited_unless:{another_field}:{value}", "desc" => "The field must be prohibited unless another field is equal to a certain value."), "prohibits" => array("value" => "prohibits:{another_field}", "desc" => "The field must prohibit another field."), "required_if_accepted" => array("value" => "required_if_accepted:{another_field}", "desc" => "The field is required if another field is accepted."), "required_with_all" => array("value" => "required_with_all:{another_field}", "desc" => "The field is required if all of the specified fields are present."), "required_without_all" => array("value" => "required_without_all:{another_field}", "desc" => "The field is required if any of the specified fields are not present."), "string" => array("value" => "string", "desc" => "The field must be a string."), "doesnt_start_with" => array("value" => "doesnt_start_with:{string}", "desc" => "The field must not start with a specified string."), "doesnt_end_with" => array("value" => "doesnt_end_with:{string}", "desc" => "The field must not end with a specified string."), "ends_with" => array("value" => "ends_with:{string}", "desc" => "The field must end with a specified string."), "starts_with" => array("value" => "starts_with:{string}", "desc" => "The field must start with the specified string."), "alpha" => array("value" => "alpha", "desc" => "The field must contain only alphabetic characters."), "alpha_num" => array("value" => "alpha_num", "desc" => "The field must contain only alphabetic and numeric characters."), "alpha_dash" => array("value" => "alpha_dash", "desc" => "The field must contain only alphabetic, numeric, and underscore characters."), "email" => array("value" => "email", "desc" => "The field must contain a valid email address."), "url" => array("value" => "url", "desc" => "The field must contain a valid URL."), "ip" => array("value" => "ip", "desc" => "The field must contain a valid IP address."), "max" => array("value" => "max:{max}", "desc" => "The field must be no more than a certain number of characters."), "min" => array("value" => "min:{min}", "desc" => "The field must be at least a certain number of characters."), "regex" => array("value" => "regex:{regex}", "desc" => "The field must match a certain regular expression."), "confirmed" => array("value" => "confirmed", "desc" => "The field must match the confirmation field."), "unique" => array("value" => "unique:{table},{column}", "desc" => "The field must be unique in the database."), "exists" => array("value" => "exists:{table},{column}", "desc" => "The field must exist in the database."), "size" => array("value" => "size:{size}", "desc" => "The field must be a certain size."), "in" => array("value" => "in:{values}", "desc" => "The field must be one of the specified values."), "not_regex" => array("value" => "not_regex:{regex}", "desc" => "The field must not match a certain regular expression."), "date_equals" => array("value" => "date_equals:{date}", "desc" => "The field must be equal to a certain date."), "date_not_equals" => array("value" => "date_not_equals:{date}", "desc" => "The field must not be equal to a certain date."), "date_after" => array("value" => "date_after:{date}", "desc" => "The field must be after a certain date."), "date_before" => array("value" => "date_before:{date}", "desc" => "The field must be before a certain date."), "date_between" => array("value" => "date_between:{start},{end}", "desc" => "The field must be between two dates."), "file" => array("value" => "file", "desc" => "The field must be a file."), "image" => array("value" => "image", "desc" => "The field must be an image file."), "mimes" => array("value" => "mimes:{mimes}", "desc" => "The field must be a file of a certain MIME type."), "max_size" => array("value" => "max_size:{size}", "desc" => "The file must be no more than a certain size."), "integer" => array("value" => "integer", "desc" => "The field must be an integer."), "numeric" => array("value" => "numeric", "desc" => "The field must be a number."), "accepted" => array("value" => "accepted", "desc" => "The field must be accepted."), "active_url" => array("value" => "active_url", "desc" => "The field must be a valid, active URL."), "decimal" => array("value" => "decimal", "desc" => "The field must be a decimal number."), "declined" => array("value" => "declined", "desc" => "The field must be declined."), "digits" => array("value" => "digits:{digits}", "desc" => "The field must be a numeric value with a specified number of digits."), "digits_between" => array("value" => "digits_between:{min},{max}", "desc" => "The field must be a numeric value with a specified number of digits, between two specified values."), "dimensions" => array("value" => "dimensions:{width},{height}", "desc" => "The image file must have the specified dimensions."), "distinct" => array("value" => "distinct", "desc" => "The field must contain unique values."), "filled" => array("value" => "filled", "desc" => "The field must be filled."), "greater_than" => array("value" => "gt:{value}", "desc" => "The field must be greater than a specified value."), "greater_than_or_equal" => array("value" => "gte:{value}", "desc" => "The field must be greater than or equal to a specified value."), "in_array" => array("value" => "in_array", "desc" => "The field must be present in the specified array."), "ip_address" => array("value" => "ip", "desc" => "The field must be a valid IP address."), "less_than" => array("value" => "lt:{value}", "desc" => "The field must be less than a specified value."), "less_than_or_equal" => array("value" => "lte:{value}", "desc" => "The field must be less than or equal to a specified value."), "lowercase" => array("value" => "lowercase", "desc" => "The field must contain only lowercase characters."), "mac_address" => array("value" => "mac_address", "desc" => "The field must be a valid MAC address."), "max_digits" => array("value" => "max_digits:{digits}", "desc" => "The field must be a numeric value with no more than a specified number of digits."), "mime_types" => array("value" => "mimetypes:{mimetypes}", "desc" => "The file must have one of the specified MIME types."), "mime_type_by_file_extension" => array("value" => "mimetype_by_extension:{extension}", "desc" => "The file must have the specified MIME type based on its file extension."), "min_digits" => array("value" => "min_digits:{digits}", "desc" => "The field must be a numeric value with at least a specified number of digits."), "missing" => array("value" => "missing", "desc" => "The field must be missing."), "password" => array("value" => "password", "desc" => "The field must be a valid password."), "present" => array("value" => "present", "desc" => "The field must be present."), "prohibited" => array("value" => "prohibited", "desc" => "The field must be prohibited."), "required_array_keys" => array("value" => "required_array_keys:{keys}", "desc" => "The array must have the specified keys."), "sometimes" => array("value" => "sometimes", "desc" => "The field is not required, but may be present."), "timezone" => array("value" => "timezone", "desc" => "The field must be a valid timezone."), "uppercase" => array("value" => "uppercase", "desc" => "The field must contain only uppercase characters."), "ulid" => array("value" => "ulid", "desc" => "The field must be a valid ULID."), "uuid" => array("value" => "uuid", "desc" => "The field must be a valid UUID.")); if ($rule) { if (array_key_exists($rule, $rules)) { return array($rule => $rules[$rule]); } else { return array(); } } if ($search_key) { $filteredRules = array(); foreach ($rules as $ruleKey => $ruleData) { if (str_contains($ruleKey, $search_key)) { $filteredRules[$ruleKey] = $ruleData; } } if (!empty($filteredRules)) { return $filteredRules; } else { return array(); } } return $rules; } public function submitSingleForm(Request $request, ApiConsumeInterface $apiConsumeInterface) { $data = $request->all(); $module_name = $data["name"]; $columns = array(); $rules = array("name" => array("required", Rule::unique("app_generators")->where(function ($query) use($module_name) { return $query->where("name", Str::plural(Str::snake($module_name)))->where("ddl_mode", "CREATE"); }))); $messages = array("name.required" => "The name field is required.", "name.unique" => "This table name already created. you can alter or drop only"); $data["name"] = Str::plural(Str::snake($module_name)); $validator = Validator::make($data, $rules, $messages); if ($validator->fails()) { return redirect()->back()->withErrors($validator)->withInput(); } foreach ($data["field_name"] as $key => $val) { $columns[] = array("name" => $val, "type" => $data["data_type"][$key], "level" => $data["level_name"][$key], "fieldSize" => $data["field_size"][$key], "default" => $data["default"][$key], "nullable" => $data["nullable"][$key], "inputType" => $data["input_type"][$key]); } $columns[0]["validation_attribute"] = $data["validation_attribute"] ?? array(); try { $actions = $this->getEndPoints(); foreach ($actions as $action) { $content = $apiConsumeInterface->callApi($action["endpoint"], $module_name, $columns, config("olua.bladeLayout.header"), config("olua.bladeLayout.script")); if (!in_array($action["endpoint_key"], array("nav", "route", "html"))) { $filePath = $this->checkDirectory($action["destination"], $action["endpoint_key"], $content->{$action["file_key"]}, $module_name); file_put_contents($filePath, $content->{$action["content_key"]}); } if ($action["endpoint_key"] === "html") { $directory = $action["destination"] . Str::plural(Str::snake($module_name)); if (!is_dir($directory)) { mkdir($directory, 493, true); } $htmlFilePath = $directory . "/"; foreach (array("index", "edit", "create") as $contentType) { $htmlFileContent = $content->{$contentType}; if (!$htmlFileContent) { Log::error("Failed to fetch content to {$contentType} page"); throw new \Exception("No {$contentType} content found in response"); } $FilePath = $htmlFilePath . $htmlFileContent->file; $writeSuccess = file_put_contents($FilePath, $htmlFileContent->content); if ($writeSuccess === false) { Log::error("Failed to write content to {$contentType} page"); throw new Exception("Failed to write content to {$contentType} page"); } } } if ($action["endpoint_key"] === "route" || $action["endpoint_key"] === "nav") { Log::error("fetch to destination " . $action["destination"] . " " . $action["endpoint_key"]); $updatedContent = $this->updateExistingFileContent($action["destination"], $action["endpoint_key"], $content, $action); $writeSuccess = file_put_contents($action["destination"], $updatedContent); if ($writeSuccess === false) { Log::error("Failed to write content to " . $action["endpoint_key"]); throw new Exception("Failed to write content to " . $action["endpoint_key"]); } } } $request->session()->flash("success", "All files created successfully"); return redirect()->route("build.single-form"); } catch (\Exception $e) { Log::error("Single orm Error: " . $e); $request->session()->flash("error", "Internal Server Error"); return redirect()->route("build.single-form"); } } } ?>

Did this file decode correctly?

Original Code

<?php
namespace rokan\olualaraformbuilder; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Str; use Illuminate\Validation\Rule; use rokan\olualaraformbuilder\Interfaces\ApiConsumeInterface; use rokan\olualaraformbuilder\Traits\CommonService; class SingleFormBuilderController extends Controller { use CommonService; public function buildSingleForm() { $dataTypes = $this->getAllDataType(); $htmlInputElements = $this->getAllHTMLInputElement(); $validationRules = $this->getValidationRules('', ''); return view("\x6f\x6c\165\x61\154\141\162\141\x66\x6f\162\155\x62\x75\x69\154\144\x65\x72\72\x3a\x73\151\156\147\154\145\x2d\146\x6f\162\x6d", compact("\x64\141\x74\141\x54\x79\160\x65\x73", "\150\164\155\154\111\156\x70\x75\164\x45\x6c\145\x6d\145\156\164\163", "\166\x61\x6c\x69\x64\141\x74\151\x6f\156\122\x75\154\x65\163")); } public static function getAllDataType($key = null, $exclude = null) { $dataTypes = array("\156\x75\155\x65\x72\151\143\40\x74\x79\x70\145\163" => array("\x74\x69\156\x79\111\156\164\x65\147\145\162" => 4, "\163\155\x61\x6c\154\111\x6e\164\x65\147\x65\x72" => 6, "\155\145\144\x69\x75\155\111\x6e\x74\x65\147\145\162" => 9, "\151\x6e\164\x65\147\x65\x72" => 11, "\x62\151\x67\111\x6e\164\x65\x67\145\162" => 20, "\146\154\x6f\x61\164" => array(8, 2), "\144\157\165\x62\154\145" => array(8, 2), "\x64\145\143\x69\155\141\154" => array(8, 2)), "\144\x61\164\x65\x20\141\x6e\x64\x20\x74\x69\x6d\145\40\x74\171\160\x65\x73" => array("\144\141\164\145" => null, "\x74\x69\155\145" => null, "\x64\141\164\x65\124\151\155\x65" => null, "\164\151\x6d\145\x73\x74\x61\155\160" => null, "\x79\145\x61\x72" => 4), "\x73\x74\162\151\x6e\147\x20\x74\x79\160\145\x73" => array("\143\x68\x61\x72" => 255, "\163\164\162\x69\x6e\147" => 255, "\142\x69\x6e\141\x72\171" => 255, "\166\141\162\142\151\156\x61\x72\171" => null, "\x74\x69\x6e\x79\x62\x6c\x6f\142" => null, "\x62\154\x6f\x62" => null, "\155\x65\x64\151\165\155\x62\x6c\157\142" => null, "\154\157\x6e\x67\x62\x6c\157\x62" => null, "\x74\151\156\171\164\x65\x78\164" => null, "\x74\x65\x78\x74" => null, "\155\x65\144\151\x75\155\x74\145\x78\164" => null, "\154\x6f\156\147\164\x65\170\164" => null, "\x65\x6e\165\155" => null, "\163\145\x74" => null), "\157\164\150\x65\x72\x20\x74\171\160\145\163" => array("\142\157\157\x6c\145\x61\x6e" => null, "\x6a\163\x6f\x6e" => null, "\147\145\x6f\155\145\x74\162\171" => null, "\x70\157\151\156\x74" => null, "\154\x69\156\x65\163\164\x72\x69\x6e\147" => null, "\160\157\154\171\147\x6f\x6e" => null, "\147\x65\x6f\x6d\x65\x74\162\171\143\x6f\x6c\154\x65\x63\x74\151\157\156" => null, "\142\x69\x74" => 1, "\x73\x65\162\151\141\x6c" => null)); if ($key) { $value = null; foreach ($dataTypes as $category => $types) { if (isset($types[$key])) { $value = $types[$key]; break; } } return $value; } if ($exclude) { return array_diff_key($dataTypes, array_flip($exclude)); } return $dataTypes; } public static function getAllHTMLInputElement() { return $htmlInputComponents = array("\124\x65\x78\164" => "\164\x65\170\164", "\x50\141\163\x73\x77\x6f\x72\144" => "\160\x61\163\163\x77\157\x72\x64", "\105\x6d\x61\151\154" => "\x65\155\141\x69\154", "\116\x75\155\x62\145\x72" => "\x6e\165\x6d\142\x65\162", "\104\x61\164\145" => "\144\x61\164\x65", "\124\151\155\x65" => "\164\151\x6d\x65", "\106\x69\x6c\x65" => "\x66\151\154\x65", "\115\165\154\164\151\160\154\x65\40\x46\x69\x6c\145" => "\x6d\x75\154\x74\151\160\154\x65\x5f\x66\x69\154\x65", "\123\151\156\x67\x6c\145\x20\103\150\x65\x63\x6b\x62\157\x78" => "\143\150\x65\143\153\142\x6f\x78", "\111\x6e\x6c\x69\x6e\145\40\103\150\145\143\153\142\x6f\x78" => "\x69\x6e\x6c\151\156\145\x5f\143\150\x65\143\x6b\142\x6f\170", "\x4d\x75\x6c\164\151\160\154\145\x20\x43\150\x65\x63\x6b\x62\x6f\x78" => "\x6d\x75\x6c\164\151\160\x6c\145\x5f\x63\x68\145\143\153\x62\x6f\x78", "\123\x69\x6e\147\154\145\x20\122\x61\144\151\x6f" => "\162\x61\x64\x69\157", "\111\x6e\x6c\x69\x6e\145\x20\x52\x61\144\x69\157" => "\151\x6e\154\x69\x6e\x65\137\x72\x61\x64\x69\x6f", "\x4d\x75\154\x74\x69\160\154\145\40\x52\x61\x64\x69\157" => "\x6d\165\154\164\x69\x70\x6c\x65\x5f\162\x61\x64\151\x6f", "\x54\145\x78\x74\x61\x72\x65\141" => "\x74\145\x78\x74\x61\162\x65\x61", "\x53\145\154\145\143\x74" => "\163\145\154\145\x63\x74", "\x48\x69\x64\x64\145\156" => "\150\x69\x64\144\145\x6e", "\x53\x65\154\145\143\x74\62" => "\x73\145\154\145\x63\x74\x32", "\x53\x77\151\164\143\x68\x65\163" => "\x73\167\x69\x74\x63\x68\x65\163"); } public static function getValidationRules($rule = null, $search_key = null) { $rules = array("\162\x65\161\165\151\x72\145\144" => array("\166\141\x6c\x75\145" => "\x72\x65\161\x75\x69\162\145\x64", "\x64\x65\x73\x63" => "\124\150\x65\x20\146\x69\145\154\x64\x20\151\x73\40\162\145\x71\x75\x69\x72\145\x64\56"), "\162\145\161\x75\151\162\x65\144\137\151\146" => array("\x76\141\154\x75\145" => "\162\145\161\x75\x69\x72\x65\x64\x5f\151\146\x3a\x7b\141\x6e\157\x74\150\x65\x72\137\146\x69\145\154\x64\175\x3a\173\x76\141\x6c\165\x65\175", "\x64\145\x73\x63" => "\124\150\x65\40\x66\x69\x65\x6c\144\x20\151\163\x20\x72\x65\x71\x75\x69\162\145\x64\x20\x69\x66\40\141\x6e\x6f\164\x68\145\162\x20\x66\x69\145\x6c\x64\40\151\x73\x20\145\161\x75\141\x6c\x20\x74\x6f\40\141\x20\x63\x65\162\164\x61\x69\156\x20\166\141\x6c\165\145\56"), "\162\145\x71\165\151\x72\145\144\137\165\156\x6c\145\163\163" => array("\x76\141\x6c\165\145" => "\162\145\x71\165\151\x72\x65\x64\x5f\165\156\154\145\x73\163\x3a\x7b\141\x6e\x6f\x74\150\145\162\137\x66\151\x65\154\x64\x7d\72\173\x76\x61\154\x75\145\175", "\x64\x65\x73\143" => "\124\150\x65\40\x66\151\x65\x6c\x64\40\151\x73\x20\x72\145\x71\x75\151\162\145\144\x20\x75\x6e\x6c\145\x73\x73\40\x61\x6e\x6f\164\150\145\162\x20\x66\151\145\x6c\144\40\151\x73\40\145\x71\x75\141\154\x20\x74\x6f\40\x61\40\x63\145\x72\164\141\151\156\40\x76\141\x6c\x75\145\x2e"), "\x72\x65\x71\165\x69\162\145\144\x5f\167\151\164\150" => array("\166\141\x6c\165\145" => "\x72\x65\x71\165\x69\162\145\x64\137\167\x69\164\x68\72\173\x61\156\157\164\150\145\162\137\146\x69\145\x6c\144\x7d", "\x64\x65\163\x63" => "\x54\150\x65\40\x66\151\x65\154\144\40\151\163\40\162\x65\161\165\x69\162\145\144\x20\x69\x66\40\x61\x6e\157\x74\150\x65\x72\x20\146\151\x65\x6c\x64\x20\x69\163\x20\x70\162\145\163\145\156\x74\x2e"), "\162\145\161\165\151\x72\145\144\x5f\167\x69\164\x68\x6f\x75\164" => array("\x76\141\x6c\165\x65" => "\162\145\161\x75\x69\162\145\144\137\167\x69\164\150\x6f\165\164\72\173\x61\x6e\x6f\164\x68\145\162\x5f\146\x69\145\154\x64\x7d", "\144\145\x73\x63" => "\x54\150\145\x20\x66\151\145\154\144\x20\151\163\x20\x72\x65\161\165\x69\x72\x65\144\40\x69\x66\x20\x61\156\x6f\x74\x68\145\x72\40\146\x69\x65\154\x64\x20\151\163\40\x6e\157\x74\40\160\162\145\163\x65\x6e\164\56"), "\163\x61\155\x65" => array("\166\141\154\165\x65" => "\x73\141\x6d\145\72\x7b\141\x6e\157\164\x68\x65\162\137\x66\151\145\154\x64\175", "\x64\x65\163\x63" => "\124\x68\145\x20\146\x69\145\154\144\x20\155\165\163\164\x20\142\145\x20\x74\150\145\40\x73\141\x6d\145\40\x61\x73\x20\x61\156\x6f\164\150\x65\x72\40\x66\151\145\x6c\144\x2e"), "\144\151\146\146\145\162\x65\156\164" => array("\166\141\154\165\x65" => "\x64\151\146\x66\x65\x72\x65\x6e\164\72\x7b\x61\x6e\157\x74\x68\x65\x72\x5f\146\151\x65\x6c\x64\x7d", "\144\145\x73\143" => "\x54\150\x65\x20\146\x69\x65\154\x64\x20\x6d\x75\163\164\x20\x62\x65\x20\x64\x69\x66\x66\x65\x72\x65\x6e\164\40\x66\162\157\x6d\40\x61\x6e\157\164\x68\x65\x72\40\x66\151\x65\154\144\x2e"), "\x61\143\x63\x65\x70\x74\145\x64\x5f\x69\146" => array("\x76\x61\x6c\x75\x65" => "\141\143\x63\x65\160\x74\145\144\137\151\146\x3a\x7b\141\x6e\x6f\164\150\145\x72\137\146\151\x65\154\144\175\x3a\x7b\x76\141\154\x75\145\175", "\144\145\163\143" => "\x54\x68\145\x20\x66\151\145\154\x64\x20\x6d\165\163\164\x20\x62\x65\40\141\x63\x63\x65\160\164\145\x64\40\x69\x66\40\x61\x6e\157\164\150\x65\162\x20\x66\x69\x65\154\144\x20\151\x73\40\x65\x71\165\x61\x6c\40\164\157\x20\141\40\143\145\162\x74\141\151\x6e\x20\x76\x61\154\x75\x65\56"), "\144\145\x63\x6c\151\156\145\144\x5f\151\146" => array("\166\141\154\x75\x65" => "\144\145\143\x6c\151\156\145\144\x5f\151\146\72\173\x61\156\x6f\x74\150\x65\162\137\146\151\145\x6c\x64\175\72\x7b\x76\x61\154\165\x65\x7d", "\144\145\x73\143" => "\x54\150\x65\40\146\x69\x65\x6c\x64\40\155\165\x73\164\x20\x62\145\40\x64\x65\x63\x6c\151\x6e\145\x64\40\151\146\x20\x61\156\157\164\150\x65\x72\x20\x66\151\145\154\x64\40\x69\163\x20\145\161\x75\141\154\40\x74\x6f\x20\141\x20\143\x65\x72\164\141\151\156\40\166\141\x6c\165\x65\x2e"), "\155\x69\163\163\151\x6e\147\x5f\151\x66" => array("\166\x61\x6c\165\x65" => "\155\x69\x73\163\x69\156\147\137\151\146\72\173\141\156\x6f\164\150\x65\x72\x5f\x66\x69\x65\154\x64\x7d\72\173\166\x61\x6c\165\145\175", "\x64\x65\163\x63" => "\x54\x68\x65\40\x66\x69\145\x6c\144\x20\x6d\x75\x73\164\40\x62\145\x20\x6d\x69\x73\163\x69\x6e\147\40\x69\146\x20\141\x6e\x6f\x74\150\x65\162\x20\x66\x69\145\x6c\x64\40\151\x73\x20\x65\161\x75\141\154\40\x74\x6f\x20\x61\x20\x63\145\162\x74\141\x69\x6e\x20\166\x61\x6c\x75\145\56"), "\x6d\151\x73\x73\151\156\147\137\165\156\154\145\163\x73" => array("\166\x61\154\x75\145" => "\x6d\151\x73\163\151\x6e\x67\x5f\x75\x6e\154\x65\163\163\72\173\x61\156\157\164\150\145\162\x5f\x66\x69\x65\154\144\175\x3a\173\166\x61\x6c\165\x65\175", "\144\145\163\143" => "\x54\x68\x65\x20\146\x69\x65\x6c\144\40\x6d\x75\x73\x74\x20\x62\145\40\155\151\163\163\151\156\x67\x20\165\x6e\x6c\x65\163\x73\x20\141\156\157\x74\x68\x65\162\40\x66\x69\x65\154\x64\x20\x69\163\40\x65\161\x75\141\x6c\x20\x74\157\40\141\40\x63\145\x72\164\x61\151\156\x20\x76\141\154\165\x65\56"), "\160\162\157\x68\x69\x62\151\x74\x65\x64\x5f\x69\x66" => array("\166\x61\x6c\165\x65" => "\160\162\157\x68\151\x62\151\164\x65\x64\137\x69\146\x3a\x7b\x61\x6e\x6f\x74\x68\x65\x72\x5f\x66\151\145\154\x64\x7d\x3a\x7b\166\x61\154\x75\145\x7d", "\144\x65\x73\143" => "\x54\150\x65\40\146\x69\x65\154\x64\40\155\x75\163\x74\x20\x62\x65\x20\160\x72\x6f\150\x69\x62\151\x74\145\144\x20\151\146\40\x61\156\157\164\x68\145\162\x20\146\x69\145\154\x64\40\x69\x73\40\145\161\x75\x61\x6c\x20\x74\157\40\x61\40\x63\x65\x72\x74\141\151\x6e\40\x76\141\x6c\x75\145\56"), "\160\x72\157\x68\x69\x62\x69\x74\x65\x64\137\165\156\x6c\x65\163\163" => array("\x76\x61\154\x75\x65" => "\160\x72\x6f\x68\151\142\151\164\x65\144\137\165\x6e\x6c\x65\x73\163\72\173\141\x6e\157\164\150\145\162\137\146\x69\145\154\144\x7d\72\173\166\141\x6c\165\x65\x7d", "\144\x65\163\x63" => "\x54\150\x65\40\146\151\x65\x6c\144\40\155\x75\x73\164\40\142\x65\x20\160\x72\157\150\151\142\151\x74\145\144\40\165\156\154\x65\163\x73\x20\x61\x6e\157\164\x68\x65\162\x20\x66\x69\x65\154\144\40\151\x73\40\145\161\165\141\x6c\x20\164\x6f\x20\141\40\x63\x65\162\x74\x61\x69\x6e\x20\166\x61\154\x75\x65\56"), "\x70\162\157\x68\151\142\151\164\163" => array("\166\x61\154\x75\145" => "\160\x72\x6f\150\151\x62\x69\x74\163\72\x7b\141\x6e\x6f\x74\x68\145\162\x5f\x66\151\145\154\144\x7d", "\144\145\163\x63" => "\x54\x68\x65\40\146\x69\145\154\144\x20\155\x75\x73\x74\x20\160\x72\157\150\x69\x62\x69\x74\x20\141\156\x6f\164\x68\145\162\40\146\151\x65\154\144\x2e"), "\x72\145\x71\x75\x69\162\x65\x64\137\151\146\x5f\x61\143\143\x65\x70\164\145\144" => array("\166\141\154\165\145" => "\x72\145\x71\x75\151\162\145\144\x5f\151\x66\137\141\143\x63\x65\x70\x74\x65\x64\x3a\x7b\141\x6e\x6f\164\150\x65\162\137\x66\151\145\x6c\x64\175", "\144\x65\163\x63" => "\124\150\x65\40\x66\151\x65\x6c\144\x20\x69\x73\40\162\x65\161\x75\151\x72\145\144\x20\x69\146\x20\x61\x6e\x6f\x74\150\145\162\x20\x66\151\145\x6c\x64\40\151\163\40\141\143\x63\145\x70\x74\145\144\x2e"), "\162\x65\x71\x75\151\x72\145\x64\137\167\x69\x74\150\x5f\141\x6c\x6c" => array("\x76\141\x6c\165\145" => "\162\145\161\x75\x69\162\x65\x64\x5f\x77\x69\164\x68\x5f\141\x6c\x6c\72\173\141\x6e\157\x74\150\x65\x72\x5f\x66\151\145\x6c\x64\x7d", "\144\145\x73\143" => "\x54\150\x65\40\146\x69\x65\x6c\144\x20\151\x73\x20\162\x65\161\165\151\162\145\x64\40\x69\x66\40\x61\x6c\x6c\40\157\146\x20\164\150\x65\40\x73\x70\x65\143\x69\x66\x69\145\x64\40\146\x69\145\x6c\144\163\x20\141\162\x65\40\x70\162\145\163\x65\x6e\x74\x2e"), "\x72\x65\161\165\x69\162\145\x64\137\167\x69\164\150\x6f\x75\164\137\141\154\x6c" => array("\x76\x61\x6c\x75\145" => "\x72\145\161\x75\151\x72\x65\x64\x5f\x77\151\164\x68\x6f\165\164\x5f\x61\154\x6c\72\x7b\x61\x6e\157\x74\150\145\x72\137\146\151\x65\154\144\175", "\144\145\x73\143" => "\124\150\145\40\x66\x69\145\x6c\x64\40\x69\x73\40\x72\145\161\x75\x69\x72\x65\x64\40\x69\146\x20\x61\x6e\x79\40\157\146\40\x74\150\145\x20\163\x70\x65\x63\151\146\151\145\x64\40\146\151\145\x6c\144\x73\x20\x61\x72\145\x20\x6e\x6f\x74\x20\x70\162\x65\163\145\156\x74\x2e"), "\163\164\162\x69\156\x67" => array("\166\141\154\x75\x65" => "\x73\164\162\x69\156\147", "\x64\145\x73\x63" => "\124\x68\x65\40\x66\151\145\x6c\144\40\x6d\x75\163\x74\40\x62\145\40\141\40\x73\x74\x72\151\156\147\56"), "\144\x6f\145\x73\x6e\x74\x5f\x73\x74\141\x72\x74\137\167\x69\164\150" => array("\166\141\154\x75\x65" => "\x64\x6f\145\x73\x6e\164\137\163\x74\141\162\x74\137\x77\x69\164\x68\72\173\x73\164\162\151\x6e\147\175", "\144\145\x73\143" => "\124\x68\145\40\146\x69\145\x6c\144\40\x6d\165\x73\x74\x20\156\157\x74\x20\163\x74\141\162\x74\40\167\151\x74\150\x20\141\x20\x73\x70\x65\x63\x69\x66\151\145\x64\40\x73\x74\x72\151\156\147\56"), "\144\157\145\x73\x6e\164\x5f\x65\x6e\x64\137\167\151\x74\150" => array("\166\141\x6c\165\x65" => "\x64\157\145\163\x6e\x74\x5f\145\x6e\144\137\x77\151\164\150\x3a\x7b\163\x74\x72\151\156\x67\175", "\x64\x65\163\x63" => "\x54\150\145\x20\146\151\x65\154\x64\x20\x6d\x75\x73\164\x20\156\157\x74\x20\x65\156\x64\x20\167\151\x74\150\40\141\40\x73\x70\145\143\x69\146\x69\145\x64\40\x73\164\x72\151\x6e\147\56"), "\145\156\144\163\x5f\x77\x69\164\x68" => array("\x76\x61\x6c\x75\x65" => "\145\x6e\144\163\x5f\167\x69\164\150\72\x7b\163\164\162\x69\156\x67\x7d", "\144\x65\x73\x63" => "\x54\x68\x65\x20\x66\151\x65\x6c\144\40\155\x75\x73\164\40\145\156\x64\x20\x77\x69\164\150\x20\141\x20\163\x70\x65\x63\x69\x66\x69\145\x64\40\163\164\162\151\156\147\56"), "\163\164\x61\x72\164\163\x5f\x77\151\164\x68" => array("\x76\141\x6c\165\x65" => "\163\x74\x61\x72\x74\x73\x5f\167\x69\164\x68\x3a\x7b\163\164\162\x69\156\x67\x7d", "\x64\145\163\143" => "\x54\x68\x65\40\146\151\x65\x6c\144\x20\155\x75\x73\x74\40\163\164\141\x72\164\40\x77\151\164\150\40\x74\150\145\40\163\x70\145\143\151\146\151\x65\144\40\163\164\162\x69\156\147\56"), "\141\x6c\160\x68\141" => array("\x76\141\x6c\165\145" => "\x61\x6c\160\x68\141", "\x64\145\x73\x63" => "\x54\x68\x65\x20\x66\x69\x65\x6c\144\x20\155\x75\x73\x74\40\143\x6f\x6e\164\x61\151\156\40\x6f\156\154\171\x20\141\x6c\x70\x68\x61\x62\x65\x74\x69\143\x20\x63\150\141\x72\x61\143\x74\x65\x72\x73\56"), "\141\x6c\160\150\141\137\156\x75\155" => array("\x76\x61\x6c\x75\145" => "\141\154\x70\x68\141\x5f\156\x75\x6d", "\144\x65\163\143" => "\x54\x68\145\40\146\151\x65\x6c\x64\x20\x6d\165\163\164\x20\143\x6f\x6e\164\141\151\156\x20\157\x6e\154\171\x20\141\x6c\160\150\141\142\145\x74\x69\143\x20\141\156\x64\x20\x6e\165\x6d\x65\162\151\x63\40\143\x68\141\x72\x61\x63\164\x65\x72\163\x2e"), "\141\154\x70\150\141\x5f\x64\141\x73\x68" => array("\166\x61\x6c\165\x65" => "\141\x6c\160\150\x61\137\144\x61\163\150", "\x64\x65\x73\143" => "\x54\x68\x65\x20\146\151\145\154\x64\x20\155\165\x73\164\x20\143\157\x6e\164\141\x69\x6e\x20\157\x6e\x6c\x79\40\x61\x6c\160\150\x61\142\x65\x74\x69\143\54\x20\156\165\x6d\145\x72\151\143\x2c\x20\x61\x6e\144\x20\165\156\x64\x65\162\x73\x63\157\162\145\x20\x63\x68\x61\x72\x61\143\164\x65\x72\x73\x2e"), "\145\155\x61\x69\154" => array("\166\x61\x6c\x75\x65" => "\x65\155\x61\151\x6c", "\x64\145\163\143" => "\124\x68\145\x20\x66\x69\145\154\144\x20\x6d\165\163\x74\x20\x63\157\x6e\x74\141\151\x6e\x20\x61\x20\166\141\x6c\x69\x64\x20\145\155\141\151\x6c\40\x61\144\144\x72\145\163\163\x2e"), "\165\x72\154" => array("\166\141\x6c\165\145" => "\x75\162\154", "\x64\x65\x73\x63" => "\124\x68\x65\40\146\151\145\154\x64\x20\155\165\x73\x74\x20\143\x6f\x6e\x74\141\x69\156\x20\x61\40\x76\x61\x6c\151\x64\40\125\x52\114\56"), "\x69\160" => array("\x76\x61\x6c\x75\x65" => "\151\160", "\144\x65\x73\x63" => "\x54\x68\145\x20\x66\x69\145\154\x64\x20\155\x75\x73\164\40\143\157\x6e\164\x61\151\156\x20\x61\40\166\141\154\151\x64\40\x49\120\40\141\144\144\x72\145\x73\163\56"), "\x6d\141\170" => array("\x76\141\154\x75\x65" => "\x6d\x61\x78\x3a\x7b\x6d\x61\170\175", "\x64\145\x73\143" => "\x54\x68\x65\40\x66\151\145\154\144\x20\155\x75\163\x74\40\142\x65\40\x6e\157\40\x6d\157\x72\145\40\x74\x68\141\156\40\x61\40\x63\x65\162\x74\141\x69\156\x20\156\x75\155\x62\x65\x72\x20\x6f\x66\x20\x63\x68\141\x72\x61\143\x74\145\162\x73\x2e"), "\155\151\x6e" => array("\166\141\x6c\165\145" => "\155\151\156\x3a\173\x6d\x69\x6e\x7d", "\x64\x65\163\x63" => "\124\150\x65\40\146\151\x65\154\x64\x20\155\165\x73\x74\x20\x62\x65\x20\141\164\40\x6c\145\x61\163\164\x20\141\40\x63\x65\162\164\x61\x69\x6e\x20\x6e\x75\155\x62\145\x72\x20\157\x66\x20\x63\x68\141\x72\x61\x63\164\145\162\x73\56"), "\x72\x65\147\x65\170" => array("\x76\141\x6c\165\x65" => "\162\145\147\145\170\x3a\x7b\162\x65\147\145\x78\175", "\144\x65\163\143" => "\124\x68\145\x20\x66\x69\x65\x6c\x64\40\155\165\x73\x74\x20\155\141\164\x63\x68\40\x61\40\x63\x65\162\164\141\x69\x6e\x20\x72\145\147\x75\x6c\x61\162\40\x65\x78\160\162\x65\x73\163\x69\157\x6e\x2e"), "\x63\157\156\x66\x69\162\x6d\145\144" => array("\166\141\154\165\145" => "\x63\157\156\x66\151\162\155\145\x64", "\144\145\163\143" => "\124\150\x65\x20\146\x69\x65\154\144\x20\x6d\165\x73\x74\40\155\x61\164\x63\150\40\x74\150\145\x20\x63\157\156\146\x69\x72\x6d\x61\164\x69\x6f\156\x20\146\151\145\x6c\x64\56"), "\165\x6e\x69\x71\x75\145" => array("\x76\141\154\x75\x65" => "\165\156\x69\161\x75\145\x3a\173\x74\141\142\154\x65\x7d\54\x7b\x63\x6f\x6c\165\155\156\x7d", "\x64\145\x73\x63" => "\x54\x68\x65\40\x66\151\x65\x6c\x64\x20\x6d\165\x73\164\x20\x62\145\40\165\156\151\161\x75\x65\x20\x69\x6e\x20\164\150\145\x20\144\141\164\141\x62\141\x73\x65\56"), "\x65\x78\151\163\x74\163" => array("\166\141\x6c\x75\x65" => "\145\170\151\163\164\163\x3a\173\164\x61\142\x6c\145\175\54\173\143\x6f\x6c\x75\155\156\x7d", "\x64\145\x73\x63" => "\x54\150\145\40\146\151\x65\154\144\40\x6d\x75\163\x74\40\145\x78\151\163\164\x20\151\x6e\x20\164\150\145\x20\x64\x61\164\x61\x62\141\x73\145\56"), "\163\151\172\145" => array("\166\x61\x6c\165\145" => "\163\151\x7a\x65\72\x7b\163\151\x7a\145\x7d", "\x64\x65\x73\143" => "\x54\x68\145\40\146\151\x65\154\x64\40\155\x75\x73\x74\x20\x62\x65\40\141\x20\143\x65\x72\164\x61\151\x6e\x20\x73\151\x7a\x65\56"), "\151\156" => array("\166\x61\154\x75\x65" => "\151\156\72\173\166\141\x6c\x75\145\x73\x7d", "\x64\x65\163\143" => "\x54\150\145\40\146\151\145\154\x64\x20\155\x75\163\164\40\x62\145\40\x6f\156\x65\x20\157\146\x20\x74\x68\x65\x20\163\x70\145\143\x69\x66\x69\145\144\x20\166\x61\154\x75\145\x73\x2e"), "\156\157\164\x5f\162\x65\147\145\170" => array("\166\141\x6c\x75\145" => "\156\x6f\x74\137\162\x65\x67\x65\x78\72\x7b\162\x65\147\145\x78\x7d", "\x64\x65\x73\143" => "\x54\x68\145\40\146\151\x65\x6c\144\x20\x6d\x75\x73\x74\40\156\157\164\40\155\x61\164\143\x68\x20\x61\x20\x63\145\162\x74\141\151\156\x20\x72\x65\x67\x75\154\x61\x72\x20\145\x78\160\162\x65\163\x73\151\x6f\156\56"), "\x64\x61\164\x65\x5f\145\161\165\141\x6c\x73" => array("\166\x61\154\x75\x65" => "\144\141\164\145\137\145\x71\x75\141\154\163\72\173\x64\x61\164\145\175", "\144\x65\163\143" => "\124\x68\x65\40\146\x69\145\154\x64\40\155\165\x73\164\40\142\145\x20\145\161\165\141\x6c\40\164\x6f\40\x61\x20\x63\145\x72\164\x61\151\x6e\x20\x64\x61\x74\x65\x2e"), "\144\141\x74\x65\137\156\x6f\x74\x5f\145\161\x75\141\154\163" => array("\166\x61\x6c\165\145" => "\144\141\164\145\137\x6e\157\x74\x5f\145\x71\165\x61\154\x73\72\x7b\144\x61\x74\145\175", "\x64\x65\x73\x63" => "\124\150\x65\x20\146\x69\x65\154\x64\x20\x6d\x75\163\164\x20\156\157\x74\40\142\145\40\145\x71\x75\x61\x6c\x20\164\157\40\x61\40\143\145\x72\x74\x61\x69\156\40\x64\141\x74\145\x2e"), "\144\x61\164\145\137\141\146\x74\x65\x72" => array("\166\141\154\x75\x65" => "\144\141\164\x65\x5f\x61\146\164\x65\162\x3a\x7b\x64\x61\164\145\175", "\x64\145\163\143" => "\x54\x68\x65\x20\x66\151\x65\154\144\x20\155\165\163\164\x20\142\x65\x20\x61\x66\164\145\x72\40\141\x20\143\145\x72\164\141\151\x6e\40\144\x61\x74\145\56"), "\x64\x61\164\x65\x5f\x62\145\x66\x6f\x72\x65" => array("\x76\141\154\x75\x65" => "\x64\141\x74\x65\x5f\x62\145\x66\157\162\x65\x3a\173\x64\141\164\145\175", "\144\145\163\x63" => "\x54\x68\x65\40\x66\151\x65\x6c\144\x20\155\x75\x73\164\x20\x62\145\x20\142\x65\146\x6f\x72\145\x20\141\40\143\x65\162\164\141\x69\156\40\144\141\x74\x65\56"), "\x64\x61\164\145\137\x62\145\x74\x77\x65\x65\156" => array("\166\x61\x6c\165\145" => "\144\141\x74\x65\137\142\145\x74\167\145\145\156\72\173\163\164\x61\x72\x74\175\54\x7b\145\x6e\144\x7d", "\144\145\x73\143" => "\x54\150\x65\x20\146\x69\145\x6c\144\x20\155\x75\x73\x74\40\142\x65\x20\142\145\164\x77\x65\145\156\x20\164\x77\157\40\144\141\x74\x65\163\56"), "\146\151\154\145" => array("\x76\141\x6c\165\x65" => "\x66\x69\x6c\x65", "\x64\x65\163\x63" => "\x54\x68\145\x20\x66\151\x65\154\x64\x20\x6d\x75\163\164\40\142\145\x20\141\x20\x66\x69\154\145\x2e"), "\151\x6d\141\x67\145" => array("\166\141\154\165\x65" => "\151\x6d\141\x67\145", "\x64\x65\x73\x63" => "\124\150\145\40\146\151\x65\154\x64\x20\155\165\163\164\x20\142\145\40\x61\x6e\40\151\155\141\147\145\40\146\x69\154\x65\56"), "\x6d\x69\x6d\x65\x73" => array("\x76\x61\x6c\x75\145" => "\x6d\x69\155\x65\163\72\173\x6d\151\x6d\x65\x73\x7d", "\144\x65\163\x63" => "\124\x68\145\40\x66\x69\145\154\x64\40\155\x75\x73\164\40\142\145\40\x61\40\x66\151\x6c\145\40\157\x66\x20\141\40\x63\145\x72\x74\141\151\156\40\115\x49\x4d\105\x20\164\x79\160\x65\x2e"), "\155\141\x78\137\x73\x69\x7a\145" => array("\x76\141\x6c\165\145" => "\x6d\141\170\x5f\x73\x69\172\x65\x3a\173\163\x69\x7a\x65\175", "\x64\x65\x73\x63" => "\x54\150\145\x20\x66\x69\154\x65\x20\155\165\163\164\x20\142\145\40\156\x6f\40\155\x6f\162\145\x20\x74\x68\x61\156\40\141\x20\x63\x65\162\x74\x61\151\x6e\40\163\x69\x7a\x65\x2e"), "\x69\156\164\145\x67\145\x72" => array("\x76\x61\x6c\165\145" => "\x69\156\x74\145\147\145\x72", "\x64\145\x73\x63" => "\x54\150\x65\x20\146\x69\145\154\144\x20\155\x75\163\164\40\x62\x65\40\x61\x6e\x20\151\x6e\x74\x65\x67\x65\162\x2e"), "\x6e\165\155\145\162\x69\x63" => array("\x76\x61\x6c\165\145" => "\156\x75\x6d\x65\162\151\143", "\144\x65\163\x63" => "\124\150\x65\40\x66\151\x65\x6c\144\x20\155\x75\163\x74\x20\x62\x65\x20\141\40\156\165\155\x62\145\162\x2e"), "\141\143\143\x65\160\x74\x65\144" => array("\x76\141\154\165\x65" => "\141\143\143\145\160\164\145\x64", "\144\x65\163\143" => "\x54\x68\x65\40\146\151\x65\x6c\144\x20\x6d\165\163\x74\40\x62\x65\x20\141\143\143\145\160\x74\x65\144\x2e"), "\x61\x63\x74\151\166\145\137\x75\x72\154" => array("\x76\141\x6c\x75\145" => "\x61\x63\164\x69\x76\x65\137\x75\162\x6c", "\144\x65\163\143" => "\124\150\x65\x20\x66\x69\145\x6c\144\x20\155\165\x73\x74\40\142\145\x20\x61\40\166\141\x6c\151\144\54\x20\141\143\164\x69\x76\x65\x20\x55\122\114\56"), "\x64\145\x63\x69\x6d\x61\x6c" => array("\x76\x61\x6c\x75\x65" => "\x64\x65\143\x69\155\141\154", "\144\x65\x73\x63" => "\x54\150\x65\x20\x66\151\x65\x6c\144\40\155\165\163\164\40\142\145\x20\141\40\144\x65\143\x69\155\x61\154\x20\156\x75\x6d\142\x65\162\56"), "\x64\x65\143\x6c\x69\156\x65\x64" => array("\166\x61\154\x75\145" => "\144\x65\143\154\x69\156\x65\144", "\x64\145\163\x63" => "\x54\150\x65\x20\x66\151\x65\154\144\x20\155\165\163\164\40\142\145\40\144\145\143\x6c\151\156\x65\144\56"), "\x64\151\147\x69\x74\x73" => array("\166\x61\x6c\165\145" => "\144\151\147\x69\164\x73\72\173\144\151\147\x69\164\163\175", "\x64\x65\x73\143" => "\124\x68\145\x20\146\x69\x65\154\144\40\x6d\165\x73\x74\40\142\145\40\x61\x20\x6e\165\x6d\145\162\151\143\x20\166\141\x6c\165\x65\x20\x77\x69\x74\150\x20\x61\x20\x73\160\x65\x63\x69\146\x69\145\x64\x20\x6e\165\x6d\142\145\162\40\x6f\146\40\144\151\147\151\164\x73\x2e"), "\144\x69\x67\x69\164\163\x5f\x62\x65\164\167\x65\x65\x6e" => array("\166\x61\154\x75\145" => "\x64\151\x67\x69\x74\x73\137\142\x65\x74\x77\x65\145\x6e\72\173\155\151\x6e\175\x2c\x7b\155\141\x78\x7d", "\x64\x65\163\143" => "\124\x68\x65\40\146\151\145\x6c\x64\x20\x6d\x75\x73\x74\40\x62\x65\40\141\40\156\165\x6d\145\162\151\x63\x20\166\141\x6c\x75\145\x20\x77\151\164\x68\x20\141\40\x73\x70\x65\143\151\x66\x69\145\x64\40\x6e\165\155\x62\x65\x72\x20\x6f\x66\x20\144\x69\x67\x69\x74\x73\x2c\x20\x62\x65\164\x77\x65\x65\x6e\40\164\x77\x6f\40\x73\160\145\x63\151\146\151\145\144\x20\166\141\x6c\165\x65\163\x2e"), "\x64\x69\x6d\145\x6e\x73\151\157\x6e\163" => array("\166\141\154\165\145" => "\144\151\x6d\x65\x6e\163\x69\x6f\x6e\163\x3a\x7b\167\151\x64\164\150\x7d\x2c\x7b\150\x65\151\x67\150\x74\x7d", "\144\145\x73\x63" => "\x54\150\x65\x20\151\155\x61\147\x65\40\x66\x69\x6c\x65\x20\x6d\x75\x73\x74\40\x68\x61\166\145\x20\164\150\145\x20\x73\160\145\x63\151\146\x69\x65\144\40\144\x69\x6d\145\x6e\x73\x69\157\x6e\x73\x2e"), "\144\x69\163\x74\151\156\143\164" => array("\x76\x61\154\165\145" => "\144\151\x73\164\x69\156\143\x74", "\x64\x65\x73\143" => "\x54\150\x65\x20\146\x69\x65\x6c\144\40\x6d\x75\163\x74\x20\143\157\x6e\x74\x61\151\x6e\x20\165\x6e\x69\161\165\x65\40\166\x61\154\x75\145\x73\x2e"), "\146\x69\x6c\154\145\144" => array("\x76\141\x6c\165\145" => "\x66\x69\154\x6c\145\x64", "\144\x65\163\143" => "\x54\x68\x65\40\x66\x69\145\x6c\144\x20\x6d\x75\163\164\40\x62\x65\40\146\151\154\154\x65\144\56"), "\147\162\x65\x61\164\x65\162\x5f\164\x68\141\x6e" => array("\166\x61\154\x75\x65" => "\x67\x74\72\x7b\166\141\154\x75\x65\175", "\x64\145\163\143" => "\x54\150\145\40\x66\x69\145\154\x64\40\x6d\x75\x73\x74\x20\x62\x65\40\x67\162\145\141\164\145\162\40\x74\x68\x61\x6e\x20\141\x20\163\x70\x65\143\x69\146\151\x65\x64\x20\x76\141\x6c\x75\145\x2e"), "\x67\162\145\141\164\145\x72\x5f\164\150\x61\x6e\137\x6f\162\x5f\x65\161\x75\x61\x6c" => array("\166\x61\154\x75\145" => "\x67\x74\145\x3a\173\166\141\x6c\x75\x65\x7d", "\x64\x65\x73\143" => "\x54\x68\145\x20\146\x69\145\154\x64\x20\x6d\165\x73\x74\40\x62\145\40\147\162\x65\141\164\x65\162\x20\164\x68\141\x6e\40\157\x72\x20\x65\161\x75\x61\154\x20\164\x6f\x20\141\x20\x73\x70\x65\x63\151\146\151\x65\x64\x20\x76\x61\154\165\x65\x2e"), "\x69\156\x5f\141\162\x72\141\x79" => array("\x76\141\154\x75\145" => "\x69\156\137\141\x72\x72\x61\171", "\144\x65\163\143" => "\x54\150\145\40\146\151\145\154\144\x20\155\x75\x73\x74\40\142\x65\x20\x70\x72\x65\x73\145\x6e\164\40\151\x6e\40\164\150\145\40\163\160\x65\x63\151\146\x69\x65\144\40\141\162\x72\141\x79\x2e"), "\151\160\137\141\144\144\x72\145\x73\x73" => array("\166\x61\154\165\x65" => "\x69\160", "\144\x65\x73\143" => "\x54\150\x65\x20\x66\151\145\154\144\40\155\x75\x73\x74\x20\x62\145\40\141\x20\x76\141\154\151\144\40\111\120\40\x61\144\x64\162\145\x73\163\56"), "\154\x65\163\163\137\164\150\x61\x6e" => array("\x76\141\154\x75\145" => "\x6c\x74\72\x7b\x76\x61\x6c\x75\145\175", "\144\145\x73\143" => "\124\150\145\x20\146\x69\x65\x6c\144\40\155\x75\x73\x74\x20\x62\x65\x20\x6c\145\x73\163\x20\x74\x68\141\156\x20\x61\x20\x73\160\x65\x63\151\146\x69\145\x64\x20\x76\141\x6c\165\145\x2e"), "\154\145\163\163\137\164\150\x61\x6e\137\x6f\162\137\x65\x71\x75\141\154" => array("\x76\x61\x6c\x75\x65" => "\154\x74\x65\72\173\166\x61\154\165\x65\x7d", "\144\145\163\143" => "\x54\150\x65\40\146\x69\x65\x6c\144\40\x6d\x75\x73\164\x20\x62\145\x20\x6c\145\x73\163\x20\164\x68\141\156\x20\x6f\162\40\145\x71\x75\x61\154\x20\164\x6f\40\x61\x20\163\x70\145\x63\151\146\x69\x65\144\x20\x76\x61\154\x75\x65\56"), "\154\x6f\167\x65\162\x63\141\163\x65" => array("\x76\x61\154\x75\145" => "\154\157\167\x65\162\143\141\163\x65", "\x64\145\x73\143" => "\124\x68\x65\x20\146\151\x65\154\144\x20\155\x75\163\x74\40\x63\157\156\x74\141\x69\156\40\x6f\x6e\154\171\x20\x6c\x6f\167\x65\162\143\x61\163\x65\40\x63\150\141\x72\x61\x63\164\x65\x72\x73\x2e"), "\x6d\x61\x63\x5f\141\144\x64\162\145\x73\x73" => array("\166\141\x6c\x75\x65" => "\x6d\141\x63\x5f\x61\144\144\162\x65\163\163", "\144\x65\x73\143" => "\x54\x68\x65\40\x66\x69\x65\x6c\144\40\x6d\x75\163\x74\40\x62\145\x20\x61\40\x76\141\154\x69\x64\x20\115\x41\103\40\x61\144\x64\162\145\x73\x73\x2e"), "\x6d\x61\x78\x5f\144\x69\x67\151\x74\163" => array("\x76\x61\154\165\145" => "\x6d\141\170\x5f\x64\x69\x67\151\x74\x73\x3a\173\144\x69\x67\x69\164\163\x7d", "\x64\x65\x73\143" => "\124\x68\x65\x20\146\151\145\x6c\x64\x20\155\165\x73\x74\40\x62\x65\40\x61\x20\x6e\x75\x6d\x65\162\x69\x63\40\166\141\154\165\x65\x20\167\x69\x74\150\x20\x6e\157\40\155\x6f\x72\x65\40\164\x68\141\x6e\40\141\x20\x73\160\x65\x63\x69\146\151\x65\x64\x20\x6e\165\155\x62\145\x72\x20\157\146\40\144\x69\147\151\164\x73\56"), "\x6d\151\155\x65\137\x74\171\x70\x65\163" => array("\166\141\x6c\165\x65" => "\155\151\155\145\164\x79\x70\x65\x73\x3a\x7b\155\151\x6d\145\164\171\x70\145\x73\x7d", "\x64\145\x73\143" => "\x54\x68\x65\x20\x66\x69\x6c\145\x20\x6d\x75\x73\x74\40\x68\141\166\x65\40\x6f\156\x65\40\x6f\146\x20\164\x68\145\x20\163\160\x65\x63\151\146\151\145\x64\x20\115\x49\x4d\105\x20\164\x79\x70\145\x73\x2e"), "\x6d\151\155\x65\x5f\164\171\x70\145\x5f\142\171\x5f\146\x69\x6c\x65\137\145\x78\x74\x65\x6e\x73\151\157\156" => array("\x76\141\154\165\145" => "\155\x69\155\x65\164\x79\x70\145\137\142\171\x5f\145\x78\164\x65\156\x73\151\x6f\x6e\x3a\x7b\x65\170\x74\145\156\163\x69\x6f\156\175", "\144\x65\x73\x63" => "\124\150\145\x20\146\151\x6c\x65\x20\x6d\x75\x73\x74\x20\150\141\166\x65\x20\x74\x68\145\x20\163\160\145\143\x69\146\x69\145\144\40\115\111\x4d\105\40\164\x79\160\145\40\142\x61\x73\x65\144\40\157\x6e\x20\151\164\x73\x20\x66\x69\154\145\40\x65\x78\x74\x65\x6e\163\x69\x6f\156\56"), "\x6d\151\156\x5f\144\x69\147\151\164\163" => array("\166\x61\154\x75\x65" => "\155\x69\x6e\137\144\151\147\151\164\x73\x3a\x7b\x64\151\x67\151\164\163\175", "\x64\145\x73\143" => "\124\150\145\40\146\151\x65\x6c\144\40\x6d\165\x73\164\40\x62\x65\40\141\40\x6e\165\155\145\162\x69\x63\x20\166\141\154\165\x65\x20\167\x69\x74\150\x20\x61\x74\40\x6c\x65\x61\x73\164\40\141\x20\x73\160\x65\x63\x69\x66\x69\145\x64\x20\156\165\x6d\142\x65\x72\x20\157\146\40\144\151\147\x69\x74\x73\x2e"), "\x6d\x69\x73\163\x69\x6e\x67" => array("\166\x61\x6c\x75\145" => "\x6d\151\x73\163\x69\x6e\x67", "\144\145\x73\x63" => "\x54\x68\x65\40\x66\151\x65\154\x64\x20\155\165\163\164\x20\142\x65\x20\155\151\163\163\151\x6e\x67\x2e"), "\x70\x61\163\163\x77\157\x72\144" => array("\x76\141\x6c\x75\145" => "\x70\x61\x73\x73\x77\157\x72\x64", "\144\x65\x73\x63" => "\x54\x68\x65\40\x66\151\x65\x6c\x64\x20\x6d\x75\x73\x74\x20\142\x65\x20\141\x20\166\141\x6c\151\144\x20\160\141\x73\x73\x77\x6f\162\144\x2e"), "\160\x72\145\x73\145\x6e\164" => array("\166\141\x6c\x75\145" => "\x70\162\145\163\145\156\164", "\x64\x65\163\x63" => "\x54\150\x65\x20\146\x69\145\154\x64\x20\x6d\165\163\x74\40\x62\x65\x20\160\162\x65\x73\x65\156\x74\56"), "\x70\162\x6f\150\x69\142\x69\x74\x65\144" => array("\x76\x61\154\165\x65" => "\160\x72\x6f\150\x69\142\x69\x74\x65\144", "\144\x65\163\x63" => "\x54\x68\x65\x20\x66\x69\145\154\144\x20\x6d\x75\x73\164\40\x62\145\40\x70\162\157\150\151\142\x69\x74\x65\x64\x2e"), "\x72\x65\161\165\151\162\x65\x64\137\x61\162\162\x61\x79\137\153\145\171\x73" => array("\x76\141\x6c\x75\x65" => "\x72\x65\x71\x75\x69\162\145\x64\x5f\141\162\162\x61\x79\x5f\153\x65\171\163\x3a\173\x6b\145\x79\x73\x7d", "\144\x65\x73\x63" => "\x54\150\145\x20\141\x72\x72\141\x79\x20\x6d\x75\163\x74\40\150\x61\x76\145\40\x74\x68\x65\40\x73\160\145\143\151\146\151\x65\144\x20\153\145\171\x73\56"), "\x73\x6f\x6d\145\x74\151\155\145\163" => array("\166\141\x6c\x75\145" => "\163\x6f\x6d\x65\164\x69\155\145\163", "\144\x65\163\143" => "\124\150\x65\40\146\x69\145\x6c\x64\x20\151\163\40\x6e\157\x74\40\162\x65\x71\x75\x69\x72\145\144\54\40\x62\x75\164\40\155\x61\x79\40\142\145\40\x70\162\x65\x73\145\x6e\x74\x2e"), "\x74\151\x6d\x65\172\x6f\156\145" => array("\166\141\x6c\x75\145" => "\x74\x69\155\x65\x7a\x6f\156\x65", "\144\x65\163\143" => "\124\150\145\x20\x66\x69\x65\154\x64\x20\155\165\x73\x74\x20\142\145\x20\x61\x20\166\x61\154\x69\x64\40\x74\151\155\145\x7a\x6f\156\x65\56"), "\x75\x70\160\145\162\x63\x61\x73\x65" => array("\x76\x61\154\x75\x65" => "\165\160\x70\x65\162\143\141\163\145", "\x64\x65\x73\x63" => "\124\150\145\40\146\151\145\x6c\144\40\155\165\x73\164\40\x63\157\156\x74\141\151\x6e\40\x6f\x6e\x6c\171\x20\165\x70\160\x65\162\x63\x61\x73\145\40\x63\150\141\x72\x61\143\x74\x65\162\163\x2e"), "\x75\154\x69\144" => array("\x76\x61\x6c\165\x65" => "\x75\154\151\144", "\144\x65\x73\143" => "\x54\x68\x65\x20\146\x69\145\x6c\x64\40\x6d\165\163\x74\40\142\145\40\x61\40\x76\141\154\151\144\x20\x55\114\x49\104\56"), "\x75\x75\x69\x64" => array("\166\141\154\x75\x65" => "\165\165\x69\144", "\x64\145\x73\143" => "\x54\150\145\x20\146\x69\145\154\x64\x20\x6d\165\163\x74\x20\x62\145\x20\x61\40\x76\141\x6c\x69\x64\x20\125\x55\x49\104\56")); if ($rule) { if (array_key_exists($rule, $rules)) { return array($rule => $rules[$rule]); } else { return array(); } } if ($search_key) { $filteredRules = array(); foreach ($rules as $ruleKey => $ruleData) { if (str_contains($ruleKey, $search_key)) { $filteredRules[$ruleKey] = $ruleData; } } if (!empty($filteredRules)) { return $filteredRules; } else { return array(); } } return $rules; } public function submitSingleForm(Request $request, ApiConsumeInterface $apiConsumeInterface) { $data = $request->all(); $module_name = $data["\156\x61\x6d\x65"]; $columns = array(); $rules = array("\156\x61\x6d\145" => array("\x72\x65\161\165\151\x72\x65\144", Rule::unique("\141\x70\160\x5f\x67\145\156\145\162\x61\164\x6f\162\x73")->where(function ($query) use($module_name) { return $query->where("\x6e\141\x6d\x65", Str::plural(Str::snake($module_name)))->where("\x64\144\x6c\x5f\155\157\144\x65", "\x43\122\105\x41\x54\x45"); }))); $messages = array("\156\x61\155\x65\x2e\162\x65\x71\165\x69\162\x65\144" => "\124\150\x65\40\x6e\141\155\x65\x20\146\x69\x65\x6c\144\x20\151\163\40\x72\145\x71\165\151\162\145\144\56", "\156\141\155\x65\x2e\165\156\x69\161\165\145" => "\124\150\151\163\40\164\141\x62\154\x65\40\x6e\141\155\x65\x20\141\x6c\162\x65\141\x64\x79\40\143\162\x65\x61\164\x65\144\56\x20\x79\x6f\165\40\x63\x61\156\x20\141\x6c\x74\145\162\40\157\x72\40\144\x72\157\x70\40\x6f\156\x6c\x79"); $data["\156\141\155\x65"] = Str::plural(Str::snake($module_name)); $validator = Validator::make($data, $rules, $messages); if ($validator->fails()) { return redirect()->back()->withErrors($validator)->withInput(); } foreach ($data["\x66\151\x65\x6c\144\137\156\141\x6d\x65"] as $key => $val) { $columns[] = array("\156\x61\x6d\x65" => $val, "\x74\171\160\145" => $data["\x64\141\164\141\137\164\171\160\145"][$key], "\x6c\145\x76\145\154" => $data["\154\145\x76\x65\x6c\137\x6e\x61\155\145"][$key], "\146\151\145\154\144\123\151\172\145" => $data["\146\151\x65\x6c\144\137\163\151\x7a\145"][$key], "\x64\145\x66\141\x75\154\x74" => $data["\144\x65\x66\x61\x75\x6c\x74"][$key], "\156\x75\x6c\x6c\x61\x62\x6c\x65" => $data["\x6e\x75\x6c\154\x61\x62\x6c\145"][$key], "\x69\156\x70\x75\x74\x54\x79\x70\x65" => $data["\151\156\160\165\x74\137\x74\171\x70\x65"][$key]); } $columns[0]["\x76\141\x6c\151\x64\x61\x74\151\x6f\x6e\x5f\x61\164\x74\x72\x69\142\165\164\x65"] = $data["\x76\x61\154\151\x64\141\x74\151\157\156\x5f\141\164\x74\162\x69\142\165\164\145"] ?? array(); try { $actions = $this->getEndPoints(); foreach ($actions as $action) { $content = $apiConsumeInterface->callApi($action["\x65\156\144\160\x6f\151\156\x74"], $module_name, $columns, config("\157\x6c\x75\141\56\x62\154\141\x64\x65\114\x61\171\x6f\x75\x74\56\x68\145\141\x64\x65\x72"), config("\157\154\165\141\56\x62\154\141\144\x65\114\x61\x79\157\165\x74\x2e\163\x63\162\151\x70\164")); if (!in_array($action["\145\x6e\144\x70\x6f\151\x6e\164\x5f\x6b\145\x79"], array("\156\x61\x76", "\x72\157\165\x74\x65", "\150\x74\x6d\154"))) { $filePath = $this->checkDirectory($action["\x64\x65\x73\x74\151\156\x61\x74\x69\x6f\x6e"], $action["\x65\156\144\x70\x6f\151\x6e\x74\x5f\x6b\x65\x79"], $content->{$action["\x66\x69\154\145\137\x6b\145\171"]}, $module_name); file_put_contents($filePath, $content->{$action["\x63\x6f\156\x74\145\156\x74\x5f\153\x65\x79"]}); } if ($action["\145\156\x64\160\x6f\151\x6e\164\x5f\x6b\x65\171"] === "\x68\x74\155\154") { $directory = $action["\x64\x65\x73\x74\151\x6e\141\x74\x69\157\x6e"] . Str::plural(Str::snake($module_name)); if (!is_dir($directory)) { mkdir($directory, 493, true); } $htmlFilePath = $directory . "\57"; foreach (array("\151\x6e\x64\145\x78", "\x65\x64\x69\x74", "\x63\x72\x65\x61\x74\x65") as $contentType) { $htmlFileContent = $content->{$contentType}; if (!$htmlFileContent) { Log::error("\106\141\x69\x6c\145\144\40\164\157\x20\x66\x65\x74\143\150\x20\x63\x6f\x6e\164\145\156\x74\x20\164\x6f\x20{$contentType}\x20\160\141\147\x65"); throw new \Exception("\x4e\157\40{$contentType}\x20\x63\157\156\x74\x65\156\164\x20\x66\157\x75\156\144\40\x69\x6e\40\162\145\x73\160\157\x6e\x73\x65"); } $FilePath = $htmlFilePath . $htmlFileContent->file; $writeSuccess = file_put_contents($FilePath, $htmlFileContent->content); if ($writeSuccess === false) { Log::error("\106\141\x69\x6c\x65\x64\40\164\x6f\x20\167\162\151\x74\145\x20\143\x6f\156\164\x65\x6e\x74\40\164\157\40{$contentType}\40\160\x61\x67\145"); throw new Exception("\x46\141\151\154\145\x64\x20\164\x6f\x20\167\162\151\x74\145\40\143\157\156\x74\145\156\164\x20\x74\157\x20{$contentType}\x20\160\x61\147\x65"); } } } if ($action["\145\x6e\144\x70\x6f\151\156\x74\x5f\153\145\x79"] === "\x72\157\x75\x74\x65" || $action["\145\x6e\x64\x70\x6f\x69\156\x74\x5f\153\x65\x79"] === "\x6e\141\x76") { Log::error("\x66\x65\x74\143\x68\x20\164\157\40\x64\145\x73\164\151\156\x61\x74\151\x6f\156\40" . $action["\x64\145\163\164\151\x6e\x61\164\x69\157\156"] . "\40" . $action["\x65\156\x64\x70\x6f\151\x6e\164\x5f\x6b\145\171"]); $updatedContent = $this->updateExistingFileContent($action["\x64\x65\163\164\151\156\x61\164\151\157\156"], $action["\145\x6e\144\160\x6f\151\156\x74\137\x6b\x65\171"], $content, $action); $writeSuccess = file_put_contents($action["\144\x65\x73\x74\x69\x6e\x61\x74\x69\x6f\156"], $updatedContent); if ($writeSuccess === false) { Log::error("\x46\x61\x69\154\x65\x64\40\x74\157\40\x77\162\x69\x74\x65\40\143\x6f\x6e\x74\145\156\x74\x20\164\x6f\40" . $action["\145\156\144\160\157\151\x6e\164\137\x6b\x65\x79"]); throw new Exception("\106\141\151\x6c\x65\144\40\164\x6f\x20\x77\162\151\164\x65\40\143\157\156\164\x65\x6e\164\40\164\157\40" . $action["\x65\x6e\x64\x70\x6f\x69\156\x74\x5f\x6b\x65\171"]); } } } $request->session()->flash("\x73\x75\143\143\x65\163\163", "\101\x6c\154\x20\146\151\154\145\163\40\x63\162\x65\x61\164\x65\144\40\163\165\143\143\145\x73\163\x66\165\x6c\154\171"); return redirect()->route("\142\x75\151\x6c\144\56\x73\151\156\x67\154\x65\55\x66\157\162\x6d"); } catch (\Exception $e) { Log::error("\x53\151\x6e\x67\x6c\x65\x20\x6f\x72\155\40\x45\162\162\x6f\162\x3a\40" . $e); $request->session()->flash("\145\162\x72\157\162", "\x49\x6e\x74\145\162\x6e\141\x6c\x20\123\145\162\x76\145\x72\40\105\162\162\157\x72"); return redirect()->route("\142\165\151\x6c\144\x2e\x73\151\x6e\x67\x6c\145\55\x66\x6f\x72\155"); } } }

Function Calls

None

Variables

None

Stats

MD5 dc40cfe573f95e5b17a098641275e7e5
Eval Count 0
Decode Time 55 ms