<?php
namespace Claromentis\Stat;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_cfe3120f54395b670652b38c2d0" . "a8e88" => base64_decode("c3V" . "ic3" . "Ry"), "_d706c160e" . "45bf7434ff" . "f82a5976f0" . "e19" => base64_decode("YXJyY" . "Xlfa2" . "V5cw=" . "="), "_70979d287fa2c98d21aa07834c259a" . "52" => base64_decode("c3RydG9sb3dlcg=" . "="), "_f61cbfe" . "09f83985" . "4b95117f" . "e13b4a1b" . "a" => base64_decode("c3RycG9" . "z"), "_aed8da0f1909" . "1214b78f80351" . "048517c" => base64_decode("c3R" . "ybG" . "Vu"));
use Pimple\Container;






class StatPluginProvider
{
    private $plugins = [];
    private $container = null;
    const STAT_APP_NAME_PREFIX = 'stat.provider.';
    
    
    
    
    
    
    public function __construct(Container $_5e4594441b0e531bfd6f0011e0327611)
    {
        $this->container = $_5e4594441b0e531bfd6f0011e0327611;
    }
    
    
    
    
    protected function FindPluginsKeys()
    {
        if (!empty($this->plugins)) {
            return;
        }
        $_dff05f62bb87399254f2155a31e58365 = $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_aed8da0f19091214b" . "78f80351048517c"](self::STAT_APP_NAME_PREFIX);
        foreach ($this->container->keys() as $key) {
            if ($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_f61cbfe" . "09f83985" . "4b95117f" . "e13b4a1b" . "a"]($key, self::STAT_APP_NAME_PREFIX) === 0) {
                $this->plugins[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_cfe3120f54395b670652b38c" . "2d0a8e88"]($key, $_dff05f62bb87399254f2155a31e58365)] = 1;
            }
        }
    }
    
    
    
    
    
    
    public function GetPluginsKeys()
    {
        $this->FindPluginsKeys();
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_d706c160e45bf7434fff82a5" . "976f0e19"]($this->plugins);
    }
    
    
    
    
    
    
    
    
    public function GetPlugin(string $name)
    {
        $service_name = self::STAT_APP_NAME_PREFIX . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_70979d287fa2c" . "98d21aa07834c2" . "59a52"]($name);
        $plugin = null;
        if (isset($this->container[$service_name])) {
            $plugin = $this->container[$service_name];
        }
        return $plugin;
    }
}