<?php
namespace Claromentis\Core\Component;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] ?: array()) + array("_9d563921fc01094b4d118c" . "5bf2187d4b" => base64_decode("Y2xhX2h0bWxz" . "YWZl"), "t" . "i" . "t" . "l" . "e" => base64_decode("dGl0bG" . "U="), "_4d707fab93bebb00bbe69" . "e8159697c90" => base64_decode(""), "_daabcaef5d13ad11434c5" . "94d45e1fc0e" => base64_decode("RXJyb" . "3IgbW" . "Vzc2F" . "nZQ=="), "_5e5ff29e5570db7c92f6" . "a3fb65526022" => base64_decode("PGRpdiBjbGFzcz0iYWxlcnQgY" . "WxlcnQtZGFuZ2VyIiByb2xlPS" . "JhbGVydCI+"), "_32710812e9f3c730de65799" . "37e571ec3" => base64_decode("PC9" . "kaX" . "Y+"));
use Claromentis\Core\Application;
use Claromentis\Core\Component\Exception\ComponentException;






class MessageComponent implements ComponentInterface
{
    protected string $header;
    protected string $body;
    protected ?ComponentInterface $parent;
    public function __construct(string $_c8e54c9b73e8f8de2a97a9c3a1daf1c3, string $_f50e845669e7cd06bbc643eeb57aa01d, ComponentInterface $_bc1b84b0f9f841f8b734489a4a3783ad = null)
    {
        $this->header = $_c8e54c9b73e8f8de2a97a9c3a1daf1c3;
        $this->body = $_f50e845669e7cd06bbc643eeb57aa01d;
        $this->parent = $_bc1b84b0f9f841f8b734489a4a3783ad;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function GetOptions()
    {
        if (null !== $this->parent) {
            return $this->parent->GetOptions();
        }
        return [];
    }
    
    
    
    
    
    
    
    
    
    
    
    public function ShowBody($id_string, OptionsInterface $options, Application $app)
    {
        $_f50e845669e7cd06bbc643eeb57aa01d = $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_9d563921f" . "c01094b4d1" . "18c5bf2187" . "d4b"]($this->body);
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_5e5ff29e5570db7c92f6a" . "3fb65526022"] . $_f50e845669e7cd06bbc643eeb57aa01d . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_32710812e9f3c730de6579937e57" . "1ec3"];
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function ShowHeader($id_string, OptionsInterface $options, Application $app)
    {
        return $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_9d563921f" . "c01094b4d1" . "18c5bf2187" . "d4b"]($this->header);
    }
    
    
    
    
    
    
    
    
    public function GetSizeConstraints()
    {
        if (null !== $this->parent) {
            return $this->parent->GetSizeConstraints();
        }
        return [];
    }
    
    
    
    
    
    
    
    
    
    
    
    public function GetCssClass()
    {
        if (null !== $this->parent) {
            return $this->parent->GetCssClass();
        }
        return $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_4d707fab93bebb00bbe69e8159697c" . "90"];
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function GetCoverInfo()
    {
        if (null !== $this->parent) {
            return $this->parent->GetOptions();
        }
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["t" . "i" . "t" . "l" . "e"] => $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_daabcaef" . "5d13ad114" . "34c594d45" . "e1fc0e"]];
    }
}