<?php

/* AgentBundle:Kb:view.html.twig */
class __TwigTemplate_82ab251e18b27cdc1c63d7a935ca0964 extends \Application\DeskPRO\Twig\Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $context["optionbox"] = $this->env->loadTemplate("AgentBundle:Common:optionbox-macros.html.twig");
        // line 2
        echo "<script>
pageMeta.fragmentClass = 'DeskPRO.Agent.PageFragment.Page.KbViewArticle';
pageMeta.title = ";
        // line 4
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_jsonencode_filter($this->getAttribute($_article_, "title"));
        echo ";
pageMeta.article_id = ";
        // line 5
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "id"), "html", null, true);
        echo ";
pageMeta.url_fragment  = '";
        // line 6
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->urlFragment("agent_kb_article", array("article_id" => $this->getAttribute($_article_, "id"))), "html", null, true);
        echo "';
pageMeta.obj_code = 'article_";
        // line 7
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "id"), "html", null, true);
        echo "';

pageMeta.permalink = '";
        // line 9
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "permalink"), "html", null, true);
        echo "';
pageMeta.labelsSaveUrl = '";
        // line 10
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("agent_kb_ajax_labels_save", array("article_id" => $this->getAttribute($_article_, "id"))), "html", null, true);
        echo "';

";
        // line 12
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "hidden_status") == "validating")) {
            // line 13
            echo "pageMeta.isValidating = true;
";
        }
        // line 15
        echo "
pageMeta.glossaryWords = ";
        // line 16
        if (isset($context["glossary_words"])) { $_glossary_words_ = $context["glossary_words"]; } else { $_glossary_words_ = null; }
        echo twig_jsonencode_filter($_glossary_words_);
        echo ";

pageMeta.canEdit   = ";
        // line 18
        if (isset($context["perms"])) { $_perms_ = $context["perms"]; } else { $_perms_ = null; }
        if ((!$this->getAttribute($_perms_, "can_edit"))) {
            echo "false";
        } else {
            echo "true";
        }
        echo ";
pageMeta.canDelete = ";
        // line 19
        if (isset($context["perms"])) { $_perms_ = $context["perms"]; } else { $_perms_ = null; }
        if ((!$this->getAttribute($_perms_, "can_delete"))) {
            echo "false";
        } else {
            echo "true";
        }
        echo ";

";
        // line 21
        $context["baseId"] = $this->env->getExtension('deskpro_templating')->elUid();
        // line 22
        echo "pageMeta.baseId = '";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "';
</script>
";
        // line 25
        echo "<div class=\"layout-content with-scrollbar page-listing page-kb-view ";
        if (isset($context["perms"])) { $_perms_ = $context["perms"]; } else { $_perms_ = null; }
        if ((!$this->getAttribute($_perms_, "can_edit"))) {
            echo "perm-no-edit";
        }
        echo " ";
        if (isset($context["perms"])) { $_perms_ = $context["perms"]; } else { $_perms_ = null; }
        if ((!$this->getAttribute($_perms_, "can_delete"))) {
            echo "perm-no-delete";
        }
        echo "\">
<div class=\"scrollbar disable\"><div class=\"track\"><div class=\"thumb\"><div class=\"end\"></div></div></div></div>
<div class=\"scroll-viewport\"><div class=\"scroll-content\">
";
        // line 29
        echo "
<div class=\"delete-notice\" ";
        // line 30
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "status_code") != "hidden.deleted")) {
            echo "style=\"display: none;\"";
        }
        echo ">
\t";
        // line 31
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.record_deleted");
        echo " <button class=\"clean-gray xxx-small undelete\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.undelete");
        echo "</button>
</div>

";
        // line 34
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "status_code") == "hidden.validating")) {
            // line 35
            echo "\t";
            $this->env->loadTemplate("AgentBundle:Publish:view-approve-header.html.twig")->display($context);
        }
        // line 37
        echo "
<header class=\"page-header\">
\t<h4 class=\"id-number\">#";
        // line 39
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "id"), "html", null, true);
        echo "</h4>
\t<div style=\"float:left; padding-left: 8px;\">
\t\t<select id=\"";
        // line 41
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_status\">
\t\t\t<option ";
        // line 42
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "status") == "published")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"published\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.status_published");
        echo "</option>
\t\t\t<option ";
        // line 43
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "getStatusCode", array(), "method") == "hidden.unpublished")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"hidden.unpublished\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.status_hidden_unpublished");
        echo "</option>
\t\t\t<option ";
        // line 44
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "status") == "archived")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"archived\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.status_archived");
        echo "</option>
\t\t\t<option ";
        // line 45
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "getStatusCode", array(), "method") == "hidden.draft")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"hidden.draft\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.status_hidden_draft");
        echo "</option>
\t\t</select>
\t</div>
\t<h1>
\t\t<span id=\"";
        // line 49
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_showname\">";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "real_title"), "html", null, true);
        echo "</span>
\t\t<span id=\"";
        // line 50
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_editname\" style=\"display: none\"><input type=\"text\" name=\"name\" value=\"";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "real_title"), "html", null, true);
        echo "\" /></span>
\t\t<span id=\"";
        // line 51
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_editname_start\" class=\"edit-name-gear\"></span>
\t\t<a id=\"";
        // line 52
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_editname_end\" class=\"edit-name-save clean-white\" style=\"display: none\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.done");
        echo "</a>
\t</h1>
\t<br class=\"clear\" />
\t<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin-top: 2px;\">
\t\t<tr>
\t\t\t<td width=\"100%\" valign=\"middle\" style=\"vertical-align: middle;\">
\t\t\t\t<ul id=\"";
        // line 58
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_categories\" class=\"add-remove-list flat with-select2\">
\t\t\t\t\t";
        // line 59
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($_article_, "categories"));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
            // line 60
            echo "\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t<span class=\"remove noedit-hide\">";
            // line 61
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
            echo "</span>
\t\t\t\t\t\t\t";
            // line 62
            if (isset($context["article_categories"])) { $_article_categories_ = $context["article_categories"]; } else { $_article_categories_ = null; }
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            $this->env->loadTemplate("AgentBundle:Common:select-standard.html.twig")->display(array_merge($context, array("name" => "category_ids[]", "add_classname" => "category_id", "add_attr" => "", "with_blank" => 0, "blank_title" => "", "categories" => $_article_categories_, "selected" => $this->getAttribute($_cat_, "id"), "allow_parent_sel" => true)));
            // line 72
            echo "\t\t\t\t\t\t</li>
\t\t\t\t\t";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 74
        echo "\t\t\t\t\t<li class=\"add noedit-hide\" id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_addcat_li\">
\t\t\t\t\t\t<span class=\"add\" id=\"";
        // line 75
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_addcat_trigger\"></span>
\t\t\t\t\t\t";
        // line 76
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.add_category");
        echo "
\t\t\t\t\t\t<script type=\"text/x-deskpro-plain\" id=\"";
        // line 77
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_addcat_select_tpl\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<span class=\"remove noedit-hide\">";
        // line 79
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
        echo "</span>
\t\t\t\t\t\t\t\t";
        // line 80
        if (isset($context["article_categories"])) { $_article_categories_ = $context["article_categories"]; } else { $_article_categories_ = null; }
        $this->env->loadTemplate("AgentBundle:Common:select-standard.html.twig")->display(array_merge($context, array("name" => "category_ids[]", "add_classname" => "category_id", "add_attr" => "", "with_blank" => 0, "blank_title" => "", "categories" => $_article_categories_, "allow_parent_sel" => true, "selected" => 0)));
        // line 90
        echo "\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</script>
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t</td>
\t\t</tr>
\t</table>
\t<div class=\"labels-line\">
\t\t<input
\t\t\ttype=\"hidden\"
\t\t\tid=\"";
        // line 100
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_labels_input\"
\t\t\tclass=\"dpe_select dpe_select_noborder\"
\t\t\tdata-select-width=\"auto\"
\t\t\tdata-placeholder=\"Add a label\"
\t\t\tvalue=\"";
        // line 104
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($_article_, "labels"));
        foreach ($context['_seq'] as $context["_key"] => $context["label"]) {
            if (isset($context["label"])) { $_label_ = $context["label"]; } else { $_label_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_label_, "label"), "html", null, true);
            echo ",";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['label'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        echo "\"
\t\t/>
\t</div>
\t<br class=\"clear\" />
</header>

<div class=\"profile-box-container reply-box-wrap\">
\t<header>
\t\t<nav  id=\"";
        // line 112
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_bodytabs\">
\t\t\t<div class=\"controls\" id=\"";
        // line 113
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_article_save\">
\t\t\t\t<span style=\"display:none\" class=\"mark-loading\"></span>
\t\t\t\t<span style=\"display:none\" class=\"mark-saved\">";
        // line 115
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.saved");
        echo "</span>
\t\t\t</div>
\t\t\t<ul>
\t\t\t\t<li class=\"on\" data-tab-for=\"#";
        // line 118
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .kb-content\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.article");
        echo "</span></li>
\t\t\t\t";
        // line 119
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($this->getAttribute($_app_, "languages"), "isMultiLang", array(), "method")) {
            // line 120
            echo "\t\t\t\t\t<li data-tab-for=\"#";
            if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
            echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
            echo "_tab_contents .kb-trans\"><span>";
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.translations");
            echo "</span></li>
\t\t\t\t";
        }
        // line 122
        echo "\t\t\t\t<li data-tab-for=\"#";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .kb-props\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.properties");
        echo "</span></li>
