<?php
namespace Claromentis\Communication\Search;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_13e2e60ab52c93cf1030d2e73fd4cf" . "ed" => base64_decode("Y29tbX" . "NfbWVz" . "c2FnZQ" . "=="), "_ae9f187" . "20d32782" . "e40123fe" . "63b81526" . "3" => base64_decode("YXBw" . "X2Nv" . "bW1z"), "_12ce3cd181dc" . "7876f8255553b" . "270db40" => base64_decode("Y29tbW9uLmh" . "lYWRlci5jb2" . "1tdW5pY2F0a" . "W9u"));
use Claromentis\Communication\CommunicationApplication as CommunicationCommunicationApplication;
use Claromentis\Core\DAL\Interfaces\DbInterface;
use Claromentis\Core\Http\HttpUtil;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\People\Repository\UserRepository;
use Claromentis\Search\Application\ApplicationInterface;
use Claromentis\Search\Application\CacheableInterface;
use Claromentis\Search\Application\IconInterface;
use Claromentis\Search\ItemType;
class CommunicationApplication implements ApplicationInterface, CacheableInterface, IconInterface
{
    
    
    
    
    protected $lmsg;
    
    
    
    
    protected $db;
    
    
    
    
    protected $http_util;
    
    
    
    
    protected $user_repo;
    public function __construct(Lmsg $lmsg, DbInterface $db, HttpUtil $_019f644d80568a97cf247afb364302a5, UserRepository $user_repo)
    {
        $this->lmsg = $lmsg;
        $this->db = $db;
        $this->http_util = $_019f644d80568a97cf247afb364302a5;
        $this->user_repo = $user_repo;
    }
    public function GetTypes()
    {
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_13e2e60ab52c93cf1030d2e7" . "3fd4cfed"] => function () {
            return new ItemType\CommunicationMessage($this->db, $this->http_util, $this->user_repo);
        }];
    }
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_12ce3cd181dc7876" . "f8255553b270db40"]);
    }
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_ae9f18720d3278" . "2e40123fe63b815" . "263"];
    }
    public function GetIcon() : string
    {
        return CommunicationCommunicationApplication::APPLICATION_SVG_URL;
    }
    public function getCacheableTypes() : array
    {
        return [$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_13e2e60ab52c93cf10" . "30d2e73fd4cfed"]];
    }
}