<?php
namespace Claromentis\Core\Widget;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_38c4e2c0e08533d3255d07c7cf756" . "c15" => base64_decode("dGVtcGxhdGVyLnVpLmlj" . "b25fbGluaw=="), "_f8cc30e12028" . "153a5b180d628" . "67fa5c3" => base64_decode("dGVtcGxhdGVyLnVpL" . "mljb24="), "_e86d17fe016b8a" . "ccc0b750f62e4ef" . "199" => base64_decode("d" . "W" . "k" . "="), "_e0e6171c" . "9be6df370" . "6f6193fe8" . "e6e731" => base64_decode("dGVtcGxhdGVyLnVpLmFkbWluX3RvX2F" . "wcA=="), "_2551f00ca7fd427eb00eea1" . "72bea3296" => base64_decode("bG9nZ2VyX" . "2ZhY3Rvcn" . "k="), "_a83378bdb84e12feef3" . "f1627432a4bf4" => base64_decode("dGVtcGxhdGVyLnVpLmRpc2F" . "ibGVkX2FwcGxpY2F0aW9u"), "_2d1a3cb5fcd4" . "2c4dc59bca887" . "4129897" => base64_decode("dGVtcGxhdGVyLnVpLm" . "h5YnJpZF9icmVhZGNy" . "dW1i"), "_81268cd43e0b1fbe77d1fa6d" . "e6feb5f2" => base64_decode("dGVtcGxhdGVyLnVpLmFw" . "cF90b19hZG1pbg=="));
use Claromentis\Core\Application;
use Claromentis\Core\Event\EventDispatcher;
use Claromentis\Core\Event\LazyResolver;
use Claromentis\Core\Icon\IconFormatter;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Core\UI\DisabledApplication;
use Claromentis\Core\UI\Icon;
use Claromentis\Core\UI\IconLink;
use Claromentis\Menu\Infobar\ApplicationsListItems;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Api\EventListenerProviderInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Twig\Environment;




class WidgetServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface
{
    
    
    
    
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_81268cd" . "43e0b1fb" . "e77d1fa6" . "de6feb5f" . "2"]] = AppToAdmin::class;
        $app[$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_e0e6171c9be6df370" . "6f6193fe8e6e731"]] = function ($app) {
            return new AdminToApp($app[IconFormatter::class], $app[ApplicationsListItems::class], $app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_2551f00ca7fd427eb" . "00eea172bea3296"]]->GetLogger($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_e86d17fe016b8accc0b7" . "50f62e4ef199"]), $app[Lmsg::class], $app[Environment::class], $app[EventDispatcherInterface::class]);
        };
        $app[$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_2d1a3cb5fcd42c4dc59bca8" . "874129897"]] = HybridBreadcrumb::class;
        $app[WidgetRenderSubscriber::class] = function (Application $app) {
            return $app->create(WidgetRenderSubscriber::class);
        };
        $app[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_f8cc30e12028153a5b180d" . "62867fa5c3"]] = function ($app) {
            return new Icon($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_2551f00c" . "a7fd427eb" . "00eea172b" . "ea3296"]]->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_e86d17fe016b8accc0b750f62e4e" . "f199"]), $app[Environment::class], $app[EventDispatcherInterface::class]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_38c4e2c0e08533d3255d07c7cf7" . "56c15"]] = function ($app) {
            return new IconLink($app[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_2551f00ca7fd4" . "27eb00eea172be" . "a3296"]]->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_e86d17fe016b8accc0b750f62e4" . "ef199"]), $app[Environment::class], $app[EventDispatcher::class]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_a83378bdb84e12fee" . "f3f1627432a4bf4"]] = function ($app) {
            return new DisabledApplication($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_2551f00ca7fd427eb00ee" . "a172bea3296"]]->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_e86d17fe016b8accc0b7" . "50f62e4ef199"]), $app[Environment::class], $app[EventDispatcher::class]);
        };
    }
    
    
    
    
    public function subscribe(Container $app, EventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf)
    {
        (new LazyResolver($app, WidgetRenderSubscriber::class, WidgetRenderSubscriber::getSubscribedEvents()))->subscribe($_b497ce6f2af10f67516aed0ecf34d8cf);
    }
}