<?php
namespace Claromentis\Admin\Sysadmin;

$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_32ab0a4a53de7d99d94" . "310c02585cdf0" => base64_decode("OjpTaG93QXBwbGVBc3N" . "vY2lhdGlvbg=="), "_4d707fab93bebb00bbe69e8159697c9" . "0" => base64_decode(""), "_fd5f10b831af2624134e504" . "9a7f44447" => base64_decode("L2Fzc2V0bGlua3Mu" . "anNvbg=="), "_924835b096ba361c1fba" . "85983d4951d8" => base64_decode("bWFuaWZlc3RfdmF" . "sdWVz"), "_d7237a5d8" . "0ae9624de2" . "8d92fc1226" . "750" => base64_decode("bWFuaWZlc3Q" . "uY3JlYXRl"), "_e981c08372fe54286e5c" . "54083c093943" => base64_decode("OjpTaG93QXNzZXRMaW5rcw" . "=="), "_5102ccea6de57c3a0cfdb2" . "8deb01c923" => base64_decode("L2FwcGxlLWFwcC1zaXRlL" . "WFzc29jaWF0aW9u"), "_c7a35cdd863753e83240fbb3e7" . "32a6b7" => base64_decode("bm9uZQ" . "=="), "_04c851ced65682f" . "1411090dee7ada43" . "b" => base64_decode("cmVz" . "dA=="), "_a317272d" . "f0aa61245" . "7807eccab" . "78a115" => base64_decode("Ly53ZWxsLWt" . "ub3du"), "_ba95abda522f1512f9dc31" . "cf1c1cbc98" => base64_decode("L21hbmlmZ" . "XN0Lmpzb2" . "4="), "_6176ac8d9206" . "1164564bf4726" . "18c3d53" => base64_decode("d2VsbF9rb" . "m93bg=="));
use Claromentis\Admin\Sysadmin\Controller\WellKnownController;
use Claromentis\Admin\Sysadmin\Events\ManifestCreateEvent;
use Claromentis\Core\Application;
use Claromentis\Core\ControllerCollection;
use Claromentis\Core\Http\JsonPrettyResponse;
use Claromentis\Core\Integration\Repository;
use Claromentis\Core\RouteProviderInterface;
use Pimple\Container;
use Pimple\ServiceProviderInterface;






class IntegrationApplication implements RouteProviderInterface, ServiceProviderInterface
{
    public function GetRoutes(Application $app)
    {
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_4d707fab93bebb00bbe69e8159" . "697c90"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_04c851ced65682" . "f1411090dee7ada" . "43b"], $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_c7a35cdd863753e83240fbb3e7" . "32a6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_ba95abda522f1" . "512f9dc31cf1c1" . "cbc98"], function (Application $app) {
                $_2ab3f661331d702c9375bcba8448b459 = $app->config[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_924835b096ba3" . "61c1fba85983d4" . "951d8"]] ?? [];
                $_e62ca7bbb93b52cafc82da1c2aefe9ec = new ManifestCreateEvent($_2ab3f661331d702c9375bcba8448b459);
                $app->dispatcher->dispatch($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_d7237a5d80ae9624" . "de28d92fc1226750"], $_e62ca7bbb93b52cafc82da1c2aefe9ec);
                $_2ab3f661331d702c9375bcba8448b459 = $_e62ca7bbb93b52cafc82da1c2aefe9ec->GetManifestData();
                return new JsonPrettyResponse($_2ab3f661331d702c9375bcba8448b459);
            });
        }, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_a317272df0aa612457807ecc" . "ab78a115"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_04c851ced65682f14110" . "90dee7ada43b"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_c7a35cdd863753e83240fbb3e7" . "32a6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_fd5f10b831af2624134e5049a7f444" . "47"], WellKnownController::class . $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_e981c08" . "372fe542" . "86e5c540" . "83c09394" . "3"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_5102ccea6de57c3a0cfdb28deb" . "01c923"], WellKnownController::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_32ab0a4a53de7" . "d99d94310c0258" . "5cdf0"]);
        }];
    }
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[WellKnownController::class] = function ($app) {
            return new WellKnownController($app[Repository::class], $app->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_6176ac8d92" . "061164564bf" . "472618c3d53"]));
        };
    }
}