\t\t\t\t<li data-tab-for=\"#";
        // line 123
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .comments-tab\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.comments");
        echo " (<span id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_count_comments\">";
        if (isset($context["article_comments"])) { $_article_comments_ = $context["article_comments"]; } else { $_article_comments_ = null; }
        echo twig_escape_filter($this->env, _twig_default_filter(twig_length_filter($this->env, $_article_comments_), 0), "html", null, true);
        echo "</span>)</span></li>
\t\t\t\t<li data-tab-for=\"#";
        // line 124
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .revisions-tab\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.label_revisions");
        echo " (<span id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_count_revs\">";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, _twig_default_filter(twig_length_filter($this->env, $this->getAttribute($_article_, "revisions")), 0), "html", null, true);
        echo "</span>)</span></li>
\t\t\t\t<li data-tab-for=\"#";
        // line 125
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .related-content-tab\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.related_content");
        echo " (<span id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_count_related\">0</span>)</span></li>
\t\t\t\t<li data-tab-for=\"#";
        // line 126
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents .search-tab\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.search");
        echo "</span></li>
\t\t\t</ul>
\t\t</nav>
\t</header>
\t<section>

\t\t";
        // line 133
        echo "\t\t<div id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_tab_contents\">
\t\t\t";
        // line 135
        echo "\t\t\t<div class=\"deskpro-tab-item kb-content on\" style=\"display: block\">
\t\t\t\t<nav class=\"sub-box-nav noedit-hide\">
\t\t\t\t\t<ul class=\"option-buttons right\" id=\"";
        // line 137
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_content_edit_btns\">
\t\t\t\t\t\t<li class=\"kb-editor-edit edit\" id=\"";
        // line 138
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_edit_btn\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.ucfirst_edit");
        echo "</span></li>
\t\t\t\t\t\t<li class=\"editor-save-trigger save\" id=\"";
        // line 139
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_save_btn\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.save");
        echo "</span></li>
\t\t\t\t\t\t<li class=\"editor-cancel-trigger cancel\" id=\"";
        // line 140
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_cancel_btn\"><span>";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.cancel");
        echo "</span></li>
\t\t\t\t\t</ul>
\t\t\t\t</nav>
\t\t\t\t<div id=\"";
        // line 143
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_content_ed\" class=\"content-tab-item\">
\t\t\t\t";
        // line 144
        $this->env->loadTemplate("AgentBundle:Kb:view-content-tab.html.twig")->display($context);
        // line 145
        echo "\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
        // line 148
        echo "
\t\t\t";
        // line 149
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($this->getAttribute($_app_, "languages"), "isMultiLang", array(), "method")) {
            // line 150
            echo "\t\t\t\t<div class=\"deskpro-tab-item kb-trans\" style=\"display: none;\">
\t\t\t\t\t";
            // line 151
            $this->env->loadTemplate("AgentBundle:Kb:view-content-trans.html.twig")->display($context);
            // line 152
            echo "\t\t\t\t</div>
\t\t\t";
        }
        // line 154
        echo "
\t\t\t";
        // line 156
        echo "\t\t\t<div class=\"deskpro-tab-item kb-props\" style=\"display: none;\">
\t\t\t\t<section class=\"description-area\">
\t\t\t\t\t<dl class=\"info-list\">
\t\t\t\t\t\t";
        // line 159
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core.use_product"), "method")) {
            // line 160
            echo "\t\t\t\t\t\t\t<dt class=\"\">";
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.products");
            echo "</dt>
\t\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t\t<ul id=\"";
            // line 162
            if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
            echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
            echo "_products\" class=\"add-remove-list with-select2\">
\t\t\t\t\t\t\t\t\t";
            // line 163
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_article_, "products"));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
                // line 164
                echo "\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"remove noedit-hide\">";
                // line 165
                echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
                echo "</span>
\t\t\t\t\t\t\t\t\t\t\t";
                // line 166
                if (isset($context["article_products"])) { $_article_products_ = $context["article_products"]; } else { $_article_products_ = null; }
                if (isset($context["prod"])) { $_prod_ = $context["prod"]; } else { $_prod_ = null; }
                $this->env->loadTemplate("AgentBundle:Common:select-standard.html.twig")->display(array_merge($context, array("name" => "product_ids[]", "add_classname" => "product_id", "add_attr" => "", "with_blank" => 0, "blank_title" => "", "categories" => $_article_products_, "selected" => $this->getAttribute($_prod_, "id"))));
                // line 175
                echo "\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 177
            echo "\t\t\t\t\t\t\t\t\t<li class=\"add noedit-hide\" id=\"";
            if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
            echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
            echo "_addprod_li\">
\t\t\t\t\t\t\t\t\t\t<span class=\"add\" id=\"";
            // line 178
            if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
            echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
            echo "_addprod_trigger\"></span>
\t\t\t\t\t\t\t\t\t\t";
            // line 179
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.add_product");
            echo "
\t\t\t\t\t\t\t\t\t\t<script type=\"text/x-deskpro-plain\" id=\"";
            // line 180
            if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
            echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
            echo "_addprod_select_tpl\">
\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"remove noedit-hide\">";
            // line 182
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
            echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t";
            // line 183
            if (isset($context["article_products"])) { $_article_products_ = $context["article_products"]; } else { $_article_products_ = null; }
            $this->env->loadTemplate("AgentBundle:Common:select-standard.html.twig")->display(array_merge($context, array("name" => "product_ids[]", "add_classname" => "product_id", "add_attr" => "", "with_blank" => 0, "blank_title" => "", "categories" => $_article_products_, "selected" => 0)));
            // line 192
            echo "\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t</script>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</dd>
\t\t\t\t\t\t";
        }
        // line 198
        echo "
\t\t\t\t\t\t<dt>URL Slug</dt>
\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t<span id=\"";
        // line 201
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_slug\">";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "slug"), "html", null, true);
        echo "</span>
\t\t\t\t\t\t\t<button class=\"clean-white\" id=\"";
        // line 202
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_editslug\">Edit Slug</button>
\t\t\t\t\t\t</dd>

\t\t\t\t\t\t<dt>";
        // line 205
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.rating");
        echo "</dt>
\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t";
        // line 207
        ob_start();
        // line 208
        echo "\t\t\t\t\t\t\t<span class=\"link-look who-voted-trigger\">";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.count_votecount_votes", array("count" => $this->getAttribute($_article_, "num_ratings")));
        echo "</span>
\t\t\t\t\t\t\t";
        $context["phrase_part"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 210
        echo "\t\t\t\t\t\t\t";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (isset($context["phrase_part"])) { $_phrase_part_ = $context["phrase_part"]; } else { $_phrase_part_ = null; }
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.percent_helpful_subphrase", array("percent" => $this->getAttribute($_article_, "rating_percent"), "subphrase" => $_phrase_part_), true);
        echo "<br />
\t\t\t\t\t\t\t<small>";
        // line 211
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.found_article_helpful_or_not", array("up_votes" => $this->getAttribute($_article_, "up_votes"), "down_votes" => $this->getAttribute($_article_, "down_votes")));
        echo "</small>
\t\t\t\t\t\t</dd>

\t\t\t\t\t\t";
        // line 214
        if (isset($context["user_view_count"])) { $_user_view_count_ = $context["user_view_count"]; } else { $_user_view_count_ = null; }
        if ($_user_view_count_) {
            // line 215
            echo "\t\t\t\t\t\t\t<dt></dt>
\t\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t\t";
            // line 217
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.registered_views");
            echo ": <a href=\"";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("agent_publish_whoviewed", array("object_type" => 1, "object_id" => $this->getAttribute($_article_, "id"))), "html", null, true);
            echo "\" class=\"open-who-viewed\">";
            if (isset($context["user_view_count"])) { $_user_view_count_ = $context["user_view_count"]; } else { $_user_view_count_ = null; }
            echo twig_escape_filter($this->env, $_user_view_count_, "html", null, true);
            echo "</a>
\t\t\t\t\t\t\t</dd>
\t\t\t\t\t\t";
        }
        // line 220
        echo "
\t\t\t\t\t\t";
        // line 221
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "date_created") == $this->getAttribute($_article_, "date_published"))) {
            // line 222
            echo "\t\t\t\t\t\t\t<dt>";
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.created_and_published");
            echo ":</dt>
\t\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t\t";
            // line 224
            ob_start();
            // line 225
            echo "\t\t\t\t\t\t\t\t\t<time class=\"timeago\" datetime=\"";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "c", "UTC"), "html", null, true);
            echo "\"></time>
\t\t\t\t\t\t\t\t";
            $context["phrase_part1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 227
            echo "\t\t\t\t\t\t\t\t";
            ob_start();
            // line 228
            echo "\t\t\t\t\t\t\t\t\t<time>";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "fulltime"), "html", null, true);
            echo "</time>
