namespace Pterodactyl\Http\Controllers\Admin\Arix;
use Illuminate\View\View;
use Illuminate\Support\Facades\Http as AASupport;
use Prologue\Alerts\AlertsMessageBag;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Http\Requests\Admin\Arix\ArixColorsRequest;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class ArixColorsController extends Controller {
public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
}
public function index() : View {
return $this->view->make(base64_decode("YWRtaW4uYXJpeC5jb2xvcnM="), [base64_decode("cHJpbWFyeQ==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6cHJpbWFyeQ=="), base64_decode("IzRBMzVDRg==")), base64_decode("c3VjY2Vzc1RleHQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c3VjY2Vzc1RleHQ="), base64_decode("I0UxRkZEOA==")), base64_decode("c3VjY2Vzc0JvcmRlcg==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c3VjY2Vzc0JvcmRlcg=="), base64_decode("IzU2QUEyQg==")), base64_decode("c3VjY2Vzc0JhY2tncm91bmQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c3VjY2Vzc0JhY2tncm91bmQ="), base64_decode("IzNEOEYxRg==")), base64_decode("ZGFuZ2VyVGV4dA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGFuZ2VyVGV4dA=="), base64_decode("I0ZGRDhEOA==")), base64_decode("ZGFuZ2VyQm9yZGVy") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGFuZ2VyQm9yZGVy"), base64_decode("I0FBMkEyQQ==")), base64_decode("ZGFuZ2VyQmFja2dyb3VuZA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGFuZ2VyQmFja2dyb3VuZA=="), base64_decode("IzhGMUYyMA==")), base64_decode("c2Vjb25kYXJ5VGV4dA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c2Vjb25kYXJ5VGV4dA=="), base64_decode("I0IyQjJDMQ==")), base64_decode("c2VjbkYXJ5Qm9yZGVy") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c2Vjb25kYXJ5Qm9yZGVy"), base64_decode("IzQyNDI1Qg==")), base64_decode("c2VjbkYXJ5QmFja2dyb3VuZA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c2Vjb25kYXJ5QmFja2dyb3VuZA=="), base64_decode("IzJCMkI0MA==")), base64_decode("Z3JheTUw") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTUw"), base64_decode("I0Y0RjRGNA==")), base64_decode("Z3JheTEwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTEwMA=="), base64_decode("I0Q1RDVEQg==")), base64_decode("Z3JheTIwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTIwMA=="), base64_decode("I0IyQjJDMQ==")), base64_decode("Z3JheTMwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTMwMA=="), base64_decode("IzgyODJBNA==")), base64_decode("Z3JheTQwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTQwMA=="), base64_decode("IzVFNUU3Rg==")), base64_decode("Z3JheTUwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTUwMA=="), base64_decode("IzQyNDI1Qg==")), base64_decode("Z3JheTYwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTYwMA=="), base64_decode("IzJCMkI0MA==")), base64_decode("Z3JheTcwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTcwMA=="), base64_decode("IzFEMUQzNw==")), base64_decode("Z3JheTgwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTgwMA=="), base64_decode("IzBCMEQyQQ==")), base64_decode("Z3JheTkwMA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Z3JheTkwMA=="), base64_decode("IzA0MDUxOQ==")), base64_decode("bGlnaHRtb2RlX3ByaW1hcnk=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3ByaW1hcnk="), base64_decode("IzRBMzVDRg==")), base64_decode("bGlnaHRtb2RlX3N1Y2Nlc3NUZXh0") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3N1Y2Nlc3NUZXh0"), base64_decode("I0UxRkZEOA==")), base64_decode("bGlnaHRtb2RlX3N1Y2Nlc3NCb3JkZXI=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3N1Y2Nlc3NCb3JkZXI="), base64_decode("IzU2QUEyQg==")), base64_decode("bGlnaHRtb2RlX3N1Y2Nlc3NCYWNrZ3JvdW5k") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3N1Y2Nlc3NCYWNrZ3JvdW5k"), base64_decode("IzNEOEYxRg==")), base64_decode("bGlnaHRtb2RlX2RhbmdlclRleHQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2RhbmdlclRleHQ="), base64_decode("I0ZGRDhEOA==")), base64_decode("bGlnaHRtb2RlX2RhbmdlckJvcmRlcg==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2RhbmdlckJvcmRlcg=="), base64_decode("I0FBMkEyQQ==")), base64_decode("bGlnaHRtb2RlX2RhbmdlckJhY2tncmbmQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2RhbmdlckJhY2tncm91bmQ="), base64_decode("IzhGMUYyMA==")), base64_decode("bGlnaHRtb2RlX3NlY29uZGFyeVRleHQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3NlY29uZGFyeVRleHQ="), base64_decode("IzQ2NDY0RA==")), base64_decode("bGlnaHRtb2RlX3NlY29uZGFyeUJvcmRlcg==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3NlY29uZGFyeUJvcmRlcg=="), base64_decode("I0MwQzBEMw==")), base64_decode("bGlnaHRtb2RlX3NlY29uZGFyeUJhY2tncmbmQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX3NlY29uZGFyeUJhY2tncm91bmQ="), base64_decode("I0E2QTdCRA==")), base64_decode("bGlnaHRtb2RlX2dyYXk1MA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk1MA=="), base64_decode("IzE0MTQxNQ==")), base64_decode("bGlnaHRtb2RlX2dyYXkxMDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXkxMDA="), base64_decode("IzI3MjcyQw==")), base64_decode("bGlnaHRtb2RlX2dyYXkyMDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXkyMDA="), base64_decode("IzQ2NDY0RA==")), base64_decode("bGlnaHRtb2RlX2dyYXkzMDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXkzMDA="), base64_decode("IzYyNjI3Mg==")), base64_decode("bGlnaHRtb2RlX2dyYXk0MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk0MDA="), base64_decode("Izc1NzY4OQ==")), base64_decode("bGlnaHRtb2RlX2dyYXk1MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk1MDA="), base64_decode("I0E2QTdCRA==")), base64_decode("bGlnaHRtb2RlX2dyYXk2MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk2MDA="), base64_decode("I0MwQzBEMw==")), base64_decode("bGlnaHRtb2RlX2dyYXk3MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk3MDA="), base64_decode("I0U3RTdFRg==")), base64_decode("bGlnaHRtb2RlX2dyYXk4MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk4MDA="), base64_decode("I0YwRjFGNQ==")), base64_decode("bGlnaHRtb2RlX2dyYXk5MDA=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGlnaHRtb2RlX2dyYXk5MDA="), base64_decode("I0ZGRkZGRg=="))]);
}
public function store(ArixColorsRequest $request) {
goto f539d4c62111b840;
F1d23f6341a39635: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5jb2xvcnM="));
goto E7ad6e8c8022e5ae;
Cf2942216b763faf: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
goto F9b88b51c2d771a8;
B1708604d91f50d5: goto efb526a60b4809f3;
goto Fb18c627106df0ab;
c33cf907d57cdaab: $respond = base64_decode("c3VjY2Vzcw==");
goto E37036719723f622;
d4912d33047b30c0: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
goto c33cf907d57cdaab;
efa9279a86106e46: efb526a60b4809f3: goto F1d23f6341a39635;
f539d4c62111b840: $api = 'QVIzMDQxY2YyMzRkNTAwNzJjZmE2MzZhYzU2MGFjOTY2Zg==';
goto d4912d33047b30c0;
Fb18c627106df0ab: A9db8a1cca3bff4e: goto Cf2942216b763faf;
c98d849897214bbf: if (!$responseData[$respond]) {
goto A9db8a1cca3bff4e;
}
goto E138fbfe098cd8cc;
C7096ea34c639211: $responseData = $response->json();
goto c98d849897214bbf;
B15c09129373443d: A41238de0a6b7e4f: goto fa64608a9f083f3e;
F9b88b51c2d771a8: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
goto efa9279a86106e46;
E138fbfe098cd8cc: foreach ($request->normalize() as $key => $value) {
$this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
cd65f7cdc1df5814:
}
goto B15c09129373443d;
fa64608a9f083f3e: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
goto B1708604d91f50d5;
E37036719723f622: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
goto C7096ea34c639211;
E7ad6e8c8022e5ae:
}
}
namespace Pterodactyl\Http\Controllers\Admin\Arix;
use Illuminate\View\View;
use Illuminate\Support\Facades\Http as AASupport;
use Prologue\Alerts\AlertsMessageBag;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Http\Requests\Admin\Arix\ArixColorsRequest;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class ArixColorsController extends Controller {
public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
}
public function index() : View {
return $this->view->make(admin.arix.colors [primary => $this->settings->get(settings::arix:primary #4A35CF), successText => $this->settings->get(settings::arix:successText #E1FFD8), successBorder => $this->settings->get(settings::arix:successBorder #56AA2B), successBackground => $this->settings->get(settings::arix:successBackground #3D8F1F), dangerText => $this->settings->get(settings::arix:dangerText #FFD8D8), dangerBorder => $this->settings->get(settings::arix:dangerBorder #AA2A2A), dangerBackground => $this->settings->get(settings::arix:dangerBackground #8F1F20), secondaryText => $this->settings->get(settings::arix:secondaryText #B2B2C1), secnF'&&FW => $this->settings->get(settings::arix:secondaryBorder #42425B), secnF'&6w&V@ => $this->settings->get(settings::arix:secondaryBackground #2B2B40), gray50 => $this->settings->get(settings::arix:gray50 #F4F4F4), gray100 => $this->settings->get(settings::arix:gray100 #D5D5DB), gray200 => $this->settings->get(settings::arix:gray200 #B2B2C1), gray300 => $this->settings->get(settings::arix:gray300 #8282A4), gray400 => $this->settings->get(settings::arix:gray400 #5E5E7F), gray500 => $this->settings->get(settings::arix:gray500 #42425B), gray600 => $this->settings->get(settings::arix:gray600 #2B2B40), gray700 => $this->settings->get(settings::arix:gray700 #1D1D37), gray800 => $this->settings->get(settings::arix:gray800 #0B0D2A), gray900 => $this->settings->get(settings::arix:gray900 #040519), lightmode_primary => $this->settings->get(settings::arix:lightmode_primary #4A35CF), lightmode_successText => $this->settings->get(settings::arix:lightmode_successText #E1FFD8), lightmode_successBorder => $this->settings->get(settings::arix:lightmode_successBorder #56AA2B), lightmode_successBackground => $this->settings->get(settings::arix:lightmode_successBackground #3D8F1F), lightmode_dangerText => $this->settings->get(settings::arix:lightmode_dangerText #FFD8D8), lightmode_dangerBorder => $this->settings->get(settings::arix:lightmode_dangerBorder #AA2A2A), lightmode_dangerBackgrf => $this->settings->get(settings::arix:lightmode_dangerBackground #8F1F20), lightmode_secondaryText => $this->settings->get(settings::arix:lightmode_secondaryText #46464D), lightmode_secondaryBorder => $this->settings->get(settings::arix:lightmode_secondaryBorder #C0C0D3), lightmode_secondaryBackgrf => $this->settings->get(settings::arix:lightmode_secondaryBackground #A6A7BD), lightmode_gray50 => $this->settings->get(settings::arix:lightmode_gray50 #141415), lightmode_gray100 => $this->settings->get(settings::arix:lightmode_gray100 #27272C), lightmode_gray200 => $this->settings->get(settings::arix:lightmode_gray200 #46464D), lightmode_gray300 => $this->settings->get(settings::arix:lightmode_gray300 #626272), lightmode_gray400 => $this->settings->get(settings::arix:lightmode_gray400 #757689), lightmode_gray500 => $this->settings->get(settings::arix:lightmode_gray500 #A6A7BD), lightmode_gray600 => $this->settings->get(settings::arix:lightmode_gray600 #C0C0D3), lightmode_gray700 => $this->settings->get(settings::arix:lightmode_gray700 #E7E7EF), lightmode_gray800 => $this->settings->get(settings::arix:lightmode_gray800 #F0F1F5), lightmode_gray900 => $this->settings->get(settings::arix:lightmode_gray900 #FFFFFF)]);
}
public function store(ArixColorsRequest $request) {
goto f539d4c62111b840;
F1d23f6341a39635: return redirect()->route(admin.arix.colors);
goto E7ad6e8c8022e5ae;
Cf2942216b763faf: $this->alert->warning(Something went wrong.)->flash();
goto F9b88b51c2d771a8;
B1708604d91f50d5: goto efb526a60b4809f3;
goto Fb18c627106df0ab;
c33cf907d57cdaab: $respond = success;
goto E37036719723f622;
d4912d33047b30c0: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
goto c33cf907d57cdaab;
efa9279a86106e46: efb526a60b4809f3: goto F1d23f6341a39635;
f539d4c62111b840: $api = 'QVIzMDQxY2YyMzRkNTAwNzJjZmE2MzZhYzU2MGFjOTY2Zg==';
goto d4912d33047b30c0;
Fb18c627106df0ab: A9db8a1cca3bff4e: goto Cf2942216b763faf;
c98d849897214bbf: if (!$responseData[$respond]) {
goto A9db8a1cca3bff4e;
}
goto E138fbfe098cd8cc;
C7096ea34c639211: $responseData = $response->json();
goto c98d849897214bbf;
B15c09129373443d: A41238de0a6b7e4f: goto fa64608a9f083f3e;
F9b88b51c2d771a8: throw new \Exception(Something went wrong);
goto efa9279a86106e46;
E138fbfe098cd8cc: foreach ($request->normalize() as $key => $value) {
$this->settings->set(settings:: . $key, $value);
cd65f7cdc1df5814:
}
goto B15c09129373443d;
fa64608a9f083f3e: $this->alert->success(Theme settings have been updated successfully.)->flash();
goto B1708604d91f50d5;
E37036719723f622: $response = AASupport::asForm()->post($endpoint, [license => ]);
goto C7096ea34c639211;
E7ad6e8c8022e5ae:
}
}
© 2023 Quttera Ltd. All rights reserved.