<?php
namespace Claromentis\Core\CustomCode;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] ?: array()) + array("_1d3cf3f323454d5080ba2f19" . "46b420e9" => base64_decode("dGhpcmRfcGFydHlfc2NyaXB0LmFwcF9" . "uYW1l"), "_81a63d58717daa2360187cde2" . "012676c" => base64_decode("b25QcmVSZW5kZXI" . "="));
use Claromentis\Core\Admin\CurrentPanel;
use Claromentis\Core\Event\EventSubscriberInterface;
use Claromentis\Core\Templater\Events\TemplaterPreRenderEvent;
use Claromentis\Core\Templater\TemplaterEvents;
use Claromentis\Core\Twig\Events\TwigPreRenderEvent;
use Claromentis\Core\Twig\TwigEvents;
class CustomCodeRenderSubscriber implements EventSubscriberInterface
{
    
    
    
    
    protected $current_panel;
    public function __construct(CurrentPanel $_777fee2a9f69c8905bdc4ffffa7d93cf)
    {
        $this->current_panel = $_777fee2a9f69c8905bdc4ffffa7d93cf;
    }
    public static function getSubscribedEvents()
    {
        return [TemplaterEvents::PRE_RENDER => $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_81a63d58717da" . "a2360187cde201" . "2676c"]];
    }
    public function onPreRender(TemplaterPreRenderEvent $event)
    {
        $args = $event->GetArgs();
        $_5b193da9f0138395758a40be26af042a = $this->current_panel->Get();
        $args[$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_1d3cf3f323454d5080ba2f1946b42" . "0e9"]] = $_5b193da9f0138395758a40be26af042a;
        $event->SetArgs($args);
    }
}