\t\t\t\t\t\t\t\t";
            $context["phrase_part2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 230
            echo "\t\t\t\t\t\t\t\t";
            if (isset($context["phrase_part1"])) { $_phrase_part1_ = $context["phrase_part1"]; } else { $_phrase_part1_ = null; }
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            if (isset($context["phrase_part2"])) { $_phrase_part2_ = $context["phrase_part2"]; } else { $_phrase_part2_ = null; }
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.event_time_ago_by_who_at_when", array("ago" => $_phrase_part1_, "name" => $this->getAttribute($this->getAttribute($_article_, "person"), "display_name"), "date" => $_phrase_part2_), true);
            echo "
\t\t\t\t\t\t\t</dd>
\t\t\t\t\t\t";
        } else {
            // line 233
            echo "\t\t\t\t\t\t\t<dt>";
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.date_created");
            echo ":</dt>
\t\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t\t";
            // line 235
            ob_start();
            // line 236
            echo "\t\t\t\t\t\t\t\t<time class=\"timeago\" datetime=\"";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "c", "UTC"), "html", null, true);
            echo "\"></time>
\t\t\t\t\t\t\t\t";
            $context["phrase_part1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 238
            echo "\t\t\t\t\t\t\t\t";
            ob_start();
            // line 239
            echo "\t\t\t\t\t\t\t\t<time>";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "fulltime"), "html", null, true);
            echo "</time>
\t\t\t\t\t\t\t\t";
            $context["phrase_part2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 241
            echo "\t\t\t\t\t\t\t\t";
            if (isset($context["phrase_part1"])) { $_phrase_part1_ = $context["phrase_part1"]; } else { $_phrase_part1_ = null; }
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            if (isset($context["phrase_part2"])) { $_phrase_part2_ = $context["phrase_part2"]; } else { $_phrase_part2_ = null; }
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.event_time_ago_by_who_at_when", array("ago" => $_phrase_part1_, "name" => $this->getAttribute($this->getAttribute($_article_, "person"), "display_name"), "date" => $_phrase_part2_), true);
            echo "
\t\t\t\t\t\t\t</dd>

\t\t\t\t\t\t\t";
            // line 245
            echo "\t\t\t\t\t\t\t";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            if (($this->getAttribute($_article_, "date_published") && ($this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_published"), "U") < $this->env->getExtension('deskpro_templating')->userDate($context, "now", "U")))) {
                // line 246
                echo "\t\t\t\t\t\t\t\t<dt>";
                echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.date_published");
                echo ":</dt>
\t\t\t\t\t\t\t\t<dd>
\t\t\t\t\t\t\t\t\t";
                // line 248
                ob_start();
                // line 249
                echo "\t\t\t\t\t\t\t\t\t<time class=\"timeago\" datetime=\"";
                if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
                echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "c", "UTC"), "html", null, true);
                echo "\"></time>
\t\t\t\t\t\t\t\t\t";
                $context["phrase_part1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 251
                echo "\t\t\t\t\t\t\t\t\t";
                ob_start();
                // line 252
                echo "\t\t\t\t\t\t\t\t\t<time>";
                if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
                echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_created"), "fulltime"), "html", null, true);
                echo "</time>
\t\t\t\t\t\t\t\t\t";
                $context["phrase_part2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 254
                echo "\t\t\t\t\t\t\t\t\t";
                if (isset($context["phrase_part1"])) { $_phrase_part1_ = $context["phrase_part1"]; } else { $_phrase_part1_ = null; }
                if (isset($context["phrase_part2"])) { $_phrase_part2_ = $context["phrase_part2"]; } else { $_phrase_part2_ = null; }
                echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.event_time_ago_at_when", array("ago" => $_phrase_part1_, "date" => $_phrase_part2_), true);
                echo "
\t\t\t\t\t\t\t\t</dd>
\t\t\t\t\t\t\t";
            }
            // line 257
            echo "\t\t\t\t\t\t";
        }
        // line 258
        echo "
\t\t\t\t\t\t<dd id=\"";
        // line 259
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_auto_unpub\" ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ((!($this->getAttribute($_article_, "status") == "published"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t<span class=\"auto-unpublish\" ";
        // line 260
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ((!$this->getAttribute($_article_, "date_end"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t\t";
        // line 261
        ob_start();
        echo "<span class=\"end-action opt\" data-val=\"";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, (($this->getAttribute($_article_, "end_action", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($_article_, "end_action"), "unpublish")) : ("unpublish")), "html", null, true);
        echo "\">";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, (($this->getAttribute($_article_, "end_action", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($_article_, "end_action"), $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.unpublish"))) : ($this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.unpublish"))), "html", null, true);
        echo "</span>";
        $context["phrase_part1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 262
        echo "\t\t\t\t\t\t\t\t";
        ob_start();
        echo "<span class=\"end-date opt\" ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_end")) {
            echo "data-val=\"";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_end"), "U"), "html", null, true);
            echo "\"";
        }
        echo "> ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_end")) {
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_end"), "day"), "html", null, true);
        } else {
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.click_to_set_date");
        }
        echo "</span>";
        $context["phrase_part2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 263
        echo "\t\t\t\t\t\t\t\t";
        if (isset($context["phrase_part1"])) { $_phrase_part1_ = $context["phrase_part1"]; } else { $_phrase_part1_ = null; }
        if (isset($context["phrase_part2"])) { $_phrase_part2_ = $context["phrase_part2"]; } else { $_phrase_part2_ = null; }
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "user.knowledgebase.auto_action_on_date", array("action" => $_phrase_part1_, "date" => $_phrase_part2_), true);
        echo "
\t\t\t\t\t\t\t\t<input type=\"text\" class=\"end-date-input\" value=\"";
        // line 264
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_end"), "U"), "html", null, true);
        echo "\" style=\"visibility: none; width: 1px; height: 1px; overflow: hidden; border: 0; margin: 0; padding: 0;\" />
\t\t\t\t\t\t\t\t(<span class=\"remove-auto-unpublish options-text\">";
        // line 265
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
        echo "</span>)
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t<span class=\"options-text auto-unpublish-set\" ";
        // line 267
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_end")) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t\t";
        // line 268
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.set_auto_unpublish_date");
        echo "
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t<br />

\t\t\t\t\t\t\t<ul class=\"end-action-menu\" style=\"display: none\">
\t\t\t\t\t\t\t\t<li data-action=\"unpublish\">";
        // line 273
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.unpublish");
        echo "</li>
\t\t\t\t\t\t\t\t<li data-action=\"archive\">";
        // line 274
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.archive");
        echo "</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</dd>

\t\t\t\t\t\t<dd id=\"";
        // line 278
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_auto_pub\" ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ((!($this->getAttribute($_article_, "hidden_status") == "unpublished"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t<span class=\"auto-publish\" ";
        // line 279
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ((!$this->getAttribute($_article_, "date_published"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t\t";
        // line 280
        ob_start();
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.publish");
        $context["phrase_part1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 281
        echo "\t\t\t\t\t\t\t\t";
        ob_start();
        echo "<span class=\"pub-date opt\" ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_published")) {
            echo "data-val=\"";
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_published"), "U"), "html", null, true);
            echo "\"";
        }
        echo "> ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_published")) {
            if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
            echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_published"), "day"), "html", null, true);
        } else {
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.click_to_set_date");
        }
        echo "</span>";
        $context["phrase_part2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 282
        echo "\t\t\t\t\t\t\t\t";
        if (isset($context["phrase_part1"])) { $_phrase_part1_ = $context["phrase_part1"]; } else { $_phrase_part1_ = null; }
        if (isset($context["phrase_part2"])) { $_phrase_part2_ = $context["phrase_part2"]; } else { $_phrase_part2_ = null; }
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "user.knowledgebase.auto_action_on_date", array("action" => $_phrase_part1_, "date" => $_phrase_part2_), true);
        echo "
\t\t\t\t\t\t\t\t<input type=\"text\" class=\"pub-date-input\" value=\"";
        // line 283
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, $this->getAttribute($_article_, "date_published"), "U"), "html", null, true);
        echo "\" style=\"visibility: none; width: 1px; height: 1px; overflow: hidden; border: 0; margin: 0; padding: 0;\" />
\t\t\t\t\t\t\t\t(<span class=\"remove-auto-publish options-text\">";
        // line 284
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.remove");
        echo "</span>)
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t<span class=\"options-text auto-publish-set\" ";
        // line 286
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if ($this->getAttribute($_article_, "date_published")) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t\t\t\t\t";
        // line 287
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.set_auto_publish_date");
        echo "
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</dd>
\t\t\t\t\t</dl>

\t\t\t\t\t<div class=\"controls\" id=\"";
        // line 292
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_action_buttons\">
\t\t\t\t\t\t<div class=\"showing-editing-fields\" style=\"display: none\">
\t\t\t\t\t\t\t<button class=\"clean-white save-fields-trigger\"><span>";
        // line 294
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.save");
        echo "</span></button>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"showing-rendered-fields\">
\t\t\t\t\t\t\t";
        // line 297
        if (isset($context["custom_fields"])) { $_custom_fields_ = $context["custom_fields"]; } else { $_custom_fields_ = null; }
        if (twig_length_filter($this->env, $_custom_fields_)) {
            echo "<button class=\"clean-white edit-fields-trigger noedit-hide\"><span>";
            echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.edit_properties");
            echo "</span></button>";
        }
        // line 298
        echo "\t\t\t\t\t\t\t<button class=\"clean-white delete nodelete-hide\" ";
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        if (($this->getAttribute($_article_, "status_code") == "hidden.deleted")) {
            echo "style=\"display:none\"";
        }
        echo ">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.delete");
        echo "</button>
