<?php
$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: array()) + array("_1a6a10bd0999" . "8ad0ae2a2b4e0" . "fd966e8" => base64_decode("U0NSSVBUX1VS" . "SQ=="), "_2aef71f103069bdb72" . "b57d0b3bd1d294" => base64_decode("Q2Fubm90IGRpc3BsYXkgY29tbWVudHMgLSBwYWdlIG5vdCBpZGVud" . "GlmaWVk"), "page_i" . "d" => base64_decode("cGFnZV" . "9pZA=="), "_69c6236c927bc93c5d062074967d834" . "d" => base64_decode("cGFnZV" . "92ZXJz" . "aW9u"));
class PublishCommentsComponent extends ClaCommentsComponent
{
    public function Show($attributes)
    {
        $_b2e2301cda45361416cebc466d340194 = PublishBrowser::Instance();
        $page_id = $_b2e2301cda45361416cebc466d340194->GetPageIdByUrl($_SERVER[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_1a6a10bd09998ad0ae2a2b" . "4e0fd966e8"]]);
        if ($page_id < 0) {
            return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_2aef71f103069b" . "db72b57d0b3bd1d" . "294"];
        }
        $attributes[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["pag" . "e_i" . "d"]] = $page_id;
        return parent::Show($attributes);
    }
    public function GetCommentsObject($attributes)
    {
        $comments = new PublishComments($attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["pag" . "e_i" . "d"]], $attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_69c6236c927bc93c5d062074967d8" . "34d"]]);
        return $comments;
    }
}