<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] ?: array()) + array("_2aef71f103069bdb" . "72b57d0b3bd1d294" => base64_decode("Q2Fubm90IGRpc3BsYXkgY29tbWVudH" . "MgLSBwYWdlIG5vdCBpZGVudGlmaWVk"), "_69c6236c927bc93c5d062074967d8" . "34d" => base64_decode("cGFn" . "ZV92" . "ZXJz" . "aW9u"), "page_i" . "d" => base64_decode("cGFnZV9" . "pZA=="), "_1a6a10bd0999" . "8ad0ae2a2b4e0" . "fd966e8" => base64_decode("U0NSS" . "VBUX1" . "VSSQ=" . "="));
class PublishCommentsComponent extends ClaCommentsComponent
{
    public function Show($attributes)
    {
        $_b2e2301cda45361416cebc466d340194 = PublishBrowser::Instance();
        $page_id = $_b2e2301cda45361416cebc466d340194->GetPageIdByUrl($_SERVER[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_1a6a10bd09998a" . "d0ae2a2b4e0fd96" . "6e8"]]);
        if ($page_id < 0) {
            return $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_2aef71f1" . "03069bdb7" . "2b57d0b3b" . "d1d294"];
        }
        $attributes[$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["page_i" . "d"]] = $page_id;
        return parent::Show($attributes);
    }
    public function GetCommentsObject($attributes)
    {
        $comments = new PublishComments($attributes[$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["pa" . "ge" . "_i" . "d"]], $attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_69c6236c927bc93c5d062074967d83" . "4d"]]);
        return $comments;
    }
}