\t\t\t\t\t\t\t<button class=\"clean-white permalink\">";
        // line 299
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.copy_permalink");
        echo "</button>
\t\t\t\t\t\t\t<button class=\"clean-white view-user-interface\">";
        // line 300
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.view_in_user_interface");
        echo "</button>
\t\t\t\t\t\t\t<a target=\"_blank\" href=\"";
        // line 301
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("agent_kb_article", array("article_id" => $this->getAttribute($_article_, "id"), "pdf" => 1, "_rt" => $this->env->getExtension('deskpro_templating')->securityToken("request_token", 10800))), "html", null, true);
        echo "\"><button class=\"clean-white\">";
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.download_pdf");
        echo "</button></a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</section>
\t\t\t</div>
\t\t\t";
        // line 307
        echo "
\t\t\t";
        // line 309
        echo "\t\t\t<div class=\"deskpro-tab-item content-tab-item comments-tab\">
\t\t\t\t<div class=\"article-comments\">
\t\t\t\t\t<div class=\"full-deskpro-tab-item\">
\t\t\t\t\t\t<div class=\"messages-wrap\" id=\"";
        // line 312
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_comments_wrap\">
\t\t\t\t\t\t\t";
        // line 313
        if (isset($context["article_comments"])) { $_article_comments_ = $context["article_comments"]; } else { $_article_comments_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_article_comments_);
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
            // line 314
            echo "\t\t\t\t\t\t\t\t";
            if (isset($context["loop"])) { $_loop_ = $context["loop"]; } else { $_loop_ = null; }
            $context["comment_num"] = $this->getAttribute($_loop_, "index");
            // line 315
            echo "\t\t\t\t\t\t\t\t";
            $this->env->loadTemplate("AgentBundle:Kb:view-comment.html.twig")->display($context);
            // line 316
            echo "\t\t\t\t\t\t\t";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 317
        echo "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"messages-wrap new-note\">
\t\t\t\t\t\t\t<article
\t\t\t\t\t\t\t\tclass=\"content-message agent-message\"
\t\t\t\t\t\t\t\tdata-comment-id=\"";
        // line 321
        if (isset($context["comment"])) { $_comment_ = $context["comment"]; } else { $_comment_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_comment_, "id"), "html", null, true);
        echo "\"
\t\t\t\t\t\t\t\tdata-content-type=\"";
        // line 322
        if (isset($context["comment"])) { $_comment_ = $context["comment"]; } else { $_comment_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_comment_, "object_content_type"), "html", null, true);
        echo "\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<div class=\"avatar\">
\t\t\t\t\t\t\t\t\t<img src=\"";
        // line 325
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_app_, "user"), "getPictureUrl", array(0 => 40), "method"), "html", null, true);
        echo "\" alt=\"\" width=\"40\" height=\"40\" />
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"content\">
\t\t\t\t\t\t\t\t\t<header>
\t\t\t\t\t\t\t\t\t\t<h4>";
        // line 329
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.new_comment");
        echo "</h4>
\t\t\t\t\t\t\t\t\t</header>
\t\t\t\t\t\t\t\t\t<div class=\"body-text\">
\t\t\t\t\t\t\t\t\t\t<textarea style=\"width:99%; height: 80px;\"></textarea>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"footer-text\">
\t\t\t\t\t\t\t\t\t\t<div class=\"loading-off\">
\t\t\t\t\t\t\t\t\t\t\t<button class=\"clean-white\">";
        // line 336
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.add_comment");
        echo "</button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"loading-on\" style=\"display:none\">
\t\t\t\t\t\t\t\t\t\t\t";
        // line 339
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.saving");
        echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</article>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
        // line 349
        echo "
\t\t\t";
        // line 351
        echo "\t\t\t<div id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_revs\" class=\"loaded deskpro-tab-item content-tab-item revisions-tab\">
\t\t\t\t";
        // line 352
        $this->env->loadTemplate("AgentBundle:Kb:view-revisions-tab.html.twig")->display($context);
        // line 353
        echo "\t\t\t</div>
\t\t\t";
        // line 355
        echo "
\t\t\t";
        // line 357
        echo "\t\t\t<div id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_related_content\" class=\"deskpro-tab-item content-tab-item kb-related-content related-content-tab\">
\t\t\t\t";
        // line 358
        $this->env->loadTemplate("AgentBundle:Common:content-related-list.html.twig")->display($context);
        // line 359
        echo "\t\t\t</div>
\t\t\t";
        // line 361
        echo "
\t\t\t";
        // line 363
        echo "\t\t\t<div id=\"";
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_searchtab\" class=\"deskpro-tab-item search-tab\">
\t\t\t\t<section class=\"description-area sticky-search-words\">
\t\t\t\t\t<dl class=\"info-list\">
\t\t\t\t\t\t<dt>";
        // line 366
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.sticky_words_title");
        echo "</dt>
\t\t\t\t\t\t<dd class=\"ticket-tags tags-wrap noedit-tags\">
\t\t\t\t\t\t\t<input type=\"text\" id=\"";
        // line 368
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo twig_escape_filter($this->env, $_baseId_, "html", null, true);
        echo "_stickysearch_input\" value=\"";
        if (isset($context["sticky_search_words"])) { $_sticky_search_words_ = $context["sticky_search_words"]; } else { $_sticky_search_words_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_sticky_search_words_);
        foreach ($context['_seq'] as $context["_key"] => $context["label"]) {
            if (isset($context["label"])) { $_label_ = $context["label"]; } else { $_label_ = null; }
            echo twig_escape_filter($this->env, $_label_, "html", null, true);
            echo ",";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['label'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        echo "\" />
\t\t\t\t\t\t\t<br class=\"clear\" />
\t\t\t\t\t\t\t<div class=\"explain\">
\t\t\t\t\t\t\t\t";
        // line 371
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.publish.search_sticky_words_explain");
        echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</dd>
\t\t\t\t\t</dl>
\t\t\t\t</section>

\t\t\t\t<br />

\t\t\t\t";
        // line 379
        $this->env->loadTemplate("AgentBundle:Publish:rated-searches.html.twig")->display($context);
        // line 380
        echo "\t\t\t</div>
\t\t\t";
        // line 382
        echo "\t\t</div>
\t\t";
        // line 384
        echo "\t</section>
</div>

<div class=\"inline-editable\" style=\"display:none\">
\t<div class=\"title\">
\t\t<input type=\"text\" name=\"title\" value=\"";
        // line 389
        if (isset($context["article"])) { $_article_ = $context["article"]; } else { $_article_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_article_, "real_title"), "html", null, true);
        echo "\"/>
\t\t<input type=\"hidden\" name=\"action\" value=\"title\" />
\t</div>
</div>

";
        // line 411
        if (isset($context["optionbox"])) { $_optionbox_ = $context["optionbox"]; } else { $_optionbox_ = null; }
        if (isset($context["baseId"])) { $_baseId_ = $context["baseId"]; } else { $_baseId_ = null; }
        echo $_optionbox_->getstart($this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.add_category"), array("id" => ($_baseId_ . "_cat_ob")));
        echo "
\t";
        // line 412
        if (isset($context["optionbox"])) { $_optionbox_ = $context["optionbox"]; } else { $_optionbox_ = null; }
        echo $_optionbox_->getsection_start("", "category");
        echo "
\t\t";
        // line 413
        if (isset($context["article_categories"])) { $_article_categories_ = $context["article_categories"]; } else { $_article_categories_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_article_categories_);
        foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
            // line 414
            echo "\t\t\t";
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo $this->getAttribute($this, "category_row", array(0 => $_cat_, 1 => 0), "method");
            echo "
\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 416
        echo "\t";
        if (isset($context["optionbox"])) { $_optionbox_ = $context["optionbox"]; } else { $_optionbox_ = null; }
        echo $_optionbox_->getsection_end();
        echo "
";
        // line 417
        if (isset($context["optionbox"])) { $_optionbox_ = $context["optionbox"]; } else { $_optionbox_ = null; }
        echo $_optionbox_->getend($this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.add_category"));
        echo "

";
        // line 420
        echo "</div></div></div>
";
    }

    // line 394
    public function getcategory_row($_cat = null, $_depth = null)
    {
        $context = $this->env->mergeGlobals(array(
            "cat" => $_cat,
            "depth" => $_depth,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 395
            echo "\t<li
\t\tclass=\"";
            // line 396
            if (isset($context["depth"])) { $_depth_ = $context["depth"]; } else { $_depth_ = null; }
            if ((!$_depth_)) {
                echo "top";
            } else {
                echo "child";
            }
            echo " ";
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            if ($this->getAttribute($_cat_, "children")) {
                echo "parent-option";
            }
            echo " item-";
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "id"), "html", null, true);
            echo " depth-";
            if (isset($context["depth"])) { $_depth_ = $context["depth"]; } else { $_depth_ = null; }
            echo twig_escape_filter($this->env, $_depth_, "html", null, true);
            echo "\"
\t\t";
            // line 397
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            if ($this->getAttribute($_cat_, "parent_id")) {
                echo "data-parent-id=\"";
                if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
                echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "parent_id"), "html", null, true);
                echo "\"";
            }
            // line 398
            echo "\t\tdata-item-id=\"";
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "id"), "html", null, true);
            echo "\"
