<?php
namespace Claromentis\Core\CustomCode;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_a2af087873c2" . "b95ce1328bcab" . "00114b7" => base64_decode("dGVtcGxhdGVy" . "LnVpLmN1c3Rv" . "bV9jb2Rl"), "_f2a2aa78dcc887478de" . "f97719a502740" => base64_decode("Y3VzdG9tX2NvZGVfcmVwb3NpdG" . "9yeQ=="));
use Claromentis\Core\Application;
use Claromentis\Core\Event\LazyResolver;
use Claromentis\Core\Widget\CustomCode;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Api\EventListenerProviderInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
class CustomCodeServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface
{
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_a2af087873c2b95ce1328bcab001" . "14b7"]] = CustomCode::class;
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_f2a2aa78dcc887" . "478def97719a502" . "740"]] = function ($app) {
            return new CustomCodeRepository($app->db);
        };
        $app[CustomCodeRepository::class] = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_f2a2aa78dcc88" . "7478def97719a5" . "02740"];
        $app[CustomCodeRenderSubscriber::class] = function (Application $app) {
            return $app->create(CustomCodeRenderSubscriber::class);
        };
    }
    public function subscribe(Container $app, EventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf)
    {
        (new LazyResolver($app, CustomCodeRenderSubscriber::class, CustomCodeRenderSubscriber::getSubscribedEvents()))->subscribe($_b497ce6f2af10f67516aed0ecf34d8cf);
    }
}