\t\tdata-full-title=\"";
            // line 399
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "title"), "html", null, true);
            echo "\"
\t>
\t\t";
            // line 401
            if (isset($context["depth"])) { $_depth_ = $context["depth"]; } else { $_depth_ = null; }
            if ($_depth_) {
                echo "<span class=\"elbow-end\"></span>";
            }
            // line 402
            echo "\t\t<input type=\"radio\" name=\"category_id\" value=\"";
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "id"), "html", null, true);
            echo "\" />
\t\t<label>";
            // line 403
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_cat_, "title"), "html", null, true);
            echo "</label>
\t</li>
\t";
            // line 405
            if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
            if (twig_length_filter($this->env, $this->getAttribute($_cat_, "children"))) {
                // line 406
                echo "\t\t";
                if (isset($context["cat"])) { $_cat_ = $context["cat"]; } else { $_cat_ = null; }
                $context['_parent'] = (array) $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_cat_, "children"));
                foreach ($context['_seq'] as $context["_key"] => $context["subcat"]) {
                    // line 407
                    echo "\t\t\t";
                    if (isset($context["subcat"])) { $_subcat_ = $context["subcat"]; } else { $_subcat_ = null; }
                    if (isset($context["depth"])) { $_depth_ = $context["depth"]; } else { $_depth_ = null; }
                    echo $this->getAttribute($this, "category_row", array(0 => $_subcat_, 1 => ($_depth_ + 1)), "method");
                    echo "
\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcat'], $context['_parent'], $context['loop']);
                $context = array_merge($_parent, array_intersect_key($context, $_parent));
                // line 409
                echo "\t";
            }
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
    }

    public function getTemplateName()
    {
        return "AgentBundle:Kb:view.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1326 => 406,  1306 => 401,  1300 => 399,  1219 => 413,  1199 => 389,  1186 => 380,  1141 => 363,  1138 => 361,  1135 => 359,  1098 => 339,  1067 => 322,  1017 => 313,  968 => 297,  875 => 274,  846 => 264,  788 => 258,  805 => 290,  801 => 260,  842 => 263,  832 => 333,  1038 => 364,  932 => 326,  831 => 299,  837 => 239,  790 => 278,  733 => 210,  666 => 263,  919 => 83,  873 => 74,  824 => 67,  762 => 227,  713 => 248,  697 => 282,  2739 => 1153,  2735 => 1152,  2732 => 1151,  2725 => 1146,  2712 => 1144,  2707 => 1143,  2692 => 1131,  2688 => 1130,  2683 => 1127,  2680 => 1126,  2677 => 1125,  2671 => 1121,  2658 => 1119,  2653 => 1118,  2645 => 1113,  2641 => 1112,  2636 => 1109,  2632 => 1108,  2629 => 1107,  2626 => 1106,  2606 => 1089,  2602 => 1088,  2598 => 1087,  2594 => 1086,  2590 => 1085,  2586 => 1084,  2572 => 1073,  2568 => 1072,  2564 => 1071,  2560 => 1070,  2556 => 1069,  2552 => 1068,  2537 => 1056,  2533 => 1055,  2529 => 1054,  2525 => 1053,  2521 => 1052,  2503 => 1040,  2499 => 1039,  2495 => 1038,  2491 => 1037,  2487 => 1036,  2483 => 1035,  2469 => 1024,  2465 => 1023,  2461 => 1022,  2457 => 1021,  2453 => 1020,  2449 => 1019,  2426 => 999,  2422 => 998,  2418 => 997,  2414 => 996,  2410 => 995,  2406 => 994,  2392 => 983,  2388 => 982,  2384 => 981,  2380 => 980,  2376 => 979,  2372 => 978,  2358 => 967,  2354 => 966,  2350 => 965,  2346 => 964,  2342 => 963,  2338 => 962,  2324 => 951,  2320 => 950,  2316 => 949,  2312 => 948,  2308 => 947,  2304 => 946,  2295 => 939,  2282 => 937,  2277 => 936,  2269 => 931,  2265 => 930,  2260 => 927,  2256 => 926,  2253 => 925,  2230 => 901,  2220 => 899,  2216 => 898,  2211 => 896,  2208 => 895,  2198 => 893,  2194 => 892,  2189 => 890,  2184 => 889,  2177 => 885,  2173 => 884,  2164 => 877,  2151 => 875,  2146 => 874,  2143 => 873,  2141 => 864,  2134 => 860,  2130 => 859,  2122 => 853,  2120 => 852,  2113 => 848,  2105 => 846,  2096 => 839,  2083 => 837,  2078 => 836,  2073 => 834,  2067 => 830,  2062 => 828,  2058 => 827,  2054 => 826,  2050 => 825,  2045 => 824,  2038 => 822,  2034 => 821,  2022 => 814,  2009 => 812,  1999 => 809,  1993 => 805,  1988 => 803,  1984 => 802,  1980 => 801,  1976 => 800,  1971 => 799,  1968 => 798,  1964 => 797,  1960 => 796,  1954 => 793,  1946 => 788,  1942 => 787,  1938 => 786,  1932 => 782,  1927 => 780,  1919 => 778,  1915 => 777,  1911 => 776,  1906 => 775,  1903 => 774,  1899 => 773,  1895 => 772,  1886 => 768,  1883 => 764,  1871 => 759,  1866 => 756,  1863 => 755,  1842 => 752,  1825 => 749,  1818 => 748,  1815 => 747,  1800 => 743,  1793 => 741,  1772 => 729,  1761 => 721,  1757 => 720,  1751 => 717,  1740 => 709,  1719 => 697,  1715 => 696,  1686 => 673,  1676 => 669,  1665 => 661,  1661 => 660,  1645 => 651,  1638 => 649,  1630 => 645,  1625 => 642,  1622 => 641,  1598 => 637,  1577 => 634,  1558 => 629,  1549 => 627,  1546 => 626,  1535 => 618,  1531 => 617,  1514 => 606,  1510 => 605,  1504 => 602,  1493 => 594,  1483 => 590,  1464 => 580,  1458 => 577,  1443 => 568,  1437 => 565,  1426 => 557,  1405 => 545,  1401 => 544,  1395 => 541,  1390 => 538,  1381 => 533,  1373 => 531,  1348 => 521,  1343 => 409,  1335 => 515,  1321 => 510,  1318 => 509,  1299 => 503,  1294 => 398,  1282 => 496,  1269 => 491,  1260 => 483,  1240 => 417,  1221 => 476,  1216 => 475,  1210 => 474,  1206 => 473,  1193 => 467,  1189 => 382,  1155 => 450,  1077 => 433,  1049 => 419,  1022 => 411,  1010 => 405,  1006 => 404,  988 => 398,  969 => 392,  965 => 391,  929 => 372,  896 => 358,  866 => 349,  862 => 348,  854 => 346,  844 => 338,  776 => 254,  1713 => 683,  1700 => 681,  1685 => 674,  1662 => 670,  1643 => 669,  1640 => 668,  1631 => 663,  1618 => 661,  1613 => 660,  1608 => 639,  1605 => 656,  1602 => 655,  1589 => 645,  1586 => 644,  1583 => 643,  1554 => 613,  1547 => 608,  1521 => 602,  1508 => 600,  1499 => 598,  1491 => 593,  1482 => 587,  1472 => 582,  1468 => 581,  1465 => 579,  1457 => 573,  1445 => 566,  1422 => 556,  1416 => 553,  1410 => 548,  1397 => 546,  1392 => 545,  1386 => 541,  1377 => 532,  1370 => 530,  1357 => 528,  1352 => 527,  1341 => 518,  1314 => 510,  1311 => 402,  1275 => 493,  1248 => 484,  1238 => 478,  1225 => 476,  1220 => 475,  1209 => 466,  1182 => 463,  1159 => 450,  1154 => 368,  1130 => 438,  1125 => 437,  1101 => 426,  1087 => 420,  1074 => 325,  1056 => 317,  1046 => 418,  1043 => 404,  1030 => 397,  1027 => 412,  999 => 384,  893 => 338,  881 => 335,  877 => 334,  847 => 343,  825 => 304,  766 => 251,  724 => 259,  1083 => 434,  1039 => 315,  995 => 383,  984 => 350,  977 => 321,  941 => 286,  905 => 363,  857 => 273,  705 => 69,  1365 => 549,  1359 => 545,  1349 => 539,  1336 => 537,  1331 => 514,  1323 => 405,  1319 => 530,  1312 => 505,  1284 => 519,  1272 => 492,  1268 => 509,  1261 => 506,  1251 => 394,  1245 => 483,  1231 => 496,  1207 => 493,  1197 => 491,  1180 => 484,  1173 => 371,  1169 => 455,  1163 => 454,  1157 => 475,  1147 => 446,  1143 => 440,  1109 => 440,  1059 => 423,  1051 => 430,  1044 => 424,  1021 => 391,  1015 => 412,  1009 => 357,  987 => 404,  973 => 395,  911 => 298,  855 => 72,  827 => 68,  821 => 66,  691 => 233,  576 => 158,  453 => 138,  1234 => 416,  1224 => 414,  1214 => 412,  1195 => 592,  1190 => 591,  1187 => 590,  1185 => 459,  1177 => 569,  1148 => 550,  1128 => 532,  1122 => 529,  1108 => 376,  1037 => 478,  991 => 351,  921 => 370,  878 => 355,  836 => 262,  730 => 239,  648 => 253,  933 => 84,  914 => 133,  909 => 323,  833 => 258,  783 => 306,  755 => 320,  737 => 241,  685 => 225,  539 => 116,  635 => 176,  582 => 160,  577 => 257,  609 => 201,  593 => 183,  497 => 159,  20 => 1,  774 => 273,  747 => 245,  736 => 265,  524 => 163,  469 => 182,  437 => 239,  546 => 183,  532 => 68,  485 => 194,  479 => 157,  537 => 115,  457 => 145,  947 => 361,  936 => 284,  924 => 282,  917 => 369,  906 => 81,  872 => 317,  860 => 314,  851 => 265,  796 => 330,  767 => 328,  578 => 292,  519 => 162,  852 => 241,  814 => 319,  739 => 333,  722 => 251,  565 => 186,  559 => 68,  471 => 18,  1853 => 842,  1849 => 753,  1839 => 751,  1810 => 820,  1803 => 819,  1799 => 818,  1782 => 733,  1778 => 732,  1770 => 807,  1749 => 795,  1738 => 793,  1728 => 789,  1721 => 788,  1717 => 787,  1709 => 693,  1705 => 781,  1688 => 675,  1681 => 769,  1677 => 768,  1667 => 671,  1656 => 762,  1648 => 655,  1644 => 756,  1636 => 750,  1624 => 744,  1617 => 743,  1606 => 738,  1588 => 732,  1570 => 726,  1545 => 719,  1534 => 606,  1527 => 713,  1509 => 707,  1500 => 701,  1496 => 700,  1489 => 593,  1474 => 688,  1456 => 682,  1449 => 681,  1438 => 676,  1431 => 675,  1420 => 670,  1413 => 669,  1404 => 663,  1400 => 662,  1383 => 540,  1379 => 650,  1356 => 632,  1351 => 631,  1338 => 621,  1332 => 407,  1315 => 613,  1302 => 522,  1289 => 520,  1276 => 604,  1263 => 395,  1244 => 480,  1241 => 595,  1236 => 594,  1218 => 578,  1215 => 577,  1191 => 463,  1181 => 561,  1171 => 557,  1158 => 567,  1114 => 428,  1104 => 465,  1062 => 321,  1042 => 316,  1024 => 395,  1014 => 406,  1000 => 328,  990 => 382,  980 => 474,  970 => 320,  918 => 348,  888 => 80,  834 => 307,  817 => 322,  765 => 297,  746 => 52,  502 => 154,  287 => 99,  1144 => 542,  1139 => 399,  1133 => 358,  1131 => 399,  1127 => 357,  1124 => 355,  1113 => 351,  1110 => 349,  1103 => 368,  1092 => 336,  1086 => 520,  1063 => 387,  1060 => 495,  1055 => 422,  1035 => 314,  1019 => 330,  1003 => 455,  996 => 406,  981 => 257,  959 => 387,  952 => 464,  930 => 148,  908 => 444,  900 => 366,  880 => 276,  867 => 353,  859 => 220,  848 => 215,  839 => 263,  828 => 302,  809 => 291,  803 => 372,  797 => 288,  779 => 169,  769 => 252,  740 => 78,  729 => 256,  703 => 193,  693 => 236,  688 => 232,  671 => 220,  667 => 232,  630 => 278,  626 => 207,  567 => 193,  557 => 229,  512 => 141,  380 => 151,  734 => 210,  701 => 244,  680 => 269,  674 => 221,  659 => 217,  653 => 248,  613 => 264,  602 => 167,  589 => 182,  569 => 222,  542 => 164,  529 => 62,  487 => 148,  475 => 166,  454 => 126,  368 => 132,  717 => 362,  684 => 281,  656 => 216,  647 => 198,  637 => 219,  618 => 179,  597 => 253,  522 => 148,  501 => 170,  340 => 133,  201 => 68,  383 => 104,  374 => 205,  292 => 77,  631 => 208,  616 => 240,  605 => 77,  596 => 192,  561 => 153,  504 => 164,  498 => 152,  491 => 94,  388 => 136,  330 => 59,  445 => 123,  439 => 120,  433 => 166,  413 => 149,  316 => 117,  296 => 114,  370 => 119,  395 => 136,  294 => 105,  273 => 99,  220 => 50,  492 => 134,  468 => 132,  456 => 197,  377 => 132,  319 => 122,  262 => 72,  250 => 78,  5659 => 53,  5653 => 52,  5642 => 51,  5628 => 48,  5623 => 47,  5617 => 46,  5606 => 45,  5588 => 42,  5579 => 41,  5570 => 40,  5561 => 39,  5552 => 38,  5543 => 37,  5534 => 36,  5525 => 35,  5516 => 34,  5507 => 33,  5498 => 32,  5489 => 31,  5486 => 30,  5482 => 29,  5478 => 28,  5467 => 27,  5450 => 24,  5442 => 23,  5434 => 22,  5428 => 21,  5421 => 20,  5407 => 19,  5403 => 4677,  5358 => 4636,  5231 => 4513,  5166 => 4452,  5063 => 4352,  5024 => 4316,  5014 => 4309,  4973 => 4271,  4941 => 4242,  4892 => 4196,  4827 => 4135,  4812 => 4124,  4774 => 4090,  4759 => 4078,  4748 => 4070,  4734 => 4060,  4679 => 4009,  4629 => 3963,  4615 => 3953,  4573 => 3915,  4561 => 3906,  4475 => 3824,  4410 => 3763,  4382 => 3739,  4368 => 3729,  4361 => 3726,  4353 => 3722,  4346 => 3719,  4338 => 3715,  4331 => 3712,  4302 => 3687,  4280 => 3669,  4257 => 3650,  4248 => 3645,  4223 => 3624,  4211 => 3616,  4175 => 3584,  4066 => 3478,  4062 => 3477,  4040 => 3458,  4034 => 3455,  4021 => 3445,  4015 => 3442,  4009 => 3439,  3967 => 3400,  3960 => 3396,  3866 => 3305,  3810 => 3252,  3709 => 3154,  3696 => 3145,  3688 => 3140,  3659 => 3115,  3650 => 3110,  3553 => 3017,  3548 => 3016,  3543 => 3015,  3538 => 3014,  3533 => 3013,  3528 => 3012,  3523 => 3011,  3518 => 3010,  3513 => 3009,  3508 => 3008,  3503 => 3007,  3498 => 3006,  3493 => 3005,  3488 => 3004,  3483 => 3003,  3478 => 3002,  3470 => 2998,  3447 => 2978,  3423 => 2958,  3370 => 2909,  3234 => 2776,  3148 => 2694,  3130 => 2679,  3124 => 2676,  3040 => 2596,  2963 => 2522,  2861 => 2424,  2853 => 2420,  2820 => 2391,  2803 => 2377,  2799 => 2376,  2794 => 2375,  2649 => 2234,  2625 => 2213,  2517 => 1051,  2498 => 2092,  2482 => 2079,  2472 => 2072,  2464 => 2067,  2450 => 2056,  2446 => 2055,  2436 => 2049,  2428 => 2045,  2378 => 1998,  2303 => 1926,  2293 => 1919,  2252 => 1881,  2224 => 1856,  2176 => 1811,  2114 => 1753,  2107 => 1750,  2102 => 1749,  2086 => 1737,  2079 => 1734,  1967 => 1637,  1826 => 1502,  1819 => 1498,  1732 => 1414,  1723 => 1408,  1695 => 680,  1672 => 1363,  1664 => 1359,  1611 => 1310,  1601 => 638,  1533 => 1238,  1526 => 1235,  1518 => 1230,  1511 => 1227,  1454 => 572,  1439 => 1161,  1417 => 1143,  1409 => 1139,  1308 => 526,  1301 => 1037,  1252 => 999,  1243 => 994,  1223 => 978,  1212 => 494,  1167 => 936,  1161 => 933,  1145 => 923,  1140 => 922,  1106 => 900,  1100 => 897,  983 => 816,  975 => 298,  956 => 292,  939 => 786,  902 => 362,  894 => 364,  879 => 76,  757 => 248,  735 => 75,  727 => 238,  702 => 230,  678 => 149,  670 => 278,  600 => 233,  528 => 150,  476 => 143,  447 => 153,  243 => 75,  780 => 277,  758 => 335,  742 => 261,  700 => 212,  655 => 215,  652 => 214,  638 => 210,  620 => 174,  587 => 229,  579 => 179,  535 => 151,  523 => 152,  516 => 162,  494 => 200,  480 => 50,  441 => 121,  428 => 127,  351 => 113,  347 => 128,  402 => 117,  268 => 78,  430 => 87,  411 => 140,  322 => 124,  289 => 70,  284 => 49,  255 => 86,  1150 => 447,  1134 => 538,  1129 => 55,  1126 => 443,  1121 => 353,  1116 => 525,  1089 => 519,  1084 => 419,  1081 => 415,  1075 => 358,  1072 => 512,  1069 => 356,  1065 => 440,  1061 => 352,  1053 => 349,  1050 => 373,  1047 => 428,  1033 => 420,  1029 => 335,  1026 => 418,  1004 => 307,  997 => 454,  989 => 300,  985 => 299,  978 => 313,  966 => 375,  963 => 319,  960 => 466,  951 => 301,  948 => 287,  944 => 298,  931 => 283,  925 => 352,  916 => 418,  913 => 324,  904 => 322,  899 => 280,  891 => 360,  885 => 336,  882 => 278,  870 => 350,  865 => 365,  829 => 336,  823 => 251,  820 => 249,  811 => 235,  800 => 315,  793 => 350,  786 => 174,  773 => 231,  764 => 320,  761 => 264,  743 => 268,  725 => 46,  720 => 236,  686 => 194,  673 => 184,  662 => 27,  649 => 324,  636 => 185,  632 => 245,  612 => 188,  584 => 3,  562 => 185,  472 => 96,  442 => 40,  438 => 133,  386 => 106,  373 => 120,  304 => 112,  270 => 68,  265 => 90,  477 => 188,  455 => 36,  422 => 146,  407 => 138,  399 => 107,  375 => 128,  364 => 99,  358 => 145,  349 => 120,  338 => 91,  327 => 126,  298 => 79,  249 => 84,  194 => 65,  142 => 66,  344 => 136,  295 => 113,  290 => 111,  266 => 103,  357 => 115,  334 => 125,  300 => 113,  286 => 109,  282 => 101,  279 => 109,  269 => 91,  254 => 61,  128 => 43,  237 => 75,  165 => 43,  122 => 41,  798 => 281,  770 => 229,  759 => 249,  748 => 221,  731 => 260,  721 => 251,  718 => 235,  708 => 250,  696 => 287,  617 => 202,  607 => 289,  590 => 230,  563 => 40,  553 => 175,  550 => 157,  540 => 212,  533 => 210,  507 => 140,  500 => 136,  493 => 150,  489 => 179,  464 => 129,  458 => 255,  452 => 154,  449 => 177,  434 => 119,  424 => 86,  415 => 112,  382 => 122,  372 => 163,  361 => 129,  356 => 131,  339 => 126,  302 => 80,  285 => 110,  258 => 62,  123 => 26,  108 => 38,  418 => 84,  404 => 108,  389 => 145,  354 => 50,  325 => 104,  321 => 57,  276 => 105,  252 => 87,  206 => 69,  110 => 29,  240 => 102,  224 => 66,  217 => 87,  186 => 58,  170 => 63,  100 => 22,  67 => 16,  14 => 1,  1096 => 425,  1090 => 421,  1088 => 435,  1085 => 456,  1066 => 409,  1034 => 282,  1031 => 281,  1018 => 416,  1013 => 358,  1007 => 309,  1002 => 403,  993 => 301,  986 => 264,  982 => 394,  976 => 399,  971 => 376,  964 => 255,  949 => 388,  946 => 251,  940 => 384,  937 => 374,  928 => 421,  926 => 243,  915 => 299,  912 => 82,  903 => 281,  898 => 416,  892 => 279,  889 => 337,  887 => 281,  884 => 79,  876 => 75,  874 => 215,  871 => 273,  863 => 268,  861 => 274,  850 => 266,  840 => 406,  815 => 64,  812 => 297,  808 => 261,  804 => 314,  799 => 312,  791 => 259,  787 => 282,  785 => 257,  771 => 284,  754 => 222,  751 => 246,  728 => 207,  723 => 252,  715 => 250,  711 => 152,  709 => 246,  706 => 302,  698 => 192,  692 => 227,  689 => 302,  681 => 230,  677 => 222,  675 => 289,  663 => 219,  661 => 200,  650 => 223,  644 => 220,  641 => 20,  633 => 56,  629 => 207,  622 => 206,  586 => 195,  575 => 191,  571 => 154,  566 => 242,  554 => 240,  551 => 184,  541 => 176,  536 => 179,  531 => 174,  511 => 166,  509 => 24,  506 => 160,  488 => 169,  483 => 145,  465 => 93,  463 => 157,  460 => 139,  450 => 155,  427 => 155,  419 => 146,  371 => 137,  362 => 121,  353 => 153,  337 => 110,  333 => 128,  309 => 54,  303 => 108,  299 => 103,  291 => 111,  272 => 80,  261 => 89,  256 => 81,  239 => 63,  235 => 56,  228 => 58,  218 => 64,  213 => 86,  200 => 59,  198 => 82,  159 => 36,  149 => 54,  146 => 48,  131 => 32,  116 => 29,  79 => 19,  74 => 8,  71 => 23,  64 => 15,  858 => 347,  843 => 206,  838 => 304,  819 => 294,  816 => 319,  807 => 240,  794 => 280,  781 => 327,  778 => 305,  775 => 82,  753 => 54,  749 => 53,  744 => 79,  726 => 254,  716 => 44,  712 => 233,  707 => 245,  682 => 270,  669 => 183,  664 => 231,  651 => 182,  646 => 181,  642 => 255,  625 => 209,  614 => 280,  608 => 167,  604 => 198,  601 => 166,  598 => 232,  592 => 75,  585 => 295,  572 => 186,  568 => 177,  564 => 220,  556 => 67,  548 => 152,  544 => 230,  527 => 113,  525 => 61,  515 => 108,  513 => 160,  505 => 156,  486 => 207,  481 => 144,  473 => 132,  467 => 140,  461 => 155,  443 => 194,  435 => 176,  432 => 129,  429 => 117,  410 => 170,  397 => 134,  394 => 106,  379 => 164,  341 => 125,  335 => 106,  318 => 119,  315 => 55,  312 => 116,  306 => 115,  280 => 106,  267 => 90,  253 => 98,  234 => 78,  229 => 73,  223 => 91,  219 => 87,  202 => 40,  192 => 47,  51 => 10,  2159 => 821,  2155 => 820,  2152 => 819,  2149 => 818,  2145 => 817,  2142 => 816,  2139 => 815,  2136 => 814,  2132 => 813,  2129 => 812,  2126 => 811,  2123 => 810,  2117 => 809,  2109 => 847,  2104 => 802,  2101 => 801,  2087 => 799,  2080 => 798,  2077 => 797,  2063 => 795,  2056 => 794,  2053 => 1712,  2042 => 823,  2037 => 789,  2031 => 788,  2028 => 818,  2024 => 786,  2021 => 785,  2008 => 776,  2004 => 811,  2001 => 1668,  1996 => 771,  1994 => 770,  1987 => 766,  1983 => 765,  1979 => 764,  1972 => 761,  1969 => 760,  1966 => 759,  1961 => 756,  1959 => 755,  1952 => 751,  1948 => 750,  1944 => 749,  1937 => 746,  1933 => 1606,  1930 => 744,  1925 => 741,  1923 => 779,  1916 => 736,  1912 => 735,  1908 => 734,  1901 => 731,  1897 => 730,  1894 => 729,  1889 => 769,  1887 => 725,  1880 => 721,  1876 => 720,  1872 => 719,  1865 => 716,  1861 => 715,  1858 => 714,  1855 => 713,  1850 => 710,  1841 => 708,  1835 => 836,  1829 => 706,  1827 => 831,  1820 => 701,  1816 => 700,  1809 => 697,  1804 => 744,  1801 => 695,  1798 => 694,  1795 => 742,  1789 => 814,  1776 => 687,  1771 => 686,  1768 => 685,  1766 => 806,  1759 => 672,  1755 => 671,  1750 => 668,  1745 => 667,  1742 => 794,  1739 => 665,  1736 => 708,  1730 => 705,  1720 => 688,  1716 => 657,  1711 => 655,  1708 => 654,  1698 => 652,  1694 => 651,  1689 => 649,  1682 => 672,  1678 => 644,  1671 => 641,  1666 => 640,  1663 => 639,  1660 => 763,  1657 => 659,  1651 => 656,  1641 => 631,  1637 => 667,  1632 => 628,  1629 => 627,  1619 => 625,  1615 => 624,  1610 => 622,  1603 => 618,  1599 => 651,  1592 => 614,  1587 => 613,  1584 => 635,  1581 => 731,  1576 => 608,  1574 => 633,  1567 => 603,  1563 => 630,  1559 => 601,  1552 => 628,  1548 => 597,  1542 => 593,  1529 => 605,  1525 => 614,  1516 => 708,  1512 => 583,  1503 => 599,  1490 => 574,  1486 => 694,  1477 => 567,  1473 => 566,  1467 => 687,  1460 => 557,  1447 => 569,  1442 => 554,  1427 => 542,  1423 => 541,  1418 => 538,  1415 => 537,  1412 => 536,  1406 => 532,  1393 => 530,  1388 => 537,  1380 => 539,  1376 => 523,  1371 => 645,  1367 => 527,  1364 => 518,  1361 => 523,  1355 => 543,  1342 => 624,  1337 => 510,  1328 => 516,  1324 => 511,  1317 => 403,  1313 => 499,  1310 => 498,  1304 => 504,  1291 => 502,  1286 => 397,  1279 => 486,  1274 => 484,  1270 => 483,  1266 => 396,  1262 => 490,  1257 => 489,  1254 => 482,  1250 => 598,  1246 => 420,  1239 => 474,  1235 => 498,  1232 => 472,  1226 => 468,  1213 => 466,  1208 => 411,  1201 => 472,  1196 => 464,  1192 => 384,  1188 => 456,  1184 => 379,  1179 => 462,  1176 => 461,  1172 => 452,  1168 => 451,  1164 => 450,  1160 => 449,  1153 => 566,  1149 => 366,  1146 => 64,  1137 => 57,  1123 => 442,  1119 => 352,  1115 => 424,  1111 => 377,  1107 => 422,  1102 => 439,  1099 => 438,  1095 => 419,  1091 => 418,  1082 => 329,  1079 => 502,  1076 => 411,  1070 => 431,  1057 => 350,  1052 => 406,  1045 => 382,  1040 => 414,  1036 => 283,  1032 => 360,  1028 => 337,  1023 => 333,  1020 => 392,  1016 => 266,  1012 => 312,  1005 => 273,  1001 => 386,  998 => 352,  992 => 821,  979 => 400,  974 => 256,  967 => 391,  962 => 294,  958 => 336,  954 => 334,  950 => 441,  945 => 376,  942 => 460,  938 => 330,  934 => 356,  927 => 147,  923 => 242,  920 => 359,  910 => 417,  901 => 340,  897 => 339,  890 => 343,  886 => 413,  883 => 356,  868 => 407,  856 => 267,  853 => 319,  849 => 308,  845 => 69,  841 => 341,  835 => 337,  830 => 377,  826 => 253,  822 => 326,  818 => 262,  813 => 292,  810 => 290,  806 => 180,  802 => 338,  795 => 311,  792 => 299,  789 => 238,  784 => 236,  782 => 333,  777 => 275,  772 => 272,  768 => 228,  763 => 343,  760 => 319,  756 => 223,  752 => 299,  745 => 219,  741 => 262,  738 => 314,  732 => 216,  719 => 307,  714 => 300,  710 => 196,  704 => 278,  699 => 67,  695 => 228,  683 => 224,  679 => 288,  668 => 264,  665 => 229,  658 => 26,  645 => 211,  640 => 224,  634 => 218,  628 => 214,  623 => 309,  619 => 78,  615 => 168,  611 => 54,  603 => 234,  599 => 204,  595 => 193,  580 => 45,  573 => 157,  560 => 75,  549 => 166,  543 => 147,  526 => 229,  521 => 287,  518 => 109,  510 => 159,  503 => 59,  499 => 20,  496 => 151,  484 => 19,  474 => 161,  470 => 156,  451 => 149,  446 => 185,  431 => 118,  425 => 147,  416 => 125,  412 => 76,  408 => 157,  403 => 124,  400 => 146,  396 => 28,  392 => 132,  385 => 224,  381 => 133,  367 => 123,  363 => 118,  359 => 127,  355 => 122,  350 => 120,  346 => 112,  343 => 116,  328 => 120,  324 => 120,  313 => 80,  307 => 151,  301 => 116,  288 => 76,  283 => 75,  271 => 104,  257 => 99,  251 => 60,  238 => 79,  233 => 59,  195 => 49,  191 => 64,  187 => 46,  183 => 45,  130 => 28,  88 => 16,  76 => 31,  115 => 44,  95 => 32,  694 => 199,  690 => 186,  687 => 233,  676 => 185,  672 => 193,  660 => 262,  657 => 260,  654 => 199,  643 => 209,  639 => 249,  627 => 244,  624 => 205,  621 => 408,  610 => 236,  606 => 263,  594 => 201,  591 => 199,  588 => 48,  583 => 180,  581 => 192,  574 => 178,  570 => 165,  558 => 185,  555 => 37,  552 => 180,  547 => 179,  545 => 165,  538 => 69,  534 => 175,  530 => 168,  520 => 110,  517 => 140,  514 => 171,  508 => 268,  495 => 181,  490 => 149,  482 => 100,  478 => 98,  466 => 38,  462 => 92,  459 => 128,  448 => 137,  444 => 135,  440 => 146,  436 => 251,  426 => 126,  423 => 116,  420 => 115,  409 => 118,  405 => 148,  401 => 136,  391 => 134,  387 => 132,  384 => 140,  378 => 102,  365 => 202,  360 => 145,  348 => 138,  336 => 132,  332 => 46,  329 => 127,  323 => 118,  310 => 110,  305 => 90,  277 => 74,  274 => 87,  263 => 102,  259 => 100,  247 => 82,  244 => 78,  241 => 77,  222 => 73,  210 => 85,  207 => 48,  204 => 66,  184 => 62,  181 => 57,  167 => 40,  157 => 41,  96 => 28,  421 => 153,  417 => 250,  414 => 143,  406 => 130,  398 => 146,  393 => 132,  390 => 123,  376 => 126,  369 => 124,  366 => 160,  352 => 142,  345 => 67,  342 => 66,  331 => 88,  326 => 87,  320 => 131,  317 => 100,  314 => 112,  311 => 121,  308 => 94,  297 => 90,  293 => 100,  281 => 97,  278 => 96,  275 => 95,  264 => 85,  260 => 83,  248 => 79,  245 => 91,  242 => 81,  231 => 77,  227 => 78,  215 => 63,  212 => 49,  209 => 70,  197 => 53,  177 => 66,  171 => 71,  161 => 59,  132 => 44,  121 => 29,  105 => 39,  99 => 21,  81 => 26,  77 => 25,  180 => 45,  176 => 39,  156 => 42,  143 => 52,  139 => 65,  118 => 56,  189 => 49,  185 => 54,  173 => 64,  166 => 68,  152 => 63,  174 => 44,  164 => 39,  154 => 31,  150 => 55,  137 => 35,  133 => 45,  127 => 31,  107 => 28,  102 => 17,  83 => 10,  78 => 13,  53 => 6,  23 => 3,  42 => 6,  138 => 46,  134 => 34,  109 => 32,  103 => 23,  97 => 21,  94 => 22,  84 => 29,  75 => 31,  69 => 12,  66 => 18,  54 => 11,  44 => 10,  230 => 53,  226 => 89,  203 => 50,  193 => 80,  188 => 66,  182 => 53,  178 => 44,  168 => 72,  163 => 54,  160 => 39,  155 => 57,  148 => 44,  145 => 39,  140 => 34,  136 => 64,  125 => 42,  120 => 25,  113 => 39,  101 => 25,  92 => 21,  89 => 27,  85 => 40,  73 => 18,  62 => 2,  59 => 10,  56 => 9,  41 => 8,  126 => 31,  119 => 30,  111 => 39,  106 => 32,  98 => 23,  93 => 42,  86 => 19,  70 => 22,  60 => 13,  28 => 3,  36 => 7,  114 => 28,  104 => 27,  91 => 27,  80 => 34,  63 => 15,  58 => 14,  40 => 7,  34 => 5,  45 => 13,  61 => 13,  55 => 12,  48 => 12,  39 => 7,  35 => 6,  31 => 4,  26 => 6,  21 => 2,  46 => 9,  29 => 6,  57 => 12,  50 => 12,  47 => 9,  38 => 5,  33 => 5,  49 => 20,  32 => 3,  246 => 76,  236 => 79,  232 => 90,  225 => 77,  221 => 88,  216 => 52,  214 => 85,  211 => 51,  208 => 72,  205 => 60,  199 => 67,  196 => 68,  190 => 67,  179 => 73,  175 => 43,  172 => 73,  169 => 41,  162 => 70,  158 => 58,  153 => 50,  151 => 41,  147 => 69,  144 => 36,  141 => 37,  135 => 33,  129 => 57,  124 => 30,  117 => 34,  112 => 53,  90 => 41,  87 => 12,  82 => 19,  72 => 16,  68 => 30,  65 => 16,  52 => 13,  43 => 6,  37 => 11,  30 => 5,  27 => 7,  25 => 4,  24 => 2,  22 => 2,  19 => 1,);
    }
}
